Re: [Lazarus] Gecko on lazarus

2009-11-12 Thread Marco van de Voort
On Thu, Nov 12, 2009 at 12:14:05AM +0200, Graeme Geldenhuys wrote: 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

Re: [Lazarus] Gecko on lazarus

2009-11-12 Thread Marco van de Voort
On Thu, Nov 12, 2009 at 12:10:46AM +0200, Graeme Geldenhuys wrote: To be fair to all those users (including me). There was no mention that LHelp is only meant for Lazarus and FPC documentation. Is is said to be a CHM help viewer, so we use it as such. Especially Linux users that might have

Re: [Lazarus] Gecko on lazarus

2009-11-12 Thread Graeme Geldenhuys
Marco van de Voort wrote: It has only been replaced in Visual Studio and e.g. Delphi. The average app doesn't (and can't) use MSHELP2, since it needs the MS SDK to be installed. Visual Studio and Office as for as I know (but then I don't use Windows so don't quote me on this). Also, Microsoft

Re: [Lazarus] IFDEF for both Windows and WinCE

2009-11-12 Thread Graeme Geldenhuys
Marco van de Voort wrote: As far as I can see it (*), CE does define windows and does not define mswindows. (*) for quick lookup of such details, have a look at the platform definitions in compiler/systems/i_* Thanks for that tip. It seems IFDEF WINDOWS will cover both cases.

Re: [Lazarus] Lazarus Examples

2009-11-12 Thread Hans-Peter Diettrich
Brian Prentice schrieb: 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.

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

Re: [Lazarus] Lazarus Goal

2009-11-12 Thread Henry Vermaak
2009/11/12 Bee Jay bee.ogra...@gmail.com: 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

Re: [Lazarus] Lazarus Goal

2009-11-12 Thread dmitry boyarintsev
2009/11/11 Brian Prentice bprent...@webenet.net: 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

[Lazarus] DockSite example updated

2009-11-12 Thread Hans-Peter Diettrich
In order to unify drag/dock accross platforms, I added an pin grabber to the dockable forms. That icon also could be placed into a window title bar... The View forms now are freely dockable and undockable. All forms are minimized when the main form is minimized, using uMiniRestore. Now I

Re: [Lazarus] DockSite example updated

2009-11-12 Thread Mattias Gärtner
Zitat von Hans-Peter Diettrich drdiettri...@aol.com: In order to unify drag/dock accross platforms, I added an pin grabber to the dockable forms. That icon also could be placed into a window title bar... The View forms now are freely dockable and undockable. All forms are minimized when

[Lazarus] QT binding works!

2009-11-12 Thread Juha Manninen
Hi! There are often complaints and questions about things that don't work. Now some positive feedback for a change: I compiled the whole Lazarus to use QT widgets and it works! Yes. I didn't have very high hopes because QT bindings are not ready and Lazarus is complicated. Still, I don't see

Re: [Lazarus] QT binding works!

2009-11-12 Thread zeljko
Quoting Juha Manninen juha.manni...@phnet.fi: Hi! There are often complaints and questions about things that don't work. Now some positive feedback for a change: I compiled the whole Lazarus to use QT widgets and it works! Yes. Congratulations ! :) I didn't have very high hopes because QT

Re: [Lazarus] Mac OS X 6.2

2009-11-12 Thread dmitry boyarintsev
Hello John Lazarus uses symbol link to maintain MacOSX bundle. The project layout is the following: project (executable binary) project.app (the bundle) project.app/Content/MacOS/project (symbolic link to project binary outside the bundle) When you copy the bundle via Finder, the symbolic link

Re: [Lazarus] Mac OS X 6.2

2009-11-12 Thread Hess, Philip J
I.e., prior to any distribution of the bundle, be sure to do something like this: rm myapp.app/contents/macos/myappexec cp -p myappexec myapp.app/contents/macos The executable is created back in the main project folder with a symlink pointing to it from within the .app bundle to simplify

Re: [Lazarus] QT binding works!

2009-11-12 Thread David Emerson
Juha Manninen wrote: I compiled the whole Lazarus to use QT widgets and it works! Yes. I've been wanting to do the same, though I failed at my previous attempt. What did you do to make it work? Are there guidelines somewhere? What versions are you using? Thanks, David --

Re: [Lazarus] Lazarus Goal

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

Re: [Lazarus] Lazarus Goal

2009-11-12 Thread Martin
dmitry boyarintsev wrote: 2009/11/12 Brian Prentice bprent...@webenet.net: 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

Re: [Lazarus] QT binding works!

2009-11-12 Thread Juha Manninen
On torstai, 12. marraskuuta 2009 21:05:19 David Emerson wrote: Juha Manninen wrote: I compiled the whole Lazarus to use QT widgets and it works! Yes. I've been wanting to do the same, though I failed at my previous attempt. What did you do to make it work? Are there guidelines somewhere?

Re: [Lazarus] Lazarus Goal

2009-11-12 Thread dmitry boyarintsev
On Fri, Nov 13, 2009 at 12:12 AM, Mattias Gaertner nc-gaert...@netcologne.de 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] Lazarus CCR files page

2009-11-12 Thread Howard Page-Clark
Hi I'm having no luck accessing the Lazarus Code and Component Repository on Sourceforge. Anyone else having problems? Howard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

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

Re: [Lazarus] Lazarus Goal

2009-11-12 Thread dmitry boyarintsev
On Fri, Nov 13, 2009 at 12:12 AM, Mattias Gaertner nc-gaert...@netcologne.de 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

Re: [Lazarus] Lazarus CCR files page

2009-11-12 Thread JoshyFun
Hello Lazarus-List, Thursday, November 12, 2009, 11:08:13 PM, you wrote: HPC I'm having no luck accessing the Lazarus Code and Component Repository HPC on Sourceforge. Anyone else having problems? No problem by my side a few minutes ago, but experienced a 500 internal server in other

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 Goal My

Re: [Lazarus] Gecko on lazarus

2009-11-12 Thread Andrew Haines
Graeme Geldenhuys wrote: 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

[Lazarus] Documentation of Lazarus internals

2009-11-12 Thread Juha Manninen
Hi, I am trying to learn how Lazarus works. Is there any source code documentation that is more detailed than the rather abstract level wiki pages but less detailed than the source code itself? Like class diagrams? Other UML style diagrams? Source code comments? FPDoc XML files? Anything? For

Re: [Lazarus] Gecko on lazarus

2009-11-12 Thread Hans-Peter Diettrich
Andrew Haines schrieb: Just to add some wood to the fire. I've implemented locally a reader for MSHelp 2 files. It only can read the file format and extract files so far. It doesn't yet know how to read the internal files that contain the toc, index or any other feature of the format(and may

[Lazarus] Crossplatform Keypress

2009-11-12 Thread SteveG
Would Lazarus / Freepascal have a cross platform ability to send keypress to keyboard buffer ? - or even just for Linux :) I need to send keys to external apps, not just my own Laz app Thanks - SteveG -- ___ Lazarus mailing list

Re: [Lazarus] Crossplatform Keypress

2009-11-12 Thread SteveG
On Friday 13 November 2009 11:11:33 Martin wrote: Never used it myself, but if I recall correctly: components\mouseandkeyinput SteveG wrote: Would Lazarus / Freepascal have a cross platform ability to send keypress to keyboard buffer ? - or even just for Linux :) Thanks Martin - will

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

[Lazarus] cross platform [Re: Lazarus Goal]

2009-11-12 Thread Martin
Bee Jay wrote: 'Lazarus and Free Pascal aim to be write once, compile anywhere for those programs which only use the supported operating system features that share a common design'. And I would've thought that this was obvious. There are just some things you cannot abstract/emulate.

Re: [Lazarus] cross platform [Re: Lazarus Goal]

2009-11-12 Thread Bee Jay
Well the understanding of cross platform is quite varying. The base obviously is that one source code can be executed on all of the supported platforms. In my understanding, there are 3 kinds of cross platform implementation: 1. Cross platform is implemented within an virtual environment

Re: [Lazarus] Lazarus Goal

2009-11-12 Thread Hess, Philip J
Brian, There are two problems with this dialog, one small, one bigger. The small problem, easily corrected, is that it's too small and you didn't leave space for possible differences in fonts between platforms or translated text that takes up more horizontal space than English. Consideration

Re: [Lazarus] Gecko on lazarus

2009-11-12 Thread Andrew Haines
Hans-Peter Diettrich wrote: I wrote an HH2 helpfile decompiler some time ago. I can try to find the sources, if you're interested in it. Yes I would be interested in that, thanks. Currently I can extract any file from the hh2 file. I just don't know the file format of the internal files

Re: [Lazarus] Gecko on lazarus

2009-11-12 Thread waldo kitty
Graeme Geldenhuys wrote: 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. This will not be the case with a Gecko engine. so

[Lazarus] Ubuntu package is missing recommends

2009-11-12 Thread Flávio Etrusco
Hello, shouldn't the lazarus package recommend the libgtk2.0-dev package? Regards, Flávio -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Ubuntu package is missing recommends

2009-11-12 Thread Mattias Gaertner
On Fri, 13 Nov 2009 03:10:21 -0300 Flávio Etrusco flavio.etru...@gmail.com wrote: Hello, shouldn't the lazarus package recommend the libgtk2.0-dev package? It should 'depend' on it. Mazen? Mattias -- ___ Lazarus mailing list

Re: [Lazarus] Documentation of Lazarus internals

2009-11-12 Thread Mattias Gaertner
On Fri, 13 Nov 2009 02:19:35 +0200 Juha Manninen juha.manni...@phnet.fi wrote: Hi, I am trying to learn how Lazarus works. Is there any source code documentation that is more detailed than the rather abstract level wiki pages but less detailed than the source code itself? Like class

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 say

Re: [Lazarus] cross platform [Re: Lazarus Goal]

2009-11-12 Thread Graeme Geldenhuys
Martin wrote: 2) is what Java and fpgui (and afaik msegui) aim for. It is easier for the developper. But the enduser will find an application that is different to any other app he runs on his PC (and therefore harder to use) I guess we will have to agree to disagree on the part that it's

Re: [Lazarus] Gecko on lazarus

2009-11-12 Thread Graeme Geldenhuys
waldo kitty wrote: so what happens on other OS'? what is used, if anything, with TWebBrowser on them? mac, *nix, bsd, etc... In Delphi's case it's quite simple. No other platform is supported other than Windows. As for LHelp, I think the current custom implemented HTML viewing widget is

Re: [Lazarus] QT binding works!

2009-11-12 Thread zeljko
On Thursday 12 November 2009 20:05, David Emerson wrote: Juha Manninen wrote: I compiled the whole Lazarus to use QT widgets and it works! Yes. I've been wanting to do the same, though I failed at my previous attempt. What did you do to make it work? Are there guidelines somewhere? What

Re: [Lazarus] cross platform [Re: Lazarus Goal]

2009-11-12 Thread Martin
Graeme Geldenhuys wrote: Martin wrote: 2) is what Java and fpgui (and afaik msegui) aim for. It is easier for the developper. But the enduser will find an application that is different to any other app he runs on his PC (and therefore harder to use) I guess we will have to agree to