Re: [Lazarus] Beyond Compare 4 built with Lazarus 1.2

2013-12-28 Thread Marcos Douglas
On Sat, Dec 28, 2013 at 9:21 AM, Martin Schreiber mse00...@gmail.com wrote: On Saturday 28 December 2013 11:20:58 Marcos Douglas wrote: Wrong. MSElang RTL suports string8 (utf-8), string16, (utf-16), string32 (UCS4) without preference. Additionally there is bytestring for any 8-bit

Re: [Lazarus] *** GMX Spamverdacht *** Re: Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-28 Thread Marcos Douglas
programmer (suppose), why I will need to keep FPC compatible with Delphi? If I'm a Delphi programmer I will use... Delphi. Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-28 Thread Marcos Douglas
On Sat, Dec 28, 2013 at 11:09 AM, Florian Klämpfl flor...@freepascal.org wrote: Am 28.12.2013 13:39, schrieb Marcos Douglas: If they leave Delphi compatibility, they normally don't go for a marginal oss compiler. So you're saying that FPC cannot survive without Delphi? Define survive

Re: [Lazarus] Beyond Compare 4 built with Lazarus 1.2

2013-12-28 Thread Marcos Douglas
On Sat, Dec 28, 2013 at 11:11 AM, Michael Van Canneyt mich...@freepascal.org wrote: On Sat, 28 Dec 2013, Marcos Douglas wrote: That said: Nothing stops anyone from implementing a totally separate RTL for FPC. The number of internal functions that must be implemented for the compiler

Re: [Lazarus] *** GMX Spamverdacht *** Re: Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-28 Thread Marcos Douglas
On Sat, Dec 28, 2013 at 1:31 PM, Sven Barth pascaldra...@googlemail.com wrote: On 28.12.2013 14:25, Marcos Douglas wrote: On Sat, Dec 28, 2013 at 11:09 AM, Florian Klämpfl flor...@freepascal.org wrote: Am 28.12.2013 13:37, schrieb Jürgen Hestermann: Am 2013-12-28 13:19, schrieb Florian

Re: [Lazarus] Beyond Compare 4 built with Lazarus 1.2

2013-12-28 Thread Marcos Douglas
On Sat, Dec 28, 2013 at 12:46 PM, Michael Van Canneyt mich...@freepascal.org wrote: On Sat, 28 Dec 2013, Marcos Douglas wrote: On Sat, Dec 28, 2013 at 11:11 AM, Michael Van Canneyt [...] So PLEASE, tell us how to make a code on Windows safe, readable and strong using FPC 2.6.x (AnsiString

Re: [Lazarus] Beyond Compare 4 built with Lazarus 1.2

2013-12-28 Thread Marcos Douglas
On Sat, Dec 28, 2013 at 2:06 PM, Graeme Geldenhuys gra...@geldenhuys.co.uk wrote: Hi Marcos, Hi Graeme, I do agree a Unicode enabled RTL is required, but just curious... On 2013-12-28 13:51, Marcos Douglas wrote: 1. How can I make programs on Windows using FPC and Lazarus without problems

Re: [Lazarus] Beyond Compare 4 built with Lazarus 1.2

2013-12-28 Thread Marcos Douglas
On Sat, Dec 28, 2013 at 2:15 PM, Juha Manninen juha.mannine...@gmail.com wrote: On Sat, Dec 28, 2013 at 3:51 PM, Marcos Douglas m...@delfire.net wrote: So PLEASE, tell us how to make a code on Windows safe, readable and strong using FPC 2.6.x (AnsiString) and Lazarus (UTF-8) because I and most

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-27 Thread Marcos Douglas
living legacy. :-) Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Beyond Compare 4 built with Lazarus 1.2

2013-12-26 Thread Marcos Douglas
On Thu, Dec 26, 2013 at 6:06 AM, Martin Schreiber mse00...@gmail.com wrote: On Thursday 26 December 2013 03:45:19 Marcos Douglas wrote: As long as the language and libraries agree on an encoding I don't really care whether it's UTF-8 or UTF-16 +1 Actually this is the MSElang

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-26 Thread Marcos Douglas
, will be UTF-16 and Lazarus continues using UTF-8 what is the difference? This approach is not like Delphi. It has the RTL and VCL using the same encode... FPC RTL and LCL will continue fighting! :( Marcos Douglas -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-25 Thread Marcos Douglas
On Tue, Dec 24, 2013 at 7:08 PM, Sven Barth pascaldra...@googlemail.com wrote: Am 24.12.2013 15:34 schrieb Marcos Douglas m...@delfire.net: Sorry if I say something crazy, but what do you think to use UTF-16 on {mode delphi} and UTF-8 in {mode fpc}? That is already the case with mode

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-25 Thread Marcos Douglas
On Wed, Dec 25, 2013 at 3:08 PM, Marco van de Voort mar...@stack.nl wrote: On Wed, Dec 25, 2013 at 09:57:05AM -0200, Marcos Douglas wrote: The mode concept is all good and well, but here it breaks down... :( So, if the {mode} continue to be a way, I think it should be used on platform

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-25 Thread Marcos Douglas
On Wed, Dec 25, 2013 at 3:15 PM, Marco van de Voort mar...@stack.nl wrote: On Tue, Dec 24, 2013 at 12:22:41PM -0200, Marcos Douglas wrote: IMO the biggest group are old fashioned Delphi (D7) users, which want their existing Ansi/VCL code base supported *without* complications

Re: [Lazarus] Beyond Compare 4 built with Lazarus 1.2

2013-12-25 Thread Marcos Douglas
compat unicode is needed by some :-) Maybe he could forget Delphi and make everything using FPC and Lazarus when the Unicode support on Windows get ready. :-) Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] Beyond Compare 4 built with Lazarus 1.2

2013-12-25 Thread Marcos Douglas
On Wed, Dec 25, 2013 at 5:33 PM, Marco van de Voort mar...@stack.nl wrote: On Wed, Dec 25, 2013 at 04:42:22PM -0200, Marcos Douglas wrote: Which hopefully makes clear that Delphi compat unicode is needed by some :-) Maybe he could forget Delphi and make everything using FPC and Lazarus

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-25 Thread Marcos Douglas
On Wed, Dec 25, 2013 at 7:41 PM, Sven Barth pascaldra...@googlemail.com wrote: Am 25.12.2013 19:19 schrieb Marcos Douglas m...@delfire.net: Since that means typically two per target, it was suggested to combine this using dotted unit functionality. I did not understand this... dotted unit

Re: [Lazarus] Beyond Compare 4 built with Lazarus 1.2

2013-12-25 Thread Marcos Douglas
as the language and libraries agree on an encoding I don't really care whether it's UTF-8 or UTF-16 +1 Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-24 Thread Marcos Douglas
as well. But is that new audience worth to abandon the entire existing Lazarus audience? Of course nobody will abandon the entire existing Lazarus audience. If the RTL will be UTF-16, UTF-32, whatever the Lazarus will continues -- I think -- working using UTF-8. Marcos Douglas

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-24 Thread Marcos Douglas
is insane, and it should be possible to port modern Delphi VCL apps at least to Windows. Preferably to all. Sorry if I say something crazy, but what do you think to use UTF-16 on {mode delphi} and UTF-8 in {mode fpc}? Marcos Douglas -- ___ Lazarus mailing

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-24 Thread Marcos Douglas
On Tue, Dec 24, 2013 at 3:13 PM, Jürgen Hestermann juergen.hesterm...@gmx.de wrote: Am 24.12.2013 15:22, schrieb Marcos Douglas: Use functions, always, to convert string between RTL and LCL and vice-versa IHMO is wrong because the final code is confusing. In a huge application you still need

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-23 Thread Marcos Douglas
On Mon, Dec 23, 2013 at 8:38 AM, Marco van de Voort mar...@stack.nl wrote: On Sun, Dec 22, 2013 at 05:06:27PM -0200, Marcos Douglas wrote: FPC 2.7.x can compile the windows unit in unicode (UTF16) mode. Most system and sysutils file related routines are already unicode (UTF16

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-22 Thread Marcos Douglas
On Sun, Dec 22, 2013 at 7:06 AM, Juha Manninen juha.mannine...@gmail.com wrote: On Sat, Dec 21, 2013 at 5:41 PM, Marcos Douglas m...@delfire.net wrote: LCL (and VCL) typically use events, like TNotifyEvent. They are basically just call-back functions. Oh, not same. I use a lot Events

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-22 Thread Marcos Douglas
will stay the same to Windows programmers? Thanks, Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-21 Thread Marcos Douglas
On Sat, Dec 21, 2013 at 5:56 AM, Juha Manninen juha.mannine...@gmail.com wrote: On Sat, Dec 21, 2013 at 3:08 AM, Marcos Douglas m...@delfire.net wrote: I didn't understand. If I have a TStringList instance, on Windows, I need to convert Text property to ANSI. But some components, e.g. TMemo

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-21 Thread Marcos Douglas
On Sat, Dec 21, 2013 at 1:18 PM, Juha Manninen juha.mannine...@gmail.com wrote: On Sat, Dec 21, 2013 at 4:33 PM, Marcos Douglas m...@delfire.net wrote: That's it! I think you talking about of new versions of Delphi, right? So I always read that new Unicode implementation in new versions

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-20 Thread Marcos Douglas
On Fri, Dec 20, 2013 at 3:19 AM, Jürgen Hestermann juergen.hesterm...@gmx.de wrote: Am 2013-12-19 23:04, schrieb Marcos Douglas: Well, the same problem... If there is no solution (for now), I prefer using SysToUTF8/ UTF8ToSys because is more simpler than use WideString API and conversion

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-20 Thread Marcos Douglas
On Fri, Dec 20, 2013 at 4:22 AM, Juha Manninen juha.mannine...@gmail.com wrote: On Fri, Dec 20, 2013 at 2:47 AM, Marcos Douglas m...@delfire.net wrote: Not _only_ to UTF-16? It will depend on the OS? No, FPC string will know its encoding and the conversion is made to any encoding but only

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-20 Thread Marcos Douglas
as an intermediate store. Here, a generic implementation (which Delphi does not provide) would be good. IMHO this is doable without loosing Delphi compatibility or performance. +1 That's I was talking about in previous mail, using TStringList as an intermediate store. Marcos Douglas

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-20 Thread Marcos Douglas
On Fri, Dec 20, 2013 at 8:44 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Fri, 20 Dec 2013 17:55:48 -0200 Marcos Douglas m...@delfire.net wrote: On Fri, Dec 20, 2013 at 3:19 AM, Jürgen Hestermann juergen.hesterm...@gmx.de wrote: Am 2013-12-19 23:04, schrieb Marcos Douglas

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-19 Thread Marcos Douglas
On Wed, Dec 18, 2013 at 3:25 PM, Juha Manninen juha.mannine...@gmail.com wrote: On Wed, Dec 18, 2013 at 5:19 PM, Marcos Douglas m...@delfire.net wrote: Here too, more or less... I'm thinking to switch all own packages to UTF-8. But, in your codes, how do you works on Delphi -- or with Lazarus

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-19 Thread Marcos Douglas
On Thu, Dec 19, 2013 at 2:33 PM, Jürgen Hestermann juergen.hesterm...@gmx.de wrote: Am 2013-12-18 02:16, schrieb Marcos Douglas: On Tue, Dec 17, 2013 at 4:15 PM, Jürgen Hestermann juergen.hesterm...@gmx.de wrote: I am just writing a file manager for Windows (hopefully can port it to Linux

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-19 Thread Marcos Douglas
On Thu, Dec 19, 2013 at 9:46 PM, Juha Manninen juha.mannine...@gmail.com wrote: On Thu, Dec 19, 2013 at 11:58 PM, Marcos Douglas m...@delfire.net wrote: Using UTF8String the compiler converts to UTF-16 automatically? Yes, Delphi does that. Future FPC versions will do automatic conversion, too

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-18 Thread Marcos Douglas
On Wed, Dec 18, 2013 at 6:48 AM, Juha Manninen juha.mannine...@gmail.com wrote: On Wed, Dec 18, 2013 at 3:52 AM, Marcos Douglas m...@delfire.net wrote: I would like to understand: Why Java, .Net and others use UTF-16 as default encode and why Lazarus team chose UTF-8? ... and don't forget

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-18 Thread Marcos Douglas
On Wed, Dec 18, 2013 at 3:56 AM, Martin Schreiber mse00...@gmail.com wrote: On Wednesday 18 December 2013 02:52:49 Marcos Douglas wrote: I would like to understand: Why Java, .Net and others use UTF-16 as default encode and why Lazarus team chose UTF-8? One reason is that Free Pascal did

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-18 Thread Marcos Douglas
On Wed, Dec 18, 2013 at 2:29 PM, Martin Schreiber mse00...@gmail.com wrote: On Wednesday 18 December 2013 16:19:22 Marcos Douglas wrote: What more, UTF-16 is confusing because it has variations. It all is well explained here: http://www.utf8everywhere.org/ I will read, thanks. Read

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-17 Thread Marcos Douglas
On Tue, Dec 17, 2013 at 6:23 AM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Mon, 16 Dec 2013 23:41:34 -0200 Marcos Douglas m...@delfire.net wrote: [...] I think use one encoding on all platforms is good, however Windows uses UTF-16. All string from/to Windows needs to be converted

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-17 Thread Marcos Douglas
On Tue, Dec 17, 2013 at 4:15 PM, Jürgen Hestermann juergen.hesterm...@gmx.de wrote: Am 2013-12-17 02:41, schrieb Marcos Douglas: I think use one encoding on all platforms is good, however Windows uses UTF-16. All string from/to Windows needs to be converted, right? Is this not a penalty

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-17 Thread Marcos Douglas
On Tue, Dec 17, 2013 at 9:45 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Tue, 17 Dec 2013 21:41:09 -0200 Marcos Douglas m...@delfire.net wrote: [...] So, nothing will change for Lazarus users after the new FPC release. I do hope that something will change after a new FPC release

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-17 Thread Marcos Douglas
On Tue, Dec 17, 2013 at 11:16 PM, Marcos Douglas m...@delfire.net wrote: On Tue, Dec 17, 2013 at 9:45 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Tue, 17 Dec 2013 21:41:09 -0200 Marcos Douglas m...@delfire.net wrote: [...] So, nothing will change for Lazarus users after the new

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-16 Thread Marcos Douglas
On Mon, Dec 16, 2013 at 3:30 AM, Reinier Olislagers reinierolislag...@gmail.com wrote: On 15/12/2013 20:47, Marcos Douglas wrote: On Sun, Dec 15, 2013 at 3:13 PM, Reinier Olislagers reinierolislag...@gmail.com wrote: On 15/12/2013 16:25, Marcos Douglas wrote: On Sun, Dec 15, 2013 at 1:08 PM

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-16 Thread Marcos Douglas
On Mon, Dec 16, 2013 at 7:41 AM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Sun, 15 Dec 2013 17:47:09 -0200 Marcos Douglas m...@delfire.net wrote: On Sun, Dec 15, 2013 at 3:13 PM, Reinier Olislagers reinierolislag...@gmail.com wrote: On 15/12/2013 16:25, Marcos Douglas wrote

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-16 Thread Marcos Douglas
On Mon, Dec 16, 2013 at 8:18 AM, Reinier Olislagers reinierolislag...@gmail.com wrote: On 16/12/2013 12:15, Marcos Douglas wrote: On Mon, Dec 16, 2013 at 3:30 AM, Reinier Olislagers reinierolislag...@gmail.com wrote: On 15/12/2013 20:47, Marcos Douglas wrote: On Sun, Dec 15, 2013 at 3:13 PM

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-16 Thread Marcos Douglas
On Mon, Dec 16, 2013 at 9:10 AM, Reinier Olislagers reinierolislag...@gmail.com wrote: On 16/12/2013 12:51, Marcos Douglas wrote: On Mon, Dec 16, 2013 at 8:18 AM, Reinier Olislagers reinierolislag...@gmail.com wrote: On 16/12/2013 12:15, Marcos Douglas wrote: On Mon, Dec 16, 2013 at 3:30 AM

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-16 Thread Marcos Douglas
On Mon, Dec 16, 2013 at 9:28 AM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Mon, 16 Dec 2013 09:22:54 -0200 Marcos Douglas m...@delfire.net wrote: On Mon, Dec 16, 2013 at 7:41 AM, Mattias Gaertner [...] Note: The Lazarus UTF8 functions are in the package LazUtils. You don't

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-16 Thread Marcos Douglas
On Mon, Dec 16, 2013 at 3:22 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Mon, 16 Dec 2013 13:43:41 -0200 Marcos Douglas m...@delfire.net wrote: [...] The problem is not specific to the LCL. The problem is using libraries with different encodings. Of course! But I'm using

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-15 Thread Marcos Douglas
that, this is not a problem. I'm using many DLL and ActiveX and I know this is not portable... that's Ok. Do not need any conversion. Thanks, Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-15 Thread Marcos Douglas
that? Lazarus is using UTF-8 throughout, so that writing and reading files will work the same on all targets. The Tstringlist.save* routines that Marcos mentions are FPC. Yes. I know you use Delphi too and, of course, Windows. Could you tell me how you work with this problem? Thanks, Marcos

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-15 Thread Marcos Douglas
On Sun, Dec 15, 2013 at 3:13 PM, Reinier Olislagers reinierolislag...@gmail.com wrote: On 15/12/2013 16:25, Marcos Douglas wrote: On Sun, Dec 15, 2013 at 1:08 PM, Bart bartjun...@gmail.com wrote: So for basic stuff all this is already taken care of. Only in Lazarus' context... but I have some

Re: [Lazarus] PDO: Pascal Data Objects, who uses?

2013-12-14 Thread Marcos Douglas
On Sat, Dec 14, 2013 at 3:18 AM, leledumbo leledumbo_c...@yahoo.co.id wrote: Latest commit is in 2008, the project is indeed outdated. I did take a look at it a few years ago, but since Greyhound borns, I never look at it anymore. I am flattered, thank you. Marcos Douglas https://github.com

Re: [Lazarus] The future of desktop

2013-11-30 Thread Marcos Douglas
. Michael. This project will be open source? If yes, why don't you release the code right now? Other people can contribute too. Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman

Re: [Lazarus] Build IDE: Please specify a package name with --package=name

2013-09-23 Thread Marcos Douglas
On Thu, Sep 19, 2013 at 4:43 AM, Reinier Olislagers reinierolislag...@gmail.com wrote: On 18/09/2013 18:16, Marcos Douglas wrote: On Wed, Sep 18, 2013 at 12:40 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Wed, 18 Sep 2013 12:23:11 -0300 Marcos Douglas m...@delfire.net wrote: Did

Re: [Lazarus] Build IDE: Please specify a package name with --package=name

2013-09-18 Thread Marcos Douglas
On Wed, Sep 18, 2013 at 12:40 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Wed, 18 Sep 2013 12:23:11 -0300 Marcos Douglas m...@delfire.net wrote: [...] It must be a make.exe. You can use the make.exe of fpc 2.6.2. Ok. But why FPC 2.7.1 do not have make.exe? You need 2.6.2

Re: [Lazarus] Build IDE: Please specify a package name with --package=name

2013-09-18 Thread Marcos Douglas
On Wed, Sep 18, 2013 at 5:32 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Wed, 18 Sep 2013 13:16:55 -0300 Marcos Douglas m...@delfire.net wrote: On Wed, Sep 18, 2013 at 12:40 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Wed, 18 Sep 2013 12:23:11 -0300 Marcos

Re: [Lazarus] Project Group support in the IDE

2013-09-13 Thread Marcos Douglas
at it over the weekend. Great. Thanks for your time. Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Forward declaration not solved

2013-08-09 Thread Marcos Douglas
said, however no idea was good enough for FPC team, unfortunately. Regards, Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Rx: rxdbgrid.pas: compile error: Internal error 200501152

2013-07-16 Thread Marcos Douglas
On Tue, Jul 16, 2013 at 4:36 PM, Maxim Ganetsky gan...@narod.ru wrote: 16.07.2013 5:20, Marcos Douglas пишет: On Mon, Jul 15, 2013 at 8:07 PM, Maxim Ganetsky gan...@narod.ru wrote: 16.07.2013 2:31, Marcos Douglas пишет: Hi, I updated my CCR sources and now I found an error, on RX Lib

[Lazarus] Rx: rxdbgrid.pas: compile error: Internal error 200501152

2013-07-15 Thread Marcos Douglas
{$ENDIF} ERROR: Fatal: Internal error 200501152 The rev 2739 works fine. Regards, Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Rx: rxdbgrid.pas: compile error: Internal error 200501152

2013-07-15 Thread Marcos Douglas
On Mon, Jul 15, 2013 at 8:07 PM, Maxim Ganetsky gan...@narod.ru wrote: 16.07.2013 2:31, Marcos Douglas пишет: Hi, I updated my CCR sources and now I found an error, on RX Lib, when I try to compile my Lazarus: Lazarus 1.1 r42095 FPC 2.6.2 i386-win32-win32/win64 The problem bellow

Re: [Lazarus] v1.0.8 - why would code navigation stop working?

2013-07-03 Thread Marcos Douglas
for me using Lazarus 1.1 r41983 FPC 2.6.2 i386-win32-win32/win64 Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Unicode branch

2013-06-29 Thread Marcos Douglas
at least once. It seems easiest to use CORBA interfaces instead COM interfaces because you have more control on your objects. Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman

Re: [Lazarus] [OT] New Lazarus website

2013-06-23 Thread Marcos Douglas
is a feature not the objective. +1 for the new design. +1 Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] 3rd party controls

2013-06-17 Thread Marcos Douglas
2013/6/17 Timothy Groves the.tail.kin...@gmail.com: Is there an online resource of 3rd-party controls for Lazarus? Google has let me down... http://sourceforge.net/projects/lazarus-ccr/files/ Marcos Douglas -- ___ Lazarus mailing list Lazarus

[Lazarus] [ANN] AWS Lib: Pascal implementation of Amazon S3 REST API

2013-06-16 Thread Marcos Douglas
Hi list, I'm glad to announce the 0.0.1 release of AWS Lib. AWS Lib is a Pascal implementation of Amazon S3 REST API for Free Pascal. It is minimalistic, clean and simple. https://github.com/mdbs99/aws Comments are welcome. Thanks. Best regards, Marcos Douglas

Re: [Lazarus] Blinks when clicks in a tab editor

2013-06-02 Thread Marcos Douglas
On Sun, Jun 2, 2013 at 4:16 AM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Sat, 1 Jun 2013 23:08:52 -0300 Marcos Douglas m...@delfire.net wrote: Hi, When I click in a tab editor blinks but not using Ctrl+TAB. What blinks? The same that Graeme said, ie, the whole editor window

[Lazarus] Blinks when clicks in a tab editor

2013-06-01 Thread Marcos Douglas
Hi, When I click in a tab editor blinks but not using Ctrl+TAB. Lazarus 1.1 r41446 FPC 2.6.2 i386-win32-win32/win64 Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo

Re: [Lazarus] ANN: New free pascal library released based on SDL 2.0

2013-05-24 Thread Marcos Douglas
in the project inspector then press the package compile button) Does anyone know what this happens and how to prevent others from getting that same error? It only happens if you are writing a program which references the package if the package hasn't been compiled yet. Regards, Marcos Douglas

Re: [Lazarus] ANN: New free pascal library released based on SDL 2.0

2013-05-23 Thread Marcos Douglas
you think. Awesome. Where is the source? Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] ANN: New free pascal library released based on SDL 2.0

2013-05-23 Thread Marcos Douglas
of the source: http://www.baregame.org/download/?file=bare.7z Compilation requires FPC 2.7.1 trunk or greater. Because the use of dots in namespaces? I'm use 2.6.2 but I will try it. Please, use Git to the sources! ;-) Thank you. Marcos Douglas

Re: [Lazarus] SIGSEGV when trying to use a TCustomControl

2013-04-19 Thread Marcos Douglas
(TheOwner); end; And what are the contets of DoSomething method? Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] How do Lazarus users handle exceptions in procedures which are running in data modules?

2013-03-06 Thread Marcos Douglas
class that inherited from this global type unit. Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] FPC, Lazarus and 3rd libs

2013-03-01 Thread Marcos Douglas
On Thu, Feb 28, 2013 at 5:51 PM, Graeme Geldenhuys gra...@geldenhuys.co.uk wrote: On 2013-02-28 18:31, Marcos Douglas wrote: You can change the output directory of the third party package to use the $(FPCVer) macro. For example lib/$(FPCVer)/$(TargetCPU)-$($TargetOS). Yep, but for this I

Re: [Lazarus] FPC, Lazarus and 3rd libs

2013-03-01 Thread Marcos Douglas
On Fri, Mar 1, 2013 at 11:34 AM, Graeme Geldenhuys gra...@geldenhuys.co.uk wrote: On 2013-03-01 14:09, Marcos Douglas wrote: You probably right, but problems can happen -- little problems -- like a file deleted, file renamed, etc. So I'll have to change the lpk anyway, manually. You should

Re: [Lazarus] FPC, Lazarus and 3rd libs

2013-02-28 Thread Marcos Douglas
On Thu, Feb 28, 2013 at 2:59 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Thu, 28 Feb 2013 14:27:37 -0300 Marcos Douglas m...@delfire.net wrote: Hi, I would like to know what the best way to work with FPC, Lazarus and 3rd libs. I will try explain myself: Today I have three FPC

Re: [Lazarus] FPC, Lazarus and 3rd libs

2013-02-28 Thread Marcos Douglas
On Thu, Feb 28, 2013 at 4:02 PM, Frank Church vfcli...@gmail.com wrote: On 28 February 2013 17:27, Marcos Douglas m...@delfire.net wrote: Hi, I would like to know what the best way to work with FPC, Lazarus and 3rd libs. I will try explain myself: Today I have three FPC versions (2.6.0

Re: [Lazarus] CRM and MVC

2013-02-27 Thread Marcos Douglas
will be apreciated .. Sorry for my english. As Graeme said in other mail, the tiOPF is a good solution. If you want to know about other alternatives, maybe more simpler, please take a look at Greyhound Project: github.com/mdbs99/Greyhound Best regards, Marcos Douglas

Re: [Lazarus] Error: Incompatible type for arg no. 1: Got TFPPenEndCap, expected TPenEndCap

2013-02-26 Thread Marcos Douglas
On Mon, Feb 25, 2013 at 7:19 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Mon, 25 Feb 2013 22:43:36 +0200 patspiper patspi...@gmail.com wrote: On 25/02/13 21:37, Marcos Douglas wrote: On Mon, Feb 25, 2013 at 11:09 AM, Marcos Douglas m...@delfire.net wrote: Hi, I updated my

[Lazarus] Error: Incompatible type for arg no. 1: Got TFPPenEndCap, expected TPenEndCap

2013-02-25 Thread Marcos Douglas
\freepascal\ide\laz\1.1\ide\syncolorattribeditor.pas(197,26) Error: Incompatible type for arg no. 1: Got TFPPenEndCap, expected TPenEndCap W:\md\dev\freepascal\ide\laz\1.1\ide\syncolorattribeditor.pas(579) Fatal: There were 2 errors compiling module, stopping Best regards, Marcos Douglas

Re: [Lazarus] For the Free Pascal 2.6.2, which Lazarus I use?

2013-02-25 Thread Marcos Douglas
http://www.lazarus.freepascal.org/index.php/topic,19804.html http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_0_6/ Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo

Re: [Lazarus] Error: Incompatible type for arg no. 1: Got TFPPenEndCap, expected TPenEndCap

2013-02-25 Thread Marcos Douglas
On Mon, Feb 25, 2013 at 11:09 AM, Marcos Douglas m...@delfire.net wrote: Hi, I updated my FPC to 2.6.3 (rev 23658) and my Lazarus trunk (rev 40403) I'm using Windows. When I try to compile Lazarus, I got: W:\md\dev\freepascal\ide\laz\1.1\ide\syncolorattribeditor.pas(167,26) Error

Re: [Lazarus] Getting a Field list of a record

2013-02-14 Thread Marcos Douglas
if the item is empty, casting .(AsInteger, .AsString,...), loop in all items without specifying the names, etc Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] [ISSUE] FCL-Web and LazReport

2013-01-17 Thread Marcos Douglas
; pdf.AddPage; pdf.AddObject(VLabel); pdf.AddObject(VMemo); pdf.AddObject(VImage); pdf.Print('print.pdf'); // or pdf.Print to print as DataURI Why jsPDF and no FPDF (https://github.com/jepafi/Free-JPDF-Pascal)? Marcos Douglas PS: or my fork https://github.com/mdbs99/Free-JPDF-Pascal

Re: [Lazarus] [ISSUE] FCL-Web and LazReport

2013-01-17 Thread Marcos Douglas
documentations and another more pascal-stylish. https://github.com/mdbs99/Free-JPDF-Pascal Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] [ISSUE] FCL-Web and LazReport

2013-01-17 Thread Marcos Douglas
On Thu, Jan 17, 2013 at 9:07 AM, Michael Van Canneyt mich...@freepascal.org wrote: On Thu, 17 Jan 2013, Marcos Douglas wrote: On Thu, Jan 17, 2013 at 7:52 AM, silvioprog silviop...@gmail.com wrote: 2013/1/17 Michael Van Canneyt mich...@freepascal.org On Thu, 17 Jan 2013, Sven Barth

Re: [Lazarus] [ISSUE] FCL-Web and LazReport

2013-01-17 Thread Marcos Douglas
. Nice! Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] LazReport: printing on the next page, using stretch and breaked band

2013-01-08 Thread Marcos Douglas
On Tue, Jan 8, 2013 at 2:50 PM, Jesus Reyes jesus...@yahoo.com.mx wrote: --- El lun 7-ene-13, Marcos Douglas m...@delfire.net escribió: De: Marcos Douglas m...@delfire.net Asunto: Re: [Lazarus] LazReport: printing on the next page, using stretch and breaked band A: Lazarus mailing list

Re: [Lazarus] LazReport: printing on the next page, using stretch and breaked band

2013-01-07 Thread Marcos Douglas
On Sat, Dec 15, 2012 at 4:28 PM, Marcos Douglas m...@delfire.net wrote: On Sat, Dec 15, 2012 at 4:02 PM, Jesus Reyes jesus...@yahoo.com.mx wrote: --- El sáb 15-dic-12, Marcos Douglas m...@delfire.net escribió: De: Marcos Douglas m...@delfire.net Asunto: Re: [Lazarus] LazReport: printing

Re: [Lazarus] LazReport: printing on the next page, using stretch and breaked band

2013-01-07 Thread Marcos Douglas
On Sat, Dec 15, 2012 at 4:28 PM, Marcos Douglas m...@delfire.net wrote: On Sat, Dec 15, 2012 at 4:02 PM, Jesus Reyes jesus...@yahoo.com.mx wrote: --- El sáb 15-dic-12, Marcos Douglas m...@delfire.net escribió: De: Marcos Douglas m...@delfire.net Asunto: Re: [Lazarus] LazReport: printing

Re: [Lazarus] LazReport: printing on the next page, using stretch and breaked band

2013-01-07 Thread Marcos Douglas
On Mon, Jan 7, 2013 at 6:25 PM, Jesus Reyes jesus...@yahoo.com.mx wrote: --- El lun 7-ene-13, Marcos Douglas m...@delfire.net escribió: Jesus, Do you need more information or tests to finish this bug? Best regards, Marcos Douglas No, I'm in the process of testing the fix, will commit

Re: [Lazarus] install question from hfiandor 08 jan 2013

2013-01-07 Thread Marcos Douglas
. Maybe it is a question of primary school, but I don't know. thanks in advance for your help, You should call the lazarus.exe using the prompt. This is a good idea create a BAT for it. Marcos Douglas -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] LazReport: printing on the next page, using stretch and breaked band

2012-12-15 Thread Marcos Douglas
On Sat, Dec 15, 2012 at 1:09 AM, waldo kitty wkitt...@windstream.net wrote: On 12/14/2012 13:17, Marcos Douglas wrote: On Fri, Dec 14, 2012 at 8:05 AM, Marcos Douglasm...@delfire.net wrote: Hi, I have a table with a memo field. I put a retangle with stretch property True; the band

Re: [Lazarus] Brook 1.0 - A new framework for web was born

2012-12-15 Thread Marcos Douglas
Souza, responsible for the documentation and the name of methods and properties. Thanks also for Marcos Douglas, the author of Greyhound, project wich started as an inspiration and finished as a valuable partner in the new web ways. Finally, I thank for the Free Pascal and Lazarus community

Re: [Lazarus] LazReport: printing on the next page, using stretch and breaked band

2012-12-15 Thread Marcos Douglas
On Sat, Dec 15, 2012 at 4:02 PM, Jesus Reyes jesus...@yahoo.com.mx wrote: --- El sáb 15-dic-12, Marcos Douglas m...@delfire.net escribió: De: Marcos Douglas m...@delfire.net Asunto: Re: [Lazarus] LazReport: printing on the next page, using stretch and breaked band A: Waldo Kitty wkitt

[Lazarus] LazReport: printing on the next page, using stretch and breaked band

2012-12-14 Thread Marcos Douglas
Hi, I have a table with a memo field. I put a retangle with stretch property True; the band is stretch and breaked property too. The question: If the info is bigger than a page, how the report can continue printing in the next page? Marcos Douglas

Re: [Lazarus] LazReport: printing on the next page, using stretch and breaked band

2012-12-14 Thread Marcos Douglas
On Fri, Dec 14, 2012 at 8:05 AM, Marcos Douglas m...@delfire.net wrote: Hi, I have a table with a memo field. I put a retangle with stretch property True; the band is stretch and breaked property too. The question: If the info is bigger than a page, how the report can continue printing

Re: [Lazarus] TStrings, Windows and Unicode

2012-10-24 Thread Marcos Douglas
On Wed, Oct 24, 2012 at 7:39 AM, Marc Weustink marc.weust...@cuperus.nl wrote: Howard Page-Clark wrote: On 24/10/12 2:25, Marcos Douglas wrote: In the example below, running on Windows: The name of file, after saved, is atenção.txt but the content is atenção. I understand the filename

Re: [Lazarus] TStrings, Windows and Unicode

2012-10-24 Thread Marcos Douglas
conversions. +1 Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] TStrings, Windows and Unicode

2012-10-24 Thread Marcos Douglas
On Wed, Oct 24, 2012 at 10:27 AM, Howard Page-Clark h...@talktalk.net wrote: On 24/10/12 12:40, Marcos Douglas wrote: Nope. A stringlist is not LCL and it does not expect anything but strings. I agree... If you write the contents of a stringlist to a file you get bytes you have put

Re: [Lazarus] TStrings, Windows and Unicode

2012-10-24 Thread Marcos Douglas
On Wed, Oct 24, 2012 at 11:24 AM, Luca Olivetti l...@wetron.es wrote: Al 24/10/2012 16:14, En/na Howard Page-Clark ha escrit: On 24/10/12 2:37, Marcos Douglas wrote: ...in my example I didn't do that and worked, why? I had not explained very well. When I said the file is Ok I mean

[Lazarus] TStrings, Windows and Unicode

2012-10-23 Thread Marcos Douglas
; begin lStrings := TStringList.Create; lStrings.Text := 'atenção'; lStrings.SaveToFile('c:\atenção.txt'); lStrings.Free; end; Thanks, Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

<    1   2   3   4   5   6   7   >