FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Tango support

 
Post new topic   Reply to topic     Forum Index -> gtkD
View previous topic :: View next topic  
Author Message
Ant



Joined: 06 Mar 2004
Posts: 306
Location: Canada

PostPosted: Fri May 25, 2007 7:38 pm    Post subject: Tango support Reply with quote

I just commited to the svn repository a version of gtkD that compiles with the tango lib
(http://www.dsource.org/projects/tango)

A simple hello world program compiles and runs.

limitations:
- tested on linux only (for now)
- Style methods removed from Widget as they failed to compile
- var arg methods removed from TextBuffer as they failed to compile

to compile link with libtango and the libphobos from tango
and use the version tags "tango" and "Posix"(linux)

next step is to create a tango version of gtkDTests

Ant
Back to top
View user's profile Send private message
kaarna



Joined: 03 Apr 2006
Posts: 92
Location: Finland

PostPosted: Sat May 26, 2007 5:55 am    Post subject: Reply with quote

Great great great!

Good that you got this going. I never had the time to make my Tangobos based hack working with automatic code generation...

I'll see what I can do with the gstreamerD side of things... But that will have to wait until friday next week, as I've got one work related thing to do.

I think I'll also add the dsss.conf files then, if you don't oppose to it. They are just small text files, and they'll ease the installation of gtkD alot, I think, atleast for people who use DSSS. And they won't affect the compd stuff either.

Tango support means that my app might have a release coming sometime in the end of next month... Hopefully.
Back to top
View user's profile Send private message AIM Address MSN Messenger
Ant



Joined: 06 Mar 2004
Posts: 306
Location: Canada

PostPosted: Sat May 26, 2007 9:34 am    Post subject: Reply with quote

satelliittipupu wrote:
Great great great!


:)

satelliittipupu wrote:
I think I'll also add the dsss.conf files


Please do. I just didn't have the time to look at it.

But some work is still to be done - gtkDTest still doesn't compile.

Because the impact of the runtime lib is very small on gtkD the support
for tango on the wrapper is just a few hardcoded imports change...
(It's not that good, just enough)

Ant
Back to top
View user's profile Send private message
Ant



Joined: 06 Mar 2004
Posts: 306
Location: Canada

PostPosted: Sun May 27, 2007 10:28 pm    Post subject: Re: Tango support Reply with quote

Ant wrote:
I just commited to the svn repository a version of gtkD that compiles with the tango lib
(http://www.dsource.org/projects/tango)

A simple hello world program compiles and runs.

limitations:
- tested on linux only (for now)
- Style methods removed from Widget as they failed to compile
- var arg methods removed from TextBuffer as they failed to compile

to compile link with libtango and the libphobos from tango
and use the version tags "tango" and "Posix"(linux)

next step is to create a tango version of gtkDTests

Ant

gtkDTests now compiles and runs with the gtkD tango version.
didn't fix the problems so there is no text on the Gtk+ text demo.
also the thread test does nothing.

(all this on the svn repository only)

Ant
Back to top
View user's profile Send private message
pmfp



Joined: 25 May 2004
Posts: 7
Location: Sweden

PostPosted: Thu May 31, 2007 11:32 am    Post subject: Reply with quote

That's great ant! dsss net install gtkd -version=tango -version=Posix works

Just one little thing though, according to the tango docs, the dmd.conf value is -version=Tango, i.e. with a capital T. I suppose it would be good to be consistent with them.

Now you just gotta fix the signaling. Smile
Seriously, this looks good. Am going to play with it now...
Back to top
View user's profile Send private message
GrahamStJack



Joined: 04 Jun 2007
Posts: 4
Location: Australia

PostPosted: Wed Jun 06, 2007 7:30 pm    Post subject: Reply with quote

Hi - I have been hanging out to use gtkD for a while, and with these recent changes I am up and running at last! The minefield of installation tricks was too much for me before.

Thanks to everyone!
Back to top
View user's profile Send private message
kaarna



Joined: 03 Apr 2006
Posts: 92
Location: Finland

PostPosted: Fri Jun 08, 2007 4:10 pm    Post subject: Reply with quote

pmfp wrote:

-version=Tango, i.e. with a capital T. I suppose it would be good to be consistent with them.


Yes. I too think it should be changed to capital T. For example dsss will automatically work if it's version(Tango). (I guess it might take it from dmd.conf, but hey, I don't know much about compiling... Smile )

Also, I'm puzzled at how the dsss net install works?? I thought it required a dsss.conf file. I guess it's a bit more magical than I thought. (Never used dsss net install.)

I'm trying to get it compile now.
Back to top
View user's profile Send private message AIM Address MSN Messenger
Ant



Joined: 06 Mar 2004
Posts: 306
Location: Canada

PostPosted: Fri Jun 08, 2007 4:52 pm    Post subject: Reply with quote

satelliittipupu wrote:
pmfp wrote:

-version=Tango, i.e. with a capital T. I suppose it would be good to be consistent with them.


Yes. I too think it should be changed to capital T.
...


Ok, I'll change it later today.
(where is the standard on the Tango pages?)

Ant
Back to top
View user's profile Send private message
Ant



Joined: 06 Mar 2004
Posts: 306
Location: Canada

PostPosted: Sat Jun 09, 2007 12:20 am    Post subject: Reply with quote

Ant wrote:
satelliittipupu wrote:
pmfp wrote:

-version=Tango, i.e. with a capital T. I suppose it would be good to be consistent with them.


Yes. I too think it should be changed to capital T.
...


Ok, I'll change it later today.
(where is the standard on the Tango pages?)

Ant


ok, tomorrow... :oops:
Back to top
View user's profile Send private message
kaarna



Joined: 03 Apr 2006
Posts: 92
Location: Finland

PostPosted: Sat Jun 09, 2007 4:30 am    Post subject: Reply with quote

Well, I'm not sure if it says it anywhere else, but atleast on the install pages. See number 6.:
http://www.dsource.org/projects/tango/wiki/LinuxInstallDmd
Back to top
View user's profile Send private message AIM Address MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> gtkD All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group