Re: DWT in Phobos? was [Re: What library functionality would you most like to see in D?]

2011-08-02 Thread Jacob Carlborg

On 2011-08-02 01:48, Jesse Phillips wrote:

Andrei Alexandrescu Wrote:


On 8/1/11 4:35 PM, Nick Sabalausky wrote:

Johann MacDonaghjohann.macdonagh...@spam.gmail.com   wrote in message

2. DWT fixed up and merged into Phobos.


That'd certainly be nice.


Interesting. What platforms does DWT work on? What is the general
community opinion on integrating it within Phobos? Is there anyone
willing to take on this task?

Thanks,

Andrei


I think DWT for D2 worked with Windows and Linux (tested on).

The port is very Java style, it doesn't have a D layer to make it work nicely 
with ranges (err last time I used it 3 yrs ago). All the packages are 
org.eclipse... The library itself is huge and the port isn't complete.


How would the ranges be used in a GUI library?


It probably isn't a good idea to bring it into Phobos since it needs to be easy 
to keep up with SWT development. However it might be reasonable to take DWT, 
mold it into a D like library and continue development separate from SWT. I 
don't know if that is easier than developing a D2 GUI library from scratch, but 
having such a library in Phobos is probably a *great* idea.



--
/Jacob Carlborg


Re: DWT in Phobos? was [Re: What library functionality would you most like to see in D?]

2011-08-02 Thread Jesse Phillips
On Tue, 02 Aug 2011 10:49:45 +0200, Jacob Carlborg wrote:

 The port is very Java style, it doesn't have a D layer to make it work
 nicely with ranges (err last time I used it 3 yrs ago). All the
 packages are org.eclipse... The library itself is huge and the port
 isn't complete.
 
 How would the ranges be used in a GUI library?

Well, not much thought has gone into it, but I'm thinking list displays 
could take ranges and provide a range interface. But maybe a ranges 
laziness is of no benefit and array() isn't so bad. I suppose working 
with Phobos containers would be a better example.

I should probably look at using DWT again. I started used DFL because I 
needed a dependencyless Windows library for D2 and DWT wasn't there yet, 
and in general it is pretty big...


DWT in Phobos? was [Re: What library functionality would you most like to see in D?]

2011-08-01 Thread Jesse Phillips
Andrei Alexandrescu Wrote:

 On 8/1/11 4:35 PM, Nick Sabalausky wrote:
  Johann MacDonaghjohann.macdonagh...@spam.gmail.com  wrote in message
  2. DWT fixed up and merged into Phobos.
 
  That'd certainly be nice.
 
 Interesting. What platforms does DWT work on? What is the general 
 community opinion on integrating it within Phobos? Is there anyone 
 willing to take on this task?
 
 Thanks,
 
 Andrei

I think DWT for D2 worked with Windows and Linux (tested on).

The port is very Java style, it doesn't have a D layer to make it work nicely 
with ranges (err last time I used it 3 yrs ago). All the packages are 
org.eclipse... The library itself is huge and the port isn't complete.

It probably isn't a good idea to bring it into Phobos since it needs to be easy 
to keep up with SWT development. However it might be reasonable to take DWT, 
mold it into a D like library and continue development separate from SWT. I 
don't know if that is easier than developing a D2 GUI library from scratch, but 
having such a library in Phobos is probably a *great* idea.