View previous topic :: View next topic |
Author |
Message |
JuhaManninen Member
Joined: 25 Mar 2011 Posts: 27 Location: Finland
|
Posted: Tue Jan 01, 2013 5:52 pm Post subject: SVN branch for Lazarus port |
|
|
Happy New Year 2013!
I revived my Lazarus port experiments.
Now I would like to get access to a new SVN branch for this purpose, maybe named as "LazarusPort".
My user name would be "juha" and I would give a password in a private mail.
Sorry, I don't know who is the SVN admin of this project.
This branch would have no risk for anybody. In the worst case scenario I will waste my time and fail. No other harm done.
If my port starts to work, there will be a question if FPC/Lazarus could be the main development tool.
The new branch should of course happen only if the main developers see it as a possible direction for future. Otherwise I will put my experiments into GitHub.
I was just thinking that a branch in the project itself would better reach people who are interested, and it would kind of imply a blessing from the project developers.
If you don't want to create a branch for this purpose, it is OK, no offence taken.
Regards,
Juha Manninen |
|
Back to top |
|
|
Jeroen Site Admin
Joined: 07 Aug 2004 Posts: 5332 Location: The Netherlands
|
Posted: Tue Jan 01, 2013 9:30 pm Post subject: |
|
|
I'm one of the SVN admins of DeleD CE. As such, I'm interested in your ideas, of course.
How far are you with the actual porting? Got anything working? _________________ Check out Figuro, our online 3D app! More powerful 3D tools for free. |
|
Back to top |
|
|
JuhaManninen Member
Joined: 25 Mar 2011 Posts: 27 Location: Finland
|
Posted: Wed Jan 02, 2013 2:11 pm Post subject: |
|
|
Jeroen wrote: |
I'm one of the SVN admins of DeleD CE. As such, I'm interested in your ideas, of course.
|
Not only ideas. It is the real thing, source code.
Quote: |
How far are you with the actual porting? Got anything working?
|
Unfortunately it does not work at all yet. The code compiles and starts but gives some errors when creating forms. I will investigate it more.
The automatic Delphi conversion in Lazarus run without problems. Then some manual changes were needed before it compiled, but not very many.
In fact I have improved the Delphi converter using DeleD as a test case.
OpenGL is the next challenge. The OpenGL package is replaced with the version included in Lazarus.
Step 1 is to make a Windows-only Lazarus project. Porting OpenGL is easier then.
Step 2 would be a cross-platform version, using the OpenGLContext component.
Also the components SynEdit and PascalScript could easily be replaced with the versions included in Lazarus.
Graphics32 supports Lazarus now. Their latest version (or trunk) must be installed. A small fix was needed for their Lazarus package, I sent a patch to their bug tracker.
Lazarus / LCL trunk now has the ValueListEditor component which was missing during my earlier experiments. It also means that Lazarus trunk is required now.
I may ask help from other people for some problems. At that point I must have the code somewhere in a public place, preferably in a revision control system.
Regards,
Juha Manninen |
|
Back to top |
|
|
Jeroen Site Admin
Joined: 07 Aug 2004 Posts: 5332 Location: The Netherlands
|
Posted: Wed Jan 02, 2013 7:34 pm Post subject: |
|
|
It's good to see you've got an actual plan for converting the Delphi source code to Lazarus. I'm very interested in the final result so keep us posted!
As soon as you've got a conversion up and running (actually working, that is), it would be a good time to setup an SVN repository. People will be more interested in adding to the code when they know it's a working product.
I wonder though: are there many Lazarus developers out there? Having no real experience with Lazarus, I don't really know. What are good developer forums / sites for Lazarus out there? _________________ Check out Figuro, our online 3D app! More powerful 3D tools for free. |
|
Back to top |
|
|
JuhaManninen Member
Joined: 25 Mar 2011 Posts: 27 Location: Finland
|
Posted: Wed Jan 02, 2013 9:29 pm Post subject: |
|
|
Jeroen wrote: |
It's good to see you've got an actual plan for converting the Delphi source code to Lazarus. I'm very interested in the final result so keep us posted!
As soon as you've got a conversion up and running (actually working, that is), it would be a good time to setup an SVN repository. People will be more interested in adding to the code if they it's a working product.
|
Ok, I try to make it work somehow first.
A "working code" is flexible term though. I will need to get it public if I want to communicate about it.
Quote: |
I wonder though: are there many Lazarus developers out there? Having no real experience with Lazarus, I don't really know. What are good developer forums / sites for Lazarus out there?
|
Lazarus is gaining popularity, especially after 1.0 release, while Delphi is still loosing its popularity.
The forum and mailing lists are very active. You can find more info here:
http://lazarus.freepascal.org/
I recommend installing FPC release version (2.6.x) and then Lazarus trunk from SVN server, especially because the coming DeleD port requires Lazarus trunk.
http://wiki.lazarus.freepascal.org/Getting_Lazarus
The strange thing is that FPC and Lazarus are so unknown by most SW developers although they are technically very good, competing with systems that gain much more hype.
However the few that know them, seem to be very active and that is more important.
Advanced development tools are used by a small minority in any case, even if everybody knew about them.
Regards,
Juha Manninen |
|
Back to top |
|
|
Jeroen Site Admin
Joined: 07 Aug 2004 Posts: 5332 Location: The Netherlands
|
Posted: Thu Jan 03, 2013 6:58 pm Post subject: |
|
|
Good to see Lazarus is gaining popularity. Do you think you'll be able to find developers willing to work on a Lazarus port of DeleD? _________________ Check out Figuro, our online 3D app! More powerful 3D tools for free. |
|
Back to top |
|
|
JuhaManninen Member
Joined: 25 Mar 2011 Posts: 27 Location: Finland
|
Posted: Thu Jan 03, 2013 7:33 pm Post subject: |
|
|
Jeroen wrote: |
Good to see Lazarus is gaining popularity. Do you think you'll be able to find developers willing to work on a Lazarus port of DeleD?
|
I believe I get help for specific questions and problems.
It is possible that some people get interested enough to spend more time with it, but I cannot promise that.
Still, there is a bigger chance to find open source developers for a Lazarus project than for a Delphi project.
The Delphi dependency will be more and more a problem for your project. It would be OK for a commercial project but not for an open source project.
Regards,
Juha |
|
Back to top |
|
|
oliebol Member
Joined: 30 Dec 2009 Posts: 8 Location: Eindhoven
|
Posted: Sat Jan 05, 2013 1:07 am Post subject: |
|
|
Jeroen wrote: |
I wonder though: are there many Lazarus developers out there? Having no real experience with Lazarus, I don't really know. What are good developer forums / sites for Lazarus out there? |
Do FPC devels count?
Delphi/FPC gaming is mostly at http://www.pascalgamedevelopment.com/
and the german Delphi opengl forum. (http://delphigl.com/)
The numbers are much lower than Delphi though, but generally they are more knowledgable. The most important feature though is that they are on a fairly narrow band, versionwise, and multiple installations (versions) are possible.
DeleD could simply host its own prefered version, migrating once every 2 years or so. _________________ Marco V |
|
Back to top |
|
|
JuhaManninen Member
Joined: 25 Mar 2011 Posts: 27 Location: Finland
|
Posted: Mon Jan 07, 2013 8:10 pm Post subject: |
|
|
oliebol wrote: |
DeleD could simply host its own prefered version, migrating once every 2 years or so.
|
Hi Marco!
You join the DeleD Lazarus port experiment?
I didn't quite understand your idea. What should DeleD host? Preferred version of what?
Juha |
|
Back to top |
|
|
JuhaManninen Member
Joined: 25 Mar 2011 Posts: 27 Location: Finland
|
Posted: Mon Feb 04, 2013 3:40 pm Post subject: |
|
|
Jeroen and others
Now I have a version that works _somehow_.
It means that DeleD compiles and runs with Lazarus under Windows, and you can open an existing model which is shown.
Unfortunately the GUI is still broken otherwise. The tool windows don't show at all. It is related to MDI or something about the window creation.
Anyway, now I must put this code under revision control, for other people to see it and to get revision history from now on.
Would you please create an SVN branch into your repository.
If it is not possible then I will use GitHub, but I prefer a branch under the project itself.
Regards,
Juha Manninen |
|
Back to top |
|
|
Jeroen Site Admin
Joined: 07 Aug 2004 Posts: 5332 Location: The Netherlands
|
Posted: Mon Feb 04, 2013 7:32 pm Post subject: |
|
|
A branch in the current project would be preferable. I will need to get into this as I'm not aware of the branching possibilities in our SVN repository (it's been a while). Will get back to you a.s.a.p, probably next weekend.
In the mean time, do you have a few screenshots to share with us?! _________________ Check out Figuro, our online 3D app! More powerful 3D tools for free. |
|
Back to top |
|
|
JuhaManninen Member
Joined: 25 Mar 2011 Posts: 27 Location: Finland
|
Posted: Mon Feb 04, 2013 8:19 pm Post subject: |
|
|
Jeroen wrote: |
A branch in the current project would be preferable. I will need to get into this as I'm not aware of the branching possibilities in our SVN repository (it's been a while). Will get back to you a.s.a.p, probably next weekend.
|
$ svn copy
on the server should do it. It is a light operation, it does not copy existing files.
The files are copied only on the client checkout.
http://svnbook.red-bean.com/en/1.7/svn.branchmerge.using.html#svn.branchmerge.using.create
I think the user access is done only by setting the *nix directory rights on the server.
[Edit:] No, actually there are authz and passwd files involved. You will figure it out.
I will give a password in a private mail. juha dot manninen62 ät gmail dot com
The port is not ready for screenshots yet. Maybe soon...
Regards,
Juha Manninen |
|
Back to top |
|
|
JuhaManninen Member
Joined: 25 Mar 2011 Posts: 27 Location: Finland
|
Posted: Thu Feb 07, 2013 7:06 pm Post subject: |
|
|
Ok, here is a screenshot. The Lazarus version of DeleD is very functional, only the MDI windows layout is broken. Now the tool windows are all separate instead of docked to the main window.
The Screenshot
Regards,
Juha |
|
Back to top |
|
|
Jeroen Site Admin
Joined: 07 Aug 2004 Posts: 5332 Location: The Netherlands
|
Posted: Thu Feb 07, 2013 8:59 pm Post subject: |
|
|
That looks rather good, even though the MDI layout isn't functional.
I noticed it says DeleD 1.0 CE. I take it you did actually port the most current (2.45) version of DeleD? What's up with the 1.0? _________________ Check out Figuro, our online 3D app! More powerful 3D tools for free. |
|
Back to top |
|
|
JuhaManninen Member
Joined: 25 Mar 2011 Posts: 27 Location: Finland
|
Posted: Thu Feb 07, 2013 10:53 pm Post subject: |
|
|
Jeroen wrote: |
That looks rather good, even though the MDI layout isn't functional.
I noticed it says DeleD 1.0 CE. I take it you did actually port the most current (2.45) version of DeleD? What's up with the 1.0? |
The 1.0 has no meaning here.
I just put something there because the fileinfo func gives an error otherwise.
I ported the DeleD trunk from ~ 2 months ago. The most recent commits can be "cherry-picked" to it.
Juha
P.S.
Did you figure out the details of SVN branch and commit rights? |
|
Back to top |
|
|
|