Re: [Lazarus] RTC / Real Thin Client - Port to Lazarus/Freepascal?
On Thu, 24 Apr 2008, Lee Jenkins wrote: Hi all, Not sure if anyone here follows the Delphi newsgroups, particularly, b.p.d.thirdpartytools.general, but Danijel Tkalcec the author of Real Thin Client (www.realthinclient.com) is looking for help in porting open source version of Real Think Client to Lazarus/Freepascal. I actually have a commercial license of this software and it is very very nice software and I remember some queries concerning n-tier development with Lazarus a short while ago so I thought I'd drop a line about it. I haven't had a chance to really use my commercial license because I'm doing a lot of development in lazarus of late and and given up on it since I plan to do more and more lazarus work over delphi as time goes on. I have looked at the website, and it looks nice indeed. Porting such complex software is not going to be easy, and will take a lot of time. I will not be able to help out myself, but can give advice as to how this could be done. Michael. ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Porting Large Application from Windows to Linux
drew einhorn wrote: Needless to say. I've got a lot of Lazarus/Free Pascal errors. First, Is there a way to capture the contents of the Lazarus IDE Message window? Tried cutting from the Messages window, in hopes of being able to paste it into an editor, and edit into a form where I can get a handle on the scope of the project. But I can's select it much less cut and paste it. Right click on message window Select 'save all messages to file' Regards - Chris ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] OS/2 INF help file format
Dave Parsons wrote: Actually there is some code called NewView written by Aaron Lawrence which compiled with Sibyl. The source code was available at one time, not necessarily the latest version, which might help. Search http://hobbes.nmsu.edu for NewView. Thanks Dave. I remember seeing Sibyl before. I'll go do some more Google'ing. Regards, - Graeme - ___ fpGUI - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Can we decide which IDE dialogs to keep
Mattias Gärtner wrote: Note: Gutter width works. But the IDE sets Gutter AutoSize to true, so the Width is ignored. Thanks for explaining... Regards, - Graeme - ___ fpGUI - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] UTF-8 and Lazarus
On Fri, Apr 25, 2008 at 3:35 AM, Graeme Geldenhuys [EMAIL PROTECTED] wrote: So what is still needed for full UTF-8 support in Lazarus (IDE and widgetsets). Is there something I need to enable when I compile it, or is it still missing features? I would say that the biggest thing missing is dropping gtk1, but it will still take a lot of time for that to happen. All other interfaces now support unicode, including win32, wince, qt, etc I think there is 1 bug report for win32 unicode. * Using GTK1 and it doesn't display correctly. It's not our fault: http://wiki.lazarus.freepascal.org/Lazarus_known_issues_%28things_that_will_never_be_fixed%29#Inconsistent_internationalization_support * fpGUI displays it correctly ;-) By the way, is there any development in the fpgui interface? Is the roadmap for it updated? http://wiki.lazarus.freepascal.org/Roadmap#Status_of_features_on_each_widgetset Is any development still being done for GTK1, or will that widgetset be phased out before the v1 release? Gtk 1 is still officially the official linux interface for 1.0. If you go to the bug tracker and set gtk2 in the tags, there are some 50 bugs. There are complaints that gtk2 is too slow, specially in distributed systems. Maybe a good fpgui widgetset could alliviate some of the problems, and be used together with gtk2 to substitute gtk1. -- Felipe Monteiro de Carvalho ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Designer Guide Lines Problem
Mattias Gaertner wrote: On Thu, 24 Apr 2008 18:08:25 -0400 Lee Jenkins [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Thu, 24 Apr 2008 15:17:51 -0400 Lee Jenkins [EMAIL PROTECTED] wrote: Mattias Gärtner wrote: Zitat von Lee Jenkins [EMAIL PROTECTED]: Mattias Gaertner wrote: On Wed, 23 Apr 2008 22:22:01 -0400 Lee Jenkins [EMAIL PROTECTED] wrote: Lazarus-0.9.25-fpc-2.2.1-20080419-win32 There seems to be a problem with designer guide lines when there are several objects (TShape in this case) on the form. Highlighting one particular object highlights a completely different object. Please create a bug report and provide an example. I would be glad to do that, but I can never received my log in credentials. Checked my junk folder in thunderbird several times and it just doesn't seem to be sending it. I guess I'll create another email address for myself and register for an account again to see if it works this time. Thanks for keep trying. You can send the example to me too. No problem at all. I just sent you (in private email) a simple project where I noticed the problem happening. Notes: 1) This project doesn't really do anything, just used it to conceptualize object placement for another project. 2) The original was create using the stable 0.9.24 version of Lazarus, not sure if that made a difference or not. It works normal here under linux/gtk2. I created a bug report. http://bugs.freepascal.org/view.php?id=11201 Mattias Thanks Mattias. I'll apply for a new bug tracker login tonight. Can you provide a screenshoot of the bug? Mattias I can try. I reverted back to 0.9.24 (I'm not all that adventurous). I'll reinstall that version again and try to create it with screenshots. -- Warm Regards, Lee When my company started out, we were really, really, really, really small. Now...we're just really small. ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Lazarus IDE (GTK2) - flicker and slow redraws
Hi, I'm not ranting, simply trying to find out if it's a local issue (system or software). Though, none of my other GTK2 applications have this problem, only Lazarus. I got a svn update of Lazarus today and compiled with GTK2. I normally use GTK1. They IDE looks fine and pretty (anti-aliased fonts etc), but usably sucks. * Flicking through the menus causes a lot of flicker! * Typing in the IDE editor window, cause the current typed text to flicker and it looks like the text cursor jumps back and forward one character as I type. * Compiling projects and looking at the Message window. Some serious flicker as the compiler output updates the window. Some positives: * The dialogs look better. * Anti-aliased text makes a major difference. * Text seems to fit the dialog better, much less text clipping than under GTK1. Is there some debug code enabled for the GTK2 interface, that could explain the slow redrawing speed? It looks like double-buffering is totally disabled in LCL-GTK2. Regards, - Graeme - ___ fpGUI - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Building the Lazarus docs
Felipe Monteiro de Carvalho wrote: In something else, my batch script generates a bit ugly docs. Plain html without colors, or anything ... how can I make it look better? This is a old problem I complained about before, but nobody bothered. By default the fpdoc.css file is not auto generated (preferred) or included. Copy the one from the FPC docs website into your html directory and things should look much better. ;) Regards, - Graeme - ___ fpGUI - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Porting Large Application from Windows to Linux
On Thu, Apr 24, 2008 at 11:59 AM, Mattias Gärtner [EMAIL PROTECTED] wrote: Zitat von drew einhorn [EMAIL PROTECTED]: Run lazarus via gdb, reproduce the freeze, create a backtrace and send it. So this bug can be fixed. Hmm. I'm running Lazarus on Ubuntu not sure if I downloaded the .debs from the web or if they were automatically retrieved from a repository. Any way the executables are stripped and do not have any debugging info. Do I need to rebuild lazarus from source first? -- Drew Einhorn ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Designer Guide Lines Problem
Mattias Gaertner wrote: On Thu, 24 Apr 2008 18:08:25 -0400 Lee Jenkins [EMAIL PROTECTED] wrote: Thanks Mattias. I'll apply for a new bug tracker login tonight. Can you provide a screenshoot of the bug? Mattias Mattias, I've reinstalled the same version where I had the problem (0.9.25-fpc-2.2.1-20080419-win32) and I cannot reproduce the problem again. I'll keep trying to see if I can reproduce it. Odd. -- Warm Regards, Lee When my company started out, we were really, really, really, really small. Now...we're just really small. ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Porting Large Application from Windows to Linux
I am just copying an email written by Fabio Dell'Aria some time ago where this issue was discused. Hope you find it usefull. Regards -MAIL BEGIN--- Hi to all, all we know how many new users do not uses lazarus because it create too BIG compiled files. We know that: 1)...the additional options are needed to can debug the project; 2)...just do a simple strip --strip-all filename reduce drastically the final size (an empty project go from 12.5Mb to 1.2 Mb). I think to have found a really simple solution to can continue to debug our project with a really little size increasing. Just remove all the debug-info from all the LCL object files to reduce the final compiled file from 12.5Mb to ONLY 2Mb (on Windows). We'll can continue to debug our projects but we'll CANNOT debug the LCL code. To obtain this little miracle just use the following command (from the shell): For Windows: FOR /R Your_Lazarus_Folder %v IN (*.o) DO strip --strip-debug %~fv For Linux: sudo find /your_lazarus_folder -name *.o -exec strip --strip-debug {} \; What do you think about? ;) -- Best regards... Fabio Dell'Aria. -MAIL END On Fri, Apr 25, 2008 at 11:35 AM, drew einhorn [EMAIL PROTECTED] wrote: On Thu, Apr 24, 2008 at 11:59 AM, Mattias Gärtner [EMAIL PROTECTED] wrote: Zitat von drew einhorn [EMAIL PROTECTED]: Run lazarus via gdb, reproduce the freeze, create a backtrace and send it. So this bug can be fixed. Hmm. I'm running Lazarus on Ubuntu not sure if I downloaded the .debs from the web or if they were automatically retrieved from a repository. Any way the executables are stripped and do not have any debugging info. Do I need to rebuild lazarus from source first? -- Drew Einhorn ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Breakpoints
Hello, is it normal when breakpoint from previous project remains in new project? For example: in project i analysing LCL code and set breakpoint on call InitFPImageWriter(IntfImg, ImgWriter); in file lcl/include/custombitmap.inc; then i created new project, in that project open mentioned file and find that breakpoint still there. I using Lazarus svn 14975, Free Pascal Compiler version 2.2.0 [2007/08/31] for i386 -- Valdas Jankūnas ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Porting Large Application from Windows to Linux
I think the distro already did this and to debug the current issue (IDE freezes or abruptly exits), I think I need to rebuild lazarus from source and use the executables before the debugging info is stripped. 2008/4/25 Adrian De Armas [EMAIL PROTECTED]: I am just copying an email written by Fabio Dell'Aria some time ago where this issue was discused. Hope you find it usefull. Regards -MAIL BEGIN--- Hi to all, all we know how many new users do not uses lazarus because it create too BIG compiled files. We know that: 1)...the additional options are needed to can debug the project; 2)...just do a simple strip --strip-all filename reduce drastically the final size (an empty project go from 12.5Mb to 1.2 Mb). I think to have found a really simple solution to can continue to debug our project with a really little size increasing. Just remove all the debug-info from all the LCL object files to reduce the final compiled file from 12.5Mb to ONLY 2Mb (on Windows). We'll can continue to debug our projects but we'll CANNOT debug the LCL code. To obtain this little miracle just use the following command (from the shell): For Windows: FOR /R Your_Lazarus_Folder %v IN (*.o) DO strip --strip-debug %~fv For Linux: sudo find /your_lazarus_folder -name *.o -exec strip --strip-debug {} \; What do you think about? ;) -- Best regards... Fabio Dell'Aria. -MAIL END On Fri, Apr 25, 2008 at 11:35 AM, drew einhorn [EMAIL PROTECTED] wrote: On Thu, Apr 24, 2008 at 11:59 AM, Mattias Gärtner [EMAIL PROTECTED] wrote: Zitat von drew einhorn [EMAIL PROTECTED]: Run lazarus via gdb, reproduce the freeze, create a backtrace and send it. So this bug can be fixed. Hmm. I'm running Lazarus on Ubuntu not sure if I downloaded the .debs from the web or if they were automatically retrieved from a repository. Any way the executables are stripped and do not have any debugging info. Do I need to rebuild lazarus from source first? -- Drew Einhorn ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus -- Drew Einhorn ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Porting Large Application from Windows to Linux
On Fri, 25 Apr 2008 08:35:36 -0600 drew einhorn [EMAIL PROTECTED] wrote: On Thu, Apr 24, 2008 at 11:59 AM, Mattias Gärtner [EMAIL PROTECTED] wrote: Zitat von drew einhorn [EMAIL PROTECTED]: Run lazarus via gdb, reproduce the freeze, create a backtrace and send it. So this bug can be fixed. Hmm. I'm running Lazarus on Ubuntu not sure if I downloaded the .debs from the web or if they were automatically retrieved from a repository. Any way the executables are stripped and do not have any debugging info. :( Do I need to rebuild lazarus from source first? Yes. Mattias ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Building the Lazarus docs
Graeme Geldenhuys schreef: Felipe Monteiro de Carvalho wrote: In something else, my batch script generates a bit ugly docs. Plain html without colors, or anything ... how can I make it look better? This is a old problem I complained about before, but nobody bothered. By default the fpdoc.css file is not auto generated (preferred) or included. Copy the one from the FPC docs website into your html directory and things should look much better. ;) It is in svn: http://svn.freepascal.org/svn/lazarus/trunk/docs/html/fpdoc.css Vincent ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Read PNG with transparency
Hello, how i can read PNG image with transparency from file or resource? Currently i using code: uses LazPng; var img: TPngImage; begin img:=TPngImage.Create; img.LoadFromFile('image.png'); ... But when i save loaded image i realized that transparency in saved image is gone, or if i check property img.Transparent i got False. I using Lazarus svn 14975, Free Pascal Compiler version 2.2.0 [2007/08/31] for i386 -- Valdas Jankūnas ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Building the Lazarus docs
Felipe Monteiro de Carvalho schreef: Could we please, please, please have periodical automatic updates to the html lcl docs =P Preferrably daily, if impossible, then weekly or another suitable periode. I don't know exactly what you mean, the docs on http://lazarus-ccr.sourceforge.net/docs/ are updated daily for almost 3 years. The daily snapshot at ftp://ftp.hu.freepascal.org/pub/lazarus/fpc-lazarus-doc-html-20080424.tar.bz2 is refreshed daily since at least last December. I remember vaguely that they weren't done because it takes hours to build the docs. The reason it was not done, was that the docs hardly changed in the past. Since Chris started to work on it regularly, there are almost daily changes. Here they were created in less then 10 minutes with fpc 2.2.0. You have better hardware, here it takes about 25 minutes. Vincent ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Building the Lazarus docs
On Fri, Apr 25, 2008 at 4:50 PM, Vincent Snijders [EMAIL PROTECTED] wrote: I don't know exactly what you mean, the docs on http://lazarus-ccr.sourceforge.net/docs/ are updated daily for almost 3 years. Great =) -- Felipe Monteiro de Carvalho ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] [patch] Contributors.utf8 file
Thanks, applied. -- Felipe Monteiro de Carvalho ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus