Re: [fpc-devel] ptop

2005-03-10 Thread Michael Van Canneyt
On Thu, 10 Mar 2005, Jan Ruzicka wrote: Hi, is anybody interested in changed ptop? My version now has capability of a dictionary. Capitalization can be specified as wild as desired, words can even be changed completely. It is at http://cvs.sourceforge.net/viewcvs.py/alab/alab/tools/ Can we integ

Re: [fpc-devel] Compiling error: Invalid Floating point operation

2005-03-10 Thread Vincent Snijders
SteveG wrote: Happens on XPPro SP2 Pentium 4 3G as well Florian Klaempfl wrote: Vincent Snijders wrote: [EMAIL PROTECTED] wrote: Compiling current cvs version on Windows XP (cpu Athlon XP 1800) give me Invalid Floating point operation in /rtl/objpas/sysutils/sysstrh.inc 49: I fixed it decreasing M

Re: [fpc-devel] utf8 reading

2005-03-10 Thread Tomas Hajny
On Thu, 10 Mar 2005 08:43:07 +0100, Florian Klaempfl wrote > Uberto Barbini wrote: > > What would be the correct solution? > >>> > >>>I am showing my ignorance of multi byte characater handling here, but > >>>I think it would be to write an escaped sequence as is currently done > >>>for wide s

Re: [fpc-devel] Compiling error: Invalid Floating point operation

2005-03-10 Thread Florian Klaempfl
Vincent Snijders wrote: SteveG wrote: Happens on XPPro SP2 Pentium 4 3G as well Florian Klaempfl wrote: Vincent Snijders wrote: [EMAIL PROTECTED] wrote: Compiling current cvs version on Windows XP (cpu Athlon XP 1800) give me Invalid Floating point operation in /rtl/objpas/sysutils/sysstrh.inc 49:

RE: [fpc-devel] Compiling error: Invalid Floating point operation

2005-03-10 Thread Marc Weustink
>Vincent Snijders wrote: > >> >> Index: fpc-1.9/rtl/win32/sysutils.pp >> === >> RCS file: /FPC/CVS/fpc/rtl/win32/sysutils.pp,v >> retrieving revision 1.43 >> diff -u -r1.43 sysutils.pp >> --- fpc-1.9/rtl/win32/sysutils.pp2 Mar 200

Re: [fpc-devel] utf8 reading

2005-03-10 Thread Uberto Barbini
> > utf-8 is a unicode string. What do you mean with "not escaped" > > Unicode? Memory wasting utf-32? > > I'd see UCS2/UCS4 as not escaped Unicode. Exactly. I think that UCS2 will suffice to everyone not interested in Vogon poetry! ;)) This means to have 2 byte chars and related strings, all stri

Re: [fpc-devel] Compiling error: Invalid Floating point operation

2005-03-10 Thread Vincent Snijders
Marc Weustink wrote: Vincent Snijders wrote: Index: fpc-1.9/rtl/win32/sysutils.pp === RCS file: /FPC/CVS/fpc/rtl/win32/sysutils.pp,v retrieving revision 1.43 diff -u -r1.43 sysutils.pp --- fpc-1.9/rtl/win32/sysutils.pp 2 Mar 200

Re: [fpc-devel] utf8 reading

2005-03-10 Thread Florian Klaempfl
Uberto Barbini wrote: utf-8 is a unicode string. What do you mean with "not escaped" Unicode? Memory wasting utf-32? I'd see UCS2/UCS4 as not escaped Unicode. Exactly. I think that UCS2 will suffice to everyone not interested in Vogon poetry! ;)) This means to have 2 byte chars and related strings

Re: [fpc-devel] Compiling error: Invalid Floating point operation

2005-03-10 Thread Uberto Barbini
> The call to GetSystemMetrics changes the FPU control word from $1372 to > $1272, i.e. the Rounding precision is changed from extended to double. > > In the attached patch I set it back to the original value. Now I can build > a new compiler again. :-) It doesn't work here. I've not swapped the c

Re: [fpc-devel] utf8 reading

2005-03-10 Thread Uberto Barbini
> UCS-2 or UTF-16 how it called by the unicode consortium is "escaped" as > well and you've to take care of it in your code. mmh, no. UCS-2 is different from utf-16 (which is escaped), but you cannot represent all utf characters (see the case of Vogon poetry). See: http://www.uazone.com/multil

RE: [fpc-devel] utf8 reading

2005-03-10 Thread Marc Weustink
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Uberto Barbini Sent: donderdag 10 maart 2005 19:30 > >> UCS-2 or UTF-16 how it called by the unicode consortium is "escaped" as >> well and you've to take care of it in your code. > >mmh, no. yes :) >UCS-2 is different from utf-16 (which

Re: [fpc-devel] utf8 reading

2005-03-10 Thread Florian Klaempfl
Marc Weustink wrote: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Uberto Barbini Sent: donderdag 10 maart 2005 19:30 UCS-2 or UTF-16 how it called by the unicode consortium is "escaped" as well and you've to take care of it in your code. mmh, no. yes :) UCS-2 is different from utf-

Re: [fpc-devel] utf8 reading

2005-03-10 Thread Uberto Barbini
> >UCS-2 is different from utf-16 (which is escaped), > > nope. UCS originally wasn't escaped, but they changed that "recently" Could you point me to a official document? In the Unicode site I don't find anything. Anyway with escaping UCS2 when UCS2 definition is utf-16 without encoding? Bye Ube

Re: [fpc-devel] utf8 reading

2005-03-10 Thread Uberto Barbini
On Thursday 10 March 2005 19:51, Uberto Barbini wrote: > > >UCS-2 is different from utf-16 (which is escaped), > > > > nope. UCS originally wasn't escaped, but they changed that "recently" > > Could you point me to a official document? > In the Unicode site I don't find anything. > Anyway with esca

Re: [fpc-devel] Compiling error: Invalid Floating point operation

2005-03-10 Thread Florian Klaempfl
Vincent Snijders wrote: SteveG wrote: Happens on XPPro SP2 Pentium 4 3G as well Florian Klaempfl wrote: Vincent Snijders wrote: [EMAIL PROTECTED] wrote: Compiling current cvs version on Windows XP (cpu Athlon XP 1800) give me Invalid Floating point operation in /rtl/objpas/sysutils/sysstrh.inc 49:

Re: [fpc-devel] Compiling error: Invalid Floating point operation

2005-03-10 Thread Uberto Barbini
On Thursday 10 March 2005 19:17, Uberto Barbini wrote: > > The call to GetSystemMetrics changes the FPU control word from $1372 to > > $1272, i.e. the Rounding precision is changed from extended to double. > > > > In the attached patch I set it back to the original value. Now I can > > build a new

Re: [fpc-devel] utf8 reading

2005-03-10 Thread C Western
This discussion has inspired me to think a little more about what should be done in this specfic context, and I think the attached patch should do it. It is a more drastic patch than the previous one, and I don't have any widestring test material, but it passes some simple tests. I have copied

[fpc-devel] TStrings.CheckSpecialChars broken

2005-03-10 Thread Marc Weustink
Hi, The TStrings.CheckSpecialChars is missing a not. Now the special chars are never initialized :( Marc Index: stringl.inc === RCS file: /FPC/CVS/fpc/rtl/objpas/classes/stringl.inc,v retrieving revision 1.9 diff -r1.9 stringl.inc 50

Re: [fpc-devel] TStrings.CheckSpecialChars broken

2005-03-10 Thread Michael . VanCanneyt
On Thu, 10 Mar 2005, Marc Weustink wrote: > Hi, > > The TStrings.CheckSpecialChars is missing a not. Now the special chars are > never initialized :( Applied, thanks ! Michael. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.