digitalmars.D.dwt - The new DWT2
- Frank Benoit (22/22) Mar 21 2009 Now there is the new hg repository for DWT2.
- Saaa (1/1) Mar 21 2009 I'll be trying it out for dmd 2.. how far along is it at the moment?
- Frank Benoit (6/7) Mar 21 2009 At the moment the refactoring is complete for D1+Tango.
- Christopher Wright (7/18) Mar 21 2009 Wow, that's like twelve extra characters. I did want to try this out,
- Piotrek (4/10) Mar 21 2009 But SWT re-brand seems to be the better choice after all. I use Descent
- torhu (5/19) Mar 21 2009 It's a bit annoying, but seems like the right thing to do. I'll
- Christopher Wright (3/26) Mar 21 2009 It's well motivated from a development standpoint. I don't see what it
- Frank Benoit (23/25) Mar 21 2009 there are existing naming conflicts of packages.
- yidabu (70/100) Mar 21 2009 Rake building error:
- Frank Benoit (4/20) Mar 21 2009 for dwt2 i use the tango 0.99.8 ( see svn tags/releases/0.99.8), there
- yidabu (12/34) Mar 21 2009 how to building lib file on Windows?
- Frank Benoit (3/6) Mar 22 2009 Building libs and apps is not yet integrated. At the moment i just use
- yidabu (14/21) Mar 22 2009 I use a Makefile to build a lib, seems the command line is too long:
- yidabu (11/18) Mar 22 2009 Is it the time to use dwt2 instead of dwt-win to build app?
- Frank Benoit (4/17) Mar 23 2009 The rakefile can now build the snippets on windows. So I think it should
- davidl (8/26) Mar 23 2009 (in D:/digitalmars/dsource/dwt2)
- Frank Benoit (2/9) Mar 23 2009 I use rake version 0.8.3, ruby 1.9.1
- davidl (9/27) Mar 23 2009 The clean target is somewhat stupid ;) I need to fake files for it to
- davidl (9/39) Mar 23 2009 ah, sorry, rspfile_abs is required because of my last stupid debugging
- Frank Benoit (4/12) Mar 23 2009 Specifying the version is necessary. It is all still new :)
- Saaa (1/4) Mar 23 2009 :) same here..
- davidl (3/47) Mar 23 2009 umm, i used the ruby 1.8.6 one click installer. :D i think that should b...
- Frank Benoit (4/10) Mar 23 2009 Where did you need to add it?
- yidabu (13/33) Mar 23 2009 snitppet147
- Frank Benoit (2/7) Mar 23 2009 oh, i thought the old one was bigger.
- Saaa (54/54) Mar 24 2009 dmd 2.026
- Frank Benoit (3/66) Mar 25 2009 Meanwhile the org.eclipse.swt.win32.win32.x86 tree builds for D2. But
- Saaa (3/5) Mar 25 2009 What does it mean for an implMissing to not be encapsulated within a ver...
- Frank Benoit (4/12) Mar 26 2009 Yes, also did add those in the beginning of dwt. So if there is no tango
- Frank Benoit (2/7) Mar 24 2009 I started with making it phobos compatible, but it is not yet completed....
- Saaa (3/5) Mar 24 2009 Ok, I thought it would compile but just not work because it would hold l...
- Frank Benoit (6/15) Mar 24 2009 To fill in the dummy code is a linear task. The compiler guides me from
- Saaa (6/22) Mar 24 2009 DWT is a PORT of SWT :)
- Frank Benoit (3/27) Mar 24 2009 My target is to add D2+Phobos. If there is manpower to make that also
- Saaa (4/6) Mar 24 2009 So I should look up what the tango function does and try and find someth...
- Frank Benoit (4/9) Mar 25 2009 hm, the base tree can be build on its own.
- sleek (4/26) Mar 24 2009 Will the old dwt-win/linux/samples/addons be modified to work with the n...
- Frank Benoit (2/5) Mar 24 2009 yes
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 original. DWT.CENTER => SWT.CENTER import dwt.widgets.Button; => import org.eclipse.swt.widgets.Button; This makes future porting of more files and versions much more easier. I started to make dwt2 compilable also for D2+Phobos. Support for D1+Tango will certainly stay. The repositories dwt-win/linux/addons/samples will stay and i will support them with bug fixes for a while. But I plan to do my future work in DWT2. Get it with Mercurial (hg) Version Control software: First get: hg clone http://hg.dsource.org/projects/dwt2 To get later changes from the server hg pull -u To build you need "Rake", that is the Ruby make tool and is part of a standard Ruby installation. Also DMD needs to be in the path environment variable.
Mar 21 2009
I'll be trying it out for dmd 2.. how far along is it at the moment?
Mar 21 2009
Saaa schrieb:I'll be trying it out for dmd 2.. how far along is it at the moment?At the moment the refactoring is complete for D1+Tango. The 'base' tree compiles also for D2+Tango and i am working on the swt tree. But compile means really just compile. There is implementation work needed for Phobos. Please see also my posting: "DWT2 D2+Phobos help needed"
Mar 21 2009
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 original. DWT.CENTER => SWT.CENTER import dwt.widgets.Button; => import org.eclipse.swt.widgets.Button;Wow, that's like twelve extra characters. I did want to try this out, but I already have gtkd, and that lets me just import gtk.Button. It shouldn't be too hard to write a script that would generate files of the type: module dwt.Button; public import org.eclipse.swt.widgets.Button;
Mar 21 2009
Christopher Wright pisze:Wow, that's like twelve extra characters. I did want to try this out, but I already have gtkd, and that lets me just import gtk.Button. It shouldn't be too hard to write a script that would generate files of the type: module dwt.Button; public import org.eclipse.swt.widgets.Button;But SWT re-brand seems to be the better choice after all. I use Descent so I even don't type 1 character. Cheers
Mar 21 2009
On 21.03.2009 14:08, Christopher Wright wrote:Frank Benoit wrote:It's a bit annoying, but seems like the right thing to do. I'll probably just type it once for each file, then use my editor's 'duplicate line' feature for the rest. That's what I've been doing already anyway.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 original. DWT.CENTER => SWT.CENTER import dwt.widgets.Button; => import org.eclipse.swt.widgets.Button;Wow, that's like twelve extra characters. I did want to try this out, but I already have gtkd, and that lets me just import gtk.Button.
Mar 21 2009
torhu wrote:On 21.03.2009 14:08, Christopher Wright wrote:It's well motivated from a development standpoint. I don't see what it contributes, otherwise.Frank Benoit wrote:It's a bit annoying, but seems like the right thing to do. I'll probably just type it once for each file, then use my editor's 'duplicate line' feature for the rest. That's what I've been doing already anyway.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 original. DWT.CENTER => SWT.CENTER import dwt.widgets.Button; => import org.eclipse.swt.widgets.Button;Wow, that's like twelve extra characters. I did want to try this out, but I already have gtkd, and that lets me just import gtk.Button.
Mar 21 2009
Christopher Wright schrieb:It's well motivated from a development standpoint. I don't see what it contributes, otherwise.there are existing naming conflicts of packages. org.eclipse.swt => dwt that was the start. Well then, rename all other swt to dwt also. So we have SWT => DWT SWTError => DWTError SWTException => DWTException SWTEventObject => DWTEventObject SWTEventListener => DWTEventListener then there are the packages from jface. Oh the first problem. org.eclipse.jface where to map those. Ok, have all the future packages from org.eclipse in dwtx, dwtx to be an abbreviation for org.eclipse org.eclipse.jface => dwtx.jface ... Oh, oh, now there is org.eclipse.osgi and org.osgi, now it gets a bit ugly. You see, where this is going to? All those renaming produce work in comparing versions and updates. A porting project like this needs lots of comparing and merging. It produces work for me, the developer. And I think my time is the most valuable resource the dwt project has. And really, I see not what those renaming contribute. Instead, when the original namings are used, examples and snippets can be used without or less change, that is a contribute for the user.
Mar 21 2009
On Sat, 21 Mar 2009 09:57:32 +0100 Frank Benoit <keinfarbton googlemail.com> 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 original. DWT.CENTER => SWT.CENTER import dwt.widgets.Button; => import org.eclipse.swt.widgets.Button; This makes future porting of more files and versions much more easier. I started to make dwt2 compilable also for D2+Phobos. Support for D1+Tango will certainly stay. The repositories dwt-win/linux/addons/samples will stay and i will support them with bug fixes for a while. But I plan to do my future work in DWT2. Get it with Mercurial (hg) Version Control software: First get: hg clone http://hg.dsource.org/projects/dwt2 To get later changes from the server hg pull -u To build you need "Rake", that is the Ruby make tool and is part of a standard Ruby installation. Also DMD needs to be in the path environment variable.Rake building error: ...dwt2>Rake base --trace (in .../dwt2) ** Invoke base (first_time) ** Execute base Building base/src dmd ...dwt2\rsp ...dwt2\base\src\java\lang\wrappers.d(15): Error: identifier 'equals_t ' is not defined ...dwt2\base\src\java\lang\wrappers.d(15): Error: equals_t is used as a type ...dwt2\base\src\java\lang\wrappers.d(15): function java.lang.wrappers .ArrayWrapperT!(byte).ArrayWrapperT.opEquals of type void(Object o) overrides bu t is not covariant with object.Object.opEquals of type int(Object o) ...dwt2\base\src\java\lang\wrappers.d(15): function java.lang.wrappers .ArrayWrapperT!(byte).ArrayWrapperT.opEquals does not override any function ...dwt2\base\src\java\lang\wrappers.d(69): template instance java.lang .wrappers.ArrayWrapperT!(byte) error instantiating rake aborted! compile error .../dwt2/rakefile:83:in `block (2 levels) in buildTree' ...Ruby/lib/ruby/1.9.1/rake.rb:981:in `call' ...Ruby/lib/ruby/1.9.1/rake.rb:981:in `sh' ...Ruby/lib/ruby/1.9.1/rake.rb:1065:in `sh' .../dwt2/rakefile:75:in `block in buildTree' .../dwt2/rakefile:69:in `chdir' .../dwt2/rakefile:69:in `buildTree' .../dwt2/rakefile:116:in `block in <top (required)>' ...Ruby/lib/ruby/1.9.1/rake.rb:613:in `call' ...Ruby/lib/ruby/1.9.1/rake.rb:613:in `block in execute' ...Ruby/lib/ruby/1.9.1/rake.rb:608:in `each' ...Ruby/lib/ruby/1.9.1/rake.rb:608:in `execute' ...Ruby/lib/ruby/1.9.1/rake.rb:574:in `block in invoke_with_call_chain ' ...Ruby/lib/ruby/1.9.1/monitor.rb:190:in `mon_synchronize' ...Ruby/lib/ruby/1.9.1/rake.rb:567:in `invoke_with_call_chain' ...Ruby/lib/ruby/1.9.1/rake.rb:560:in `invoke' ...Ruby/lib/ruby/1.9.1/rake.rb:2012:in `invoke_task' ...Ruby/lib/ruby/1.9.1/rake.rb:1990:in `block (2 levels) in top_level' ...Ruby/lib/ruby/1.9.1/rake.rb:1990:in `each' ...Ruby/lib/ruby/1.9.1/rake.rb:1990:in `block in top_level' ...Ruby/lib/ruby/1.9.1/rake.rb:2029:in `standard_exception_handling' ...Ruby/lib/ruby/1.9.1/rake.rb:1984:in `top_level' ...Ruby/lib/ruby/1.9.1/rake.rb:1963:in `block in run' ...Ruby/lib/ruby/1.9.1/rake.rb:2029:in `standard_exception_handling' ...Ruby/lib/ruby/1.9.1/rake.rb:1960:in `run' ...Ruby/bin/rake.bat:39:in `<main>' \src\dwt2>Rake swt (in /src/dwt2) Building org.eclipse.swt.win32.win32.x86/src src\dwt2\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\internal\C ompatibility.d(15): module File cannot read file 'java\io\File.d' rake aborted! compile error /dwt2/rakefile:83:in `block (2 levels) in buildTree' (See full trace by running task with --trace) my environment: Ruby Windows 1.91, Rake 0.83 Tango 0.99.7, Revision:4052, last changed date:2008-10-30 DMD 1.037 -- yidabu <dyuyan.spam gmail.com> http://www.dsource.org/projects/dwin D 语言-中文(D Chinese): http://www.d-programming-language-china.org/ http://bbs.d-programming-language-china.org/ http://dwin.d-programming-language-china.org/ http://scite4d.d-programming-language-china.org/
Mar 21 2009
yidabu schrieb:Rake building error: ....dwt2>Rake base --trace (in .../dwt2) ** Invoke base (first_time) ** Execute base Building base/src dmd ...dwt2\rsp ....dwt2\base\src\java\lang\wrappers.d(15): Error: identifier 'equals_t ' is not defined ....dwt2\base\src\java\lang\wrappers.d(15): Error: equals_t is used as a type...Ruby Windows 1.91, Rake 0.83 Tango 0.99.7, Revision:4052, last changed date:2008-10-30 DMD 1.037for dwt2 i use the tango 0.99.8 ( see svn tags/releases/0.99.8), there the type equals_t is defined in object.di. For dmd i use 1.041.
Mar 21 2009
On Sun, 22 Mar 2009 03:32:36 +0100 Frank Benoit <keinfarbton googlemail.com> wrote:yidabu schrieb:how to building lib file on Windows? Run Rake, obj fiels generated, Should I to run "lib a.obj b.obj ...." to generated dwt2.lib? -- yidabu <yidabu.spam gmail.com> http://www.dsource.org/projects/dwin D 语言-中文(D Chinese): http://www.d-programming-language-china.org/ http://bbs.d-programming-language-china.org/ http://dwin.d-programming-language-china.org/ http://scite4d.d-programming-language-china.org/Rake building error: ....dwt2>Rake base --trace (in .../dwt2) ** Invoke base (first_time) ** Execute base Building base/src dmd ...dwt2\rsp ....dwt2\base\src\java\lang\wrappers.d(15): Error: identifier 'equals_t ' is not defined ....dwt2\base\src\java\lang\wrappers.d(15): Error: equals_t is used as a type...Ruby Windows 1.91, Rake 0.83 Tango 0.99.7, Revision:4052, last changed date:2008-10-30 DMD 1.037for dwt2 i use the tango 0.99.8 ( see svn tags/releases/0.99.8), there the type equals_t is defined in object.di. For dmd i use 1.041.
Mar 21 2009
yidabu schrieb:how to building lib file on Windows? Run Rake, obj fiels generated, Should I to run "lib a.obj b.obj ...." to generated dwt2.lib?Building libs and apps is not yet integrated. At the moment i just use it to compile.
Mar 22 2009
On Sun, 22 Mar 2009 10:38:54 +0100 Frank Benoit <keinfarbton googlemail.com> wrote:yidabu schrieb:I use a Makefile to build a lib, seems the command line is too long: ...ageBook.obj org-osgi-framework-Bundle.obj org-osgi-util-NLS.obj, ...) failed. make (e=87): The parameter is incorrect. Mingw32-make: *** [dwt2.lib] Error 87 -- yidabu <yidabu.spam gmail.com> http://www.dsource.org/projects/dwin D 语言-中文(D Chinese): http://www.d-programming-language-china.org/ http://bbs.d-programming-language-china.org/ http://dwin.d-programming-language-china.org/ http://scite4d.d-programming-language-china.org/how to building lib file on Windows? Run Rake, obj fiels generated, Should I to run "lib a.obj b.obj ...." to generated dwt2.lib?Building libs and apps is not yet integrated. At the moment i just use it to compile.
Mar 22 2009
On Sun, 22 Mar 2009 10:38:54 +0100 Frank Benoit <keinfarbton googlemail.com> wrote:yidabu schrieb:Is it the time to use dwt2 instead of dwt-win to build app? -- yidabu <yidabu.spam gmail.com> http://www.dsource.org/projects/dwin D 语言-中文(D Chinese): http://www.d-programming-language-china.org/ http://bbs.d-programming-language-china.org/ http://dwin.d-programming-language-china.org/ http://scite4d.d-programming-language-china.org/how to building lib file on Windows? Run Rake, obj fiels generated, Should I to run "lib a.obj b.obj ...." to generated dwt2.lib?Building libs and apps is not yet integrated. At the moment i just use it to compile.
Mar 22 2009
yidabu schrieb:On Sun, 22 Mar 2009 10:38:54 +0100 Frank Benoit <keinfarbton googlemail.com> wrote:The rakefile can now build the snippets on windows. So I think it should be possible to build apps also. I think compile time and exe size went down, but i haven't measured.yidabu schrieb:Is it the time to use dwt2 instead of dwt-win to build app?how to building lib file on Windows? Run Rake, obj fiels generated, Should I to run "lib a.obj b.obj ...." to generated dwt2.lib?Building libs and apps is not yet integrated. At the moment i just use it to compile.
Mar 23 2009
鍦 Mon, 23 Mar 2009 17:24:18 +0800锛孎rank Benoit <keinfarbton googlemail.com> 鍐欓亾:yidabu schrieb:(in D:/digitalmars/dsource/dwt2) rake aborted! wrong number of arguments (2 for 1) D:/digitalmars/dsource/dwt2/rakefile:208:in `task' (See full trace by running task with --trace) seems your rake is more advancing?On Sun, 22 Mar 2009 10:38:54 +0100 Frank Benoit <keinfarbton googlemail.com> wrote:The rakefile can now build the snippets on windows. So I think it should be possible to build apps also. I think compile time and exe size went down, but i haven't measured.yidabu schrieb:Is it the time to use dwt2 instead of dwt-win to build app?how to building lib file on Windows? Run Rake, obj fiels generated, Should I to run "lib a.obj b.obj ...." to generated dwt2.lib?Building libs and apps is not yet integrated. At the moment i just use it to compile.
Mar 23 2009
davidl schrieb:(in D:/digitalmars/dsource/dwt2) rake aborted! wrong number of arguments (2 for 1) D:/digitalmars/dsource/dwt2/rakefile:208:in `task' (See full trace by running task with --trace) seems your rake is more advancing?I use rake version 0.8.3, ruby 1.9.1
Mar 23 2009
鍦 Mon, 23 Mar 2009 17:24:18 +0800锛孎rank Benoit <keinfarbton googlemail.com> 鍐欓亾:yidabu schrieb:The clean target is somewhat stupid ;) I need to fake files for it to clean. Also My rakefile need this line: rspfile_abs = File.expand_path( RSPNAME ) Don't know why it's gone. It's cool that the executable size goes down.On Sun, 22 Mar 2009 10:38:54 +0100 Frank Benoit <keinfarbton googlemail.com> wrote:The rakefile can now build the snippets on windows. So I think it should be possible to build apps also. I think compile time and exe size went down, but i haven't measured.yidabu schrieb:Is it the time to use dwt2 instead of dwt-win to build app?how to building lib file on Windows? Run Rake, obj fiels generated, Should I to run "lib a.obj b.obj ...." to generated dwt2.lib?Building libs and apps is not yet integrated. At the moment i just use it to compile.
Mar 23 2009
鍦 Mon, 23 Mar 2009 19:01:56 +0800锛宒avidl <davidl 126.com> 鍐欓亾:鍦 Mon, 23 Mar 2009 17:24:18 +0800锛孎rank Benoit <keinfarbton googlemail.com> 鍐欓亾:ah, sorry, rspfile_abs is required because of my last stupid debugging trace :p Maybe it's better make the rake native executable. That would be better for other to test and have fun, or by specifying the rake version. I'm using the official bundle. shouldn't the rake be the same as yours x_x ? BTW, those snippets work brilliantly. Why does the binary size drop magically?yidabu schrieb:The clean target is somewhat stupid ;) I need to fake files for it to clean. Also My rakefile need this line: rspfile_abs = File.expand_path( RSPNAME ) Don't know why it's gone. It's cool that the executable size goes down.On Sun, 22 Mar 2009 10:38:54 +0100 Frank Benoit <keinfarbton googlemail.com> wrote:The rakefile can now build the snippets on windows. So I think it should be possible to build apps also. I think compile time and exe size went down, but i haven't measured.yidabu schrieb:Is it the time to use dwt2 instead of dwt-win to build app?how to building lib file on Windows? Run Rake, obj fiels generated, Should I to run "lib a.obj b.obj ...." to generated dwt2.lib?Building libs and apps is not yet integrated. At the moment i just use it to compile.
Mar 23 2009
davidl schrieb:ah, sorry, rspfile_abs is required because of my last stupid debugging trace :p Maybe it's better make the rake native executable. That would be better for other to test and have fun, or by specifying the rake version. I'm using the official bundle. shouldn't the rake be the same as yours x_x ?Specifying the version is necessary. It is all still new :) How would you make it native executable?BTW, those snippets work brilliantly. Why does the binary size drop magically?I don't have a clue. Building/linking is still magic for me.
Mar 23 2009
:) same here..BTW, those snippets work brilliantly. Why does the binary size drop magically?I don't have a clue. Building/linking is still magic for me.
Mar 23 2009
鍦 Mon, 23 Mar 2009 19:16:25 +0800锛宒avidl <davidl 126.com> 鍐欓亾:鍦 Mon, 23 Mar 2009 19:01:56 +0800锛宒avidl <davidl 126.com> 鍐欓亾:umm, i used the ruby 1.8.6 one click installer. :D i think that should be the problem. Your one supposed to be 1.9.0?鍦 Mon, 23 Mar 2009 17:24:18 +0800锛孎rank Benoit <keinfarbton googlemail.com> 鍐欓亾:ah, sorry, rspfile_abs is required because of my last stupid debugging trace :p Maybe it's better make the rake native executable. That would be better for other to test and have fun, or by specifying the rake version. I'm using the official bundle. shouldn't the rake be the same as yours x_x ? BTW, those snippets work brilliantly. Why does the binary size drop magically?yidabu schrieb:The clean target is somewhat stupid ;) I need to fake files for it to clean. Also My rakefile need this line: rspfile_abs = File.expand_path( RSPNAME ) Don't know why it's gone. It's cool that the executable size goes down.On Sun, 22 Mar 2009 10:38:54 +0100 Frank Benoit <keinfarbton googlemail.com> wrote:The rakefile can now build the snippets on windows. So I think it should be possible to build apps also. I think compile time and exe size went down, but i haven't measured.yidabu schrieb:Is it the time to use dwt2 instead of dwt-win to build app?how to building lib file on Windows? Run Rake, obj fiels generated, Should I to run "lib a.obj b.obj ...." to generated dwt2.lib?Building libs and apps is not yet integrated. At the moment i just use it to compile.
Mar 23 2009
davidl schrieb:The clean target is somewhat stupid ;) I need to fake files for it to clean.Should be fixed nowAlso My rakefile need this line: rspfile_abs = File.expand_path( RSPNAME ) Don't know why it's gone.Where did you need to add it? I had chaned RSPNAME to contain the abs path already.
Mar 23 2009
On Mon, 23 Mar 2009 10:24:18 +0100 Frank Benoit <keinfarbton googlemail.com> wrote:yidabu schrieb:snitppet147 with dmd 1.037 dwt-win, exe size is 2.47 MB with dmd 1.041 dwt2, exe size is 2.75 MB -- yidabu <yidabu.spam gmail.com> http://www.dsource.org/projects/dwin D 语言-中文(D Chinese): http://www.d-programming-language-china.org/ http://bbs.d-programming-language-china.org/ http://dwin.d-programming-language-china.org/ http://scite4d.d-programming-language-china.org/On Sun, 22 Mar 2009 10:38:54 +0100 Frank Benoit <keinfarbton googlemail.com> wrote:The rakefile can now build the snippets on windows. So I think it should be possible to build apps also. I think compile time and exe size went down, but i haven't measured.yidabu schrieb:Is it the time to use dwt2 instead of dwt-win to build app?how to building lib file on Windows? Run Rake, obj fiels generated, Should I to run "lib a.obj b.obj ...." to generated dwt2.lib?Building libs and apps is not yet integrated. At the moment i just use it to compile.
Mar 23 2009
yidabu schrieb:snitppet147 with dmd 1.037 dwt-win, exe size is 2.47 MB with dmd 1.041 dwt2, exe size is 2.75 MBoh, i thought the old one was bigger.
Mar 23 2009
dmd 2.026 phobos newest ruby one-click :) What am I doing wrong ? C:\_D\Compiler\dwt2>rake (in C:/_D/Compiler/dwt2) Cleaning Building dwt-base Building org.eclipse.swt.win32.win32.x86 C:\_D\Compiler\dwt2\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\internal\ole\w n32\COMTYPES.d(19): Error: org.eclipse.swt.internal.win32.WINTYPES.IID at C:\_D\Compiler\dwt2\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\internal\w n32\WINTYPES.d(190) conflicts with org.eclipse.swt.internal.ole.win32.extras.IID at C:\_D\Compiler\dwt2\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\internal\ole\win32\extras.d(54) C:\_D\Compiler\dwt2\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\internal\ole\win32\OBJIDL.d(125): Error: org.eclipse.swt.internal.ole.win32.extras.IID at C:\_D\Compiler\dwt2\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\internal\ole\win32\extras.d(54) conflicts with org.eclipse.swt.internal.win32.WINTYPES.IID at C:\_D\Compiler\dwt2\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\internal\win32\WINTYPES.d(190) C:\_D\Compiler\dwt2\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\internal\ole\win32\OBJIDL.d(382): Error: org.eclipse.swt.internal.ole.win32.extras.IID at C:\_D\Compiler\dwt2\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\internal\ole\win32\extras.d(54) conflicts with org.eclipse.swt.internal.win32.WINTYPES.IID at C:\_D\Compiler\dwt2\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\internal\win32\WINTYPES.d(190) C:\_D\Compiler\dwt2\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\internal\ole\win32\OBJIDL.d(785): Error: org.eclipse.swt.internal.ole.win32.extras.IID at C:\_D\Compiler\dwt2\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\internal\ole\win32\extras.d(54) conflicts with org.eclipse.swt.internal.win32.WINTYPES.IID at C:\_D\Compiler\dwt2\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\internal\win32\WINTYPES.d(190) C:\_D\Compiler\dwt2\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\internal\ole\win32\ifs.d(65): Error: org.eclipse.swt.internal.win32.WINTYPES.IID at C:\_D\Compiler\dwt2\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\internal\win32\WINTYPES.d(190) conflicts with org.eclipse.swt.internal.ole.win32.extras.IID at C:\_D\Compiler\dwt2\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\internal\ole\win32\extras.d(54) C:\_D\Compiler\dwt2\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\events\SelectionListener.d(19): module Traits cannot read file 'tango\core\Traits.d' rake aborted! compile error C:/_D/Compiler/dwt2/rakefile:138:in `buildTree'
Mar 24 2009
Saaa schrieb:dmd 2.026 phobos newest ruby one-click :) What am I doing wrong ? C:\_D\Compiler\dwt2>rake (in C:/_D/Compiler/dwt2) Cleaning Building dwt-base Building org.eclipse.swt.win32.win32.x86 C:\_D\Compiler\dwt2\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\internal\ole\w n32\COMTYPES.d(19): Error: org.eclipse.swt.internal.win32.WINTYPES.IID at C:\_D\Compiler\dwt2\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\internal\w n32\WINTYPES.d(190) conflicts with org.eclipse.swt.internal.ole.win32.extras.IID at C:\_D\Compiler\dwt2\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\internal\ole\win32\extras.d(54) C:\_D\Compiler\dwt2\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\internal\ole\win32\OBJIDL.d(125): Error: org.eclipse.swt.internal.ole.win32.extras.IID at C:\_D\Compiler\dwt2\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\internal\ole\win32\extras.d(54) conflicts with org.eclipse.swt.internal.win32.WINTYPES.IID at C:\_D\Compiler\dwt2\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\internal\win32\WINTYPES.d(190) C:\_D\Compiler\dwt2\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\internal\ole\win32\OBJIDL.d(382): Error: org.eclipse.swt.internal.ole.win32.extras.IID at C:\_D\Compiler\dwt2\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\internal\ole\win32\extras.d(54) conflicts with org.eclipse.swt.internal.win32.WINTYPES.IID at C:\_D\Compiler\dwt2\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\internal\win32\WINTYPES.d(190) C:\_D\Compiler\dwt2\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\internal\ole\win32\OBJIDL.d(785): Error: org.eclipse.swt.internal.ole.win32.extras.IID at C:\_D\Compiler\dwt2\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\internal\ole\win32\extras.d(54) conflicts with org.eclipse.swt.internal.win32.WINTYPES.IID at C:\_D\Compiler\dwt2\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\internal\win32\WINTYPES.d(190) C:\_D\Compiler\dwt2\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\internal\ole\win32\ifs.d(65): Error: org.eclipse.swt.internal.win32.WINTYPES.IID at C:\_D\Compiler\dwt2\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\internal\win32\WINTYPES.d(190) conflicts with org.eclipse.swt.internal.ole.win32.extras.IID at C:\_D\Compiler\dwt2\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\internal\ole\win32\extras.d(54) C:\_D\Compiler\dwt2\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\events\SelectionListener.d(19): module Traits cannot read file 'tango\core\Traits.d' rake aborted! compile error C:/_D/Compiler/dwt2/rakefile:138:in `buildTree'Meanwhile the org.eclipse.swt.win32.win32.x86 tree builds for D2. But will not be usable until the missing impls are done.
Mar 25 2009
Meanwhile the org.eclipse.swt.win32.win32.x86 tree builds for D2. But will not be usable until the missing impls are done.What does it mean for an implMissing to not be encapsulated within a version check? Didn't the tango version need those implementations?
Mar 25 2009
Saaa schrieb:Yes, also did add those in the beginning of dwt. So if there is no tango implementation, that means, that function was never called before. So it can stay not implemented.Meanwhile the org.eclipse.swt.win32.win32.x86 tree builds for D2. But will not be usable until the missing impls are done.What does it mean for an implMissing to not be encapsulated within a version check? Didn't the tango version need those implementations?
Mar 26 2009
Saaa Wrote:dmd 2.026 phobos newest ruby one-click :) What am I doing wrong ?I started with making it phobos compatible, but it is not yet completed. You are welcome to help (see "DWT2 D2+Phobos help needed").
Mar 24 2009
I started with making it phobos compatible, but it is not yet completed. You are welcome to help (see "DWT2 D2+Phobos help needed").Ok, I thought it would compile but just not work because it would hold loads of dummy code. So the first step now would be to add more dummy code until it compiles?
Mar 24 2009
Saaa schrieb:To fill in the dummy code is a linear task. The compiler guides me from problem to problem. I don't think that can run in parallel. What you can do is, if you want, to fill in the phobos implementations in the base tree. Highest priority are places where a tango impl. exists, but none for phobos.I started with making it phobos compatible, but it is not yet completed. You are welcome to help (see "DWT2 D2+Phobos help needed").Ok, I thought it would compile but just not work because it would hold loads of dummy code. So the first step now would be to add more dummy code until it compiles?
Mar 24 2009
"Frank Benoit" <keinfarbton googlemail.com> wrote in message news:gqbdt5$12rk$1 digitalmars.com...Saaa schrieb:DWT is a PORT of SWT :) Which uses D1 + tango DWT2 will be a port of dwt using D2 + phobos. Does this mean I should use D2 Phobos? Or should it also support D1 Phobos?To fill in the dummy code is a linear task. The compiler guides me from problem to problem. I don't think that can run in parallel. What you can do is, if you want, to fill in the phobos implementations in the base tree. Highest priority are places where a tango impl. exists, but none for phobos.I started with making it phobos compatible, but it is not yet completed. You are welcome to help (see "DWT2 D2+Phobos help needed").Ok, I thought it would compile but just not work because it would hold loads of dummy code. So the first step now would be to add more dummy code until it compiles?
Mar 24 2009
Saaa schrieb:"Frank Benoit" <keinfarbton googlemail.com> wrote in message news:gqbdt5$12rk$1 digitalmars.com...My target is to add D2+Phobos. If there is manpower to make that also work for D1+phobos... well thats fine also. :)Saaa schrieb:DWT is a PORT of SWT :) Which uses D1 + tango DWT2 will be a port of dwt using D2 + phobos. Does this mean I should use D2 Phobos? Or should it also support D1 Phobos?To fill in the dummy code is a linear task. The compiler guides me from problem to problem. I don't think that can run in parallel. What you can do is, if you want, to fill in the phobos implementations in the base tree. Highest priority are places where a tango impl. exists, but none for phobos.I started with making it phobos compatible, but it is not yet completed. You are welcome to help (see "DWT2 D2+Phobos help needed").Ok, I thought it would compile but just not work because it would hold loads of dummy code. So the first step now would be to add more dummy code until it compiles?
Mar 24 2009
So I should look up what the tango function does and try and find something which does the same in Phobos 2. Sound like something I might even manage.. for some functions. But how do I check if it works if I can't build dwt? Just guess?My target is to add D2+Phobos. If there is manpower to make that also work for D1+phobos... well thats fine also. :)
Mar 24 2009
Saaa schrieb:So I should look up what the tango function does and try and find something which does the same in Phobos 2. Sound like something I might even manage.. for some functions. But how do I check if it works if I can't build dwt? Just guess?hm, the base tree can be build on its own. rake base If you want, you can do unittests or contracts (in/out/invariant).
Mar 25 2009
Will the old dwt-win/linux/samples/addons be modified to work with the new Tango release? "Frank Benoit" <keinfarbton googlemail.com> wrote in message news:gq2a5l$2obu$1 digitalmars.com...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 original. DWT.CENTER => SWT.CENTER import dwt.widgets.Button; => import org.eclipse.swt.widgets.Button; This makes future porting of more files and versions much more easier. I started to make dwt2 compilable also for D2+Phobos. Support for D1+Tango will certainly stay. The repositories dwt-win/linux/addons/samples will stay and i will support them with bug fixes for a while. But I plan to do my future work in DWT2. Get it with Mercurial (hg) Version Control software: First get: hg clone http://hg.dsource.org/projects/dwt2 To get later changes from the server hg pull -u To build you need "Rake", that is the Ruby make tool and is part of a standard Ruby installation. Also DMD needs to be in the path environment variable.
Mar 24 2009
sleek schrieb:Will the old dwt-win/linux/samples/addons be modified to work with the new Tango release?yes
Mar 24 2009