www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - DWT Linux supports D2

reply Jacob Carlborg <doob me.com> writes:
I finished (or mostly) porting DWT linux to D2. The browser package is 
exclude from the build. Most of the snippets build and (I think) most of 
them run. Please create a ticket for any compile time or run time errors.

Build base and SWT: "rake base swt"
Build SWT snippets: "rake swtsnippets"

Library dependencies: http://dsource.org/projects/dwt/wiki/ImportLibraries

http://dsource.org/projects/dwt
http://hg.dsource.org/projects/dwt2

-- 
/Jacob Carlborg
Apr 06 2011
next sibling parent reply "Nick Sabalausky" <a a.a> writes:
"Jacob Carlborg" <doob me.com> wrote in message 
news:inihes$hi0$1 digitalmars.com...
I finished (or mostly) porting DWT linux to D2. The browser package is 
exclude from the build. Most of the snippets build and (I think) most of 
them run. Please create a ticket for any compile time or run time errors.

 Build base and SWT: "rake base swt"
 Build SWT snippets: "rake swtsnippets"

 Library dependencies: http://dsource.org/projects/dwt/wiki/ImportLibraries

 http://dsource.org/projects/dwt
 http://hg.dsource.org/projects/dwt2

That was fast!
Apr 06 2011
parent Jacob Carlborg <doob me.com> writes:
On 2011-04-07 00:11, Nick Sabalausky wrote:
 "Jacob Carlborg"<doob me.com>  wrote in message
 news:inihes$hi0$1 digitalmars.com...
 I finished (or mostly) porting DWT linux to D2. The browser package is
 exclude from the build. Most of the snippets build and (I think) most of
 them run. Please create a ticket for any compile time or run time errors.

 Build base and SWT: "rake base swt"
 Build SWT snippets: "rake swtsnippets"

 Library dependencies: http://dsource.org/projects/dwt/wiki/ImportLibraries

 http://dsource.org/projects/dwt
 http://hg.dsource.org/projects/dwt2

That was fast!

Well, I think most of the changes were to the base library and the snippets which was already made when porting the Windows version. I just added some __gshared to a bunch of declarations and ported a couple of changes from the Windows version. -- /Jacob Carlborg
Apr 07 2011
prev sibling next sibling parent reply dsimcha <dsimcha yahoo.com> writes:
On 4/6/2011 4:08 PM, Jacob Carlborg wrote:
 I finished (or mostly) porting DWT linux to D2. The browser package is
 exclude from the build. Most of the snippets build and (I think) most of
 them run. Please create a ticket for any compile time or run time errors.

 Build base and SWT: "rake base swt"
 Build SWT snippets: "rake swtsnippets"

 Library dependencies: http://dsource.org/projects/dwt/wiki/ImportLibraries

 http://dsource.org/projects/dwt
 http://hg.dsource.org/projects/dwt2

Great work! I'm thinking of doing a Plot2kill port eventually. How's DWT's basic drawing API (lines, rectangles, text, ...)? Can it save drawings in vector formats (SVG, EPS, PDF, etc.) like GTK/Cairo can?
Apr 06 2011
parent Jacob Carlborg <doob me.com> writes:
On 2011-04-07 00:49, dsimcha wrote:
 On 4/6/2011 4:08 PM, Jacob Carlborg wrote:
 I finished (or mostly) porting DWT linux to D2. The browser package is
 exclude from the build. Most of the snippets build and (I think) most of
 them run. Please create a ticket for any compile time or run time errors.

 Build base and SWT: "rake base swt"
 Build SWT snippets: "rake swtsnippets"

 Library dependencies:
 http://dsource.org/projects/dwt/wiki/ImportLibraries

 http://dsource.org/projects/dwt
 http://hg.dsource.org/projects/dwt2

Great work! I'm thinking of doing a Plot2kill port eventually. How's DWT's basic drawing API (lines, rectangles, text, ...)? Can it save drawings in vector formats (SVG, EPS, PDF, etc.) like GTK/Cairo can?

I guess it can do most of the things you would except. Althogh I'm not sure about saving drawings in vector formats. I think the supported image formats are: BMP, GIF, JPEG, PNG, ICO and TIFF. You can have a look at the SWT snippets: http://www.eclipse.org/swt/snippets/ There also a library called draw2d which is available in the DWT2 repository, don't know if that could be of any help. But I haven't ported that library. -- /Jacob Carlborg
Apr 07 2011
prev sibling parent reply Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
On 4/6/11 3:08 PM, Jacob Carlborg wrote:
 I finished (or mostly) porting DWT linux to D2. The browser package is
 exclude from the build. Most of the snippets build and (I think) most of
 them run. Please create a ticket for any compile time or run time errors.

 Build base and SWT: "rake base swt"
 Build SWT snippets: "rake swtsnippets"

 Library dependencies: http://dsource.org/projects/dwt/wiki/ImportLibraries

 http://dsource.org/projects/dwt
 http://hg.dsource.org/projects/dwt2

Awes. Reddit please. Thanks! Andre
Apr 06 2011
parent reply Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
On 4/6/11 7:58 PM, Andrei Alexandrescu wrote:
 On 4/6/11 3:08 PM, Jacob Carlborg wrote:
 I finished (or mostly) porting DWT linux to D2. The browser package is
 exclude from the build. Most of the snippets build and (I think) most of
 them run. Please create a ticket for any compile time or run time errors.

 Build base and SWT: "rake base swt"
 Build SWT snippets: "rake swtsnippets"

 Library dependencies:
 http://dsource.org/projects/dwt/wiki/ImportLibraries

 http://dsource.org/projects/dwt
 http://hg.dsource.org/projects/dwt2

Awes. Reddit please. Thanks! Andre

Thanks: http://www.reddit.com/r/programming/comments/gkfso/dwt_swing_port_for_d_now_available_for_d2_on/ Please upvote! These are good times for D. Andrei
Apr 06 2011
parent reply Jacob Carlborg <doob me.com> writes:
On 2011-04-07 05:43, Andrei Alexandrescu wrote:
 On 4/6/11 7:58 PM, Andrei Alexandrescu wrote:
 On 4/6/11 3:08 PM, Jacob Carlborg wrote:
 I finished (or mostly) porting DWT linux to D2. The browser package is
 exclude from the build. Most of the snippets build and (I think) most of
 them run. Please create a ticket for any compile time or run time
 errors.

 Build base and SWT: "rake base swt"
 Build SWT snippets: "rake swtsnippets"

 Library dependencies:
 http://dsource.org/projects/dwt/wiki/ImportLibraries

 http://dsource.org/projects/dwt
 http://hg.dsource.org/projects/dwt2

Awes. Reddit please. Thanks! Andre

Thanks: http://www.reddit.com/r/programming/comments/gkfso/dwt_swing_port_for_d_now_available_for_d2_on/

That would be a SWT port for D.
 Please upvote! These are good times for D.


 Andrei

-- /Jacob Carlborg
Apr 06 2011
parent Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
On 4/7/11 1:38 AM, Jacob Carlborg wrote:
 On 2011-04-07 05:43, Andrei Alexandrescu wrote:
 On 4/6/11 7:58 PM, Andrei Alexandrescu wrote:
 On 4/6/11 3:08 PM, Jacob Carlborg wrote:
 I finished (or mostly) porting DWT linux to D2. The browser package is
 exclude from the build. Most of the snippets build and (I think)
 most of
 them run. Please create a ticket for any compile time or run time
 errors.

 Build base and SWT: "rake base swt"
 Build SWT snippets: "rake swtsnippets"

 Library dependencies:
 http://dsource.org/projects/dwt/wiki/ImportLibraries

 http://dsource.org/projects/dwt
 http://hg.dsource.org/projects/dwt2

Awes. Reddit please. Thanks! Andre

Thanks: http://www.reddit.com/r/programming/comments/gkfso/dwt_swing_port_for_d_now_available_for_d2_on/

That would be a SWT port for D.

Yeah, noticed that. Probably that's a good illustration on why you should post the news instead of someone else. Andrei
Apr 07 2011