[Lazarus] Install/Uninstall package form: "Do not install" & more

2013-09-13 Thread Reinier Olislagers
The Install/Uninstall package form has two lists: a) installed packages (or those marked for installation. Caption above: "Install" b) available but not installed packages. Caption: "Do not install" WHen I started using Lazarus, the "Do not install" caption made it unclear that this is actually th

Re: [Lazarus] TTreenode.data

2013-09-13 Thread Antonio Fortuny
Le 13/09/2013 07:48, Richard Mace a écrit : OK, I now have this code: with tvMain.Items.AddChildObject(tvMain.Selected,IntToStr(fUserList.Items[I].Id),Pointer(fUserList.Items[I].Id)) do and this: procedure TfrmMain.tvMainChange(Sender: TObject; Node: TTreeNode); begin if Assigned(Node.Data

Re: [Lazarus] Help needed for issue #20311: IDE always tailors "Target processor" options for Intel CPUs

2013-09-13 Thread Juha Manninen
On Fri, Sep 13, 2013 at 12:10 AM, Mark Morgan Lloyd wrote: > What do you need for this: fpc -i output? Yes, running on different CPUs. It is this section: Supported CPU instruction sets: My version shows only "ATHLON64" which I fixed now in the code for x86_64 CPU. Mattias earlier told me abo

Re: [Lazarus] Help needed for issue #20311: IDE always tailors "Target processor" options for Intel CPUs

2013-09-13 Thread Sven Barth
Am 13.09.2013 09:50, schrieb Juha Manninen: On Fri, Sep 13, 2013 at 12:10 AM, Mark Morgan Lloyd wrote: What do you need for this: fpc -i output? Yes, running on different CPUs. It is this section: Supported CPU instruction sets: My version shows only "ATHLON64" which I fixed now in the cod

Re: [Lazarus] Help needed for issue #20311: IDE always tailors "Target processor" options for Intel CPUs

2013-09-13 Thread Mark Morgan Lloyd
Sven Barth wrote: Am 13.09.2013 09:50, schrieb Juha Manninen: On Fri, Sep 13, 2013 at 12:10 AM, Mark Morgan Lloyd wrote: What do you need for this: fpc -i output? Yes, running on different CPUs. It is this section: Supported CPU instruction sets: Alternatively you can just take a look at

Re: [Lazarus] Help needed for issue #20311: IDE always tailors "Target processor" options for Intel CPUs

2013-09-13 Thread Sven Barth
Am 13.09.2013 10:37, schrieb Mark Morgan Lloyd: Sven Barth wrote: Am 13.09.2013 09:50, schrieb Juha Manninen: On Fri, Sep 13, 2013 at 12:10 AM, Mark Morgan Lloyd wrote: What do you need for this: fpc -i output? Yes, running on different CPUs. It is this section: Supported CPU instruction

Re: [Lazarus] TTreenode.data

2013-09-13 Thread Reinier Olislagers
On 13/09/2013 09:37, Antonio Fortuny wrote: > Le 13/09/2013 07:48, Richard Mace a écrit : >> OK, I now have this code: > Details are missing about your implementation: Lzarus & FPC, OS, etc. Guessing Windows x86 - not writing a FreeSwitch control application, by any chance [1] ;) http://thread.gm

Re: [Lazarus] Help needed for issue #20311: IDE always tailors "Target processor" options for Intel CPUs

2013-09-13 Thread Juha Manninen
"-h" output at "-R" says here: -R Assembler reading style: -Rdefault Use default assembler for target Well, I would be happy if somebody provides a patch for the remaining lists. The code is structured so that it is easy to add processor type lists. See TCompilerConfigTargetFrame.UpdateB

Re: [Lazarus] Help needed for issue #20311: IDE always tailors "Target processor" options for Intel CPUs

2013-09-13 Thread Sven Barth
Am 13.09.2013 11:50, schrieb Juha Manninen: "-h" output at "-R" says here: -R Assembler reading style: -Rdefault Use default assembler for target Yes, some have only one assembler reader. On i386 and AFAIK x86_64 there are different styles possible. Don't know on other CPUs. Regards,

Re: [Lazarus] Help needed for issue #20311: IDE always tailors "Target processor" options for Intel CPUs

2013-09-13 Thread Juha Manninen
On Fri, Sep 13, 2013 at 1:03 PM, Sven Barth wrote: > Yes, some have only one assembler reader. On i386 and AFAIK x86_64 there are > different styles possible. Don't know on other CPUs. This is x86_64. Apparently it only has one reader. Juha -- ___ Laz

Re: [Lazarus] Help needed for issue #20311: IDE always tailors "Target processor" options for Intel CPUs

2013-09-13 Thread Juha Manninen
On Fri, Sep 13, 2013 at 12:50 PM, Juha Manninen wrote: > 2. This development is parallel to the "All Options" parser and GUI > that I made earlier. > It reads options directly from FPC, but only for the current platform / CPU. Correction: actually the options are read with user defined TargetOS a

[Lazarus] Project Group support in the IDE

2013-09-13 Thread Graeme Geldenhuys
Hi, This is probably the single biggest lacking feature of the Lazarus IDE. Is anybody working on implementing Project Groups (like Delphi has had a lifetime ago)? ps #1: If this is already in Trunk, then sorry for the noise. My Lazarus is a Trunk checkout from about 2-3 months ago, and it doesn'

Re: [Lazarus] Project Group support in the IDE

2013-09-13 Thread Mattias Gaertner
> Graeme Geldenhuys  hat am 13. September 2013 um  >12:33 geschrieben: >  >  > Hi, >  > This is probably the single biggest lacking feature of the Lazarus IDE. > Is anybody working on implementing Project Groups (like Delphi has had a > lifetime ago)? Other "single biggest lacking features" are:

Re: [Lazarus] Project Group support in the IDE

2013-09-13 Thread Juha Manninen
On Fri, Sep 13, 2013 at 1:33 PM, Graeme Geldenhuys wrote: > This is probably the single biggest lacking feature of the Lazarus IDE. > Is anybody working on implementing Project Groups (like Delphi has had a > lifetime ago)? Not actively. Mattias has added references to current project to some pla

Re: [Lazarus] Project Group support in the IDE

2013-09-13 Thread Reinier Olislagers
On 13/09/2013 12:56, Mattias Gaertner wrote: >> Graeme Geldenhuys hat am 13. September 2013 um >> 12:33 geschrieben: >> This is probably the single biggest lacking feature of the Lazarus IDE. >> Is anybody working on implementing Project Groups (like Delphi has had a >> lifetime ago)? > > Ot

Re: [Lazarus] Project Group support in the IDE

2013-09-13 Thread Graeme Geldenhuys
On 2013-09-13 11:56, Mattias Gaertner wrote: > > Other "single biggest lacking features" are: docking, android, dyn packages, > pkg > repository, installer, offline help, ... :) the every growing to-do list. Sometimes one has to ask why we decided to become programmers. :) > No, it is not i

Re: [Lazarus] Project Group support in the IDE

2013-09-13 Thread Graeme Geldenhuys
On 2013-09-13 12:03, Juha Manninen wrote: > A quick search for "Project1" in Lazarus sources gives 846 matches. Ouch! Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ -- ___ Laz

Re: [Lazarus] Project Group support in the IDE

2013-09-13 Thread Sven Barth
Am 13.09.2013 12:56, schrieb Mattias Gaertner: Graeme Geldenhuys hat am 13. September 2013 um 12:33 geschrieben: Hi, This is probably the single biggest lacking feature of the Lazarus IDE. Is anybody working on implementing Project Groups (like Delphi has had a lifetime ago)

Re: [Lazarus] Help needed for issue #20311: IDE always tailors "Target processor" options for Intel CPUs

2013-09-13 Thread Sven Barth
Am 13.09.2013 12:16, schrieb Juha Manninen: On Fri, Sep 13, 2013 at 1:03 PM, Sven Barth wrote: Yes, some have only one assembler reader. On i386 and AFAIK x86_64 there are different styles possible. Don't know on other CPUs. This is x86_64. Apparently it only has one reader. It seems that the

Re: [Lazarus] Project Group support in the IDE

2013-09-13 Thread Sven Barth
Am 13.09.2013 12:33, schrieb Graeme Geldenhuys: This is probably the single biggest lacking feature of the Lazarus IDE. Is anybody working on implementing Project Groups (like Delphi has had a lifetime ago)? Just in case: I reported this already some time ago: http://bugs.freepascal.org/view.php

Re: [Lazarus] Project Group support in the IDE

2013-09-13 Thread Marco van de Voort
On Fri, Sep 13, 2013 at 01:05:05PM +0200, Reinier Olislagers wrote: > > offline help, ... > ??? Offline help is available+enabled in trunk; chm help is installed by > the installer. > See e.g. menu about/help I think Mattias meant IDE help, not library help. -- _

Re: [Lazarus] Project Group support in the IDE

2013-09-13 Thread Michael Van Canneyt
On Fri, 13 Sep 2013, Graeme Geldenhuys wrote: On 2013-09-13 11:56, Mattias Gaertner wrote: Other "single biggest lacking features" are: docking, android, dyn packages, pkg repository, installer, offline help, ... :) the every growing to-do list. Sometimes one has to ask why we decided t

Re: [Lazarus] Project Group support in the IDE

2013-09-13 Thread Graeme Geldenhuys
On 2013-09-13 12:03, Juha Manninen wrote: > Unfortunately it is quite a complex task. The biggest challenge is to > refactor the code so that Project1 is not referred to directly. > A project holds lots of data including session info. Thinking about it a bit more... It might not be as complex - i

Re: [Lazarus] Project Group support in the IDE

2013-09-13 Thread Mattias Gaertner
> Michael Van Canneyt  hat am 13. September 2013 um  >14:11 geschrieben: >[...] > >> If you only want one window to easily switch the active project and using  >that > >> to compile a bunch of projects, then yes, it is easy. Create a new designtime package. Invent some GUI to load/save/edit group

Re: [Lazarus] Project Group support in the IDE

2013-09-13 Thread Graeme Geldenhuys
On 2013-09-13 13:11, Michael Van Canneyt wrote: > > At least, having this window would be a very good start. > The advanced features could follow later. Exactly. If my theory is correct [see my last post] then it really shouldn't be hard. I'll try and create a Project Groups add-on over the week

Re: [Lazarus] Project Group support in the IDE

2013-09-13 Thread Graeme Geldenhuys
On 2013-09-13 13:33, Mattias Gaertner wrote: > > If you need some hooks just ask. You read my mind, I was just about to post about available IDE interface methods. Thanks for posting that info. I'll take a stab at it over the weekend. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform

Re: [Lazarus] Project Group support in the IDE

2013-09-13 Thread Sven Barth
Am 13.09.2013 14:23, schrieb Graeme Geldenhuys: On 2013-09-13 12:03, Juha Manninen wrote: Unfortunately it is quite a complex task. The biggest challenge is to refactor the code so that Project1 is not referred to directly. A project holds lots of data including session info. Thinking about it

Re: [Lazarus] Project Group support in the IDE

2013-09-13 Thread Mattias Gaertner
> Sven Barth  hat am 13. September 2013 um 14:43  >geschrieben: >[...] > Each project has its own session information => the source editor tabs  > would switch each time the project switches during a group compilation. >  > In that case group project needs to be a project as well (with session  > 

Re: [Lazarus] Project Group support in the IDE

2013-09-13 Thread Hans-Peter Diettrich
Graeme Geldenhuys schrieb: All my projects tend to consist of 4+ executables, and the project I work the most on consists of 10+ executables. Doing manual building of projects one-by-one is so labour intensive - hence I have many build scripts. Maintaining those build scripts is a pain too. Wh

Re: [Lazarus] Project Group support in the IDE

2013-09-13 Thread Marcos Douglas
On Fri, Sep 13, 2013 at 9:43 AM, Graeme Geldenhuys wrote: > On 2013-09-13 13:33, Mattias Gaertner wrote: >> >> If you need some hooks just ask. > > > You read my mind, I was just about to post about available IDE interface > methods. Thanks for posting that info. I'll take a stab at it over the >

[Lazarus] Packages

2013-09-13 Thread Junior
http://bugs.freepascal.org/view.php?id=25013 New Linux, New Lazarus, having to reinstall the packages with this bug is a troubling case. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/lis

Re: [Lazarus] Project Group support in the IDE

2013-09-13 Thread silvioprog
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Lazarus-Project-Group-td2393597.html :) -- Silvio Clécio My public projects - github.com/silvioprog -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal

Re: [Lazarus] Help needed for issue #20311: IDE always tailors "Target processor" options for Intel CPUs

2013-09-13 Thread Florian Klämpfl
Am 13.09.2013 10:48, schrieb Sven Barth: >> >> Is there anything else that I could usefully grab at the same time, >> e.g. ABI types? In particular, noting that you've fixed >> http://bugs.freepascal.org/view.php?id=20310 but is there some variant >> of fpc -i etc. that lists applicable assembler

Re: [Lazarus] Help needed for issue #20311: IDE always tailors "Target processor" options for Intel CPUs

2013-09-13 Thread Mark Morgan Lloyd
Sven Barth wrote: Is there anything else that I could usefully grab at the same time, e.g. ABI types? In particular, noting that you've fixed http://bugs.freepascal.org/view.php?id=20310 but is there some variant of fpc -i etc. that lists applicable assembler styles? The assembler styles a

[Lazarus] Scrollbars in SynEdit

2013-09-13 Thread Mark Morgan Lloyd
Using Lazarus 1.0, I notice that if a SynEdit has ssAutoBoth set it appears to have a permanent horizontal scrollbar as though the width is set to around 256 characters. Is this a bug, or a feature that I can disable? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are

Re: [Lazarus] Scrollbars in SynEdit

2013-09-13 Thread Martin
On 13/09/2013 20:44, Mark Morgan Lloyd wrote: Using Lazarus 1.0, I notice that if a SynEdit has ssAutoBoth set it appears to have a permanent horizontal scrollbar as though the width is set to around 256 characters. Is this a bug, or a feature that I can disable? its config disable: Optio

Re: [Lazarus] Scrollbars in SynEdit

2013-09-13 Thread Mark Morgan Lloyd
Martin wrote: On 13/09/2013 20:44, Mark Morgan Lloyd wrote: Using Lazarus 1.0, I notice that if a SynEdit has ssAutoBoth set it appears to have a permanent horizontal scrollbar as though the width is set to around 256 characters. Is this a bug, or a feature that I can disable? its config

Re: [Lazarus] Install/Uninstall package form: "Do not install" & more

2013-09-13 Thread Maxim Ganetsky
13.09.2013 11:31, Reinier Olislagers пишет: The Install/Uninstall package form has two lists: a) installed packages (or those marked for installation. Caption above: "Install" b) available but not installed packages. Caption: "Do not install" WHen I started using Lazarus, the "Do not install" ca

[Lazarus] Multiple copies of same form

2013-09-13 Thread Timothy Groves
I would like to write an app that has the following properties: 1) A main form exists, one of which is spawned at program start; 2) Additional copies of the main form may be spawned; 3) The program exits only when no copies of the main form are in existence. I've tried a few things when spawn

Re: [Lazarus] Multiple copies of same form

2013-09-13 Thread Hans-Peter Diettrich
Timothy Groves schrieb: I would like to write an app that has the following properties: 1) A main form exists, one of which is spawned at program start; 2) Additional copies of the main form may be spawned; 3) The program exits only when no copies of the main form are in existence. I've tr

Re: [Lazarus] Multiple copies of same form

2013-09-13 Thread Mattias Gaertner
On Sat, 14 Sep 2013 03:08:46 +0200 Hans-Peter Diettrich wrote: > Timothy Groves schrieb: > > I would like to write an app that has the following properties: > > > > 1) A main form exists, one of which is spawned at program start; > > 2) Additional copies of the main form may be spawned; > > 3)

Re: [Lazarus] Project Group support in the IDE

2013-09-13 Thread Marc Santhoff
On Fr, 2013-09-13 at 14:11 +0200, Michael Van Canneyt wrote: > > On Fri, 13 Sep 2013, Graeme Geldenhuys wrote: > > > On 2013-09-13 11:56, Mattias Gaertner wrote: > >> No, it is not implemented yet. > > > > Thanks for the info. > > > > > >> If you only want one window to easily switch the active

Re: [Lazarus] TTreenode.data

2013-09-13 Thread Richard Mace
It is, and yes I am. :-) On 13 Sep 2013 16:01, "Reinier Olislagers" wrote: > On 13/09/2013 09:37, Antonio Fortuny wrote: > > Le 13/09/2013 07:48, Richard Mace a écrit : > >> OK, I now have this code: > > Details are missing about your implementation: Lzarus & FPC, OS, etc. > > Guessing Windows x