Re: [Lazarus] Lazarus Mailinglist Reader
On Sun, 15 Nov 2015 21:55:22 +0100, Werner Pamler wrote: >This mailing list is fully loaded with valuable information for both new >and experienced users. Unfortunately, it is a bit difficult to access >this information. There is an archive of previous mails >(http://lists.lazarus.freepascal.org/pipermail/lazarus/), but it is a >pain to open each mail one by one, and there are no searching capabilities. Have yoiu tested a newsreader and the gmane server? It has the comnplete mail list posts since many years back and is very fast also. I am writing this response via Gmane and using Forte Free Agent, but there are other good news readers also available. The point is that Gmane provides the server capacity (blindingly fast too) and with a newsreader you get an organized local message cache. No need to re-invent the wheel... Server: news.gmane.org Newsgroups: gmane.comp.ide.lazarus.general (lazarus) gmane.comp.compilers.free-pascal.general (fpc) -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Release Candidate 1 of Lazarus 1.6
Many thanks Laz Team. Keep up the good work. I do have one observation though, Laz1.4.4 (fixes) and Laz Trunk 1.5 were a bit faster and the generated exe was ~300kb smaller than the one from 1.6. PS: Please do not treat this as a complain of any kind, this is just an observation, in case it makes any difference. On Win 8 - 32bit. Regards, Jamal On Wed, Dec 9, 2015 at 6:16 AM, Anthony Walter wrote: > Mattias, > > I was looking through my mail trying to find the patch Ondrej created for > dotted namespace code completion in CodeTools but I can't find it. has that > been accepted into this release? > > Also, I created a fix for tray icons on Unity (TTrayIcon plain doesn't > work on it), but it would seem a report was never created even though Unity > has been out for more than five years. I don't know if anyone has applied a > version of my fix it to svn, but what I came up with is located here: > > https://github.com/sysrpl/Lazarus.UnityAppIndicators > > -- > ___ > 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] Release Candidate 1 of Lazarus 1.6
Mattias, I was looking through my mail trying to find the patch Ondrej created for dotted namespace code completion in CodeTools but I can't find it. has that been accepted into this release? Also, I created a fix for tray icons on Unity (TTrayIcon plain doesn't work on it), but it would seem a report was never created even though Unity has been out for more than five years. I don't know if anyone has applied a version of my fix it to svn, but what I came up with is located here: https://github.com/sysrpl/Lazarus.UnityAppIndicators -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Release Candidate 1 of Lazarus 1.6
On 08/12/2015 15:19, Mattias Gaertner wrote: The Lazarus team is glad to announce the first release candidate of Lazarus 1.6. This release was built with FPC 3.0.0. The previous release Lazarus 1.4.4 was built with FPC 2.6.4. checksums on our website http://www.lazarus-ide.org/index.php?page=checksums#1_6_0RC1 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Error: OOPS, I lost your class.
On Tue, 8 Dec 2015 13:39:54 -0500 Donald Ziesig wrote: >[...] Hi Everyone! > > I am using Lazarus 1.5 on a Raspberry Pi B 2 and I just encountered an > error I have never seen before while editing. > > I am creating a new generic class as in: > > type >generic TMyClass = class(TMyBaseClass) > public > constructor Create( AParent : TMyBaseClass = nil); > destructor Destroy; override; >end; > > When I hit for auto complete, I get the message "Error: > OOPS, I lost your class" and the implementation section looks like this: Please create a bug report. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Error: OOPS, I lost your class.
Hi Everyone! I am using Lazarus 1.5 on a Raspberry Pi B 2 and I just encountered an error I have never seen before while editing. I am creating a new generic class as in: type generic TMyClass = class(TMyBaseClass) public constructor Create( AParent : TMyBaseClass = nil); destructor Destroy; override; end; When I hit for auto complete, I get the message "Error: OOPS, I lost your class" and the implementation section looks like this: implementation { } constructor Create( AParent : TMyBaseClass); begin end; destructor Destroy; begin inherited Destroy; end; end. This is a much simplified example. Code completion fills in the declarations from properties correctly, but the generated setters and getters also come out in the { } with no class name either. Am I doing something wrong? I have been using this since IIRC Delphi 5 and never encountered this error. (Of course generics may have come later than Delphi 5, but I have used code completion in generics well into the past, just can't remember when I started :-( ). Help making this work will eliminate a lot of typing (and potential errors). Thanks, Don Ziesig -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Release Candidate 1 of Lazarus 1.6
Thanks go out to everyone for their work on Lazarus. I'll test and report back. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Release Candidate 1 of Lazarus 1.6
On Tue, 08 Dec 2015 17:22:04 +0100 Michael Schnell wrote: >[...] > But it might be a lot of work just finding out what to do and it might > be dangerous that something not obviously related is broken. Send patches and people can help. > > You can either extend the nogui widgetset and send us the patch. > > Or you can start your own widgetset. > I need to start a new widget type (i.e. a new interface unit), as the > working mechanism is rather different from all existing widget types. For example? > There is no arch or OS dependent code, it just does calls to the fpc RTL. > > Either by creating your own "LCL" package, e.g. "MSLCL" or by > > extending the LCL. > > If it's possible to distribute it in a package, I don't object at all. > Right now I don't see how a package would be able to have the IDA allow > for selecting a new application type and/or to allow for selecting a > widget type in "Additions and Overrides", but if there is a > documentation on how to create such a package this could be a good way. A new application type requires a design time package. The widgetype list comes from the simple list, but a user can set any value. If you extend the LCL it will be more comfortable for the user. > > Depends on how you want to maintain/promote it. > I don't have a preference on that. > > In the end, I want to allow users to be able to create a "General > Service Application" in the IDE when starting a project and to modify > the widget type of an existing project to be a "General Service > Application". What's the difference between a "General Service Application" and a "Service Application"? Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Release Candidate 1 of Lazarus 1.6
On Tue, 08 Dec 2015 17:24:46 +0100 Michael Schnell wrote: >[...] > A Lazarus user who wants to use the Widget Type should not be forced to > use a not yet released version of fpc. As I said, that's a straw man. I bet in 3 years from now you will find a distro without an official FPC 3. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Release Candidate 1 of Lazarus 1.6
On 12/08/2015 05:09 PM, Mattias Gaertner wrote: That's a straw man argument. Every single revision of FPC is published. Many projects use and/or support FPC 2.7+ since several years. The code relies on TThread.Queue. The first released version of fpc that (hopefully) has TThread.Queue is 3.0. A Lazarus user who wants to use the Widget Type should not be forced to use a not yet released version of fpc. -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Release Candidate 1 of Lazarus 1.6
On 12/08/2015 05:03 PM, Mattias Gaertner wrote: On Tue, 08 Dec 2015 16:44:49 +0100 Michael Schnell wrote: [...] AFAIK, the existing Widget Type is selected in the IDE by setting it in "Additions and Overrides" and/or by selecting an appropriate application type when creating a new project. Of course I can't modify the IDE to support this. Of course you can, it is open source. Yep. But it might be a lot of work just finding out what to do and it might be dangerous that something not obviously related is broken. You can either extend the nogui widgetset and send us the patch. Or you can start your own widgetset. I need to start a new widget type (i.e. a new interface unit), as the working mechanism is rather different from all existing widget types. There is no arch or OS dependent code, it just does calls to the fpc RTL. Either by creating your own "LCL" package, e.g. "MSLCL" or by extending the LCL. If it's possible to distribute it in a package, I don't object at all. Right now I don't see how a package would be able to have the IDA allow for selecting a new application type and/or to allow for selecting a widget type in "Additions and Overrides", but if there is a documentation on how to create such a package this could be a good way. Depends on how you want to maintain/promote it. I don't have a preference on that. In the end, I want to allow users to be able to create a "General Service Application" in the IDE when starting a project and to modify the widget type of an existing project to be a "General Service Application". Moreover I would like to allow others to help improving the code by providing patches to be included in some svn. (But I can't manage an svn - I already failed several times trying.) -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Release Candidate 1 of Lazarus 1.6
On Tue, 08 Dec 2015 16:44:49 +0100 Michael Schnell wrote: >[...] > Obviously it will not be in the first 1.6 release, but happily the > Lazarus releases are scheduled a lot more often than the fpc releases, > so I will not have to wait another three years until the code might be > published. That's a straw man argument. Every single revision of FPC is published. Many projects use and/or support FPC 2.7+ since several years. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Raspberry Pi bundles now available
All versions of the Pi use an ARM chip, which is a specific reduced instruction set (RISC) chip architecture. I believe they are compatible save for their VPF or hard float processors. Raspbian, the required OS for this bundle, has general hard float support built into its libraries. When you type "fpc -ic" using my build, this will be the result: ARMV3 ARMV4 ARMV4T ARMV5 ARMV5T ARMV5TE ARMV5TEJ ARMV6 ARMV6K ARMV6T2 ARMV6Z ARMV6M ARMV7 ARMV7A ARMV7R ARMV7M ARMV7EM This means the user can add any arm specific architecture optimization to his programs by adding -CpARMV7 (or anything from the list above) when compiling. I've had a few people on reddit contact me and so far the issues were minor (I changed the requirement to force gtk+ dev packages be installed), but so far they all say the IDE was fast and now that the install has been correct it works smoothly. If you or anyone has an original Pi, Pi B, or even the Pi Zero, give it a try. I added a Raspberry Pi forum to discuss technical issues should you want to notify me of issue or need help resolving some specific problem: http://www.getlazarus.org/forums/viewforum.php?f=22 What's next is me writing an SDL 2 install page (requires the user to make and install SDL 2 from source) or I may just write an SDL 2 setup script, perhaps appending it to the original setup as an option. Then I will write a few Raspberry Pi specific full screen graphic and sound demos (source code) which should easily be compile and run using either the minimal compiler or Lazarus for Pi. Again, if anyone wants to contribute, just send me note. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Release Candidate 1 of Lazarus 1.6
On Tue, 08 Dec 2015 16:44:49 +0100 Michael Schnell wrote: >[...] > AFAIK, the existing Widget Type is selected in the IDE by setting it in > "Additions and Overrides" and/or by selecting an appropriate application > type when creating a new project. > > Of course I can't modify the IDE to support this. Of course you can, it is open source. You can either extend the nogui widgetset and send us the patch. Or you can start your own widgetset. Either by creating your own "LCL" package, e.g. "MSLCL" or by extending the LCL. Depends on how you want to maintain/promote it. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Raspberry Pi bundles now available
On Sun, 6 Dec 2015 22:54:24 -0500, Anthony Walter wrote: >A correction. The Raspberry Pi minimal compiler url is: > >http://cache.getlazarus.org/archives/fpc-3.0.0.raspberry-min.tar.gz When you say Raspberry Pi do you mean RPi1 or RPi2 or both? They run on different CPU hardware so I think binaries have to be compiled with different flags. -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Release Candidate 1 of Lazarus 1.6
On 12/08/2015 04:19 PM, Mattias Gaertner wrote: The Lazarus team is glad to announce the first release candidate of Lazarus 1.6. This release was built with FPC 3.0.0. The previous release Lazarus 1.4.4 was built with FPC 2.6.4. Great ! So there will be a Lazarus release that relies on fpc 3.x. That means that I now can start the final phase of the "General Service" Widget Type (formerly called "Active NoGUI"). Obviously it will not be in the first 1.6 release, but happily the Lazarus releases are scheduled a lot more often than the fpc releases, so I will not have to wait another three years until the code might be published. But as the interest of the average Lazarus user is on Desktop applications rather than on Services I think there is no hurry, anyway. (Sorry, Bo :-( ) At some point of time I would like to have the code included in the svn (or somehow else be generally available for those who might want to use it or help to improve it (Bo ?!?!?! :-) :-) :-) ). So now I think it's time to ask how to proceed. Of course I do have a working code base for a first version of the thingy. But how to make it usable ? AFAIK, the existing Widget Type is selected in the IDE by setting it in "Additions and Overrides" and/or by selecting an appropriate application type when creating a new project. Of course I can't modify the IDE to support this. For compiling, the Widget Type is defined by a "$define" value this is adhered to in the source code. Of course I can't modify the "general" source code of the LCL to have it consider a new Widget Type (by introducing some lines that make it visible) How to proceed ? ` -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Release Candidate 1 of Lazarus 1.6
The Lazarus team is glad to announce the first release candidate of Lazarus 1.6. This release was built with FPC 3.0.0. The previous release Lazarus 1.4.4 was built with FPC 2.6.4. Here is the list of fixes for Lazarus 1.6: http://wiki.freepascal.org/Lazarus_1.6_fixes_branch Here is the list of changes for Lazarus and Free Pascal: http://wiki.lazarus.freepascal.org/Lazarus_1.6.0_release_notes http://wiki.lazarus.freepascal.org/User_Changes_3.0.0 The release is available for download on SourceForge: http://sourceforge.net/projects/lazarus/files/ Choose your CPU, OS, distro and then the "Lazarus 1.6RC1" directory. Minimum requirements: Windows: 98, 2k, XP, Vista, 7, 32 or 64bit. Win98 and WinNT IDE needs FPC 2.6.4 and building with flag -dWIN9XPLATFORM. FreeBSD/Linux: gtk 2.8 or qt4.5, 32 or 64bit. Mac OS X: 10.5 to 10.11, LCL only 32bit, non LCL apps can be 64bit. The svn tag is http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_6_RC1 == Why should everybody (including you) test the release candidate? == In the past weeks the Lazarus team has stabilized the 1.6 fixes branch. The resulting 1.6RC1 is now stable enough to be used by any one for test purposes. However many of the fixes and new features that where committed since the release of 1.4 required changes to the code of existing features too. While we have tested those ourself, there may still be problems that only occur with very specific configurations or one project in a million. Yes, it may be that you are the only person with a project, that will not work in the new IDE. So if you do not test, we can not fix it. Please do not wait for the final release, in order to test. It may be too late. Once the release is out we will have to be more selective about which fixes can be merged for further 1.6.x releases. So it may be, that we can not merge the fix you require. And then you will miss out on all the new features. == How to test == Download and install the 1.6RC1. - On Windows you can install as a 2ndary install, that will not affect your current install: http://wiki.lazarus.freepascal.org/Multiple_Lazarus#Installation_of_multiple_Lazarus - On other platforms, if you install to a new location you need to use --primary-config-path In either case you should make backups. (including your primary config) Open your project in the current Lazarus (1.4.x), and use "Publish Project" from the project menu. This creates a clean copy of your project. You can then open that copy in the RC1. Please test: - If you can edit forms in the designer - rename components / change properties in Object inspector / Add new events - Add components to form / Move components on form - Frames, if you use them - If you can navigate the source code (e.g. jump to implementation) - Auto completion in source code - Compile, debug and run - Anything else you use in your daily work Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Raspberry Pi bundles now available
A great news! I try it when i can, i spend lot of time without succes for compil on raspberry. must be put in FAQ Thanks for your work. From: Anthony Walter Sent: Monday, December 07, 2015 4:54 AM To: Lazarus mailing list Subject: Re: [Lazarus] Raspberry Pi bundles now available A correction. The Raspberry Pi minimal compiler url is: http://cache.getlazarus.org/archives/fpc-3.0.0.raspberry-min.tar.gz -- ___ 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