Re: [Lazarus] Type helper now work with CodeTools?

2015-10-18 Thread Michael Van Canneyt
On Sun, 18 Oct 2015, Anthony Walter wrote: Just to be clear, when we're talking about dynamic packages we mean being able to: A) compile and install package into the IDE without rebuilding the entire IDE and B) load and unload pkg package files in apps while they're running and access new

Re: [Lazarus] Type helper now work with CodeTools?

2015-10-18 Thread Anthony Walter
Just to be clear, when we're talking about dynamic packages we mean being able to: A) compile and install package into the IDE without rebuilding the entire IDE and B) load and unload pkg package files in apps while they're running and access new classes/objects and their RTTI? --

Re: [Lazarus] Type helper now work with CodeTools?

2015-10-18 Thread Sven Barth
Am 18.10.2015 17:34 schrieb "Mattias Gaertner" : > > On Sun, 18 Oct 2015 17:03:33 +0200 > Sven Barth wrote: > > >[...] > > Yes. I especially adjusted the compiler to handle this correctly (in light > > of floating point constants). Sidenote:

Re: [Lazarus] Type helper now work with CodeTools?

2015-10-18 Thread Sven Barth
Am 18.10.2015 17:20 schrieb "Mattias Gaertner" : > > On Sun, 18 Oct 2015 17:06:08 +0200 > Sven Barth wrote: > > >[...] > > > Only one of them will work, but you can use helpers inheritance. > > > > > >

Re: [Lazarus] What does make install do?

2015-10-18 Thread Bo Berglund
On Sun, 18 Oct 2015 10:01:40 +, Mark Morgan Lloyd wrote: >I've already pointed you at the relevant xdg utility, but quite frankly >I wonder why I bother. > I do not see how me changing the operating system way of displaying menus to another system would

Re: [Lazarus] What does make install do?

2015-10-18 Thread Bo Berglund
On Sun, 18 Oct 2015 07:54:54 -0400, wkitt...@windstream.net wrote: >the problem here is that now you've broken the install for other users since >they do not have access to your home directory... remember that a default >install needs to be usable by all users... a private install is only for

Re: [Lazarus] SetFocus have no effect after TCustomForm.Show

2015-10-18 Thread Gabor Boros
2015.10.17. 14:34 keltezéssel, Zeljko írta: I found a problem. See the attached example. With Form2 works like a charm after patch applied, but with Form1 works like before patch. I don't understand. Can you explain better what's exact problem ? zeljko Start the example project, go to Form2

[Lazarus] Video: Color Picker ... and a question

2015-10-18 Thread Anthony Walter
I wrote a class to support for global hotkeys on both Linux and Windows. http://cache.getlazarus.org/video/colormix.mp4 In the video a color picker is activated anywhere when you press a global hotkey allow you to freeze the screen and use the mouse pick a color from any pixel on your display.

Re: [Lazarus] Video: Color Picker ... and a question

2015-10-18 Thread Anthony Walter
Michael, I apologize if I wasn't clear. The problems wasn't shortcut keys, rather it is showing an application window and bringing it to the foreground when your application isn't the active graphical application. That is to say, for example, suppose you had a timer set to 3 minutes. Is there a

Re: [Lazarus] What does make install do?

2015-10-18 Thread Michael Van Canneyt
On Sun, 18 Oct 2015, Bo Berglund wrote: On Sat, 17 Oct 2015 11:13:11 +0200 (CEST), Michael Van Canneyt wrote: But there is also a command make install What exactly does this do (in a Debian Jessie derivative environment) You can see this easily for yourself by

Re: [Lazarus] Video: Color Picker ... and a question

2015-10-18 Thread Ondrej Pokorny
On 18.10.2015 10:47, Anthony Walter wrote: Michael, I apologize if I wasn't clear. The problems wasn't shortcut keys, rather it is showing an application window and bringing it to the foreground when your application isn't the active graphical application. That is to say, for example,

Re: [Lazarus] WinCE call for testers

2015-10-18 Thread patspiper
On 15/10/15 11:20, patspiper wrote: Hi, The bug reporting/testing/fixing cycle for WinCE has been severely impacted by the ever dwindling number of WinCE users. I therefore ask all interested users to identify themselves so that we are able to communicate more closely in order to test/apply

Re: [Lazarus] What does make install do?

2015-10-18 Thread Bo Berglund
On Sun, 18 Oct 2015 10:54:32 +0200 (CEST), Michael Van Canneyt wrote: >> Then I examined what had happened and I found that the install script >> had copied a number of files including lazarus executables to >> /usr/local/share/lazarus and the symlinks in /usr/local/bin

Re: [Lazarus] What does make install do?

2015-10-18 Thread Mark Morgan Lloyd
Bo Berglund wrote: On Sun, 18 Oct 2015 10:54:32 +0200 (CEST), Michael Van Canneyt wrote: Then I examined what had happened and I found that the install script had copied a number of files including lazarus executables to /usr/local/share/lazarus and the symlinks in

Re: [Lazarus] Video: Color Picker ... and a question

2015-10-18 Thread Michael Van Canneyt
On Sun, 18 Oct 2015, Anthony Walter wrote: I wrote a class to support for global hotkeys on both Linux and Windows. http://cache.getlazarus.org/video/colormix.mp4 In the video a color picker is activated anywhere when you press a global hotkey allow you to freeze the screen and use the

Re: [Lazarus] What does make install do?

2015-10-18 Thread Bo Berglund
On Sat, 17 Oct 2015 11:13:11 +0200 (CEST), Michael Van Canneyt wrote: >> But there is also a command >> make install >> >> What exactly does this do (in a Debian Jessie derivative environment) > >You can see this easily for yourself by adding the -n option: > > >home:

Re: [Lazarus] Video: Color Picker ... and a question

2015-10-18 Thread Michael Van Canneyt
On Sun, 18 Oct 2015, Anthony Walter wrote: Michael, I apologize if I wasn't clear. The problems wasn't shortcut keys, rather it is showing an application window and bringing it to the foreground when your application isn't the active graphical application. I understood. And that is what I

Re: [Lazarus] What does make install do?

2015-10-18 Thread Michael Van Canneyt
On Sun, 18 Oct 2015, Bo Berglund wrote: On Sun, 18 Oct 2015 10:54:32 +0200 (CEST), Michael Van Canneyt wrote: Then I examined what had happened and I found that the install script had copied a number of files including lazarus executables to /usr/local/share/lazarus

Re: [Lazarus] What does make install do?

2015-10-18 Thread wkitty42
On 10/18/2015 04:40 AM, Bo Berglund wrote: Then I examined what had happened and I found that the install script had copied a number of files including lazarus executables to /usr/local/share/lazarus and the symlinks in /usr/local/bin were pointing to these executables effectively decoupling the

Re: [Lazarus] Video: Color Picker ... and a question

2015-10-18 Thread Anthony Walter
Thanks for the replies. I'll continue to search for workarounds on Linux/Gtk and if I find anything useful I'll post about it and also add it to my github library. And in case anyone is interested, here is the Linux/Gtk system I wrote to handle global hotkeys (which works perfectly):

Re: [Lazarus] Type helper now work with CodeTools?

2015-10-18 Thread Mattias Gaertner
On Sat, 17 Oct 2015 09:28:53 +0200 Sven Barth wrote: > Am 16.10.2015 23:45 schrieb "Mattias Gaertner" : > > > bug 28861 if a type > helper > > > exists for a literal value code insight throws

Re: [Lazarus] Type helper now work with CodeTools?

2015-10-18 Thread Anthony Walter
Also FWIW: https://github.com/sysrpl/Cross.Codebot/blob/master/source/codebot.system.pas#L401 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Type helper now work with CodeTools?

2015-10-18 Thread Sven Barth
Am 18.10.2015 16:24 schrieb "Dmitry Boyarintsev" : > > > > On Sun, Oct 18, 2015 at 10:11 AM, Anthony Walter wrote: >> >> A question, are type helpers limited to one per type? That is to say, if I write a "type MyStringHelper = record helper for

Re: [Lazarus] Type helper now work with CodeTools?

2015-10-18 Thread Sven Barth
Am 18.10.2015 16:07 schrieb "Mattias Gaertner" : > > On Sat, 17 Oct 2015 09:28:53 +0200 > Sven Barth wrote: > > > It still looks strange to me. > > > > Well... It's a logical extension of the type helpers however (and Delphi > > compatible).

Re: [Lazarus] Something goes wrong while streaming nested components

2015-10-18 Thread Mattias Gaertner
On Sat, 17 Oct 2015 15:18:12 +0700 Kiên Nguyễn Tiến Trung wrote: > I have been successful to save a component to a text file. However, I have > a problem while reading them back. > > To illustrate, this is the text file created by saving the components. > > object Parent1:

Re: [Lazarus] Type helper now work with CodeTools?

2015-10-18 Thread Mattias Gaertner
On Sun, 18 Oct 2015 17:06:08 +0200 Sven Barth wrote: >[...] > > Only one of them will work, but you can use helpers inheritance. > > > > http://www.freepascal.org/docs-html/ref/refse57.html#x114-12400010.5 > > Currently there is this restriction, yes, but I do plan

Re: [Lazarus] Type helper now work with CodeTools?

2015-10-18 Thread Dmitry Boyarintsev
On Sun, Oct 18, 2015 at 10:11 AM, Anthony Walter wrote: > A question, are type helpers limited to one per type? That is to say, if I > write a "type MyStringHelper = record helper for string" and Michael adds a > "type LazStringHelper = record helper for string" in SysUtils,

Re: [Lazarus] Patch for TTrayIcon on Ubuntu's Unity

2015-10-18 Thread Luca Olivetti
El 12/10/15 a les 17:53, Anthony Walter ha escrit: In fact I checked your code and it only tries to load libappindicator if XDG_CURRENT_DESKTOP is Unity. With that variable set I can see the tray icon (note that its normal value is KDE). That's good then. I added 'KDE' to the allowed desktops

Re: [Lazarus] Type helper now work with CodeTools?

2015-10-18 Thread Mattias Gaertner
On Sun, 18 Oct 2015 17:03:33 +0200 Sven Barth wrote: >[...] > Yes. I especially adjusted the compiler to handle this correctly (in light > of floating point constants). Sidenote: the compiler also supports floating > point numbers with an without "e" to have type

Re: [Lazarus] Type helper now work with CodeTools?

2015-10-18 Thread Anthony Walter
A question, are type helpers limited to one per type? That is to say, if I write a "type MyStringHelper = record helper for string" and Michael adds a "type LazStringHelper = record helper for string" in SysUtils, will only one of them work when I have both units added to the my uses clauses of

Re: [Lazarus] Hiding Warnings from a specific directory

2015-10-18 Thread Mattias Gaertner
On Sat, 17 Oct 2015 11:45:22 -0300 Alexsander Rosa wrote: > I mean: is there a lazreport-only -vm option, like -vmXXX(lazreport)? > Because this "*Additions and Overrides*" applies to my entire project, > AFAIK. And I tried to open the "Compiler options for Package

Re: [Lazarus] Type helper now work with CodeTools?

2015-10-18 Thread Mattias Gaertner
On Sat, 17 Oct 2015 09:41:34 +0200 Ondrej Pokorny wrote: >[...] > -> doesn't work for me. (I am not sure if it is a regression, though. I > don't remember everything. Nevertheless, it should work.) You almost implemented it. Now it works. Mattias --