digitalmars.D.announce - Official Dub package for DWT
- Jacob Carlborg (20/20) Feb 07 2018 This has been long overdue but I would like to announce that I've just
- lobo (10/29) Feb 07 2018 Thanks for this effort. I looked at DWT a while back but settled
- Jacob Carlborg (4/10) Feb 08 2018 Yeah, I don't think that would be too difficult.
- Mike Franklin (4/7) Feb 07 2018 This is great! Nice work, and thank you!
- Nick Sabalausky (Abscissa) (2/2) Feb 07 2018 Very cool, will have to give it a try. I'm very interested in cross
- JN (8/11) Feb 08 2018 Great to see this project on Dub. It was always fairly easy to
- Bastiaan Veelo (9/13) Feb 08 2018 From tldrlegal[1]:
- JN (6/19) Feb 11 2018 This doesn't really explain much. It's confusing. It's similar to
- Jesse Phillips (9/16) Feb 22 2018 Not a lawyer, but it doesn't appear to really target libraries
- Andrea Fontana (3/6) Feb 08 2018 Great news!
- Brian (2/2) Feb 08 2018 Thanks!
- Jacob Carlborg (6/9) Feb 09 2018 On Linux it should just work if you have a 64bit system. On Windows I
- Jesse Phillips (14/17) Feb 22 2018 This is awesome. I don't use GUI too much with my D programs, but
- Jacob Carlborg (4/19) Feb 22 2018 Thanks.
- IM (5/9) Mar 08 2018 This is great, thanks!
- Jacob Carlborg (8/11) Mar 08 2018 DWT is a port of the Java library SWT. This particular version,
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
Feb 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/dwtThanks 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
Feb 07 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
Feb 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/dwtThis is great! Nice work, and thank you! Mike
Feb 07 2018
Very cool, will have to give it a try. I'm very interested in cross platform native-UI GUI libs for D.
Feb 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].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?
Feb 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
Feb 08 2018
On Thursday, 8 February 2018 at 09:35:38 UTC, Bastiaan Veelo wrote:On Thursday, 8 February 2018 at 08:32:14 UTC, JN wrote:This doesn't really explain much. It's confusing. It's similar to GPL. So if I release an app using DWT, I need to release the sourcecode for my app? Or do I only need to release the code for DWT (if I did any changes to the sourcecode).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
Feb 11 2018
On Sunday, 11 February 2018 at 11:04:52 UTC, JN wrote:Not a lawyer, but it doesn't appear to really target libraries and is more directed to a complete application. The way it is written suggest that DWT would be a derived work and any changes to it will also be derived and need to forward the EPL license. However it makes no specific statements about using libraries as part of your code, which would suggest that the code outside the EPL library is not considered "the EPL Program" and thus not a derived work.[1] https://tldrlegal.com/license/eclipse-public-license-1.0-%28epl-1.0%29This doesn't really explain much. It's confusing. It's similar to GPL. So if I release an app using DWT, I need to release the sourcecode for my app? Or do I only need to release the code for DWT (if I did any changes to the sourcecode).
Feb 22 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!
Feb 08 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
Feb 09 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].This is awesome. I don't use GUI too much with my D programs, but I've had one lingering with DFL for a while now. It took a little bit to get familiar with this framework again, but I think the conversion has been totally worth it (even seems to have made my application faster). I'll point out that this is definitely a lower level library than I usually see/use. I also hit only one documentation issue due to this being 3.4 and not 3.7 or later, but that didn't look like it would be a normal hiccup. Anyway, thank you for getting this to work with DUB as that simplifies my build.
Feb 22 2018
On 2018-02-22 20:26, Jesse Phillips wrote:This is awesome. I don't use GUI too much with my D programs, but I've had one lingering with DFL for a while now. It took a little bit to get familiar with this framework again, but I think the conversion has been totally worth it (even seems to have made my application faster). I'll point out that this is definitely a lower level library than I usually see/use. I also hit only one documentation issue due to this being 3.4 and not 3.7 or later, but that didn't look like it would be a normal hiccup. Anyway, thank you for getting this to work with DUB as that simplifies my build.Thanks. -- /Jacob Carlborg
Feb 22 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]. [...]This is great, thanks! Any plans to make it link with gtk3 instead of 2? I remember gtk2 had issues with HiDPI support.
Mar 08 2018
On Thursday, 8 March 2018 at 09:17:53 UTC, IM wrote:This is great, thanks! Any plans to make it link with gtk3 instead of 2? I remember gtk2 had issues with HiDPI support.DWT is a port of the Java library SWT. This particular version, 3.4, of SWT only supports GTK2. Later versions of SWT do support GTK3. The current port is a manual port, but I'm working on a tool to automate porting the code. I will not update DWT until it can be automated. -- /Jacob Carlborg
Mar 08 2018