Thread overview
DWT Cocoa 3.5 M3
Jan 19, 2009
Jacob Carlborg
Jan 19, 2009
John Reimer
Jan 19, 2009
John Reimer
Jan 19, 2009
Jacob Carlborg
Jan 19, 2009
Frank Benoit
January 19, 2009
I thought that I would share my progress on the dwt cocoa port.

I've ported all the SWT code, including the Browser package from dwt linux. The code is based on SWT just before milestone 3, to be exact 3.514.0.

There are still problems with the port, runtime errors and things that don't work as excepted.

Supported platforms:
The SWT code works only on Mac OS X 10.5 Leopard, x86 and 64. DWT also seems to work on ppc (I've only tested it through rosetta, not natively). I haven't tested 64bit yet because I haven't figured out how to build tango as a universal binary with 64bit support yet.


Building time and size with DSSS and GDC:

library:
compile time: 5-9m
size: 13.5MB

application:
linked with static library:
compile time: 8s
size: 3.9MB



With XCode:

library:
compile time: 7m 20s
size: 26.3MB

application:
compiled from source:
size: 6.5MB with stripped symbols

linked with static library:
compile time: 2s
size: 3.8MB with stripped symbols


application: http://www.dsource.org/projects/dwt-samples/browser/examples/helloworld/HelloWorld1.d


I hope as many people can test this library to find as many bugs as possible.


/Jacob
January 19, 2009
Hello Jacob,

> I thought that I would share my progress on the dwt cocoa port.
> 
> I've ported all the SWT code, including the Browser package from dwt
> linux. The code is based on SWT just before milestone 3, to be exact
> 3.514.0.
> 
> There are still problems with the port, runtime errors and things that
> don't work as excepted.
> 
> Supported platforms:
> The SWT code works only on Mac OS X 10.5 Leopard, x86 and 64. DWT also
> seems to work on ppc (I've only tested it through rosetta, not
> natively). I haven't tested 64bit yet because I haven't figured out
> how
> to build tango as a universal binary with 64bit support yet.
> Building time and size with DSSS and GDC:
> 
> library:
> compile time: 5-9m
> size: 13.5MB
> application:
> linked with static library:
> compile time: 8s
> size: 3.9MB
> With XCode:
> 
> library:
> compile time: 7m 20s
> size: 26.3MB
> application:
> compiled from source:
> size: 6.5MB with stripped symbols
> linked with static library:
> compile time: 2s
> size: 3.8MB with stripped symbols
> application:
> http://www.dsource.org/projects/dwt-samples/browser/examples/helloworl
> d/HelloWorld1.d
> 
> I hope as many people can test this library to find as many bugs as
> possible.
> 
> /Jacob
> 



Ha!  Great progress!   


For those that haven't found this yet, the link is www.dsource.org/projects/dwt-mac. Once again, it's a Mercurial repository.  We should update the main dwt page, I suppose.


-JJR


January 19, 2009
Hello Jacob,

> I thought that I would share my progress on the dwt cocoa port.
> 
> I've ported all the SWT code, including the Browser package from dwt
> linux. The code is based on SWT just before milestone 3, to be exact
> 3.514.0.
> 
> There are still problems with the port, runtime errors and things that
> don't work as excepted.
> 
> Supported platforms:
> The SWT code works only on Mac OS X 10.5 Leopard, x86 and 64. DWT also
> seems to work on ppc (I've only tested it through rosetta, not
> natively). I haven't tested 64bit yet because I haven't figured out
> how
> to build tango as a universal binary with 64bit support yet.
> Building time and size with DSSS and GDC:
> 
> library:
> compile time: 5-9m
> size: 13.5MB
> application:
> linked with static library:
> compile time: 8s
> size: 3.9MB
> With XCode:
> 
> library:
> compile time: 7m 20s
> size: 26.3MB
> application:
> compiled from source:
> size: 6.5MB with stripped symbols
> linked with static library:
> compile time: 2s
> size: 3.8MB with stripped symbols
> application:
> http://www.dsource.org/projects/dwt-samples/browser/examples/helloworl
> d/HelloWorld1.d
> 
> I hope as many people can test this library to find as many bugs as
> possible.
> 
> /Jacob
> 


Which version of gdc are you using for mac?  Are you using a privately built one or a binary release from somewhere?


-JJR


January 19, 2009
John Reimer wrote:
> Hello Jacob,
> 
>> I thought that I would share my progress on the dwt cocoa port.
>>
>> I've ported all the SWT code, including the Browser package from dwt
>> linux. The code is based on SWT just before milestone 3, to be exact
>> 3.514.0.
>>
>> There are still problems with the port, runtime errors and things that
>> don't work as excepted.
>>
>> Supported platforms:
>> The SWT code works only on Mac OS X 10.5 Leopard, x86 and 64. DWT also
>> seems to work on ppc (I've only tested it through rosetta, not
>> natively). I haven't tested 64bit yet because I haven't figured out
>> how
>> to build tango as a universal binary with 64bit support yet.
>> Building time and size with DSSS and GDC:
>>
>> library:
>> compile time: 5-9m
>> size: 13.5MB
>> application:
>> linked with static library:
>> compile time: 8s
>> size: 3.9MB
>> With XCode:
>>
>> library:
>> compile time: 7m 20s
>> size: 26.3MB
>> application:
>> compiled from source:
>> size: 6.5MB with stripped symbols
>> linked with static library:
>> compile time: 2s
>> size: 3.8MB with stripped symbols
>> application:
>> http://www.dsource.org/projects/dwt-samples/browser/examples/helloworl
>> d/HelloWorld1.d
>>
>> I hope as many people can test this library to find as many bugs as
>> possible.
>>
>> /Jacob
>>
> 
> 
> Which version of gdc are you using for mac?  Are you using a privately built one or a binary release from somewhere?
> 
> 
> -JJR
> 
> 

I'm using gdc-trunk-r229 available on the tango site: http://www.dsource.org/projects/tango/wiki/MacOSXInstall
DSSS 0.75 (dsss 0.78 can't build libraries on osx)
Tango: SVN Revision 4052
January 19, 2009
Jacob Carlborg schrieb:
> I've ported all the SWT code, including the Browser package from dwt linux. The code is based on SWT just before milestone 3, to be exact 3.514.0.

Wow! Thats fantastic news.
Thanks for your work.