[lazarus] OnKeyPress - Change pressed character

2006-03-01 Thread Panagiotis Sidiropoulos
On event OnKeyPress of input components, I use to parse keys pressed and change it to Greek keyboard equivalents in order users can type Greek without need to install Greek keyboard driver. This change is as follows: some process cReplacedChar := spGreekMonotonicKeyboardDriver( Key ); StrPCopy(

RE: [lazarus] GTK2 SetFont Patch - final (for now)

2006-03-01 Thread Panagiotis Sidiropoulos
Are all these changes available just by svn update and recompiling Lazarus or anything more is needed? Panagiotis -Original Message- From: Marc Santhoff [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 28, 2006 7:14 AM To: lazarus@miraclec.com Subject: Re: [lazarus] GTK2 SetFont Patch

Re: [lazarus] turboCASH on Lazarus proof of concept - grid

2006-03-01 Thread Graeme Geldenhuys
On 3/1/06, Jesus Reyes [EMAIL PROTECTED] wrote: If they say yes, I plan to ask somebody in the TurboCASH team to make some standalone delphi projects which use the features that should be implemented, kind of tests after which if we can make Lazarus run such tests it would be considered

Re: [lazarus] GTK2 SetFont Patch - final (for now)

2006-03-01 Thread A.J. Venter
On Wednesday 01 March 2006 10:36, Panagiotis Sidiropoulos wrote: Are all these changes available just by svn update and recompiling Lazarus or anything more is needed? Panagiotis Yes, since Mattias applied the patches to the main tree. At this stage I am waiting for more clarity on where

Re: [lazarus] The Latest IDE icons

2006-03-01 Thread A.J. Venter
I vote to change them back to original ,too.Icons are too large and almost lay on each other (visually it's hard to find needed control on tab Standard or Additional) Some of them are good looking however. Whit the images itself I don't have a problem. They don't differ much from the

Re: [lazarus] The Latest IDE icons

2006-03-01 Thread Andrew Higgs
A.J. Venter wrote: snip What do you all think about this ? I am happy to do the work but obviously I won't bother if nobody else thinks it's a good idea. Since it will be fairly static, it may not have to go into the SVN tree, perhaps it should be distributed as a separate zip/tarball - all

Re: [lazarus] duplicte items

2006-03-01 Thread Mattias Gaertner
On Tue, 28 Feb 2006 23:26:38 -0700 SIX-S [EMAIL PROTECTED] wrote: I am trying to create the Lazarus database tutorial. I must be having trouble saving the project. I get messages identifying multiple files when trying to run and compile. What files? Are you sure, you don't have duplicates?

Re: [lazarus] The Latest IDE icons

2006-03-01 Thread Mattias Gaertner
On Wed, 01 Mar 2006 08:48:15 +0100 Bogus__aw Brandys [EMAIL PROTECTED] wrote: George Lober wrote: Hello all, Having updated to the latest svn Lazarus, I have noticed the icons for the various components have changed, and I have to voice my opinion and say that the changes are

Re: [lazarus] GTK2 SetFont Patch - final (for now)

2006-03-01 Thread Mattias Gaertner
On Wed, 1 Mar 2006 10:36:46 +0200 Panagiotis Sidiropoulos [EMAIL PROTECTED] wrote: Are all these changes available just by svn update and recompiling Lazarus or anything more is needed? Just svn update and rebuild the IDE with the IDE. Mattias Panagiotis -Original Message-

Re: [lazarus] turboCASH on Lazarus proof of concept

2006-03-01 Thread marius popa
Graeme Geldenhuys wrote: If it helps them to decide: I'm currently writing specs for a 'serious' application (a grade tracker for teachers) which will use (embedded) firebird as a back-end database, which will be using tiOPF or InstantObjects and LazReport - all this in Lazarus. This

[lazarus] Lazarus Snapshot server is down

2006-03-01 Thread Graeme Geldenhuys
Hi http://www.de.freepascal.org/lazarus/ Since I can't get the latest lazarus code from SVN (strange error with no answer) I rely on the Snapshot downloads. For the last 2 days I get the following error: --- The following error occurred:

Re: [lazarus] turboCASH on Lazarus proof of concept

2006-03-01 Thread Graeme Geldenhuys
Very nice , i have added this to the firebird news case studies http://www.firebirdnews.org/?p=162 hope it doesn't bother you Nope, that's fine... Regards, - Graeme - _ To unsubscribe: mail [EMAIL PROTECTED] with

Re: [lazarus] Changing SynEdit - actions

2006-03-01 Thread A.J. Venter
- Move all (all non-basic at least) editor commands to a separate unit and implement each command on a separate method or class. I'm inclined to make them TAction descendants to unify shortcut handling, but I'm not set yet... What would we gain? Reuse ? In theory (depending on how that

Re: [lazarus] Changing SynEdit - painting, hightlighters

2006-03-01 Thread Mattias Gaertner
On Wed, 1 Mar 2006 01:08:10 -0300 Flávio Etrusco [EMAIL PROTECTED] wrote: [...] - Move painting code to a separate component so it can be reused (it's complex enough to deserve this anyway). The painting stuff is quite synedit specific. How can it be reused without the rest? - Fix UniSyn or

Re: [lazarus] The Latest IDE icons

2006-03-01 Thread A.J. Venter
On Wednesday 01 March 2006 11:29, Andrew Higgs wrote: A.J. Venter wrote: snip What do you all think about this ? I am happy to do the work but obviously I won't bother if nobody else thinks it's a good idea. Since it will be fairly static, it may not have to go into the SVN tree, perhaps

Re: [lazarus] Changing SynEdit - actions

2006-03-01 Thread Mattias Gaertner
On Wed, 1 Mar 2006 12:09:42 +0200 A.J. Venter [EMAIL PROTECTED] wrote: - Move all (all non-basic at least) editor commands to a separate unit and implement each command on a separate method or class. I'm inclined to make them TAction descendants to unify shortcut handling, but I'm

Re: [lazarus] Changing SynEdit - actions

2006-03-01 Thread A.J. Venter
Right now most string parsing seems to be handled by pos, copy and delete - which works but why should people need to write the same code over and over when lazarus already contains it ? The same reason, why there are so many databases. Touché, anyway your explanations did give me a

Re: [lazarus] setColor part 3

2006-03-01 Thread Mattias Gaertner
On Wed, 01 Mar 2006 11:35:48 +0100 darekm [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Wed, 01 Mar 2006 08:41:57 +0100 darekM [EMAIL PROTECTED] wrote: Mattias Gaertner napisa?(a): On Tue, 28 Feb 2006 20:37:14 +0100 darekm [EMAIL PROTECTED] wrote:

Re: [lazarus] Changing SynEdit

2006-03-01 Thread Marc Weustink
Mattias Gaertner wrote: On Wed, 1 Mar 2006 01:08:10 -0300 Flávio Etrusco [EMAIL PROTECTED] wrote: [...] A minor thing I'd like tackle right now is introducing a text container component to facilitate multiple views of a file and fast/cached switching of multiple files in a single editor. I've

Re: [lazarus] setColor part 3

2006-03-01 Thread darekm
Mattias Gaertner wrote: On Wed, 01 Mar 2006 08:41:57 +0100 darekM [EMAIL PROTECTED] wrote: Mattias Gaertner napisa?(a): On Tue, 28 Feb 2006 20:37:14 +0100 darekm [EMAIL PROTECTED] wrote: Micha Nelissen wrote: On Tue, 28 Feb 2006 19:16:10 +0100 darekm [EMAIL

Re: [lazarus] transparent forms

2006-03-01 Thread Razvan Adrian Bogdan
Regions are great and work in all Win Versions but Alpha Blending is only implemented in Win2K+, if you have good drivers even alpha doesn't consume much cpu, on Linux both Alpha and Regions should be supported already, i have noticed TCanvas has TRegion ? Was it meant to be a matrix with the

Re: [lazarus] turboCASH on Lazarus proof of concept

2006-03-01 Thread Michael Van Canneyt
On Wed, 1 Mar 2006, marius popa wrote: Graeme Geldenhuys wrote: If it helps them to decide: I'm currently writing specs for a 'serious' application (a grade tracker for teachers) which will use (embedded) firebird as a back-end database, which will be using tiOPF or InstantObjects and

Re: [lazarus] Multiplatform way to check for connections

2006-03-01 Thread Geno Roupsky
Under windows you could use route print to print the route table and do similar check as under linux 2006/3/1, Bogusław Brandys [EMAIL PROTECTED]: A.J. Venter wrote: Hi all, a quick question from me, under linux I would normally check if an internet connection is present by looking in the

Re: [lazarus] Changing SynEdit - actions

2006-03-01 Thread Flávio Etrusco
Lengthy email warning! :-$ Another idea: one thread per thread. Great idea ;-) - Move all (all non-basic at least) editor commands to a separate unit and implement each command on a separate method or class. I'm inclined to make them TAction descendants to unify shortcut handling,

Re: [lazarus] compile lazarus on opensuse 10.0

2006-03-01 Thread Uwe Grauer
Uwe Grauer wrote: Mattias Gaertner wrote: On Mon, 27 Feb 2006 15:24:50 +0100 Uwe Grauer [EMAIL PROTECTED] wrote: Do i really need to have a gtk1-dev-package to compile lazarus? Opensuse has full gtk2-support. I don't want to mess up my system just to compile lazarus. What can i do? gtk1

Re: [lazarus] Changing SynEdit - actions

2006-03-01 Thread Martin Waldenburg
Flávio Etrusco wrote: I don't know how well the TAction code would handle a number of commands as large as synedit use, and it would need some rework to get chained shortcuts (two shortcuts sequence) going. I've publisched some examples for a dynamic and scriptable Command Processor at CC,

Re: [lazarus] Changing SynEdit - actions

2006-03-01 Thread Michael Van Canneyt
On Wed, 1 Mar 2006, Martin Waldenburg wrote: Flávio Etrusco wrote: I don't know how well the TAction code would handle a number of commands as large as synedit use, and it would need some rework to get chained shortcuts (two shortcuts sequence) going. I've publisched some examples for a

Re: [lazarus] Changing SynEdit

2006-03-01 Thread Flávio Etrusco
I'm not sure, what you mean with 'multiple views of a file'. In one synedit, or a component using several synedits? I think he means the same what is possible in Delphi. You can have multiple edit windows open for the same file. Changing a line in one view will result in an update of the

[lazarus] Lazarus, FreePascal and handheld devices

2006-03-01 Thread Panagiotis Sidiropoulos
What about developing and compiling for PDAs, Smart phones and other handheld devices, using Lazarus or FreePascal? Is there, or will be, any such option? Panagiotis _ To unsubscribe: mail [EMAIL PROTECTED] with

[lazarus] Question about synedit (since we talk about it)

2006-03-01 Thread Alexandre Leclerc
I found that the font handling in synedit is not as it should. I mean that is does not look as nice and smooth and sweet as in kwrite/kdevelop for example. And ultimately in windows is it very not nice. I was just asking myself what is the cause of that and can this be improved? -- Alexandre

Re: [lazarus] GTK2 SetFont Patch - final (for now)

2006-03-01 Thread darekm
A.J. Venter wrote: On Wednesday 01 March 2006 10:36, Panagiotis Sidiropoulos wrote: Are all these changes available just by svn update and recompiling Lazarus or anything more is needed? Panagiotis Yes, since Mattias applied the patches to the main tree. At this stage I am waiting

Re: [lazarus] Changing SynEdit

2006-03-01 Thread Felipe Monteiro de Carvalho
On 3/1/06, Flávio Etrusco [EMAIL PROTECTED] wrote: Well, the way Windows (and so Delphi, and recently FPC) handles WideStrings (no refcount) feels like a step backwards and would introduce some issues for big files and big lines. And of course I don't like the waste of memory :-( And Unicode

Re: [lazarus] Lazarus, FreePascal and handheld devices

2006-03-01 Thread Felipe Monteiro de Carvalho
On 3/1/06, Panagiotis Sidiropoulos [EMAIL PROTECTED] wrote: What about developing and compiling for PDAs, Smart phones and other handheld devices, using Lazarus or FreePascal? Is there, or will be, any such option? Unfortunately Free Pascal website is down, and the wikies are also down at the

Re: [lazarus] Changing SynEdit - actions

2006-03-01 Thread Mattias Gaertner
On Wed, 1 Mar 2006 09:18:29 -0300 Flávio Etrusco [EMAIL PROTECTED] wrote: Lengthy email warning! :-$ Another idea: one thread per thread. Great idea ;-) - Move all (all non-basic at least) editor commands to a separate unit and implement each command on a separate method or

Re: [lazarus] Question about synedit (since we talk about it)

2006-03-01 Thread Mattias Gaertner
On Wed, 1 Mar 2006 08:44:50 -0500 Alexandre Leclerc [EMAIL PROTECTED] wrote: I found that the font handling in synedit is not as it should. I mean that is does not look as nice and smooth and sweet as in kwrite/kdevelop for example. And ultimately in windows is it very not nice. I was just

Re: [lazarus] Question about synedit (since we talk about it)

2006-03-01 Thread Alexandre Leclerc
On 3/1/06, Mattias Gaertner [EMAIL PROTECTED] wrote: On Wed, 1 Mar 2006 08:44:50 -0500 Alexandre Leclerc [EMAIL PROTECTED] wrote: I found that the font handling in synedit is not as it should. I mean that is does not look as nice and smooth and sweet as in kwrite/kdevelop for example. And

Re: [lazarus] Question about synedit (since we talk about it)

2006-03-01 Thread Micha Nelissen
Alexandre Leclerc wrote: Are there short term, mid term or long term plans to use gtk2 for laz distro? (I assume that if I was courageous I could compile laz for gtk2 on my station? :) ) Sure, but IDE on gtk2 is not a 1.0 blocker. Micha

Re: [lazarus] Lazarus, FreePascal and handheld devices

2006-03-01 Thread Michael Van Canneyt
On Wed, 1 Mar 2006, Felipe Monteiro de Carvalho wrote: * PDAs that are not supported by Free Pascal PalmOS. Needs to have a run-time library implemented. Any help on this is appreciated PalmOS used to be supported. It's just a matter of reviving the port, and finding a maintainer.

Re: [lazarus] Lazarus, FreePascal and handheld devices

2006-03-01 Thread Alexander Todorov
On 3/1/06, Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: Blackbarry Java-based phones. Some phones only support java. It's possible to support them if we can make a compiler that produces java bytecode. There already exists a pascal compiler that does it, but I cannot remember the

Re: [lazarus] Changing SynEdit

2006-03-01 Thread Flávio Etrusco
Widestrings need to be like that for compatibility with c and c++ Not exactly, they need to be like this because the dang MS COM. However I can't see why is this different than the AnsiString vs Windows PChar-based API... There is probably another way around that, like using a normal

Re: [lazarus] turboCASH on Lazarus proof of concept - grid

2006-03-01 Thread L505
A treeview is a totally different beast than a grid ? TVirtualTreeView can be a grid, a tree or a combination of both *looks out window* Pigs should not fly. I think this is taking object orientation too far. I could be dead wrong though. no, VT is mutch faster than all other

Re: [lazarus] compile lazarus on opensuse 10.0

2006-03-01 Thread Uwe Grauer
Michael Van Canneyt wrote: On Wed, 1 Mar 2006, Uwe Grauer wrote: Uwe Grauer wrote: Mattias Gaertner wrote: On Mon, 27 Feb 2006 15:24:50 +0100 Uwe Grauer [EMAIL PROTECTED] wrote: Do i really need to have a gtk1-dev-package to compile lazarus? Opensuse has full gtk2-support. I don't

Re: [lazarus] compile lazarus on opensuse 10.0

2006-03-01 Thread Uwe Grauer
Mattias Gaertner wrote: On Wed, 01 Mar 2006 13:21:28 +0100 Uwe Grauer [EMAIL PROTECTED] wrote: Uwe Grauer wrote: Mattias Gaertner wrote: On Mon, 27 Feb 2006 15:24:50 +0100 Uwe Grauer [EMAIL PROTECTED] wrote: Do i really need to have a gtk1-dev-package to compile lazarus? Opensuse has

Re: [lazarus] OpenDelphi.org (off-topic?)

2006-03-01 Thread Bogusław Brandys
Timothy Ha wrote: I would like to know your opinion about the new initiative called OpenDelphi.org I understand that Borland has problems, but I doubt that people would gather enough money to buy out Delphi from Borland. Because Borland has invested too much into Delphi, and perhaps a lot of

Re: [lazarus] A simple question using a query to Firebird

2006-03-01 Thread Bogusław Brandys
Eduardo Lopez wrote: Hello all: I've done querys using the UIB components to connect a Firebird server, but allways doing something like ...select field1, field2 etc But now i must do a query like that: qry1.SQL.Clear; qry1.SQL.Text := 'SELECT MAX(FIELD1) FROM TABLE1';

Re: [lazarus] OpenDelphi.org (off-topic?)

2006-03-01 Thread Florian Klaempfl
Timothy Ha wrote: I would like to know your opinion about the new initiative called OpenDelphi.org That's plainly nonsense. As you can see, even the lazarus and free pascal contributors are little compared with other OSS projects. The OSS idea is very weak in the delphi/object pascal world.

Re: [lazarus] OpenDelphi.org (off-topic?)

2006-03-01 Thread Adilson Oliveira
Timothy Ha escreveu: I would like to know your opinion about the new initiative called OpenDelphi.org I understand that Borland has problems, but I doubt that people would gather enough money to buy out Delphi from Borland. Because Borland has invested too much into Delphi, and perhaps a

Re: [lazarus] A simple question using a query to Firebird

2006-03-01 Thread Eduardo Lopez
Perfect, now it's working fine. Thank you very much. Eduardo. Bogusław Brandys wrote: What about : select Max(Field1) as Maximum from Table1 qry1.FieldByName('Maximum').AsInteger Regards Boguslaw _ To unsubscribe:

Re: [lazarus] OpenDelphi.org (off-topic?)

2006-03-01 Thread L505
Timothy Ha wrote: I would like to know your opinion about the new initiative called OpenDelphi.org That's plainly nonsense. As you can see, even the lazarus and free pascal contributors are little compared with other OSS projects. The OSS idea is very weak in the delphi/object pascal

Re: [lazarus] Changing SynEdit

2006-03-01 Thread L505
Widestrings need to be like that for compatibility with c and c++ Not exactly, they need to be like this because the dang MS COM. However I can't see why is this different than the AnsiString vs Windows PChar-based API... I'm off topic here but: I think there should be a standard reference

Re: [lazarus] OpenDelphi.org (off-topic?)

2006-03-01 Thread Michael Van Canneyt
On Wed, 1 Mar 2006, L505 wrote: Timothy Ha wrote: I would like to know your opinion about the new initiative called OpenDelphi.org That's plainly nonsense. As you can see, even the lazarus and free pascal contributors are little compared with other OSS projects. The OSS idea

Re: [lazarus] compile lazarus on opensuse 10.0

2006-03-01 Thread Michael Van Canneyt
On Wed, 1 Mar 2006, Uwe Grauer wrote: What else now? My apologies, I made a big mistake. It should be: /opt/gnome/lib/libgdk.so - /opt/gnome/lib/libgdk-1.2.so.0 Sorry about that :/ Michael. No problem, but i still have this: [EMAIL PROTECTED]:~/src/lazarus ll

Re: [lazarus] Changing SynEdit

2006-03-01 Thread Michael Van Canneyt
On Wed, 1 Mar 2006, L505 wrote: Widestrings need to be like that for compatibility with c and c++ Not exactly, they need to be like this because the dang MS COM. However I can't see why is this different than the AnsiString vs Windows PChar-based API... I'm off topic here but: I

Re: [lazarus] Lazarus Snapshot server is down

2006-03-01 Thread lazarus
Le Mercredi 1 Mars 2006 11:04, Graeme Geldenhuys a écrit : Any ideas when it will be up and runing again? I asked on the misc forum (General Issues) and the answer is The Wiki server suffered a DoS-attack and had a dataflow of 200GB. That was a bit over the top. Sad At least this was told

Re: [lazarus] OpenDelphi.org (off-topic?)

2006-03-01 Thread L505
The compiler, probably the debugger also, is written in C++ and assembler. The IDE itself is written in Object Pascal. All packages are definitely in Object Pascal. Some of the Delphi 5 files check out as follows: dfwedit.dll is made with borland C++ imged32.dll is made with borland C++

Re: [lazarus] Changing SynEdit

2006-03-01 Thread L505
On Wed, 1 Mar 2006, L505 wrote: Widestrings need to be like that for compatibility with c and c++ Not exactly, they need to be like this because the dang MS COM. However I can't see why is this different than the AnsiString vs Windows PChar-based API... I'm off topic here

Re: [lazarus] TSqlite3Dataset

2006-03-01 Thread Luiz Americo Pereira Camara
Micha Nelissen escreveu: Luiz Americo Pereira Camara wrote: I updated the benchmarks to insert 600.000 records: http://www.geocities.com/camara_luiz/sqlite4fpc/benchmarks.html For TDbf, TIntegerField shouldn't be limited to 32768 as value, I remember it being reported some time ago as well.

Re: [lazarus] Changing SynEdit

2006-03-01 Thread Michael Van Canneyt
On Wed, 1 Mar 2006, L505 wrote: On Wed, 1 Mar 2006, L505 wrote: Widestrings need to be like that for compatibility with c and c++ Not exactly, they need to be like this because the dang MS COM. However I can't see why is this different than the AnsiString vs Windows

Re: [lazarus] Changing SynEdit

2006-03-01 Thread L505
I'm off topic here but: I think there should be a standard reference counting mechanism (standards comittee?) between language. We have the standard ansi string header embedded in the ansistring but no standard reference counting mechanism. If this was the case we could share our ansi

Re: [lazarus] OpenDelphi.org (off-topic?)

2006-03-01 Thread lazarus
Le Mercredi 1 Mars 2006 19:05, Timothy Ha a écrit : I would like to know your opinion about the new initiative called OpenDelphi.org I think it's a lost battle. Borland did'nt succeed to do a multi-O.S compiler (I bought kylix 3 pro and Delphi 7 : yes I was THE buyer of kylix3pro ! lol ).

Re: [lazarus] Changing SynEdit

2006-03-01 Thread Michael Van Canneyt
On Wed, 1 Mar 2006, L505 wrote: I'm off topic here but: I think there should be a standard reference counting mechanism (standards comittee?) between language. We have the standard ansi string header embedded in the ansistring but no standard reference counting mechanism. If

Re: [lazarus] Changing SynEdit

2006-03-01 Thread Mattias Gaertner
On Wed, 1 Mar 2006 21:35:54 +0100 (Romance Standard Time) Michael Van Canneyt [EMAIL PROTECTED] wrote: On Wed, 1 Mar 2006, L505 wrote: On Wed, 1 Mar 2006, L505 wrote: Widestrings need to be like that for compatibility with c and c++ Not exactly, they need to

Re: [lazarus] Changing SynEdit - actions

2006-03-01 Thread Marc Santhoff
Am Mittwoch, den 01.03.2006, 10:00 -0300 schrieb Flávio Etrusco: On 3/1/06, Martin Waldenburg [EMAIL PROTECTED] wrote: BTW maybe I will find some time for programming in the future. Would there be any interest in a fast multifont editor ? I don't intend to do the whole work alone, just

Re: [lazarus] Somewhat OT: The massive db-less search

2006-03-01 Thread A.J. Venter
Actually I found a nicer solution :) I integrated with wikiquote.org (which was something I came up with while discussing the problem with you guys). Selecting a phrase search hides the book and submits the search to wikiquote, grabs the results, preparses them and displays the list of matches

Re: [lazarus] GTK2 SetFont Patch - final (for now)

2006-03-01 Thread A.J. Venter
Yes, since Mattias applied the patches to the main tree. At this stage I am waiting for more clarity on where Darek's GTK1 work is going before advancing mine so that the two can be kept in design sync. What I can do for You now. Heh, well what would actually be very usefull is if you send

Re: [lazarus] GTK2 SetFont Patch - final (for now)

2006-03-01 Thread darekM
A.J. Venter napisa(a): Yes, since Mattias applied the patches to the main tree. At this stage I am waiting for more clarity on where Darek's GTK1 work is going before advancing mine so that the two can be kept in design sync. What I can do for You now.