|
Archives
D Programming
digitalmars.Ddigitalmars.D.bugs digitalmars.D.dtl digitalmars.D.ide digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger D.gnu D C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript electronics |
digitalmars.D.dwt - The new DWT2
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? 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; 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; Mar 21 2009
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 original. DWT.CENTER => SWT.CENTER import dwt.widgets.Button; => import org.eclipse.swt.widgets.Button; Mar 21 2009
torhu wrote:On 21.03.2009 14:08, Christopher Wright wrote:Frank Benoit wrote: Mar 21 2009
Christopher Wright schrieb:It's well motivated from a development standpoint. I don't see what it contributes, otherwise. 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. 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 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? Mar 22 2009
yidabu schrieb:On Sun, 22 Mar 2009 10:38:54 +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? 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? Mar 23 2009
davidl schrieb:The clean target is somewhat stupid ;) I need to fake files for it to clean. 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 ? Mar 23 2009
BTW, those snippets work brilliantly. Why does the binary size drop magically? 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 MB Mar 23 2009
On Sun, 22 Mar 2009 03:32:36 +0100 Frank Benoit <keinfarbton googlemail.com> wrote: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 Mar 21 2009
On Sun, 22 Mar 2009 10:38:54 +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? Mar 22 2009
On Sun, 22 Mar 2009 10:38:54 +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? Mar 22 2009
鍦 Mon, 23 Mar 2009 17:24:18 +0800锛孎rank Benoit <keinfarbton googlemail.com> 鍐欓亾:yidabu schrieb:On Sun, 22 Mar 2009 10:38:54 +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? Mar 23 2009
鍦 Mon, 23 Mar 2009 17:24:18 +0800锛孎rank Benoit <keinfarbton googlemail.com> 鍐欓亾:yidabu schrieb:On Sun, 22 Mar 2009 10:38:54 +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? 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> 鍐欓亾:yidabu schrieb:On Sun, 22 Mar 2009 10:38:54 +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? 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> 鍐欓亾:鍦 Mon, 23 Mar 2009 17:24:18 +0800锛孎rank Benoit <keinfarbton googlemail.com> 鍐欓亾:yidabu schrieb:On Sun, 22 Mar 2009 10:38:54 +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? Mar 23 2009
On Mon, 23 Mar 2009 10:24:18 +0100 Frank Benoit <keinfarbton googlemail.com> wrote:yidabu schrieb:On Sun, 22 Mar 2009 10:38:54 +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? 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' 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. Mar 25 2009
Saaa schrieb:Meanwhile the org.eclipse.swt.win32.win32.x86 tree builds for D2. But will not be usable until the missing impls are done. Mar 26 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? Mar 24 2009
|