Re: [Lazarus] Multiple installations of Lazarus

2012-03-08 Thread Sven Barth
Am 07.03.2012 19:11, schrieb Mark Morgan Lloyd: Sven Barth wrote: A further question Mattias, if I just run the individual lazarus.exe file in it's corresponding directory, I presume that would also be fine. Although, I appreciate that I would have 2 completely seperate sets of settings.

Re: [Lazarus] How to get external FileVersion

2012-03-08 Thread Sven Barth
Am 07.03.2012 19:06, schrieb Kjow: 2012/3/7 Hans-Peter Diettrichdrdiettri...@aol.com: Kjow schrieb: Are you sure that your other platforms support a standardized version information in their binaries? DoDi It's my first experience about managing file version numbering, do linux and mac

Re: [Lazarus] Multiple installations of Lazarus

2012-03-08 Thread Mattias Gaertner
On Thu, 08 Mar 2012 09:59:32 +0100 Sven Barth pascaldra...@googlemail.com wrote: Am 07.03.2012 19:11, schrieb Mark Morgan Lloyd: Sven Barth wrote: A further question Mattias, if I just run the individual lazarus.exe file in it's corresponding directory, I presume that would also be fine.

Re: [Lazarus] Lazarus 0.9.30.4RC2 available for download

2012-03-08 Thread Mattias Gaertner
On Wed, 07 Mar 2012 21:25:14 + Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: Vincent Snijders wrote: Op 7 maart 2012 20:26 heeft Mark Morgan Lloyd markmll.laza...@telemetry.co.uk het volgende geschreven: Vincent Snijders wrote: What's that from SVN? Some of the naming's

Re: [Lazarus] Lazarus 0.9.30.4RC2 available for download

2012-03-08 Thread Mark Morgan Lloyd
Mattias Gaertner wrote: On Wed, 07 Mar 2012 21:25:14 + Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: Vincent Snijders wrote: Op 7 maart 2012 20:26 heeft Mark Morgan Lloyd markmll.laza...@telemetry.co.uk het volgende geschreven: Vincent Snijders wrote: What's that from SVN?

Re: [Lazarus] Lazarus 0.9.30.4RC2 available for download

2012-03-08 Thread Vincent Snijders
Op 8 maart 2012 10:39 heeft Mark Morgan Lloyd markmll.laza...@telemetry.co.uk het volgende geschreven: Mattias Gaertner wrote: On Wed, 07 Mar 2012 21:25:14 + Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: The patches users sent for Sparc were for 0.9.31 and were all applied.

Re: [Lazarus] Lazarus 0.9.30.4RC2 available for download

2012-03-08 Thread Mark Morgan Lloyd
Vincent Snijders wrote: Op 8 maart 2012 10:39 heeft Mark Morgan Lloyd markmll.laza...@telemetry.co.uk het volgende geschreven: Mattias Gaertner wrote: On Wed, 07 Mar 2012 21:25:14 + Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: The patches users sent for Sparc were for 0.9.31

Re: [Lazarus] Lazarus 0.9.30.4RC2 available for download

2012-03-08 Thread Mark Morgan Lloyd
Mark Morgan Lloyd wrote: Mattias Gaertner wrote: On Wed, 07 Mar 2012 21:25:14 + Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: Vincent Snijders wrote: Op 7 maart 2012 20:26 heeft Mark Morgan Lloyd markmll.laza...@telemetry.co.uk het volgende geschreven: Vincent Snijders wrote:

[Lazarus] Changing the default gateway

2012-03-08 Thread Richard Mace
Hi All, Is it possibleto code in Lazarus, to allow changing of the gateway for a network interface for Windows and Mac? If it is, could anyone give me a code example? Thanks Richard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Access violation in build_lcl_docs --outfmt chm

2012-03-08 Thread Andrew Haines
On 03/07/12 03:22, Mattias Gaertner wrote: On Tue, 06 Mar 2012 22:23:07 -0500 Andrew Haines andrewd...@aol.com wrote: Revision 20196 is the culprit. The chm units uses ansi and widestrings. FPC now has string encodings, so you now have to be more careful when mixing strings of different

[Lazarus] Reading results from a stored procedure

2012-03-08 Thread Richard Mace
Hi All, I am trying to call a firebird stored procedure (called GETALLUSERS) from within Lazarus (Win 7) using the following code: fSQLQuery.SQL.Text := 'SELECT resultvar from GETALLUSERS'; fSQLQuery.Open; However, I get an error saying that the table GETALLUSERS cannot be found. Could someone

[Lazarus] Carbon will not be present in MAC OS X Mountain Lion

2012-03-08 Thread fred f
Hi guys, I have got information about missing Carbon interface in upcoming MAC OS X release. I tested the Cocoa with my project but it doesn't seem to be usable. What is the future Lazarus on MAC OS X? Does somebody take care about it? Thanx, ff. --

Re: [Lazarus] Reading results from a stored procedure

2012-03-08 Thread Antonio Fortuny
I use such constructs since a long time ago. Check maybe the following points: 1. is the user connected to the database allowed to use the procedure (grants) 2. the lazarus component should be a query allowing the application to obtain a cursor (TSQLQuery). Otherwise I made a quick test and

Re: [Lazarus] Multiple installations of Lazarus

2012-03-08 Thread Mattias Gaertner
On Wed, 07 Mar 2012 18:11:40 + Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: Sven Barth wrote: A further question Mattias, if I just run the individual lazarus.exe file in it's corresponding directory, I presume that would also be fine. Although, I appreciate that I would

Re: [Lazarus] Lazarus 0.9.30.4RC2 available for download

2012-03-08 Thread Vincent Snijders
Op 8 maart 2012 12:53 heeft Mark Morgan Lloyd markmll.laza...@telemetry.co.uk het volgende geschreven: 0.9.31 at 35818 using 2.7.1 is OK apart from the form problem. 0.9.30.4RC1 built from /tags/lazarus_0_9_30_4RC1 using 2.6.0 has the problem. Which versions do you want me to try next?

[Lazarus] Threads

2012-03-08 Thread Antonio Fortuny
Hi all. Is it any chance that a running thread derived from TTHREAD ignores the FreeOnTerminate flag ? Antonio -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Multiple installations of Lazarus

2012-03-08 Thread Mark Morgan Lloyd
Mattias Gaertner wrote: On Wed, 07 Mar 2012 18:11:40 + Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: Sven Barth wrote: A further question Mattias, if I just run the individual lazarus.exe file in it's corresponding directory, I presume that would also be fine. Although, I

Re: [Lazarus] Multiple installations of Lazarus

2012-03-08 Thread Martin
On 08/03/2012 15:57, Mark Morgan Lloyd wrote: I think what would be really useful would be a redirect, i.e. the IDE first looks at e.g. ~/.lazarus and if it sees ~/.lazarus/redirect it expands macros in the line it contains to have the same effect as -pcp. The version as macro on the

Re: [Lazarus] Multiple installations of Lazarus

2012-03-08 Thread Mark Morgan Lloyd
Martin wrote: On 08/03/2012 15:57, Mark Morgan Lloyd wrote: I think what would be really useful would be a redirect, i.e. the IDE first looks at e.g. ~/.lazarus and if it sees ~/.lazarus/redirect it expands macros in the line it contains to have the same effect as -pcp. The version as

[Lazarus] Setting clipboard on Linux adds ending #0

2012-03-08 Thread cobines
Hello. Putting a string to a clipboard is done in TClipboard.SetAsText(): SetBuffer(PredefinedClipboardFormat(pcfText),s[1],length(Value)+1); Note that there is length(Value)+1, ending zero included. This comes from the following revision: r7259 | vincents | 2005-06-21 13:42:35 +0200 (wto) |

Re: [Lazarus] Adding packages at build time

2012-03-08 Thread waldo kitty
On 3/7/2012 18:20, Mattias Gaertner wrote: On Wed, 07 Mar 2012 14:54:37 -0500 waldo kittywkitt...@windstream.net wrote: echo compiling lazarus... cd %myLAZpath% make clean lazbuild OPT=-glw2 lazbuild --build-ide= echo lazarus compilation complete... ok... still trying to fully

Re: [Lazarus] Lazarus 0.9.30.4RC2 available for download

2012-03-08 Thread Alexander Klenin
On Thu, Mar 8, 2012 at 02:44, Vincent Snijders vincent.snijd...@gmail.com wrote: Compared with 0.9.30.4RC1 the following changes have been made: * configuration error in the windows installer has been fixed * problems with threading under gtk2 has been fixed * several bug fixes for the gtk2

Re: [Lazarus] Lazarus 0.9.30.4RC2 available for download

2012-03-08 Thread Mark Morgan Lloyd
Vincent Snijders wrote: Op 8 maart 2012 12:53 heeft Mark Morgan Lloyd markmll.laza...@telemetry.co.uk het volgende geschreven: 0.9.31 at 35818 using 2.7.1 is OK apart from the form problem. 0.9.30.4RC1 built from /tags/lazarus_0_9_30_4RC1 using 2.6.0 has the problem. Which versions do you

Re: [Lazarus] Lazarus 0.9.30.4RC2 available for download

2012-03-08 Thread Vincent Snijders
Op 8 maart 2012 19:19 heeft Mark Morgan Lloyd markmll.laza...@telemetry.co.uk het volgende geschreven: Vincent Snijders wrote: Op 8 maart 2012 12:53 heeft Mark Morgan Lloyd markmll.laza...@telemetry.co.uk het volgende geschreven: 0.9.31 at 35818 using 2.7.1 is OK apart from the form problem.

Re: [Lazarus] Lazarus 0.9.30.4RC2 available for download

2012-03-08 Thread Mark Morgan Lloyd
Vincent Snijders wrote: Op 8 maart 2012 19:19 heeft Mark Morgan Lloyd markmll.laza...@telemetry.co.uk het volgende geschreven: Vincent Snijders wrote: Op 8 maart 2012 12:53 heeft Mark Morgan Lloyd markmll.laza...@telemetry.co.uk het volgende geschreven: 0.9.31 at 35818 using 2.7.1 is OK apart

Re: [Lazarus] Setting clipboard on Linux adds ending #0

2012-03-08 Thread zeljko
On Thursday 08 of March 2012 18:01:14 cobines wrote: Hello. Putting a string to a clipboard is done in TClipboard.SetAsText(): SetBuffer(PredefinedClipboardFormat(pcfText),s[1],length(Value)+1); Note that there is length(Value)+1, ending zero included. This comes from the following

Re: [Lazarus] Threads

2012-03-08 Thread Mattias Gaertner
On Thu, 08 Mar 2012 15:50:32 +0100 Antonio Fortuny a.fort...@sitasoftware.lu wrote: Hi all. Is it any chance that a running thread derived from TTHREAD ignores the FreeOnTerminate flag ? FreeOnTerminate works here. Maybe your thread has an uncaught exception? Mattias --

[Lazarus] Callstack parameters

2012-03-08 Thread Hans-Peter Diettrich
Is it possible to disable the display of object members in the parameter list? Currently an object reference hides all following parameters :-( BTW: can the parameter column be extended automatically to the right margin of the window? DoDi --

Re: [Lazarus] Adding packages at build time

2012-03-08 Thread Mattias Gaertner
On Thu, 08 Mar 2012 12:36:58 -0500 waldo kitty wkitt...@windstream.net wrote: On 3/7/2012 18:20, Mattias Gaertner wrote: On Wed, 07 Mar 2012 14:54:37 -0500 waldo kittywkitt...@windstream.net wrote: echo compiling lazarus... cd %myLAZpath% make clean lazbuild OPT=-glw2 lazbuild

[Lazarus] FPDocManager news

2012-03-08 Thread Hans-Peter Diettrich
I just committed a new version of the FPDoc Manager :-) Now support for additional description directories are disabled by default, this option deserves more support for efficient use. Please report your suggestions if you find such a feature useful, and what support you expect. Instead I

Re: [Lazarus] Setting clipboard on Linux adds ending #0

2012-03-08 Thread Hans-Peter Diettrich
zeljko schrieb: We cannot remove it just because you think so. If it's removed we need to test consequences on gtk, gtk2 and qt. Why do you think that an additional #0 should be added, if not required? DoDi -- ___ Lazarus mailing list

Re: [Lazarus] Callstack parameters

2012-03-08 Thread Martin
On 08/03/2012 19:57, Hans-Peter Diettrich wrote: Is it possible to disable the display of object members in the parameter list? Currently an object reference hides all following parameters :-( Can you give an example? If I pass an object (instance of a class), I just see the address.

Re: [Lazarus] Callstack parameters

2012-03-08 Thread Hans-Peter Diettrich
Martin schrieb: On 08/03/2012 19:57, Hans-Peter Diettrich wrote: Is it possible to disable the display of object members in the parameter list? Currently an object reference hides all following parameters :-( Can you give an example? If I pass an object (instance of a class), I just see the

Re: [Lazarus] Callstack parameters

2012-03-08 Thread Martin
On 08/03/2012 22:04, Hans-Peter Diettrich wrote: Martin schrieb: On 08/03/2012 19:57, Hans-Peter Diettrich wrote: Is it possible to disable the display of object members in the parameter list? Currently an object reference hides all following parameters :-( Can you give an example? If I

Re: [Lazarus] Adding packages at build time

2012-03-08 Thread waldo kitty
On 3/8/2012 15:14, Mattias Gaertner wrote: Keep in mind that if the options are different in the IDE settings the IDE will rebuild the packages again. Maybe the --build-mode parameter can be extended to set the mode for the IDE building. that would be a great step forward because right now it

Re: [Lazarus] FPDocManager news

2012-03-08 Thread leledumbo
Where is this FPDocManager? I've seen a thread about it, but I can't find (or miss due to skimming) where it is. -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-FPDocManager-news-tp3810758p3811886.html Sent from the Free Pascal - Lazarus mailing list

Re: [Lazarus] Adding packages at build time

2012-03-08 Thread Mattias Gaertner
On Thu, 08 Mar 2012 22:23:30 -0500 waldo kitty wkitt...@windstream.net wrote: On 3/8/2012 15:14, Mattias Gaertner wrote: Keep in mind that if the options are different in the IDE settings the IDE will rebuild the packages again. Maybe the --build-mode parameter can be extended to set the

Re: [Lazarus] Setting clipboard on Linux adds ending #0

2012-03-08 Thread zeljko
On Thursday 08 of March 2012 21:01:51 Hans-Peter Diettrich wrote: zeljko schrieb: We cannot remove it just because you think so. If it's removed we need to test consequences on gtk, gtk2 and qt. Why do you think that an additional #0 should be added, if not required? I didn't say so. I

[Lazarus] AGG missing 3 asm conversions to work on 64-bit CPU's

2012-03-08 Thread Graeme Geldenhuys
Hi, Can anybody with Assembly knowledge help convert 3 methods in AggPas (lcl/components/aggpas/src) so that it could work under x86_64 systems? The three methods are shr_int6(), shr_int16() and shr_int32() defined inside the agg_basics.pas unit. For example, here is a one method that is often