Re: [fpc-devel] Small Wstrings problem

2005-06-27 Thread Martin Schreiber
On Monday 27 June 2005 21.19, Florian Klaempfl wrote: > Maybe we should reconsider the idea of a new string type: ref. counting > and containing a field contain the encoding. The widestring is very > windows specific anyways. My needs (native pascal cross platform gui with design id, internal tex

Re: [fpc-devel] Small Wstrings problem

2005-06-27 Thread Florian Klaempfl
Martin Schreiber wrote: On Monday 27 June 2005 13.53, Florian Klaempfl wrote: That won't like people who count on delphi compatibility. Maybe we should make the widestring heap allocation through the widestring manager so heaptrace can hook it. Then the other way around, a new widestring w

Re: [fpc-devel] Small Wstrings problem

2005-06-27 Thread Martin Schreiber
On Monday 27 June 2005 13.53, Florian Klaempfl wrote: > That won't like people who count on delphi compatibility. Maybe we should > make the widestring heap allocation through the widestring manager so > heaptrace can hook it. Then the other way around, a new widestring which is reference counted

Re: [fpc-devel] Small Wstrings problem

2005-06-27 Thread Florian Klaempfl
Martin Schreiber wrote: > On Monday 27 June 2005 11.38, Peter Vreman wrote: > >>Move all FPC_CHECKPOINTER calls to a function tcg.maybe_checkpointer() >>that also requires a tdef as argument. Make an exception for >>tdef=widestring under windows. > > > Does it work with pwidechar(widestring) or

Re: [fpc-devel] Small Wstrings problem

2005-06-27 Thread Martin Schreiber
On Monday 27 June 2005 11.38, Peter Vreman wrote: > Move all FPC_CHECKPOINTER calls to a function tcg.maybe_checkpointer() > that also requires a tdef as argument. Make an exception for > tdef=widestring under windows. Does it work with pwidechar(widestring) or pwidechar(@widestring[index])? We sh

Re: [fpc-devel] Small Wstrings problem

2005-06-27 Thread Michael Van Canneyt
On Mon, 27 Jun 2005, Florian Klaempfl wrote: Martin Schreiber wrote: On Sunday 26 June 2005 20.07, Florian Klaempfl wrote: I didn't merge the widestring memory handling to fixes and it wasn't wrong to do so, see the current failures :) They don't work with checkpointer (see bug report 4

Re: [fpc-devel] Small Wstrings problem

2005-06-27 Thread Peter Vreman
> Martin Schreiber wrote: >> On Sunday 26 June 2005 20.07, Florian Klaempfl wrote: >> >> >>>I didn't merge the widestring memory handling to fixes and it wasn't >>>wrong to do so, see the current failures :) >> >> >> They don't work with checkpointer (see bug report 4125). > > Anybody a suggestion

Re: [fpc-devel] Small Wstrings problem

2005-06-27 Thread Florian Klaempfl
Martin Schreiber wrote: > On Sunday 26 June 2005 20.07, Florian Klaempfl wrote: > > >>I didn't merge the widestring memory handling to fixes and it wasn't >>wrong to do so, see the current failures :) > > > They don't work with checkpointer (see bug report 4125). Anybody a suggestion how we sh

Re: [fpc-devel] Small Wstrings problem

2005-06-26 Thread Martin Schreiber
On Sunday 26 June 2005 20.07, Florian Klaempfl wrote: > I didn't merge the widestring memory handling to fixes and it wasn't > wrong to do so, see the current failures :) They don't work with checkpointer (see bug report 4125). Martin ___ fpc-devel ma

Re: [fpc-devel] Small Wstrings problem

2005-06-26 Thread Florian Klaempfl
Michael Van Canneyt wrote: On Sun, 26 Jun 2005, Colin Western wrote: Thanks for fixing bug 4118. I had to apply the attached patch to get the current svn to compile under linux Thank you, applied the patch. (revision 507) (Core: original fix not yet merged to fix branch, please check).

Re: [fpc-devel] Small Wstrings problem

2005-06-26 Thread Michael Van Canneyt
On Sun, 26 Jun 2005, Colin Western wrote: > Thanks for fixing bug 4118. I had to apply the attached patch to get the > current svn to compile under linux Thank you, applied the patch. (revision 507) (Core: original fix not yet merged to fix branch, please check). Michael. __

[fpc-devel] Small Wstrings problem

2005-06-26 Thread Colin Western
Thanks for fixing bug 4118. I had to apply the attached patch to get the current svn to compile under linux Colin diff -uNr trunk/fpcsrc/rtl/inc/wstrings.inc trunk.w/fpcsrc/rtl/inc/wstrings.inc --- trunk/fpcsrc/rtl/inc/wstrings.inc 2005-06-26 09:39:22.0 +0100 +++ trunk.w/fpcsrc/rtl/inc/ws