[lazarus] help: postgres on upgrading build script to do cross-builds too

2007-12-01 Thread Sam Liddicott
For the deb cross building scripts to build for arm-wince I'm starting from the regular building script and just extending it to do cross building. Applying this (slightly dodgy, in-progress) diff: Index: create_fpc_deb.sh === ---

Re: [lazarus] Serial Comm Support Windows

2007-12-01 Thread Florian Klaempfl
Stephano schrieb: Jeff Steinkamp wrote: I know there is a serial unit for Linux/Unix, but is there similar support for serial communications for the Windows Platform? http://www.luisdigital.com/programacion/fpc/serial.pp May I add this to the rtl?

Re: [lazarus] FPDoc or PasDoc?

2007-12-01 Thread Michael Van Canneyt
On Fri, 30 Nov 2007, Graeme Geldenhuys wrote: On 30/11/2007, Michael Van Canneyt [EMAIL PROTECTED] wrote: Use of XML, tight documentation editor support in lazarus. Lazarus now offers tooltips which it gets from the fpdoc sources. And you can refer to the existing fpdoc-documented

Re: [lazarus] FPDoc or PasDoc?

2007-12-01 Thread Graeme Geldenhuys
On 01/12/2007, Michael Van Canneyt [EMAIL PROTECTED] wrote: And, if all goes well, really soon there'll be a wysiwyg editor for fpdoc. Oh boy Santa read my wishlist letter! :-) Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal

Re: [lazarus] App Localization

2007-12-01 Thread wile64
I'm not sure what I should do with this unit. How is this related to the TTranslateString support in the IDE? As a first step to determine whether all TTranslateString a Form can be read as I also did a test with TWriter.OnWriteStringProperty. Or find the active form in the IDE? Thanks --

Re: [lazarus] help: postgres on upgrading build script to do cross-builds too

2007-12-01 Thread Micha Nelissen
Sam Liddicott wrote: dbf_pgfile.pas(795,23) Error: Identifier not found LockFile dbf_pgfile.pas(809,23) Error: Identifier not found UnlockFile dbf_pgfile.pas(918) Fatal: There were 2 errors compiling module, stopping It's impossible to lock files under windows ce? What is the API? Isn't it a

Re: [lazarus] App Localization

2007-12-01 Thread Mattias Gaertner
On Sat, 1 Dec 2007 11:22:31 +0100 wile64 [EMAIL PROTECTED] wrote: I'm not sure what I should do with this unit. How is this related to the TTranslateString support in the IDE? As a first step to determine whether all TTranslateString a Form can be read as I also did a test with

Re: [lazarus] FPDoc or PasDoc?

2007-12-01 Thread Sebastian Günther
Graeme Geldenhuys schrieb: On 01/12/2007, Michael Van Canneyt [EMAIL PROTECTED] wrote: And, if all goes well, really soon there'll be a wysiwyg editor for fpdoc. Oh boy Santa read my wishlist letter! :-) I'm working on it, I'm working on it... Please be patient ;) - Sebastian

Re: [lazarus] FPDoc or PasDoc?

2007-12-01 Thread Graeme Geldenhuys
On 01/12/2007, Michael Van Canneyt [EMAIL PROTECTED] wrote: I think this is a rather daunting task, the fpdoc engine is tightly intertwined with the XML format and data structures. It might be easier to do a preprocessing step, to convert insert your favourite format here to XML as understood

Re: [lazarus] FPDoc or PasDoc?

2007-12-01 Thread Michael Van Canneyt
On Sat, 1 Dec 2007, Graeme Geldenhuys wrote: On 01/12/2007, Michael Van Canneyt [EMAIL PROTECTED] wrote: I think this is a rather daunting task, the fpdoc engine is tightly intertwined with the XML format and data structures. It might be easier to do a preprocessing step, to convert

Re: [lazarus] OSX : Copy and Paste bug..

2007-12-01 Thread Tom Gregorovic
On Nov 30, 2007 10:20 AM, Dominique Louis [EMAIL PROTECTED] wrote: If you copy and paste some text with an @ sign in it, for example passing the address of something, when you paste that code somewhere else the @ sign is changed into a . Not a big bug, but an annoying one nevertheless. When

Re: [lazarus] App Localization

2007-12-01 Thread Mattias Gaertner
On Sat, 1 Dec 2007 14:02:03 +0100 wile64 [EMAIL PROTECTED] wrote: 2007/12/1, Mattias Gaertner [EMAIL PROTECTED]: On Sat, 1 Dec 2007 11:22:31 +0100 wile64 [EMAIL PROTECTED] wrote: I'm not sure what I should do with this unit. How is this related to the TTranslateString support in

Re: [lazarus] App Localization

2007-12-01 Thread wile64
Can you elaborate why you need resourcestrings for the properties? Mattias To use it with TranslateUnitResourceStrings and translate my application. Thanks, -- Laurent. My Components: http://wiki.lazarus.freepascal.org/Wile64 French Forum : http://lazforum-fr.tuxfamily.org/index.php

Re: [lazarus] App Localization

2007-12-01 Thread Mattias Gaertner
On Sat, 1 Dec 2007 14:21:46 +0100 wile64 [EMAIL PROTECTED] wrote: Can you elaborate why you need resourcestrings for the properties? Mattias To use it with TranslateUnitResourceStrings and translate my application. Using resourcestrings would assign every string property twice.

Re: [lazarus] App Localization

2007-12-01 Thread wile64
Using resourcestrings would assign every string property twice. The LCL form reader has a built in translator. You just need to setup LRSTranslator (unit lresources.pp). You can find an example in lcl/defaulttranslator.pas, but it only reads .mo files. We need a translator class using the

Re: [lazarus] Serial Comm Support Windows

2007-12-01 Thread Jeff Steinkamp
- Original Message - From: Florian Klaempfl [EMAIL PROTECTED] To: lazarus@miraclec.com Sent: Saturday, December 01, 2007 02:38 Subject: Re: [lazarus] Serial Comm Support Windows Stephano schrieb: Jeff Steinkamp wrote: I know there is a serial unit for Linux/Unix, but is there

Re: [lazarus] FPDoc or PasDoc?

2007-12-01 Thread Graeme Geldenhuys
On 01/12/2007, Michael Van Canneyt [EMAIL PROTECTED] wrote: On 01/12/2007, Michael Van Canneyt [EMAIL PROTECTED] wrote: I think this is a rather daunting task, the fpdoc engine is tightly intertwined with the XML format and data structures. It might be easier to do a preprocessing

Re: [lazarus] Re: Lazarus-0.9.24: SIGSEGV in TOpenDialog

2007-12-01 Thread Marco Alvarado
It's a Win32 API function: http://msdn2.microsoft.com/en-us/library/aa363362.aspx Outputs a string to the debugger. Lazarus is able to catch those messages, although the output in Lazarus is pretty dirty, and is somehow difficult to read. I supposed DebugLn would work the same way, but no :(

[lazarus] Lazarus on Fedora 8

2007-12-01 Thread C Western
The switch from Fedora 7 to 8 seems to have revealed some problems. The same lazarus executable looks fine on 7, but on 8 has two issues: 1. The font used for menus and dialog boxes is now a rather larger font (?Arial) and is clearly not using the gtk2 theme settings. I suspect this is

Re: [lazarus] Before After Compilation Comandline Execute

2007-12-01 Thread Mattias Gaertner
On Fri, 30 Nov 2007 10:06:11 -0500 Lee Jenkins [EMAIL PROTECTED] wrote: Marc Weustink wrote: Vincent Snijders wrote: Lee Jenkins schreef: Lazarus 0.9.24 Referring to Project Compiler Options Compilation..., When I place a command in Execute After, it will actually be executed

Re: [lazarus] App Localization

2007-12-01 Thread Mattias Gaertner
On Sat, 1 Dec 2007 15:07:21 +0100 wile64 [EMAIL PROTECTED] wrote: Using resourcestrings would assign every string property twice. The LCL form reader has a built in translator. You just need to setup LRSTranslator (unit lresources.pp). You can find an example in

[lazarus] Moving selected components

2007-12-01 Thread huisvuil
Hello, When designing forms it is possible to move selected components with the ctrl-arrow key's (this moves them 1 pixel). In delphi you can also move them with the ctrl-shift-arrows to move them 8 pixels, i would like to add that option but i cannot find the appropriate form/place.

Re: [lazarus] Re: Lazarus-0.9.24: SIGSEGV in TOpenDialog

2007-12-01 Thread Marc Weustink
Marco Alvarado wrote: It's a Win32 API function: http://msdn2.microsoft.com/en-us/library/aa363362.aspx Outputs a string to the debugger. Lazarus is able to catch those messages, although the output in Lazarus is pretty dirty, and is somehow difficult to read. Correction, lazarus does not

Re: [lazarus] Before After Compilation Comandline Execute

2007-12-01 Thread Marc Weustink
Mattias Gaertner wrote: On Fri, 30 Nov 2007 10:06:11 -0500 Lee Jenkins [EMAIL PROTECTED] wrote: Marc Weustink wrote: Vincent Snijders wrote: Lee Jenkins schreef: Lazarus 0.9.24 Referring to Project Compiler Options Compilation..., When I place a command in Execute After, it will

Re: [lazarus] help: postgres on upgrading build script to do cross-builds too

2007-12-01 Thread Sam Liddicott
Micha Nelissen wrote: Sam Liddicott wrote: dbf_pgfile.pas(795,23) Error: Identifier not found LockFile dbf_pgfile.pas(809,23) Error: Identifier not found UnlockFile dbf_pgfile.pas(918) Fatal: There were 2 errors compiling module, stopping It's impossible to lock files under windows

Re: [lazarus] OSX : Copy and Paste bug..

2007-12-01 Thread Dominique Louis
Hi Tom, this is an IDE bug, and I think the only way the IDE runs on Mac OS X is gtk at the moment, though someone was working on porting the whole thing to Carbon. Dominique. Tom Gregorovic wrote: On Nov 30, 2007 10:20 AM, Dominique Louis [EMAIL PROTECTED] wrote: If you copy and paste

Re: [lazarus] App Localization

2007-12-01 Thread wile64
The main problem is getting the .po files, especially on inherited forms, where the strings come from multiple .po files. Somehow the IDE must gather all .po files of all packages used by the project and collect them all into the i18n directory of the project. Mattias Yes, I see what you

Re: [lazarus] Moving selected components

2007-12-01 Thread Wanderlan Santos dos Anjos
The place is: EnvironmentEditor OptionsKey MappingsDesigner CommandsMove component one... But as you may notice, does not have the option Move component eight... Wanderlan

Re: [lazarus] Moving selected components

2007-12-01 Thread huisvuil
Thank you, but i wasn't after these, the PgUp and PgDn move the components in the z-order. What i'm after is the lazarus source file/unit where the components are moved (horizontal or vertical) in the designer. But i'm lost in the sources and can't seem to find it.. Wanderlan Santos dos Anjos

Re: [lazarus] Moving selected components

2007-12-01 Thread Mattias Gaertner
On Sat, 1 Dec 2007 20:34:55 -0300 Wanderlan Santos dos Anjos [EMAIL PROTECTED] wrote: The place is: EnvironmentEditor OptionsKey MappingsDesigner CommandsMove component one... But as you may notice, does not have the option Move component eight... 'Move component one forward/back' changes

Re: [lazarus] Fatal: Can't find unit *** used by Lazarus when build lazarus with my own package

2007-12-01 Thread Mattias Gaertner
On Thu, 29 Nov 2007 16:13:18 +0300 Andrey Gusev [EMAIL PROTECTED] wrote: I have tried to install my own Component's package, which use (also myown) runtime package: Lazarus - lazCal(TCalendarGraphic component) - BllCore(runtime support). At lazarus building i got BllCore.pas(74,12) Fatal:

Re: [lazarus] Re: Lazarus-0.9.24: SIGSEGV in TOpenDialog

2007-12-01 Thread Marco Alvarado
So, is there any other option appart from DebugLn(), that works? Regards! -Marco 2007/12/1, Marc Weustink [EMAIL PROTECTED]: Marco Alvarado wrote: It's a Win32 API function: http://msdn2.microsoft.com/en-us/library/aa363362.aspx Outputs a string to the debugger. Lazarus is able to

Re: [lazarus] Moving selected components

2007-12-01 Thread huisvuil
SVN'ed, compiled and i see i was looking in the wrong directory :P My bad. It nudges real nice now Mattias (cleans up the previous code also) Thanks Marius _ To unsubscribe: mail [EMAIL PROTECTED] with

[lazarus] Docking

2007-12-01 Thread huisvuil
While developing i noticed i'm looking frequently for lost windows like the search results and i end up resizing ad moving the editor window to get back to the window. So i started looking for docking and i found an anchordocking example but couldn't get that to work (or didn't understand how