digitalmars.D.announce - SWT tioported
- Frank Benoit (keinfarbton) (15/15) Apr 11 2007 TioPort is a Java to D converter.
- Aarti_pl (7/29) Apr 11 2007 Great work - I really appreciate it!
- Aarti_pl (4/26) Apr 11 2007 BTW - please allow access to SVN on Trac Wiki. It is not accessible ATM.
-
torhu
(6/9)
Apr 11 2007
- Frank Benoit (keinfarbton) (12/18) Apr 11 2007 The zip file only contain the raw converted SWT sources. You cannot
- bobef (1/1) Apr 11 2007 Could you please release the precompiled libraries with .di import files...
- Frank Benoit (keinfarbton) (4/4) Apr 12 2007 Yes, that would be good.
- Frank Benoit (keinfarbton) (6/8) Apr 12 2007 In the svn repository, there is now a deploy directory.
- Marcio (5/10) Apr 11 2007 Why not use Harmony?
- Lars Ivar Igesund (9/29) Apr 12 2007 Because at some level, you need to implement system functionality, and t...
- Frank Benoit (keinfarbton) (8/8) Apr 12 2007 SWT uses only a very limited subset of the JRE.
- Ary Manzana (2/24) Apr 11 2007 That is really awsome!!
- bobef (1/1) Apr 11 2007 Beautiful! I have two DWT projects to test tioport immediately (rulesPla...
- Clay Smith (4/26) Apr 12 2007 This is quite amazing... are you telling me that Windows, Linux, and Mac...
- Frank Benoit (keinfarbton) (2/2) Apr 15 2007 The repository has now a "deploy" directory with contains a precompiled
- Serg Kovrov (4/6) Apr 15 2007 Great, thanks!
- Davidl (5/5) Apr 16 2007 i don't get why have this error message
- Frank Benoit (keinfarbton) (6/13) Apr 16 2007 are you using the checkout and the paint_win32_rebuild.rf ?
- Davidl (9/22) Apr 16 2007 :o thx , rebuild -rfpaint_win32_rebuild.rf compiles,
- Frank Benoit (keinfarbton) (5/5) Apr 16 2007 ah right, i copied the libs in my windows directory.
- Davidl (3/8) Apr 16 2007 oh sorry, i don't know if ur lib is compiled with -g option?
- Frank Benoit (keinfarbton) (5/5) Apr 16 2007 today doob and I had a longer session, trying to get the examples
- Frank Benoit (keinfarbton) (5/5) Apr 18 2007 The actual repository can build the precompiled libs and examples with
TioPort is a Java to D converter. www.dsource.org/projects/tioport The main reason for starting this project was, to create a SWT port for Linux, Windows and Mac OSX. The convertion is going fully automatically, so it should be possible to update to upcoming SWT releases. You can download the current snapshot of the converted SWT: http://dsource.org/projects/tioport/browser/downloads/swt-3.2.1-linux-gtk.tar.bz2?format=raw http://dsource.org/projects/tioport/browser/downloads/swt-3.2.1-win32.zip?format=raw The SWT examples: see the repository in trunk/ports/swt-3.2.1/swt-3.2.1-examples Screenshots of the examples: http://dsource.org/projects/tioport/wiki/port_swt I hope all permissions on the website are set up correctly. If you have problems seeing certain pages, please tell me. Frank
Apr 11 2007
Frank Benoit (keinfarbton) napisał(a):TioPort is a Java to D converter. www.dsource.org/projects/tioport The main reason for starting this project was, to create a SWT port for Linux, Windows and Mac OSX. The convertion is going fully automatically, so it should be possible to update to upcoming SWT releases. You can download the current snapshot of the converted SWT: http://dsource.org/projects/tioport/browser/downloads/swt-3.2.1-linux-gtk.tar.bz2?format=raw http://dsource.org/projects/tioport/browser/downloads/swt-3.2.1-win32.zip?format=raw The SWT examples: see the repository in trunk/ports/swt-3.2.1/swt-3.2.1-examples Screenshots of the examples: http://dsource.org/projects/tioport/wiki/port_swt I hope all permissions on the website are set up correctly. If you have problems seeing certain pages, please tell me. FrankGreat work - I really appreciate it! I was looking for good, cross-platform GUI toolkit for D for quite a long time. And additionally Java to D converter! Really great! Regards Marcin Kuszczak
Apr 11 2007
Frank Benoit (keinfarbton) napisał(a):TioPort is a Java to D converter. www.dsource.org/projects/tioport The main reason for starting this project was, to create a SWT port for Linux, Windows and Mac OSX. The convertion is going fully automatically, so it should be possible to update to upcoming SWT releases. You can download the current snapshot of the converted SWT: http://dsource.org/projects/tioport/browser/downloads/swt-3.2.1-linux-gtk.tar.bz2?format=raw http://dsource.org/projects/tioport/browser/downloads/swt-3.2.1-win32.zip?format=raw The SWT examples: see the repository in trunk/ports/swt-3.2.1/swt-3.2.1-examples Screenshots of the examples: http://dsource.org/projects/tioport/wiki/port_swt I hope all permissions on the website are set up correctly. If you have problems seeing certain pages, please tell me. FrankBTW - please allow access to SVN on Trac Wiki. It is not accessible ATM. BR Marcin Kuszczak
Apr 11 2007
Frank Benoit (keinfarbton) wrote:TioPort is a Java to D converter. www.dsource.org/projects/tioport<snip> I couldn't find any build instructions. What would the command line be for building the paint example with bud? I fixed a couple of missing imports, but I wasn't able to get rid of all the missing symbols when linking. Sorry I didn't keep the error messages.
Apr 11 2007
I couldn't find any build instructions. What would the command line be for building the paint example with bud? I fixed a couple of missing imports, but I wasn't able to get rid of all the missing symbols when linking. Sorry I didn't keep the error messages.The zip file only contain the raw converted SWT sources. You cannot build any example with them. 1. Make a checkout "svn co http://svn.dsource.org/projects/tioport/trunk tioport" 2. Go to the example dir ports/swt-3.2.1/swt-3.2.1-examples 3. You need rebuild installed. 4. Call the Build file: For linux there is a Makefile.linux make -f Makefile.linux paint For windows there is there is a paint_win32_build.bat file. paint_win32_build.bat
Apr 11 2007
Could you please release the precompiled libraries with .di import files instead of full sources and the libraries linked with dejavu/tango. This would make more sense to release precompiled libraries and they will not depend on tango which (in my case) is impossible to compile (tried dmd 1.010/011).
Apr 11 2007
Yes, that would be good. Well i am a linux dmd user. :) That means, i cannot build libs. Especially not for windows. Perhaps somebody can contribute a makefile/buildfile and compiled libs?
Apr 12 2007
bobef schrieb:Could you please release the precompiled libraries with .di import files instead of full sources and the libraries linked with dejavu/tango. This would make more sense to release precompiled libraries and they will not depend on tango which (in my case) is impossible to compile (tried dmd 1.010/011).In the svn repository, there is now a deploy directory. For linux it contains now a precompiled lib and all headers. This decreases compile time from ~30 sec to ~5 sec on my machine. For windows i hope for someone to take the Ticket 15, creating such a lib for windows.
Apr 12 2007
Frank Benoit (keinfarbton) wrote:TioPort is a Java to D converter.About dejavu http://www.dsource.org/projects/tioport/wiki/dejavuWhy not using a port of the java original including the implementations? Copyright Why not using the GNU classpath? GPLWhy not use Harmony? http://harmony.apache.org/ marcio
Apr 11 2007
Marcio wrote:Frank Benoit (keinfarbton) wrote:Because at some level, you need to implement system functionality, and to some degree, the JRE is atomic operations of Java. I agree with Frank that this is the sensible level to do the necessary D implementation. -- Lars Ivar Igesund blog at http://larsivi.net DSource, #d.tango & #D: larsivi Dancing the TangoTioPort is a Java to D converter.About dejavu http://www.dsource.org/projects/tioport/wiki/dejavu >Why not using a port of the java original including the implementations? > >Copyright > >Why not using the GNU classpath? > >GPL Why not use Harmony? http://harmony.apache.org/ marcio
Apr 12 2007
SWT uses only a very limited subset of the JRE. So it was not so hard to do an own implementation without the worry or licenses. While thinking about porting other apps, it looks like, this is a much more difficult task. Hopefully Sun will release the JRE in the OpenJDK project in the next few months. Then it is GPL and i am thinking about porting it then. In the meantime I want to use own implementations.
Apr 12 2007
Frank Benoit (keinfarbton) escribió:TioPort is a Java to D converter. www.dsource.org/projects/tioport The main reason for starting this project was, to create a SWT port for Linux, Windows and Mac OSX. The convertion is going fully automatically, so it should be possible to update to upcoming SWT releases. You can download the current snapshot of the converted SWT: http://dsource.org/projects/tioport/browser/downloads/swt-3.2.1-linux-gtk.tar.bz2?format=raw http://dsource.org/projects/tioport/browser/downloads/swt-3.2.1-win32.zip?format=raw The SWT examples: see the repository in trunk/ports/swt-3.2.1/swt-3.2.1-examples Screenshots of the examples: http://dsource.org/projects/tioport/wiki/port_swt I hope all permissions on the website are set up correctly. If you have problems seeing certain pages, please tell me. FrankThat is really awsome!!
Apr 11 2007
Beautiful! I have two DWT projects to test tioport immediately (rulesPlayer and ddbg front end to be announced soon) and I will give you report how it works.
Apr 11 2007
Frank Benoit (keinfarbton) wrote:TioPort is a Java to D converter. www.dsource.org/projects/tioport The main reason for starting this project was, to create a SWT port for Linux, Windows and Mac OSX. The convertion is going fully automatically, so it should be possible to update to upcoming SWT releases. You can download the current snapshot of the converted SWT: http://dsource.org/projects/tioport/browser/downloads/swt-3.2.1-linux-gtk.tar.bz2?format=raw http://dsource.org/projects/tioport/browser/downloads/swt-3.2.1-win32.zip?format=raw The SWT examples: see the repository in trunk/ports/swt-3.2.1/swt-3.2.1-examples Screenshots of the examples: http://dsource.org/projects/tioport/wiki/port_swt I hope all permissions on the website are set up correctly. If you have problems seeing certain pages, please tell me. FrankThis is quite amazing... are you telling me that Windows, Linux, and Mac OSX ports of DWT are done, and done automatically? You should probably post this in the d.D.dwt newsgroup as well.
Apr 12 2007
The repository has now a "deploy" directory with contains a precompiled lib and headers for linux and win32.
Apr 15 2007
Frank Benoit (keinfarbton) wrote:The repository has now a "deploy" directory with contains a precompiled lib and headers for linux and win32.Great, thanks! -- serg.
Apr 15 2007
i don't get why have this error message dejavu-lang-class.obj does contain string of _resources_getDataById .\dejavu-lang-Class.obj(dejavu-lang-Class) Error 42: Symbol Undefined _resources_getDataById --- errorlevel 1
Apr 16 2007
Davidl schrieb:i don't get why have this error message dejavu-lang-class.obj does contain string of _resources_getDataById ..\dejavu-lang-Class.obj(dejavu-lang-Class) Error 42: Symbol Undefined _resources_getDataById --- errorlevel 1are you using the checkout and the paint_win32_rebuild.rf ? The resources_getDataById function is a function from a generated file, e.g. resources_paint.d. It is necessary to give it explicitly to the compiler/linker. The .rf file above does already include it, so it should work.
Apr 16 2007
:o thx , rebuild -rfpaint_win32_rebuild.rf compiles, but it fails to run correctly paint.exe emits me : exception Access Violation, , 0, object.Exception it's placed in the right directory with those dlls : swt-awt-win32-3235.dll swt-gdip-win32-3235.dll swt-wgl-win32-3235.dll swt-win32-3235.dllDavidl schrieb:i don't get why have this error message dejavu-lang-class.obj does contain string of _resources_getDataById ..\dejavu-lang-Class.obj(dejavu-lang-Class) Error 42: Symbol Undefined _resources_getDataById --- errorlevel 1are you using the checkout and the paint_win32_rebuild.rf ? The resources_getDataById function is a function from a generated file, e.g. resources_paint.d. It is necessary to give it explicitly to the compiler/linker. The .rf file above does already include it, so it should work.
Apr 16 2007
ah right, i copied the libs in my windows directory. now this access violation is really bad, because if have no glue of windows debugging. This application always run for me without that. Can you try to locate the problem with a debugger?
Apr 16 2007
oh sorry, i don't know if ur lib is compiled with -g option? if not, i think it's hard to be debug, since i didn't manage to compile paint.d with deploy/gen.d/ah right, i copied the libs in my windows directory. now this access violation is really bad, because if have no glue of windows debugging. This application always run for me without that. Can you try to locate the problem with a debugger?
Apr 16 2007
today doob and I had a longer session, trying to get the examples running on his windows box. He also got the access violation. It turns out, the lib i compiled needs to match exactly the tango version. After he build the tioport-swt-3.2.1-win32.lib on his own machine, it worked.
Apr 16 2007
The actual repository can build the precompiled libs and examples with DSSS 0.61 See the README in /trunk For windows it is necessary to either grab the rebuild.exe from the dsss-svn/trunk/rebuild/rebuild.exe, or wait for the next DSSS release.
Apr 18 2007