RE: [lazarus] Philosophical question: what should trigger OnChange?

2006-05-09 Thread Tiziano - Mekar Srl -
Hope this is enlightening for your question. I made some tests with Delphi7 and Delphi5, and looked in the online help: Ttrackbar onchange: - Occurs immediately after the value of Position changes (user and program). I noted that on user input onchange

Re: [lazarus] SpinEdit

2006-05-09 Thread Mattias Gaertner
On Mon, 8 May 2006 09:52:08 +0200 ENotas editor de notas [EMAIL PROTECTED] wrote: Hello, Does not work the TabStop in a SpinEdit? It works here under linux/gtk. Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with

Re: [lazarus] IDE: Menu Items trailing ellipsis

2006-05-09 Thread Graeme Geldenhuys
Should we add the '...' or remove them? I vote for adding it for modal dialogs. I second this... What about the translations? Can the '...' be added in all languages so we can simply write AMenuItem.Caption:=lisOpen+' ...'; Or is it better to change the resource strings and let the

[lazarus] Read Notification Requests

2006-05-09 Thread Bram Kuijvenhoven
Hi, I noticed that recently some people sent emails with Read Confirmation Requests (also called Return Receipts). This is annoying for a mailing list. The problem might be that settings for these requests are usually global (or per-account) in email clients. This can be a problem for people

Re: [lazarus] JUnit and Delphi

2006-05-09 Thread Graeme Geldenhuys
On fpc I used fpcunit, and I tried to use DUnit with Delphi. That works, but the problem is that where fpcunit uses 'assertequals(prop1,prop2)' dunit uses 'testequals(prop1,prop2)' So that I'm still unable to write a test only once, and test it with both compilers. For tiOPF we use DUnit under

Re: [lazarus] New help doc format?

2006-05-09 Thread Mattias Gaertner
On Tue, 9 May 2006 09:24:33 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: Has anybody put some thought into creating a cross platform help file format that Lazarus could use in the IDE and in applications created with Lazarus? It was discussed several times on the lists and 10 people gave

Re: [lazarus] JUnit and Delphi

2006-05-09 Thread Graeme Geldenhuys
On 08/05/06, Dean Zobec [EMAIL PROTECTED] wrote: I've already started some work to provide new features to fpcunit as suggested by the users. Ciao, Dean Oh please do tell!! :-) Regards, - Graeme - -- There's no place like 127.0.0.1

[lazarus] Lazarus File bigger then Delphi File?

2006-05-09 Thread Gandi Wibowo
Hai every body, I'm sorry if you'r dificult to understand my english. It's not my mother language. I'm Win32 Delphi Programmer, and want to try codding in LINUX using delphi. I was trying Kylix and get alot of problem, So i try to use lazarus. I try it in windows first, but it's suprissing me.

Re: [lazarus] GTK2 LCL doesn't build in Rev 9255 - uses misplaced

2006-05-09 Thread Mattias Gaertner
On Tue, 9 May 2006 01:21:20 +0200 [EMAIL PROTECTED] wrote: Trying to build GTK2 LCL with last subversion (9255) I get an error when compiling gtkproc.pp: in gtkproc.inc identifier not found: XA_CARDINAL Looking at the code, it turns out that Xatom (where XA_CARDINAL is defined) is in the

Re: [lazarus] Qt patch for TMemo and Tedit.

2006-05-09 Thread Mattias Gaertner
On Tue, 09 May 2006 00:44:14 +0200 Giuliano Colla [EMAIL PROTECTED] wrote: Felipe Monteiro de Carvalho ha scritto: Ok, now it works thanks =) Giuliano, you implemented TQtWSWinControl.SetText and GetText. I find it cleaner if we don't implement this properties on TQtWSWinControl, but

Re: [lazarus] Lazarus File bigger then Delphi File?

2006-05-09 Thread Jonas A.
file with size 6 MB. I do the same to delphi, it only 300 KB. Here is your answer: http://wiki.lazarus.freepascal.org/index.php/Lazarus_Faq#Why_are_the_generated_binaries_so_big.3F _ To unsubscribe: mail [EMAIL PROTECTED]

Re: [lazarus] Lazarus File bigger then Delphi File?

2006-05-09 Thread Bogusław Brandys
Gandi Wibowo wrote: Hai every body, I'm sorry if you'r dificult to understand my english. It's not my mother language. I'm Win32 Delphi Programmer, and want to try codding in LINUX using delphi. I was trying Kylix and get alot of problem, So i try to use lazarus. I try it in windows first, but

Re: [lazarus] Lazarus File bigger then Delphi File?

2006-05-09 Thread Bogusław Brandys
Bogusław Brandys wrote: Gandi Wibowo wrote: Hai every body, I'm sorry if you'r dificult to understand my english. It's not my mother language. I'm Win32 Delphi Programmer, and want to try codding in LINUX using delphi. I was trying Kylix and get alot of problem, So i try to use lazarus. I

Re: [lazarus] Problem with SQLdb

2006-05-09 Thread Joost van der Sluis
On Mon, 2006-05-08 at 20:02 -0400, [EMAIL PROTECTED] wrote: I downloaded the latest snapshot of FPC and Lazarus. I then ran the SQLdb examples against a Postgres database. But the Fedittable.pp fails with the following error: Clear of selection failed (PostgresSQL: Error: current

[lazarus] IDE leaves after RUN command

2006-05-09 Thread Roland Turcan
Hello lazarus project! I was too happy, that I was able to install Lazarus ...14 on SuSE 10.0 32bit, but I have created just window version of Hello World application, but after linking IDE leaves a memory without any message. What could be a problem? -- Best regards, TRoland

Re: [lazarus] New help doc format?

2006-05-09 Thread Graeme Geldenhuys
On 09/05/06, Michael Van Canneyt [EMAIL PROTECTED] wrote: I'm not very much in favour of creating yet another format. Standards exist, we should try to use them as much as possible. Linux - has no standard help! OS X - never used it, so no idea what help format they use. Windows - Isn't the

Re: [lazarus] New help doc format?

2006-05-09 Thread Michael Van Canneyt
On Tue, 9 May 2006, Graeme Geldenhuys wrote: On 09/05/06, Michael Van Canneyt [EMAIL PROTECTED] wrote: I'm not very much in favour of creating yet another format. Standards exist, we should try to use them as much as possible. Linux - has no standard help! OS X - never used it, so no idea

Re: [lazarus] New help doc format?

2006-05-09 Thread bobby
Graeme Geldenhuys wrote: I was thinking in terms of release format for end users. Editing could be done exactly like the windows help formats. HLP is generated from a rich text file (RTF). I think CHM is as well. We could generate our final help file from XML. DocBook also does it that way.

Re: [lazarus] New help doc format?

2006-05-09 Thread Alexandre Leclerc
2006/5/9, Vincent Snijders [EMAIL PROTECTED]: A drawback of chm, that I don't know about free tools to generate it except the Microsoft Help Workshop, which is windows only. No problem for me, because windows is my main platform, but still. I have heard (not tested) that the only actual open

Re: [lazarus] New help doc format?

2006-05-09 Thread Alexandre Leclerc
I'm sorry, I can't find the source code... :( The only code on sourceforge, well, I don't know if this is the compiler itself, but it does not look like. Any-way I've no time now to look at that, but I will because this is interesting me a lot for our own help file creation. -- Alexandre

[lazarus] Process.ExitStatus after run windows CMD

2006-05-09 Thread Arí Ricardo Ody
I execute the Execute method of TProcess class to run a FPC program. When I test TProcess.ExitStatus property it always returns the decimal value 259. My FPC DOS program ends via the end.(e.g., there is abnormal end). I would like to know if there is a way of test successfull execution of

Re: [lazarus] New help doc format?

2006-05-09 Thread Alexandre Leclerc
2006/5/9, A.J. Venter [EMAIL PROTECTED]: On Tuesday 09 May 2006 15:53, Alexandre Leclerc wrote: I'm sorry, I can't find the source code... :( The only code on sourceforge, well, I don't know if this is the compiler itself, but it does not look like. Any-way I've no time now to look at that,

RE: [lazarus] Problem with SQLdb

2006-05-09 Thread lalong1
Thank you. I am eagerly waiting on this to proceed with my project. -Original Message- From: Joost van der Sluis [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 09, 2006 5:19 AM To: lazarus@miraclec.com Subject: Re: [lazarus] Problem with SQLdb On Mon, 2006-05-08 at 20:02 -0400, [EMAIL

Re: [lazarus] New help doc format?

2006-05-09 Thread Giuliano Colla
Graeme Geldenhuys ha scritto: [...] What does Qt offer in help formats? Qt provides standard html files, and a navigation program called assistant, which provides a sidebar, and other navigation tools, but they specify that a standard browser can be used instead. No particular file format,

Re: [lazarus] New help doc format?

2006-05-09 Thread L505
On 09/05/06, Michael Van Canneyt [EMAIL PROTECTED] wrote: I'm not very much in favour of creating yet another format. Standards exist, we should try to use them as much as possible. Linux - has no standard help! Man Pages! Indexing? use grep! (detect sarcasm here).

Re: [lazarus] New help doc format?

2006-05-09 Thread Marco Meile
L505 wrote: On 09/05/06, Michael Van Canneyt [EMAIL PROTECTED] wrote: I'm not very much in favour of creating yet another format. Standards exist, we should try to use them as much as possible. Linux - has no standard help! Right, Linux has no help. Linux is a Kernel!

Re: [lazarus] New help doc format?

2006-05-09 Thread Joost van der Sluis
I'm not very much in favour of creating yet another format. Standards exist, we should try to use them as much as possible. It's already discussed on IRC, and maybe it could be a problem on large files, but is ODT (opendocument format) an option? Those are xml-files, which we already have, but

Re: [lazarus] JUnit and Delphi

2006-05-09 Thread Dean Zobec
Graeme Geldenhuys wrote: On fpc I used fpcunit, and I tried to use DUnit with Delphi. That works, but the problem is that where fpcunit uses 'assertequals(prop1,prop2)' dunit uses 'testequals(prop1,prop2)' So that I'm still unable to write a test only once, and test it with both compilers.

Re: [lazarus] New help doc format?

2006-05-09 Thread L505
2006/5/9, A.J. Venter [EMAIL PROTECTED]: On Tuesday 09 May 2006 15:53, Alexandre Leclerc wrote: I'm sorry, I can't find the source code... :( The only code on sourceforge, well, I don't know if this is the compiler itself, but it does not look like. Any-way I've no time now to

Re: [lazarus] New help doc format?

2006-05-09 Thread Alexandre Leclerc
2006/5/9, Joost van der Sluis [EMAIL PROTECTED]: I'm not very much in favour of creating yet another format. Standards exist, we should try to use them as much as possible. It's already discussed on IRC, and maybe it could be a problem on large files, but is ODT (opendocument format) an

Re: [lazarus] JUnit and Delphi

2006-05-09 Thread Dean Zobec
Graeme Geldenhuys wrote: I've already started some work to provide new features to fpcunit as suggested by the users. Ciao, Dean Oh please do tell!! :-) Regards, - Graeme - Mainly your suggestions Graeme, after all you are the one who makes the heaviest use of fpcunit, your 1400 and

[lazarus] New Qt patch

2006-05-09 Thread Giuliano Colla
Enclosed a new patch for Qt. It provides: 1) A cosmetic correction in qt4.pas to avoid a warning about enumerates types not ascending. 2) A couple a cosmetic corrections on QtWsControls and QtWsStdControls, to get rid of methods never used. 3) Removed from QtWsControls a partial

[lazarus] New Qt patch

2006-05-09 Thread Giuliano Colla
Enclosed a new patch for Qt. It provides: 1) A cosmetic correction in qt4.pas to avoid a warning about enumerates types not ascending. 2) A couple a cosmetic corrections on QtWsControls and QtWsStdControls, to get rid of methods never used. 3) Removed from QtWsControls a partial

Re: [lazarus] New help doc format?

2006-05-09 Thread Bogusław Brandys
Alexandre Leclerc wrote: 2006/5/9, L505 [EMAIL PROTECTED]: 2006/5/9, A.J. Venter [EMAIL PROTECTED]: On Tuesday 09 May 2006 15:53, Alexandre Leclerc wrote: But my personal idea on help files for lazarus would probably be: - get very well built html files with many links - build a search

[lazarus] Too many patches?

2006-05-09 Thread Giuliano Colla
Sorry, I posted twice the patch, because I got a message specifying that my message had been blocked because an attachment had a double extension (.tar.bz2). I renamed the file, sent it again, and as soon as I had clicked on send, I saw the blocked message appear on the mailing list! Cheers,

Re: [lazarus] Philosophical question: what should trigger OnChange?

2006-05-09 Thread Giuliano Colla
Tiziano - Mekar Srl - ha scritto: Hope this is enlightening for your question. I made some tests with Delphi7 and Delphi5, and looked in the online help: Ttrackbar onchange: - Occurs immediately after the value of Position changes (user and program). I

Re: [lazarus] JUnit and Delphi

2006-05-09 Thread Mattias Gaertner
On Tue, 09 May 2006 18:54:38 +0200 Dean Zobec [EMAIL PROTECTED] wrote: Graeme Geldenhuys wrote: I've already started some work to provide new features to fpcunit as suggested by the users. Ciao, Dean Oh please do tell!! :-) Regards, - Graeme - Mainly your suggestions

Re: [lazarus] JUnit and Delphi

2006-05-09 Thread Dean Zobec
Mattias Gaertner wrote: Then I'm investigating about a way to add the possibility to automatically create the stubs for the tests as in Eclipse, through a parsing of the unit containing the classes to be tested. I would also like to improve the integration in Lazarus. I'm absolutely

Re: [lazarus] JUnit and Delphi

2006-05-09 Thread Mattias Gaertner
On Tue, 09 May 2006 20:14:30 +0200 Dean Zobec [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: Then I'm investigating about a way to add the possibility to automatically create the stubs for the tests as in Eclipse, through a parsing of the unit containing the classes to be tested. I

[lazarus] Lazarus on AMD64 bit (part 2)

2006-05-09 Thread ik
Hi, OK, So I found out that the makefile issue is an FPC issue... So now I'm back to: Free Pascal Compiler version 2.0.2 [2005/11/12] for x86_64 I was able to compile Lazarus both to GTK1.2 and GTK2.x, but on GTK2.x Lazarus raises exception when it tries creating the menu speedbar buttons.

Re: [lazarus] Lazarus for core devel in one of our project! -- Multilangual support

2006-05-09 Thread Mattias Gaertner
On Tue, 9 May 2006 20:35:53 +0200 Christian U. [EMAIL PROTECTED] wrote: Lazarus itself maybe a good crash course example :) every String in your application you want to translate have to be an resourcestring strtest= 'You can declare me like an constant'; uses gettext;

Re: [lazarus] Lazarus for core devel in one of our project! -- Multilangual support

2006-05-09 Thread Alexandre Leclerc
2006/5/9, Mattias Gaertner [EMAIL PROTECTED]: On Tue, 9 May 2006 20:35:53 +0200 Christian U. [EMAIL PROTECTED] wrote: Lazarus itself maybe a good crash course example :) every String in your application you want to translate have to be an resourcestring strtest= 'You can declare me

Re: [lazarus] New help doc format?

2006-05-09 Thread Michael Van Canneyt
On Tue, 9 May 2006, [UTF-8] Bogusław Brandys wrote: Alexandre Leclerc wrote: 2006/5/9, L505 [EMAIL PROTECTED]: 2006/5/9, A.J. Venter [EMAIL PROTECTED]: On Tuesday 09 May 2006 15:53, Alexandre Leclerc wrote: But my personal idea on help files for lazarus would probably be: - get

Re: [lazarus] New Qt patch

2006-05-09 Thread Felipe Monteiro de Carvalho
On 5/9/06, Giuliano Colla [EMAIL PROTECTED] wrote: 1) A cosmetic correction in qt4.pas to avoid a warning about enumerates types not ascending. qt4.pas is automatically generated. If you hand change it, all changes will be lost the next time it is generated. Please ask Den if you need any

Re: [lazarus] New help doc format?

2006-05-09 Thread Andrew Haines
bobby wrote: Graeme Geldenhuys wrote: I was thinking in terms of release format for end users. Editing could be done exactly like the windows help formats. HLP is generated from a rich text file (RTF). I think CHM is as well. We could generate our final help file from XML. DocBook also

Re: [lazarus] JUnit and Delphi

2006-05-09 Thread Dean Zobec
Mattias Gaertner wrote: On Tue, 09 May 2006 20:14:30 +0200 Dean Zobec [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: Then I'm investigating about a way to add the possibility to automatically create the stubs for the tests as in Eclipse, through a parsing of the unit containing the

Re: [lazarus] New help doc format?

2006-05-09 Thread Andrew Haines
Andrew Haines wrote: I checked out HTML Help Maker http://download.savannah.gnu.org/releases/hhm/ and it can only create the archive format that chms are. It cannot currently create the TOC or index file or any of the other special chm related files that are in a chm. However if we created

Re: [lazarus] Lazarus for core devel in one of our project! -- Multilangual support

2006-05-09 Thread Mattias Gaertner
On Tue, 9 May 2006 21:16:52 +0200 Christian U. [EMAIL PROTECTED] wrote: Lazarus does not use .mo files anymore. It uses the .po files directly. See unit lcl/translations.pas. The header contains an example. oh, sorry is ther an format difference ? i think its only the ending that is

Re: [lazarus] Lazarus for core devel in one of our project! -- Multilangual support

2006-05-09 Thread Michael Van Canneyt
On Tue, 9 May 2006, Christian U. wrote: Lazarus does not use .mo files anymore. It uses the .po files directly. See unit lcl/translations.pas. The header contains an example. oh, sorry is ther an format difference ? i think its only the ending that is different ? and most gettext

Re: [lazarus] alignment issues.

2006-05-09 Thread Borut Maricic
I just also want to say Thank you! for that nice explanation and the change of code. Borut On 2006-05-08 at 12:25, Mattias Gaertner ([EMAIL PROTECTED]) wrote: Long answer: The Align property is difficult. [...] _ To

Re: [lazarus] Lazarus for core devel in one of our project! -- Multilangual support

2006-05-09 Thread Christian U.
There are good reasons for writing a Lazarus tool 1. poEdit does not have support for the .rst files that the FPC compiler creates. 2. Lazarus codetools can scan for resourcestrings directly in the sources. This kind of integration is not possible in poEdit. iam happy at time with my

Re: [lazarus] New Qt patch

2006-05-09 Thread Den Jean
On Tuesday 09 May 2006 21:13, Felipe Monteiro de Carvalho wrote: On 5/9/06, Giuliano Colla [EMAIL PROTECTED] wrote: 1) A cosmetic correction in qt4.pas to avoid a warning about enumerates types not ascending. qt4.pas is automatically generated. If you hand change it, all changes will be

Re: [lazarus] Lazarus for core devel in one of our project! --Multilangual support

2006-05-09 Thread Darius Blaszijk
You can say now lazarus is opensource, ... but iam not firm enougth with lcl internas but you are, so we can make a deal you and vincent add complete unicode support to lcl, and i write an internal translator for lazarus :) For what it's worth, there is a translationtool in delphi already

Re: [lazarus] New help doc format?

2006-05-09 Thread George Lober
Alexandre Leclerc wrote: 2006/5/9, Vincent Snijders [EMAIL PROTECTED]: A drawback of chm, that I don't know about free tools to generate it except the Microsoft Help Workshop, which is windows only. No problem for me, because windows is my main platform, but still. I have heard (not

[lazarus] [patch] popmenu.align added

2006-05-09 Thread darekm
HI as in subject and some const Darek Index: lcltype.pp === --- lcltype.pp (wersja 9253) +++ lcltype.pp (kopia robocza) @@ -211,6 +211,7 @@ DT_RIGHT = 2; DT_VCENTER = 4; DT_BOTTOM = 8; + DT_EXPANDTABS = 64;

Re: [lazarus] [patch] popmenu.align added

2006-05-09 Thread Mattias Gaertner
On Tue, 09 May 2006 23:17:13 +0200 darekm [EMAIL PROTECTED] wrote: HI as in subject and some const Where is the code that implements the property? Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with

Re: [lazarus] Lazarus on AMD64 bit (part 2)

2006-05-09 Thread Marc Weustink
ik wrote: Hi, OK, So I found out that the makefile issue is an FPC issue... So now I'm back to: Free Pascal Compiler version 2.0.2 [2005/11/12] for x86_64 I was able to compile Lazarus both to GTK1.2 and GTK2.x, but on GTK2.x Lazarus raises exception when it tries creating the menu

Re: [lazarus] Lazarus for core devel in one of our project! -- Multilangual support

2006-05-09 Thread Vincent Snijders
Christian U. wrote: Lazarus does not use .mo files anymore. It uses the .po files directly. See unit lcl/translations.pas. The header contains an example. oh, sorry is ther an format difference ? i think its only the ending that is different ? and most gettext applications use .mo so why we

Re: [lazarus] New help doc format?

2006-05-09 Thread L505
sqlite is good candidate too (multiplatform,single file,fast, only one dll/so required) Sorry, but no: - No external dependencies, please. - Specifically: sqlite is a horrible database for use in Pascal. And very slow for complex queries, in general. What database is good for Pascal?

Re: [lazarus] New help doc format?

2006-05-09 Thread Felipe Monteiro de Carvalho
On 5/9/06, L505 [EMAIL PROTECTED] wrote: Do any even exist? There is at least TDBf component for DBase and some memory database components, but neither is suitable for a help system. thanks, -- Felipe Monteiro de Carvalho _

Re: [lazarus] New help doc format?

2006-05-09 Thread George Lober
Alexandre Leclerc wrote: 2006/5/9, A.J. Venter [EMAIL PROTECTED]: On Tuesday 09 May 2006 15:53, Alexandre Leclerc wrote: I'm sorry, I can't find the source code... :( The only code on sourceforge, well, I don't know if this is the compiler itself, but it does not look like. Any-way I've

Re: [lazarus] New help doc format?

2006-05-09 Thread Felipe Monteiro de Carvalho
On 5/9/06, George Lober [EMAIL PROTECTED] wrote: The project seems quite inactive, showing 0 developers, Lol!!! With 0 developers just anyone can takeover the project and become administrator. This is a very good opportunity to take the project and put the source on it's CVS so a community

Re: [lazarus] New help doc format?

2006-05-09 Thread Felipe Monteiro de Carvalho
On 5/9/06, L505 [EMAIL PROTECTED] wrote: There is at least TDBf component for DBase and some memory database components, but neither is suitable for a help system. Really.. and why? Too square? DBase creates too many files. -- Felipe Monteiro de Carvalho

Re: [lazarus] New help doc format?

2006-05-09 Thread L505
There is at least TDBf component for DBase and some memory database components, but neither is suitable for a help system. Really.. and why? Too square? DBase creates too many files. How many for say a 100MB database or so ? 100's? Are they big files that take up lots of space?

Re: [lazarus] New help doc format?

2006-05-09 Thread Felipe Monteiro de Carvalho
On 5/10/06, L505 [EMAIL PROTECTED] wrote: How many for say a 100MB database or so ? 100's? Are they big files that take up lots of space? No, they are small, but they are many. 1 per table 1 per index and some other extras -- Felipe Monteiro de Carvalho

Re: [lazarus] Lazarus for core devel in one of our project! -- Multilangual support

2006-05-09 Thread Christian U.
First extend packages (and projects) with a languages directory with po files. When a project is built (or published) all language files of all dependent packages will be gathered add add in a languages subdirectory relatively to the executable or at another predefined place (i.e.

Re: [lazarus] Lazarus for core devel in one of our project! -- Multilangual support

2006-05-09 Thread Vincent Snijders
Christian U. wrote: First extend packages (and projects) with a languages directory with po files. When a project is built (or published) all language files of all dependent packages will be gathered add add in a languages subdirectory relatively to the executable or at another predefined

Re: [lazarus] New help doc format?

2006-05-09 Thread Micha Nelissen
Felipe Monteiro de Carvalho wrote: On 5/10/06, L505 [EMAIL PROTECTED] wrote: How many for say a 100MB database or so ? 100's? Are they big files that take up lots of space? No, they are small, but they are many. 1 per table 1 per index No actually, the indexes are combined into one file: