digitalmars.D.announce - The Cross Plattform DWT
- Frank Benoit (19/19) Jan 19 2008 Dear D community
- Marcin Kuszczak (16/42) Jan 19 2008 Wow! I am pretty impressed!
- torhu (5/12) Jan 19 2008 Well, let's hope tangobos can do the trick, with the help of some
- John Reimer (18/35) Jan 19 2008 The original dwt was based on swt 3.02 (and win32 only). The new versio...
- Eric Suen (8/27) Jan 19 2008 Hi,
- John Reimer (8/20) Jan 20 2008 Nice! You'll be using the windows port, then. Hopefully you will need ...
- Bjoern (7/15) Jan 20 2008 Just one word : Incredible.
- Bill Baxter (6/25) Jan 20 2008 What's the story with DWT-Win? Is it just in planning at this stage?
- John Reimer (11/40) Jan 20 2008 Yes, the win port has just started; I have not yet committed any ported
- Frank Benoit (8/10) Jan 20 2008 Sure, that would be great.
- doob (3/16) Jan 20 2008 This is great news and I would be happy to help. I can help testing both...
- Frank Benoit (6/8) Jan 20 2008 No plans for OSX for now. Doing this means to do the whole port again,
- doob (3/13) Jan 21 2008 I thought it was quite a big different between win and gtk and that it
- =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= (18/33) Feb 21 2008 One of the problems when doing native Mac OS X support for the
- John Reimer (3/33) Feb 21 2008 The SWT team needed Apple consent to use the C system headers? :(
- =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= (23/24) Feb 21 2008 No, but to reproduce the Carbon API (although in a Java form)
- Jacob Carlborg (3/44) Feb 21 2008 There's a project that is an objective-c bridge to d, I don't know how
- John Reimer (7/24) Jan 20 2008 Yes, any help would be greatly appreciated. Testing, of course, is good...
- doob (7/33) Jan 21 2008 Unfortunately I don't have any expertise. I think the snippets should be...
- Frank Benoit (3/5) Jan 21 2008 That would really cool.
- John Reimer (2/21) Jan 21 2008 JFace is something we've had our eye on; so, yes, that would be great! :...
- doob (7/32) Jan 21 2008 Then I try with JFace first, would be quite a lot to learn if I tried to...
- Frank Benoit (26/30) Jan 21 2008 I prepared the original SWT source like this
- Eric Suen (3/19) Jan 20 2008 For OSX, Maybe should waiting for SWT 3.4, because SWT 3.3
- John Reimer (4/7) Jan 20 2008 That probably is a good idea. Updating 3.3 to 3.4 for the other ports
- doob (2/23) Jan 21 2008 Yes that would probably be good, I remembered that after I wrote the pos...
- John Reimer (14/24) Jan 20 2008 About SWT snippets... I didn't know they existed. :) They look like a
- torhu (4/9) Jan 20 2008 A while ago, someone mentioned that he might get his company to port SWT...
- Frank Benoit (4/7) Jan 20 2008 I wrote an email to robby, and also asked in his ng thread ("A couple of...
- John Reimer (5/31) Jan 20 2008 Also, for those that haven't checked the link, IRC chat on freenode is
- Robert Fraser (3/29) Jan 20 2008 Awesome. Now time to get porting the rest of Eclipse over for a pure-D
- Ary Borenszweig (2/4) Jan 20 2008 Heh. Same thought here, although without runtime reflection, hmm...
- Robert Fraser (5/10) Jan 21 2008 I was kidding mostly. According to Ohloh, Eclipse is ~10 million LOC and...
- Ary Borenszweig (4/15) Jan 21 2008 Yeah, I know... And I'm sure it won't make any big difference with the
- BCS (3/27) Jan 22 2008 I can't seem to check it out.
- Frank Benoit (2/4) Jan 22 2008 yes, you missed the hg (mercurial) part :)
- John Reimer (19/24) Jan 22 2008 Well, first, you need mercurial (hg) to check out the repository.
- BCS (9/31) Jan 22 2008 Ideally, I should be able to tell from the front page or one "oh-duh" cl...
- John Reimer (9/46) Jan 22 2008 At this point, since there is nothing working to "get", I don't think
- John Reimer (5/14) Jan 22 2008 Let me just clarify here... I'm referring to the dwt-win project (since
- BCS (2/17) Jan 22 2008 is there a linux tar-ball?
- John Reimer (2/23) Jan 22 2008 No, not yet. :)
- John Reimer (2/11) Jan 26 2008 I've updated the dwt-win front page.
Dear D community We are happy to announce the new dsource projects - DWT-Win http://www.dsource.org/projects/dwt-win - DWT-Linux http://www.dsource.org/projects/dwt-linux Both projects will be a manual port of the SWT 3.3 with tango compatibility. Status DWT-Linux: Completed: dnd, custom, widgets, events, graphics, accessibitly, printing, layout Missing: browser, program First helloworld example running Size with debug info/strip/upx: 4,8 MB/1,8 MB/0,5 MB Help is welcome: All ported code is pretty untested. Examples are needed. The official SWT examples should be ported to show the functionality of the widgets. They can serve as a test and also as programming examples. Frank
Jan 19 2008
Frank Benoit wrote:Dear D community We are happy to announce the new dsource projects - DWT-Win http://www.dsource.org/projects/dwt-win - DWT-Linux http://www.dsource.org/projects/dwt-linux Both projects will be a manual port of the SWT 3.3 with tango compatibility. Status DWT-Linux: Completed: dnd, custom, widgets, events, graphics, accessibitly, printing, layout Missing: browser, program First helloworld example running Size with debug info/strip/upx: 4,8 MB/1,8 MB/0,5 MB Help is welcome: All ported code is pretty untested. Examples are needed. The official SWT examples should be ported to show the functionality of the widgets. They can serve as a test and also as programming examples. FrankWow! I am pretty impressed! I was waiting for quite a long time for a good GUI toolkit for D: my requirements were: a. cross platform b. native look and feel c. native D implementation and now I hope that this time the dream will come true... :-) Keep up the good work! -- Regards Marcin Kuszczak (Aarti_pl) ------------------------------------- Ask me why I believe in Jesus - http://www.zapytajmnie.com (en/pl) Doost (port of few Boost libraries) - http://www.dsource.org/projects/doost/ -------------------------------------
Jan 19 2008
Frank Benoit wrote:Dear D community We are happy to announce the new dsource projects - DWT-Win http://www.dsource.org/projects/dwt-win - DWT-Linux http://www.dsource.org/projects/dwt-linuxGreat, I've been waiting for this!Both projects will be a manual port of the SWT 3.3 with tango compatibility.Well, let's hope tangobos can do the trick, with the help of some version (Tango) statements. Do you know anything about compatibility with the original DWT?
Jan 19 2008
torhu wrote:Frank Benoit wrote:This might be possible, but we haven't got that far yet. :)Dear D community We are happy to announce the new dsource projects - DWT-Win http://www.dsource.org/projects/dwt-win - DWT-Linux http://www.dsource.org/projects/dwt-linuxGreat, I've been waiting for this!Both projects will be a manual port of the SWT 3.3 with tango compatibility.Well, let's hope tangobos can do the trick, with the help of some version (Tango) statements.Do you know anything about compatibility with the original DWT?The original dwt was based on swt 3.02 (and win32 only). The new versions for linux and win32 are being ported from swt 3.3. So, as far as compatibility is concerned, these should be as compatible as the 3.02 and 3.3 versions of swt will be. Strings in original dwt were char[] instead of Java "String"... this is the same in the new dwt ports. Furthermore, we are adding the option of a dynamic loader system similar to Gtkd. This may simplify some things... but for now it will be optional. In summary, as far as I can tell, they old and new should look and feel much the same, but I guess proof of this will only be evident when dwt based software is rebuilt with new the dwt. I particularly look forward to seeing poseidon ported to both dwt-win and dwt-linux. Perhaps that will be the ultimate test. :) Incidentally, the win32 port of dwt to 3.3 has just begun... the dwt-linux port is much further along. -JJR
Jan 19 2008
Hi, One if my application is base on DWT, I will try to using your version if I got time. this is DWT version: http://www.agpad.com/ and this is Java one: http://www.spket.com/ Regards Eric "Frank Benoit" <keinfarbton googlemail.com>Dear D community We are happy to announce the new dsource projects - DWT-Win http://www.dsource.org/projects/dwt-win - DWT-Linux http://www.dsource.org/projects/dwt-linux Both projects will be a manual port of the SWT 3.3 with tango compatibility. Status DWT-Linux: Completed: dnd, custom, widgets, events, graphics, accessibitly, printing, layout Missing: browser, program First helloworld example running Size with debug info/strip/upx: 4,8 MB/1,8 MB/0,5 MB Help is welcome: All ported code is pretty untested. Examples are needed. The official SWT examples should be ported to show the functionality of the widgets. They can serve as a test and also as programming examples. Frank
Jan 19 2008
Eric Suen wrote:Hi, One if my application is base on DWT, I will try to using your version if I got time. this is DWT version: http://www.agpad.com/ and this is Java one: http://www.spket.com/ Regards EricNice! You'll be using the windows port, then. Hopefully you will need very few changes to get it working. As mentioned earlier, one thing that might be a problem is the use of Tango (the previous version of dwt used Phobos), but perhaps we can work on a solution that makes this easier on you. Maybe Tangobos might have some application here. -JJR
Jan 20 2008
Frank Benoit schrieb:Dear D community We are happy to announce the new dsource projects - DWT-Win http://www.dsource.org/projects/dwt-win - DWT-Linux http://www.dsource.org/projects/dwt-linux The official SWT examples should be ported to show the functionality of the widgets. FrankJust one word : Incredible. Thanks ! Does it make sense, to port the SWT snippets ? this ones : http://www.eclipse.org/swt/snippets/ I like to suggest to support /groups/ like dwt.group.layout (Tango like) Bjoern
Jan 20 2008
Bjoern wrote:Frank Benoit schrieb:What's the story with DWT-Win? Is it just in planning at this stage? There's not much on the web dsource page. Also why two projects? Won't they share most of the same source code? Just curious. --bbDear D community We are happy to announce the new dsource projects - DWT-Win http://www.dsource.org/projects/dwt-win - DWT-Linux http://www.dsource.org/projects/dwt-linux The official SWT examples should be ported to show the functionality of the widgets. FrankJust one word : Incredible. Thanks ! Does it make sense, to port the SWT snippets ? this ones : http://www.eclipse.org/swt/snippets/ I like to suggest to support /groups/ like dwt.group.layout (Tango like) Bjoern
Jan 20 2008
Bill Baxter wrote:Bjoern wrote:Yes, the win port has just started; I have not yet committed any ported source... No they don't share much source code (other than perhaps a few highlevel sections). The implementation of widgets on linux uses gtk+/cairo, while the implementation on win32 graphics/system calls. It's quite a bit of work. It would be a mess to integrate both projects into one (using version statements). If anyone is interested in helping please let Frank or me know. DWT-win was announced at the same time so that people understood our intent to support both. We actually both started work on the Linux port first. -JJRFrank Benoit schrieb:What's the story with DWT-Win? Is it just in planning at this stage? There's not much on the web dsource page. Also why two projects? Won't they share most of the same source code? Just curious. --bbDear D community We are happy to announce the new dsource projects - DWT-Win http://www.dsource.org/projects/dwt-win - DWT-Linux http://www.dsource.org/projects/dwt-linux The official SWT examples should be ported to show the functionality of the widgets. FrankJust one word : Incredible. Thanks ! Does it make sense, to port the SWT snippets ? this ones : http://www.eclipse.org/swt/snippets/ I like to suggest to support /groups/ like dwt.group.layout (Tango like) Bjoern
Jan 20 2008
Bjoern schrieb:Does it make sense, to port the SWT snippets ? this ones : http://www.eclipse.org/swt/snippets/Sure, that would be great. I you want to start, please talk to me first. So I can prepare the sources in the same way, i did it on the rest. As said in the dwt-linux homepage, in the moment i am working on the examples. this ones: http://www.eclipse.org/swt/examples.php Frank
Jan 20 2008
Frank Benoit wrote:Bjoern schrieb:This is great news and I would be happy to help. I can help testing both the linux and windows version. Any plans on an osx version?Does it make sense, to port the SWT snippets ? this ones : http://www.eclipse.org/swt/snippets/Sure, that would be great. I you want to start, please talk to me first. So I can prepare the sources in the same way, i did it on the rest. As said in the dwt-linux homepage, in the moment i am working on the examples. this ones: http://www.eclipse.org/swt/examples.php Frank
Jan 20 2008
doob schrieb:This is great news and I would be happy to help. I can help testing both the linux and windows version. Any plans on an osx version?No plans for OSX for now. Doing this means to do the whole port again, because OSX will use the native widget from OSX and so its implementation is very different from the gtk/win. But, if you want to start this, you are welcome. I can assist with some swt specific knowledge and experience how to do the porting efficient.
Jan 20 2008
Frank Benoit wrote:doob schrieb:I thought it was quite a big different between win and gtk and that it also would about be that to osx.This is great news and I would be happy to help. I can help testing both the linux and windows version. Any plans on an osx version?No plans for OSX for now. Doing this means to do the whole port again, because OSX will use the native widget from OSX and so its implementation is very different from the gtk/win. But, if you want to start this, you are welcome. I can assist with some swt specific knowledge and experience how to do the porting efficient.
Jan 21 2008
doob wrote:Frank Benoit wrote:One of the problems when doing native Mac OS X support for the other two SWT ports (DWT/3.0 and Tioport/3.2) was interfacing with the system headers for either of Carbon or Cocoa frameworks. First was converting the headers to D (either all of it, or just "extern" the snippets needed) and second was shipping this API conversion in some format that doesn't violate Apple copyrights. For SWT this is solved by a) using C so they can link directly to the system headers by #include and b) getting Apple consent. DWT would probably also have to solve both issues for Mac OS X ? wxD works around this problem by using C++ to access the system headers, and by not needing to ship any GUI system API interfaces. And besides, it just uses the wxWidgets libraries to handle that... --anders PS. Same goes for the Code::Blocks support, which also uses C++. (i.e. instead of porting C::B over to D, it just extends it using C++ and the Squirrel scripting language for D support) Like http://wxd.sourceforge.net/wxd-codeblocks-wizard.pngdoob schrieb:I thought it was quite a big different between win and gtk and that it also would about be that to osx.This is great news and I would be happy to help. I can help testing both the linux and windows version. Any plans on an osx version?No plans for OSX for now. Doing this means to do the whole port again, because OSX will use the native widget from OSX and so its implementation is very different from the gtk/win. But, if you want to start this, you are welcome. I can assist with some swt specific knowledge and experience how to do the porting efficient.
Feb 21 2008
Anders F Björklund wrote:doob wrote:The SWT team needed Apple consent to use the C system headers? :( -JJRFrank Benoit wrote:One of the problems when doing native Mac OS X support for the other two SWT ports (DWT/3.0 and Tioport/3.2) was interfacing with the system headers for either of Carbon or Cocoa frameworks. First was converting the headers to D (either all of it, or just "extern" the snippets needed) and second was shipping this API conversion in some format that doesn't violate Apple copyrights. For SWT this is solved by a) using C so they can link directly to the system headers by #include and b) getting Apple consent. DWT would probably also have to solve both issues for Mac OS X ?doob schrieb:I thought it was quite a big different between win and gtk and that it also would about be that to osx.This is great news and I would be happy to help. I can help testing both the linux and windows version. Any plans on an osx version?No plans for OSX for now. Doing this means to do the whole port again, because OSX will use the native widget from OSX and so its implementation is very different from the gtk/win. But, if you want to start this, you are welcome. I can assist with some swt specific knowledge and experience how to do the porting efficient.
Feb 21 2008
John Reimer wrote:The SWT team needed Apple consent to use the C system headers? :(No, but to reproduce the Carbon API (although in a Java form) " Copyright © 2004 Apple Computer, Inc. This text and the following notice must be retained and reproduced in their entirety with all redistributions of this project: IMPORTANT NOTICE: This project, which consists of certain Java bindings, includes or otherwise makes references to application programming interfaces (APIs) that are owned by Apple Computer, Inc., including but not limited to certain Apple Carbon APIs. While you may use, copy, modify and redistribute this Java bindings project in accordance with the terms of the Eclipse Public License (EPL) version 1.0, you are not granted any rights under any Apple or third party intellectual property rights (including without limitation, patent, copyright, trademark and trade secret rights) to Apple's Carbon API header files themselves, nor to any underlying implementations of any Apple Carbon APIs or to any functionality that is invoked by calling any of those APIs. Without limiting the generality of the foregoing, you understand that it is not Apple's intention by way of this project to authorize the reverse engineering of the Java bindings into Apple's original Carbon.h header files." I think you would need a similar note before shipping the Carbon API headers converted from C to D, for instance ? --anders
Feb 21 2008
Anders F Björklund wrote:doob wrote:There's a project that is an objective-c bridge to d, I don't know how well it works. http://michelf.com/projects/d-objc-bridge/Frank Benoit wrote:One of the problems when doing native Mac OS X support for the other two SWT ports (DWT/3.0 and Tioport/3.2) was interfacing with the system headers for either of Carbon or Cocoa frameworks. First was converting the headers to D (either all of it, or just "extern" the snippets needed) and second was shipping this API conversion in some format that doesn't violate Apple copyrights. For SWT this is solved by a) using C so they can link directly to the system headers by #include and b) getting Apple consent. DWT would probably also have to solve both issues for Mac OS X ? wxD works around this problem by using C++ to access the system headers, and by not needing to ship any GUI system API interfaces. And besides, it just uses the wxWidgets libraries to handle that... --anders PS. Same goes for the Code::Blocks support, which also uses C++. (i.e. instead of porting C::B over to D, it just extends it using C++ and the Squirrel scripting language for D support) Like http://wxd.sourceforge.net/wxd-codeblocks-wizard.pngdoob schrieb:I thought it was quite a big different between win and gtk and that it also would about be that to osx.This is great news and I would be happy to help. I can help testing both the linux and windows version. Any plans on an osx version?No plans for OSX for now. Doing this means to do the whole port again, because OSX will use the native widget from OSX and so its implementation is very different from the gtk/win. But, if you want to start this, you are welcome. I can assist with some swt specific knowledge and experience how to do the porting efficient.
Feb 21 2008
doob wrote:Frank Benoit wrote:Yes, any help would be greatly appreciated. Testing, of course, is good... but if you have any expertise (especially on win32)... please let us know. OS X would be great! But it's way more than we can tackle at this point. But, if you (or somebody else) is interested in doing such a port, then Frank should be able to get you started. :) -JJRBjoern schrieb:This is great news and I would be happy to help. I can help testing both the linux and windows version. Any plans on an osx version?Does it make sense, to port the SWT snippets ? this ones : http://www.eclipse.org/swt/snippets/Sure, that would be great. I you want to start, please talk to me first. So I can prepare the sources in the same way, i did it on the rest. As said in the dwt-linux homepage, in the moment i am working on the examples. this ones: http://www.eclipse.org/swt/examples.php Frank
Jan 20 2008
John Reimer wrote:doob wrote:Unfortunately I don't have any expertise. I think the snippets should be quite easy to port. I haven't looked at source code for the examples so I don't know about theme. As mentioned we should probably wait for the SWT Cocoa to be finished before we start to port the osx version. I almost forgot JFace, may I can try to port that. What I know it's only Java and that should be easier, at lease for me.Frank Benoit wrote:Yes, any help would be greatly appreciated. Testing, of course, is good... but if you have any expertise (especially on win32)... please let us know. OS X would be great! But it's way more than we can tackle at this point. But, if you (or somebody else) is interested in doing such a port, then Frank should be able to get you started. :) -JJRBjoern schrieb:This is great news and I would be happy to help. I can help testing both the linux and windows version. Any plans on an osx version?Does it make sense, to port the SWT snippets ? this ones : http://www.eclipse.org/swt/snippets/Sure, that would be great. I you want to start, please talk to me first. So I can prepare the sources in the same way, i did it on the rest. As said in the dwt-linux homepage, in the moment i am working on the examples. this ones: http://www.eclipse.org/swt/examples.php Frank
Jan 21 2008
doob schrieb:I almost forgot JFace, may I can try to port that. What I know it's only Java and that should be easier, at lease for me.That would really cool. I am very interested in this.
Jan 21 2008
doob wrote:JFace is something we've had our eye on; so, yes, that would be great! :)Yes, any help would be greatly appreciated. Testing, of course, is good... but if you have any expertise (especially on win32)... please let us know. OS X would be great! But it's way more than we can tackle at this point. But, if you (or somebody else) is interested in doing such a port, then Frank should be able to get you started. :) -JJRUnfortunately I don't have any expertise. I think the snippets should be quite easy to port. I haven't looked at source code for the examples so I don't know about theme. As mentioned we should probably wait for the SWT Cocoa to be finished before we start to port the osx version. I almost forgot JFace, may I can try to port that. What I know it's only Java and that should be easier, at lease for me.
Jan 21 2008
John Reimer wrote:doob wrote:Then I try with JFace first, would be quite a lot to learn if I tried to port the osx version. I haven't looked at your source code yet so what is it to think about when I do the port, how should I port the data types. I read that you use char[] instead of String, what about boolean? The previous DWT used boolean as an alias to int, is there anything else?JFace is something we've had our eye on; so, yes, that would be great! :)Yes, any help would be greatly appreciated. Testing, of course, is good... but if you have any expertise (especially on win32)... please let us know. OS X would be great! But it's way more than we can tackle at this point. But, if you (or somebody else) is interested in doing such a port, then Frank should be able to get you started. :) -JJRUnfortunately I don't have any expertise. I think the snippets should be quite easy to port. I haven't looked at source code for the examples so I don't know about theme. As mentioned we should probably wait for the SWT Cocoa to be finished before we start to port the osx version. I almost forgot JFace, may I can try to port that. What I know it's only Java and that should be easier, at lease for me.
Jan 21 2008
doob schrieb:I haven't looked at your source code yet so what is it to think about when I do the port, how should I port the data types. I read that you use char[] instead of String, what about boolean? The previous DWT used boolean as an alias to int, is there anything else?I prepared the original SWT source like this 1. make an eclipse project and load the sources. 2. switch to flat package view 3. select all packages and do 'organize imports' 4. load all files into gvim 5. remove all tabs with ":bufdo retab", having tabstop=4 6. do some global search replace ":bufdo %s:==:is:g" ":bufdo %s:!=:!is:g" ":bufdo %s:\<boolean\>:bool:g" ":bufdo %s:\<org.eclipse.swt\>:dwt:g" ":bufdo %s:\<SWT\>:DWT:g" ":bufdo %s:\<package\>:module:" ":bufdo %s;\<implements\>;:;" ":bufdo %s;\<extends\>;:;" 7. save all files ":wall" 8. rename all .java to .d Now you have files, that are good for making diffs and merges with your later ported code. Keep those files for later, if you want to merge a newer JFace version, than you can follow the same steps and make a three-way merge The String to char[] replacements should be done interactively. So you can let them be unchanged in javadoc comments. Frank
Jan 21 2008
For OSX, Maybe should waiting for SWT 3.4, because SWT 3.3 is based on Carbon, and SWT 3.4 has Cocoa port "doob"Frank Benoit wrote:Bjoern schrieb:This is great news and I would be happy to help. I can help testing both the linux and windows version. Any plans on an osx version?Does it make sense, to port the SWT snippets ? this ones : http://www.eclipse.org/swt/snippets/Sure, that would be great. I you want to start, please talk to me first. So I can prepare the sources in the same way, i did it on the rest. As said in the dwt-linux homepage, in the moment i am working on the examples. this ones: http://www.eclipse.org/swt/examples.php Frank
Jan 20 2008
Eric Suen wrote:For OSX, Maybe should waiting for SWT 3.4, because SWT 3.3 is based on Carbon, and SWT 3.4 has Cocoa portThat probably is a good idea. Updating 3.3 to 3.4 for the other ports should be less of an effort than 3.02 to 3.3. -JJR
Jan 20 2008
Eric Suen wrote:For OSX, Maybe should waiting for SWT 3.4, because SWT 3.3 is based on Carbon, and SWT 3.4 has Cocoa port "doob"Yes that would probably be good, I remembered that after I wrote the post.Frank Benoit wrote:Bjoern schrieb:This is great news and I would be happy to help. I can help testing both the linux and windows version. Any plans on an osx version?Does it make sense, to port the SWT snippets ? this ones : http://www.eclipse.org/swt/snippets/Sure, that would be great. I you want to start, please talk to me first. So I can prepare the sources in the same way, i did it on the rest. As said in the dwt-linux homepage, in the moment i am working on the examples. this ones: http://www.eclipse.org/swt/examples.php Frank
Jan 21 2008
Bjoern wrote:Just one word : Incredible. Thanks ! Does it make sense, to port the SWT snippets ? this ones : http://www.eclipse.org/swt/snippets/ I like to suggest to support /groups/ like dwt.group.layout (Tango like) BjoernAbout SWT snippets... I didn't know they existed. :) They look like a pretty comprehensive test of SWT functionality. I agree that they should be ported at some point. Right now, I think it's best to focus on porting the examples first. But anybody that wants to tackle the snippets as well would be most welcome. :) Concerning "groups": as far as I know, that is still experimental in Tango. Doing something similar for dwt is quite possible. At this point, though, we are concentrating on the port only, and don't want to make any fundamental additions or changes to swt. In the future, an option like "group" should be discussed as a possible way to reduce large import lists. We were considering the same thing in GtkD, but it doesn't look like the idea has gained much popularity yet. -JJR
Jan 20 2008
Frank Benoit wrote:Dear D community We are happy to announce the new dsource projects - DWT-Win http://www.dsource.org/projects/dwt-win - DWT-Linux http://www.dsource.org/projects/dwt-linuxA while ago, someone mentioned that he might get his company to port SWT to D. Do you know what happened to that? I guess it didn't happen, or you wouldn't be starting this project.
Jan 20 2008
torhu schrieb:A while ago, someone mentioned that he might get his company to port SWT to D. Do you know what happened to that? I guess it didn't happen, or you wouldn't be starting this project.I wrote an email to robby, and also asked in his ng thread ("A couple of thoughts/queries." 8th dec 07) if he received it, but i never got any response.
Jan 20 2008
Frank Benoit wrote:Dear D community We are happy to announce the new dsource projects - DWT-Win http://www.dsource.org/projects/dwt-win - DWT-Linux http://www.dsource.org/projects/dwt-linux Both projects will be a manual port of the SWT 3.3 with tango compatibility. Status DWT-Linux: Completed: dnd, custom, widgets, events, graphics, accessibitly, printing, layout Missing: browser, program First helloworld example running Size with debug info/strip/upx: 4,8 MB/1,8 MB/0,5 MB Help is welcome: All ported code is pretty untested. Examples are needed. The official SWT examples should be ported to show the functionality of the widgets. They can serve as a test and also as programming examples. FrankAlso, for those that haven't checked the link, IRC chat on freenode is available in #DWT. Feel free to check in there to discuss anything about either of these ports. -JJR
Jan 20 2008
Frank Benoit wrote:Dear D community We are happy to announce the new dsource projects - DWT-Win http://www.dsource.org/projects/dwt-win - DWT-Linux http://www.dsource.org/projects/dwt-linux Both projects will be a manual port of the SWT 3.3 with tango compatibility. Status DWT-Linux: Completed: dnd, custom, widgets, events, graphics, accessibitly, printing, layout Missing: browser, program First helloworld example running Size with debug info/strip/upx: 4,8 MB/1,8 MB/0,5 MB Help is welcome: All ported code is pretty untested. Examples are needed. The official SWT examples should be ported to show the functionality of the widgets. They can serve as a test and also as programming examples. FrankAwesome. Now time to get porting the rest of Eclipse over for a pure-D Descent ;-).
Jan 20 2008
Robert Fraser escribió:Awesome. Now time to get porting the rest of Eclipse over for a pure-D Descent ;-).Heh. Same thought here, although without runtime reflection, hmm...
Jan 20 2008
Ary Borenszweig wrote:Robert Fraser escribió:I was kidding mostly. According to Ohloh, Eclipse is ~10 million LOC and Descent is nearing 700,000. While I'd love to see a D port of Descent at some point, it would be a HUGE amount of work, even if we started with TioPorted sources & debugged from there.Awesome. Now time to get porting the rest of Eclipse over for a pure-D Descent ;-).Heh. Same thought here, although without runtime reflection, hmm...
Jan 21 2008
Robert Fraser escribió:Ary Borenszweig wrote:Yeah, I know... And I'm sure it won't make any big difference with the Java version, except Expression#getConstantValue would return a pure D object. :-PRobert Fraser escribió:I was kidding mostly. According to Ohloh, Eclipse is ~10 million LOC and Descent is nearing 700,000. While I'd love to see a D port of Descent at some point, it would be a HUGE amount of work, even if we started with TioPorted sources & debugged from there.Awesome. Now time to get porting the rest of Eclipse over for a pure-D Descent ;-).Heh. Same thought here, although without runtime reflection, hmm...
Jan 21 2008
Reply to Frank,Dear D community We are happy to announce the new dsource projects - DWT-Win http://www.dsource.org/projects/dwt-win - DWT-Linux http://www.dsource.org/projects/dwt-linux Both projects will be a manual port of the SWT 3.3 with tango compatibility. Status DWT-Linux: Completed: dnd, custom, widgets, events, graphics, accessibitly, printing, layout Missing: browser, program First helloworld example running Size with debug info/strip/upx: 4,8 MB/1,8 MB/0,5 MB Help is welcome: All ported code is pretty untested. Examples are needed. The official SWT examples should be ported to show the functionality of the widgets. They can serve as a test and also as programming examples. FrankI can't seem to check it out. http://svn.dsource.org/projects/dwt-win/ amI missing
Jan 22 2008
BCS schrieb:http://svn.dsource.org/projects/dwt-win/ amI missingyes, you missed the hg (mercurial) part :)
Jan 22 2008
BCS wrote:I can't seem to check it out. http://svn.dsource.org/projects/dwt-win/ amI missingWell, first, you need mercurial (hg) to check out the repository. We moved away from svn because mercurial provides excellent support for distributed repository maintenance. Once you have the hg package for win32, you do: hg clone http://hg.dsource.org/projects/dwt-win dwt-win (where dwt-win is the name of the destination directory) You will need to download the hg win32 port from here: http://www.selenic.com/mercurial/wiki/index.cgi/WindowsInstall I really don't like the confusing number of choices there are mercurial packages for win32. But take your pick and get it set up by following the instructions on that page. For dwt-win, I should have provided information on the project wiki giving instructions on how to do this. I'll try to add that information soon. Also, be aware that little of the win32 port of dwt has been done yet. So there's not much in the repository at this point, let alone anything working. If you want to lend me a hand, I'd very much appreciate it. -JJR
Jan 22 2008
Reply to John,BCS wrote:[...]I can't seem to check it out. http://svn.dsource.org/projects/dwt-win/ amI missingWell, first, you need mercurial (hg) to check out the repository. We moved away from svn because mercurial provides excellent support for distributed repository maintenance.For dwt-win, I should have provided information on the project wiki giving instructions on how to do this. I'll try to add that information soon.Ideally, I should be able to tell from the front page or one "oh-duh" click away what downloading it will take. Something like some easy to find verbiage along the line of "Download with /Mercurial/ from...."Also, be aware that little of the win32 port of dwt has been done yet. So there's not much in the repository at this point, let alone anything working. If you want to lend me a hand, I'd very much appreciate it. -JJRIs there any other way to get it? I don't think installing another source control system is going to happen any time soon. tarballs would work for me considering I'm not going to be doing dev (I have enough trouble using GUI API's, I don't even want to think about writing one)
Jan 22 2008
BCS wrote:Reply to John,Yes, I agree. I should have done this.BCS wrote:[...]I can't seem to check it out. http://svn.dsource.org/projects/dwt-win/ amI missingWell, first, you need mercurial (hg) to check out the repository. We moved away from svn because mercurial provides excellent support for distributed repository maintenance.For dwt-win, I should have provided information on the project wiki giving instructions on how to do this. I'll try to add that information soon.Ideally, I should be able to tell from the front page or one "oh-duh" click away what downloading it will take. Something like some easy to find verbiage along the line of "Download with /Mercurial/ from...."At this point, since there is nothing working to "get", I don't think we'll provide a tarball of any sort. But perhaps once things start building properly, we should consider making releases available in an alternative package. This makes sense. We'll need some storage options that, at this point, I don't think mercurial provides, but perhaps the Trac system does. I'll have to investigate the options. -JJRAlso, be aware that little of the win32 port of dwt has been done yet. So there's not much in the repository at this point, let alone anything working. If you want to lend me a hand, I'd very much appreciate it. -JJRIs there any other way to get it? I don't think installing another source control system is going to happen any time soon. tarballs would work for me considering I'm not going to be doing dev (I have enough trouble using GUI API's, I don't even want to think about writing one)
Jan 22 2008
John Reimer wrote:At this point, since there is nothing working to "get", I don't think we'll provide a tarball of any sort. But perhaps once things start building properly, we should consider making releases available in an alternative package. This makes sense. We'll need some storage options that, at this point, I don't think mercurial provides, but perhaps the Trac system does. I'll have to investigate the options.Let me just clarify here... I'm referring to the dwt-win project (since I know that dwt-linux is working right now). Either way, we should investigate a way of packaging working releases, eventually. -JJR
Jan 22 2008
Reply to John,John Reimer wrote:is there a linux tar-ball?At this point, since there is nothing working to "get", I don't think we'll provide a tarball of any sort. But perhaps once things start building properly, we should consider making releases available in an alternative package. This makes sense. We'll need some storage options that, at this point, I don't think mercurial provides, but perhaps the Trac system does. I'll have to investigate the options.Let me just clarify here... I'm referring to the dwt-win project (since I know that dwt-linux is working right now). Either way, we should investigate a way of packaging working releases, eventually. -JJR
Jan 22 2008
BCS wrote:Reply to John,No, not yet. :)John Reimer wrote:is there a linux tar-ball?At this point, since there is nothing working to "get", I don't think we'll provide a tarball of any sort. But perhaps once things start building properly, we should consider making releases available in an alternative package. This makes sense. We'll need some storage options that, at this point, I don't think mercurial provides, but perhaps the Trac system does. I'll have to investigate the options.Let me just clarify here... I'm referring to the dwt-win project (since I know that dwt-linux is working right now). Either way, we should investigate a way of packaging working releases, eventually. -JJR
Jan 22 2008
BCS wrote:[...]I've updated the dwt-win front page.For dwt-win, I should have provided information on the project wiki giving instructions on how to do this. I'll try to add that information soon.Ideally, I should be able to tell from the front page or one "oh-duh" click away what downloading it will take. Something like some easy to find verbiage along the line of "Download with /Mercurial/ from...."
Jan 26 2008