Re: [lazarus] SQLdb bug

2006-02-06 Thread Bram Kuijvenhoven
Alexander Todorov wrote: I am using SQLdb 1.0 / Lazarus 0.9.8 / FPC 2.0.1 on Windows XP with Firebird 1.5 database. When a statement like INSERT INTO TEST (ID, DATAFIELD) VALUES (1, 'this :is a :test') is executed i get an error. The problem is that values after the colon ':' characters are

Re: [lazarus] SQLdb bug

2006-02-06 Thread Joost van der Sluis
I am using lates Lazarus version (0.9.11) and this insert statement run OK. You can try set Dataset.ParseSQL := False; before any Dataset.ExecSQL or Dataset.Open Nevertheless it is a bug. Yep, it's bug 4374 and it was fixed in november last year. There should be no parsing inside

Re: [lazarus] SQLdb bug

2006-02-06 Thread Joost van der Sluis
On Mon, 2006-02-06 at 09:04 +0100, Bram Kuijvenhoven wrote: Alexander Todorov wrote: I am using SQLdb 1.0 / Lazarus 0.9.8 / FPC 2.0.1 on Windows XP with Firebird 1.5 database. When a statement like INSERT INTO TEST (ID, DATAFIELD) VALUES (1, 'this :is a :test') is executed i get an

Re: [lazarus] Am I being too ambitious?

2006-02-06 Thread A.J. Venter
The synchronize calls shouldn't be placed inside your TThreadedProcess code... they should be used in the main application thread to provide mutual exclusion for the shared visual components. It's the other way round, at least in delphi: you call synchronize from a thread when you want

[lazarus] Re: TrayIcon preview

2006-02-06 Thread Felipe Monteiro de Carvalho
Danny Milosavljevic wrote: Can you use a GtkPlug instead of a normal window? I get the feeling that normal forms do strange extra stuff... no, scratch that, I'm _pretty sure_ that normal forms do strange extra stuff that system trays don't particularily like. for testing do something like that

Re: [lazarus] Am I being too ambitious?

2006-02-06 Thread Luca Olivetti
En/na A.J. Venter ha escrit: The synchronize calls shouldn't be placed inside your TThreadedProcess code... they should be used in the main application thread to provide mutual exclusion for the shared visual components. It's the other way round, at least in delphi: you call synchronize from a

[lazarus] Re: TrayIcon preview

2006-02-06 Thread Felipe Monteiro de Carvalho
Update, with the help of giantm on #lazarus-ide I got to show the icon on both KDE and GNOME. This approach seams promissing =) And I am learning a lot about Gtk. I added information on the wiki, in case anyone wants to know how to paint a TBitmap (or TIcon) into a GtkWidget (in this case

[lazarus] SVN does not compile

2006-02-06 Thread Jouke Rensma
Hi all, As I am planning to add to the Lazarus development, I understood I have to keep my Lazarus in line with SVN. So I tried to get the SVN version working. Unfortunately the make breaks down. I tried to compile from the command line (make clean all) and also from the working (but old)

[lazarus] Re: SVN does not compile

2006-02-06 Thread Felipe Monteiro de Carvalho
Hello, Did you download the Subversion Lazarus on top of the old one? You should create an empty directory to place the svn lazarus. Then you can compile lazarus using 'make clean all' with the DOS prompt on lazarus directory. Make sure that the make.exe executable distributed with the old

Re: [lazarus] SVN does not compile

2006-02-06 Thread Michael Van Canneyt
On Mon, 6 Feb 2006, Jouke Rensma wrote: Hi all, As I am planning to add to the Lazarus development, I understood I have to keep my Lazarus in line with SVN. So I tried to get the SVN version working. Unfortunately the make breaks down. I tried to compile from the command line (make clean

Re: SVN does not compile

2006-02-06 Thread Jouke Rensma
I tried several methods: - in a fresh (empty) directory - over the existing install - for the tools/build lazarus I used a fresh directory and copied lazarus.exe and startlazarus.exe from the old install to this dir. I did the same for the complete tree's pp, fpcsrc and units. I then started

Re: [lazarus] SVN does not compile

2006-02-06 Thread Vincent Snijders
Michael Van Canneyt wrote: On Mon, 6 Feb 2006, Jouke Rensma wrote: Hi all, As I am planning to add to the Lazarus development, I understood I have to keep my Lazarus in line with SVN. So I tried to get the SVN version working. Unfortunately the make breaks down. I tried to compile from the

Re: SVN does not compile

2006-02-06 Thread Jouke Rensma
Nevermind my previous mail, thanks to Michael's hint, I got it working now. I copied the pp and fpcsrc trees from the daily snapshot of yesterday into the (SVNned) lazarus directory. The make clean all worked this time!!! Just another question: how should I keep SVN inline? I mean, should I

Re: SVN does not compile

2006-02-06 Thread Micha Nelissen
On Mon, 06 Feb 2006 17:23:51 +0100 Jouke Rensma [EMAIL PROTECTED] wrote: Just another question: how should I keep SVN inline? I mean, should I do a svn update regulary and perform a make clean all after that? And how make all should be good enough. does this influence the work I did? Is

Re: SVN does not compile

2006-02-06 Thread Micha Nelissen
On Mon, 6 Feb 2006 18:07:21 +0100 Micha Nelissen [EMAIL PROTECTED] wrote: the GUI client though. But conflicts very rarely happen. Except for ide/revision.inc though, that one conflicts quickly. It does not matter much how you resolve this conflict though, just take your own modification

[lazarus] Gtk2 TrayIcon Patch

2006-02-06 Thread Felipe Monteiro de Carvalho
Hello, Now the TrayIcon component is fully working for Gtk2!!! A patch is attached. One little problem: The gtk2 tray icon requires gdk2x11, and this unit is on a package that needs to be installed. The Package cannot be added as a pre-requisite because the software is also used on Windows

Re: [lazarus] Gtk2 TrayIcon Patch

2006-02-06 Thread Danny Milosavljevic
Hi, Am Montag, den 06.02.2006, 16:53 -0200 schrieb Felipe Monteiro de Carvalho: Hello, Now the TrayIcon component is fully working for Gtk2!!! Very nice :) A patch is attached. well done :) Let me do minor nitpicking as always though: - to free the gtk_tooltips thing, call

[lazarus] Re: Gtk2 TrayIcon Patch

2006-02-06 Thread Felipe Monteiro de Carvalho
Hello, Ok, fixed the appointed topics and there is a new patch attached. Felipe Index: components/trayicon/wstrayicon.pas === --- components/trayicon/wstrayicon.pas (revisão 8667) +++ components/trayicon/wstrayicon.pas (cópia de

[lazarus] compiling Lazarus 0.9.12 consumes a lot of memory

2006-02-06 Thread Alexander Todorov
Hello, I have just installed Lazarus 0.9.12 / SVN Revision 8700 from source forge. When I try to compile an old application the following happens : 1) click on Run - Build all 2) all source files in the project are compiled 3) linking begins 4) ld.exe begins to consume a lot of memory In task

Re: [lazarus] SVN problem

2006-02-06 Thread Graeme Geldenhuys
And I thought I was the only one experiencing this issue. No, I haven't found a solution yet. Been downloading the complete snapshots every couple of days, to stay current. :-( I even joined the SubVersion and FPC mailing list, to see if someboby could explain what that error message means.

Re: [lazarus] SVN problem

2006-02-06 Thread Peter Vreman
And I thought I was the only one experiencing this issue. No, I haven't found a solution yet. Been downloading the complete snapshots every couple of days, to stay current. :-( I even joined the SubVersion and FPC mailing list, to see if someboby could explain what that error message means.

Re: [lazarus] Am I being too ambitious?

2006-02-06 Thread A.J. Venter
Mmmh, looking more closely to your code (I didn't before, I was just replying to the assertion that you call synchronize from the main thread) I don't think you should use synchronize at all (maybe a mutex to coordinate the access to FRunning, but even that may be overkill for a boolean):

Re: [lazarus] SVN problem

2006-02-06 Thread Michael Van Canneyt
On Tue, 7 Feb 2006, Graeme Geldenhuys wrote: And I thought I was the only one experiencing this issue. No, I haven't found a solution yet. Been downloading the complete snapshots every couple of days, to stay current. :-( I even joined the SubVersion and FPC mailing list, to see if

Re: [lazarus] SVN problem

2006-02-06 Thread Christian Iversen
On Tuesday 07 February 2006 07:45, Graeme Geldenhuys wrote: PROPFIND of '/svn/lazarus/trunk': Could not parse response status line. Could you try doing a fresh checkout? -- Regards, Christian Iversen _ To unsubscribe: mail