View mode: basic / threaded / horizontal-split · Log in · Help
September 22, 2007
What Happend To Tango Graphic's Package
I just would like to know is there any update on the graphics package tango had release quite some time ago.
September 23, 2007
Re: What Happend To Tango Graphic's Package
Lester Martin wrote:
> I just would like to know is there any update on the graphics package tango had release quite some time ago.

It wasn't released, just announced that it was in development. And it 
still is. You should hear more about it after the new year.
September 23, 2007
Re: What Happend To Tango Graphic's Package
Ok.  I just was wandering because all the GUI libraries I have downloaded seem very tango uncooperative.  I have used DFL and tango with the lowest dmd version that can support both of them and DFL still gives me function dfl.socket.AsyncSocket.close function cl
ose does not override anything.  I haven't looke much at any other GUI libs because this was my favorite before tango was released.

Mike Parker Wrote:

> Lester Martin wrote:
> > I just would like to know is there any update on the graphics package tango had release quite some time ago.
> 
> It wasn't released, just announced that it was in development. And it 
> still is. You should hear more about it after the new year.
September 23, 2007
Re: What Happend To Tango Graphic's Package
Lester Martin wrote:
> Ok.  I just was wandering because all the GUI libraries I have downloaded seem very tango uncooperative.  I have used DFL and tango with the lowest dmd version that can support both of them and DFL still gives me function dfl.socket.AsyncSocket.close function cl
> ose does not override anything.  I haven't looke much at any other GUI libs because this was my favorite before tango was released.
> 
> Mike Parker Wrote:
> 
>> Lester Martin wrote:
>>> I just would like to know is there any update on the graphics package tango had release quite some time ago.
>> It wasn't released, just announced that it was in development. And it 
>> still is. You should hear more about it after the new year.
> 

The tango graphics package announced isn't going to be a GUI lib.  It 
sounded more like an image generation API.  Like what would be useful 
for on-the-fly server-side generation of images in a web server.

--bb
September 23, 2007
Re: What Happend To Tango Graphic's Package
On Sun, 23 Sep 2007 12:11:22 +0300, Lester Martin <Lester@ewam-associates.com> wrote:

> Ok.  I just was wandering because all the GUI libraries I have downloaded seem very tango uncooperative.  I have used DFL and tango with the lowest dmd version that can support both of them and DFL still gives me function dfl.socket.AsyncSocket.close function close does not override anything.  I haven't looke much at any other GUI libs because this was my favorite before tango was released.

Tango's Socket.close got renamed two times - once to "disconnect" and then to "detach". Beats me why. Here's my DFL patch to fix it:

diff -u -r C:\Downloads\dfl-20070811\import\dfl/socket.d C:\Soft\dmd\import\dfl/socket.d
--- C:\Downloads\dfl-20070811\import\dfl/socket.d	2007-07-27 10:47:42.000000000 +0300
+++ C:\Soft\dmd\import\dfl/socket.d	2007-08-31 06:24:35.593750000 +0300
@@ -188,10 +188,26 @@
	}
	
	
-	override void close()
+	version(Tango)
+	{
+		override void detach()
+		{
+			unregisterEvent(this);
+			super.detach();
+		}
+
+		void close()
+		{
+			detach();
+		}
+	}
+	else
	{
-		unregisterEvent(this);
-		super.close();
+		override void close()
+		{
+			unregisterEvent(this);
+			super.close();
+		}
	}
	
	

-- 
Best regards,
Vladimir                          mailto:thecybershadow@gmail.com
September 23, 2007
Re: What Happend To Tango Graphic's Package
Lester Martin escribió:
> Ok.  I just was wandering because all the GUI libraries I have downloaded
> seem very tango uncooperative.  I have used DFL and tango with the lowest dmd
> version that can support both of them and DFL still gives me function
> dfl.socket.AsyncSocket.close function cl ose does not override anything.  I
> haven't looke much at any other GUI libs because this was my favorite before
> tango was released.
>

wxD works well with Tango.


-- 
Carlos Santander Bernal
September 23, 2007
Re: What Happend To Tango Graphic's Package
On Sun, 23 Sep 2007 05:11:22 -0400, Lester Martin  
<Lester@ewam-associates.com> wrote:

> Ok.  I just was wandering because all the GUI libraries I have  
> downloaded seem very tango uncooperative.  I have used DFL and tango  
> with the lowest dmd version that can support both of them and DFL still  
> gives me function dfl.socket.AsyncSocket.close function cl
> ose does not override anything.

Can you try the recent snapshot?
   http://wiki.dprogramming.com/Dfl/Snapshots

By the way, DFL versions mention which versions of DMD and Tango they were  
tested with. If you have problems, you should go back to a version that  
was tested and is supported, or check out snapshots.
Top | Discussion index | About this forum | D home