View previous topic :: View next topic |
Author |
Message |
JarrettBillingsley
Joined: 20 Jun 2006 Posts: 457 Location: Pennsylvania!
|
Posted: Fri Jun 26, 2009 12:25 pm Post subject: Sticking with Tango trunk from now on |
|
|
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 |
|
|
csauls
Joined: 27 Mar 2004 Posts: 278
|
Posted: Sun Dec 06, 2009 2:30 am Post subject: |
|
|
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 |
|
|
vektorboson
Joined: 14 Sep 2006 Posts: 44
|
Posted: Sun Dec 06, 2009 6:31 pm Post subject: |
|
|
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 |
|
|
JarrettBillingsley
Joined: 20 Jun 2006 Posts: 457 Location: Pennsylvania!
|
Posted: Sun Dec 06, 2009 6:49 pm Post subject: |
|
|
fuckin
See this is why I'm tired of D and Tango
Just use Tango 4481 or so. I think. |
|
Back to top |
|
|
csauls
Joined: 27 Mar 2004 Posts: 278
|
Posted: Sun Dec 06, 2009 10:13 pm Post subject: |
|
|
I hear ya. Thanks _________________ Chris Nicholson-Sauls |
|
Back to top |
|
|
vektorboson
Joined: 14 Sep 2006 Posts: 44
|
Posted: Sun Dec 13, 2009 8:03 pm Post subject: |
|
|
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 |
|
|
JarrettBillingsley
Joined: 20 Jun 2006 Posts: 457 Location: Pennsylvania!
|
Posted: Sun Dec 13, 2009 9:18 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
HeiHon
Joined: 09 Aug 2008 Posts: 10
|
Posted: Mon Dec 14, 2009 4:37 am Post subject: |
|
|
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 |
|
|
HeiHon
Joined: 09 Aug 2008 Posts: 10
|
Posted: Fri Dec 18, 2009 10:03 am Post subject: |
|
|
JarrettBillingsley wrote: | Hm. I really need to check out the latest Tango and get MiniD back up to date with it |
Thanks for your effort
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 |
|
|
JarrettBillingsley
Joined: 20 Jun 2006 Posts: 457 Location: Pennsylvania!
|
Posted: Fri Dec 18, 2009 1:27 pm Post subject: |
|
|
Ack, I always forget about minidc! Thanks, it's checked in. |
|
Back to top |
|
|
|