digitalmars.D.dwt - Release dwtlib v1.01
- JamesD (13/13) Apr 23 2017 dwtlib - DUB package for the D Widget Toolkit
- Jacob Carlborg (4/17) Apr 23 2017 Is this something you plan to contribute back to the original repository...
- JamesD (15/38) Apr 24 2017 Hi Jacob,
- Jacob Carlborg (9/22) Apr 24 2017 I would like to have a Dub package for DWT, but I haven't created one
- JamesD (11/37) Apr 26 2017 Yes, the dub.sdl in my dwtlib will auto select "linux" or
- Jacob Carlborg (11/20) Apr 27 2017 I mean that Dub doesn't work that well together with submodules. I'm
- JamesD (20/47) Apr 27 2017 I added the snippets to dwtlib v2.0.0
dwtlib - DUB package for the D Widget Toolkit https://code.dlang.org/packages/dwtlib DWT is a library for creating cross-platform GUI applications. It's a port of the SWT Java library from Eclipse. *Status* WORKING Tested on: - Windows 10 Home - Ubuntu 16.04 LTS 32-bit - DMD32 v2.073.0 - DUB v1.2.010 TODO: - Test current versions of DMD/DUB (had probs with DMD v2.074) - Test 64-bit
Apr 23 2017
On 2017-04-24 04:06, JamesD wrote:dwtlib - DUB package for the D Widget Toolkit https://code.dlang.org/packages/dwtlib DWT is a library for creating cross-platform GUI applications. It's a port of the SWT Java library from Eclipse. *Status* WORKING Tested on: - Windows 10 Home - Ubuntu 16.04 LTS 32-bit - DMD32 v2.073.0 - DUB v1.2.010 TODO: - Test current versions of DMD/DUB (had probs with DMD v2.074) - Test 64-bitIs this something you plan to contribute back to the original repository? -- /Jacob Carlborg
Apr 23 2017
On Monday, 24 April 2017 at 06:44:49 UTC, Jacob Carlborg wrote:On 2017-04-24 04:06, JamesD wrote:Hi Jacob, I'm pretty new with D, and I'm not a full-time coder. A learning goal was to see if I could figure out how to create a dub package for DWT. I feel I am well on the way to achieve this goal (32-bit works, need to test 64-bit). I respect your work, as well as the others, in porting DWT from SWT and maintaining it. I don't want to "muck" up your repository. Having said that, I would much prefer this be part of the original github repository. Then, I could retire my dwtlib dub package in favor of the updated github repository. What are your thoughts?dwtlib - DUB package for the D Widget Toolkit https://code.dlang.org/packages/dwtlib DWT is a library for creating cross-platform GUI applications. It's a port of the SWT Java library from Eclipse. *Status* WORKING Tested on: - Windows 10 Home - Ubuntu 16.04 LTS 32-bit - DMD32 v2.073.0 - DUB v1.2.010 TODO: - Test current versions of DMD/DUB (had probs with DMD v2.074) - Test 64-bitIs this something you plan to contribute back to the original repository?
Apr 24 2017
On 2017-04-25 00:07, JamesD wrote:I'm pretty new with D, and I'm not a full-time coder. A learning goal was to see if I could figure out how to create a dub package for DWT. I feel I am well on the way to achieve this goal (32-bit works, need to test 64-bit). I respect your work, as well as the others, in porting DWT from SWT and maintaining it. I don't want to "muck" up your repository. Having said that, I would much prefer this be part of the original github repository. Then, I could retire my dwtlib dub package in favor of the updated github repository. What are your thoughts?I would like to have a Dub package for DWT, but I haven't created one yet because I have not been able to figure out a good way to deal with the submodules or the examples. I guess the submodules could be inlined directly in the main repository. I'm also not sure how the configurations work in Dub. Will the correct configuration be selected automatically based on platform? -- /Jacob Carlborg
Apr 24 2017
On Tuesday, 25 April 2017 at 06:49:40 UTC, Jacob Carlborg wrote:On 2017-04-25 00:07, JamesD wrote:Yes, the dub.sdl in my dwtlib will auto select "linux" or "windows" and choose the dflags and lflags accordingly. https://github.com/jasc2v8/dwtlib The base/java and core/swt modules work well. What other submodules would you want included? I just released rdub which would be a great tool for the snippets. https://github.com/jasc2v8/rdub Do you want to take a look at the structure for dwtlib, or do you want me to do a pull request on dwt-tools to show you what I have in mind?I'm pretty new with D, and I'm not a full-time coder. A learning goal was to see if I could figure out how to create a dub package for DWT. I feel I am well on the way to achieve this goal (32-bit works, need to test 64-bit). I respect your work, as well as the others, in porting DWT from SWT and maintaining it. I don't want to "muck" up your repository. Having said that, I would much prefer this be part of the original github repository. Then, I could retire my dwtlib dub package in favor of the updated github repository. What are your thoughts?I would like to have a Dub package for DWT, but I haven't created one yet because I have not been able to figure out a good way to deal with the submodules or the examples. I guess the submodules could be inlined directly in the main repository. I'm also not sure how the configurations work in Dub. Will the correct configuration be selected automatically based on platform?
Apr 26 2017
On 2017-04-27 04:52, JamesD wrote:Yes, the dub.sdl in my dwtlib will auto select "linux" or "windows" and choose the dflags and lflags accordingly. https://github.com/jasc2v8/dwtlib The base/java and core/swt modules work well. What other submodules would you want included?I mean that Dub doesn't work that well together with submodules. I'm referring to "base", "org.eclipse.swt.gtk.linux.x86", "org.eclipse.swt.snippets" and "org.eclipse.swt.win32.win32.x86".I just released rdub which would be a great tool for the snippets. https://github.com/jasc2v8/rdub Do you want to take a look at the structure for dwtlib, or do you want me to do a pull request on dwt-tools to show you what I have in mind?I've already looked a bit at dwtlib. I see that you inline the submodules, although the snippets are missing. I'm leaning towards inlining the submodules as well. A pull request would be nice. For this to work I think a pull request for inlining the submodules should be separate from the rest of the changes. -- /Jacob Carlborg
Apr 27 2017
On Thursday, 27 April 2017 at 18:53:54 UTC, Jacob Carlborg wrote:On 2017-04-27 04:52, JamesD wrote:I added the snippets to dwtlib v2.0.0 https://code.dlang.org/packages/dwtlib I have Dub working well with the submodules and snippets! The snippets will not run as-is if you clone from github. You must fetch and build the package for the snippets to work properly. The readme.md has instructions to: dub fetch dwtlib, build the libs, then test the package Using rdub to run the snippets. (32-bit tested, 64-bit todo) The "secret sauce" is in the top folder dub.sdl It provides the proper dflags and lflags for either windows or linux If you feel this folder structure works for dwt-tools, let me know. After I've tested on 64-bit, then I will feel more confident to do a pull request and you can decide if the final product works for you. Thank you for your collaboration!Yes, the dub.sdl in my dwtlib will auto select "linux" or "windows" and choose the dflags and lflags accordingly. https://github.com/jasc2v8/dwtlib The base/java and core/swt modules work well. What other submodules would you want included?I mean that Dub doesn't work that well together with submodules. I'm referring to "base", "org.eclipse.swt.gtk.linux.x86", "org.eclipse.swt.snippets" and "org.eclipse.swt.win32.win32.x86".I just released rdub which would be a great tool for the snippets. https://github.com/jasc2v8/rdub Do you want to take a look at the structure for dwtlib, or do you want me to do a pull request on dwt-tools to show you what I have in mind?I've already looked a bit at dwtlib. I see that you inline the submodules, although the snippets are missing. I'm leaning towards inlining the submodules as well. A pull request would be nice. For this to work I think a pull request for inlining the submodules should be separate from the rest of the changes.
Apr 27 2017