Re: [Lazarus] [ANN] Eye Candy Controls 0.9.4
On So, 2016-02-28 at 18:45 +0100, Vojtěch Čihák wrote: > > Hello, > > I released new version of EC-Controls. Announcement is on the forum: > http://forum.lazarus.freepascal.org/index.php/topic,31734.0.html > > The main thing is the new tab-control alternative with support for tab > stacking and multiple rows. Cool stuff! I really like the look of switch an slider, very useful for hardware device like guis. :) -- Marc Santhoff-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] How to automatically free classes/objects?
On Tue, Mar 1, 2016 at 4:45 PM, Aradeonaswrote: > Subject say what I want and as discussed here there are couple of ways to do > this and one of them is a custom garbage collector : > http://stackoverflow.com/questions/415958/how-to-automatically-free-classes-objects > > I want to know is there any better way in Lazarus or what should I do? Use interfaces instead of objects. Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] How to automatically free classes/objects?
On Tue, 1 Mar 2016, Aradeonas wrote: Subject say what I want and as discussed here there are couple of ways to do this and one of them is a custom garbage collector : http://stackoverflow.com/questions/415958/how-to-automatically-free-classes-objects I want to know is there any better way in Lazarus or what should I do? There is no better way (yet). Michael. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Aarch64 as CPU target for RPi3 with Linux as OS
While preparing fpc(laz)up for my RPi3, I did encounter an error with Lazarus. Choosing a64 as CPU target in Lazarus does not work on my system. Manually (command line) choosing aarch64 as CPU target however, does work. Am I doing something wrong ?-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] How to automatically free classes/objects?
Subject say what I want and as discussed here there are couple of ways to do this and one of them is a custom garbage collector : http://stackoverflow.com/questions/415958/how-to-automatically-free-classes-objects I want to know is there any better way in Lazarus or what should I do? Regards, Ara -- http://www.fastmail.com - Send your email first class -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Form Resizing
steveg has Lubuntu with LXDE. I guess Raspbian also has LXDE. This may be a LXDE related issue. Please confirm. Then you guys should find which revision broke it for LXDE or if it was always broken. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Procedure List dialog regressions
On Tue, Mar 1, 2016 at 5:05 PM, Graeme Geldenhuyswrote: > I'll also create a patch to "more officially" save/restore > the column widths. Maybe that should wait a little. Ondrej is making a generic configuration API for storing column widths of all IDE ListViews. ProcedureList can use the same. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Form Resizing
On Tue, 01 Mar 2016 16:02:57 +0100, zeljkowrote: >> However Lazarus Release 1.6 shows SVN 51666 when I check it so I guess >> 51768 is the Lazarus revision. > >Issue was opened about constraints. If there's another issue with gtk2 >forms please open issue and attach example project. > No, it was opened because forms could not be resized down from initial size (see subject of thread) and it was NOT caused by constraints being accidentally set (I have checked both in the IDE and in the form file itself, there is none). This suggestion was done some way down this thread, but was not the cause. I added comment about revision in order to say what state my trunk version is in. I was asked to do that here... It has nothing to do with why this particular revision was created. I just downloaded trunk today in order to check the solution to the resizing issue that was purported to be done. Either that fix is not part of that revision or the fix does not work. -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Form Resizing
On 01.03.2016 16:02, zeljko wrote: Another observation (bug?): I put a button on the empty form of the default project. Then I doubleclicked it hoping to get to the OnClick event handler in code editor (which normally will be created), but nothing at all happened. Probably because of recent mouse clicks changes by Ondrej. Yep, fixed in r51790. I forgot that the design time needs special treatment. Thanks for reporting. Ondrej -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Procedure List dialog regressions
Hi Juha, Thanks for reverting the previous change. On 28/02/2016 23:33, Juha Manninen wrote: Graeme, do you know how to fix the other regressions that happened sometime earlier, like the missing icon thing? Patches are welcome. Yes, not a problem. I'll make a patch and submit it to Mantis. I'll also create a patch to "more officially" save/restore the column widths. Regards, Graeme -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Form Resizing
On 03/01/2016 03:09 PM, Bo Berglund wrote: Lazarus Help/About shows SVN rev 51768 but I don't know if this is for FPC 3.0.0 or Lazarus trunk... However Lazarus Release 1.6 shows SVN 51666 when I check it so I guess 51768 is the Lazarus revision. Issue was opened about constraints. If there's another issue with gtk2 forms please open issue and attach example project. Another observation (bug?): I put a button on the empty form of the default project. Then I doubleclicked it hoping to get to the OnClick event handler in code editor (which normally will be created), but nothing at all happened. Probably because of recent mouse clicks changes by Ondrej. zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Procedure List dialog regressions
hi, On 28/02/2016 10:14, Luiz Americo Pereira Camara wrote: If is the case, i can revert the patch and ask the author to rework it to match the expected functionality Yes, I think this would be the best action forward. Regards, Graeme -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Form Resizing
On Tue, 01 Mar 2016 14:27:05 +0100, Bo Berglundwrote: >>> Most likely a GTK2 library version dependent issue. >> >>I've fixed that issue (gtk3 also). >> > >I guess I can make a test by checking out Lazarus trunk and make a "Trunk" >Lazarus... And this is what I did too... I got Lazarus using this command: svn co http://svn.freepascal.org/svn/lazarus/trunk trunk Result after building bigide: The same sizing issue as before. Not possible to make window smaller than the startup size. This includes the Lazarus IDE itself Lazarus Help/About shows SVN rev 51768 but I don't know if this is for FPC 3.0.0 or Lazarus trunk... However Lazarus Release 1.6 shows SVN 51666 when I check it so I guess 51768 is the Lazarus revision. Another observation (bug?): I put a button on the empty form of the default project. Then I doubleclicked it hoping to get to the OnClick event handler in code editor (which normally will be created), but nothing at all happened. I had to go to Object Inspector in order to create the OnClick event. Is this how it is supposed to work now? Because it works as expected in release 1.6, one is brought to the event handler when doubleclicking in the form. -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Form Resizing
On Tue, 01 Mar 2016 13:37:51 +0100, zeljkowrote: >>> Yes! I'm updating mantis with the information immediately... >> >> Most likely a GTK2 library version dependent issue. > >I've fixed that issue (gtk3 also). > Does this mean I should switch to Lazarus trunk (1.7.xxx) from release to be able to fix this in my 1.6 release. Or is there a simple patch I can apply to the release revision? I guess I can make a test by checking out trunk and make a "Trunk" Lazarus... -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Form Resizing
On 03/01/2016 11:51 AM, Juha Manninen wrote: On Tue, Mar 1, 2016 at 11:44 AM, Péter Gáborwrote: Yes! I'm updating mantis with the information immediately... Most likely a GTK2 library version dependent issue. I've fixed that issue (gtk3 also). z. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] catch TOpenGLContext exceptions
Dear all, I developed an application using TOpenGLcontext component in a form. Some users have problems with opengl (especially on linux), missing libraries, FB config missing and so on. Actually if the system on which my application is running has problems with opengl my app crashes. e.g.: "Could not find FB config" I would like to catch these exceptions and if Topenglcontext cannot work I would like to disable it and run my app wihout it. The form with TOpenGLcontext can be used but it is not essential, my app can work without it losing few functionalities. I tried creating the TOpenGLcontext at runtime (in try .. finally) but it does not work, I got an error and the app stop working. I would like to test if TOpenGLcontext can be created, if not I would like to not create TOpenGLcontext but let my app running anyway. Is it possible? How can I do that? Thanks. Andrea -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Form Resizing
On Tue, Mar 1, 2016 at 11:44 AM, Péter Gáborwrote: > Yes! I'm updating mantis with the information immediately... Most likely a GTK2 library version dependent issue. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Form Resizing
> did you bisect for the guilty revision of your bug? Yes! I'm updating mantis with the information immediately... -- Péter Gábor p...@freemail.hu -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus