Jump to page: 1 2
Thread overview
Official Dub package for DWT
Feb 07, 2018
Jacob Carlborg
Feb 07, 2018
lobo
Feb 08, 2018
Jacob Carlborg
Feb 08, 2018
Mike Franklin
Feb 08, 2018
JN
Feb 08, 2018
Bastiaan Veelo
Feb 11, 2018
JN
Feb 22, 2018
Jesse Phillips
Feb 08, 2018
Andrea Fontana
Feb 09, 2018
Brian
Feb 09, 2018
Jacob Carlborg
Feb 22, 2018
Jesse Phillips
Feb 22, 2018
Jacob Carlborg
Mar 08, 2018
IM
Mar 08, 2018
Jacob Carlborg
February 07, 2018
This has been long overdue but I would like to announce that I've just released an official Dub package for the DWT library [1]. For a usage example, please see the GitHub page [2].

For those not familiar with DWT, it's a library for creating cross-platform GUI applications. It's uses the native drawing operations of the operating system. It's originally a port of the SWT Java library, it's a complete port and contains no Java or JNI code.

A couple of other changes are:

* All the previous Git submodules have now been inlined in the main/super repository [3]
* Proper testing on both Linux and Windows has been added
* Separate tool for building all the snippets
* Bumped the minimum requirement of the compiler to DMD 2.078.1 (I'll probably add support for LDC soon)
* Officially removeed any support for building with D1

[1] http://code.dlang.org/packages/dwt
[2] https://github.com/d-widget-toolkit/dwt#usage
[3] https://github.com/d-widget-toolkit/dwt

-- 
/Jacob Carlborg
February 07, 2018
On Wednesday, 7 February 2018 at 21:33:22 UTC, Jacob Carlborg wrote:
> This has been long overdue but I would like to announce that I've just released an official Dub package for the DWT library [1]. For a usage example, please see the GitHub page [2].
>
> For those not familiar with DWT, it's a library for creating cross-platform GUI applications. It's uses the native drawing operations of the operating system. It's originally a port of the SWT Java library, it's a complete port and contains no Java or JNI code.
>
> A couple of other changes are:
>
> * All the previous Git submodules have now been inlined in the main/super repository [3]
> * Proper testing on both Linux and Windows has been added
> * Separate tool for building all the snippets
> * Bumped the minimum requirement of the compiler to DMD 2.078.1 (I'll probably add support for LDC soon)
> * Officially removeed any support for building with D1
>
> [1] http://code.dlang.org/packages/dwt
> [2] https://github.com/d-widget-toolkit/dwt#usage
> [3] https://github.com/d-widget-toolkit/dwt

Thanks for this effort. I looked at DWT a while back but settled on GtkD because it was easier to build. Either way, I will have to revisit this library and give it another go in my new project.

Looking at the examples I imagine it wouldn't be too difficult to use WindowBuilder for SWT and port the generate Java code across to DWT.

bye,
lobo

February 08, 2018
On Wednesday, 7 February 2018 at 21:33:22 UTC, Jacob Carlborg wrote:
> This has been long overdue but I would like to announce that I've just released an official Dub package for the DWT library http://code.dlang.org/packages/dwt

This is great!  Nice work, and thank you!

Mike

February 07, 2018
Very cool, will have to give it a try. I'm very interested in cross platform native-UI GUI libs for D.
February 08, 2018
On Wednesday, 7 February 2018 at 21:33:22 UTC, Jacob Carlborg wrote:
> This has been long overdue but I would like to announce that I've just released an official Dub package for the DWT library [1]. For a usage example, please see the GitHub page [2].

Great to see this project on Dub. It was always fairly easy to build, but including it in Dub will surely help its adoption.

Can you explain how the EPL license works? I am not familiar with that license. Is DWT and anything using it considered a derivative work off Eclipse? Do I need to share source for my project if I use DWT in my project?
February 08, 2018
On Thursday, 8 February 2018 at 08:32:14 UTC, JN wrote:
> Can you explain how the EPL license works? I am not familiar with that license. Is DWT and anything using it considered a derivative work off Eclipse? Do I need to share source for my project if I use DWT in my project?

From tldrlegal[1]:
"This license, made and used by the Eclipse Foundation, is similar to GPL but allows you to link code under the license to proprietary applications. You may also license binaries under a proprietary license, as long as the source code is available under EPL."

[1] https://tldrlegal.com/license/eclipse-public-license-1.0-%28epl-1.0%29
February 08, 2018
On Wednesday, 7 February 2018 at 21:33:22 UTC, Jacob Carlborg wrote:
> This has been long overdue but I would like to announce that I've just released an official Dub package for the DWT library [1]. For a usage example, please see the GitHub page [2].

Great news!

February 08, 2018
On 2018-02-08 00:22, lobo wrote:

> Thanks for this effort. I looked at DWT a while back but settled on GtkD because it was easier to build. Either way, I will have to revisit this library and give it another go in my new project.
> 
> Looking at the examples I imagine it wouldn't be too difficult to use WindowBuilder for SWT and port the generate Java code across to DWT.
Yeah, I don't think that would be too difficult.

-- 
/Jacob Carlborg
February 09, 2018
Thanks!

But, How to use x64?
February 09, 2018
On 2018-02-09 04:48, Brian wrote:
> Thanks!
> 
> But, How to use x64?

On Linux it should just work if you have a 64bit system. On Windows I guess you would run Dub with "dub --arch=x86_64", if it doesn't already default to 64bit.

-- 
/Jacob Carlborg
« First   ‹ Prev
1 2