Re: [Lazarus] Do FPC generates old EABI code?

2009-12-15 Thread Kjow
2009/12/15 : > Should be >   Target OS: Linux for ARMEL > > You have to recompile crosscompiller > Its not EABI (see my descuss with Jonas on fpc-devel) > > make crosssinstal OPT="-dFPC_ARMEL" ... This is the command that I used to make crosscompiler: sudo make crossinstall CPU_TARGET=arm OS

[Lazarus] Problem with fshcomp package

2009-12-15 Thread Tomaž Zupan
Hi! I have been trying to install fshcomp package http://wiki.lazarus.freepascal.org/Fshcomp to lazarus. I have lazarus snapshot 0.9.29-22663. I have found the problem with the code (same as here http://forum.lazarus.freepascal.org/index.php/topic,6400.0.html), but I have managed to correct it

[Lazarus] TESTMAIL - IGNORE

2009-12-15 Thread Helmut Hartl
test -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] GTK2 changed to single-handle-per-form design

2009-12-15 Thread Henry Vermaak
2009/12/15 Graeme Geldenhuys : > Marc Weustink wrote: >> On 14-12-2009 15:37, Graeme Geldenhuys wrote: >>> Will this in any way affect LCL? >> >> Not, since it is already the case for most controls. Thats why you >> sometimes can draw a buttoncaption outside a button. > > Ah, so that explains it. T

Re: [Lazarus] Do FPC generates old EABI code?

2009-12-15 Thread Dariusz Mazur
Kjow pisze: 2009/12/15 : Should be Target OS: Linux for ARMEL You have to recompile crosscompiller Its not EABI (see my descuss with Jonas on fpc-devel) make crosssinstal OPT="-dFPC_ARMEL" ... This is the command that I used to make crosscompiler: sudo make crossinstall CPU_T

Re: [Lazarus] GTK2 changed to single-handle-per-form design

2009-12-15 Thread Graeme Geldenhuys
Henry Vermaak wrote: > > Sigh. Maybe you should raise that on the gtk list? Maybe I should report a few bugs there... > Maybe you can > also explain to me what good hard-coded bounds are, given that you > will never be able to get it right to suit everyone's language, theme > or font size. A

Re: [Lazarus] Do FPC generates old EABI code?

2009-12-15 Thread Florian Klaempfl
Dariusz Mazur schrieb: > Kjow pisze: >> 2009/12/15 : >> >>> Should be >>> Target OS: Linux for ARMEL >>> >>> You have to recompile crosscompiller >>> Its not EABI (see my descuss with Jonas on fpc-devel) >>> >>> make crosssinstal OPT="-dFPC_ARMEL" ... >>> >> >> This is the command tha

Re: [Lazarus] Do FPC generates old EABI code?

2009-12-15 Thread Kjow
2009/12/15 Florian Klaempfl : > Please, don't spread the nonsense of -CfSOFT -CaEABI, it's neither > needed nor desired. -dFPC_ARMEL is enough. Neither is -dFPC_ARMEL needed >  in CROSSOPT. It is only needed when the first arm compiler is built and > in this case OPT=-dFPC_ARMEL is enough. Hi! So

Re: [Lazarus] GTK2 changed to single-handle-per-form design

2009-12-15 Thread Henry Vermaak
2009/12/15 Graeme Geldenhuys : > > And how bad does it look when a component paints outside it's bounds. Quick > answer - Terrible! Considering that I have not seen a single other GUI > toolkit allow that, it IS simply a bug in GTK2. This will only happen if the developer goes against the gtk docu

[Lazarus] Start an application as root on Mac

2009-12-15 Thread Roland Turcan
Hello friends, How can I start an application with request for root's username and password on Mac OS X? The goal is to start an application when exchanging of some application files are needed to be overwritten, ... e.g. during update. Thanks for all ideas in advance. -- Best regards, TRoland

Re: [Lazarus] GTK2 changed to single-handle-per-form design

2009-12-15 Thread Luiz Americo Pereira Camara
Graeme Geldenhuys escreveu: Henry Vermaak wrote: Maybe you can also explain to me what good hard-coded bounds are, given that you will never be able to get it right to suit everyone's language, theme or font size. And how bad does it look when a component paints outside it's bounds. Qu

Re: [Lazarus] Start an application as root on Mac

2009-12-15 Thread dmitry boyarintsev
On Tue, Dec 15, 2009 at 12:56 PM, Roland Turcan wrote: > How can I start an application with request for root's username and > password on Mac OS X? "sudo ApplicationBundle.app/Contents/MacOS/executable_name" But i guess you're asking about Authorization: http://developer.apple.com/mac/library/d

Re: [Lazarus] Screenshots with a header

2009-12-15 Thread Mattias Gaertner
On Tue, 15 Dec 2009 01:14:03 +0100 JoshyFun wrote: >[...] > >> 4) The texts "Options", "Target OS", etc, must have some air in the > >> left. Also the bottom checkboxes. Also the texts does not match the > >> top of their comboboxes and text edits which produces a serious visual > >> conflict. >

Re: [Lazarus] Configure "Build Lazarus" was weird but no more...

2009-12-15 Thread Mattias Gaertner
On 14 Dec 2009 22:13:28 - Phil Hess wrote: >[...] > Dimitry also touches on something else to consider, which is the relationship > between this dialog and the package build dialog. With most packages, if you > look at the compiler options, it will show, for example, "default > (win32/win6

Re: [Lazarus] Configure "Build Lazarus" was weird but no more...

2009-12-15 Thread dmitry boyarintsev
On Tue, Dec 15, 2009 at 1:30 PM, Mattias Gaertner wrote: >> Also, which "profile" will be used when the IDE is rebuilt from the package >> dialog? > > The "current" selected. Are you sure? I usually need to rebuild LCL only, so my current **advanced build** settings are set to "LCL" (buid+clean)

Re: [Lazarus] Configure "Build Lazarus" was weird but no more...

2009-12-15 Thread Mattias Gaertner
On Tue, 15 Dec 2009 13:38:04 +0300 dmitry boyarintsev wrote: > On Tue, Dec 15, 2009 at 1:30 PM, Mattias Gaertner > wrote: > >> Also, which "profile" will be used when the IDE is rebuilt from the > >> package dialog? > > > > The "current" selected. > > Are you sure? I usually need to rebuild LC

[Lazarus] Lazarus 0.9.29, editor indenting

2009-12-15 Thread Bernd Mueller
I am testing the latest Lazarus snapshot and try to get my old indenting behavior back. I don't use the automatic complete blocks feature. In Lazarus 0.9.28, when I type if a = b then begin ^ and then press return, the cursor is placed below the i (marked with ^). Now, in Lazarus 0.9.29

Re: [Lazarus] Lazarus 0.9.29, editor indenting

2009-12-15 Thread Graeme Geldenhuys
2009/12/15 Bernd Mueller : > > Disabling auto indenting does not change the behavior. The cursor is still > indented. I think this is a bug. Or am I doing something wrong? I also have issue with this new auto-indent behaviour in 0.9.29. I also tried to disable it, but in certain cases it still tri

Re: [Lazarus] Lazarus 0.9.29, editor indenting

2009-12-15 Thread Mattias Gaertner
On Tue, 15 Dec 2009 13:24:54 +0200 Graeme Geldenhuys wrote: > 2009/12/15 Bernd Mueller : > > > > Disabling auto indenting does not change the behavior. The cursor is still > > indented. I think this is a bug. Or am I doing something wrong? For pascal sources there is an extra setting under optio

Re: [Lazarus] Lazarus 0.9.29, editor indenting

2009-12-15 Thread Graeme Geldenhuys
Mattias Gaertner wrote: > > For pascal sources there is an extra setting under options ... > / Codetools / General / Indentation: > > > What certain cases? I'll try the extras settings first and if the issues still persist, report back. Thanks Mattias. Regards, - Graeme - -- fpGUI Toolk

Re: [Lazarus] VoIP / SIP communication initiated from LCL apps | OFFTOPIC

2009-12-15 Thread Andreas Berger
I know Skype has a public API, but I haven't looked into it yet. I thought I would ask here first. Skype has no direct relation to SIP ? True, it uses some proprietary protocol for VoIP. But I did take a brief look at the API. They do allow 3rd party software to control the Skype

Re: [Lazarus] Do FPC generates old EABI code?

2009-12-15 Thread Kjow
2009/12/15 Kjow : > sudo make crossinstall CPU_TARGET=arm OS_TARGET=linux > CROSSBINDIR=/home/kjow/lazarus/fpc/binutils/ OPT=-dFPC_ARMEL > INSTALL_PREFIX=/usr I rewrote "my guide" how to cross compile starting from sources, this is the result: http://forum.lazarus.freepascal.org/index.php/topic,8

Re: [Lazarus] Do FPC generates old EABI code?

2009-12-15 Thread Dariusz Mazur
Florian Klaempfl pisze: Dariusz Mazur schrieb: Kjow pisze: 2009/12/15 : Should be Target OS: Linux for ARMEL You have to recompile crosscompiller Its not EABI (see my descuss with Jonas on fpc-devel) make crosssinstal OPT="-dFPC_ARMEL" ... This is the c

Re: [Lazarus] Lazarus 0.9.29, editor indenting

2009-12-15 Thread Bernd Mueller
Mattias Gaertner wrote: 2009/12/15 Bernd Mueller : Disabling auto indenting does not change the behavior. The cursor is still indented. I think this is a bug. Or am I doing something wrong? For pascal sources there is an extra setting under options ... / Codetools / General / Indentation: th

Re: [Lazarus] Screenshots with a header

2009-12-15 Thread JoshyFun
Hello Lazarus-List, Tuesday, December 15, 2009, 11:03:03 AM, you wrote: >> Controls are being moved quite sure because they are anchored ones to >> others, maybe you must remove all anchors (to other objects) while you >> design. MG> Maybe Juha has not yet spotted the anchor editor? Hmmm... mayb

Re: [Lazarus] Do FPC generates old EABI code?

2009-12-15 Thread Florian Klaempfl
Dariusz Mazur schrieb: > > I know too few to say to omit some options > Jonas say about: CROSSOPT="-dFPC_ARMEL This is not needed. > last time when I ask about reduction options everyone blame me > > > but how compiler know, that FPU is present or absent (-CfSOFT)? armel has by default no fp

Re: [Lazarus] Name of current project in taskbar?

2009-12-15 Thread Aleksa Todorovic
On Tue, Dec 15, 2009 at 02:43, Funky Beast wrote: > > IMO, the solution to this thread's topic is to have a Project Groups Manager > to > switch projects in a single click. > > Something that looks like the project manager, but with following > functionality: > 1) Create project group and add pr

[Lazarus] Discussion on FPC list about new Forum Lazarus+FPC and more

2009-12-15 Thread Osvaldo Filho
"Discussion on FPC list about new Forum Lazarus+FPC and more" I like the idea! When I see MonoDevelop and compare with Lazarus, I see that we need more ideas to the market. I see no problem in being more attractive to the market. I see no problem in bringing new fans to Lazarus. The tool is good.

[Lazarus] ExtPascal with Lazarus: Environment variables (DecimalSeparator, etc)

2009-12-15 Thread Osvaldo Filho
How can do that with extpascal? Set time format to use 24 not 12 am/pm; ShortDateFormat := 'dd/mm/'; DateSeparator := '/'; DecimalSeparator := ','; ThousandSeparator := '.'; TranslateUnitResourceStrings('LCLStrConsts', ExtractFileDir(Application.ExeName)+ '/lclstrconsts.pb.po');

Re: [Lazarus] ExtPascal with Lazarus: Environment variables (DecimalSeparator, etc)

2009-12-15 Thread Michael Van Canneyt
On Tue, 15 Dec 2009, Osvaldo Filho wrote: How can do that with extpascal? Set time format to use 24 not 12 am/pm; ShortDateFormat := 'dd/mm/'; DateSeparator := '/'; DecimalSeparator := ','; ThousandSeparator := '.'; TranslateUnitResourceStrings('LCLStrConsts', ExtractFileDir(Applic

Re: [Lazarus] Do FPC generates old EABI code?

2009-12-15 Thread darekm
>> but how compiler know, that FPU is present or absent (-CfSOFT)? > > armel has by default no fpu or whatever. Thx > >> >> >>> needed nor desired. -dFPC_ARMEL is enough. Neither is -dFPC_ARMEL >>> needed >>> in CROSSOPT. It is only needed when the first arm compiler is built >>> and >>> in this

Re: [Lazarus] Name of current project in taskbar?

2009-12-15 Thread Vincent Snijders
Funky Beast schreef: IMO, the solution to this thread's topic is to have a Project Groups Manager to switch projects in a single click. How does that solve the problem of debugging client and server application at the same time? Vincent -- ___ La

[Lazarus] Lazarus compiles for Maemo 5 (Nokia N900)

2009-12-15 Thread Kjow
Hi all! I want to thank everyone helped me to make it possible here, in lazarus forum and in Maemo forum. A special thank to Florian Klaempfl and Mattias Gärtner that have taught me really interesting things on cross compiling. Here a screenshot of my first "Hello World" on Maemo's Nokia N900: h

Re: [Lazarus] Do FPC generates old EABI code?

2009-12-15 Thread Florian Klaempfl
dar...@emadar.com schrieb: > Can I ask: > What is difference between CPU_TARGET=arm (with -CaEABI) and armel > seems, that first not produce proper EABI code though it say it is > (readelf status) > its normal or bug or unexpected behaviour ? Undefined behaviour. readelf just checks the header of

Re: [Lazarus] ExtPascal - Any one has an opensource system?

2009-12-15 Thread Michael Joyner
I just tried following extPascal instructions and failed miserably, will try again later. Are there more lucid instructions anywhere? On Mon, Dec 14, 2009 at 5:42 PM, Osvaldo Filho wrote: > Hi, i need a sample program with ExtPascal. > Is there any opensource work with it? Link please! > > Thanks

Re: [Lazarus] ExtPascal - Any one has an opensource system?

2009-12-15 Thread Michael Van Canneyt
On Tue, 15 Dec 2009, Michael Joyner wrote: I just tried following extPascal instructions and failed miserably, will try again later. Are there more lucid instructions anywhere? Try studing the sample projects. That's how I did it. I have written a short 10-page article that explains it, if

Re: [Lazarus] Do FPC generates old EABI code?

2009-12-15 Thread Kjow
2009/12/15 Florian Klaempfl : > Please, don't spread the nonsense of -CfSOFT -CaEABI, it's neither > needed nor desired. -dFPC_ARMEL is enough. Neither is -dFPC_ARMEL needed >  in CROSSOPT. It is only needed when the first arm compiler is built and > in this case OPT=-dFPC_ARMEL is enough. Thank y

Re: [Lazarus] Do FPC generates old EABI code?

2009-12-15 Thread Kjow
2009/12/15 : > Should be >   Target OS: Linux for ARMEL > > You have to recompile crosscompiller > Its not EABI (see my descuss with Jonas on fpc-devel) > > make crosssinstal OPT="-dFPC_ARMEL" ... Yes, now with the suggestions about OPT: sudo make crossinstall CPU_TARGET=arm OS_TARGET=linux

Re: [Lazarus] Screenshots with a header

2009-12-15 Thread Santiago A.
Hello Juha Manninen: I find the interface of profiles a little confusing: 1) As far as I have understood, there is a default profile, the one that is used when you select the menu option "Build lazarus". If this the case, the buttons up down have no sense because the order of profiles has no mean

[Lazarus] Issue 15351 - Screen.Cursor from a TGroupBox fails (GTK2)

2009-12-15 Thread Alexsander Rosa
Screen.Cursor from INSIDE a TGroupBox fails http://bugs.freepascal.org/view.php?id=15351 1. Create a new project (on Linux Ubuntu 9.04) 2. Place a TGroupBox anywhere 3. Place a TButton inside the TGroupBox 4. Copy the following code into TButton.Click Screen.Cursor := crSQLWait; Application.P

Re: [Lazarus] ExtPascal - Any one has an opensource system?

2009-12-15 Thread Phil Hess
Which instructions were you looking at? Compiliing? Creating ExtPascal classes from Ext JS docs? ExtP Toolkit installation? Installing Web server? If more is needed, I can add basic ExtPascal instructions as well to the toolkit HTML doc, which is now at almost 10 pages. That way everything is in

Re: [Lazarus] ExtPascal - Any one has an opensource system?

2009-12-15 Thread Hetor S. Ponce
Please, send a copy to me too, thanks hectorspo...@gmail.com Michael Van Canneyt escribió: > > On Tue, 15 Dec 2009, Michael Joyner wrote: > >> I just tried following extPascal instructions and failed miserably, >> will try >> again later. Are there more lucid instructions anywhere? > > Try stud

Re: [Lazarus] GTK2 changed to single-handle-per-form design

2009-12-15 Thread waldo kitty
Henry Vermaak wrote: Gtk says that if widgets need to have hard clipping, they should create their own window. This causes performance issues, though, by increasing communication with the x server. But this is really a non-issue. I'd argue that clipping is almost always bad. What use is somet

Re: [Lazarus] ExtPascal - Any one has an opensource system?

2009-12-15 Thread Michael Joyner
On Tue, Dec 15, 2009 at 12:59 PM, Phil Hess wrote: > Which instructions were you looking at? Compiliing? Creating ExtPascal > classes from Ext JS docs? ExtP Toolkit installation? Installing Web server? > Getting the build environment setup would be a good start for me. :) After that, I am hoping

Re: [Lazarus] ExtPascal - Any one has an opensource system?

2009-12-15 Thread Michael Joyner
On Tue, Dec 15, 2009 at 10:38 AM, Michael Van Canneyt < mich...@freepascal.org> wrote: > > On Tue, 15 Dec 2009, Michael Joyner wrote: > > I just tried following extPascal instructions and failed miserably, will >> try >> again later. Are there more lucid instructions anywhere? >> > > Try studing

Re: [Lazarus] ExtPascal - Any one has an opensource system?

2009-12-15 Thread Phil Hess
I'm afraid that "build environment" doesn't tell me anything. Thanks. -Phil - "Michael Joyner" wrote: > On Tue, Dec 15, 2009 at 12:59 PM, Phil Hess < macp...@fastermac.net > > wrote: > > > Which instructions were you looking at? Compiliing? Creating ExtPascal > classes from Ext JS docs?

Re: [Lazarus] GTK2 changed to single-handle-per-form design

2009-12-15 Thread Henry Vermaak
2009/12/15 waldo kitty : > Henry Vermaak wrote: >> >> Gtk says that if widgets need to have hard clipping, they should >> create their own window.  This causes performance issues, though, by >> increasing communication with the x server. >> >> But this is really a non-issue.  I'd argue that clippin

Re: [Lazarus] Name of current project in taskbar?

2009-12-15 Thread Funky Beast
Vincent Snijders wrote: > Funky Beast schreef: >> IMO, the solution to this thread's topic is to have a Project Groups >> Manager to >> switch projects in a single click. >> > > How does that solve the problem of debugging client and server > application at the same time? > > Vincent > > -- > _

Re: [Lazarus] GTK2 changed to single-handle-per-form design

2009-12-15 Thread waldo kitty
Henry Vermaak wrote: 2009/12/15 waldo kitty : Henry Vermaak wrote: Gtk says that if widgets need to have hard clipping, they should create their own window. This causes performance issues, though, by increasing communication with the x server. But this is really a non-issue. I'd argue that c

Re: [Lazarus] ExtPascal - Any one has an opensource system?

2009-12-15 Thread Bee Jay
Is there any opensource work with it? Link please! Screenshot: http://code.google.com/p/extpascal/wiki/Projects_Using_ExtPascal Source code: http://extpascal.googlegroups.com/web/d3tkjdt_app.zip It's my application. However, it was build using ExtPascal 0.9.4. It might need some minor modific