[Lazarus] Application minimize/restore

2009-11-11 Thread Hans-Peter Diettrich
I'm tired of restoring every single window manually, after minimizing Lazarus on my Linux system. Today I found an workaround, and uploaded an patch #15055. If somebody feels the same woes, please try my patch and report any problems or suggestions. I already entered a similar solution some

Re: [Lazarus] Application minimize/restore

2009-11-11 Thread Mattias Gaertner
On Wed, 11 Nov 2009 12:51:06 +0200 Juha Manninen juha.manni...@phnet.fi wrote: [...] Now I noticed a new bug in latest SVN version. The editor tabs can't be changed by clicking them. I think it could be done once after opening Lazarus but then not any more. It can still be changed by clicking

Re: [Lazarus] Gecko on lazarus

2009-11-11 Thread Osvaldo Filho
On linux ??? rsrsrsr 2009/11/11 Graeme Geldenhuys gra...@mastermaths.co.za: Zaher Dirkey wrote: TWebBrowser in Delphi has the same dependencies, but IE already included in the system Windows. And that being the BIG difference! No extra deployment libraries needed when using TWebBrowser.

Re: [Lazarus] Gecko on lazarus

2009-11-11 Thread Graeme Geldenhuys
Osvaldo Filho wrote: On linux ??? Yes, even on Linux. For example, you can have a KDE based distro which includes Konqueror instead of Mozilla Firefox. This also applies to other platforms like Windows, Mac OS X or FreeBSD etc... None of them guaranteed to have Firefox installed by default.

Re: [Lazarus] Gecko on lazarus

2009-11-11 Thread Vincent Snijders
Graeme Geldenhuys schreef: Andrew Haines wrote: I'm excited about the possibility of using gecko as the rendering engine of lhelp. This is great news. For displaying HTML that would be great, but at what cost? How much bigger is LHelp going to get (executable size) if you add a complete Gecko

Re: [Lazarus] Lazarus Examples

2009-11-11 Thread Vincent Snijders
Brian Prentice schreef: I have recently installed fpc 2.2.4 and lazarus 0.9.28.2 on my intel mac which is running OS X 10.5.8 from here: http://sourceforge.net/projects/lazarus/files/ Included with this software are examples which are installed in directory /Developer/lazarus/examples. I've

Re: [Lazarus] An idea about a new GUI-Interface

2009-11-11 Thread Alexander Kaupp
Hi Graeme, the Idea about XUL is that the GUI is defined by XML/CSS documents. The Gui-behaviour and funktion Calls to the binary is implemented in JavaScript ( have a look at firefox,thunderbird, etc. ). - The advantage is that the GUI is completely plattform independant and seperated from the

[Lazarus] Lazarus Goal

2009-11-11 Thread Brian Prentice
Is this statement 'Lazarus and Free Pascal aim to be write once, compile anywhere' still a goal? If so can someone please provide me with the source code of a non trivial program which runs on Windows, Linux and OS X (Intel) using the current stable software available at

Re: [Lazarus] Lazarus Goal

2009-11-11 Thread dmitry boyarintsev
here's list of the such programs: http://wiki.lazarus.freepascal.org/Lazarus_Projects and here's another one for all 3 OSe: .http://sourceforge.net/projects/devwork (please compile from sources). thanks, dmitry -- ___ Lazarus mailing list

Re: [Lazarus] Lazarus Goal

2009-11-11 Thread Vincent Snijders
2009/11/11 Brian Prentice bprent...@webenet.net: Is this statement 'Lazarus and Free Pascal aim to be write once, compile anywhere' still a goal? If so can someone please provide me with the source code of a non trivial program which runs on Windows, Linux and OS X (Intel) using the current

Re: [Lazarus] Gecko on lazarus

2009-11-11 Thread Graeme Geldenhuys
Vincent Snijders wrote: If the internal (pascal) renderer is good enough, nobody will use the external Gecko renderer. OTOH, some people want to trade speed and resources for a better rendering in some cases. My personal opinion is that help files should not be that complex in layout

Re: [Lazarus] Lazarus Goal

2009-11-11 Thread Graeme Geldenhuys
Brian Prentice wrote: Is this statement 'Lazarus and Free Pascal aim to be write once, compile anywhere' still a goal? If so can someone please provide me with the source code of a non trivial program which runs on Windows, Linux and OS X (Intel) using the current stable software

Re: [Lazarus] Lazarus Goal

2009-11-11 Thread Graeme Geldenhuys
Vincent Snijders wrote: One of the them is Lazarus, download the source from http://sourceforge.net/projects/lazarus/files/ :-) Great minds think alike. :-) Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ --

Re: [Lazarus] Lazarus Examples

2009-11-11 Thread Brian Prentice
Here is the result of opening the first example address_book http://linuxenvy.com/bprentice/Lazarus/Snapshot%202009-11-11%2006-18-48.jpg Brian On Nov 11, 2009, at 6:09 AM, Vincent Snijders wrote: Brian Prentice schreef: I have recently installed fpc 2.2.4 and lazarus 0.9.28.2 on my intel

Re: [Lazarus] Lazarus Examples

2009-11-11 Thread Vincent Snijders
Brian Prentice schreef: Here is the result of opening the first example address_book http://linuxenvy.com/bprentice/Lazarus/Snapshot%202009-11-11%2006-18-48.jpg That problem can be fixed by installing the DBFLaz package with the TDBF component. It may bot be installed by default on Mac OS

Re: [Lazarus] Lazarus Goal

2009-11-11 Thread Vincent Snijders
Brian Prentice schreef: Which source file, the only one seems to be a linux rpm file which I can't use on my Mac. http://sourceforge.net/projects/lazarus/files/Lazarus Zip _ GZip/Lazarus 0.9.28.2/ Vincent -- ___ Lazarus mailing list

Re: [Lazarus] Lazarus Goal

2009-11-11 Thread Bee Jay
Is this statement 'Lazarus and Free Pascal aim to be write once, compile anywhere' still a goal? If so can someone please provide me with the source code of a non trivial program which runs on Windows, Linux and OS X (Intel) using the current stable software available at You must be a

Re: [Lazarus] Gecko on lazarus

2009-11-11 Thread Zaher Dirkey
Graeme Geldenhuys wrote: And that being the BIG difference! No extra deployment libraries needed when using TWebBrowser. This will not be the case with a Gecko engine. Is that me we cannot use the Engine if Firefox already installed in the system? -- Zaher Dirkey --

Re: [Lazarus] Lazarus Examples

2009-11-11 Thread Brian Prentice
Thank you for your replies on this matter. No one addressed the underlying problem here. I believe that all the examples should be run prior to a major release and those that do not run should be removed. This should be a significant part of regression testing. This was clearly not

Re: [Lazarus] Lazarus Goal

2009-11-11 Thread Brian Prentice
On Nov 11, 2009, at 6:18 AM, Vincent Snijders wrote: I don't believe that Lazarus is an example. Here is a program that Compiles and runs under Windows XP and compiles but does not run under OS X on an Intel Mac. http://linuxenvy.com/bprentice/Lazarus/LazarusSquareCell.zip I suspect

Re: [Lazarus] Lazarus Goal

2009-11-11 Thread Hess, Philip J
Looks cool, although I don't know what it's doing. I'll take a look at it tonight on my Macs. Since you're [thankfully] not using the Win API anywhere, this app really should work. If not, then that likely means something not right in the underlying Carbon-based widgetset used on OS X. Note

Re: [Lazarus] Lazarus Goal

2009-11-11 Thread Martin
Brian Prentice wrote: On Nov 11, 2009, at 6:18 AM, Vincent Snijders wrote: I don't believe that Lazarus is an example. Ah, Why not? (Well you do not need to believe it, or you don't need a reason for disbelief). But why is Lazarus not an example? Which part of your question does it not

Re: [Lazarus] Pascal Time Zone handling

2009-11-11 Thread JoshyFun
Hello Lazarus-List, Wednesday, November 11, 2009, 6:46:40 AM, you wrote: VS I gladly upload it to Lazarus-CCR. [...] VS You can start on VS http://wiki.lazarus.freepascal.org/Release_new_component Done http://wiki.lazarus.freepascal.org/PascalTZ When uploaded to CCR I'll add the package and

Re: [Lazarus] Application minimize/restore

2009-11-11 Thread Hans-Peter Diettrich
Juha Manninen schrieb: ... except that there is one new feature: Search - Replace dialog opens automatically when I select Lazarus main screen. I can't close it with Cancel. Only top right X closes it. I found many more bugs in the IDE. The auto-indentation cannot be disabled, typeahead

Re: [Lazarus] Application minimize/restore

2009-11-11 Thread Hans-Peter Diettrich
Juha Manninen schrieb: Sorry but where in Lazarus code should I place the MiniRestore call? Read the information about the patch. Somebody should point out an better place than MainBase.TMainIDEBase.SetupMainMenu. You should install the @DummyInstance.MiniRestore method as the handler, as

Re: [Lazarus] Lazarus Goal

2009-11-11 Thread dmitry boyarintsev
I've managed to compile the program and launch it on OSX, so i guess Write once, compile anywhere works. Too bad that OSes are too different, so some cross-platform style should be followed while writing the code. thanks, dmitry -- ___ Lazarus mailing

Re: [Lazarus] Lazarus Goal

2009-11-11 Thread Juha Manninen
Hi! I wrote the Lazarus version of SquareCell sometime ago. It is a stripped down version of this Delphi program: http://linuxenvy.com/bprentice/SquareCell/Version%201/Square%20Cell.html I did test the program with version 0.9.28.2 on my Mac. It seems that the mouse events and status

Re: [Lazarus] Lazarus Goal

2009-11-11 Thread Hess, Philip J
I did find a list of compatibility issues on OS X, but it's very, very sketchy. Better than nothing I suppose but only that. http://wiki.lazarus.freepascal.org/Carbon_interface_internals#Compatibility_issues I don't mean to be critical of Brian's app, but having menu bar items that respond to

Re: [Lazarus] Gecko on lazarus

2009-11-11 Thread Vincent Snijders
Marco van de Voort schreef: On Wed, Nov 11, 2009 at 02:52:46PM +0100, Vincent Snijders wrote: If the internal (pascal) renderer is good enough, nobody will use the external Gecko renderer. OTOH, some people want to trade speed and resources for a better rendering in some cases. I think the

Re: [Lazarus] Gecko on lazarus

2009-11-11 Thread Hess, Philip J
By rights, on OS X the help should probably open in the OS X Help Viewer, not in lhelp or a browser. I believe Help Viewer can display most HTML. A quick and dirty way to use it is: {$IFDEF DARWIN} Shell('Open -a Help Viewer ' + HelpFile + ''); {$ENDIF} Thinking ahead, what it you wanted to

Re: [Lazarus] Gecko on lazarus

2009-11-11 Thread Vincent Snijders
Hess, Philip J schreef: By rights, on OS X the help should probably open in the OS X Help Viewer, not in lhelp or a browser. I believe Help Viewer can display most HTML. A quick and dirty way to use it is: {$IFDEF DARWIN} Shell('Open -a Help Viewer ' + HelpFile + ''); {$ENDIF} Thinking

Re: [Lazarus] Gecko on lazarus

2009-11-11 Thread Hess, Philip J
No idea. Maybe the lhelp develop knows the answer. Hasn't CHM been abandoned by Microsoft due to security concerns? Thanks. -Phil From: Vincent Snijders [vsnijd...@vodafonevast.nl] Sent: Wednesday, November 11, 2009 3:44 PM To: Lazarus mailing list

Re: [Lazarus] Gecko on lazarus

2009-11-11 Thread Marco van de Voort
On Wed, Nov 11, 2009 at 09:34:54PM +0100, Vincent Snijders wrote: You can compare it (a bit) with the internal and external (gnu ld) linker in the windows compiler. Nobody uses the external linker on windows, except if you think there is a bug in the internal linker (or are using the

Re: [Lazarus] Gecko on lazarus

2009-11-11 Thread Graeme Geldenhuys
2009/11/11 Hess, Philip J pjh...@purdue.edu: No idea. Maybe the lhelp develop knows the answer. I doubt the Mac help viewer can. After all, CHM is a Microsoft format. Hasn't CHM been abandoned by Microsoft due to security concerns? It has been replaced by Microsoft Help 2 - yet another

Re: [Lazarus] Gecko on lazarus

2009-11-11 Thread Graeme Geldenhuys
2009/11/11 Marco van de Voort mar...@stack.nl: And apparnatly nobody noticed we ship a 2005 LD I did - two days ago when I setup Lazarus and FPC in a VirtualBox session for Windows testing. I thought by binutils was very old - most files dated 2005. I then downloaded the latest FPC Lazarus

Re: [Lazarus] Application minimize/restore

2009-11-11 Thread Mattias Gaertner
On Wed, 11 Nov 2009 19:22:44 +0100 Hans-Peter Diettrich drdiettri...@aol.com wrote: Juha Manninen schrieb: ... except that there is one new feature: Search - Replace dialog opens automatically when I select Lazarus main screen. I can't close it with Cancel. Only top right X closes it.

[Lazarus] IFDEF for both Windows and WinCE

2009-11-11 Thread Graeme Geldenhuys
Hi, Does the following IFDEF cover both Windows and WinCE platforms? {$IFDEF MSWINDOWS} ... {$ENDIF} Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ -- ___ Lazarus mailing