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

Sticking with Tango trunk from now on

 
Post new topic   Reply to topic     Forum Index -> MiniD
View previous topic :: View next topic  
Author Message
JarrettBillingsley



Joined: 20 Jun 2006
Posts: 457
Location: Pennsylvania!

PostPosted: Fri Jun 26, 2009 12:25 pm    Post subject: Sticking with Tango trunk from now on Reply with quote

I made the mistake of thinking that using stable releases of Tango would be good for people using MiniD as a third-party library, but I've seen how well that's worked out.

Last edited by JarrettBillingsley on Thu Mar 31, 2011 8:03 pm; edited 1 time in total
Back to top
View user's profile Send private message
csauls



Joined: 27 Mar 2004
Posts: 278

PostPosted: Sun Dec 06, 2009 2:30 am    Post subject: Reply with quote

How true is this now, with the Tango restructuring? Is it still up to trunk, or is there a last known working revision to stick to?
_________________
Chris Nicholson-Sauls
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
vektorboson



Joined: 14 Sep 2006
Posts: 44

PostPosted: Sun Dec 06, 2009 6:31 pm    Post subject: Reply with quote

csauls wrote:
How true is this now, with the Tango restructuring? Is it still up to trunk, or is there a last known working revision to stick to?


I'm using a workaround, that was suggested in the Tango-forums: Use Mango (actually you only need mango/io/protocol) and change all imports from tango.io.protocol accordingly. Beside this, I think, there was only one error with PathUtil.
Back to top
View user's profile Send private message
JarrettBillingsley



Joined: 20 Jun 2006
Posts: 457
Location: Pennsylvania!

PostPosted: Sun Dec 06, 2009 6:49 pm    Post subject: Reply with quote

fuckin

See this is why I'm tired of D and Tango Razz

Just use Tango 4481 or so. I think.
Back to top
View user's profile Send private message
csauls



Joined: 27 Mar 2004
Posts: 278

PostPosted: Sun Dec 06, 2009 10:13 pm    Post subject: Reply with quote

I hear ya. Thanks
_________________
Chris Nicholson-Sauls
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
vektorboson



Joined: 14 Sep 2006
Posts: 44

PostPosted: Sun Dec 13, 2009 8:03 pm    Post subject: Reply with quote

vektorboson wrote:
I'm using a workaround, that was suggested in the Tango-forums: Use Mango (actually you only need mango/io/protocol) and change all imports from tango.io.protocol accordingly.


Actually that wasn't quite correct what I wrote; I have updated to Mango-trunk and it doesn't work with it.
If someone wants to use MiniD with Tango-trunk, revision 1131 of Mango is required, not trunk. This should work with Tango 5259, beside a single error that is fixed easily.

The only thing that depends on io.protocol is the serialization code, so a solution would be to either throw the serialization code away or update it to use whatever Tango offers instead of io.protocol.
Anyway I'd be happy if I could ditch that extra Mango dependency...
Back to top
View user's profile Send private message
JarrettBillingsley



Joined: 20 Jun 2006
Posts: 457
Location: Pennsylvania!

PostPosted: Sun Dec 13, 2009 9:18 pm    Post subject: Reply with quote

I'm not sure where this Mango dependency is coming from. I haven't kept up with Tango's development in a while, so I'm guessing that.. they moved some stuff out of the Tango core into Mango? Hm. I really need to check out the latest Tango and get MiniD back up to date with it Razz
Back to top
View user's profile Send private message
HeiHon



Joined: 09 Aug 2008
Posts: 10

PostPosted: Mon Dec 14, 2009 4:37 am    Post subject: Reply with quote

JarrettBillingsley wrote:
I'm not sure where this Mango dependency is coming from.


See here http://www.dsource.org/projects/tango/forums/topic/827

They moved this protocol stuff from tango to mango and shortly afterwards the protocol stuff in mango was changed, so that mango-r1133 is the last working version (for MiniD).
Back to top
View user's profile Send private message
HeiHon



Joined: 09 Aug 2008
Posts: 10

PostPosted: Fri Dec 18, 2009 10:03 am    Post subject: Reply with quote

JarrettBillingsley wrote:
Hm. I really need to check out the latest Tango and get MiniD back up to date with it Razz


Thanks for your effort Very Happy

Could you please also apply this patch to minidc.d:
Code:

diff  D:/dmd/src/minid-r592/minidc_original.d D:/dmd/src/minid-r592/minidc_patched.d
28d27
< import tango.io.protocol.Writer;
63,65c62
<    scope w = new Writer(fc);
<    serializeModule(t, -1, w);
<    w.flush();
---
>    serializeModule(t, -1, fc);

With that everything seems to work very well with tango-r5264.
Back to top
View user's profile Send private message
JarrettBillingsley



Joined: 20 Jun 2006
Posts: 457
Location: Pennsylvania!

PostPosted: Fri Dec 18, 2009 1:27 pm    Post subject: Reply with quote

Ack, I always forget about minidc! Thanks, it's checked in.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> MiniD 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