Re: [lazarus]

2007-11-25 Thread Florian Klaempfl
Razvan Adrian Bogdan schrieb: BTW: Synapse has a unit with quite powerful conversion routines and handles most of the encodings without any support from iconv, i tested it and it's wonderful :) At first i was against UTF8 but now i understand it's power, UTF8 is small since most text is in

[lazarus] TTodoItem : Not found

2007-11-25 Thread Damien Gerard
In the last snapshot 20071125, I can not rebuild Lazarus (usin unicode support) under Win32. ide/tododlg.pas (57,38): Identifier not found TTodoItem -- Damien Gerard [EMAIL PROTECTED] _ To unsubscribe: mail [EMAIL

Re: [lazarus]

2007-11-25 Thread Felipe Monteiro de Carvalho
On Nov 25, 2007 10:12 AM, Florian Klaempfl [EMAIL PROTECTED] wrote: Only if you use latin characters, but the bigger part of people in the world use letter requiring 2-3 bytes in utf-8 but only 2 bytes in utf-16. So overall utf-16 would be the better choice. Chinese requires 2-4 bytes in

Re: [lazarus] Non UTF-8 Encodings

2007-11-25 Thread Vasily I. Volchenko
- When a TCodeBuffer loads a file it must find out the encoding, convert it to UTF-8 and on saving convert it back. OK, this patch may be a start. Course, lconv should be either extended or changed to something more suitable. Presenlty I am checking only the first line mycp.patch.gz

Re: [lazarus]

2007-11-25 Thread Marco Ciampa
On Sun, Nov 25, 2007 at 11:39:11AM +0100, Felipe Monteiro de Carvalho wrote: On Nov 25, 2007 10:12 AM, Florian Klaempfl [EMAIL PROTECTED] wrote: Only if you use latin characters, but the bigger part of people in the world use letter requiring 2-3 bytes in utf-8 but only 2 bytes in utf-16.

Re: [lazarus] TTodoItem : Not found

2007-11-25 Thread Damien Gerard
On Nov 25, 2007, at 11:31 AM, Damien Gerard wrote: In the last snapshot 20071125, I can not rebuild Lazarus (usin unicode support) under Win32. ide/tododlg.pas (57,38): Identifier not found TTodoItem I completely reinstall Lazarus and it works ... (remove all files then launch

Re: [lazarus] Non UTF-8 Encodings

2007-11-25 Thread Mattias Gaertner
On Sun, 25 Nov 2007 15:03:18 +0300 Vasily I. Volchenko [EMAIL PROTECTED] wrote: - When a TCodeBuffer loads a file it must find out the encoding, convert it to UTF-8 and on saving convert it back. OK, this patch may be a start. Course, lconv should be either extended or changed to something

Re: [lazarus] Non UTF-8 Encodings

2007-11-25 Thread Felipe Monteiro de Carvalho
On Nov 25, 2007 1:42 PM, Mattias Gaertner [EMAIL PROTECTED] wrote: Thanks. TStringlist is too slow and the conversion should not be part of codetools. The widgetsets have the best access to the system libs, so they have the best encoding converters. I can do that part. Isn't AnsiToUtf8

Re: [lazarus] TOpenGLContext (Author: Mattias Gaertner)

2007-11-25 Thread Lord Satan
On Sun, 25 Nov 2007 08:17:46 -0600 Marco Alvarado [EMAIL PROTECTED] wrote: Hello guys! I found this component, TOpenGLContext, and it seems to be what I'm looking for. The problem is I got it from the personal files of somebody:

Re: [lazarus] Non UTF-8 Encodings

2007-11-25 Thread Mattias Gaertner
On Sun, 25 Nov 2007 15:17:54 +0100 Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: On Nov 25, 2007 1:42 PM, Mattias Gaertner [EMAIL PROTECTED] wrote: Thanks. TStringlist is too slow and the conversion should not be part of codetools. The widgetsets have the best access to the system

Re: [lazarus] TTodoItem : Not found

2007-11-25 Thread Gerard N/A
You had me looking at it, thou.g _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Re: [lazarus] TTodoItem : Not found

2007-11-25 Thread Vincent Snijders
Gerard N/A schreef: You had me looking at it, thou.g It was probably caused by the extension change from .pp to pas in r13011, Damian had both the old .pp file and the new .pas file. The compiler prefers .pp files. Vincent _

Re: [lazarus] TOpenGLContext (Author: Mattias Gaertner)

2007-11-25 Thread Marco Alvarado
Oh, that's great. Thanks! 2007/11/25, Lord Satan [EMAIL PROTECTED]: On Sun, 25 Nov 2007 08:17:46 -0600 Marco Alvarado [EMAIL PROTECTED] wrote: Hello guys! I found this component, TOpenGLContext, and it seems to be what I'm looking for. The problem is I got it from the personal files of

Re: Re: [lazarus]

2007-11-25 Thread Vasily I. Volchenko
Besides, in current implementation UTF8 might have a disadvantage with 2-byte+ encodings. Those encodings are in WideString format, and conversion to old string can be done either automatically or via special procedures (as it seems to be on kylix). UTF8 is implemented as a string. It has some

Re: Re: [lazarus]

2007-11-25 Thread Felipe Monteiro de Carvalho
On Nov 25, 2007 6:04 PM, Vasily I. Volchenko [EMAIL PROTECTED] wrote: Besides, in current implementation UTF8 might have a disadvantage with 2-byte+ encodings. Those encodings are in WideString format, and conversion to old string can be done either automatically or via special procedures (as

Re: [lazarus] Mac OS X : Bitmap ScanLine....

2007-11-25 Thread Dominique Louis
Marc Weustink wrote: Should I define lRow as a PByteArray? In delphi mode, Yes. Unless you want to compile this in Delphi, there is no reason to use delphi mode. You can, if needed, use a different mode per unit. Hi Marc, Thanks for that and I'm a little bit further, but now get a crash.

Re: [lazarus] Mac OS X : Bitmap ScanLine....

2007-11-25 Thread wile64
Hi, I am not sure but this test. var BmpResult: TBitmap; begin ... ... BmpResult:=TBitmap.Create; BmpResult.LoadFromIntfImage( ScanLineImage ); -- Laurent. My Components: http://wiki.lazarus.freepascal.org/Wile64 French Forum : http://lazforum-fr.tuxfamily.org/index.php

Re: [lazarus] Mac OS X : Bitmap ScanLine....

2007-11-25 Thread wile64
Sorry, He's not finish I am not sure but this test. var BmpResult: TBitmap; begin ... ... BmpResult:=TBitmap.Create; BmpResult.LoadFromIntfImage( ScanLineImage ); Result:=BmpResult; ScanLineImage.Free; Not BmpResult.Free in function -- Laurent. My Components:

Re: [lazarus] Support for load and save PCX format (FPC team)

2007-11-25 Thread wile64
Small change for the loading of PCX Thanks, -- Laurent. My Components: http://wiki.lazarus.freepascal.org/Wile64 French Forum : http://lazforum-fr.tuxfamily.org/index.php { Copyright (C) 2007 Laurent Jacques This library is free software; you can redistribute it and/or modify it under the

Re: [lazarus] Mac OS X : Bitmap ScanLine....

2007-11-25 Thread Dominique Louis
Sorry I don't quite understand what you mean. Result is not freed in the function so the Bitmap should be fine. Please explain further. wile64 wrote: Sorry, He's not finish I am not sure but this test. var BmpResult: TBitmap; begin ... ... BmpResult:=TBitmap.Create;

Re: [lazarus] Mac OS X : Bitmap ScanLine....

2007-11-25 Thread wile64
2007/11/25, Dominique Louis [EMAIL PROTECTED]: Sorry I don't quite understand what you mean. Result is not freed in the function so the Bitmap should be fine. Please explain further. We need to create a function that returns a bitmap created by this or that it is necessary to create a

Re: [lazarus] Mac OS X : Bitmap ScanLine....

2007-11-25 Thread Dominique Louis
Yes in this case the function that calls CreateBitmap24 will take care of freeing the Bitmap. But this does not fix my original problem to do with the AV on line Result.LoadFromIntfImage( ScanLineImage ); Dominique. wile64 wrote: 2007/11/25, Dominique Louis [EMAIL PROTECTED] mailto:[EMAIL

Re: [lazarus] Mac OS X : Bitmap ScanLine....

2007-11-25 Thread wile64
2007/11/25, Dominique Louis [EMAIL PROTECTED]: Yes in this case the function that calls CreateBitmap24 will take care of freeing the Bitmap. But this does not fix my original problem to do with the AV on line Result.LoadFromIntfImage( ScanLineImage ); Dominique. Result does not exist, it

Re: [lazarus] Mac OS X : Bitmap ScanLine....

2007-11-25 Thread wile64
I say a mistake, sorry :) 2007/11/25, wile64 [EMAIL PROTECTED]: 2007/11/25, Dominique Louis [EMAIL PROTECTED]: Yes in this case the function that calls CreateBitmap24 will take care of freeing the Bitmap. But this does not fix my original problem to do with the AV on line

Re: [lazarus] Mac OS X : Bitmap ScanLine....

2007-11-25 Thread Dominique Louis
But the first 3 lines of the CreateBitmap24 function are begin Result := nil; Result := TBitmap.Create; // CREATED HERE! Result.PixelFormat := pf24bit; Result.Width := s_w; Result.Height := s_h; . . . end; wile64 wrote: 2007/11/25, Dominique Louis [EMAIL PROTECTED] mailto:[EMAIL

Re: [lazarus] Mac OS X : Bitmap ScanLine....

2007-11-25 Thread wile64
Did you test the example of lazarus in lazarus\example\scanline\bitmapscanline1.lpi see if it works ? Regards, -- Laurent. My Components: http://wiki.lazarus.freepascal.org/Wile64 French Forum : http://lazforum-fr.tuxfamily.org/index.php

Re: [lazarus] Google's Android OS :)

2007-11-25 Thread Marc Santhoff
Hi Willem, Am Freitag, den 23.11.2007, 10:19 +0100 schrieb willem: Pieter Valentijn wrote: Hi Willem Nice to see your from holland to. Im sure where all intrested in what ever you can produce. You seem to have a impressive ambition that is supporten by your experience. Sorry in my

[lazarus] FPC Lazarus wiki sites

2007-11-25 Thread Graeme Geldenhuys
Hi, I'm a bit confused with the domain names for the wiki site... Is wiki.freepascal.org now the same as wiki.lazarus.freepascal.org? eg: http://wiki.freepascal.org/SQLdb_Package http://wiki.lazarus.freepascal.org/SQLdb_Package Are these now the same. If I edit one, the changes will appear in

Re: [lazarus] FPC Lazarus wiki sites

2007-11-25 Thread Vincent Snijders
Graeme Geldenhuys schreef: Hi, I'm a bit confused with the domain names for the wiki site... Is wiki.freepascal.org now the same as wiki.lazarus.freepascal.org? eg: http://wiki.freepascal.org/SQLdb_Package http://wiki.lazarus.freepascal.org/SQLdb_Package Are these now the same. If I edit

Re: [lazarus] FPC Lazarus wiki sites

2007-11-25 Thread Graeme Geldenhuys
On 26/11/2007, Vincent Snijders [EMAIL PROTECTED] wrote: Yes. Since last februari. Oops! Shows you how I pay attention. :-) Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/

Re: [lazarus] Google's Android OS :)

2007-11-25 Thread willem
Marc Santhoff wrote: Hi Willem, Am Freitag, den 23.11.2007, 10:19 +0100 schrieb willem: Pieter Valentijn wrote: Hi Willem Nice to see your from holland to. Im sure where all intrested in what ever you can produce. You seem to have a impressive ambition that is supporten by your