Re: [Lazarus] Loading old project into Lazarus_fixes causes lock-up...

2010-11-29 Thread Sven Barth
Am 29.11.2010 00:01, schrieb Bo Berglund: On Sun, 28 Nov 2010 22:36:18 +0100, Vincent Snijders vincent.snijd...@gmail.com wrote: 2010/11/28 Bo Berglundbo.bergl...@gmail.com: On Sun, 28 Nov 2010 22:14:32 +0100, Vincent Snijders vincent.snijd...@gmail.com wrote: 2010/11/28 Bo

Re: [Lazarus] Loading old project into Lazarus_fixes causes lock-up...

2010-11-29 Thread Max Vlasov
On Mon, Nov 29, 2010 at 10:17 AM, Graeme Geldenhuys graemeg.li...@gmail.com wrote: The Golden Rule of using Lazarus If you find a version or revision that works for you - stick with it for as long as possible! Do not be tempted to upgrade, because what works

Re: [Lazarus] Portable way to enumerate serial ports?

2010-11-29 Thread Bernd Mueller
Bo Berglund wrote: Are com ports on ARM based embedded Linux named 'ttyAM1', 'ttyAM2' etc? no, on my custom designed board (6 UARTs), I am using ttyS* for the external UARTs and ttyAT* for the onchip UARTs. For the gadget serial driver ttyGS* is usual. Regards, Bernd. --

[Lazarus] New unit with resource with some components on it by default

2010-11-29 Thread Joost van der Sluis
Hi all, Is it possible to add a 'new module' option to the ide which has by default some components on it? With a TFileDescPascalUnitWithResource, it is possible to add a new module type, but I can't find out a way to add some components on it by default. (I could add the definitions to the

Re: [Lazarus] New unit with resource with some components on it by default

2010-11-29 Thread Mattias Gaertner
On Mon, 29 Nov 2010 10:21:07 +0100 Joost van der Sluis jo...@cnoc.nl wrote: Hi all, Is it possible to add a 'new module' option to the ide which has by default some components on it? With a TFileDescPascalUnitWithResource, it is possible to add a new module type, but I can't find out a

Re: [Lazarus] Loading old project into Lazarus_fixes causes lock-up...

2010-11-29 Thread Graeme Geldenhuys
Op 2010-11-29 10:52, Max Vlasov het geskryf: some of them I could not live anymore. For example, one of them was related to opening one particular package, selecting unit, and getting AV after selecting remove. When I wanted to report about this bug, I tried the same with svn version, and

Re: [Lazarus] Loading old project into Lazarus_fixes causes lock-up...

2010-11-29 Thread Martin
On 29/11/2010 07:17, Graeme Geldenhuys wrote: Yes, and consider the other side of the coin. It will also add many many new bugs. I also use 0.9.28.3 in a VM session for our Windows development, and testing of our projects. I have no problems at the moment, but I don't dare update that VM either,

Re: [Lazarus] Loading old project into Lazarus_fixes causes lock-up...

2010-11-29 Thread zeljko
On Monday 29 November 2010 10:48, Graeme Geldenhuys wrote: Op 2010-11-29 10:52, Max Vlasov het geskryf: some of them I could not live anymore. For example, one of them was related to opening one particular package, selecting unit, and getting AV after selecting remove. When I wanted to

Re: [Lazarus] Loading old project into Lazarus_fixes causes lock-up...

2010-11-29 Thread Martin
On 29/11/2010 11:18, zeljko wrote: On Monday 29 November 2010 10:48, Graeme Geldenhuys wrote: * Debugging is seriously broken in 0.9.29. Watch windows don't update, Local Vars window shows old values, breakpoints don't trigger, break point hit count doesn't work. This all causes major headaches

Re: [Lazarus] Loading old project into Lazarus_fixes causes lock-up...

2010-11-29 Thread Vincent Snijders
2010/11/29 zeljko zel...@holobit.net: On Monday 29 November 2010 10:48, Graeme Geldenhuys wrote: * Focused items in list views, treeviews etc have grey background and grey text, so when I have an item selected, I can't read it. This occurs in Messages Window, any treeview in the IDE (treeviews

Re: [Lazarus] Loading old project into Lazarus_fixes causes lock-up...

2010-11-29 Thread Martin
On 29/11/2010 11:30, Martin wrote: On 29/11/2010 11:18, zeljko wrote: On Monday 29 November 2010 10:48, Graeme Geldenhuys wrote: * Debugging is seriously broken in 0.9.29. Watch windows don't update, And yes, debugging was worse in 0.9.29 than in 0.9.28 = it is a snapshot, it is not

Re: [Lazarus] I desperately need some ideas of reducing edit, compile, debug cycle

2010-11-29 Thread Marco van de Voort
On Sat, Nov 27, 2010 at 11:52:08AM +0100, Sven Barth wrote: That's why the introduction of the internal linker reduced compile time on Windows that much: one less process to execute :D The binary startup time matters for building via make files. I doubt if it matters for compiling _apps_ in

Re: [Lazarus] I desperately need some ideas of reducing edit, compile, debug cycle

2010-11-29 Thread Marco van de Voort
On Sat, Nov 27, 2010 at 06:24:26PM +0300, Max Vlasov wrote: Sven, it all really matters, but on modern computers with enough memory installed all these hd-related difference become irrelevant on the next usage of the same files/executables/dlls, since they all go to the system cache. Lazarus

Re: [Lazarus] Loading old project into Lazarus_fixes causes lock-up...

2010-11-29 Thread Bo Berglund
On Mon, 29 Nov 2010 11:48:42 +0200, Graeme Geldenhuys graemeg.li...@gmail.com wrote: I mainly develop under Linux (and recompile and test under Windows). My Lazarus IDE is a mix of a relatively working revision, and then my own fixes applied to it. But lately I tend to use MSEide a lot more as

Re: [Lazarus] Loading old project into Lazarus_fixes causes lock-up...

2010-11-29 Thread Graeme Geldenhuys
Op 2010-11-29 13:30, Martin het geskryf: If you find other issue with the debugger, then please let us know. As for reporting Lazarus IDE bugs in general... To date, I have reported 216 bugs already. I feel bad having to add more, so I stopped reporting issues. Regards, - Graeme - --

Re: [Lazarus] Loading old project into Lazarus_fixes causes lock-up...

2010-11-29 Thread Graeme Geldenhuys
Op 2010-11-29 17:13, Bo Berglund het geskryf: Is it possible to use Eclipse with FPC? I have seen a Free Pascal add-on for Eclipse (Google will find it for you), but to date, I have never used Eclipse for any real work. I simply loaded it up to see how it looks. If you want something small

Re: [Lazarus] What is a TSQLTransaction and why do I need one?

2010-11-29 Thread Joost van der Sluis
On Wed, 2010-11-24 at 17:40 -0200, Alexsander Rosa wrote: But it is transparent to the libpq programmer; why it's not transparent with sqldb? To learn people that they have to use transactions. There are only a very few cases in which you don't need a transaction. But most programmers do a:

Re: [Lazarus] What is a TSQLTransaction and why do I need one?

2010-11-29 Thread Joost van der Sluis
On Wed, 2010-11-24 at 20:57 +0100, Michael Van Canneyt wrote: On Wed, 24 Nov 2010, Alexsander Rosa wrote: But it is transparent to the libpq programmer; why it's not transparent with sqldb? Correction: it can be transparant in libpq. But we can make it so in SQLDB. The SQLDB

Re: [Lazarus] What is a TSQLTransaction and why do I need one?

2010-11-29 Thread michael . vancanneyt
On Mon, 29 Nov 2010, Joost van der Sluis wrote: On Wed, 2010-11-24 at 20:57 +0100, Michael Van Canneyt wrote: On Wed, 24 Nov 2010, Alexsander Rosa wrote: But it is transparent to the libpq programmer; why it's not transparent with sqldb? Correction: it can be transparant in libpq. But

Re: [Lazarus] What is a TSQLTransaction and why do I need one?

2010-11-29 Thread Joost van der Sluis
On Fri, 2010-11-26 at 12:14 -0200, Alexsander Rosa wrote: 2010/11/26 Mark Morgan Lloyd markmll.laza...@telemetry.co.uk I've tried to use sqldb but it adds too much unneeded overhead. Under PostgreSQL it actually

Re: [Lazarus] What is a TSQLTransaction and why do I need one?

2010-11-29 Thread Joost van der Sluis
On Mon, 2010-11-29 at 17:57 +0100, michael.vancann...@wisa.be wrote: On Mon, 29 Nov 2010, Joost van der Sluis wrote: On Wed, 2010-11-24 at 20:57 +0100, Michael Van Canneyt wrote: On Wed, 24 Nov 2010, Alexsander Rosa wrote: But it is transparent to the libpq programmer; why it's not

Re: [Lazarus] What is a TSQLTransaction and why do I need one?

2010-11-29 Thread Alexsander Rosa
You mean to TEACH people and you assume too much about me. 2010/11/29 Joost van der Sluis jo...@cnoc.nl On Wed, 2010-11-24 at 17:40 -0200, Alexsander Rosa wrote: But it is transparent to the libpq programmer; why it's not transparent with sqldb? To learn people that they have to use

Re: [Lazarus] Loading old project into Lazarus_fixes causes lock-up...

2010-11-29 Thread Sven Barth
On 29.11.2010 16:11, Graeme Geldenhuys wrote: Op 2010-11-29 13:30, Martin het geskryf: If you find other issue with the debugger, then please let us know. As for reporting Lazarus IDE bugs in general... To date, I have reported 216 bugs already. I feel bad having to add more, so I stopped

Re: [Lazarus] Loading old project into Lazarus_fixes causes lock-up...

2010-11-29 Thread Sven Barth
On 29.11.2010 16:03, Graeme Geldenhuys wrote: Op 2010-11-29 13:02, Martin het geskryf: And btw quote: version or revision. As for revisions it is clearly said that they are not tested at all, so on this part you are absolutely right. But it is not considered a problem. There was a reason I

[Lazarus] Customizing IDE Toolbar

2010-11-29 Thread Marco Aurelio Ramirez Carrillo
Hi. Is there a tutorial or wiki file, on customizing (adding new toolbars or buttons) to the Lazarus IDE Toolbar. Not the component toolbar, but the toolbars for saving a file, debugging, etc. Thanks. stardev TOD mramirez TA gmail TOD com -- ___

[Lazarus] Small question regarding SpinEdit

2010-11-29 Thread Sven Barth
Hello together! Is it intended that a SpinEdit displays its name when it's dropped on a form at design time? It's working correctly at runtime (the default value is displayed), but it looks a bit strange when designing... Regards, Sven -- ___

Re: [Lazarus] What is a TSQLTransaction and why do I need one?

2010-11-29 Thread Michael Van Canneyt
On Mon, 29 Nov 2010, Joost van der Sluis wrote: On Mon, 2010-11-29 at 17:57 +0100, michael.vancann...@wisa.be wrote: On Mon, 29 Nov 2010, Joost van der Sluis wrote: On Wed, 2010-11-24 at 20:57 +0100, Michael Van Canneyt wrote: On Wed, 24 Nov 2010, Alexsander Rosa wrote: But it is

[Lazarus] Form position and size not preserved

2010-11-29 Thread Darius Blaszyk
Since some time the UI position and size of the forms of Lazarus are not preserved anymore. If I for instance organize them in a certain way and then press compile, the source editor changes size and position. Also restarting Lazarus makes the forms jump back to some original size and position. Is

Re: [Lazarus] Customizing IDE Toolbar

2010-11-29 Thread Mattias Gaertner
On Mon, 29 Nov 2010 13:36:37 -0600 Marco Aurelio Ramirez Carrillo stardev.mrami...@gmail.com wrote: Hi. Is there a tutorial or wiki file, on customizing (adding new toolbars or buttons) to the Lazarus IDE Toolbar. Not the component toolbar, but the toolbars for saving a file, debugging, etc.

Re: [Lazarus] Loading old project into Lazarus_fixes causes lock-up...

2010-11-29 Thread Bo Berglund
On Mon, 29 Nov 2010 00:01:59 +0100, Bo Berglund bo.bergl...@gmail.com wrote: Retrieved the trunk version into folder lazarus_trunk (I renamed after SVN was done, is it possible to redirect the SVN checkout into a folder of your own choosing?). Then make clean all and fixed a shortcut to start

Re: [Lazarus] Form position and size not preserved

2010-11-29 Thread José Mejuto
Hello Lazarus-List, Monday, November 29, 2010, 10:08:06 PM, you wrote: DB Since some time the UI position and size of the forms of Lazarus are not DB preserved anymore. If I for instance organize them in a certain way and DB then press compile, the source editor changes size and position. Also

[Lazarus] WebData - Formatting ExtJSon fields

2010-11-29 Thread Leonardo M . Ramé
Hi, I'm using WebData and I need to format some numbers as Currency before sending back from my app to the browser. How can I do that? -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list

Re: [Lazarus] Small question regarding SpinEdit

2010-11-29 Thread Paul Ishenin
30.11.2010 2:40, Sven Barth wrote: Is it intended that a SpinEdit displays its name when it's dropped on a form at design time? It's working correctly at runtime (the default value is displayed), but it looks a bit strange when designing... No, it is not intended I think. Looks like a bug

Re: [Lazarus] Loading old project into Lazarus_fixes causes lock-up...

2010-11-29 Thread Paul Ishenin
30.11.2010 5:16, Bo Berglund wrote: SdpoSerial\sdposerial.pas(37,7) Fatal: Can't find unit LResources used by SdpoSerial Notice: I *have* opened the sdposeriallaz package in this instance of Lazarus and then closed it again. According to earlier discussions this would tell Lazarus where it is

Re: [Lazarus] Loading old project into Lazarus_fixes causes lock-up...

2010-11-29 Thread Bo Berglund
On Tue, 30 Nov 2010 09:20:29 +0700, Paul Ishenin i...@kmiac.ru wrote: 30.11.2010 5:16, Bo Berglund wrote: SdpoSerial\sdposerial.pas(37,7) Fatal: Can't find unit LResources used by SdpoSerial Notice: I *have* opened the sdposeriallaz package in this instance of Lazarus and then closed it

Re: [Lazarus] What is a TSQLTransaction and why do I need one?

2010-11-29 Thread Mark Morgan Lloyd
Joost van der Sluis wrote: On Wed, 2010-11-24 at 17:40 -0200, Alexsander Rosa wrote: But it is transparent to the libpq programmer; why it's not transparent with sqldb? To learn people that they have to use transactions. There are only a very few cases in which you don't need a transaction.

Re: [Lazarus] What is a TSQLTransaction and why do I need one?

2010-11-29 Thread Mark Morgan Lloyd
Joost van der Sluis wrote: PostgreSQL gets locked, I mean, the tables being used by sqldb can't be modified (new columns, new constraints, etc) while the sqldb connection is active, even if it's a read-only SELECT. If someone is testing a heavy report the tables affected can't be changed by the

[Lazarus] Locking down a string grid

2010-11-29 Thread Mark Morgan Lloyd
If using a string grid in a panel on a form, with the grid set r/o and the containers sized to be a good fit, what's the right way to prevent the user from moving the selected cell which is causing the grid to move around the available space? Is it possible to disable the selected-cell