Re: [Lazarus] Problem with revision 28344

2010-11-23 Thread zeljko
On Tuesday 23 November 2010 08:27, tim launchbury wrote: Hello all When updating from svn, applying revision 28344 causes my app to fail with runtime error 202. Is there a problem with this patch or do I need a workround or code change in my app? It worked fine before this change. Update

[Lazarus] false disk is full messages

2010-11-23 Thread Graeme Geldenhuys
Hi, Has anybody else received false Disk is full error messages from Lazarus IDE? Lazarus 0.9.29 r28160 FPC 2.4.3 x86_64-linux-gtk 2 I restarted Lazarus IDE a few times, and the error kept appearing when I try and build my project. Other programs have no problems running or saving information.

Re: [Lazarus] false disk is full messages

2010-11-23 Thread zeljko
On Tuesday 23 November 2010 09:35, Graeme Geldenhuys wrote: Hi, Has anybody else received false Disk is full error messages from Lazarus IDE? Yes, I see it sometimes for years (but just sometimes).Already asked what it could be and afair somebody said that's something with fpc (but it was

Re: [Lazarus] Problem with revision 28344

2010-11-23 Thread zeljko
On Tuesday 23 November 2010 09:33, zeljko wrote: On Tuesday 23 November 2010 08:27, tim launchbury wrote: Hello all When updating from svn, applying revision 28344 causes my app to fail with runtime error 202. Is there a problem with this patch or do I need a workround or code change

Re: [Lazarus] false disk is full messages

2010-11-23 Thread Mattias Gaertner
On Tue, 23 Nov 2010 09:50:48 +0100 zeljko zel...@holobit.net wrote: On Tuesday 23 November 2010 09:35, Graeme Geldenhuys wrote: Hi, Has anybody else received false Disk is full error messages from Lazarus IDE? Yes, I see it sometimes for years (but just sometimes).Already asked what

[Lazarus] Carbon: Print out is mirrored

2010-11-23 Thread Fred Flinestone
Hi, When I print out over my printing module on Carbon then after second page it starts to print out mirrored where left is with right exchanged. This continues until I restart program. Linux doesn't have any problem. I cannot find any property which could be responsible for this behavior. I know

Re: [Lazarus] false disk is full messages

2010-11-23 Thread Graeme Geldenhuys
Op 2010-11-23 11:17, Mattias Gaertner het geskryf: See http://lists.freepascal.org/lists/fpc-pascal/2007-October/015301.html I wasn't trying to run my application via the IDE, I was simply trying to recompile/build it using Ctrl+F9 (build). So the issue was not caused by my application, but

Re: [Lazarus] false disk is full messages

2010-11-23 Thread zeljko
On Tuesday 23 November 2010 10:17, Mattias Gaertner wrote: On Tue, 23 Nov 2010 09:50:48 +0100 zeljko zel...@holobit.net wrote: On Tuesday 23 November 2010 09:35, Graeme Geldenhuys wrote: Hi, Has anybody else received false Disk is full error messages from Lazarus IDE? Yes, I

Re: [Lazarus] Debugging Lazarus IDE (Package access violation)

2010-11-23 Thread Max Vlasov
On Tue, Nov 23, 2010 at 10:26 AM, Paul Ishenin i...@kmiac.ru wrote: 23.11.2010 13:54, Max Vlasov пишет: I suppose I should report an issue, but just wondering, is it hard (if it full reproducible) to run another instance of Lazarus and debug it, so the report could contain more information

Re: [Lazarus] Windows Explorer context menu plug-in with fpc?

2010-11-23 Thread Thierry B.
Le 22/11/2010 20:30, Bo Berglund a écrit : On Fri, 19 Nov 2010 15:48:07 +0100, Bo Berglund bo.bergl...@gmail.com wrote: On Fri, 19 Nov 2010 07:45:51 -0600, Paul Breneman list2...@brenemanlabs.com wrote: Embarcadero's web site seems to be down at the moment, but there is a little copied

Re: [Lazarus] Debugging Lazarus IDE (Package access violation)

2010-11-23 Thread Mattias Gaertner
On Tue, 23 Nov 2010 15:04:24 +0300 Max Vlasov max.vla...@gmail.com wrote: On Tue, Nov 23, 2010 at 10:26 AM, Paul Ishenin i...@kmiac.ru wrote: 23.11.2010 13:54, Max Vlasov пишет: I suppose I should report an issue, but just wondering, is it hard (if it full reproducible) to run another

Re: [Lazarus] Debugging Lazarus IDE (Package access violation)

2010-11-23 Thread Max Vlasov
On Tue, Nov 23, 2010 at 3:12 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: By the way, the bug listed as solved ( http://bugs.freepascal.org/view.php?id=17437) probably still exist. Actually the makefiles in the folder \components\lazcontrols are the only one that occasionally

Re: [Lazarus] Installing LazReport - 8.0 or 0.9.7 - what version??

2010-11-23 Thread Vincent Snijders
2010/8/30 Marcos Douglas m...@delfire.net: On Mon, Aug 30, 2010 at 11:11 AM, Marcos Douglas m...@delfire.net wrote: For the first time I tried to add the package lazreport but I got this error: Unable to load package lazreport ( = 8.00) Steps I did: 1 - I clicked in menu: Package

Re: [Lazarus] Installing LazReport - 8.0 or 0.9.7 - what version??

2010-11-23 Thread Marcos Douglas
On Tue, Nov 23, 2010 at 11:42 AM, Vincent Snijders vincent.snijd...@gmail.com wrote: 2010/8/30 Marcos Douglas m...@delfire.net: On Mon, Aug 30, 2010 at 11:11 AM, Marcos Douglas m...@delfire.net wrote: For the first time I tried to add the package lazreport but I got this error: Unable to

Re: [Lazarus] Installing LazReport - 8.0 or 0.9.7 - what version??

2010-11-23 Thread Alexsander Rosa
Too many connections on bugtrack website... 2010/11/23 Vincent Snijders vincent.snijd...@gmail.com 2010/8/30 Marcos Douglas m...@delfire.net: On Mon, Aug 30, 2010 at 11:11 AM, Marcos Douglas m...@delfire.net wrote: For the first time I tried to add the package lazreport but I got this

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

2010-11-23 Thread Mark Morgan Lloyd
Before anything else I'd like to say that I'm entirely familiar with transactions in the SQL context. However I've been having a bit of difficulty sorting out the relationship between a TPQConnection, multiple TSQLQuery, and transaction object(s). I'm roughing out a program which I am trying

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

2010-11-23 Thread Alexsander Rosa
This was the main reason I gave up on sqldb and moved to Zeos. 2010/11/23 Mark Morgan Lloyd markmll.laza...@telemetry.co.uk Before anything else I'd like to say that I'm entirely familiar with transactions in the SQL context. However I've been having a bit of difficulty sorting out the

Re: [Lazarus] Windows Explorer context menu plug-in with fpc?

2010-11-23 Thread Bo Berglund
On Tue, 23 Nov 2010 13:07:39 +0100, Thierry B. thierrybotho...@yahoo.fr wrote: At http://cc.embarcadero.com/Item/27554 you can find the source code for a shell extension which can be compiled to a 64bit library using Free Pascal / Lazarus. The source code is compatible with Delphi 7 and

Re: [Lazarus] How to tell lazarus the location of a used package?

2010-11-23 Thread Bo Berglund
On Mon, 22 Nov 2010 18:39:05 +, Martin laza...@mfriebe.de wrote: On 22/11/2010 18:24, Bo Berglund wrote: On Sun, 21 Nov 2010 23:38:42 +, Martinlaza...@mfriebe.de wrote: On 21/11/2010 22:16, Bo Berglund wrote: I have switched to using the SVN version of lazarus. I put it in parallel

Re: [Lazarus] Windows Explorer context menu plug-in with fpc?

2010-11-23 Thread Paul Breneman
Bo Berglund wrote: On Tue, 23 Nov 2010 13:07:39 +0100, Thierry B. thierrybotho...@yahoo.fr wrote: At http://cc.embarcadero.com/Item/27554 you can find the source code for a shell extension which can be compiled to a 64bit library using Free Pascal / Lazarus. The source code is compatible with

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

2010-11-23 Thread Joost van der Sluis
On Tue, 2010-11-23 at 16:01 +, Mark Morgan Lloyd wrote: Before anything else I'd like to say that I'm entirely familiar with transactions in the SQL context. However I've been having a bit of difficulty sorting out the relationship between a TPQConnection, multiple TSQLQuery, and

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

2010-11-23 Thread Mark Morgan Lloyd
Joost van der Sluis wrote: On Tue, 2010-11-23 at 16:01 +, Mark Morgan Lloyd wrote: Before anything else I'd like to say that I'm entirely familiar with transactions in the SQL context. However I've been having a bit of difficulty sorting out the relationship between a TPQConnection,

Re: [Lazarus] Installing LazReport - 8.0 or 0.9.7 - what version??

2010-11-23 Thread José Mejuto
Hello Lazarus-List, Tuesday, November 23, 2010, 4:53:46 PM, you wrote: AR Too many connections on bugtrack website... Or worst: Database query failed. Error received from database was #145: Table './bugtracker/mantis_bug_table' is marked as crashed and should be repaired for the query:

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

2010-11-23 Thread Alexsander Rosa
I think the statement without a transaction, Postgres will do nothing, ever. For example: you can write a small C program using libpq that executes a simple SELECT without any transaction SQL code. Here's a comment from PostgreSQL's website [1]: /* * Our test case here involves using a

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

2010-11-23 Thread Martin Schreiber
On Tuesday, 23. November 2010 18.01:35 Alexsander Rosa wrote: I think the statement without a transaction, Postgres will do nothing, ever. For example: you can write a small C program using libpq that executes a simple SELECT without any transaction SQL code. Here's a comment [...] It uses an

Re: [Lazarus] How to tell lazarus the location of a used package?

2010-11-23 Thread Bo Berglund
On Tue, 23 Nov 2010 17:34:07 +0100, Sven Barth pascaldra...@googlemail.com wrote: Then I don't understand... I have done nothing about the config (since i did not know it existed), so my new SVN version of Lazarus (the fixes branch) should read the same data as the normal lazarus, right?

Re: [Lazarus] How to tell lazarus the location of a used package?

2010-11-23 Thread Bo Berglund
On Tue, 23 Nov 2010 19:54:23 +0100, Bo Berglund bo.bergl...@gmail.com wrote: Anyway, now I understand what is going on and the package is recognized. Well, I was a bit premature. I now looked in the config dirs and located the packagefiles.xml files and had a look inside. This is what I found:

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

2010-11-23 Thread Mark Morgan Lloyd
Martin Schreiber wrote: On Tuesday, 23. November 2010 18.01:35 Alexsander Rosa wrote: I think the statement without a transaction, Postgres will do nothing, ever. For example: you can write a small C program using libpq that executes a simple SELECT without any transaction SQL code. Here's a

[Lazarus] Reading std::ostream from dll

2010-11-23 Thread Leonardo M . Ramé
Hi, I'm working with a dll/so created with C++, that has a function which fills an std::ostream, and I need to read it from a FreePascal app using a buffer or TStream. The C++ method is similar to this: void myClass::getOutputData(ostream out); I wrapped it to be readable from FPC as this: ...

[Lazarus] Property TComponent.Tag change

2010-11-23 Thread Michael Van Canneyt
Hi, To remain compatible with the upcoming Delphi 64-bit release, I've changed the 'Tag' property type from Integer - PtrInt. The practical upshot from this is that you can store a pointer in it on all platforms. (a widespread abuse of the Tag property). This potentially breaks some existing

Re: [Lazarus] Is there a Lazarus component that allows setting of visual properties at runtime and saving them?

2010-11-23 Thread Michael Van Canneyt
On Tue, 23 Nov 2010, Frank Church wrote: Is there a Lazarus component that allows setting of visual properties at runtime and saving them? I am thinking along the lines of the Object Debugger component by Marco Cantu Install the RunTimeTypeInfoControls package. It contains (amongst

Re: [Lazarus] Property TComponent.Tag change

2010-11-23 Thread Luiz Americo Pereira Camara
Michael Van Canneyt escreveu: Hi, To remain compatible with the upcoming Delphi 64-bit release, I've changed the 'Tag' property type from Integer - PtrInt. Do you already has the info that Delphi will do this change? Luiz The practical upshot from this is that you can store a pointer in

[Lazarus] object casting to pointer

2010-11-23 Thread Marco Aurelio Ramirez Carrillo
Hi. I'm working witha TTreeview, and trying to assign a object to a TTreeNode.data property: code MyTreeNode := myTreeview.add(nil, MyTreeNode); // any TObject descendant class MyObject = MyClass.Create(); // all of these, generate a syntax/semantic error: // no typecasting MyTreeNode.Data :=

Re: [Lazarus] object casting to pointer

2010-11-23 Thread Leonardo M . Ramé
On 2010-11-23 15:41:20 -0600, Marco Aurelio Ramirez Carrillo wrote: Hi. I'm working witha TTreeview, and trying to assign a object to a TTreeNode.data property: code MyTreeNode := myTreeview.add(nil, MyTreeNode); // any TObject descendant class MyObject = MyClass.Create(); // all of

Re: [Lazarus] How to tell lazarus the location of a used package?

2010-11-23 Thread Mattias Gaertner
On Tue, 23 Nov 2010 20:03:26 +0100 Bo Berglund bo.bergl...@gmail.com wrote: On Tue, 23 Nov 2010 19:54:23 +0100, Bo Berglund bo.bergl...@gmail.com wrote: Anyway, now I understand what is going on and the package is recognized. Well, I was a bit premature. I now looked in the config

Re: [Lazarus] object casting to pointer

2010-11-23 Thread Mattias Gaertner
On Tue, 23 Nov 2010 15:41:20 -0600 Marco Aurelio Ramirez Carrillo stardev.mrami...@gmail.com wrote: Hi. I'm working witha TTreeview, and trying to assign a object to a TTreeNode.data property: code MyTreeNode := myTreeview.add(nil, MyTreeNode); // any TObject descendant class MyObject

Re: [Lazarus] Carbon: Print out is mirrored

2010-11-23 Thread dmitry boyarintsev
On Tue, Nov 23, 2010 at 4:32 AM, Fred Flinestone ffre...@gmail.com wrote: When I print out over my printing module on Carbon then after second page it starts to print out mirrored where left is with right exchanged. This continues until I restart program. Linux doesn't have any problem. Is it

Re: [Lazarus] Property TComponent.Tag change

2010-11-23 Thread Michael Van Canneyt
On Tue, 23 Nov 2010, Luiz Americo Pereira Camara wrote: Michael Van Canneyt escreveu: Hi, To remain compatible with the upcoming Delphi 64-bit release, I've changed the 'Tag' property type from Integer - PtrInt. Do you already has the info that Delphi will do this change? Yes. Marco

Re: [Lazarus] object casting to pointer

2010-11-23 Thread Michael Van Canneyt
On Tue, 23 Nov 2010, Marco Aurelio Ramirez Carrillo wrote: Hi. I'm working witha TTreeview, and trying to assign a object to a TTreeNode.data property: code MyTreeNode := myTreeview.add(nil, MyTreeNode); // any TObject descendant class MyObject = MyClass.Create(); // all of these, generate

Re: [Lazarus] Property TComponent.Tag change

2010-11-23 Thread Žilvinas Ledas
On 2010-11-24 01:21, Michael Van Canneyt wrote: On Tue, 23 Nov 2010, Luiz Americo Pereira Camara wrote: Michael Van Canneyt escreveu: Hi, To remain compatible with the upcoming Delphi 64-bit release, I've changed the 'Tag' property type from Integer - PtrInt. Do you already has the info

Re: [Lazarus] Carbon: Print out is mirrored

2010-11-23 Thread dmitry boyarintsev
On Tue, Nov 23, 2010 at 4:32 AM, Fred Flinestone ffre...@gmail.com wrote: Any idea, what can I check? Also, you need to check how you're handling Context translation, if you're using Carbon API (CGContext) for printing. If you're not, then you'd better to refer to the known bugs of the library

[Lazarus] GUI development for web UI

2010-11-23 Thread ik
Hello List, Well I know about the framework fur Javascript library in Lazarus, but I'm thinking in the past year or so, what will it take to design a gui application using Lazarus, and make it work like a web app that act the same as the desktop version, without any specific components for it.