Re: [fpc-devel] [PATCH] XMLCFG AnsiString<>DOMString conversion

2010-11-05 Thread Felipe Monteiro de Carvalho
On Fri, Nov 5, 2010 at 6:15 PM, Dariusz Mazur wrote: > I say wrong: how to change code page used to implicit conversion > ansistring<-> wide string Use the appropriate conversion routine instead, and avoid implicit conversions for they are not reliable. -- Felipe Monteiro de Carvalho __

Re: [fpc-devel] Problem reading pgm image

2010-11-05 Thread Leonardo M . Ramé
I filled a bug report about this here: http://bugs.freepascal.org/view.php?id=17840 Leonardo M. Ramé http://leonardorame.blogspot.com ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

Re: [fpc-devel] [PATCH] XMLCFG AnsiString<>DOMString conversion

2010-11-05 Thread Dariusz Mazur
W dniu 2010-11-05 11:52, Felipe Monteiro de Carvalho pisze: On Thu, Nov 4, 2010 at 7:51 PM, Dariusz Mazur wrote: then I have a question : how to change current code page I say wrong: how to change code page used to implicit conversion ansistring<-> wide string You shouldn't. If you want to c

Re: [fpc-devel] memleak in pascal parser

2010-11-05 Thread Michael Van Canneyt
On Fri, 5 Nov 2010, Vincent Snijders wrote: Hi, I am trying to fix the memleaks in fpdoc. Attached is a patch for pascal parser package. There are still more leaks, but that is for another time. Thank you. Applied in rev. 16306. Michael. ___ fpc

[fpc-devel] memleak in pascal parser

2010-11-05 Thread Vincent Snijders
Hi, I am trying to fix the memleaks in fpdoc. Attached is a patch for pascal parser package. There are still more leaks, but that is for another time. Vincent Index: packages/fcl-passrc/src/pastree.pp === --- packages/fcl-passrc/src

[fpc-devel] Problem reading pgm image

2010-11-05 Thread Leonardo M . Ramé
Hi, I'm loading PGM files to a TImage.Picture using its LoadFromFile or LoadFromStream methods. This works well on small to medium sized images, but I'm getting an "EReadErrorEReadError" exception if I try to load images of 16mb or more. After debugging this, I stopped at fpreadpnm.pp, in this m

RE: Re: Re: [fpc-devel] fcl-image lacking brush and pen?

2010-11-05 Thread Birger Jansen
> TCanvas from the LCL? AFAIK the standard brush style is already bsSolid there. > > -- > Felipe Monteiro de Carvalho Sorry, you are right. I looked at the wrong piece of code (TCanvas.DoCreateDefaultBrush in canvas.inc). It seems the problem I'm having with 'empty' rectangles is in some Delphi

Re: Re: [fpc-devel] fcl-image lacking brush and pen?

2010-11-05 Thread Felipe Monteiro de Carvalho
On Fri, Nov 5, 2010 at 12:17 PM, Birger Jansen wrote: > Any chance this will also be changed in TCanvas, which has the same confusing > issue? TCanvas from the LCL? AFAIK the standard brush style is already bsSolid there. -- Felipe Monteiro de Carvalho _

RE: Re: [fpc-devel] fcl-image lacking brush and pen?

2010-11-05 Thread Birger Jansen
-Oorspronkelijk bericht- Van: Felipe Monteiro de Carvalho Verzonden: do 04-11-2010 18:11 Aan: FPC developers' list ; Onderwerp: Re: [fpc-devel] fcl-image lacking brush and pen? > I changed the default value of the brush to bsSolid. This should avoid > some confusion in the long term. An

RE: Re: [fpc-devel] Another question about class vars

2010-11-05 Thread Birger Jansen
> Please test r16302. > > Best regards, > Paul Ishenin. Yes, fixed! Thank you very much. Kind regards, Birger ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

Re: [fpc-devel] [PATCH] XMLCFG AnsiString<>DOMString conversion

2010-11-05 Thread Felipe Monteiro de Carvalho
On Thu, Nov 4, 2010 at 7:51 PM, Dariusz Mazur wrote: > then I have a question : how to change current code page You shouldn't. If you want to convert between code pages, then the Lazarus conversion code should be copied to FPC: http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/lcl/lconvencoding

Re: [fpc-devel] [PATCH] XMLCFG AnsiString<>DOMString conversion

2010-11-05 Thread Sven Barth
Am 04.11.2010 16:55, schrieb Dariusz Mazur: Today also. All nonasci charracter are translate to '?' during reading (implicit conversion widestring>ansistring). On other side in XML should not be not asci char I don't know if you meant it that way (if not, you are free to ignore what I write he