Re: [Lazarus] Lazarus and SPARC Solaris
Marco van de Voort wrote: On Wed, Dec 22, 2010 at 08:28:28AM +, Mark Morgan Lloyd wrote: Working on it. What I'm hoping to do is get a basic lazarus compiled, then bigide, then check over the remaining packages. At that point I can raise a categorised report, if we're very lucky everything will work and the solaris package list can be set to the same as BSD (at present the order is different). I'm not confident I can get SVN running on this system- any guidance about recording changes as diffs etc. would be appreciated. - source unified diffs - makefile changes: just explain in words what needs to happen (add pkg X for solaris). Makefile files are problematic with merging, and I'll choose the way that is the easiest to merge (and the result will be the same to the letter) Will do. Noted your comment about some things possibly being nearer Linux than BSD, but for the moment I'm focusing on the fact that Solaris is a BSD derivative and any compatibility with Linux is a comparatively recent graft. Also I'm using SUNOS in conditionals rather than solaris on the basis that uname reports a SunOS rather than Solaris version number (i.e. 5.10 rather than 10 etc.), existing sources appear to be about evenly split on that. Happy Christmas and/or Midwinter Solstice everybody. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] TMemo question
Hello, You changed the subject of the thread and now gmail shows your last message as the first one in a new thread, so I don't know what you are talking about exactly. Ok, now I remembered it is about the special font issue, but please don't change the subject field. On Wed, Dec 22, 2010 at 10:10 AM, tim launchbury t...@tlaunchbury.ukfsn.org wrote: I am still puzzled though, because when I was using fpgui, all I needed to do was convert the ansistring to display with the fpgmemo was convert it with ansitoutf8. This does not appear to work with the Lazarus TMemo. Converting from ansi to utf8 is completely wrong in this case. Do you know that the definition of ansi changes from computer to computer resulting in a different end result if you do the conversion in a russian, chinese, or european computer? Your code simply won't work everywhere in the world. Maybe, by coincidence, the ISO Latin 1 to UTF-8 conversion could be used. You could try that. There is a conversion function ISO85591ToUTF8 or something similar located in lconvencoding.pas in the LCL. In general, take a look in the Unicode characters table: http://en.wikibooks.org/wiki/Unicode/Character_reference/-0FFF I am not 100% sure if the 80 to FF characters correspond to Latin 1. If you are converting from Latin 1 to UTF-8 then the conversion will only work if they do correspond. SHould the lcl utf8 conversions work on an ansistring, or will I need to write my own routine? Try converting from Latin 1 to UTF-8 and if it doesn't work write your own routine. -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] [fpc-pascal] Ruby-scripting for FPC and Lazarus
On Thu, 23 Dec 2010, Ivan Shikhalev wrote: I wrote the packages for Lazarus, allowing to use Ruby 1.8 as a scripting engine in Lazarus-programs. At the moment, work is just begun, but something than it is already possible to use, as supported by published-property and obtain component through its owner by name. I would like to know whether this project will interest anyone else, and what will wish. Address of project: http://github.com/shikhalev/ppruby There is also a simple example -- in the subdirectory 'sample'. Impressive :-) Any particular reason why you added the version number to most of the filenames ? As soon as 1.9 (or whatever version) comes out, you'll have to change all filenames ? I can understand you do it for the low-level files (ruby18.pp), but fail to see why you would do it for the rest ? It will make it difficult to upgrade. Michael. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] [fpc-pascal] Ruby-scripting for FPC and Lazarus
On Thu, Dec 23, 2010 at 11:44, michael.vancann...@wisa.be wrote: On Thu, 23 Dec 2010, Ivan Shikhalev wrote: I wrote the packages for Lazarus, allowing to use Ruby 1.8 as a scripting engine in Lazarus-programs. At the moment, work is just begun, but something than it is already possible to use, as supported by published-property and obtain component through its owner by name. I would like to know whether this project will interest anyone else, and what will wish. Address of project: http://github.com/shikhalev/ppruby There is also a simple example -- in the subdirectory 'sample'. Impressive :-) Any particular reason why you added the version number to most of the filenames ? As soon as 1.9 (or whatever version) comes out, you'll have to change all filenames ? 1.9 is the development version of Ruby 2. Currently the version is 1.92 to be exact :) Every version of Ruby, that is 1.8 vs 1.6 have different language support etc... Like that FPC 2.5.1 have additional support for stuff that 2.4 does not, and 2.2 does not have features of the language that 2.4 have. I can understand you do it for the low-level files (ruby18.pp), but fail to see why you would do it for the rest ? It will make it difficult to upgrade. Michael. Ido -- ___ 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] StrokeAndFillPath replacement
Hi, What can I use as a replacement for Windows API functions with will offer similar functionality as StrokeAndFillPath or SetArcDirection? I need them especially on Carbon and Linux. thanks ff. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] fpweb fastcgi debug
Hello, Is there a way for me to use the fastcgi application I'm writing as a standalone for easier debugging (instead of restarting Apache every time) ? Thanks, Ido LINESIP - Opening the source for communication http://www.linesip.com http://www.linesip.co.il -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] fpweb fastcgi debug
Thanks, now i can test the templeting issue finally :) Ido LINESIP - Opening the source for communication http://www.linesip.com http://www.linesip.co.il On Thu, Dec 23, 2010 at 12:34, michael.vancann...@wisa.be wrote: On Thu, 23 Dec 2010, ik wrote: Hello, Is there a way for me to use the fastcgi application I'm writing as a standalone for easier debugging (instead of restarting Apache every time) ? Yes you can. If you can use mod_fastcgi, then this will do it: - Run the fastcgi application, and explicitly set the port. Application.Port:=2015 - In Apache, set FastCgiExternalServer /path/to/server/url -host 127.0.0.1:201-idle-timeout 30 -flush Now you can debug the fastcgi application. If you can't use mod_fastcgi, run the application as described above, and use the cgigateway (demo is in packages/fcl-web/tests) to route the requests to your Fastcgi server. Michael. -- ___ 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] Docked IDE wndows are not dockable, because...
Eugen Bolz schrieb: On Mac, EasyDockMgr don't works (can't drag and drop windows, but it can be compiledyay...) It should work, unless broken by LCL code. PS: I don't even know if it worked earlier on Mac Can you test with an older Lazarus version? DoDi -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Docked IDE wndows are not dockable, because...
Sven Barth schrieb: As I'm using an IDE with Anchor Docking enabled since some days I'd like to help you here. Support for anchor docking may be the reason why Delphi compatible docking doesn't work any more :-( What exactly is the problem? I have a docked IDE and can dock/undock windows as I please. Most annoying and Delphi incompatible are: - CaptureControl is changed while dragging is active, causing abort - wrong positions passed to subroutines, causing malfunction and misplaced DockRect (flicker...) - the Vista+ DockWindow (for DockRect) consumes the messages that the DockManager should receive DoDi -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Message dialogs in Lazarus
michael.vancann...@wisa.be schrieb: There is nothing magic with layout managers, they have to do nothing but arrange their child controls, and to report the minimal and desired sizes to their parent (with AutoSize). Every docking manager already is a layout manager for its site, and its interface only lacks beforementioned AutoSize capabilities. I also thought this. In theory, a layout manager only needs to manipulate some rectangles. Independent of a GUI, you could do it in the FCL. So I set about implementing one. Mattias Gaertner quickly convinced me that this view is too simplistic. Right :-( The calculation of the positions and extents is quite easy, no special FCL support is needed. Problem is the conversation with the widgetsets. Under windows this may work; Under X, you have the window manager to take into account, the underlying widget set which doesn't listen, 'AutoSize' kicks in etc. So I suggest you contact him about this prior to advocating your views. Since the layouts work already, all problems with the widgetsets seem to be solved (as far as possible). At least remaining problems do not affect layout managers in a special way. It's known that the placement of widgets frequently is delayed, with according features (intended position...) implemented in the LCL. A layout manager only has to use and update the intended position and size of the controls, and everything else will happen as usual. DoDi -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Carbon vs Cocoa
Hi, This is not strictly related to the Lazarus project, but I know here are many Mac users, so I might get some good responses. I bit the bullet and bought a new iMac (a marvel of beauty and design). Now I would like to introduce true OS X support in fpGUI Toolkit (instead of going via the Mac X11 backdoor). What API should I use? Carbon or Cocoa? I know Carbon is limited to 32-bit only, but it seems most of the OS X apps are 32-bit anyway, even though the hardware is 64-bit capable. In fact, even the Darwin kernel boots the 32-bit kernel (only the OS X Server boots 64-bit kernel by default). Saying that, it seems even though the kernel is 32-bit by default, OS X still runs 64-bit apps on top of it - some hybrid 32/64-bit mix. I know the Carbon bindings in FPC are pretty mature, and I have some sample FPC+Carbon code which will help me greatly if I decide to go the fpGUI+Carbon route. How are the Cocoa bindings with FPC? In summary, what do you Mac developers suggest I use and why? Carbon or Cocoa? -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net:8080/fpgui/ -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Carbon vs Cocoa
Hello Graeme, Cocoa is your choice. Apple suggests to use Cocoa for all new development and fpGUI for OSX is the one. Cocoa is supported natively by FPC trunk, so you shouldn't have much troubles using it. All-in-all both Carbon and Cocoa are using the same low-level framework. In some cases they're using each-other. But, more and more Carbon libraries are being deprecated. As well as all new OS features are available as Cocoa frameworks, instead of C-like (carbon) libraries. There're a lot of Cocoa examples and articles on-line, while you might have hard times finding anything useful about Carbon. thanks, dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Carbon vs Cocoa
Cocoa for sure On Dec 23, 2010 3:40 PM, dmitry boyarintsev skalogryz.li...@gmail.com wrote: Hello Graeme, Cocoa is your choice. Apple suggests to use Cocoa for all new development and fpGUI for OSX is the one. Cocoa is supported natively by FPC trunk, so you shouldn't have much troubles using it. All-in-all both Carbon and Cocoa are using the same low-level framework. In some cases they're using each-other. But, more and more Carbon libraries are being deprecated. As well as all new OS features are available as Cocoa frameworks, instead of C-like (carbon) libraries. There're a lot of Cocoa examples and articles on-line, while you might have hard times finding anything useful about Carbon. thanks, dmitry -- ___ Lazarus mailing list laza...@lists.lazarus.freep... -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Taskbar button for modal forms
Hi everyone. I have a main form application that has a taskbar button. Whenever I show another form as modal form I don't want it to have a taskbar button, because switching back to previous form is pointless as it is disabled anyway. Is there a way to set this up for the whole application, or do I have to manually set ShowInTaskbar=stNever everytime I call ShowModal? Also, I have noticed that in LCLQT (in Linux) a taskbar button is not shown for modal forms even with ShowInTaskbar=stAlways. However in LCLGTK2 (in Linux) it is shown for modal forms, unless I set ShowInTaskbar=stNever. Is there a bug in LCLGTK2 or LCLQT? It can also be WindowManager dependent, I use XFCE. From LCL point of view (independent of widgetset), should modal forms have taskbar button by default? -- cobines -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] [fpc-pascal] Ruby-scripting for FPC and Lazarus
2010/12/23 michael.vancann...@wisa.be: Any particular reason why you added the version number to most of the filenames ? I don't know how many differences would be in 1.9 version, and will it possible to make a compatible packages for all version of Ruby... I can understand you do it for the low-level files (ruby18.pp), but fail to see why you would do it for the rest ? It will make it difficult to upgrade. Perhaps you're right. I beg to treat the current state of the project as a highly unstable - the overall structure are just beginning to be established. In particular for this I started the discussion. -- -- Ivan Shikhalev Jabber ID: shikha...@gmail.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Carbon vs Cocoa
On 23 December 2010 20:40, dmitry boyarintsev wrote: Cocoa is your choice. Cocoa is supported natively by FPC trunk, so you shouldn't have much troubles using it. Cocoa it is then. Thanks for the info. -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net:8080/fpgui/ -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Taskbar button for modal forms
On 24 December 2010 00:33, cobines cobi...@gmail.com wrote: Also, I have noticed that in LCLQT (in Linux) a taskbar button is not shown for modal forms even with ShowInTaskbar=stAlways. However in LCLGTK2 (in Linux) it is shown for modal forms, unless I set ShowInTaskbar=stNever. Is there a bug in LCLGTK2 or LCLQT? It can also be WindowManager dependent, I use XFCE. Modal forms are supposed to share the same taskbar button as their parent form (meaning if you click the taskbar button of the parent form, the modal form will be brought to the front and have focus). So what you described above, means that LCL-GTK2 has a bug. -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net:8080/fpgui/ -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] fpweb fastcgi debug
On 12/23/2010 05:34, michael.vancann...@wisa.be wrote: If you can use mod_fastcgi, then this will do it: - Run the fastcgi application, and explicitly set the port. Application.Port:=2015 - In Apache, set FastCgiExternalServer /path/to/server/url -host 127.0.0.1:201 -idle-timeout 30 -flush is there a typo in the above? port 2015 and port 201 ?? i'm guessing that they should be the same port?? -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Translations
23.12.2010 8:23, Alexander du Plessis пишет: My application need to read a language preference from a setting(be it in an ini file or from database) and translate the app according to this setting. How do I acheive this? I did have a look at the documentation but there is no mention of how this could be done. It only explains how to hard code the language file to use. Don't use hardcoded value, but e.g. ComboBox value instead. I don't understand what is your problem. Can you be more specific? -- Best regards, Maxim Ganetsky mailto:gan...@narod.ru -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] [OT] Merry Christmas and Happy New Year.
Hi list, After a year of a lot of work to this wonder called Lazarus/FPC, i wish to send to all of you who supported and contributed to the project and, of course, to the Lazarus and FPC Team guys, who fighted bravely behind the frontline, a Very Merry Christmas and a Happy New year. In the hope that the year that come, be as productive that this one, and that the Team achive all its goals, and give us a more and more fantastic tool. Sincerely, Marcelo. PS: Forgive me by the bad accent :) -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] [OT] Merry Christmas and Happy New Year.
Merry Christmas and Happy New Year for all. :}D 2010/12/23 Marcelo B de Paula mar...@terra.com.br Hi list, After a year of a lot of work to this wonder called Lazarus/FPC, i wish to send to all of you who supported and contributed to the project and, of course, to the Lazarus and FPC Team guys, who fighted bravely behind the frontline, a Very Merry Christmas and a Happy New year. In the hope that the year that come, be as productive that this one, and that the Team achive all its goals, and give us a more and more fantastic tool. Sincerely, Marcelo. PS: Forgive me by the bad accent :) -- *Silvio Clécio* *Blog.* blog.silvioprog.com.br -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Thank you very much
Hello, It maybe not the right place for that, but I would like to say many thanks for you guys for keeping such a project running and also for those supporting community. Merry Christmas and Happy New Year regards Falcao -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Convert standard Lazarus application (Tforms and TButtons etc) into a web application
Hi all, Please excuse me if this is an obvious question. I have an application called Adv_Player which I programmed in Delphi 7 Enterprise project and I have since converted it to a Lazarus 0.9.28.2 project. (It is a very stable and fully test application available for Windows XP from my download page in a setup exe file). Yes, I still have all the fully working original source code. Now I want to convert it into a web based application. I know that Delphi 7 Enterprise can do this but I never got around to investigating HOW to go about doing this. The application has a Adv_Main : TForm and lots of TEdit's, TButton's and TCheckbox'es and TRadioButton's and a few TGroupBox'es (or do I mean TRadioGroup ?) and TFrame's and maybe a TSplitter. The rest of the work is all done with my own code and reads and write some text files with readln and writeln statements. These can be thought of as comma separated value files. Questions: What do I need to do in order for my application (currently about 5-6 TForms) into a web based application? Another application has about 10-12 TForms in it. How many of those components do I keep and what needs to be replaced and with what equivalent components. E.g. what is the web based version of TButton or TEdit etc? How do I tell Lazarus that my binary file will be launched from within my html code? Can Lazarus do this? Would I be correct in assuming that ShowMessage() would not work it was hosted on a website? I want to how it on my own website which is hosted by Hosted24.com with my Silver membership payment plan. I also have Dreamweaver 3, Studio MX (including Dreamweaver MX) and KompoZer for Mint 10 and Wine 1.3. Regards, PEW Fond Regards, Peter Eric WILLIAMS --- Hobart, Tasmania, Australia --- Phone: +61 (03) 6236-9675 My free websites are: http://pewink.info () http://pewslinuxvault.googlepages.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Thank you very much
Hello, It maybe not the right place for that, but I would like to say many thanks for you guys for keeping such a project running and also for those supporting community. Merry Christmas and Happy New Year regards Falcao -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] fpc-2.4.2-1.src.rpm (25 MB) contains the sources. -- the url link is dead.
Hi All, I am still installing FPC then lazarus on my new Mandriva 2010 Spring system. I am not currently on the Free Pascal Compiler list. Could someone please forward it on my behalf. Thanks in advance. On this page: http://www.freepascal.org/down/i386/linux-ftp.freepascal.org.var#linuxbig RPM (Redhat Package Manager) Packages: *Our RPM packages are compatible with all RPM based distributions, including Red Hat, Fedora, SuSE, Mandriva.* - *Binary Packages* - fpc-2.4.2-1.i686.rpmftp://ftp.freepascal.org/pub/fpc/dist/2.4.2/i386-linux/rpm/fpc-2.4.2-1.i686.rpm(26 MB) contains the compiler, utils, RTL and all units. - fpc-docs-2.4.2-1.i686.rpmftp://ftp.freepascal.org/pub/fpc/dist/2.4.2/i386-linux/rpm/fpc-docs-2.4.2-1.i686.rpm(6.7 MB) contains the documentation. - *Source Packages* - fpc-2.4.2-1.src.rpmftp://ftp.freepascal.org/pub/fpc/dist/2.4.2/i386-linux/rpm/fpc-2.4.2-1.src.rpm(25 MB) contains the sources. fpc-2.4.2-1-src.rpm is a dead link ! (opens a blank page). PEW Fond Regards, Peter Eric WILLIAMS --- Hobart, Tasmania, Australia --- Phone: +61 (03) 6236-9675 My free websites are: http://pewink.org () http://pewslinuxvault.googlepages.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Generating a RPM installation file for my lazarus binary file (Linux)
ps - I sent this from my wrong gmail account. Fond Regards, Peter Eric WILLIAMS --- Hobart, Tasmania, Australia --- Phone: +61 (03) 6236-9675 My free websites are: http://pewink.info () http://pewslinuxvault.googlepages.com My free blog is: patientxmarksthespot.wordpress.com On 19 December 2010 20:56, Peter E Williams pewslinuxva...@gmail.comwrote: Hi All, How can I use a binary linux application created by lazarus and generate an RPM installation package for the file? I am using Mandriva 2010 Spring Edition (w. GNOME) and Lazarus 0.9.28.2 PEW Fond Regards, Peter Eric WILLIAMS --- Hobart, Tasmania, Australia --- Phone: +61 (03) 6236-9675 My free websites are: http://pewink.info () http://pewslinuxvault.googlepages.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] How can I (or can this be done) cros s compiling a Lazarus project to other target OS´ s?
ps - I sent this from my wrong gmail account. Fond Regards, Peter Eric WILLIAMS --- Hobart, Tasmania, Australia --- Phone: +61 (03) 6236-9675 My free websites are: http://pewink.info () http://pewslinuxvault.googlepages.com My free blog is: patientxmarksthespot.wordpress.com On 19 December 2010 20:53, Peter E Williams pewslinuxva...@gmail.comwrote: Hi All, Let's assume, for the sake of argument that I am using Lazarus 0.9.28.2 with Linux Mandriva 2010. Now say also that I have a fully working Mandriva (2010 Spring edition OS with GNOME) application project in Lazarus. What is the step-by-step procedure for me to cross-compile to MS Windows XP or Macintosh or Mobile phones? Can this be done? If not, then I could always install the Lazarus 0.9.28.2 for Windows under Wine for Mandriva. I assume that that will work. PEW Fond Regards, Peter Eric WILLIAMS --- Hobart, Tasmania, Australia --- Phone: +61 (03) 6236-9675 My free websites are: http://pewink.info () http://pewslinuxvault.googlepages.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Source Forge copy of lazarus is 0.9.28.0 not 0.9.28.2
ps - I sent this from my wrong gmail account. Fond Regards, Peter Eric WILLIAMS --- Hobart, Tasmania, Australia --- Phone: +61 (03) 6236-9675 My free websites are: http://pewink.info () http://pewslinuxvault.googlepages.com My free blog is: patientxmarksthespot.wordpress.com On 19 December 2010 02:58, Peter E Williams pewslinuxva...@gmail.comwrote: Hi Graeme and All, see bottom post. On 19 December 2010 01:02, Graeme Geldenhuys graemeg.li...@gmail.comwrote: On 18 December 2010 14:18, Sven Barth pascaldra...@googlemail.com wrote: With the new release of FPC out in the wild I now hope that the developers will do a new release (0.9.30) in the near future :) For all intense purposes, that is only possible once Lazarus 0.9.29 actually becomes stable - currently it is far from that. I think that it would benefit everyone IF you could please define HOW and WHEN is a new trunk of lazarus deemed to be stable? What is the criteria for whether or not it is stable and a new stable release will be made? How far into the future does this look? Is the process of finding bugs and adding new features iterative and sometimes can be exponential? How far down this process does the team proceed before they attempt to freeze development for a new stable release? PEW -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net:8080/fpgui/ -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus Fond Regards, Peter Eric WILLIAMS --- Hobart, Tasmania, Australia --- Phone: +61 (03) 6236-9675 My free websites are: http://pewink.info () http://pewslinuxvault.googlepages.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Taskbar button for modal forms
On Friday 24 December 2010 00:13, Graeme Geldenhuys wrote: On 24 December 2010 00:33, cobines cobi...@gmail.com wrote: Also, I have noticed that in LCLQT (in Linux) a taskbar button is not shown for modal forms even with ShowInTaskbar=stAlways. However in LCLGTK2 (in Linux) it is shown for modal forms, unless I set ShowInTaskbar=stNever. Is there a bug in LCLGTK2 or LCLQT? It can also be WindowManager dependent, I use XFCE. Modal forms are supposed to share the same taskbar button as their parent form (meaning if you click the taskbar button of the parent form, the modal form will be brought to the front and have focus). So what you described above, means that LCL-GTK2 has a bug. That's not LCL-gtk2, but gtk2 bug. zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Installation of Lazarus 0.9.29 works fine and no problems (very long message!)
Merry Christmas 2010 !!! Let's hope that this nails down this bug. Summary: Installation of Lazarus 0.9.29 works fine and no problems. Wine / Programs / Lazarus menu item is broken Open browse to drive c and then open the lazarus folder and right click the StartLazarus.exe file. Build all with examples gives errors but without the examples does not give errors. Important Note to developers: Please change the Build All menu option so that BEFORE the build all the menu item Run / Program Reset Debugger.OnClick is called then the Build All is called. e.g. Note: I have NOT looked at the code as that is not my job. procedure NewBuildAll.OnClick(Sender: TObject); begin ProgramResetDebugger.OnClick(sender); BuildAll.OnClick(sender); end; file: Lazarus-0.9.29-28808-fpc-2.4.3-20101223-win32.exe (warning: if I try to say this file to a cdrom then the filename is truncated for Windows compatibility). Open Location Downloads: then select the above file and right mouse click and select properties and permissions tab. Then tick the checkbox [x] Allow executing file as program and click the [Close] button. This is a trick you'll need to do for EVERY Windows(tm) .exe file... So take note. After a while it will be second nature to do this. I have WINE 1.3 installed which is the unstable new version. The stable version is 1.3. Now right mouse click on the file and click on: Open With Wine Window Program Loader and click on it. Wait about 3 seconds on my system and the install program opens with an option for me to select my language and I picked English 'Next ' x 4 times Additional icons [x] Create a desktop icon and 'Next ' Click on 'Install' and the installation proceeds. (takes about 20 seconds) then click on 'Finish' and the setup dialog closes. Close the Downloads window (Linux Mint 10) Desktop icon DOES correctly work and opens Lazarus for Windows Menu 'Wine' 'Lazarus' gives Error 'File not found'. Menu 'Wine' 'Browse C: drive' now shows 4 folders: lazarus, Program Files, users, windows lazarus folder contains 16 folders and 18 files. It appears to be a good installation at initial inspection. Select 'StartLazarus.exe' and Now right mouse click on the file and click on: Open With Wine Window Program Loader and click on it. Lazarus now opens. Help / About reports Version #: 0.9.29 Date: 2010-12-23 FPC Version: 2.4.3 SVN Revision: 28808 i386-win32-win32/win64 Compile and run gives error: Project1 project1 raised exception class 'External: SIGSEGV' [OK] Run / Reset Debugger Tools / Configure Build Lazarus Defines [x] Debug [x] Verbose [Save Settings] Tools / Build Lazarus with Profile Build All Do you want to rebuld Lazarus with profile: Build All [Yes] Compiles and Builds without errors Running the default empty project gives the same error Project project1 successfully built. runtime error Project1 project1 raised exception class 'External: SIGSEGV' [OK] Try again with [x] Examples ON Error Heap dump by heaptrc unit 1025279 memory blocks allocated : 134018729/136853672 1025279 memory blocks freed : 134018729/136853672 0 unfreed memory blocks : 0 True heap size : 1081344 (144 used in System startup) True free heap : 1827632 Should be : 1081200 [OK] Lazarus restarts File Close all editor files open location My computer and find my existing and tested lazarus projects on my external NexStar Lite 250GB drive then I copied and pasted then into my Computer / Home / Public / lazarus_source_code folder Tools / Configure [ ] Examples (unchecked) same error now as earier. Memory heap error as above. Code from win32object.inc function TWin32WidgetSet.WinRegister: Boolean; var WindowClass: WndClass; WindowClassW: WndClassW; begin Assert(False, 'Trace:WinRegister - Start'); if UnicodeEnabledOS then begin with WindowClassW do begin Style := CS_DBLCLKS; LPFnWndProc := @WindowProc; CbClsExtra := 0; CbWndExtra := 0; hInstance := System.HInstance; hIcon := Windows.LoadIcon(MainInstance, 'MAINICON'); if hIcon = 0 then hIcon := Windows.LoadIcon(0, IDI_APPLICATION); hCursor := Windows.LoadCursor(0, IDC_ARROW); hbrBackground := 0; LPSzMenuName := nil; LPSzClassName := @ClsNameW; end; Result := Windows.RegisterClassW(@WindowClassW) 0; if Result then begin with WindowClassW do begin style := style or CS_SAVEBITS; if WindowsVersion = wvXP then style := style or CS_DROPSHADOW; hIcon := 0; hbrBackground := 0; LPSzClassName := @ClsHintNameW; end; Result := Windows.RegisterClassW(@WindowClassW) 0; end; end else begin with WindowClass do begin Style := CS_DBLCLKS{CS_HRedraw or CS_VRedraw}; LPFnWndProc := @WindowProc; CbClsExtra := 0; CbWndExtra := 0; hInstance := System.HInstance; hIcon := Windows.LoadIcon(MainInstance, 'MAINICON
[Lazarus] Fwd: Installation of Lazarus 0.9.29 works fine and no problems (very long message!)
ooppps!!! send from wrong gmail account again. Sorry folks. Fond Regards, Peter Eric WILLIAMS --- Hobart, Tasmania, Australia --- Phone: +61 (03) 6236-9675 My free websites are: http://pewink.info () http://pewslinuxvault.googlepages.com My free blog is: patientxmarksthespot.wordpress.com -- Forwarded message -- From: Peter E Williams pewslinuxva...@gmail.com Date: 24 December 2010 18:56 Subject: Installation of Lazarus 0.9.29 works fine and no problems (very long message!) To: Lazarus email list laza...@lazarus.freepascal.org Merry Christmas 2010 !!! Let's hope that this nails down this bug. Summary: Installation of Lazarus 0.9.29 works fine and no problems. Wine / Programs / Lazarus menu item is broken Open browse to drive c and then open the lazarus folder and right click the StartLazarus.exe file. Build all with examples gives errors but without the examples does not give errors. Important Note to developers: Please change the Build All menu option so that BEFORE the build all the menu item Run / Program Reset Debugger.OnClick is called then the Build All is called. e.g. Note: I have NOT looked at the code as that is not my job. procedure NewBuildAll.OnClick(Sender: TObject); begin ProgramResetDebugger.OnClick(sender); BuildAll.OnClick(sender); end; file: Lazarus-0.9.29-28808-fpc-2.4.3-20101223-win32.exe (warning: if I try to say this file to a cdrom then the filename is truncated for Windows compatibility). Open Location Downloads: then select the above file and right mouse click and select properties and permissions tab. Then tick the checkbox [x] Allow executing file as program and click the [Close] button. This is a trick you'll need to do for EVERY Windows(tm) .exe file... So take note. After a while it will be second nature to do this. I have WINE 1.3 installed which is the unstable new version. The stable version is 1.3. Now right mouse click on the file and click on: Open With Wine Window Program Loader and click on it. Wait about 3 seconds on my system and the install program opens with an option for me to select my language and I picked English 'Next ' x 4 times Additional icons [x] Create a desktop icon and 'Next ' Click on 'Install' and the installation proceeds. (takes about 20 seconds) then click on 'Finish' and the setup dialog closes. Close the Downloads window (Linux Mint 10) Desktop icon DOES correctly work and opens Lazarus for Windows Menu 'Wine' 'Lazarus' gives Error 'File not found'. Menu 'Wine' 'Browse C: drive' now shows 4 folders: lazarus, Program Files, users, windows lazarus folder contains 16 folders and 18 files. It appears to be a good installation at initial inspection. Select 'StartLazarus.exe' and Now right mouse click on the file and click on: Open With Wine Window Program Loader and click on it. Lazarus now opens. Help / About reports Version #: 0.9.29 Date: 2010-12-23 FPC Version: 2.4.3 SVN Revision: 28808 i386-win32-win32/win64 Compile and run gives error: Project1 project1 raised exception class 'External: SIGSEGV' [OK] Run / Reset Debugger Tools / Configure Build Lazarus Defines [x] Debug [x] Verbose [Save Settings] Tools / Build Lazarus with Profile Build All Do you want to rebuld Lazarus with profile: Build All [Yes] Compiles and Builds without errors Running the default empty project gives the same error Project project1 successfully built. runtime error Project1 project1 raised exception class 'External: SIGSEGV' [OK] Try again with [x] Examples ON Error Heap dump by heaptrc unit 1025279 memory blocks allocated : 134018729/136853672 1025279 memory blocks freed : 134018729/136853672 0 unfreed memory blocks : 0 True heap size : 1081344 (144 used in System startup) True free heap : 1827632 Should be : 1081200 [OK] Lazarus restarts File Close all editor files open location My computer and find my existing and tested lazarus projects on my external NexStar Lite 250GB drive then I copied and pasted then into my Computer / Home / Public / lazarus_source_code folder Tools / Configure [ ] Examples (unchecked) same error now as earier. Memory heap error as above. Code from win32object.inc function TWin32WidgetSet.WinRegister: Boolean; var WindowClass: WndClass; WindowClassW: WndClassW; begin Assert(False, 'Trace:WinRegister - Start'); if UnicodeEnabledOS then begin with WindowClassW do begin Style := CS_DBLCLKS; LPFnWndProc := @WindowProc; CbClsExtra := 0; CbWndExtra := 0; hInstance := System.HInstance; hIcon := Windows.LoadIcon(MainInstance, 'MAINICON'); if hIcon = 0 then hIcon := Windows.LoadIcon(0, IDI_APPLICATION); hCursor := Windows.LoadCursor(0, IDC_ARROW); hbrBackground := 0; LPSzMenuName := nil; LPSzClassName := @ClsNameW; end; Result := Windows.RegisterClassW(@WindowClassW) 0; if Result then begin with WindowClassW do begin style