Re: [lazarus] DOS platform conditional defines
On Thu, 17 Jan 2008, Marco Alvarado wrote: Hello! In Free Pascal Compiler 2.0.4, is there a conditional define I could check for DOS platform? I was looking around Google, but no luck. If anyone can give me a link for the whole list of conditional that will be even more appreciated! See http://www.freepascal.org/docs-html/prog/progap7.html#x310-311000G Michael Thanks! -Marco _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Delphi/Lazarus comparison by Codegear
On Jan 18, 2008 8:46 AM, Dave Coventry [EMAIL PROTECTED] wrote: Well, it was licensing issues that brought me away from Delphi. I have Delphi 3 Standard and I still code with it, I never upgraded to 4 because it had a bad re tion, when 5 came out they had changed the license so that you were no longer free to distribute your applications unless you shelled out for the Enterprise edition which was out of my price bracket. Uh? This would mean that I've been distributing apps illegally made with pro versions for years. Are you sure?
Re: [lazarus] Delphi/Lazarus comparison by Codegear
On Jan 18, 2008 10:03 AM, Gerard N/A wrote: Uh? This would mean that I've been distributing apps illegally made with pro versions for years. Are you sure? Reasonably sure. I read the licensing stuff a few years back and I could be wrong, but that's how I understood it. If anyone has information on this, I'm happy to stand corrected. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Delphi/Lazarus comparison by Codegear
On Jan 18, 2008 9:37 AM, Dave Coventry [EMAIL PROTECTED] wrote: If anyone has information on this, I'm happy to stand corrected. You can just ask on borland.delphi.non-tech newsgroup and get an answer from CodeGear. Anyway, I find that impossible. Who would buy an IDE with which you can't redistribute apps??? -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] ToDo List not working in IDE
I added two reports with patches in the bug tracker, both for the parsing issue (10650) and the comment (10651).
Re: [lazarus] DOS platform conditional defines
On Fri, 18 Jan 2008, Damien Gerard wrote: On Jan 18, 2008, at 9:11 AM, Michael Van Canneyt wrote: On Thu, 17 Jan 2008, Marco Alvarado wrote: Hello! In Free Pascal Compiler 2.0.4, is there a conditional define I could check for DOS platform? I was looking around Google, but no luck. If anyone can give me a link for the whole list of conditional that will be even more appreciated! See http://www.freepascal.org/docs-html/prog/progap7.html#x310-311000G Mac OS X is not flagged as UNIX ? Darwin is, but not mac os X. This has been corrected in the docs, but they have not been published yet. Michael. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] DOS platform conditional defines
On Jan 18, 2008, at 9:11 AM, Michael Van Canneyt wrote: On Thu, 17 Jan 2008, Marco Alvarado wrote: Hello! In Free Pascal Compiler 2.0.4, is there a conditional define I could check for DOS platform? I was looking around Google, but no luck. If anyone can give me a link for the whole list of conditional that will be even more appreciated! See http://www.freepascal.org/docs-html/prog/progap7.html#x310-311000G Mac OS X is not flagged as UNIX ? -- Damien Gerard [EMAIL PROTECTED] Le temps n'a pas d'importance. Seul le code est important -- (f00ty) _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Delphi/Lazarus comparison by Codegear
I just read Dephi 7 Pro (I don't have earlier versions installed anymore) license.txt and deploy.txt and it says I can freely distribute my compiled apps, along with some Borland binary files (runtime packages, BDE, Active X Controls) The only restrictions are for some of the runtime packages (Mainly Datasnap and Websnap ) and the BDE SQL links for wich Enterprise is required. Since I never used any of these, I'm Ok. BTW, even the Personal edition has a list (shorter) of redistributable packages.
Re: [lazarus] Delphi/Lazarus comparison by Codegear
Is that the Standard Edition? I have the Delphi 3 Standard Edition which allows me to distribute apps. I believe that subsequent Upgrades split into 'Standard Edition' and 'Enterprise Edition'. The Enterprise Edition allowed you to distribute your apps, but the Standard Edition added certain restrictins, IIRC. On Jan 18, 2008 10:56 AM, Gerard N/A [EMAIL PROTECTED] wrote: I just read Dephi 7 Pro (I don't have earlier versions installed anymore) license.txt and deploy.txt and it says I can freely distribute my compiled apps, along with some Borland binary files (runtime packages, BDE, Active X Controls) The only restrictions are for some of the runtime packages (Mainly Datasnap and Websnap ) and the BDE SQL links for wich Enterprise is required. Since I never used any of these, I'm Ok. BTW, even the Personal edition has a list (shorter) of redistributable packages. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] SVN
Stephano wrote: Vincent Snijders wrote: Can you try with svn2.freepascal.org? Same problem with http://svn2.freepascal.org/svn/lazarus/trunk! Moreover, http://svn.freepascal.org:8080/svn/lazarus/trunk and Ah, I guess that since the rebuild of the svnserver is doesn't listen to 8080 anymore The other svn repositories you mentioned, are they too on the default http port 80 (and have you recently accessed them )? Marc _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Delphi/Lazarus comparison by Codegear
On Jan 18, 2008 10:21 AM, Dave Coventry [EMAIL PROTECTED] wrote: Is that the Standard Edition? No, it's the Professional edition. I have the Delphi 3 Standard Edition which allows me to distribute apps. I believe that subsequent Upgrades split into 'Standard Edition' and 'Enterprise Edition'. No, there was Personal, Professional and Enterprise. All three allowed distribution.
Re: [lazarus] SVN
John wrote: I don't know about SVN, but with TortoiseSVN open the settings panel and go to the network item, and there is a sheet to fill in just like browser settings. Works for me via a squid proxy cache. (But not necessarily at the moment, I haven't updated for a few weeks). Same behaviour with proxy. Thanks for the tip anyway, it was good to learn more about TortoiseSVN. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] SVN
Marc Weustink wrote: The other svn repositories you mentioned, are they too on the default http port 80 (and have you recently accessed them )? Now things have gone back to normal! I can access FPC Lazarus svn again :) The working svn urls are (at the time FPC Lazarus svn were out of reach for me): https://fpgui.svn.sourceforge.net/svnroot/fpgui/trunk svn://firmos.at/zeos/trunk https://lazarus-ccr.svn.sourceforge.net/svnroot/lazarus-ccr/components/acs so basically not on port 80. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
RE: [lazarus] Problem with printing
From cupsdyn.pp: cupsLibs :Array[0..MaxcupsLibs] of string = ('libcups.so', 'libcups.so.2', '/usr/lib/libcups.dylib'); InitializeCups exits after loading one of these libraries, trying each one in the order given. Thanks. -Phil -Original Message- From: Jon Foster [mailto:[EMAIL PROTECTED] Sent: Friday, January 18, 2008 3:19 PM To: lazarus@miraclec.com Subject: Re: [lazarus] Problem with printing After running my report on my older version of Linux I have indeed seen that it does print landscape as expected. So this doesn't appear to be a Lazarus problem. I know its not CUPS or the print filters because my other programs don't have any trouble printing Landscape. So any insight as to what other libraries Lazarus (on Linux) is using for printing would be a big help to try and determine where the failing component is. Maybe its a GTK thing? I use the TPrintDialog component to setup the initial print environment and then in code I force it to Landscape. THX - Jon Jesus Reyes wrote: --- Jon Foster [EMAIL PROTECTED] escribió: I've run into a problem with the Printers unit. I have a piece of code that was working with 0.9.20 but isn't working with 0.9.24. It seems that when you configure a print job for landscape it doesn't take affect until the second page. The first page still prints portrait. Here is a snippet of code to demonstrate: if not PrintDialog1.execute then exit; with printer do begin orientation:=poLandscape; PaperSize.PaperName:='Letter'; { This should be the default } BeginDoc; canvas.TextOut(100, 100, 'Portrait Text') newpage; canvas.TextOut(100, 100, 'Landscape Text') EndDoc; end; I've even tried setting the landscape setting in the print dialog caused by the first line and I get exactly the same results. Is there a fix for this? THX - Jon -- Jon Foster What OS? if windows, please try revision r13448 or later, your sample code works fine here under windows with default printer, if problem persist please submit a bug report. Jesus Reyes A. ¡Capacidad ilimitada de almacenamiento en tu correo! No te preocupes más por el espacio de tu cuenta con Correo Yahoo!: http://correo.yahoo.com.mx/ _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives -- Jon Foster JF Possibilities, Inc. [EMAIL PROTECTED] 541-410-2760 Making computers work for you! _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] BerkeleyDB in Lazarus
On Fri, Jan 18, 2008 at 12:16:24AM +0100, Michael Van Canneyt wrote: On Thu, 17 Jan 2008, Marco van de Voort wrote: On Thu, Jan 17, 2008 at 08:12:23PM +0100, Michael Van Canneyt wrote: BerkeleyDB is supported in Lazarus? Not unless you translate the C headers... http://www.stack.nl/~marcov/bdb.zip Maybe put this in the packages ? Afaik we talked about this on the way to Muenchen. It was never tested _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Patch for processing WM_COPYDATA in Win32 / BugID 9210
Lukas Gradl wrote: I, for example, needed it to talk to some external application remote-controlled by WM_COPYDATA - that's why I tracked down the way of the message and submitted this patch. I'm not quite shure if we need it in other interfaces too - it's a windows-specific message. This is my point, it's best to find a way to offer a cross-platform interface for this if possible. I've no experience using WM_COPYDATA so can't really comment much here. Micha _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Delphi/Lazarus comparison by Codegear
Graeme Geldenhuys wrote: Reading that wiki, it would make me choose Lazarus over Delphi! (which I have) ;-) Lazarus seem to have nicer features... Well, I've certainly found features in Lazarus too that would make it very very difficult to go back to Delphi, mainly the support for 64-bit unsigned Integers, which AFAIK Delphi still doesn't support (signed 64-bit integers only) _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] MouseMove problem in WinCE
On Friday 04 January 2008 11:32:26 Felipe Monteiro de Carvalho wrote: The problem is that no wince snapshot using fpc 2.2.1 ... If you are brave enougth there are step-by-step instructions on the wiki on how to build a wince cross-compiler from code. http://wiki.lazarus.freepascal.org/WinCE_port I have now managed to build a wince cross-compiler for 2.2.1 and the canvas drawing problem no longer occurs. Thanks for your help, Paul _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Introduction
I don't want to put down Lazarus because I think it has tremendous potential and like the others here I love the cross-platform capability. On the other hand I have yet to be able to accomplish any serious project with it. I've run into a series of issues with just about every component I've tried to use . So I usually hang up my hat and break out Kylix again. A definite plus is that the core libraries that I've written will compile with either Borland or FPC. I use FPC almost completely for command line stuff. I just need to be able to crank out some GUI stuff without having to loose time to debugging the libraries. Now that I've upgraded (not sure it was an improvement) my workstation to Debian 4.0 I can no longer run Kylix. :-) This means that I too will soon be joining the ranks of Lazarus contributors in any way that I can. -Jon Lee Jenkins wrote: hy-soft wrote: Hi, I am monitoring lazarus for about five years now and find the whole project is very impressive. You guys did a great job - but unfortunately the IDE is NOT in some state that could be used for a productive work (IMHO). I've been using Lazarus on Windows seriously for about a year now and I've become pretty damn productive with it. I don't use it on Linux a lot (yet), but the occasions that I have used it on linux, my experience is pretty much about the same on windows, less the nooberific state of my linux knowledge of course. Are you talking in the context of the IDE compared to Visual Studio, Delphi 2007? I started Delphi with version 6 so Lazarus to me is very comparable. I have recently purchased Delphi 2007 and I must say, it really is a very nice IDE. $400.00 U.S was the upgrade price I think, but I have yet to use it for a serious project since I've been using Lazarus. I've been using Lazarus because I want my current projects to be cross-platform. That is the value for me and my customers. As nice as Delphi2007 IDE *really* is, it doesn't compile cross-platform or even to 64 bit, but Lazarus does. And what's more, Lazarus is on par with Delphi6 (IMO) IDE which makes it the most workable, viable and robust solution for using ObjectPascal to build apps portable between platforms. For me, the cross platform nature (and close compatibility to delphi) of Lazaurs provides enough built in value (not to mention the price :)) to adapt myself to using it with the features it offers now. Like me, you're probably impressed with the increased level of traffic and involvement there is in the freepascal and lazarus projects over the last couple of years. Its enough to give me the confidence to use lazarus/freepascal for some production, commercial products. Welcome Back! -- Jon Foster JF Possibilities, Inc. [EMAIL PROTECTED] 541-410-2760 Making computers work for you! _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Introduction
On Jan 18, 2008, at 9:53 PM, Graeme Geldenhuys wrote: On 18/01/2008, Jon Foster [EMAIL PROTECTED] wrote: On the other hand I have yet to be able to accomplish any serious project with it. I've run into a series of issues with just about every component I've tried to use. The main issues remain mainly under Windows for my part. I have 2 serious project with Lazarus and it is possible to make with it. I agree there are still some problems for some part of the LCL. However I was surprised when my first big project compiles and runs very well under OS X and the Carbon Interface. I had the same experience. Good news is that you have a few choices. 1. Start cranking out LCL patches to fix the issues. ;-) 2. Ditch the LCL, but continue using Lazarus with a different GUI toolkit. I've had great success with option 2. I am not sure it is the good solution. A lot of work has been done with the current LCL and the main widgetset. Now that I've upgraded (not sure it was an improvement) my workstation to Debian 4.0 I can no longer run Kylix. :-) This means that I too will I've heard there is some or other patch which allows the IDE to run on the newer distros. Fixing the debugger issue and the installation issue. I read it recently, but unfotunately can't remember any link. Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives -- Damien Gerard [EMAIL PROTECTED] Le temps n'a pas d'importance. Seul le code est important -- (f00ty) _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Introduction
Jon Foster wrote: I don't want to put down Lazarus because I think it has tremendous potential and like the others here I love the cross-platform capability. On the other hand I have yet to be able to accomplish any serious project with it. I've run into a series of issues with just about every component I've tried to use . So I usually hang up my hat and break out Kylix again. A definite plus is that the core libraries that I've written will compile with either Borland or FPC. I use FPC almost completely for command line stuff. I just need to be able to crank out some GUI stuff without having to loose time to debugging the libraries. Now that I've upgraded (not sure it was an improvement) my workstation to Debian 4.0 I can no longer run Kylix. :-) This means that I too will soon be joining the ranks of Lazarus contributors in any way that I can. -Jon I started using Lazarus/FPC to write console apps (also called Asterisk Gateway Interface or AGI) for the Asterisk PBX system on linux about a year ago and have just recently started using Lazarus for GUI development. I'm in the process of re-writing a Windows operator control panel for Asterisk written originally in Delphi: http://www.datatrakpos.com/pos/datatalk/maestro.aspx I have also started using Lazarus and tiOPF to re-write a scaled down version of our company's P.O.S. application which I'm hoping will be ready for beta testing by the end of the summer. I think for me, the biggest challenge was re-thinking the GUI widgets that I use. Windows development seems to be centered around the sizzle of GUI components where everyone is trying to have their apps look like the latest version of MS Office and I have been on that bandwagon a bit myself until recently. -- Warm Regards, Lee The only thing that kept me out college...was high school. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Problem with printing
After running my report on my older version of Linux I have indeed seen that it does print landscape as expected. So this doesn't appear to be a Lazarus problem. I know its not CUPS or the print filters because my other programs don't have any trouble printing Landscape. So any insight as to what other libraries Lazarus (on Linux) is using for printing would be a big help to try and determine where the failing component is. Maybe its a GTK thing? I use the TPrintDialog component to setup the initial print environment and then in code I force it to Landscape. THX - Jon Jesus Reyes wrote: --- Jon Foster [EMAIL PROTECTED] escribió: I've run into a problem with the Printers unit. I have a piece of code that was working with 0.9.20 but isn't working with 0.9.24. It seems that when you configure a print job for landscape it doesn't take affect until the second page. The first page still prints portrait. Here is a snippet of code to demonstrate: if not PrintDialog1.execute then exit; with printer do begin orientation:=poLandscape; PaperSize.PaperName:='Letter'; { This should be the default } BeginDoc; canvas.TextOut(100, 100, 'Portrait Text') newpage; canvas.TextOut(100, 100, 'Landscape Text') EndDoc; end; I've even tried setting the landscape setting in the print dialog caused by the first line and I get exactly the same results. Is there a fix for this? THX - Jon -- Jon Foster What OS? if windows, please try revision r13448 or later, your sample code works fine here under windows with default printer, if problem persist please submit a bug report. Jesus Reyes A. ¡Capacidad ilimitada de almacenamiento en tu correo! No te preocupes más por el espacio de tu cuenta con Correo Yahoo!: http://correo.yahoo.com.mx/ _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives -- Jon Foster JF Possibilities, Inc. [EMAIL PROTECTED] 541-410-2760 Making computers work for you! _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Introduction
On 18/01/2008, Jon Foster [EMAIL PROTECTED] wrote: On the other hand I have yet to be able to accomplish any serious project with it. I've run into a series of issues with just about every component I've tried to use. I had the same experience. Good news is that you have a few choices. 1. Start cranking out LCL patches to fix the issues. ;-) 2. Ditch the LCL, but continue using Lazarus with a different GUI toolkit. I've had great success with option 2. Now that I've upgraded (not sure it was an improvement) my workstation to Debian 4.0 I can no longer run Kylix. :-) This means that I too will I've heard there is some or other patch which allows the IDE to run on the newer distros. Fixing the debugger issue and the installation issue. I read it recently, but unfotunately can't remember any link. Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Introduction
On Friday 18 January 2008 21.53:27 Graeme Geldenhuys wrote: On 18/01/2008, Jon Foster [EMAIL PROTECTED] wrote: On the other hand I have yet to be able to accomplish any serious project with it. I've run into a series of issues with just about every component I've tried to use. I had the same experience. Good news is that you have a few choices. 1. Start cranking out LCL patches to fix the issues. ;-) 2. Ditch the LCL, but continue using Lazarus with a different GUI toolkit. I've had great success with option 2. 3. MSEide+MSEgui ;-) http://sourceforge.net/projects/mseide-msegui/ Martin _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives