Re: [Lazarus] using two versions of RTL from lazarus

2008-11-10 Thread Florian Klaempfl
Henry Vermaak schrieb: How can I use lazarus to switch between those two? easiest is probably to install the ppu files to different locations, then invent a custom define and add it to your fpc.cfg to switch between different versions (where the -Fu paths are defined). you don't really

Re: [Lazarus] using two versions of RTL from lazarus

2008-11-10 Thread Marc Santhoff
Am Montag, den 10.11.2008, 16:30 +0100 schrieb Marc Santhoff: I'll try do use some conditionals inside my fpc.cfg, although I'm not sure where to find documentation on this topic someone here or on the fpc list showed an example some time ago (regarding compiler versions IIRC). Replying to

[Lazarus] After using TSynCompletion, the SynEdit dont want to write the first Char, but after the first Char all works

2008-11-10 Thread Eugen Bolz
Hey, im trying to implement TSynCompletion with TSynEdit in a Project. But every time i select an Item at the TSynCompletion-Form and then trying to write something, the first char dont be added to the TSynEdit, i tried to copy the Functions of sourceeditor.pp ( of the IDE ) but theyre a bit

Re: [Lazarus] using two versions of RTL from lazarus

2008-11-10 Thread Marc Santhoff
Am Montag, den 10.11.2008, 10:52 + schrieb Martin: Florian Klaempfl wrote: Henry Vermaak schrieb: How can I use lazarus to switch between those two? easiest is probably to install the ppu files to different locations, then invent a custom define and add it to your

Re: [Lazarus] Performance of GTK 2 and CE

2008-11-10 Thread Graeme Geldenhuys
On Mon, Nov 10, 2008 at 7:39 PM, Mark Morgan Lloyd [EMAIL PROTECTED] wrote: x86 800MHz laptop Debian Lenny 0.9.26/2.2.2 local gtk 3.7 gtk2 13.7 remote gtk 10.0 gtk2 60.4 Wow, even local GTK2 is

Re: [Lazarus] Performance of GTK 2 and CE

2008-11-10 Thread Felipe Monteiro de Carvalho
On Mon, Nov 10, 2008 at 6:44 PM, Graeme Geldenhuys [EMAIL PROTECTED] wrote: Wow, even local GTK2 is *way* slower than GTK1. So I really wasn't imagining it when I switch Lazarus IDE to GTK2. We are aware of that. But gtk1 has a lot of other problems too, so it isn't exactly a good choice. Just

Re: [Lazarus] Performance of GTK 2 and CE

2008-11-10 Thread Lord Satan
On Mon, 10 Nov 2008 22:44:12 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: Clearly GTK2 is as speedy as a snail !!! :-( On your system this may be true. I must admit that it was a while ago when I compared gtk and gtk2 performance, but on my system gtk2 was actually faster than gtk. Is my

Re: [Lazarus] Performance of GTK 2 and CE

2008-11-10 Thread Ales Katona
Please run gtkperf program on your end and give results (run it locally). If you don't have it in packages, just get libgtk2-dev and compile from sources (./configure make make install [as root]). If you get more than ~10 seconds, something is wrong with your setup (driver/X/theme). I get ~5s

Re: [Lazarus] Performance of GTK 2 and CE

2008-11-10 Thread Ales Katona
Here's my result, for your comparison (AMD Turion 64bit 1xcore, 2gb RAM, OSS Ati driver (no 3D) with EXA on ATI Mobility Radeon X1600: GtkPerf 0.40 - Starting testing: Mon Nov 10 23:23:01 2008 GtkEntry - time: 0,03 GtkComboBox - time: 0,63 GtkComboBoxEntry - time: 0,54 GtkSpinButton - time:

Re: [Lazarus] Performance of GTK 2 and CE

2008-11-10 Thread Luiz Americo Pereira Camara
Mark Morgan Lloyd escreveu: Having said that I want to try to get 0.9.27 onto my remaining available SPARC system, I'm very worried at the prospect of being marooned with gtk1 on 0.9.24 while the rest of the World moves on Did you tried to compile/use 0.9.27 with gtk1? It still possible to

Re: [Lazarus] Performance of GTK 2 and CE

2008-11-10 Thread Mark Morgan Lloyd
Lord Satan wrote: On your system this may be true. I must admit that it was a while ago when I compared gtk and gtk2 performance, but on my system gtk2 was actually faster than gtk. Do you think your tests predated 0.9.24? I'd rather not go back any earlier unless the results were likely

Re: [Lazarus] After using TSynCompletion, the SynEdit dont want to write the first Char, but after the first Char all works

2008-11-10 Thread Martin Friebe
Hi, I haven't fully investigated this, put it may be related to the fact that you install some custom onKeyPressed stuff. The original procedure TSynCompletion.EditorKeyPress(Sender: TObject; var Key: char); does: if TRecordUsedToStoreEachEditorVars(fEditstuffs[i]^).NoNextKey then begin

Re: [Lazarus] Performance of GTK 2 and CE

2008-11-10 Thread Graeme Geldenhuys
2008/11/11 Ales Katona [EMAIL PROTECTED]: Please run gtkperf program on your end and give results (run it locally). If you don't have it in packages, just get libgtk2-dev and compile from sources (./configure make make install [as root]). If you get more than ~10 seconds, something is

Re: [Lazarus] Performance of GTK 2 and CE

2008-11-10 Thread Graeme Geldenhuys
On Tue, Nov 11, 2008 at 8:21 AM, Graeme Geldenhuys [EMAIL PROTECTED] wrote: ---[ Work PC ] I did so now on my PC. P4 2.2GHz with 1GB ram and integrated ATI video card running Ubuntu 7.10 (32bit). I couldn't believe the difference it makes when you switch