Re: [Lazarus] LaztoApk troubles
Hello Salvatore, great to hear it is working for you now. What do you suggest to change to make things better for new users?I have read some posts from other folks with the same problems/experience as you discovered? Sam Von: Salvatore Coppola An: Lazarus mailing list Gesendet: 11:04 Montag, 21.September 2015 Betreff: Re: [Lazarus] LaztoApk troubles Sam, thanks for the reply, got it!Salvatore 2015-09-19 20:16 GMT+02:00 sam_herzog : Hello Salvatore, first I would like to explain a little about laztoapk. It just helps you install the whole tool chain, jdk,sdk,ndk and laz4android. And to create the batch-file (.bat) to compile,sign and package a valid .apk file. The problem you are talking about can be solved by either using the batch-files directly or you can use the tabsheet "manual". Regards, DelphiFreak btw I bought delphi xe 10 last week and was able to generate a valid android package (.apk) by just pressing F9. Nice but will cost you around 1000 euros. Von Samsung-Tablet gesendet Ursprüngliche Nachricht Von: Salvatore Coppola Datum: 19.09.2015 09:44 (GMT+01:00) An: Lazarus mailing list Betreff: [Lazarus] LaztoApk troubles Hi,this should be direct to delphifreak but i preferred to ask here, maybe someone already experimented and solved.After configured laz4android jdk sdk ndk, the program execute and make the apk but the problem is that althought the project is changed (another project) always the template is build and packaged as apk. Tried the svn code but nothing changed.I want to take a look at the code.Delphifreak can you list here in a shortlist the logical steps laztoapk doTIA Salvatore -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus for mobile development?
Hi, I had not time so far to build a "real" android app. But I have put together a "Starter-Kit" called "laztoapk". PDF-Tutorial | | | | | | | | | LazToApkTool build android apk-package | | | | Auf sourceforge.net anzeigen | Vorschau nach Yahoo | | | | | | | | | | | | | | LazToApkTool build android apk-package | | | | Auf sourceforge.net anzeigen | Vorschau nach Yahoo | | | | | Video and the Setup SetupThe Project&Sourcecode is hosted a sourceforge.net Have fun, Sam Von: Chavoux Luyt An: Lazarus mailing list Gesendet: 12:55 Donnerstag, 20.August 2015 Betreff: [Lazarus] Lazarus for mobile development? Hi guys, I need to know if I can use Lazarus for mibile development on Android, Windows mobile and iOS (iPhone)? I currently use a program (written in Delphi, I think) that runs only on Android and Windows mobile (and Palm OS?) called CyberTracker, which uses MS access (.MDB) files to store both the data and the structure of the app which will run on the mobile device. It is easy to use for creating an "app" for data collection with GPS readings and pictures. Unfortunately it does'nt run on iPhones (and I have users who need Mac and iPhone versions). Would Lazarus be a good choice to write native apps for these mobile devices? I have done some mobile development in Visual Studio in the past, but only for Wndows devices. (And I have done some "real" embedded development in C and assembler, but have almost no knowledge of the best cross-platform mobile development options). Thanks for any advice or useful links! Cheers,Chavoux -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Is Sekelsenmat aka Felipe still around here?
Hello Mailing-List, is Felipe still active here in the Lazarus-World? Thank you, Sam -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Release of Lazarus 1.4
Hello Matthias and FPC/Lazarus Team! Thank you a lot for making Release 1.4 happen! Who is able to update the Download Links at Lazarus Homepage? It still points to the 1.2.6. Files. Regards, Sam Von: Mattias Gaertner An: lazarus@lists.lazarus.freepascal.org Gesendet: 11:07 Mittwoch, 22.April 2015 Betreff: [Lazarus] Release of Lazarus 1.4 The Lazarus team is glad to announce the release of Lazarus 1.4. This release was built with FPC 2.6.4, same as the previous release Lazarus 1.2.6. Here is the list of changes for Lazarus and Free Pascal: http://wiki.lazarus.freepascal.org/Lazarus_1.4.0_release_notes http://wiki.lazarus.freepascal.org/User_Changes_2.6.4 The release is available for download on SourceForge: http://sourceforge.net/projects/lazarus/files/ Choose your CPU, OS, distro and then the "Lazarus 1.4" directory. Windows x64 users: please use the 32 bit installer if possible. See http://wiki.lazarus.freepascal.org/Windows_Programming_Tips#FPC_2.6.x.2FLazarus_warning_.28Missing_support_for_SEH.29 for more details. Minimum requirements: Windows: 98, 2k, XP, Vista, 7, 32 or 64bit. On 64bit it is recommended to use the 32bit IDE. Win98 IDE needs building with flag -dWIN9XPLATFORM. FreeBSD/Linux: gtk 2.8 or qt4.5, 32 or 64bit. Mac OS X: 10.5 to 10.10, 10.9+ debugging requires -gw, LCL only 32bit, non LCL apps can be 64bit. The svn tag is http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_4 For people who are blocked by SF, the Lazarus releases from SourceForge are mirrored at: ftp://freepascal.dfmk.hu/pub/lazarus/releases/ and later at (after some time for synchronization) http://michael-ep3.physik.uni-halle.de/Lazarus/releases/ and http://mirrors.iwi.me/lazarus/ Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] New FPC 3.0 and Lazarus 1.4 Test Installer
Thank you! Nice installer! Run's fine on winxp sp3. Sam Von: Anthony Walter An: Lazarus mailing list Gesendet: 19:19 Montag, 12.Januar 2015 Betreff: [Lazarus] New FPC 3.0 and Lazarus 1.4 Test Installer I've created a FPC 3.0 and Lazarus 1.4 test installer for Windows. It will not interfer with any other installations you already may have and is available for download here: http://cache.codebot.org/lazarus/setup.exe I will be creating Debian/Ubuntu and OSX install scripts in a day or two. I've made a few minor changes. 1) Anchored design view is installed by default.2) Some windows have had their tools minified and/or better aligned.3) Some code editor defaults have been changed. I'll also be hosting manual build instructions and all setup scripts on github after a round of testing. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Unable to open file LCLActivity.java
Hi, please ask you questions about laztoapk here: http://sourceforge.net/p/laztoapk/discussion/?source=navbar LazToApk / Discussion / Forums | | | | | | | | | | | LazToApk / Discussion / ForumsForum about anything you want to talk about. | | | | Auf sourceforge.net anzeigen | Vorschau nach Yahoo | | | | | Regards, Sam Von: Izac Kruger An: Lazarus mailing list Gesendet: 8:15 Freitag, 21.November 2014 Betreff: [Lazarus] Unable to open file LCLActivity.java Good day all, I'm try to build an Android Apps with the tolls Laztoapk ver 0.9.0.27, During the Automatic Build & Deploy process, it says Unable to open file LCLActivity.java I currently run on Windows 7. Thanks -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Starting Android Emulator for AVD NOT FOUND
Hello Eric, sorry your mail disappered in my Spam-Folder, so discovered it today. I also have often trouble to start the Android Emulator. ( tried on different OS's ). You can play with this settings: error while starting emulator: Emulator] FB::flushWindowSurfaceColorBuffer: window handle 0x4 not found | | | | | | | | | | | error while starting emulator: Emulator] FB::flushWindow...I just started working with android. So when i try to start the AVD (details below) it doesn't start, just a black screen for a time, until I get tired of it and sh... | | | | Auf stackoverflow.com anzeigen | Vorschau nach Yahoo | | | | | I noticed that it sometimes helps to kill adb.exe after you have change some settings an then start again. Hope it helps. Sam Von: Eric Kom An: lazarus@lists.lazarus.freepascal.org Gesendet: 11:14 Dienstag, 11.November 2014 Betreff: [Lazarus] Starting Android Emulator for AVD NOT FOUND Hi all, I'm new on Lazarus for Android I have followed this link: http://sourceforge.net/projects/laztoapk/files/Lazarus%20and%20Android.pdf/download I received this error when I started the AVD: Starting emulator for AVD 'test' creating window 0 0 231 384 FB::flushWindowSurfaceColorBuffer: window handle 0x4 not found FB: closeColorBuffer cb handle 0x3 not found I ran on Windows 7 Thank you -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Question about Donation
Hello M-List, I am pleased with the progress/effort in the freepascal/lazarus eco-space and would like to do a little donation. I already did two donations in the past for lazarus, but this time I'd like to donate to the freepascal team. Does the freepascal team also have a donation account? Regards, Sam-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Lazarus 1.2 RC1
Hi, just to let you know. I opened all 110 projects in the examples folder and tried to compile them. (on win xp sp1) Congratulation, there were only a very few projects with problems: checkbox: Problem with writlen in TForm1.CheckBoxClick Runerror 103 File not open speedtest: S := TFileStream.Create('../images/penguin.xpm', fmOpenRead); missing file penguin.xpm Unable to open file canvastest: Rotate image does not look ok. Press „Show Image Dialog“ and then „Rotate Image“ dbeditmask: problem on startup. 12/09/2003 is not a valid date format grid_semaphor: problem when opening lfm, because some components must be installed before. lazfreetypetest: problem on startup. Exception „can not activate“ Line 249 in ttfile.pas cannot open font (TT_Error 8) „arial.ttf“ Regards, Sam -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Delphi for Android
Hi, have a look at my attempt at sourceforge. Its called "laztoapk" . It works for windows but not yet for linux. Help is welcome. Sam -Ursprüngliche Mitteilung- Von: Sven Barth To: "Lazarus mailing list" Date: Donnerstag, 15. August 2013 11:09:39 GMT+0200 Subject: [Lazarus] Delphi for Android Hello together! Since Delphi now indeed seems to get an Android port I thought that I'd mention this blog entry by Marco Cantu here as well: http://blog.marcocantu.com/blog/compiling_android_apps_delphi.html?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+marcocantublog+%28marcocantu.blog%29 One can of course argue whether this is more for lazarus-other or not, but maybe we can discuss here how one could improve the development experience with Lazarus when developing for Android (automatic APK building, etc.) Regards, Sven -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] anyone else see's problems when try to access "Daily Snapshots"?
Hi, anyone else see's problems when try to access "Daily Snapshots"? I get : Not Found The requested URL /test/lazarus was not found on this server. Apache/2.2.22 (Ubuntu) Server at freepascal.dfmk.hu Port 80-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] How to get in contact with Felipe Monteiro de Carvalho?
Hi all, I tried to get in contact by forum Personal-Message with Felipe. Is he still around here? Regards, Sam -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Arm-linux PPU invalid versioin 126
Hi leledumbo, thanks for you answer. I will wait for codetyphon 4.30. Regards, Sam Von: leledumbo An: lazarus@lists.lazarus.freepascal.org Gesendet: 8:57 Dienstag, 7.Mai 2013 Betreff: Re: [Lazarus] Arm-linux PPU invalid versioin 126 > I have put a bounty to get a lazarus installer with android free pascal cross compile included. I've seen it and I guess I can do it since I already have in my current setup on Linux. But I'm too lazy to open my Windows again... :P A problem that might appear is that since the support is available on trunk, there's no guarantee that it will be bug free (well, even the stable version does, but not as problematic as trunk, especially since recently a branch has just been merged). -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Arm-linux-PPU-invalid-versioin-126-tp4031143p4031161.html Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Android LCL example with 2.7.1
Hello, any estimate when the Lazarus daily snapshots will contain fpc 2.7.1. Regards, Sam Von: Sven Barth An: lazarus@lists.lazarus.freepascal.org Gesendet: 9:35 Donnerstag, 7.März 2013 Betreff: Re: [Lazarus] Android LCL example with 2.7.1 Am 07.03.2013 07:25, schrieb Mattias Gaertner: > On Thu, 7 Mar 2013 07:07:07 +0100 > Sven Barth wrote: > >> Am 06.03.2013 23:53 schrieb "Mattias Gaertner" : >>> On Wed, 06 Mar 2013 15:48:43 +0100 >>> Sven Barth wrote: >>> Hello together! I've managed to run the Android LCL example compiled with the arm-android port of 2.7.1 on the Android emulator (API version 8) with default settings (no -Cparmv6). What is important though is that in the lcl.lpk the following code in the Conditionals is removed (line 49) otherwise a SIGILL error happens when starting the app: === code begin === if TargetCPU='arm' then CustomOptions := '-CpARMV6'; === code end === >>> It can only be removed for fpc 2.7.1? >>> What about 2.6.2? >> The only compiler that supports arm-android is 2.7.1. > Thanks. I removed it. Thank you. Regards, Sven -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Problems with Lazarus - off-topic question
Hi Chavoux, the feature you are asking for is already there. Goto "View"--> "IDE Internals" Then choose "About IDE" or "About FPC". Regards, Sam Von: Chavoux Luyt An: Lazarus mailing list Gesendet: 10:22 Dienstag, 19.Februar 2013 Betreff: Re: [Lazarus] Problems with Lazarus - off-topic question Hi Mattias On 19 February 2013 11:12, Mattias Gaertner wrote: On some Linux the QT version is faster. Unfortunately there is no >debian package for that. But compiling it is easy. > Is there anywhere where it is explained how this was done? The original Delphi language was pretty much a Pascal wrapper around the Windows API (that would probably just convert the Pascal-style calls to (far) c-style calls and then link to the various windows .dll's)? How does this convert into QT (or GTK for that matter)? Is there a document that explains this? I assume this translation and linking is done by Lazarus and is not built into fpc? Thanks Chavoux -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] New user interface for future major releases of Lazarus
Hi, I use a 13" Labtop to develop with Lazarus. (with AnchorDocking). And please forget about this uggly stupid Ribbon-Style (as introduced with Office2007). Just my oppinion. And as already mentioned in other statements: Style "changes/ has to change" in commercial products for marketing reason. Lazarus is not commercial and should only change style for "usability" reason. Regards, Sam-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus 1.0.4 Release
Super. Thank you. I have just updated http://de.wikipedia.org/wiki/Lazarus_%28Entwicklungsumgebung%29 but someone reverted my changes. Don't know why. Regards, Sam Von: Mattias Gaertner An: lazarus@lists.lazarus.freepascal.org Gesendet: 10:12 Sonntag, 2.Dezember 2012 Betreff: [Lazarus] Lazarus 1.0.4 Release The Lazarus team is glad to announce the release of Lazarus 1.0.4. This is a bug fix release. Here is the list of changes: http://wiki.lazarus.freepascal.org/Lazarus_1.0_fixes_branch#Fixes_for_1.0.4_.28Merged.29 The release is available for download at the SourceForge download page: http://sourceforge.net/projects/lazarus/files/ Choose your CPU, OS, distro and then the "Lazarus 1.0.4" directory. Minimum requirements: Windows: 98, 2k, XP, Vista, 7, 32 or 64bit FreeBSD/Linux: gtk 2.8 or qt4.5, 32 or 64bit Mac OS X: 10.5, LCL only 32bit, non LCL apps can be 64bit This release has been built with fpc 2.6.0 (the former release 1.0.2 was built with that too). The svn tag is http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_0_4 For people who are blocked by SF, the Lazarus releases from sourceforge are mirrored at: ftp://freepascal.dfmk.hu/pub/lazarus/releases/ and later at (after some time for synchronization) http://michael-ep3.physik.uni-halle.de/Lazarus/releases/ and http://mirrors.iwi.me/lazarus/ Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Close Project means Close Project!
Hi Ajeandro, I know it is annoying, I reported this already several years ago. But I is also not easy to fix. ( because it was never designed this way, don't know why ). Anyway... Lazarus is open-source, so you are invited to fix it and send a patch :-) Regards, Sam Von: Ajeandro Gonzalo An: lazarus@lists.lazarus.freepascal.org Gesendet: 21:30 Dienstag, 18.September 2012 Betreff: [Lazarus] Close Project means Close Project! When we do Project|Close Project it indeed seems to close the project. BUT when we Quit Laz and then open it again, there is the project loaded again! This is NOT what is wanted, and it is an annoyance, to say the least, to have to open a new project before Quit just avoid the undead project! Please fix, at least by the next version. Thank you. A. G. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus 1.0 release candidate 2 available for download
Installed and works fine on winxp sp3. Question: How difficult would it be, to have a Option in the installer to let the user choose normal or docking mode? AnchorDockingDsgn works fine. Regards, Sam Von: Mattias Gaertner An: lazarus@lists.lazarus.freepascal.org Gesendet: 11:00 Mittwoch, 22.August 2012 Betreff: [Lazarus] Lazarus 1.0 release candidate 2 available for download The Lazarus team is glad to announce that Lazarus 1.0RC is available for download at the SourceForge download page: http://sourceforge.net/projects/lazarus/files/ Choose your CPU / OS / distro and then the 1.0RC1 directory. Minimum requirements: Windows: 98, 2k, XP, Vista, 7, 32 or 64bit FreeBSD/Linux: gtk 2.8 or qt4.5, 32 or 64bit Mac OS X: 10.4, LCL only 32bit, non LCL apps can be 64bit This release has been built with fpc 2.6.0 (the former release 0.9.30.4 was built with that too). The svn tag is http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_0_RC1 The list of changes: http://wiki.lazarus.freepascal.org/Lazarus_1.0_release_notes For people who are blocked by SF, the Lazarus releases from sourceforge are mirrored at: ftp://freepascal.dfmk.hu/pub/lazarus/releases/ and later at (after some time for syncronization) http://michael-ep3.physik.uni-halle.de/Lazarus/releases/ and http://mirrors.iwi.me/lazarus/ Please, let me know if you find any problems with these release candidates. Also let me know if you installed it without any problem. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus 1.0 release candidate 1 available for download
Ok, now I am trough all 101 examples. I just tried to open, compile and run the examples. I do not judge if the example does what its supposed to do. Will be online tomorrow again. Sam Lazarus 1.0RC examples: bitbutton ---> OK checkbox ---> not OK RunError(103) because of "writeln" combobox ---> OK comdialogs ---> OK edittest ---> OK groupbox ---> OK groupboxnested ---> OK hello ---> OK listboxtest ---> not OK RunError(103) because of "writeln" when pressing button "unused". listviewtest ---> OK loadpicture ---> OK memotest ---> OK messagedialogs ---> not OK RunError(103) because of "writeln" notebk ---> OK notebooktest ---> OK progressbar ---> OK scrollbar ---> not OK RunError(103) because of "writeln" speedtest ---> not OK RunError(103) because of "writeln" synedit1 ---> OK taborder ---> OK testall ---> not OK "External: SIGSEGV" in file "testtools.inc" at line 2389. toolbar ---> not OK RunError(103) because of "writeln" trackbar ---> not OK RunError(103) because of "writeln" address_book ---> OK affinetransforms ---> OK nonandroidtest ---> OK childsizinglayout ---> OK barchart ---> OK bidi ---> OK canvastest ---> OK cleandir ---> OK cleandirs ---> not OK "Unable to find the component TCustomDaemonMapper". confcleandira ---> OK codepageconverter ---> OK componentstreaming ---> OK but typo on "Show sream in LFM format". cursors ---> OK database ---> OK dbeditmask ---> not OK. On the first start I get "12/09/2003 is not a valid date format". On the second start it works. designerbaseclass ---> not Ok.Get "Unable to open designer" when loading project. docking ---> OK dockmanager\easyeditor ---> OK dockmanager\easydocking ---> OK dockmanager\makesite ---> OK dockmanager\sitetest ---> OK dockmanager\miniide ---> OK dockmanager\miniide2 ---> OK dockmanager\test1 ---> OK dragimagelist ---> OK dropfiles ---> OK easter ---> OK fontenumeration ---> OK fpdocmanager ---> OK. Can not be used with fpc 2.6 gridexamples\gridcelleditor ---> OK gridexamples\project1 ---> Not OK. Unable to find the component class "TSemaphorGrid" gridexamples\spreadsheet ---> OK. gridexamples\title_image_demo ---> OK htmlhelp1 ---> OK htmlhelpsample ---> OK icons\project1 ---> OK imagelist\project1 ---> OK imgview ---> OK jpegexample ---> OK lazfreetypetest ---> not OK. Cannot open font (TT_Error 8) fadein ---> OK. Remark: Application runs but painting seems not well when use button "rotate". resexplorer ---> OK. lclversionexample ---> OK listview ---> OK piccustomdata ---> OK. messages\asynccall ---> OK. messages\project1 ---> OK. motiongraphics ---> OK. mssqlconnsample ---> not OK. does not compile. can not find unit mssqlconn used by dbform. multithreading\criticalsecionexample1 ---> OK multithreading\multithreadingexample1 ---> OK multithreading\singlethreadingexample1 ---> OK multithreading\waitforexample1 ---> OK oiexample ---> OK testbrowserrmc ---> OK openglcontrol_demo ---> OK openurltest ---> OK pascalstream ---> OK pen_brush\project1 ---> OK popupnotifierdemo ---> OK samplepostscriptcanvas ---> OK bitmapscanline1 ---> OK shapedcontrols\project1 ---> OK sprites ---> OK std_actions\project1 ---> OK stock_images\project1 ---> OK syncompletitionsample ---> OK HighlighterTutorial ---> OK synanysynhighlighter ---> OK SynGutterMarkExample ---> OK Remark: little strange, see only a black dos command window. SynPositionHighlighterExample1 ---> OK wndtray ---> OK tv_add_remove ---> not OK. "Unable to read the project info file" tpiproexample ---> OK. widestringstreaming ---> OK testxmlreder ---> OK. Remark: Strange. I dont know what it should do. streamasxmldemo ---> not OK RunError(103) because of "writeln" Von: Mattias Gaertner An: lazarus@lists.lazarus.freepascal.org Gesendet: 23:35 Mittwoch, 1.August 2012 Betreff: [Lazarus] Lazarus 1.0 release candidate 1 available for download The Lazarus team is glad to announce that Lazarus 1.0RC is available for download at the SourceForge download page: http://sourceforge.net/projects/lazarus/files/ Choose your CPU / OS / distro and then the 1.0RC1 directory. Minimum requirements: Windows: 98, 2k, Vista, 7, 32 or 64bit FreeBSD/Linux: gtk 2.8 or qt4.5, 32 or 64bit Mac OS X: 10.4, LCL only 32bit, non LCL apps can be 64bit This release has been built with fpc 2.6.0 (the former release 0.9.30.4 was built with that too). The svn tag is http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_0_RC1 Please, let me know if you find any problems with these release candidates. Also let me know if you installed it without any problem. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus 1.0 release candidate 1 available for download
Hi, I am currently testing the "examples" which come with RC1. (on windows xp sp3 with classic design) Tasks: I open each example in the IDE. I try to compile each example. I try to run each example. Will soon inform about the "findings". Sam-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] KZdesktop: tabbed IDE package
Please let's focus on finishing Version 1.0 before starting new adventures. http://bugs.freepascal.org/roadmap_page.php Von: Reinier Olislagers An: Lazarus mailing list Gesendet: 17:46 Montag, 23.Juli 2012 Betreff: [Lazarus] KZdesktop: tabbed IDE package Hi list, Just wanted to inform those that don't frequent the forum or may have missed the thread. There's a Lazarus package written by Raphaelz from the forum that implements a tabbed layout for Lazarus instead of the standard layout. Forum thread: http://lazarus.freepascal.org/index.php/topic,16736.0.html Sourceforge page: http://sourceforge.net/projects/kzdesktop/ Code: svn://svn.code.sf.net/p/kzdesktop/code/trunk >From Raphaelz's forum posts: > If I worked in the code of Lazarus, the project would be perfect, but > as I want to avoid that the user is required to make these changes > every time it is launched a new version of lazarus, I created the > project as a package. > > instructions: Get the files via SVN, and > install the package "kzdesktop_ide.lpk"; After installation, in > lazarus, go to the menu "Tools \ KZDesktop - Start", and after that, > restart Lazarus. > > Remember that the project is still in development, there are some > bugs that I am solving. If an error occurs that does not leave the > starting lazarus, go to the lazarus folder and delete the file > 'kzdesktop.cfg'. I hope it help! > > For future information, may accompany my website > http://www.raphaelz.com.br > > Sure, I'll be here in the forum also ;) Regards, Reinier -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] \components\lazutils\winfileutil.inc(91, 21) Error: Identifier not found "rsModified"
Can confirm this issue. Regards, Sam Von: Marcos Douglas An: Lazarus mailing list Gesendet: 20:43 Mittwoch, 27.Juni 2012 Betreff: [Lazarus] \components\lazutils\winfileutil.inc(91, 21) Error: Identifier not found "rsModified" Hi, I updated my Laz to rev 37804. Tried to compile and got this error: \components\lazutils\winfileutil.inc(91,21) Error: Identifier not found "rsModified" Lazarus 1.1 r37804 FPC 2.6.1 i386-win32-win32/win64 Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Statistics about Lazarus and FPC
Forum stats: http://www.lazarus.freepascal.org/index.php?action=stats For constributors see : http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/docs/Contributors.txt?view=markup&revision=37352&root=lazarus Download statistics at sourceforge: http://sourceforge.net/projects/lazarus/files/stats/timeline Video about "commits" of the past 11 years ;-) http://vimeo.com/37066125 Some applications: http://wiki.freepascal.org/Lazarus_Application_Gallery Von: Geoffray Levasseur An: 'Lazarus mailing list' ; FPC developers' list Gesendet: 15:42 Samstag, 2.Juni 2012 Betreff: [Lazarus] Statistics about Lazarus and FPC -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello everybody, I'm actually preparing a conference in my LUG about FPC and Lazarus. Regarding that conference, I'd like to incorporate some stats in the conference. I'm so looking for the actual number of active and occasional developers, number of lines of code, etc... Can someone give me that informations? In the hope my conference will help to get interest in what you are doing ;) For people interested and French speaking, I can send the presentation once it's done. Thanks in advance. - -- Geoffray « fatalerrors » Levasseur http://jeff.levasseur.tuxfamily.org GNU-PG public key: B0EC11B62617B11A582A7C4226573BFD878E334D Errare humanum est, sed perseverare diabolicum et cretinum. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/KGD4ACgkQJlc7/YeOM03SAgCdFs9Tl6+dkEKtw1qroYjP+ZWH g4wAn1KfsT87WKgBnbjKk9E7vb2WFKke =eXMQ -END PGP SIGNATURE- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Getting Version 0.99.0 up to 100% this year?
Hi, there are some issues in the roadmap list for version 0.99.0 which should be moved. E.g. http://bugs.freepascal.org/bug_view_advanced_page.php?bug_id=12294 As I can see the LazTarget has been moved to 1.2 already 2011-10-07 18:34 Vincent Snijders LazTarget 1.0 => 1.2 but it's still "Target Version"=0.99.0 The same with this issues: http://bugs.freepascal.org/view.php?id=12397 --> font inconsistencies http://bugs.freepascal.org/view.php?id=19508 --> Incorrect Zoom Metric http://bugs.freepascal.org/view.php?id=16905 --> docked IDE: closing a file moves focus to component palette or none at all http://bugs.freepascal.org/view.php?id=14333 --> Lazarus Metafile: X-platform vector graphic implementation http://bugs.freepascal.org/view.php?id=16374 --> Replace usage of GTK private structures http://bugs.freepascal.org/view.php?id=18219 --> MenuItem size bad under windows 7 high dpi modes (reopen issue) http://bugs.freepascal.org/view.php?id=18645 --> Modal form can be stuck under other forms http://bugs.freepascal.org/view.php?id=18298 --> Please update the default layout provided with anchor docking package http://bugs.freepascal.org/view.php?id=12294 --> "About Lazarus" menu item should be in the Application menu under Mac OS X http://bugs.freepascal.org/view.php?id=17835 --> chmcontentprovider in chmhelp could be made more useful for context sensitive help http://bugs.freepascal.org/view.php?id=18538 --> Under certain configurations docked windows, lower window arbitrarily increasing its height http://bugs.freepascal.org/view.php?id=15189 -->TDBDateEdit - data-aware TDateEdit http://bugs.freepascal.org/view.php?id=18344 --> TStringGrid - unexpected selection -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] IDE Main Window: height is too small and cannot resize (Linux/GTK2)
Hi Luiz, you are right. Almost everything can be configured/customized in lazarus IDE. But this is really important, because "first impressions count". Recently I convinced a colleage to install lazarus. On the first start, the Lazarus IDE really looks uggly and not so professional. (on windows plattform) Sam Von: Luiz Americo Pereira Camara An: lazarus@lists.lazarus.freepascal.org Gesendet: 16:33 Samstag, 11.Februar 2012 Betreff: Re: [Lazarus] IDE Main Window: height is too small and cannot resize (Linux/GTK2) On 10/2/2012 15:48, Samuel Herzog wrote: > Hi all, > > sorry, but this issue was brought up by me. > > I tried to solve http://bugs.freepascal.org/view.php?id=1020 which is almost > 7 years old. (reported in 2005) > > And I must say, on windows plattform the Lazarus IDE MainBar really looks > uggly. > The MainBar Height was set to 110. On windows 75pixel looks perfect. So we > had 35pixels of just gray colored nothing. > > So we need a flexibel, OS-dependent patch for this issue. Otherwise it might > look uggly for another 7 years ;-) I dont see why all this fuzz. In my copy of Lazarus (win32) the IDE remember the position of the window. So, if the user does not like the default height just resize to his desire and next time open will show the "correct" height Luiz -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] IDE Main Window: height is too small and cannot resize (Linux/GTK2)
Hi all, sorry, but this issue was brought up by me. I tried to solve http://bugs.freepascal.org/view.php?id=1020 which is almost 7 years old. (reported in 2005) And I must say, on windows plattform the Lazarus IDE MainBar really looks uggly. The MainBar Height was set to 110. On windows 75pixel looks perfect. So we had 35pixels of just gray colored nothing. So we need a flexibel, OS-dependent patch for this issue. Otherwise it might look uggly for another 7 years ;-) I tried yesterday to make a new dynamic patch, but I was not able to determ the height of the mainmenu. Will continue tonight. Regards, Sam Von: Vincent Snijders An: Lazarus mailing list Gesendet: 23:12 Donnerstag, 9.Februar 2012 Betreff: Re: [Lazarus] IDE Main Window: height is too small and cannot resize (Linux/GTK2) Op 9 februari 2012 21:55 heeft het volgende geschreven: > Citiram Bart : > > >> Hi, >> >> Just updated Lazarus to r35276 on Linux GTK2 / Fpc 2.6.0. >> >> The IDE's main window (the one with the component palette) now has >> lost some pixels in its height (appr. 15), and half of the component >> pallette has become invisible. >> The main IDE window isn't resizable anymore, only minimize and close >> buttons are available. >> >> Anyone else seen this? >> Can it be fixed? > > > Yes, by creating patch which will dynamically count needed height. > btw. it looks ok here Lazarus 0.9.31 r35277 FPC 2.6.1 i386-linux-gtk 2 > (gtk2-2.24 on fedora 16). > It could be gtk2 theme related ... > Maybe we should revert the change made by Juha, until there is a proper fix? Vincent -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Server Problems ?
Hi, is this just me ? I have problems to get the lazarus web-page loaded. Regards, Sam -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Daily snapshots are not updated anymore ?
Hi, looks like there is a problem on the build machine ? The dalily snapshots for windows have stopped at end of 2011 (except win64 version). Regards, Sam-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] [TIP]: Installing Lazarus under Linux via SVN (Ubuntu 11.04 or later)
Thanks! I was not able to install Lazarus-SVN on linux. I thought, wow Windows installers e.g. setup.exe are a nice thing! But your script runs perfect. Just installed on mint 11 (gnome). Took about 10mins to compile and install everything. Regards, Sam --- silvioprog schrieb am Do, 2.6.2011: Von: silvioprog Betreff: [Lazarus] [TIP]: Installing Lazarus under Linux via SVN (Ubuntu 11.04 or later) An: "Lazarus mailing list" Datum: Donnerstag, 2. Juni, 2011 16:33 Uhr Hi. I edited a new page in wiki of Lazarus: http://wiki.freepascal.org/Installing_Lazarus#Ubuntu_11.04_or_later Enjoy! -- Silvio Clécio === Blog - Twitter - LazSolutions - Lazarus-BR - === * Conheça nosso canal IRC sobre Lazarus: #lazarus-br * === -Integrierter Anhang folgt- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] More to discuss about Main-Menu
Please, Please. Think about this thread from a absolute beginners point of view. He starts the IDE the first time and of course he wants to see some action. Probably he will choose "Run" and see an empty form. Next step. He will look for some examples to open and run. Of course he starts looking into "File" menu but not find it because it's somewhere in the middle in the Menu "Project". I have also added a feature request in bug-tracker to fill some examples into the "Recent projects" list when installing lazarus. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] More to discuss about Main-Menu
Thanks for cleaning up these things. Just for fun I counted the number of menu-items we have at the moment. It's 154 menu-items! There is more to discuss about main-menu items. A) I think the menu-item "Project" is more important than the menu-item "File". So it should be the first item. Or put these two into one menu-item. B) The items "Build","Build All","Abort Build","Quick Compile" should be placed in the "Project" menu-item or the main menu-item "Run" should be renamed. Regards, Sam --- Juha Manninen schrieb am Sa, 5.3.2011: Von: Juha Manninen Betreff: [Lazarus] Refactor Menu An: "Lazarus mailing list" Datum: Samstag, 5. März, 2011 12:19 Uhr Hi I have refactored Lazarus main menu by adding a Refactor menu. :-) I also added a Source menu. Eclipse and some other IDEs have done the same thing. Sometimes it is difficult to decide under which menu a menu item belongs. "Enclose Selection ..." is now under Refactor menu. It could be under Source menu together with "Comment Selection ...", too. Later the editor local menu will have Source menu, and some checks will be added to disable the entries when they can't be used. More ideas? Regards, Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] How to help in fighting SPAM at Lazarus homepage?
Hi, as already mentioned there are recently a lot of "SPAM"-Accounts created to place their things in the WIKI or in the Forum. How can I help to fight this? Who can delete these user accounts? Regards, Sam -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus web site not accessible
Yes, also no connection from Switzerland. --- Robin Hoo schrieb am Mi, 28.7.2010: Von: Robin Hoo Betreff: [Lazarus] Lazarus web site not accessible An: Lazarus@lists.lazarus.freepascal.org Datum: Mittwoch, 28. Juli, 2010 08:12 Uhr Hi, All Did you find that the lazarus web sites accessing are very slow or not available? I tried http://www.lazarus.freepascal.org/, and got timeout. Tried http://wiki.freepascal.org/ , and got "the server does not have a DNS entry" error. Any idea of that? I tried the access from China. Best Regards Robin Hoo -Integrierter Anhang folgt- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] next release date?
Hi Graeme, you bring up a difficult question. I would already be happy if someone would announce a "feature freeze" for release 0.9.30 At the moment the bugtracker say's we are at 87%. http://bugs.freepascal.org/roadmap_page.php But I tried several times to convince people to move some remaining Issues (either because not reproducable, or only "nice to have") to next version. Regards, Sam Von: Graeme Geldenhuys An: Lazarus mailing list Gesendet: Freitag, den 25. Juni 2010, 11:38:29 Uhr Betreff: [Lazarus] next release date? Hi, I would like to get my Lazarus todo list in order. Is there any scheduled release date for the next Lazarus version? I guess it will happen some time after FPC 2.4.2 release (anybody know when that is too?). -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Revision 25204 fails to build
Hello Matthias, I had the same problem in win32. The "Clean all" Option did not solve the problem. I downloaded the latest daily snapshot and installed it over my previous installation. This solved the problem. Von: Mattias Gärtner An: lazarus@lists.lazarus.freepascal.org Gesendet: Freitag, den 7. Mai 2010, 10:25:25 Uhr Betreff: Re: [Lazarus] Revision 25204 fails to build Zitat von Kjow : > 2010/5/7 tim launchbury : >> >> The above revision ( and all subsequent ones ) fail to build with the >> followinf messages >> >> Linking ../lazarus >> /usr/bin/ld: warning: ../link.res contains output sections; did you >> forget -T? >> ../units/i386-linux/sourcesyneditor.o: In function `DRAWDEBUGMARK': >> /home/tim/misc/new-laz/ide/sourcesyneditor.pas:172: undefined reference >> to `CONTROLS_TCONTROL_$__GETCONTROLCLASSDEFAULTSIZE$$TPOINT' >> lazarus.pp(127,1) Error: Error while linking >> lazarus.pp(127,1) Fatal: There were 1 errors compiling module, stopping There are some cases, where FPC does not recompile all changed units. The bug is already reported. Workaround is simple: You have to check the 'clean all' checkbox in the configure build lazarus dialog. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus make me create better apps
>>Now, I really think Graeme's new IDE is a good thing to have. >>It has different goals than Lazarus. It is built around only one widgetset, >>fpGui. It does not need to worry about Delphi compatibility. >>Those are the main challenges of Lazarus, supporting Delphi compatibility for >>many native widgetsets. >>Given the design goals and Graeme's coding skills, I would estimate his IDE >>will be in good shape relatively quickly, in one or two years. Yes, the project will get up to 85%. Then only the real hard bugs will remain and some start's thinking of starting the whole thing. ;-) Sam >>Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Challenge of converting a Delphi project
Ok, I don't want to argument about formating. But did you see that the call to FindManagedControl(found); is useless ? Von: Juha Manninen An: Lazarus mailing list Gesendet: Mittwoch, den 5. Mai 2010, 13:34:09 Uhr Betreff: Re: [Lazarus] Challenge of converting a Delphi project Samuel Herzog wrote: > They way I format the my source-code and and ess-model is a good example why such things are important > > Original: > ** > procedure TessConnectPanel.DblClick; > var > found: TControl; > begin > inherited; > found := FindLCLWindow(Mouse.CursorPos); > if Assigned(found) then > begin > FindManagedControl(found); > if found <> Self then > TCrackControl(found).DblClick; > end; > end; > > The same with my formating-style: > ** > procedure TessConnectPanel.DblClick; > var > found: TControl; > begin > inherited; > found := FindLCLWindow(Mouse.CursorPos); > if not Assigned(found) then exit; > FindManagedControl(found); > if found = Self then exit; > TCrackControl(found).DblClick; > end; > > Much better to read, and you see at once, that "FindManagedControl" looks strange! > > There is only one rule that applies for all programmer's! We read source- code from top-down. > That's why I try to avoid "else"-statements. Thanks, I took out the useless FindManagedControl call. It was already in the original EssModel code. I must say I like the original indented formatting more. Indentation carries information by itself. Your formatting loses that information. ... and there was no "else"-statements. Anyway, it is a minor thing. Regards, Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Challenge of converting a Delphi project
They way I format the my source-code and and ess-model is a good example why such things are important Original: ** procedure TessConnectPanel.DblClick; var found: TControl; begin inherited; found := FindLCLWindow(Mouse.CursorPos); if Assigned(found) then begin FindManagedControl(found); if found <> Self then TCrackControl(found).DblClick; end; end; The same with my formating-style: ** procedure TessConnectPanel.DblClick; var found: TControl; begin inherited; found := FindLCLWindow(Mouse.CursorPos); if not Assigned(found) then exit; FindManagedControl(found); if found = Self then exit; TCrackControl(found).DblClick; end; Much better to read, and you see at once, that "FindManagedControl" looks strange! There is only one rule that applies for all programmer's! We read source-code from top-down. That's why I try to avoid "else"-statements. Von: Juha Manninen An: Lazarus mailing list Gesendet: Dienstag, den 4. Mai 2010, 10:12:25 Uhr Betreff: Re: [Lazarus] Challenge of converting a Delphi project Samuel Herzog wrote: > I compiled ess-model from your git repo on win32. > Had to add 3 TODO's to make it compilable for win32. > > Tried to commit the changes to your git-repo. > It was the first time I used git and it looks like my user-settings were not > very good. The name used to commit was "master". I have changed my settings > so next time it should be better. > > That's it for the moment. Will play around with the sources as soon as I > have some spare time. No, you can't commit (push) your changes directly to my repository. The GitHub "free plan" account allows only one personal repository and no other direct committers. However, it allows you to fork any number of existing repositories, change them and then send pull requests. The flow is explained nicely here: http://jagregory.com/writings/git-remotes-contributions-and-the-letter-n/ I am also learning this now and I would be happy to test with your pull request. It should be easy: First, at http://github.com: 1. Create a "free plan" account. 2. Find my Pascal repository. 3. Click the Fork-button. Now you have a forked Pascal repo. Then at your machine: $ git clone git://github.com/YourName/Pascal.git Edit code ... git commit ... repeat if needed. $ git push origin Then again at http://github.com: Select your forked Pascal repo and click "Pull Request" button. There should be my name selected automatically. It is actually cool. I was wondering how git users can pull from each other when most people have dynamic IP addresses. GitHub is one way to solve that. > Thank you very much for your incredible work you did for the DelphiToLazarus > Convertion stuff Thanks for the positive feedback but the converter is not so incredible yet. The form file conversion fails on most non-trivial Delphi projects. Needs much more work. The converter will never be perfect. I mean it can't do a fully automatic conversion. This EssModel prog is a good example. I can't convert it even manually after days of debugging. It would never happen automatically. Regards, Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Challenge of converting a Delphi project
Hi Juha, I compiled ess-model from your git repo on win32. Had to add 3 TODO's to make it compilable for win32. Tried to commit the changes to your git-repo. It was the first time I used git and it looks like my user-settings were not very good. The name used to commit was "master". I have changed my settings so next time it should be better. That's it for the moment. Will play around with the sources as soon as I have some spare time. Thank you very much for your incredible work you did for the DelphiToLazarus Convertion stuff Regards, Sam --- Juha Manninen schrieb am Mo, 3.5.2010: Von: Juha Manninen Betreff: [Lazarus] Challenge of converting a Delphi project An: lazarus@lists.lazarus.freepascal.org Datum: Montag, 3. Mai, 2010 13:52 Uhr Hi I have been converting EssModel Delphi program, partly as an exercise and partly because it could develop into a useful program or component. It is a reverse engineering class diagram tool. I am facing more problems than expected. This is not related to Delphi converter in Lazarus but to the manual editing after it. First, the code uses a trick. It typecast controls like TForm to a local TCrackControl just to reach the protected TControl.OnMouseDown and such. type TCrackControl = class(TControl); // <-- empty local class var found: TControl; cc: TCrackControl; and later: // 'found' can be TForm or anything. cc:=TCrackControl(found); // <-- error cc.OnMouseDown := ... It gives 'RunError(219)', and the whole Lazarus may become unstable. The typecast is actually OK because the controls inherit from TControl and OnMouseDown is defined there. According to Mattias this system is even used in Lazarus itself. In a small test project the same system worked for me, too. ??? The program used interfaces heavily, actually in a clever way. I thought they cause the above problem and changed the code quite much to get rid of interfaces. No difference, it still doesn't work. Next problem: I noticed there are TActions defined in a DataModule which is created in MainForm.OnActivate handler, and the actions are used in form's menu and button. I thought it causes problems and I copied everything from DataModule to MainForm. I set the actions carefully like they were before and now menu items work but open-button does not. The exact same action is triggered by menuitem but not by button! So, this refactoring didn't solve any problems but created a new one. And then: before the program closes it writes recent files to registry. It gives an error when writing a string, although I can find the "reg.xml" file it wrote. The same thing works in my small test project without errors. All the program's behavior is defined in project file, pascal source code and form files. Am I correct? So, WHAT CAN CAUSE SUCH PROBLEMS? I have used many many hours already trying to solve this. The program itself is not very important now, I could as well forget it. I just feel uncomfortable when there are errors which I can't explain. Besides I am supposed to improve Delphi converter but now I am not even able to convert a program myself... My tests happened on Linux, with GTK2 and QT. If someone likes to look at the code, please do this: $ git clone git://github.com/JuhaManninen/Pascal.git It is not big. At least it should be easy to verify the MainForm.OpenButton doesn't work while it should, even though the program hasn't done anything yet. Regards, Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Roles in BugTracker
Hi, are the BugTracker Roles somewhere described ? I could not find it in the WIKI. I see a least this three categories reporter developer manager Are only manager's allowed to add a patch? I ask because I want to commit a patch. Thanks. __ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Is Lazarus project in a downward spiral?
Hello, I don't think we are in a downward spiral. The number of people constributing to this project is increasing. The core-team get's more patches than it can handle at the moment. I think the lazarus project needs more people which are allowed to apply patches. As already said by other's, this year for example Juha got the that level and as I recently noticed, the "Converting area" has improved drastically! Thanks juha. I usually go through the open tickets on saturday and see a lot of tickets with assigned patches. Some of them are really simple (e.g. change of a string) but they are untouched for weeks/months. I also see an increasing number of open tickets which are periodically reported and already adressed in bugtracker. As a reporter I can only comment this, but not close or link with existing reports. About next release 0.9.30: Please address a feature-freeze. Move attached tickets which belong to new features to next release. 0012355: [IDE] Combine the Find dialog and Find in Files dialog to a single dialog 0012294: [IDE] "About Lazarus" menu item should be in the Application menu under Mac OS X 0012828: [IDE] there could be room for separate builds. 0013930: [Patch] New IDE Add-On Package: Opened File List Browser 0015096: [IDE] Search Box preconfiguration - acknowledged. 0015133: [IDE] CHM help integration in IDE fails Happy coding to all ;-) Sam __ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Release 1.0, part 2
Hi, here my comments about this: Lazarus uses a "BugTracker"-driven release/version cycle. So the people who have rights to priorize the bugs actually decide about this. I think this is OK. But to get closer to a version 1.0 the handling of the bug-reports should be changed a little. If I look at the remaining 44 Open Points of 0.9.30 then I suggest the following: A) bugs without a simple test-project to reproduce the problem should be moved to next version. B) bugs which are not reproducable should be moved to next version e.g. "modal form is sometimes buggy" C) feature requests should be moved to the next version. e.g. "Combine the Find dialog and Find in Files dialog to a single dialog" And if we one day really want to have a version 1.0, then we need to agree first on a feature freeze. Happy coding to all of you. Sam --- Tom Lisjac schrieb am So, 29.11.2009: Von: Tom Lisjac Betreff: [Lazarus] Release 1.0, part 2 An: lazarus@lists.lazarus.freepascal.org Datum: Sonntag, 29. November 2009, 5:14 >> So what exactly is the Lazarus team afraid of in getting to v1.0? > > Since we think it's not ready for 1.0. > > Period. The above comment seems to have stopped the previous Version 1.0 thread so I'm starting a new one with the hopes of hearing some additional comments and suggestions for achieving this goal. Of course the core compiler and ide development teams have done an awesome job over the many years that this project has been in process, but *many* others have also contributed their time and energy along the way and have an interest in seeing this project achieve a 1.0 release. Personally, I'd like to see Lazarus and FPC start to move forward and get the respect and larger following that they deserve... but with it's history and stalled 1.0, I don't blame any noob, experienced developer or business that makes an informed decision to avoid this toolchain. The problem I see is credibility... or "if we write a lot of code with Lazarus/FPC, will it be maintainable with the project in perpetual beta?". Delphi was stable from release 2 and code I developed with it in versions 2, 3, 4 and 5 continued to "just work" as I upgraded. Not the case here. I've been writing new code with Lazarus since 2002 and have learned that anything I write today is virtually guaranteed to be broken and uncompilable tomorrow because somebody thought it would be cool to change some aspect of the Object Pascal language or completely revise a library interface or function. It's become a lot of work to maintain the stuff I've already written and I'm reluctantly considering not using Lazarus for any new projects. Businesses laugh in our general direction over the code breakage issue where a project investment using Lazarus/FPC may end up a QA and maintenance nightmare. This view is shared by many of my colleagues who can't understand why I'm still using a beta ide on a "dinosaur language from the 80's". How's that for an insult? I agree with Graeme's posting that this has become a public relations issue... an obvious one. I'm also starting to see it as a squandered opportunity to displace the bloated languages on the Linux platform where fast, compact and self contained Lazarus apps should be a dominant presence right now... today. Yes, Lazarus is an open source project, people work on it for fun and there is no business entity that is promoting it. Lazarus has been active for around 10 years and FPC even longer then that. The Linux OS also started to emerge during this same timeframe with the same type of development model. To compare, Linux is now running corporate datacenters around the world... and Lazarus is still in beta with very few public applications deployed. I don't think a case can be made that the project isn't ready for 1.0... after 10 years of development and it's current, impressive state, of course it is. The next steps are to actively discuss the finer points of what "ready" is and to set a definite goal to achieve it. As I see it, this will involve a feature set freeze, establishing bug thresholds *and* making a reasonably sincere commitment to not break compatibility at the source level past the version 1.0 release that will hopefully be shared by the FPC team. A version 1.0 milestone is crucial and much more then a given feature set and minimized bug list. It also conveys the idea of stability and confidence to anyone who may be interested in investing their time to learn the language, use the tools and create something of lasting value. If we don't start building that confidence in the larger community pretty soon, this project will continue to be viewed as a "toy" and will eventually become a relic to a once great development paradigm. Thanks, -Tom -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus __ Do You Yahoo!? Si
[Lazarus] International Olympiad in Informatics 2009 and FreePascal
Hello, on the news on freepascal.org I see that International Olympiad in Informatics 2009 has been won by a person using freepascal. I searched the original homepage http://www.ioi2009.org/ but could not find out which person did use gcc and which person did use freepascal. Does someone know if this is visible somewhere ? Thanks. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus and Windows 7
Hello Florian, on my windows xp it looks the same. So it's as you suspected something with german localization and not a problem in relation with windows 7. Regards, Sam --- Florian Klaempfl schrieb am Sa, 15.8.2009: Von: Florian Klaempfl Betreff: Re: [Lazarus] Lazarus and Windows 7 An: "Lazarus mailing list" Datum: Samstag, 15. August 2009, 9:52 Paul Ishenin schrieb: > Florian Klaempfl wrote: >> I installed W7 Prof. today on my PC and tested several programs. Lazarus >> basically works though it cannot compile but this could be also to my >> lazarus installation. Nevertheless, some buttons are too small and text >> is clipped. Shall I create bug reports for this? >> > Can you show a screenshot. I have not noticed that. Maybe you > ocasionally installed 0.9.26.x? No, I suspect German localization, see e.g. attachment. -Integrierter Anhang folgt- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus <>-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Would like to help, but....
I like to help in fixing issues. But with this one I am not sure if it makes sense to do this, and if yes, then what would be the best way. http://bugs.freepascal.org/view.php?id=13961 Paul has already answered, but I am still not happy with the current situation. TCustomLabel = class(TGraphicControl) TCustomSpeedButton = class(TGraphicControl) Someone has implemented already the Autosize mechanism for TCustomLabel. What do you suggest to do ? Create a class TCustomGraphicControl with AutoSize support and then inherit TCustomLabel and TCustomSpeedButton from this new class ? Regards, Sam -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Would like to help, but....
I like to help in fixing issues. But with this one I am not sure if it makes sense to do this, and if yes, then what would be the best way. http://bugs.freepascal.org/view.php?id=13961 Paul has already answered, but I am still not happy with the current situation. TCustomLabel = class(TGraphicControl) TCustomSpeedButton = class(TGraphicControl) Someone has implemented already the Autosize mechanism for TCustomLabel. What do you suggest to do ? Create a class TCustomGraphicControl with AutoSize support and then inherit TCustomLabel and TCustomSpeedButton from this new class ? Regards, Sam -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Would like to help, but....
I like to help in fixing issues. But with this one I am not sure if it makes sense to do this, and if yes, then what would be the best way. http://bugs.freepascal.org/view.php?id=13961 Paul has already answered, but I am still not happy with the current situation. TCustomLabel = class(TGraphicControl) TCustomSpeedButton = class(TGraphicControl) Someone has implemented already the Autosize mechanism for TCustomLabel. What do you suggest to do ? Create a class TCustomGraphicControl with AutoSize support and then inherit TCustomLabel and TCustomSpeedButton from this new class ? Regards, Sam -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Would like to help, but....
I like to help in fixing issues. But with this one I am not sure if it makes sense to do this, and if yes, then what would be the best way. http://bugs.freepascal.org/view.php?id=13961 Paul has already answered, but I am still not happy with the current situation. TCustomLabel = class(TGraphicControl) TCustomSpeedButton = class(TGraphicControl) Someone has implemented already the Autosize mechanism for TCustomLabel. What do you suggest to do ? Create a class TCustomGraphicControl with AutoSize support and then inherit TCustomLabel and TCustomSpeedButton from this new class ? Regards, Sam -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Some thoughts about the global 'Application' instance.
By the way, I was always wondering why there is not TUser object and no TComputer. For example: TUser.SettingsPath TUser.LoginID TUser.Surname TUser.Firstname and so on. And TComputer.CurrentUser TComputer.Name TComputer.SettingsPath Or does this exist already ? I only know TApplication and TScreen so far. Regards, Sam --- Martin Friebe schrieb am Sa, 20.6.2009: Von: Martin Friebe Betreff: Re: [Lazarus] Some thoughts about the global 'Application' instance. An: "Lazarus mailing list" Datum: Samstag, 20. Juni 2009, 16:11 Joost van der Sluis wrote: > Hi all, > > I always thought that an application always had one Application-instance > from the TCustomAppliction class. But at this moment this is not the > case for fcl-web applications, or daemon-applications which are using > Lazarus-forms. > > Take for example the fpcgi unit from fcl-web. (not the old one from > Lazarus) There a global variable Application is defined and initialized > and finalized. This Application should be used throughout the program. > > But nowadays we are forced to include the 'interfaces' unit, which uses > the 'forms' unit which has it's own global Application variable. So > there are two TCustomApplication descdendents initialized during the > program! > Hm, following the thread, there are various ideas, how the case of 2 application instances should/could be avoided. And would be avoided in an automatic (forceful) manner. The range from: - Replacing Application variable by a function, or even unit - depended initialization of Forms.Application (only if no other app...) Now for a start let's ignore the fact that Interfaces forces us to use the Forms unit. (This is a problem of it's own, which can be fixed with a moderate (or less) amount of work (imho). If a program uses both Forms and fcl-web (or any combination of 2 or more units having an application), how should those units know which application is used? More so, how does anyone but the author of the program now, that only one is used? Example: I may write a cgi-application (therefore it must have the web-fcl CgiApplication, right?), but I want to use this app to report the current screen resolution on the Server, so I do want to access the Screen object from the forms unit, which uses the application instance from the forms unit (and probably would not work weel, with an cgiApplication instance?) So there may be cases where more than one instance of different classes of Application is required. The best way to avoid it, is or the author of the program only to use units that do not instantiate an application, other than the one(s) needed. This brings me back to the original problem: 1) being forced to use Interfaces 2) Intefaces using Forms 2: can be solved: I wrote another mail on that. 1: can be looked at. You are forced to use interfaces, if you use anything that needs to access the widgetsets (btw, in which case you are likely (but only likely) to need the Forms.application). If your code does not access any widgetsets then you shouldn't be forced to use interfaces. If you use a unit containing such code, but don't need the the particular bit of code, you must use smartlinking, or the code is included. Otherwise, ther may be a case to find out why and what is using the widgetsets. Best Regards Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus