[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 http://sourceforge.

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 Lazarus@lists

Re: [Lazarus] Lazarus Goal

2009-11-11 Thread Vincent Snijders
2009/11/11 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 avai

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 avai

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 Goal

2009-11-11 Thread Brian Prentice
Which source file, the only one seems to be a linux rpm file which I can't use on my Mac. Brian On Nov 11, 2009, at 6:18 AM, Vincent Snijders wrote: 2009/11/11 Brian Prentice : Is this statement 'Lazarus and Free Pascal aim to be write once, compile anywhere' still a goal? If so can someo

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 Lazarus@lists.

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 newco

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 that

Re: [Lazarus] Lazarus Goal

2009-11-11 Thread Hess, Philip J
id you test with 0.9.28.2 on Mac? Thanks. -Phil From: Brian Prentice [bprent...@webenet.net] Sent: Wednesday, November 11, 2009 1:12 PM To: Lazarus mailing list Subject: Re: [Lazarus] Lazarus Goal On Nov 11, 2009, at 6:18 AM, Vincent Snijders wrote: I don't believe that Lazarus i

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 fulfi

Re: [Lazarus] Lazarus Goal

2009-11-11 Thread Brian Prentice
On Nov 11, 2009, at 10:32 AM, Hess, Philip J wrote: 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

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 mailin

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 st

Re: [Lazarus] Lazarus Goal

2009-11-11 Thread Hess, Philip J
ednesday, November 11, 2009 3:00 PM To: Lazarus mailing list Subject: Re: [Lazarus] Lazarus Goal 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 b

Re: [Lazarus] Lazarus Goal

2009-11-12 Thread Bee Jay
I did test the program with version 0.9.28.2 on my Mac. It seems that the mouse events and status bar don't work correctly. Since the menus on Widows XP and OS X behave differently, the program needs to be rewritten to use buttons rather than menus to control the simulation and use menu

Re: [Lazarus] Lazarus Goal

2009-11-12 Thread Henry Vermaak
2009/11/12 Bee Jay : >> I did test the program with version 0.9.28.2 on my Mac.  It seems that the >> mouse events and status bar don't work correctly.  Since  the menus on >> Widows XP and OS X behave differently,  the program needs to be rewritten to >> use buttons rather than menus to control th

Re: [Lazarus] Lazarus Goal

2009-11-12 Thread dmitry boyarintsev
2009/11/11 Brian Prentice : > 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 that it's still consid

Re: [Lazarus] Lazarus Goal

2009-11-12 Thread Brian Prentice
Brian, i've took the liberty to make the sources friendlier to Carbon. Here's the fixed version: http://havefunsoft.com/fpc/LazarusSquareCell_macfixed.zip You can simply place squares around the field and run them with "Step" or "Start" menu. I've added additional "Invalidate" calls in TDisplay

Re: [Lazarus] Lazarus Goal

2009-11-12 Thread Henry Vermaak
2009/11/12 Brian Prentice : > http://linuxenvy.com/bprentice/Lazarus/WindowsXP.jpg http://linuxenvy.com/bprentice/Lazarus/WindowXP.jpg -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/

Re: [Lazarus] Lazarus Goal

2009-11-12 Thread dmitry boyarintsev
2009/11/12 Brian Prentice : > There is one issue which is pertinent to this topic though. > http://linuxenvy.com/bprentice/Lazarus/OSX.jpg > and > http://linuxenvy.com/bprentice/Lazarus/WindowsXP.jpg > show the Selection Control Dialog displayed on each operating system.  I > would be interested in

Re: [Lazarus] Lazarus Goal

2009-11-12 Thread Mattias Gaertner
On Thu, 12 Nov 2009 23:48:47 +0300 dmitry boyarintsev wrote: > 2009/11/12 Brian Prentice : > > There is one issue which is pertinent to this topic though. > > http://linuxenvy.com/bprentice/Lazarus/OSX.jpg > > and > > http://linuxenvy.com/bprentice/Lazarus/WindowsXP.jpg > > show the Selection Con

Re: [Lazarus] Lazarus Goal

2009-11-12 Thread Martin
dmitry boyarintsev wrote: 2009/11/12 Brian Prentice : There is one issue which is pertinent to this topic though. http://linuxenvy.com/bprentice/Lazarus/OSX.jpg and http://linuxenvy.com/bprentice/Lazarus/WindowsXP.jpg show the Selection Control Dialog displayed on each operating system. I wo

Re: [Lazarus] Lazarus Goal

2009-11-12 Thread dmitry boyarintsev
On Fri, Nov 13, 2009 at 12:12 AM, Mattias Gaertner wrote: > The designer uses ExcludeClipRect to clip child controls. > Maybe there is a bug in the carbon interface? It can be. Needs testing. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal

Re: [Lazarus] Lazarus Goal

2009-11-12 Thread Brian Prentice
My point about showing the differences in the dialogs, one acceptable and one clearly not acceptable, is that the solution seems to require the construction of two dialogs one for OS X and one for WindowsXP. Perhaps I'm wrong here but if I'm right this violates the Lazarus and FPC goal of

Re: [Lazarus] Lazarus Goal

2009-11-12 Thread Vincent Snijders
Brian Prentice schreef: My point about showing the differences in the dialogs, one acceptable and one clearly not acceptable, is that the solution seems to require the construction of two dialogs one for OS X and one for WindowsXP. Perhaps I'm wrong here but if I'm right this violates the Laza

Re: [Lazarus] Lazarus Goal

2009-11-12 Thread dmitry boyarintsev
On Fri, Nov 13, 2009 at 12:12 AM, Mattias Gaertner wrote: > The designer uses ExcludeClipRect to clip child controls. > Maybe there is a bug in the carbon interface? Fixed in r22551 thanks, dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.free

Re: [Lazarus] Lazarus Goal

2009-11-12 Thread Henry Vermaak
2009/11/12 Brian Prentice : > My point about showing the differences in the dialogs, one acceptable and > one clearly not acceptable, is that the solution seems to require the > construction of two dialogs one for OS X and one for WindowsXP.  Perhaps I'm > wrong here but if I'm right this violates

Re: [Lazarus] Lazarus Goal

2009-11-12 Thread Hess, Philip J
Brian, Is there some reason why you haven't set the font in that dialog? Try Arial10. Thanks. -Phil From: Brian Prentice [bprent...@webenet.net] Sent: Thursday, November 12, 2009 5:48 PM To: Lazarus mailing list Subject: Re: [Lazarus] Lazarus Goa

Re: [Lazarus] Lazarus Goal

2009-11-12 Thread Martin
Brian Prentice wrote: My point about showing the differences in the dialogs, one acceptable and one clearly not acceptable, is that the solution seems to require the construction of two dialogs one for OS X and one for WindowsXP. Perhaps I'm wrong here but if I'm right this violates the Lazaru

Re: [Lazarus] Lazarus Goal

2009-11-12 Thread Bee Jay
This indeed violates that "goal", but please don't evaluate lazarus as a complete product. There is a bug tracker, with very friendly and responsive developers, as you have noticed. That's why I said he's not ready to join an open source project _driven_ by community. I never mean to discoura

Re: [Lazarus] Lazarus Goal

2009-11-12 Thread Hess, Philip J
m: Brian Prentice [bprent...@webenet.net] Sent: Thursday, November 12, 2009 5:48 PM To: Lazarus mailing list Subject: Re: [Lazarus] Lazarus Goal My point about showing the differences in the dialogs, one acceptable and one clearly not acceptable, is that the solution seems to require the construction of two

Re: [Lazarus] Lazarus Goal

2009-11-12 Thread Graeme Geldenhuys
Brian Prentice wrote: > probably know Java has solved this problem nicely with layout > managers. If layout managers were implemented in Lazarus the IDE I fully agree, layout managers (or even only one layout manager) would solve this problem. LCL has Anchors (a lot more advanced compared to sa

Re: [Lazarus] Lazarus Goal

2009-11-13 Thread Florian Klaempfl
Brian Prentice schrieb: > My point about showing the differences in the dialogs, one acceptable > and one clearly not acceptable, is that the solution seems to require > the construction of two dialogs one for OS X and one for WindowsXP. > Perhaps I'm wrong here but if I'm right this violates the