Re: Current state of DWT

2021-01-24 Thread Jacob Carlborg via Digitalmars-d-dwt
On 2021-01-24 04:50, mori wrote: I feel as if I came across rather... pessimistic.  I do want to help. Awesome :) Yesterday I spent some time trying to port the (cocoa) Program class to D using `extern (Objective-C)`.  What I've got works, but the main difference (as you'd probably know)

Re: Current state of DWT

2021-01-23 Thread Jacob Carlborg via Digitalmars-d-dwt
On 2021-01-19 05:51, mori wrote: Sorry for the late reply. I keep forgetting to check this forum. There's usually not much activity here. Initially I'll try converting the manually so I can understand the internals a little (also don't know any Scala...). I didn't know any Scala before I

Re: Current state of DWT

2021-01-18 Thread Jacob Carlborg via Digitalmars-d-dwt
On 2021-01-18 07:22, Imperatorn wrote: Ok, thanks for your efforts. I'm just wondering what the "official" ui framework is considered to be, looking around  At one point DWT was named to be the official GUI framework for D :). Of course, that didn't mean anything. No additonal contributors,

Re: Current state of DWT

2021-01-18 Thread Jacob Carlborg via Digitalmars-d-dwt
On 2021-01-18 01:11, mori wrote: Given this, would it be correct to assume that you're not accepting pull requests that would update DWT?  Only asking because I'd be willing to help update the GNU/Linux side. No, I will definitely accept pull requests. It's mostly that I don't have much

Re: Current state of DWT

2021-01-17 Thread Jacob Carlborg via Digitalmars-d-dwt
On 2021-01-13 11:50, Imperatorn wrote: What's the current state of dwt and where can I find some toturials and/or example applications? The current state is that is in maintenance mode. I'm only make sure it works on the latest version of DMD. It does not receive any other form of updates.

Re: DWT doesn't compile with dmd 2.87.0

2019-07-19 Thread Jacob Carlborg via Digitalmars-d-dwt
On 2019-07-14 19:00, Patrick Schluter wrote: DWT doesn't build anymore with the new compiler. Wasn't DWT supposed to be part of the build job of compiler so that regressions are caught in time? dwt 1.0.1+swt-3.4.1: building configuration "windows-win32"...

Re: DWT doesn't compile with dmd 2.87.0

2019-07-18 Thread Jacob Carlborg via Digitalmars-d-dwt
On 2019-07-14 19:00, Patrick Schluter wrote: DWT doesn't build anymore with the new compiler. Wasn't DWT supposed to be part of the build job of compiler so that regressions are caught in time? dwt 1.0.1+swt-3.4.1: building configuration "windows-win32"...

Re: DWT doesn't compile with dmd 2.87.0

2019-07-18 Thread Jacob Carlborg via Digitalmars-d-dwt
On 2019-07-16 15:27, knt.roh wrote: https://github.com/d-widget-toolkit/dwt/pull/47 I have sent this pull request. If this PR is merged and the dub package is updated, then this problem is probably fixed. Seems he has a different issue. Your PR fixes an error. He's getting deprecation

Re: DWT doesn't compile with dmd 2.87.0

2019-07-16 Thread Jacob Carlborg via Digitalmars-d-dwt
On 2019-07-14 19:00, Patrick Schluter wrote: Wasn't DWT supposed to be part of the build job of compiler so that regressions are caught in time? Yes, but that's only for Linux. -- /Jacob Carlborg

Re: Is DWT usable?

2018-04-23 Thread Jacob Carlborg via Digitalmars-d-dwt
On 2018-04-23 08:09, dangbinghoo wrote: No, I'm just running in XFCE, and I think dwt also need to running with KDE. Yes, I'm just trying to rule out as much as possible to be able to fix this issue. -- /Jacob Carlborg

Re: Is DWT usable?

2018-04-18 Thread Jacob Carlborg via Digitalmars-d-dwt
On 2018-04-17 11:42, dangbinghoo wrote: both archlinux (updated) and deepin linux 15(same core as debain 8). Are those platforms using KDE? Might be the same as this issue [1]. [1] https://github.com/d-widget-toolkit/dwt/issues/34 -- /Jacob Carlborg

Re: Is DWT usable?

2018-04-16 Thread Jacob Carlborg via Digitalmars-d-dwt
On 2018-04-16 06:24, dangbinghoo wrote: I have noticed DWT moved to as a dub package. And said it easy to startup. So, I just cloned the DWT git repo. And did the same thing as README. But I got the following : ``` dub --single main.d Performing "debug" build using /usr/bin/dmd for x86_64.

Re: GtkD global font size

2018-01-15 Thread Jacob Carlborg via Digitalmars-d-dwt
On 2018-01-15 00:55, Sai wrote: I am writing a small GUI application using GtkD3 Builder and Glade. On a HD monitor the default font size is too small. The adwaita theme is not great but I can live with it. Is there any way to globally increase the font size in the GtkD? I tried the

Re: Problem building SWTSnippets with D 2.074.x

2017-11-27 Thread Jacob Carlborg via Digitalmars-d-dwt
On 2017-06-02 16:01, Jacob Carlborg wrote: This is due to a regression in the compiler [1]. Please use 2.073.x until this has been fixed. [1] https://issues.dlang.org/show_bug.cgi?id=17371 The issue has now been fixed. We'll see in which release of the compiler it will show up. --

Re: DWT is official ?

2017-07-14 Thread Jacob Carlborg via Digitalmars-d-dwt
On 2017-07-13 21:45, Jacob Carlborg wrote: Not sure what you mean with "official". The forum or the library? The forum is the official DWT forum. At one point it was announced that DWT would be the official GUI library for D. In practice nothing change. It's not considered the official GUI

Re: DWT is official ?

2017-07-13 Thread Jacob Carlborg via Digitalmars-d-dwt
On 2017-07-12 14:36, Flaze07 wrote: I see... so...is it official ?? Not sure what you mean with "official". The forum or the library? -- /Jacob Carlborg

Re: DWT is official ?

2017-07-12 Thread Jacob Carlborg via Digitalmars-d-dwt
On 2017-07-12 12:10, Flaze07 wrote: hi...so is this group forum about the SWT D bindings ? (I am just surprised that it is...in the ecosystem if it is what I think it is) Technically DWT [1] is a port of SWT to D, not bindings. No Java code is involved. [1]

Re: VhdCopy v2

2017-06-23 Thread Jacob Carlborg via Digitalmars-d-dwt
On 2017-06-22 17:19, JamesD wrote: I have several utilities I have used in AutoIT, and I'm enjoying converting these to the D language with the DWT GUI. vhdCopy is a GUI wrapper for VboxManage.exe to copy vhd and set GUUID. This version 2 replaces buttons with a GUI menu that is useful as an

Re: Problem building SWTSnippets with D 2.074.x

2017-06-02 Thread Jacob Carlborg via Digitalmars-d-dwt
On 2017-06-02 09:25, Mike James wrote: Hi, I get the following errors when trying to build the swtsnippets with the latest SWT... This is due to a regression in the compiler [1]. Please use 2.073.x until this has been fixed. [1] https://issues.dlang.org/show_bug.cgi?id=17371 -- /Jacob

Re: Release dwtlib v1.01

2017-04-27 Thread Jacob Carlborg via Digitalmars-d-dwt
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

Re: Release dwtlib v1.01

2017-04-25 Thread Jacob Carlborg via Digitalmars-d-dwt
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

Re: build problem with dmd 2.071.2

2016-10-09 Thread Jacob Carlborg via Digitalmars-d-dwt
On 2016-10-09 03:12, goo wrote: hello! I got this problem when i using DWT on lubuntu. [ build.sh ] : dmd app.d -I/home/osboxes/Downloads/build/dwt/imp -J/home/osboxes/Downloads/build/dwt/org.eclipse.swt.gtk.linux.x86/res -L-L/home/osboxes/Downloads/build/dwt/lib \

Re: updating DWT

2016-03-19 Thread Jacob Carlborg via Digitalmars-d-dwt
On 16/03/16 09:27, Saša Janiška wrote: Any ETA when you DWT might me updated to 4.x ? Unfortunately no. It takes quite some time to write a tool that converts Java to D. Currently my focus is to rewrite the D grammar that is used by GitHub and TextMate, it's currently broken in some cases.

Re: build problem with 2.0.70

2016-03-19 Thread Jacob Carlborg via Digitalmars-d-dwt
On 16/03/16 09:24, Saša Janiška wrote: OK. Here is another issue: $ dmd main.d -I/home/gour/repos/external/dwt/imp -J/home/gour/repos/external/dwt/org.eclipse.swt.gtk.linux.x86/res -L-L/home/gour/repos/external/dwt/lib -L-l:org.eclipse.swt.gtk.linux.x86 -L-l:dwt-base -L-lgtk-x11-2.0

Re: build problem with 2.0.70

2016-03-19 Thread Jacob Carlborg via Digitalmars-d-dwt
On 16/03/16 20:48, Saša Janiška wrote: That helped. Thanks. Awesome :) I was able to build several snippets, but still have to decide how much I like DWT code. ;) Hehe. -- /Jacob Carlborg

Re: updating DWT

2016-03-15 Thread Jacob Carlborg via Digitalmars-d-dwt
On 15/03/16 18:17, Saša Janiška wrote: Hello, stil thinking about which GUI to use and today I noticed that according to web site, DWT is based on SWT-3.4, while SWT at upstream is at 4.5,4.6, so I'm interested if porting SWT to DWT is mostly manual work which seems to be disadvantageous and

Re: Status of DWT on OS X

2016-01-16 Thread Jacob Carlborg via Digitalmars-d-dwt
On 2016-01-16 08:05, Andrew wrote: I'm looking for a GUI that's cross platform including Windows, Limus, and OS X. From what I can tell, DWT isn't on OS X yet, is that correct? No, DWT isn't on OS X yet. Is DWT is t ready yet, then Are the QT bindings to D stable? I'm not sure that what

Re: DWT fails to build with DMD 2.069.1

2015-11-16 Thread Jacob Carlborg via Digitalmars-d-dwt
On 2015-11-11 17:17, Mike James wrote: Hi. Is there an updated release of DWT for 2.069? There seems to be a deprecation problem... Should be working now (at least on Windows). -- /Jacob Carlborg

Re: DWT fails to build with DMD 2.068.0

2015-08-26 Thread Jacob Carlborg via Digitalmars-d-dwt
On 2015-08-26 10:59, Mike James wrote: Thanks Jacob, I can confirm the libraries and snippets build no problem. Awesome :) -- /Jacob Carlborg

Re: Error Ocuured while building DWT

2015-04-18 Thread Jacob Carlborg via Digitalmars-d-dwt
On 2015-04-13 11:40, Olagsfark wrote: I'll appreciate if a bugfix could be made sire...i realy would... I'l try the v2.067.0 on a separate drive meanwhile though. Thanks Could you please try the updating DWT and try with the older compiler. I wasn't able to reproduce the problem. -- /Jacob

Re: DWT fails to build with DMD 2.067.0

2015-03-31 Thread Jacob Carlborg via Digitalmars-d-dwt
On 2015-03-31 21:09, Mike James wrote: Hi, When I run the build using dub I get the following errors... java\lang\util.d(396): Deprecation: typedef is removed java\lang\util.d(405): Deprecation: typedef is removed java\nonstandard\Locale.d(66): Error: cannot append type string to type wchar[]

Re: DWT on Mac OS X and with DMD 2

2015-03-23 Thread Jacob Carlborg via Digitalmars-d-dwt
On 2015-03-22 15:41, romain wrote: Hi. I think i might be interested in helping porting from d1 to d2 as far as the Os x version is concerned, even though i don't really know how i could go about that. Any pointer or help would be appreciated. I'm not sure if that's a good idea before the

Re: Can't Link DWT in Linux 64-bit

2014-07-21 Thread Jacob Carlborg via Digitalmars-d-dwt
On 2014-07-20 01:40, Mike wrote: Interesting! How was the original port from SWT to DWT done? Was some utility used? It's manually ported. There was a try to create a tool [1] to automatically port the code but that required a too big part of the Java standard library to be ported as well.

Re: Can't Link DWT in Linux 64-bit

2014-07-21 Thread Jacob Carlborg via Digitalmars-d-dwt
On 2014-07-20 15:52, Jacob Carlborg wrote: It's manually ported. There was a try to create a tool [1] to automatically port the code but that required a too big part of the Java standard library to be ported as well. It might be worth investigation to try and do an automatic port again. I

Re: Can't Link DWT in Linux 64-bit

2014-07-21 Thread Jacob Carlborg via Digitalmars-d-dwt
On 21/07/14 03:00, Mike wrote: Well, what's the GUI future of D? Does DWT have a role to play? If we could make the process completely automatic (or nearly automatic) to make it easy to keep up with SWT. And also create a GUI builder then I think DWT is in a very good position. -- /Jacob

Re: Can't Link DWT in Linux 64-bit

2014-07-21 Thread Jacob Carlborg via Digitalmars-d-dwt
On 2014-07-21 11:52, Mike wrote: Or, is there a utility out there that can dump Java source to xml or something more consumable by D? Then I might have some hope. No, not that I know of. You might be able to find a Java grammar for some parser generator that could be used. But, as I wrote

Re: Can't Link DWT in Linux 64-bit

2014-07-20 Thread Jacob Carlborg via Digitalmars-d-dwt
On 2014-07-20 02:46, Mike wrote: What do you mean by native type? I thought the only native types in D were `size_t` and `ptrdiff_t`. What's the actual syntax you use in the OSX port? External C functions that take pointers are declared to take int/long in the Java code. I would prefer

Re: Can't Link DWT in Linux 64-bit

2014-07-19 Thread Jacob Carlborg via Digitalmars-d-dwt
On 2014-07-19 01:47, Mike wrote: Well, I haven't tried to build yet, but I have been going through the source code, and I found something interesting. I downloaded the swt source code for both Win32 and Win64, and compared them in WinMerge. What's interesting is the source code is littered

Re: Can't Link DWT in Linux 64-bit

2014-07-19 Thread Jacob Carlborg via Digitalmars-d-dwt
On 2014-07-19 01:47, Mike wrote: * How does one go about testing DWT? I don't have a good answer to that. I mostly try the snippets and see that they behave correctly. For some snippets it might not always be easy to see what they're supposed to do or behave. In that case I compare with

Re: Can't Link DWT in Linux 64-bit

2014-07-13 Thread Jacob Carlborg via Digitalmars-d-dwt
On 2014-07-13 08:32, Mike wrote: Nevermind, just found out only 32-bit libs are created. Yes, currently DWT only supports 32bit. -- /Jacob Carlborg

Re: Precompiled binaries of DWT for windows?

2014-07-01 Thread Jacob Carlborg via Digitalmars-d-dwt
On 2014-07-01 08:11, pgtkda wrote: Hi, thanks againf or your answer. I navigated to the dmd folder where the rdmd.exe file is. If i type rdmd build base swt i get this Error: Error: cannot read file build.d Failed: ^dmd^ ^-v^ ^-o-^ ^build.d^ ^-I.^ You should navigate to the folder where DWT

Re: Precompiled binaries of DWT for windows?

2014-06-27 Thread Jacob Carlborg via Digitalmars-d-dwt
On 2014-06-27 10:10, pgtkda wrote: Okay, thanks for your detailed answer. What should i do next if i extracted the Win32 zip file? Follow the instructions here [1]. The steps I described above replaces the second step in the linked build instructions. [1]

Re: Attempt at DWT 64 bit port

2014-06-24 Thread Jacob Carlborg via Digitalmars-d-dwt
On 2014-06-24 02:30, ed wrote: I'm attempting a 64 bit port of DWT and I'd like some feedback on API changes. My initial preference was no changes to existing API in order to ease future updates from SWT proper. But of course that requires casts and I suspect they will bubble to the surface and

Re: DWT on Mac OS X and with DMD 2

2014-05-14 Thread Jacob Carlborg via Digitalmars-d-dwt
On 14/05/14 12:07, FrankLike wrote: I'v compiled the all snippets examples,the examples are very good,but no enableVisualStyles fuction in DWT,it will help dwt to be nice. You can look at the DFL's enableVisualStyles(). DFL /Application.d // Should be called before creating any

Re: DWT on Mac OS X and with DMD 2

2014-05-14 Thread Jacob Carlborg via Digitalmars-d-dwt
On 2014-05-14 15:03, FrankLike wrote: Ican send a mail to you, ok to email? Sure. -- /Jacob Carlborg

Re: Support for Dub

2014-05-12 Thread Jacob Carlborg via Digitalmars-d-dwt
On 12/05/14 10:33, Sönke Ludwig wrote: Just an idea (although I'd also prefer the first option), subtree merging [1] is a nice alternative to git submodules, which would also work properly for GitHub+DUB. The structure could stay the same and only changes would be required in the main

Support for Dub

2014-05-10 Thread Jacob Carlborg via Digitalmars-d-dwt
For those who haven't noticed Etienne Cimon has created a pull request [1] which adds support for Dub to the DWT project. Currently the DWT project is divided among a couple of git repositories: one of Windows, one for Linux, one for the Java API and one for snippets. These git repositories

Re: Building DWT using gdc, Linux Mint 16

2014-04-26 Thread Jacob Carlborg via Digitalmars-d-dwt
On 2014-04-25 18:00, Chris Piker wrote: If I can get DWT built with gdc and then send you a proceedure, would you be interested in testing the instructions on one of your systems? Sure, why not. The easiest would be to get GDMD and RDMD. You can specify the compiler to use when invoking