Re: RE : [fpc-devel] Unicode support (yet again)

2011-09-17 Thread Flávio Etrusco
On Sat, Sep 17, 2011 at 10:59 AM, DaWorm wrote: > This might be total crap, so bear with me a moment,  In an object like > a Stringlist, there is a default property such as Strings, such that > List.Strings[1] is equivalent to List[1], is there not?  If, as in > .NET or Java, all strings become ob

Re: [fpc-devel] Unicode support (yet again)

2011-09-17 Thread Luiz Americo Pereira Camara
On 17/9/2011 11:46, Hans-Peter Diettrich wrote: Luiz Americo Pereira Camara schrieb: The codepage of a RawByteString at runtime will keep the previous CodePage (65001 for UTF8, 1200 for UTF16) as opposed to change to the RawbyteString CodePage (65535) as a though previously Delphi defines Ra

Re: [fpc-devel] ViewVC configuration

2011-09-17 Thread Flávio Etrusco
On Sat, Sep 17, 2011 at 5:55 AM, Michael Van Canneyt wrote: > > > On Fri, 16 Sep 2011, Flávio Etrusco wrote: > >> Hello, >> may the FreePascal's ViewVC installtion be configured to paginate log >> results? >> It's log_pagesize in viewvc.conf. > > I added the entry. But it's undocumented, so I'm no

Re: [fpc-devel] crash in heaptrc

2011-09-17 Thread Martin
On 17/09/2011 19:15, Jonas Maebe wrote: On 17 Sep 2011, at 16:41, Martin wrote: It happens when the lazarus IDE is compiled with both -gh and -gc -gc is a fairly flaky option and it can only be used if your entire application only consists of FPC code. In general, I would strongly recommend

Re: [fpc-devel] crash in heaptrc

2011-09-17 Thread Jonas Maebe
On 17 Sep 2011, at 16:41, Martin wrote: > It happens when the lazarus IDE is compiled with both -gh and -gc -gc is a fairly flaky option and it can only be used if your entire application only consists of FPC code. In general, I would strongly recommend against ever using it, because you'll

Re: [fpc-devel] which compile cmmand line switches imply debug info?

2011-09-17 Thread Jonas Maebe
On 17 Sep 2011, at 15:54, Martin wrote: > On 17/09/2011 14:43, Jonas Maebe wrote: >> >> The default debug format depends on the target platform. >> > Is there documentation anywhere? No. And the default can also change over time. Jonas ___ fpc-dev

[fpc-devel] crash in heaptrc

2011-09-17 Thread Martin
I get a crash in heaptrc. It happens when the lazarus IDE is compiled with both -gh and -gc. It is triggered by an error in lazarus (most likely), but IMHO should probably not crash (so it could of course be corruption by Lazarus) But first => Lazarus works fine with only -gh. As far as I know

Re: [fpc-devel] Unicode support (yet again)

2011-09-17 Thread Hans-Peter Diettrich
Luiz Americo Pereira Camara schrieb: The codepage of a RawByteString at runtime will keep the previous CodePage (65001 for UTF8, 1200 for UTF16) as opposed to change to the RawbyteString CodePage (65535) as a though previously Delphi defines RawByteString=AnsiString, so there is no room for U

Re: RE : [fpc-devel] Unicode support (yet again)

2011-09-17 Thread DaWorm
This might be total crap, so bear with me a moment, In an object like a Stringlist, there is a default property such as Strings, such that List.Strings[1] is equivalent to List[1], is there not? If, as in .NET or Java, all strings become objects, then you could have a String object whose default

Re: [fpc-devel] which compile cmmand line switches imply debug info?

2011-09-17 Thread Martin
On 17/09/2011 14:43, Jonas Maebe wrote: On 17 Sep 2011, at 15:39, Martin wrote: Does that mean -gh does add debug info? As the compiler help specifies, -g enables debug information. -gh is the same as -g -gh. You can use -g-h to enable heaptrc without debug information. thanks for the tip

Re: [fpc-devel] which compile cmmand line switches imply debug info?

2011-09-17 Thread Jonas Maebe
On 17 Sep 2011, at 15:39, Martin wrote: > Does that mean -gh does add debug info? As the compiler help specifies, -g enables debug information. -gh is the same as -g -gh. You can use -g-h to enable heaptrc without debug information. > (stabs, unless others specified)? The default debug forma

Re: [fpc-devel] which compile cmmand line switches imply debug info?

2011-09-17 Thread Martin
On 17/09/2011 14:36, Florian Klämpfl wrote: Am 17.09.2011 11:58, schrieb Martin: For lineinfo, I assume yes, since the unit has nothing to report on if not. heaptrc could live without, couldn't it? Yes, in this case just add the heaptrc unit to the uses clause. Does that mean -gh does add d

Re: [fpc-devel] which compile cmmand line switches imply debug info?

2011-09-17 Thread Florian Klämpfl
Am 17.09.2011 11:58, schrieb Martin: > > For lineinfo, I assume yes, since the unit has nothing to report on if not. > > heaptrc could live without, couldn't it? Yes, in this case just add the heaptrc unit to the uses clause. ___ fpc-devel maillist -

Re: [fpc-devel] TField.Validate in FPC 2.6

2011-09-17 Thread Marco van de Voort
In our previous episode, Martin Schreiber said: > TField.SetData() in fixes_2_6 calls TField.Validate(). > 2.4.4 does not, trunk neither. > What are the plans for the upcoming release? Will FPC 2.6.0 call > TField.Validate() in TField.SetData()? It's on the list to be merged: http://www.stack.nl

[fpc-devel] which compile cmmand line switches imply debug info?

2011-09-17 Thread Martin
Before I go and test each of them myself, maybe someone already has the answer? if using swithches like -gl (lineinfo) -gh (heaptrc) -gv (valgrind) -pg (GProf) do they automatically add debug info (stabs if no other specified)? or do only the -g? do that For lineinfo, I assume yes, sin

Re: [fpc-devel] TField.Validate in FPC 2.6

2011-09-17 Thread Joost van der Sluis
On Sat, 2011-09-17 at 10:56 +0200, Michael Van Canneyt wrote: > > On Sat, 17 Sep 2011, Martin Schreiber wrote: > > > Hi, > > TField.SetData() in fixes_2_6 calls TField.Validate(). > > 2.4.4 does not, trunk neither. > > Strange that 2.6 does this if trunk does not ? > > > What are the plans for

Re: [fpc-devel] TField.Validate in FPC 2.6

2011-09-17 Thread Michael Van Canneyt
On Sat, 17 Sep 2011, Martin Schreiber wrote: Hi, TField.SetData() in fixes_2_6 calls TField.Validate(). 2.4.4 does not, trunk neither. Strange that 2.6 does this if trunk does not ? What are the plans for the upcoming release? Will FPC 2.6.0 call TField.Validate() in TField.SetData()? It

Re: [fpc-devel] ViewVC configuration

2011-09-17 Thread Michael Van Canneyt
On Fri, 16 Sep 2011, Flávio Etrusco wrote: Hello, may the FreePascal's ViewVC installtion be configured to paginate log results? It's log_pagesize in viewvc.conf. I added the entry. But it's undocumented, so I'm not sure if it will have any effect. Michael._

RE : [fpc-devel] Unicode support (yet again)

2011-09-17 Thread Ludo Brands
> > >>Having UTF-16 RTL might help them in a sense they they will never > >>have to learn, until they deal with characters > >>outside of the BMP. > > > >moew old school stuff here... a BMP is a windows style graphic... > >what are you guys calling a BMP??? > > ROTFLMAO!!! > LMGTFY: "Basic Multil