Re: [Lazarus] Lazarus Digest, Vol 42, Issue 99

2011-07-29 Thread nronald
I listened to your email using DriveCarefully and will respond as soon as I can. Download DriveCarefully for free at www.drivecarefully.com Sent via my BlackBerry from Vodacom - let your email find you! -- ___ Lazarus mailing list

Re: [Lazarus] TAChart 2nd Y Axis

2011-07-29 Thread Alexander Klenin
On Fri, Jul 29, 2011 at 16:45, David M. Lawrence d...@fuzzo.com wrote: Out-of-bounds data points would be clipped.  In my case, I determined my max/min limits empirically by scanning global temperature and precipitation records.  There should be no out-of-bounds points -- on Earth, anyway.  If

Re: [Lazarus] TAChart 2nd Y Axis

2011-07-29 Thread David M. Lawrence
The linear transform worked -- I finally figured out how to implement it. The chart is almost where it should be, except for the X-axis labels. I need to dynamically define which of two options to use: J F M A M J J A S O N D (MnthNHLabels) for northern hemisphere sites, and J A S O N D J F M

Re: [Lazarus] gtk2 notebooks

2011-07-29 Thread Felipe Monteiro de Carvalho
There is something, however, that I would like to clarify. What exactly is wrong with the current TTabControl that you want to fix? What exactly does it do that you expect it to do differently? I know that the class hierarchy is wrong, but I am not sure if this cannot be fixed by simply

Re: [Lazarus] TAChart 2nd Y Axis

2011-07-29 Thread Alexander Klenin
On Fri, Jul 29, 2011 at 18:42, David M. Lawrence d...@fuzzo.com wrote: The linear transform worked -- I finally figured out how to implement it. The chart is almost where it should be, except for the X-axis labels.  I need to dynamically define which of two options to use: J F M A M J J A S O

[Lazarus] Announce: TAChart documentation

2011-07-29 Thread Alexander Klenin
Initial version of TAChart documentation is available on wiki at http://wiki.lazarus.freepascal.org/TAChart_documentation It is far from complete, but already covers most of essential topics. Suggestions, questions and corrections are welcome. -- Alexander S. Klenin --

Re: [Lazarus] RE : RE : RE : RE : RE : Lazarus on Solaris 10

2011-07-29 Thread Mark Morgan Lloyd
Mark Morgan Lloyd wrote: Ludo Brands wrote: Mark Morgan Lloyd wrote: Ludo Brands wrote: One of the (few) other things I'm having trouble with is running gtk-demo, but I was going to leave detailed investigation of that until after I'd got compilation sorted out. The situation appears to

[Lazarus] RE : RE : RE : RE : RE : RE : Lazarus on Solaris 10

2011-07-29 Thread Ludo Brands
TApplication.HandleException Illegal character in format string Stack trace: $000736FC STOREFORMAT, line 978 of /export/home/local-src/fpc/fpcbuild-2.4.4/fpcsrc/rtl/objpas/sy sutils/dati.inc $00072E20 FORMATDATETIME, line 796 of

Re: [Lazarus] gtk2 notebooks

2011-07-29 Thread Hans-Peter Diettrich
Felipe Monteiro de Carvalho schrieb: There is something, however, that I would like to clarify. What exactly is wrong with the current TTabControl that you want to fix? What exactly does it do that you expect it to do differently? I started with a test program in Delphi, and used it to test

Re: [Lazarus] gtk2 notebooks

2011-07-29 Thread Felipe Monteiro de Carvalho
On Fri, Jul 29, 2011 at 1:19 AM, Hans-Peter Diettrich drdiettri...@aol.com wrote: Concrete questions: - What's the purpose of the page widget, required in many gtk_notebook procedures? Could you show the concrete place in our code base which you are talking about? By gtk_notebook* do you

Re: [Lazarus] SQLite performance problem. Simple query takes too long.

2011-07-29 Thread Howard Lee Harkness
I have established that the problem is not in SQLite, but has to be in my code somewhere. I suspect it is related to the transaction/commit problem I posted a few days ago, and I plan to track that down today if I can. I need to finish this application by tomorrow. 2011/7/29 Martin Schreiber

Re: [Lazarus] SQLite performance problem. Simple query takes too long.

2011-07-29 Thread Martin Schreiber
Am 29.07.2011 14:32, schrieb Howard Lee Harkness: I have established that the problem is not in SQLite, but has to be in my code somewhere. I suspect it is related to the transaction/commit problem I posted a few days ago, and I plan to track that down today if I can. I need to finish this

[Lazarus] RE : SQLite performance problem. Simple query takes toolong.

2011-07-29 Thread Ludo Brands
I have established that the problem is not in SQLite, but has to be in my code somewhere. I suspect it is related to the transaction/commit problem I posted a few days ago, and I plan to track that down today if I can. I need to finish this application by tomorrow. I read your previous

Re: [Lazarus] Problem with SQLite commit in Lazarus

2011-07-29 Thread Martin Schreiber
Am 27.07.2011 03:28, schrieb Howard Lee Harkness: I am migrating a small Lazarus database application from PostgreSQL to SQLite (PostgreSQL was overkill, and I need something which is zero-config and can run from a flash drive on different machines). In the process, I have run into several

Re: [Lazarus] RE : RE : RE : RE : RE : RE : RE : Lazarus on Solaris 10

2011-07-29 Thread Marco van de Voort
On Thu, Jul 28, 2011 at 04:57:54PM +0200, Ludo Brands wrote: FPC= the frontloader binary that can select between different compilers depending on parameters. I'm not a makefile specialist but when I read ifndef FPC ifdef PP FPC=$(PP) endif endif and $(PP) isn't used anymore in

Re: [Lazarus] RE : RE : RE : RE : RE : RE : Lazarus on Solaris 10

2011-07-29 Thread Mark Morgan Lloyd
Ludo Brands wrote: TApplication.HandleException Illegal character in format string Stack trace: $000736FC STOREFORMAT, line 978 of /export/home/local-src/fpc/fpcbuild-2.4.4/fpcsrc/rtl/objpas/sy sutils/dati.inc $00072E20 FORMATDATETIME, line 796 of

Re: [Lazarus] Problem with SQLite commit in Lazarus

2011-07-29 Thread Max Vlasov
On Thu, Jul 28, 2011 at 1:28 AM, Howard Lee Harkness howard.lee.harkn...@gmail.com wrote: Is there some way that I can get SQLite to just read all of the tables into memory during the run of the program? Surely that would speed things up. Just to read data you can use TSQLite object from

Re: [Lazarus] Announce: TAChart documentation

2011-07-29 Thread Miquel Bruns
atm, wiki and ftp are down On Fri, Jul 29, 2011 at 1:20 PM, Alexander Klenin kle...@gmail.com wrote: Initial version of TAChart documentation is available on wiki at http://wiki.lazarus.freepascal.org/TAChart_documentation It is far from complete, but already covers most of essential

[Lazarus] Wiki server down

2011-07-29 Thread Mark Morgan Lloyd
Is the wiki down or is it just inaccessible from my location? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] -- ___ Lazarus mailing list

Re: [Lazarus] Wiki server down

2011-07-29 Thread Florian Klämpfl
Am 29.07.2011 18:30, schrieb Mark Morgan Lloyd: Is the wiki down or is it just inaccessible from my location? The server is fine but the connection has problems probably due to construction activities. This affects the fpc* mailing lists and ftp as well. --

Re: [Lazarus] Announce: TAChart documentation

2011-07-29 Thread Alexander Klenin
2011/7/30 Miquel Bruns miquel.br...@gmail.com: atm, wiki and ftp are down Seems to be up again. -- Alexander S. Klenin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Wiki server down

2011-07-29 Thread Mark Morgan Lloyd
Florian Klämpfl wrote: Am 29.07.2011 18:30, schrieb Mark Morgan Lloyd: Is the wiki down or is it just inaccessible from my location? The server is fine but the connection has problems probably due to construction activities. This affects the fpc* mailing lists and ftp as well. Thanks

Re: [Lazarus] RE : SQLite performance problem. Simple query takes toolong.

2011-07-29 Thread Howard Lee Harkness
Thank you for your reply. I found it very interesting. I switched the code that I posted to the following (I refactored this so that I could call from several different places, for inserts, updates, and deletes): procedure TfrmMain.ExecSQL(sql:string); begin

Re: [Lazarus] gtk2 notebooks

2011-07-29 Thread Hans-Peter Diettrich
Felipe Monteiro de Carvalho schrieb: Concrete questions: - What's the purpose of the page widget, required in many gtk_notebook procedures? Could you show the concrete place in our code base which you are talking about? By gtk_notebook* do you mean Gtk rountines? Yes. When it's required to

[Lazarus] RE : RE : SQLite performance problem. Simple query takestoolong.

2011-07-29 Thread Ludo Brands
Thank you for your reply. I found it very interesting. I switched the code that I posted to the following (I refactored this so that I could call from several different places, for inserts, updates, and deletes): procedure TfrmMain.ExecSQL(sql:string); begin

Re: [Lazarus] RE : RE : SQLite performance problem. Simple query takestoolong.

2011-07-29 Thread Howard Lee Harkness
On Fri, Jul 29, 2011 at 1:42 PM, Ludo Brands ludo.bra...@free.fr wrote: I traced through TSqlQuery.Close and there isn't happening a lot, except for cleaning up prepared statements and cursors. And that is where your direct BEGIN/COMMIT could very well confuse sqlite.

Re: [Lazarus] Lazarus on Ubuntu

2011-07-29 Thread Kjow
2011/7/27 Hans-Peter Diettrich drdiettri...@aol.com: A script doesn't help when dependencies cannot be resolved :-( Actually SVN cannot be installed, due to missing files. DoDi http://wiki.lazarus.freepascal.org/Lazarus_Manager installs all dependencies needed ;) --

[Lazarus] RE : SQLite performance problem. Simple query takes too long. (SOLVED)

2011-07-29 Thread Howard Lee Harkness
Ok, I found a fix, although I'm not really sure that I have fixed the problem in the best way. What I did was to close all of the dependent queries while doing the incremental search until the user selects a client entry in the main dbgrid. Now the incremental search is as fast as it was in

Re: [Lazarus] gtk2 notebooks

2011-07-29 Thread Felipe Monteiro de Carvalho
On Fri, Jul 29, 2011 at 8:23 PM, Hans-Peter Diettrich drdiettri...@aol.com wrote: Yes. When it's required to supply both the notebook and a page in a call of a Gtk routine, does this mean that the same page widget can be used safely for every tab of a notebook? No idea, you can either just try