Re: [lazarus] Working with different versions of lazarus
Mattias Gaertner schreef: On Sat, 22 Dec 2007 13:23:11 +0100 Vincent Snijders [EMAIL PROTECTED] wrote: ik schreef: On Dec 21, 2007 12:27 AM, Vincent Snijders [EMAIL PROTECTED] wrote: ik schreef: Hello, My stable version of lazarus is 0.9.24, however I do check Lazarus svn from time to time, and usually I change the .lazarus directory depends on the version I wish to check. Is there a way to tell Lazarus to store information regarding he specific version I'm using instead of working like that ? You can tell lazarus what configuration directory to use. The default is ~/.lazarus (on *nix), but you can change this by using the --pcp parameter: ./lazarus --pcp= See also ./lazarus --help Thanks, that worked. It seems though that if Lazarus restart itself (like after recompiling Lazarus from inside the menu options), it will not pass the command line parameters. Good point. It probably should. I added this in 13473. It did not work on windows. I fixed things in r13479, so that Lazarus can be started again, but maybe I 'fixed' too much. I think startlazarus (i.e. the lazarus manager) should not add around its parameters. The single quotes in --primary-config-path=bla passed to startlazarus when restarting were in the wrong place. Further if you pass --primary-config-path='c:\lazarus', Lazarus wants to create a test file 'c:\lazarus'\compilertest.pas (double quotes are mine). Note that the ' are not removed from the path. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Working with different versions of lazarus
On Thu, 27 Dec 2007 11:27:03 +0100 Vincent Snijders [EMAIL PROTECTED] wrote: Mattias Gaertner schreef: On Sat, 22 Dec 2007 13:23:11 +0100 Vincent Snijders [EMAIL PROTECTED] wrote: ik schreef: On Dec 21, 2007 12:27 AM, Vincent Snijders [EMAIL PROTECTED] wrote: ik schreef: Hello, My stable version of lazarus is 0.9.24, however I do check Lazarus svn from time to time, and usually I change the .lazarus directory depends on the version I wish to check. Is there a way to tell Lazarus to store information regarding he specific version I'm using instead of working like that ? You can tell lazarus what configuration directory to use. The default is ~/.lazarus (on *nix), but you can change this by using the --pcp parameter: ./lazarus --pcp= See also ./lazarus --help Thanks, that worked. It seems though that if Lazarus restart itself (like after recompiling Lazarus from inside the menu options), it will not pass the command line parameters. Good point. It probably should. I added this in 13473. It did not work on windows. I fixed things in r13479, so that Lazarus can be started again, but maybe I 'fixed' too much. I think startlazarus (i.e. the lazarus manager) should not add around its parameters. The single quotes in --primary-config-path=bla passed to startlazarus when restarting were in the wrong place. Further if you pass --primary-config-path='c:\lazarus', Lazarus wants to create a test file 'c:\lazarus'\compilertest.pas (double quotes are mine). Note that the ' are not removed from the path. You are right. It seems under windows TProcess does not handle and ', but simply passes the entire commandline to CreateProcess, so it is up to program to handle and ' correct. According to msdn this is normal under windows. IMO and ' should be handled by the IDE/startlazarus/lazbuild on windows. This is not needed under unix platforms, although it will not hurt. Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] is svn server down?
Bee schreef: Is it? I can't reach it today. :( No, it is not down. What are you trying to do? Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] is svn server down?
Is it? I can't reach it today. :( -Bee- has Bee.ography at: http://beeography.wordpress.com _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] is svn server down?
No, it is not down. What are you trying to do? I'm sorry. I meant the svn web sites. I used to look at this url: http://www.freepascal.org/cgi-bin/viewcvs.cgi/?root=lazarus before I update my lazarus's local svn repository. Apparently, the SVN server itself is up since I'm able to get update from the svn. But, not the svn web site. I got 404 respond on the above url. TIA. -Bee- has Bee.ography at: http://beeography.wordpress.com _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Lazarus IDE revamp
Ciprian Mustiata schreef: Hi team, Based on that issues, and some more, me and that designer will not look back to Delphi legacy, excluding the LCL and we will try to manage to make a fork of Lazarus. The role of that fork is very easy: it will must provide bet UI for user, and will not take care about users that say: in Delphi is different, because Lazarus is not Delphi, is much better. That fork will be maintained to an external server, like OpenSVN one and hopefully when will get enough substange to get it's own merit as an upgrade to Lazarus, hopefully will be merged back to Lazarus code. The project will be named LightZarus and will have the notice that is based on Lazarus code. How is this project going? Is the external svn server already available (I am looking forward to merge these inovations in the main tree, new the compiler options dialog doesn't look finished enough for a release, for example). Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] is svn server down?
Bee schreef: No, it is not down. What are you trying to do? I'm sorry. I meant the svn web sites. I used to look at this url: http://www.freepascal.org/cgi-bin/viewcvs.cgi/?root=lazarus before I update my lazarus's local svn repository. Apparently, the SVN server itself is up since I'm able to get update from the svn. But, not the svn web site. I got 404 respond on the above url. That url doesn't work anymore. If you want to have information from the svn server use: http://svn.freepascal.org/cgi-bin/viewvc.cgi/?root=lazarus Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] Google Android
Hello All, The google android emulator now run under the Lazarus IDE. See the the image in www.android-google.tk Regards Wim _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] FPC package builder
The attached create_fpc_deb.sh is the latest working copy. # create native ./create_fpc_deb.sh fpc ~/lazarus/fpc # create win32 cross compiler # script couldn't guess BINUTILSPREFIX as it begins with i586 not i386 OS_TARGET=win32 CPU_TARGET=i386 BINUTILSPREFIX=i586-mingw32msvc- ./create_fpc_deb.sh fpc ~/lazarus/fpc # create powerpc linux OS_TARGET=linux CPU_TARGET=powerpc ./create_fpc_deb.sh fpc ~/lazarus/fpc /etc/fpc.cfg has: #include /usr/lib/fpc/fpc-cross.cfg which has entries like: #if 2.3.1 = $fpcversion #include /usr/lib/fpc/2.3.1/fpc-cross.cfg #end added. I have to do this because fpc doesn't interpolate the $fpcversion in #include statements even though it does in the error message generated by failed include statements! (as strace shows, it looks for a file with literally $fpcversion in the name). These various files are correctly managed in postinst and prerm. BUGS: The cross-fpc package has the cross compiler in, so you can't install two cross packages for the same CPU. There ought to be a separate package for each cross compiler and additional packages for each OS target depending on the CPU package. However I will not fix up this script to handle that, I will adjust the main fpc makefile so that it creates a debian folder with the right control files for all these packages in it; at such time this script will be reduced to a make-dist on the svn, and the deb_build on that. Sam create_fpc_deb.sh Description: application/shellscript
Re: [lazarus] Module viewer Controller
On Dec 27, 2007 7:52 AM, Marc Santhoff [EMAIL PROTECTED] wrote: Am Dienstag, den 25.12.2007, 11:02 +0200 schrieb ik: Thank you all for answering. Good to see that other people have needs to ease their development :) I see: my capability of giving unwanted answers is as sophisticated as yours asking vague questions. ;) It is what I'm famous at :D But my problem is, not understanding that I'm vague :( Marc A bit late, but Marry Christmas for everyone who celebrated it... Ido -- http://ik.homelinux.org/ _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Working with different versions of lazarus
On Dec 27, 2007 12:55 PM, Mattias Gaertner [EMAIL PROTECTED] wrote: On Thu, 27 Dec 2007 11:27:03 +0100 Vincent Snijders [EMAIL PROTECTED] wrote: Mattias Gaertner schreef: On Sat, 22 Dec 2007 13:23:11 +0100 Vincent Snijders [EMAIL PROTECTED] wrote: ik schreef: On Dec 21, 2007 12:27 AM, Vincent Snijders [EMAIL PROTECTED] wrote: ik schreef: Hello, My stable version of lazarus is 0.9.24, however I do check Lazarus svn from time to time, and usually I change the .lazarus directory depends on the version I wish to check. Is there a way to tell Lazarus to store information regarding he specific version I'm using instead of working like that ? You can tell lazarus what configuration directory to use. The default is ~/.lazarus (on *nix), but you can change this by using the --pcp parameter: ./lazarus --pcp= See also ./lazarus --help Thanks, that worked. It seems though that if Lazarus restart itself (like after recompiling Lazarus from inside the menu options), it will not pass the command line parameters. Good point. It probably should. I added this in 13473. It did not work on windows. I fixed things in r13479, so that Lazarus can be started again, but maybe I 'fixed' too much. I think startlazarus (i.e. the lazarus manager) should not add around its parameters. The single quotes in --primary-config-path=bla passed to startlazarus when restarting were in the wrong place. Further if you pass --primary-config-path='c:\lazarus', Lazarus wants to create a test file 'c:\lazarus'\compilertest.pas (double quotes are mine). Note that the ' are not removed from the path. You are right. It seems under windows TProcess does not handle and ', but simply passes the entire commandline to CreateProcess, so it is up to program to handle and ' correct. According to msdn this is normal under windows. The problem of Windows API is that for path you must use , otherwise it will search in wrong manner. For example: C:\Program Files\Commons Windows will look for: C:\Program.exe And if not found, then it will continue on words... IMO and ' should be handled by the IDE/startlazarus/lazbuild on windows. This is not needed under unix platforms, although it will not hurt. Mattias Ido -- http://ik.homelinux.org/ _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] RichView support question
--- Andrey Gusev [EMAIL PROTECTED] escribió: I look to use TRichView together with LazReport. Demo have tried, printing works incorrectly. It was asked to trichview.com about support, but wasn't answered. TRichView is supported by lazarus team ? The question, mainly to *Jesus Reyes A.*, as i mean. To some extent, yes (that counts only for me). At the moment I have no plans of adding features to richview, if somebody want to do it I can help by commiting such changes to repository, I can help also by doing limited bug fixing, limited to the available time and cooperation from bug report submiters. Jesus Reyes A. ¡Capacidad ilimitada de almacenamiento en tu correo! No te preocupes más por el espacio de tu cuenta con Correo Yahoo!: http://correo.yahoo.com.mx/ _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] LazReport charsets using question
--- Andrey Gusev [EMAIL PROTECTED] escribió: Apparently, LR_Class.frCharset assignment have some effect. But it is difficult for finding out experimentally, all nuances. Can somebody give some hints about this ? It should have an effect only for previeving and maybe for printing under windows, printing using cups like in the other widgetsets (will probably) require encoding conversion, it looks like actually ghostscript standard fonts provide cyrillic support and just what is needed is font reencoding, I'm currently investigating all this and if you have sample reports that can send me, this is the best time to do it. Jesus Reyes A. ¡Capacidad ilimitada de almacenamiento en tu correo! No te preocupes más por el espacio de tu cuenta con Correo Yahoo!: http://correo.yahoo.com.mx/ _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] LazReport charsets using question
* Jesus Reyes [EMAIL PROTECTED] [Thu, 27 Dec 2007 13:45:40 -0600 (CST)]: --- Andrey Gusev [EMAIL PROTECTED] escribi#243;: Apparently, LR_Class.frCharset assignment have some effect. But it is difficult for finding out experimentally, all nuances. Can somebody give some hints about this ? It should have an effect only for previeving and maybe for printing under windows, printing using cups like in the other widgetsets (will probably) require encoding conversion, it looks like actually ghostscript standard fonts provide cyrillic support and just what is needed is font reencoding, I'm currently investigating all this and if you have sample reports that can send me, this is the best time to do it. Today i make one, partly, by #10471 bug prevented. Make analyze, i run to suspicious 0 (zero) writting to vertical scroll bar position, right after some normal value writting (in 100-300 range). I can give stack trace if need. But some quite primitive sample is - prim.lrf, snap.png - it view. prim.lrf Description: Binary data attachment: snap.png
Re: [lazarus] Module viewer Controller
Am Donnerstag, den 27.12.2007, 21:08 +0200 schrieb ik: On Dec 27, 2007 7:52 AM, Marc Santhoff [EMAIL PROTECTED] wrote: Am Dienstag, den 25.12.2007, 11:02 +0200 schrieb ik: Thank you all for answering. Good to see that other people have needs to ease their development :) I see: my capability of giving unwanted answers is as sophisticated as yours asking vague questions. ;) It is what I'm famous at :D But my problem is, not understanding that I'm vague :( No problem in this case, Graeme explained your intention. :) If you had asked for example code I would have thought where to find some. Since I'm writing this my mind is spinning: Is there any library for drawing graphs with shapes for nodes and labelled connectors? To be precise: it should be capable of drawing onto one of lazarus' canvas. I don't know if this is possible with external libs, I'll look at GraphViz later this evening ... Marc _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] back from holiday, my project crashes lazarus
I came back from the holiday and did an svn update a few minutes ago, rebuilt lazarus, then started lazarus and opened up the project I've been working on. Lazarus crashes, then gives me a weird ok/cancel dialog with no text on it (just the buttons and the icons, but no labels). I captured the output. I'll paste starting where things go wrong: === ... TJITComponentList.ReaderSetMethodProperty RuleSearchCopyMsgMenuItem:TMenuItem OnClick:=AllRuleCopyButtonClick SUCCESS: streaming lfm=/home/tlacuache/devel/NitroVision/NVWeb/CorrelatedUtils/cre/main.lfm [FORMS.PP] ExceptionOccurred Sender=EAccessViolation Exception=Access violation Stack trace: $ $0815E96A TWINCONTROL__CREATEWND, line 6465 of ./include/wincontrol.inc $08242641 TCUSTOMGRID__CREATEWND, line 3494 of grids.pas $0815E5A5 TWINCONTROL__CREATEHANDLE, line 6394 of ./include/wincontrol.inc $0815F5AF TWINCONTROL__HANDLENEEDED, line 6778 of ./include/wincontrol.inc $0815EB25 TWINCONTROL__CREATEWND, line 6493 of ./include/wincontrol.inc $0815E5A5 TWINCONTROL__CREATEHANDLE, line 6394 of ./include/wincontrol.inc $0815F5AF TWINCONTROL__HANDLENEEDED, line 6778 of ./include/wincontrol.inc $0815EB25 TWINCONTROL__CREATEWND, line 6493 of ./include/wincontrol.inc $0815E5A5 TWINCONTROL__CREATEHANDLE, line 6394 of ./include/wincontrol.inc $0815F5AF TWINCONTROL__HANDLENEEDED, line 6778 of ./include/wincontrol.inc $0815EB25 TWINCONTROL__CREATEWND, line 6493 of ./include/wincontrol.inc $08179311 TCUSTOMNOTEBOOK__CREATEWND, line 231 of ./include/customnotebook.inc $0815E5A5 TWINCONTROL__CREATEHANDLE, line 6394 of ./include/wincontrol.inc $0815F5AF TWINCONTROL__HANDLENEEDED, line 6778 of ./include/wincontrol.inc $0815EB25 TWINCONTROL__CREATEWND, line 6493 of ./include/wincontrol.inc $0806F2B1 TSCROLLINGWINCONTROL__CREATEWND, line 31 of ./include/scrollingwincontrol.inc TApplication.HandleException Access violation Stack trace: $ $0815E96A TWINCONTROL__CREATEWND, line 6465 of ./include/wincontrol.inc $08242641 TCUSTOMGRID__CREATEWND, line 3494 of grids.pas $0815E5A5 TWINCONTROL__CREATEHANDLE, line 6394 of ./include/wincontrol.inc $0815F5AF TWINCONTROL__HANDLENEEDED, line 6778 of ./include/wincontrol.inc $0815EB25 TWINCONTROL__CREATEWND, line 6493 of ./include/wincontrol.inc $0815E5A5 TWINCONTROL__CREATEHANDLE, line 6394 of ./include/wincontrol.inc $0815F5AF TWINCONTROL__HANDLENEEDED, line 6778 of ./include/wincontrol.inc $0815EB25 TWINCONTROL__CREATEWND, line 6493 of ./include/wincontrol.inc $0815E5A5 TWINCONTROL__CREATEHANDLE, line 6394 of ./include/wincontrol.inc $0815F5AF TWINCONTROL__HANDLENEEDED, line 6778 of ./include/wincontrol.inc $0815EB25 TWINCONTROL__CREATEWND, line 6493 of ./include/wincontrol.inc $08179311 TCUSTOMNOTEBOOK__CREATEWND, line 231 of ./include/customnotebook.inc $0815E5A5 TWINCONTROL__CREATEHANDLE, line 6394 of ./include/wincontrol.inc $0815F5AF TWINCONTROL__HANDLENEEDED, line 6778 of ./include/wincontrol.inc $0815EB25 TWINCONTROL__CREATEWND, line 6493 of ./include/wincontrol.inc $0806F2B1 TSCROLLINGWINCONTROL__CREATEWND, line 31 of ./include/scrollingwincontrol.inc Note: GetTextBuf is overridden for: [lots of weird unreadable characters here] [FORMS.PP] ExceptionOccurred Sender=EAccessViolation Exception=Access violation Stack trace: $ECE9FFEA $08168A44 TCONTROL__SETTEXT, line 3675 of ./include/control.inc $080A7EE9 TMAINIDE__UPDATECAPTION, line 9815 of main.pp $080B5F12 TMAINIDEBASE__SETTOOLSTATUS, line 212 of mainbase.pas $0808F417 TMAINIDE__SETTOOLSTATUS, line 2974 of main.pp $0808908C TMAINIDE__DESTROY, line 1186 of main.pp $08060172 $0806D29D BEFOREFINALIZATION, line 1441 of forms.pp $08063F59 $080640D5 $08061429 $0808900A TMAINIDE__STARTIDE, line 1176 of main.pp $08054D4E main, line 95 of lazarus.pp TApplication.HandleException Access violation Stack trace: $ECE9FFEA $08168A44 TCONTROL__SETTEXT, line 3675 of ./include/control.inc $080A7EE9 TMAINIDE__UPDATECAPTION, line 9815 of main.pp $080B5F12 TMAINIDEBASE__SETTOOLSTATUS, line 212 of mainbase.pas $0808F417 TMAINIDE__SETTOOLSTATUS, line 2974 of main.pp $0808908C TMAINIDE__DESTROY, line 1186 of main.pp $08060172 $0806D29D BEFOREFINALIZATION, line 1441 of forms.pp $08063F59 $080640D5 $08061429 $0808900A TMAINIDE__STARTIDE, line 1176 of main.pp $08054D4E main, line 95 of lazarus.pp [TMainIDE.Destroy] A [FORMS.PP] ExceptionOccurred Sender=EAccessViolation Exception= Stack trace: $08342596 TPROJECTDEFINETEMPLATES__CUSTOMDEFINESCHANGED, line 4490 of project.pp $083423BF TPROJECTDEFINETEMPLATES__ENDUPDATE, line 4431 of project.pp $0833B0DF TPROJECT__ENDUPDATE, line 2484 of project.pp $0833AFBF TPROJECT__CLEAR, line 2464 of project.pp $08336912 TPROJECT__DESTROY, line 1631 of
Re: [lazarus] Module viewer Controller
Is there any library for drawing graphs with shapes for nodes and labelled connectors? To be precise: it should be capable of drawing onto one of lazarus' canvas. I don't know if this is possible with external libs, I'll look at GraphViz later this evening ... Drawing Objects is a freeware (MPL 1.1) with full Delphi source code, help file and comprehensive demo: http://angusj.com/delphi/, but requires conversion to Lazarus... -- Att, Wanderlan Santos dos Anjos
Re: [lazarus] Google Android
Bee wrote: The google android emulator now run under the Lazarus IDE. See the the image in www.android-google.tk If I'm not mistaken, I saw you just call Android emulator through Laz's custom tool. We could call anything using custom tool. What's the point? Can we make application for Android using FPC/Laz? I'd be very glad if it's possible. :) -Bee- has Bee.ography at: http://beeography.wordpress.com _ Android uses Linux as the operating system. So it must be possible to use a native application. Only Android has a modified libc, that may pose some problems. It is also possible to translate pascal to java. That has been done before regards _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: back from holiday, my project crashes lazarus
Sorry, I should have mentioned, here's what fpc -v returns: Free Pascal Compiler version 2.2.0 [2007/08/30] for i386 Thanks, Seth Grover -- Good news, everyone! Seth Grover sethdgrover[at]gmail[dot]com http://grovers.us/seth _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: back from holiday, my project crashes lazarus
Seth Grover wrote: Sorry, I should have mentioned, here's what fpc -v returns: Free Pascal Compiler version 2.2.0 [2007/08/30] for i386 I cannot see alse what is your os and what widgetset. Best regards, Paul Ishenin. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: back from holiday, my project crashes lazarus
Sorry, running Ubuntu 7.10 with gtk1. -SG -- Good news, everyone! Seth Grover sethdgrover[at]gmail[dot]com http://grovers.us/seth _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] Salvage Kylix apps with Lazarus IDE!
I must say it aloud: LAZARUS IDE IS GREAT. In a few days (I started on december 23, and didn't work too much, because of family parties dinners, lunches etc.) it made me possible to smoothly support Borland CLX Component Library, and to revive the dead Kylix. It appears that having been resurrected Lazarus has learned how to resurrect others! :-) In the first attached screenshots you can see a form created with Lazarus IDE, and in the second the Kylix application running, which uses the Borland clx component library, developed, compiled and debugged with Lazarus IDE. The Qt style is Platinum, and color is clLime, just to make it visibly different from the gtk counterpart. In the platform I've been using for test (Fedora 5), Kylix IDE won't even start. This is at a very early stage, but the ease with which I have attained the first results proves that it should be possible to salvage Kylix applications with a minimal fraction of the work required for porting from CLX to LCL. For those interested, I will add some details. Why: In view of a much more ambitious project that I'll share with other Lazarus users if it turns out to be feasible and reasonable, I wanted to experiment how difficult is to use Lazarus IDE with an alternative compatible component library. CLX is ready made and decently LCL compatible, so it could be used almost without writing code, and if it worked it could provide, as a side benefit, a way to salvage the dozens of Kylix apps my company is forced to support for a long time to come (they go into industrial machines, which cost a fortune, and therefore must be maintained at least for 10 years!) How: I've converted Borland CLX units to Lazarus units with the IDE function Convert Delphi Unit to Lazarus Unit. Then I've created a package, called clx, with all those units. CLX is intended to interface with Borland RTL, which is somehow different from FCL, so, where appropriate, I've minimally edited the clx units, and for the rest added a DelphiRTL unit, to collect a small number of required interface functions. Using Lazarus resources requires the LResources unit, and a few sibling units. As Lresources resides in the LCL, I've lifted LResources unit and its siblings from LCL, renamed it to QLResources (to avoid name clashing) and created a second package named lres, with the required units. That's almost all. An application which declare to require clx instead of LCL (this requires a minimal twigging with projects .lpr and project inspector to put things right), will use the clx library, Borland libborqt.so, and generate a Kilyx application which looks and behaves like the original. What's missing: Image resource files (i.e. stock button icons and a few more icons) have not yet been converted to Lazarus resources. Delphi style localization is not supported (I don't use it, it required some extra work so I left it aside). Delphi style HelpSysytem neither (same reason). There's still some debug, mostly because Delphi widestrings support routines are not one-to-one with the FPC counterparts, and run-time errors pop up whenever an incompatibility is encountered. What next. Beside debugging everything properly, there are two things I'd like to test. One of them is to compile the Lazarus IDE using CLX in place of LCL. This would make life much easier, because currently one can access with the object inspector only to the subset of properties which are common to LCL and CLX. The other is to use the CLX3 Library, which uses a standard Qt3, instead of the Borland patched Qt2 of CLX. But in both cases I'm unsure if it's worth while. After all my interest is to lengthen the life span of existing programs, not to develop new ones. If someone else has similar needs, I'm ready to share what I've done. Only I'm unsure of licensing problems. I believe to be entitled to do what's possible to maintain the software we've developed with tools which were paid several thousands of good dollars for each license, and which were dropped, leaving users with bare hands, but I don't know what I can make publicly available. So, unless someone with sound legal knowledge can give assurances, I will just share those information privately. Giuliano inline: LazIde.pnginline: KylixApp.png
Re: back from holiday, my project crashes lazarus
Seth Grover wrote: Sorry, running Ubuntu 7.10 with gtk1. Hmm... according your back trace you have problem with TCustomNotebook descendant. I created new application, placed notebook on form, but I see no crash. Please recheck with recent svn version. If bug still exits then send here or to bug tracker (better to bugtracker) small test application which will crash. Best regards, Paul Ishenin. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] Free Pascal the best compiler for Android.
Hello, I just added Language benchmarks to my site. If you take in account restricted memory and speed then Free Pascal is the number ONE on his list. So the Lazarus and Free Pascal developers have done an excellent Job ! regards. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] MouseMove problem in WinCE
Hello Everyone, I have just updated Lazarus to latest SVN (13497) and my WinCE application dies if I use a mouse move event. The following is a trivial example that displays the same bug. It works for Win32 but not on WinCE: Type Tform1 = Class(Tform) Procedure Formmousedown(Sender: Tobject; Button: Tmousebutton; Shift: Tshiftstate; X, Y: Integer); Procedure Formmousemove(Sender: Tobject; Shift: Tshiftstate; X, Y: Integer); Private { Private Declarations } Public { Public Declarations } OX, OY: Integer; Public End; Var Form1: Tform1; Implementation Procedure Tform1.Formmousedown(Sender: Tobject; Button: Tmousebutton; Shift: Tshiftstate; X, Y: Integer); Begin OX := X; OY := Y; End; Procedure Tform1.Formmousemove(Sender: Tobject; Shift: Tshiftstate; X, Y: Integer); Begin If ssLeft In Shift Then With Canvas Do Begin Pen.Color := clRed; Line(OX,OY,X,Y); OX := X; OY := Y; End; End; Am I missing something or is this a bug? Thanks, Paul Michell _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives