[Lazarus] Application minimize/restore
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 time ago, but it obviously didn't find its way into the LCL. The subject seems to be related to window managers, e.g. it does not apply to Win32 applications. It would be nice if somebody could make work the Application.OnMinimize handler, that is never invoked on my system, and could make the taskbar (entries) behave as intended... DoDi -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Application minimize/restore
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 the file in Project Inspector. Fixed. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Gecko on lazarus
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. This will not be the case with a Gecko engine. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Gecko on lazarus
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. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Gecko on lazarus
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 engine into the executable. :-( Or does it use an existing Gecko install on your system and simply display output inside your application? That would still mean you need to have something like Firefox install before you application will work. That wouldn't be much of a problem under Linux, but will be under OS X, Windows etc.. I guess, the gecko renderer is optional and both ways of rendering should be supported. 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. 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 external assembler for debugging purposes). Vincent -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus Examples
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 tried some of these examples and those that I've tried don't work! Can someone please tell me which examples should work, which examples require modification to get them to work and which examples will not work. In general all example in that directory should work. What error messages do you get? What problems do you have? Vincent -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] An idea about a new GUI-Interface
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 Application. Skinning and internationalization is really easy with it. - The disatvantige is that it requires the xulrunner (it generates the gui out of the xml-documents) on the system which comes with mozilla-products or an installer. I had the idea to create a little test-app, that generates the XUL-Documents out of a existing Lazarus Form. I hope that it is possible and not too tricky :) Hope to get a little help from the community. Maybe it is then possible to integrate it in Lazarus, later. kind regards alex Am Mittwoch, den 11.11.2009, 08:59 +0200 schrieb Graeme Geldenhuys: Alexander Kaupp wrote: XUL from mozilla? I think they did really well with this. As I created some Test-Apps for the Android-OS I found that they do the GUI handling in a similar web-styled way. I don't really know what XUL is or how it works. But I do know there was a company a few years back that created a XUL gui library similar to CLX. It worked on Kylix 3 and Delphi 7 and had classes like TXULForm, TXULButton etc... I still have a HTML Help Viewer somewhere on my system that that company wrote, which uses that XUL interface. I don't think the company or the product exists anymore though. But as with all software projects, anything is possible. It's just a question of how much time and resources you can spend on it. :) Regards, - Graeme - -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Lazarus Goal
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.net/projects/lazarus/files/ Brian Prentice -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus Goal
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.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus Goal
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 stable software available at http://sourceforge.net/projects/lazarus/files/ One of the them is Lazarus, download the source from http://sourceforge.net/projects/lazarus/files/ :-) Vincent -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Gecko on lazarus
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 design to require something as complex as Gecko to render correctly. That would also mean that those CHM files will probably look different when viewed with Windows CHM help viewer as well (rendering differences between IE vs Gecko). Help files is about getting information across, not about eye-candy. Maybe it's just me, but that's what I think. :) Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus Goal
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 available at Yes it is. For an example, look at the Lazarus IDE. :) Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus Goal
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/ -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus Examples
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 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 tried some of these examples and those that I've tried don't work! Can someone please tell me which examples should work, which examples require modification to get them to work and which examples will not work. In general all example in that directory should work. What error messages do you get? What problems do you have? Vincent -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus Examples
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 X, because it was not big endian safe (on powerpc), it may be fixed in the mean time. In the mean time dbf is available on Mac OS X. Vincent -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus Goal
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.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus Goal
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 newcomer here. Welcome. :) I've been using FPC and Lazarus (also Firebird) on Windows, Linux, and OSX and had created various applications using them since FPC v.2.2 and Laz v.9.24. Before that, I was using FPC and Lazarus on Windows and Linux. Oh, and I also had created some web applications as well. Of course, they're not just hello world kind of applications. ;) If you came from Delphi, you may need some times to get used to them. But as time goes by, you'll be as productive as when you're using Delphi. Good luck! :) -- -Bee- ...making buzzes at http://twitter.com/beezing ...writing stories at http://beeography.wordpress.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Gecko on lazarus
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 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus Examples
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 done on the Intel Mac version and from your replies has never been done for this version. My original request repeated below remains unanswered. 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 tried some of these examples and those that I've tried don't work! Can someone please tell me which examples should work, which examples require modification to get them to work and which examples will not work. Brian-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus Goal
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 there are many more examples. Brian 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 stable software available at http://sourceforge.net/projects/lazarus/files/ One of the them is Lazarus, download the source from http://sourceforge.net/projects/lazarus/files/ :-) Vincent -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus Goal
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 that it's still considered beta. If we can track down what doesn't work, a bug report should be filed. What exactly doesn't work on OS X? The files look like they haven't been touched (or compiled?) in a while. Did 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 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 there are many more examples. Brian 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 stable software available at http://sourceforge.net/projects/lazarus/files/ One of the them is Lazarus, download the source from http://sourceforge.net/projects/lazarus/files/ :-) Vincent -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus Goal
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 fulfil? You did ask 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) - Lazarus has the source avail - It is certainly not trivial. - It runs on all of the named platforms As for 'write once, compile anywhere' - Lazarus does allow you to write apps that fall into this category - Lazarus does not force you do to so. You are fre to write apps that run on selected OS only That is: - The LCL is aimed works on all platforms. And it does so in most cases. Some features are still under development. See here: http://wiki.lazarus.freepascal.org/Roadmap. If you find a feature that is supposed to run, but does not, then you should report it as a bug. - Additional Components: Some components are included in Lazarus, many others are provided by 3rd parties and can be downloaded. Included components should be in asimilar state as the LCL 3rd party components are not part of lazarus, no statement about them is possible You should look here for more guides how Lazarus is to be used, if you aim for cross platform: http://wiki.lazarus.freepascal.org/Multiplatform_Programming_Guide Your attached example... a) I do not have a Mac, but IIRC Mac OS limits paint to inside the paint event (Someone can probably confirm this). Which even if an OS does not force it, is a good practice. b) I only had a very very brief glance at your code, but it looks like DisplayPaint is called all over the place. If my Memory on a is right, and my assumption on b is right too, then your code is written in a non cross platform way. 'write once, compile anywhere' does in no way mean, that every Windows feature (or every use/abuse of features possible in Windows) is available on all other platforms. 'write once, compile anywhere' means that the features provided by the LCL, if correctly used are available cross platform (or aimed to be). Best Regards Martin 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 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Pascal Time Zone handling
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 demo project and maybe a recent copy of the tz database (I already have access to CCR SVN, but write out of folder where I already collaborate is etiquette forbidden). Thank you for the help. -- Best regards, JoshyFun -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Application minimize/restore
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 barfs on keywords and the list contains unreadable entries, error messages lead to wrong lines, the find dialog doesn't start at the begin of the file etc. etc. Dunno where to start reporting :-( DoDi -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Application minimize/restore
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 shown in the text. The procedure only is intended for direct invocation, inside another OnWindowStateChange handler. 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 the file in Project Inspector. ACK :-( I also have to click somewhere else (e.g. into the edit text), then a different tab can be activated. DoDi -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
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 be followed while writing the code. thanks, dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus Goal
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 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 menus to simply open dialogs. I needed a CA simulator for my Mac and my original plan was to use Lazarus and FPC, but since that didn't work I wrote this Java program: http://linuxenvy.com/bprentice/Java%20Square%20Cell/ which I use daily. I compiled the program under Linux and it runs OK. I think the problems are some usability issues that could be fixed. One clear problem is that menu actions (OnClick events actually) are at top menu items, not at sub-menu items as usually. You need to click the top menu item twice (separately, not double-click) to get the action. I don't know if it is a bug or a feature but it is an unusual way to use menus anyways. Pity you wrote the Java version. I think this could have been fixed. Juha Manninen -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus Goal
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 clicks as though they are buttons is rather perculiar, certainly non-standard even on Windows. I think the only app I've ever seen that does that is Dave Baldwin's TFrameViewer demo app included with his HTML components package, where he has an About item on the menu bar that does not have a submenu. Very disconcerting when you click that and it doesn't drop down. What Dimitry means is that in some cases you need to conditional-ize your code to conform to expectations and style guides on the target platform. So when I ported Dave's package, I inserted this code to take care of the whacky About item: {$IFDEF LCLCarbon} AppMenu := TMenuItem.Create(Self); //Application menu AppMenu.Caption := #$EF#$A3#$BF; //Unicode Apple logo char MainMenu1.Items.Insert(0, AppMenu); MainMenu1.Items.Remove(About1); //Remove About as separate menu AppMenu.Add(About1); //Add About as item in application menu {$ENDIF} Not only does this eliminate About as a submenu, it also moves it to the correct place - and only on OS X too. Thanks. -Phil From: dmitry boyarintsev [skalogryz.li...@gmail.com] Sent: Wednesday, 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 be followed while writing the code. thanks, dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Gecko on lazarus
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 internal renderer should and could be perfect (read fast,without any serious layout problems) for the own generated docs, because they are simple and we control both sides. Then there could be an override option to open topics external CHMs with a full browser. Yes, that might be useful. A lot of bug reports come from people throwing any chm file against lhelp assuming it will open any chm file, not just the lazarus help files. For those people, an escape route to Gecko could be offered. 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 external assembler for debugging purposes). Good analogy. Though I shouldn't need to install such a browser (or even configure it) if I don't want to use it. It should be totally optional. Same for ld, everything works fine without, it is an option. Vincent -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Gecko on lazarus
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 put some level of interactivity or animation in parts of the help? A full browser would help out there. Thanks. -Phil From: Vincent Snijders [vsnijd...@vodafonevast.nl] Sent: Wednesday, November 11, 2009 3:34 PM To: Lazarus mailing list Subject: Re: [Lazarus] Gecko on lazarus 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 internal renderer should and could be perfect (read fast,without any serious layout problems) for the own generated docs, because they are simple and we control both sides. Then there could be an override option to open topics external CHMs with a full browser. Yes, that might be useful. A lot of bug reports come from people throwing any chm file against lhelp assuming it will open any chm file, not just the lazarus help files. For those people, an escape route to Gecko could be offered. 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 external assembler for debugging purposes). Good analogy. Though I shouldn't need to install such a browser (or even configure it) if I don't want to use it. It should be totally optional. Same for ld, everything works fine without, it is an option. Vincent -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Gecko on lazarus
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 ahead, what it you wanted to put some level of interactivity or animation in parts of the help? A full browser would help out there. Can OS X Help Viewer open chm files? Can it use its index and table of contents? Vincent -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Gecko on lazarus
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 Subject: Re: [Lazarus] Gecko on lazarus 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 ahead, what it you wanted to put some level of interactivity or animation in parts of the help? A full browser would help out there. Can OS X Help Viewer open chm files? Can it use its index and table of contents? Vincent -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Gecko on lazarus
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 external assembler for debugging purposes). Good analogy. Though I shouldn't need to install such a browser (or even configure it) if I don't want to use it. It should be totally optional. Same for ld, everything works fine without, it is an option. You don't have to configure or link to LD. And apparnatly nobody noticed we ship a 2005 LD -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Gecko on lazarus
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 format. But CHM is still popular and used often. As for the security concerns - in that case Microsoft should drop Windows, Office, IE, etc... ;-) -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Gecko on lazarus
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 installation and to my surprise, most binutils files are still 2005. :) -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Application minimize/restore
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. I found many more bugs in the IDE. The auto-indentation cannot be disabled, Environment / Options ... / Codetools / General typeahead barfs on keywords What is typeahead? and the list contains unreadable entries, ? error messages lead to wrong lines For example? , the find dialog doesn't start at the begin of the file This works here. etc. etc. Dunno where to start reporting :-( At the bug tracker. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] IFDEF for both Windows and WinCE
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 list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus