Thread overview
DWT partially updated to dmd 0.177
Dec 13, 2006
torhu
Dec 13, 2006
bobef
Dec 17, 2006
bls
Dec 18, 2006
bobef
Dec 13, 2006
Txarli
Dec 13, 2006
Txarli
December 13, 2006
Since http://www.dsource.org/projects/dwt doesn't seem to work at the moment, I'm posting this here.

http://torhus.googlepages.com/dwt-dmd0177.zip

I just added -d to the batch files, and removed an illegal and seemingly pointless opAssign().  That makes dwt compile with 0.177.  The examples won't compile, however.  No idea why yet, just got a weird linker error.

The main problem probably was that the implicit conversion from a[] to a* is used a lot in the code.  Which -d takes care of.

One annoyance is that if you compile an app that is linked with dwt with -inline, you have to add -d too, otherwise the compiler still complains about a[] -> a* in dwt.  I've fixed this in a few of the dwt files, but the implicit conversion is just used too much.  So for most projects, you need -d if you want inlining.  For now, anyway.

By the way, is anyone else than me still using dwt?  Sort of wish I had chosen wxD instead.
December 13, 2006
I am using DWT. People working on Poseidon too. DWT is great. I wish Shawn had not abandoned DWT || we had tool to do automatically SWT>DWT translation || at least wxD work with DMD, because currently it is toooooo buggy.


torhu wrote:
> Since http://www.dsource.org/projects/dwt doesn't seem to work at the moment, I'm posting this here.
> 
> http://torhus.googlepages.com/dwt-dmd0177.zip
> 
> I just added -d to the batch files, and removed an illegal and seemingly pointless opAssign().  That makes dwt compile with 0.177.  The examples won't compile, however.  No idea why yet, just got a weird linker error.
> 
> The main problem probably was that the implicit conversion from a[] to a* is used a lot in the code.  Which -d takes care of.
> 
> One annoyance is that if you compile an app that is linked with dwt with -inline, you have to add -d too, otherwise the compiler still complains about a[] -> a* in dwt.  I've fixed this in a few of the dwt files, but the implicit conversion is just used too much.  So for most projects, you need -d if you want inlining.  For now, anyway.
> 
> By the way, is anyone else than me still using dwt?  Sort of wish I had chosen wxD instead.
December 13, 2006
bobef wrote:

>> By the way, is anyone else than me still using dwt?  Sort of wish I had chosen wxD instead.
>
> I am using DWT. People working on Poseidon too. DWT is great. I wish Shawn had not abandoned DWT || we had tool to do automatically SWT>DWT translation || at least wxD work with DMD, because currently it is toooooo buggy.

wxD needs some help with DMD and Windows, since I don't use those much.

I know the previous build had Unicode problems, but otherwise it should be limping along for ASCII strings at least ? I only tried it briefly.

--anders
December 13, 2006
I have used DWT too. I love it. D + DWT are a good tools to make a GUI native application.

JCarles Vilaseca
Catalonia, Spain

"torhu" <fake@address.dude> escribió en el mensaje news:elo7lv$14pt$1@digitaldaemon.com...
> Since http://www.dsource.org/projects/dwt doesn't seem to work at the moment, I'm posting this here.
>
> http://torhus.googlepages.com/dwt-dmd0177.zip
>
> I just added -d to the batch files, and removed an illegal and seemingly pointless opAssign().  That makes dwt compile with 0.177.  The examples won't compile, however.  No idea why yet, just got a weird linker error.
>
> The main problem probably was that the implicit conversion from a[] to a* is used a lot in the code.  Which -d takes care of.
>
> One annoyance is that if you compile an app that is linked with dwt with -inline, you have to add -d too, otherwise the compiler still complains about a[] -> a* in dwt.  I've fixed this in a few of the dwt files, but the implicit conversion is just used too much.  So for most projects, you need -d if you want inlining.  For now, anyway.
>
> By the way, is anyone else than me still using dwt?  Sort of wish I had chosen wxD instead.


December 13, 2006
StyledText did'nt work for me in ControlExample in DWT

First, I get OpCmp not defined for class Integer.

I was trying to append:

public int opCmp(Object obj)
{
 if (cast(Integer)obj)
  return value - (cast(Integer)obj).intValue();
 else
  return 0;
}

to Integer class in util/javatypes.d

But now I get AccesViolation when focus StyledText TAB and before exit ControlExample program.

Any sugestion?

Regards

JCarles



"torhu" <fake@address.dude> escribió en el mensaje news:elo7lv$14pt$1@digitaldaemon.com...
> Since http://www.dsource.org/projects/dwt doesn't seem to work at the moment, I'm posting this here.
>
> http://torhus.googlepages.com/dwt-dmd0177.zip
>
> I just added -d to the batch files, and removed an illegal and seemingly pointless opAssign().  That makes dwt compile with 0.177.  The examples won't compile, however.  No idea why yet, just got a weird linker error.
>
> The main problem probably was that the implicit conversion from a[] to a* is used a lot in the code.  Which -d takes care of.
>
> One annoyance is that if you compile an app that is linked with dwt with -inline, you have to add -d too, otherwise the compiler still complains about a[] -> a* in dwt.  I've fixed this in a few of the dwt files, but the implicit conversion is just used too much.  So for most projects, you need -d if you want inlining.  For now, anyway.
>
> By the way, is anyone else than me still using dwt?  Sort of wish I had chosen wxD instead.


December 17, 2006
Hi Bobef,
Frank Benoit aka keinfarbton is working on a tool TIOPORT to automatically
translate Java into D.
Java to XML, XML to D AST, AST to  D.
AFAIK he made a lot of progress in porting SWT/GTK using this tool.
Biggest problem at the moment seems to be Java reflection BUT thanks to the
new ABI Thomas Kuehne is quit optimistic to solve outstanding problems.

I hope I am able to help with the JFace port. since I do not like naked SWT. Bjoern


"bobef" <be@lessequal_dontspam.com> schreef in bericht news:elodda$1cho$1@digitaldaemon.com...
> I am using DWT. People working on Poseidon too. DWT is great. I wish Shawn had not abandoned DWT || we had tool to do automatically SWT>DWT translation || at least wxD work with DMD, because currently it is toooooo buggy.
>
>
> torhu wrote:
> > Since http://www.dsource.org/projects/dwt doesn't seem to work at the moment, I'm posting this here.
> >
> > http://torhus.googlepages.com/dwt-dmd0177.zip
> >
> > I just added -d to the batch files, and removed an illegal and seemingly pointless opAssign().  That makes dwt compile with 0.177.  The examples won't compile, however.  No idea why yet, just got a weird linker error.
> >
> > The main problem probably was that the implicit conversion from a[] to a* is used a lot in the code.  Which -d takes care of.
> >
> > One annoyance is that if you compile an app that is linked with dwt with -inline, you have to add -d too, otherwise the compiler still complains about a[] -> a* in dwt.  I've fixed this in a few of the dwt files, but the implicit conversion is just used too much.  So for most projects, you need -d if you want inlining.  For now, anyway.
> >
> > By the way, is anyone else than me still using dwt?  Sort of wish I had chosen wxD instead.


December 18, 2006
Sounds good. Keep up the good work.