Re: dwt and tango trunk with dmd 1.038 on linux...

2009-01-03 Thread torhu
On 03.01.2009 13:14, Simen Endsjø Haugen wrote: Dmd compile times are out of the sky. Tango compiled in seconds, but dwt... I've tried both oneatatime and without. With one at a time it uses over 2 hours per file! Has anyone else compiled dwt and tango using trunk on linux? Same issue on Windo

Re: The new DWT2

2009-03-21 Thread torhu
On 21.03.2009 14:08, Christopher Wright wrote: Frank Benoit wrote: Now there is the new hg repository for DWT2. DWT2 is like dwt-win/linux/addons, but the folders are organized in the original directory structure of the Eclipse sources. This also means the packages are again like the origin

Re: exe size increased with dwt2

2009-03-29 Thread torhu
On 29.03.2009 14:06, yidabu wrote: I tested a app (with tango 0.99.8, dmd 1.041): 2.25 MB with dwt-win 3.06 MB with dwt2 what's causes this? Did you build both in the same way? I assume you know that if you build the library with dsss with oneatatime=yes, your executable will be smaller t

Re: exe size increased with dwt2

2009-04-05 Thread torhu
On 29.03.2009 14:06, yidabu wrote: I tested a app (with tango 0.99.8, dmd 1.041): 2.25 MB with dwt-win 3.06 MB with dwt2 Just want to mention that I've just ported my app to the new dwt, and it works like a charm. :) The executable size went up from 2.3 MB to 3.2 MB. But this is when bui

Can't build dwt-linux

2009-04-07 Thread torhu
I've tried to build dwt-linux tip (r363) on linux, with dmd 1.041 and tango r4498 (0.99.8 plus backtrace). But I get compiler errors relating to toString16 in some browser/mozilla files. Just want to hear if others have the same problems, before I dive into linux again...

Re: Snippet38 do not show the header of Table

2009-07-15 Thread torhu
On 15.07.2009 07:15, changlon wrote: it use " table.setHeaderVisible (true);" and not show the header of Table. dmd1.043 + tango998 release + dwt.win . Try adding this to dmd's command line: -L/subsystem:console:4 or -L/subsystem:windows:4 bud or rebuilds -gui switch will also work.

Re: Borderless Group

2009-07-28 Thread torhu
On 28.07.2009 15:56, Mitja wrote: Hello, I created a login form with some labels and a button and put it inside a group. Is it possible to hide 1-pixel border around the group? I don't think you can do that. Use a Composite instead.

dwt-win on dmd 1.047 or later?

2009-11-07 Thread torhu
Has anyone successfully built dwt-win (r339) with dmd 1.047 or later? I've tried all version from 1.047 through 1.051, but only run into new compiler bugs.

Re: dwt-win on dmd 1.047 or later?

2009-11-07 Thread torhu
On 08.11.2009 00:52, Frank Benoit wrote: If you are willing to supply a patch, that would be great. Seems it's only dmd not allowing functions to return something when their return type is void. I posted a patch here: http://dsource.org/projects/dwt/ticket/21 I suppose this goes for dwt2 to

Re: is dwt alive?

2010-05-10 Thread torhu
On 11.05.2010 00:35, theambient wrote: is dwt alive? Not much happening lately, but I'm still using it. I'm using dwt-win, and dwt2 on windows, and just started using dwt-linux. I've been trying to keep the Windows versions up to date with Tango and DMD. At the moment I'm debugging a cras

Re: is dwt alive?

2010-05-15 Thread torhu
On 11.05.2010 00:35, theambient wrote: is dwt alive? I just uploaded a patch that updates dwt-linux to Tango 0.99.9 and DMD 1.060. http://www.dsource.org/projects/dwt-linux/ticket/13

Re: is dwt alive?

2010-05-24 Thread torhu
On 16.05.2010 22:15, Jacob Carlborg wrote: On 5/11/10 21:33, torhu wrote: On 11.05.2010 13:12, Jacob Carlborg wrote: Do you have this problem on linux only? Post it here and I can have a look. Yes, it works as expected on Windows. I've attached the files, versions both for dwt-linu

Re: is dwt alive?

2010-06-21 Thread torhu
On 21.06.2010 10:57, Jacob Carlborg wrote: On 2010-06-20 17:27, Mengu wrote: will dwt support phobos in near future? DWT2 is a work in progress on supporting both tango and D2 (phobos) I've got a small example running (Display, Shell and Combo) in D2. There are some things that need to b

Re: is dwt alive?

2010-06-21 Thread torhu
On 2010-06-21 22:46, torhu wrote: On 21.06.2010 10:57, Jacob Carlborg wrote: I've got a small example running (Display, Shell and Combo) in D2. There are some things that need to be decided, like what the String alias should be. Would be nice if could be a Phobos string, ie. immutable

Re: is dwt alive?

2010-07-11 Thread torhu
On 22.06.2010 14:49, Jacob Carlborg wrote: On 2010-06-22 01:40, torhu wrote: [...] I'm considering creating at least a a temporary fork of DWT 2 on bitbucket.org. Then I can just check in some stuff and see how it turns out. It's possible that I'll have time to do some

Re: is dwt alive?

2010-07-12 Thread torhu
On 11.07.2010 20:30, Jacob Carlborg wrote: On 2010-07-11 19.09, torhu wrote: On 22.06.2010 14:49, Jacob Carlborg wrote: On 2010-06-22 01:40, torhu wrote: [...] I've set up my own project on Bitbucket. I've made enough changes to build my DWT app on Windows, and it's works

Re: is dwt alive?

2010-07-12 Thread torhu
On 13.07.2010 00:01, Jeremy Powers wrote: [snip] Being one of the guys Jacob mentioned, wanted to chime in and second his thoughts - this is cool, we need to coordinate, etc. I haven't had much time to work on this yet, but it looks like most of my changes parallel yours. I started by getting (

DWT2 Phobos-compatible logging suggestion

2010-07-13 Thread torhu
Ok, this is sort my way to get some cooperation going on the DWT project. Check it out and make suggestions for improvements, or just say "ok" if you approve :) I've been trying for a couple of hours to find a way to do logging that's compatible with both Phobos and Tango. Here's what I cam

Re: DWT2 Phobos-compatible logging suggestion

2010-07-14 Thread torhu
On 14.07.2010 11:56, Jacob Carlborg wrote: On 2010-07-13 23.00, torhu wrote: Ok, this is sort my way to get some cooperation going on the DWT project. Check it out and make suggestions for improvements, or just say "ok" if you approve :) I've been trying for a couple of

Re: DWT2 Phobos-compatible logging suggestion

2010-07-14 Thread torhu
On 13.07.2010 23:46, Jeremy Powers wrote: Looks reasonable to me. Some comments: I see a danger w/ having the whole class version()'ed around - the methods are defined twice, and need to be kept in sync. Would it be better to just do the version around the implementations? I.E. something like

Re: DWT2 Phobos-compatible logging suggestion

2010-07-14 Thread torhu
Second version of this patch, still based on my fork: http://pastebin.ca/1900478 version statements are inside the functions now. I removed the heap allocation when formatting log messages in the Tango version, see the writeLog function. It's possible that I went a bit overboard on that one,

Re: Building dwt2 (DMD2 + Windows)

2010-09-01 Thread torhu
On 31.08.2010 23:42, Andrej Mitrovic wrote: Hi, I'm trying to build the dwt2 bitbucket fork. As I understand it, the non-fork version doesn't compile with D2. (at least that's what I've read on this NG). I can't build dwt2 though. The readme says I can use `rake base swt`, so I've tried that:

Re: DWT build error function tango.io.FileSystem.FileSystem.toAbsolute is deprecated

2010-11-04 Thread torhu
On 03.11.2010 07:39, tuanhoanganh wrote: I am a newbie of D language and DWT. When i build DWT (lastest hg) and D language 1.0.65 i have a error "...\dwt-win\dwt\dwthelper\File.d(80): Error: function tango.io.FileSystem.FileSystem.toAbsolute is deprecated" How to fix it? Thank in advance Just b

Re: DWT2 now looks working on Windows (except Text widget doesn't support UTF-8)

2011-08-05 Thread torhu
On 05.08.2011 14:00, Denis Shelomovskij wrote: Actually, that is completely false. Git and HG were released within a month of eachother, have very similar feature sets, and didn't really influence eachother during development. Github is exclusively for Git, and Bitbucket is exclusively for Mercur

Re: DWT2 now looks working on Windows (except Text widget doesn't support UTF-8)

2011-08-11 Thread torhu
On 10.08.2011 21:32, Jacob Carlborg wrote: On 2011-08-03 22:02, Denis Shelomovskij wrote: About month ago I fixed some DWT2 bugs, but DWT maintainers just have no time to pull changes to the main repo. Changes are in my (denis_sh) commits descriptions: https://bitbucket.org/denis_sh/patching

Re: Move DWT2 repository - github or bitbucket?

2011-08-14 Thread torhu
On 11.08.2011 19:58, Jacob Carlborg wrote: I'm planning to move the DWT2 repository to either github or bitbucket. Which one would you prefer? Git seems to require a Unix shell to work on Windows. Which is one of the things that make me think that git and Windows is not a match made in heav

Re: Move DWT2 repository - github or bitbucket?

2011-08-15 Thread torhu
On 15.08.2011 15:28, Denis Shelomovskij wrote: 15.08.2011 9:29, Jacob Carlborg: On 2011-08-14 22:20, torhu wrote: On 11.08.2011 19:58, Jacob Carlborg wrote: I'm planning to move the DWT2 repository to either github or bitbucket. Which one would you prefer? Git seems to require a

Re: Move DWT2 repository - github or bitbucket?

2011-08-15 Thread torhu
On 15.08.2011 08:29, Jacob Carlborg wrote: On 2011-08-14 22:20, torhu wrote: On 11.08.2011 19:58, Jacob Carlborg wrote: I'm planning to move the DWT2 repository to either github or bitbucket. Which one would you prefer? Git seems to require a Unix shell to work on Windows. Which i

Re: Would GIT submodules be a good idea?

2011-08-15 Thread torhu
On 15.08.2011 19:26, Jacob Carlborg wrote: Since it seems that everyone is ok with git I will move the DWT2 repository to github. That leads to the next question: Would git submodules be a good idea? I haven't use submodules myself my it sounds good in theory. I'm thinking about having sub reposi

Re: Would GIT submodules be a good idea?

2011-08-17 Thread torhu
On 16.08.2011 18:46, Jacob Carlborg wrote: On 2011-08-16 16:30, Jesse Phillips wrote: It is almost like that. It's just that the cloning also requires the initialization and cloning of the submodules. You'll have to keep them in sync and I've never submoduled a project that had submodules it

Re: Would GIT submodules be a good idea?

2011-08-17 Thread torhu
On 17.08.2011 18:42, Jacob Carlborg wrote: On 2011-08-17 11:46, torhu wrote: On 16.08.2011 18:46, Jacob Carlborg wrote: On 2011-08-16 16:30, Jesse Phillips wrote: It is almost like that. It's just that the cloning also requires the initialization and cloning of the submodules. You&#x

Re: Table header not visible - Windows 7

2013-02-16 Thread torhu
On 16.02.2013 14:01, deed wrote: This example code doesn't render any table headers on Windows 7: You need to link with /Lsu:windows:4 or /Lsu:console:4. That's DMD's command line syntax.

Build fails on Linux Mint 21

2022-10-02 Thread torhu via Digitalmars-d-dwt
I get this when trying to do a 64-bit build: Linking... ../../.dub/packages/dwt-1.0.5_swt-3.4.1/dwt/org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/program/Program.d:263: error: undefined reference to 'gnome_icon_theme_new' ../../.dub/packages/dwt-1.0.5_swt-3.4.1/dwt/org.eclipse.swt.gtk.linux

Re: Build fails on Linux Mint 21

2022-10-02 Thread torhu via Digitalmars-d-dwt
On Sunday, 2 October 2022 at 22:08:39 UTC, torhu wrote: I am not able to find libgnomeui-dev, maybe that's all that's missing? If anyone has a DWT fork without that dependency, that would be great. I got it to build by using the 4.7 branch instead. Now I get a segfault at star

Re: Build fails on Linux Mint 21

2022-10-17 Thread torhu via Digitalmars-d-dwt
On Monday, 3 October 2022 at 01:27:23 UTC, torhu wrote: I got it to build by using the 4.7 branch instead. Now I get a segfault at startup, which seems to come from a Display.getDefault() call in a module constructor. Fixed that one. Now I found out that Display.syncExec runs the Runnable

menuDetected not called on right click on table header

2022-12-08 Thread torhu via Digitalmars-d-dwt
I'm trying to add a context menu to a table header, by adding a MenuDetectListener to the Table instance. A right click on the header does not seem to register at all, while clicking on a cell works fine. This is on Windows.