Re: [Lazarus] Suggestion for IDE

2015-10-12 Thread Ondrej Pokorny
On 12.10.2015 09:37, Michael Van Canneyt wrote: I actually like this "old view". The 'Alt-P' method is much slower for me. I even restore the 'old view' in Delphi XE 10. Freeman's suggestions would not change anything about your settings. It is irrelevant if the component palette is visible

[Lazarus] Patch for TTrayIcon on Ubuntu's Unity

2015-10-12 Thread Anthony Walter
I create a fix for Lazarus TTrayIcon on Unity. if anyone wants to test it out or add it to the LCL please do so. The fix is located here: https://github.com/sysrpl/Lazarus.UnityAppIndicators To use this fix get the code above and: Add 'unitywsctrls.pas' to 'lazarus/lcl/interfaces/gtk2' Apply

Re: [Lazarus] Suggestion for IDE

2015-10-12 Thread Michael Van Canneyt
On Sun, 11 Oct 2015, FreeMan wrote: I hide component palette, I don't need it every time, When I need any component "alt + P" show component search, its much easy and useful. of course for me. And Editor toolbar, add much used menu item on one line. This mean, Much more Source editor area

Re: [Lazarus] Google Docs for help documentation

2015-10-12 Thread Richard Mace
Sorry, no I was talking about a help file for my application itself. Richard On 11 October 2015 at 21:05, DougC wrote: > On Sun, 11 Oct 2015 15:28:18 -0400 *Richard Mace > >* wrote > > Hi All, > I was wondering what

Re: [Lazarus] Suggestion for IDE

2015-10-12 Thread Michael Van Canneyt
On Mon, 12 Oct 2015, Ondrej Pokorny wrote: On 12.10.2015 09:37, Michael Van Canneyt wrote: I actually like this "old view". The 'Alt-P' method is much slower for me. I even restore the 'old view' in Delphi XE 10. Freeman's suggestions would not change anything about your settings. It is

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

2015-10-12 Thread Juha Manninen
A stupid question: what is the best Ubuntu version to test with? I have avoided Unity desktop so far exactly because of the Lazarus related problems. Another question: what about Lazarus built with QT bindings but running on Unity? Third question: would it be possible to unite the TrayIcon code

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

2015-10-12 Thread Luca Olivetti
El 12/10/15 a les 09:34, Anthony Walter ha escrit: A linux x86_64 compiled executable example is included. FWIW, that executable doesn't show any tray icon in kubuntu 15.04 with plasma 5.3.2. As I reported before, trayicons in this environment don't work either with unpatched lazarus with

Re: [Lazarus] Google Docs for help documentation

2015-10-12 Thread Graeme Geldenhuys
On 2015-10-11 20:28, Richard Mace wrote: > I was wondering what people thought about using a Google Doc as a help file? I'm sorry to be blunt, but that is a terrible idea. Personally I find it very annoying if applications don't include help - and by that I mean "Context Sensitive Help". Simply

Re: [Lazarus] Suggestion for IDE

2015-10-12 Thread FreeMan
On 12.10.2015 11:28, Michael Van Canneyt wrote: On Mon, 12 Oct 2015, Ondrej Pokorny wrote: On 12.10.2015 09:37, Michael Van Canneyt wrote: I actually like this "old view". The 'Alt-P' method is much slower for me. I even restore the 'old view' in Delphi XE 10. Freeman's suggestions would

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

2015-10-12 Thread zeljko
On 10/12/2015 10:52 AM, Juha Manninen wrote: A stupid question: what is the best Ubuntu version to test with? I have avoided Unity desktop so far exactly because of the Lazarus related problems. Another question: what about Lazarus built with QT bindings but running on Unity? Don't know, but

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

2015-10-12 Thread Michael Van Canneyt
On Mon, 12 Oct 2015, Juha Manninen wrote: A stupid question: what is the best Ubuntu version to test with? I have avoided Unity desktop so far exactly because of the Lazarus related problems. Another question: what about Lazarus built with QT bindings but running on Unity? Third question:

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-12 Thread Bart
On 10/12/15, Mattias Gaertner wrote: > And you are right, that FPC 3 is a big leap, especially for UTF-8 > applications. Some projects and packages need to check a lot of strings. > If you see a Lazarus release as an unity of IDE and compiler, then the > string change

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

2015-10-12 Thread Anthony Walter
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 when libappindicator is present with the Gtk2 toolkit.

Re: [Lazarus] Editor loses focus on Compile

2015-10-12 Thread Ondrej Pokorny
On 12.10.2015 17:10, Howard Page-Clark wrote: On 12/10/2015 15:37, Ondrej Pokorny wrote: When I compile a project in the IDE with Ctrl+F9 the editor window loses focus. Instead the message window is focused. When compiling is done, message window is still focused (even after a successful

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-12 Thread Anthony Walter
A small thing, but I would like it if the CodeTools in 2.0 worked with units that have dotted namespaces. Right now if you type "use CompanyName." and press CTRL+SPACE you don't get a code completion list of units which start with "CompanyName." -- ___

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-12 Thread Vincenzo Campanella
Il 12.10.2015 17:58, Bart ha scritto: Well, I would vote for 2.0 for the next stable release that comes with the 3.0 compiler. We can then get rid of all code that is win9x compatible etc. This will cleanup the LCL a bit. Especially if we also then decide that 2.0 will NOT support the fpc 2.6

Re: [Lazarus] Editor loses focus on Compile

2015-10-12 Thread Juha Manninen
On Mon, Oct 12, 2015 at 6:10 PM, Howard Page-Clark wrote: > In the IDE Options dialog under Environment->Messages Window node make sure > the checkbox "Focus messages after compilation" is not checked. Right, I forgot that one. Juha --

Re: [Lazarus] Play a sound/beep when compiling finished

2015-10-12 Thread Ondrej Pokorny
On 12.10.2015 00:31, Mark Morgan Lloyd wrote: Ondrej Pokorny wrote: Is it possible to play a sound or beep when compiling was finished? Sometimes compiling takes some time and I am struggling to get to know that it finished. Put something in the "execute after" command (or whatever it's

[Lazarus] Theoretical question about future of Lazarus

2015-10-12 Thread JuuS
Hi, Lazarus has had the number schemes 0.xxx to now of 1.4.xx Before falling asleep it passed through my mind about a lazarus 2.xx and... ...I thought what could it be? Lazarus is already so good and so feature filled that I struggled to understand what could possibly be in or justify a Lazarus

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-12 Thread Mattias Gaertner
On Mon, 12 Oct 2015 14:03:57 +0200 JuuS wrote: > Hi, > > Lazarus has had the number schemes 0.xxx to now of 1.4.xx > > Before falling asleep it passed through my mind about a lazarus 2.xx and... > > ...I thought what could it be? Lazarus is already so good and so feature >

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

2015-10-12 Thread zeljko
On 10/12/2015 02:42 PM, Anthony Walter wrote: ""Maybe, but only in case if it's easy to extract information if we are under unity wm or other wm (I guess that it should not be an issue)." { UnityAppIndicatorInit returns true if Unity is the current desktop and the required appindicator

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-12 Thread Tony Whyman
This could be a good moment for someone to bring the Wiki up-to-date (version 0.9.31 was a little while ago now). Also, the wiki page doesn't give any policy rules for interpreting major, minor and patch(?) numbers. Interesting, if you took a pretty common view in that: - patch numbers are

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

2015-10-12 Thread Anthony Walter
The exe is 64 bit and built with the Gtk2 widget set. So the thing to test would be if the Qt/KDE desktop normally shows with Lazarus applications built the Gtk2 tray icon. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-12 Thread Juha Manninen
On Mon, Oct 12, 2015 at 3:03 PM, JuuS wrote: > Lazarus has had the number schemes 0.xxx to now of 1.4.xx > > Before falling asleep it passed through my mind about a lazarus 2.xx and... > > ...I thought what could it be? Lazarus is already so good and so feature > filled that I

Re: [Lazarus] Play a sound/beep when compiling finished

2015-10-12 Thread FreeMan
Thank you for suggesstion, Maybe get out of follow hundred green line in messagebox I'm using osx and after execute line I wrote "say compiling finished" now my macbook talk to me :) On 12.10.2015 01:31, Mark Morgan Lloyd wrote: Ondrej Pokorny wrote: Is it possible to play a sound or beep

Re: [Lazarus] Play a sound/beep when compiling finished

2015-10-12 Thread Mattias Gaertner
On Mon, 12 Oct 2015 13:35:16 +0200 Ondrej Pokorny wrote: > On 12.10.2015 00:31, Mark Morgan Lloyd wrote: > > Ondrej Pokorny wrote: > >> Is it possible to play a sound or beep when compiling was finished? > >> Sometimes compiling takes some time and I am struggling to get to

Re: [Lazarus] Play a sound/beep when compiling finished

2015-10-12 Thread Mark Morgan Lloyd
Ondrej Pokorny wrote: On 12.10.2015 00:31, Mark Morgan Lloyd wrote: Ondrej Pokorny wrote: Is it possible to play a sound or beep when compiling was finished? Sometimes compiling takes some time and I am struggling to get to know that it finished. Put something in the "execute after"

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-12 Thread Sven Barth
Am 12.10.2015 14:04 schrieb "JuuS" : > > Hi, > > Lazarus has had the number schemes 0.xxx to now of 1.4.xx > > Before falling asleep it passed through my mind about a lazarus 2.xx and... > > ...I thought what could it be? Lazarus is already so good and so feature > filled that I

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-12 Thread Jamal Gabra
I can think of a version that supports Right-To-Left, out of the box. Not necessarily Laz. 2 though :) Right now FlipChildren() must be used. It works, but not on all the controls. For instance it does not work over the DateTimePicker very well, to my knowledge/experience, I would say. Probably

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

2015-10-12 Thread Anthony Walter
""Maybe, but only in case if it's easy to extract information if we are under unity wm or other wm (I guess that it should not be an issue)." { UnityAppIndicatorInit returns true if Unity is the current desktop and the required appindicator libraries can be loaded } function

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-12 Thread Fabio Luis Girardi
> > Lazarus with support for dynamic packages? (once FPC supports them which > isn't that far in the future anymore ;) ) > +1 -- The best regards, Fabio Luis Girardi PascalSCADA Project http://sourceforge.net/projects/pascalscada http://www.pascalscada.com --

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-12 Thread Tony Whyman
Sorry forgot to add the link http://wiki.freepascal.org/Version_Numbering On 12/10/15 14:07, Tony Whyman wrote: This could be a good moment for someone to bring the Wiki up-to-date -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-12 Thread Graeme Geldenhuys
On 2015-10-12 13:03, JuuS wrote: > Any thoughts from anyone what a Laz 2 would be? Mind control Think of the program, and Lazarus writes it. ;-) Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key:

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

2015-10-12 Thread Luca Olivetti
El 12/10/15 a les 14:37, Anthony Walter ha escrit: The exe is 64 bit and built with the Gtk2 widget set. So the thing to test would be if the Qt/KDE desktop normally shows with Lazarus applications built the Gtk2 tray icon. No, as I said, it doesn't. But, as per

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-12 Thread Mattias Gaertner
On Mon, 12 Oct 2015 14:07:10 +0100 Tony Whyman wrote: > This could be a good moment for someone to bring the Wiki up-to-date > (version 0.9.31 was a little while ago now). Also, the wiki page doesn't > give any policy rules for interpreting major, minor and

[Lazarus] Editor loses focus on Compile

2015-10-12 Thread Ondrej Pokorny
When I compile a project in the IDE with Ctrl+F9 the editor window loses focus. Instead the message window is focused. When compiling is done, message window is still focused (even after a successful compile). -> For me this is extremly annoying because every time I compile I have to take the

Re: [Lazarus] Editor loses focus on Compile

2015-10-12 Thread FreeMan
Same, when AnchorDocking is installed. I started work newly with AnchorDocking, maybe useto to freesparta. Long time ago I was write same idea. Message windows directly open and focused, can add option just bringtofront but not focused. Another think I remove warnings hint bla bla but still

Re: [Lazarus] Editor loses focus on Compile

2015-10-12 Thread Juha Manninen
On Mon, Oct 12, 2015 at 5:37 PM, Ondrej Pokorny wrote: > When I compile a project in the IDE with Ctrl+F9 the editor window loses > focus. Instead the message window is focused. When compiling is done, > message window is still focused (even after a successful compile). It has

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-12 Thread JuuS
On 10/12/2015 03:53 PM, Graeme Geldenhuys wrote: > On 2015-10-12 13:03, JuuS wrote: >> Any thoughts from anyone what a Laz 2 would be? > > Mind control Think of the program, and Lazarus writes it. ;-) > > Regards, > - Graeme - > All good replies thank you! But... ...This is the best

Re: [Lazarus] Editor loses focus on Compile

2015-10-12 Thread Howard Page-Clark
On 12/10/2015 15:37, Ondrej Pokorny wrote: When I compile a project in the IDE with Ctrl+F9 the editor window loses focus. Instead the message window is focused. When compiling is done, message window is still focused (even after a successful compile). In the IDE Options dialog under

Re: [Lazarus] Play a sound/beep when compiling finished

2015-10-12 Thread Ondrej Pokorny
On 12.10.2015 14:00, Mattias Gaertner wrote: Yes. There is no IDEIntf event yet for all tasks stopped, nor for building project stopped. Feel free to add one. Done: http://bugs.freepascal.org/view.php?id=28839 Ondrej -- ___ Lazarus mailing list

Re: [Lazarus] Literature about REST

2015-10-12 Thread Luiz Americo Pereira Camara
2015-10-11 7:03 GMT-03:00 Koenraad Lelong : > Op 08-10-15 om 17:23 schreef Luiz Americo Pereira Camara: > >> >> > Hi, >> > >> > I would like to know more about web-programming with REST. Can anyone >> recommend books or web-sites to read about it ? I virtually know

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-12 Thread Leonardo M . Ramé
El 12/10/15 a las 09:03, JuuS escribió: Hi, Lazarus has had the number schemes 0.xxx to now of 1.4.xx Before falling asleep it passed through my mind about a lazarus 2.xx and... ...I thought what could it be? Lazarus is already so good and so feature filled that I struggled to understand what

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-12 Thread Ondrej Pokorny
On 12.10.2015 18:03, Anthony Walter wrote: A small thing, but I would like it if the CodeTools in 2.0 worked with units that have dotted namespaces. Right now if you type "use CompanyName." and press CTRL+SPACE you don't get a code completion list of units which start with "CompanyName." I

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-12 Thread Bo Berglund
On Mon, 12 Oct 2015 15:54:02 +0300, Juha Manninen wrote: >The development version (trunk) already has new features like >configurable IDE Coolbar and configurable desktops + many other >improvements. They will surely be in next release. Is that version 1.5? This is

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-12 Thread Anthony Walter
I'll looked at CodeTools, attempted changes, and rapidly gave up after trying to work through all kinds of confusion. Earlier this year I offered to try once again if only I could get a little help/tutelage but no follow up contact was made. The offer still stands. If the maintainer of CodeTools

Re: [Lazarus] Built Lazarus on RPi2, warning on every project build

2015-10-12 Thread Bo Berglund
On Sun, 11 Oct 2015 20:10:26 +, Mark Morgan Lloyd wrote: >>> to your /etc/fpc.cfg, or for Jessie add >>> >>> -Fl/usr/lib/gcc/arm-linux-gnueabihf/4.9 ... >> Where in the file do I add this line? >> Or does it not matter? > >If it mattered, I'd have said :-)

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-12 Thread Ondrej Pokorny
On 12.10.2015 20:19, Anthony Walter wrote: I'll looked at CodeTools, attempted changes, and rapidly gave up after trying to work through all kinds of confusion. Just don't give up, otherwise Lazarus won't move forward! Earlier this year I offered to try once again if only I could get a

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-12 Thread Juha Manninen
On Mon, Oct 12, 2015 at 9:52 PM, Bo Berglund wrote: > Is that version 1.5? Yes. > This is what I got when I followed an installation guide for putting > FPC/Lazarus on a Raspberry Pi2 (ARM Cortex 7). > Help/About says FPC 3.1.1 and Lazarus 1.5 (SVN 50023) > > If this is

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-12 Thread Sven Barth
Am 12.10.2015 22:42 schrieb "Ondrej Pokorny" : > Question to FPC people: does FPC support defining namespaces as Delphi does? > E.g. that a unit "MyCompany.MyLibrary.MyUnit.pas" I can be refered to with only "MyUnit" in the uses clause if the namespace "MyCompany.MyLibrary" is

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-12 Thread Mattias Gaertner
On Mon, 12 Oct 2015 22:41:50 +0200 Ondrej Pokorny wrote: >[...] > Question to FPC people: does FPC support defining namespaces as Delphi does? > E.g. that a unit "MyCompany.MyLibrary.MyUnit.pas" I can be refered to > with only "MyUnit" in the uses clause if the namespace >

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-12 Thread Bo Berglund
On Mon, 12 Oct 2015 23:13:53 +0300, Juha Manninen wrote: >On Mon, Oct 12, 2015 at 9:52 PM, Bo Berglund wrote: >> Is that version 1.5? > >Yes. > >> This is what I got when I followed an installation guide for putting >> FPC/Lazarus on a Raspberry

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-12 Thread Marcos Douglas
On Mon, Oct 12, 2015 at 1:03 PM, Anthony Walter wrote: > A small thing, but I would like it if the CodeTools in 2.0 worked with units > that have dotted namespaces. > > Right now if you type "use CompanyName." and press CTRL+SPACE you don't get > a code completion list of units