Re: [fpc-pascal] Shared library with resources which contain bitmaps on Linux -- second try

2008-07-02 Thread Giulio Bernardi
I'm sorry to say that at the moment, there is no support for resources in shared libraries in 2.3.1 on non-windows targets: that is, you can only embed resources in the program that uses them. It is planned though. bye Giulio ___ fpc-pascal maillist

Re: [fpc-pascal] Unicode file routines proposal

2008-07-02 Thread Martin Schreiber
On Wednesday 02 July 2008 12.44:46 Mattias Gärtner wrote: > > > I don't see how this have a big impact on the performance. > > > > The code is complicated enough, don't you think? ;-) > > Ah, sorry, now I understand. > You meant, the performance penalty of the *programmer* is not negligible > compa

Re: [fpc-pascal] Unicode file routines proposal

2008-07-02 Thread Mattias Gärtner
Zitat von Martin Schreiber <[EMAIL PROTECTED]>: > On Wednesday 02 July 2008 11.08:31 Mattias Gärtner wrote: > > Zitat von Martin Schreiber <[EMAIL PROTECTED]>: > > > For example lib/common/kernel/msedrawtext.pas:223, procedure layouttext. > > > > Nice code. > > As far as I can see, it handles tabs

Re: [fpc-pascal] Unicode file routines proposal

2008-07-02 Thread Martin Schreiber
On Wednesday 02 July 2008 11.08:31 Mattias Gärtner wrote: > Zitat von Martin Schreiber <[EMAIL PROTECTED]>: > > For example lib/common/kernel/msedrawtext.pas:223, procedure layouttext. > > Nice code. > As far as I can see, it handles tabs, linebreaks, c_softhyphen and > charwidth. It uses single ar

Re: [fpc-pascal] Unicode file routines proposal

2008-07-02 Thread Mattias Gärtner
Zitat von Martin Schreiber <[EMAIL PROTECTED]>: > On Wednesday 02 July 2008 09.32:17 Mattias Gaertner wrote: > > On Tue, 1 Jul 2008 18:55:44 +0200 > > > > Martin Schreiber <[EMAIL PROTECTED]> wrote: > > > On Tuesday 01 July 2008 18.32:30 Mattias Gärtner wrote: > > > > > In this routines length(wi

Re: [fpc-pascal] Unicode file routines proposal

2008-07-02 Thread Martin Schreiber
On Wednesday 02 July 2008 09.32:17 Mattias Gaertner wrote: > On Tue, 1 Jul 2008 18:55:44 +0200 > > Martin Schreiber <[EMAIL PROTECTED]> wrote: > > On Tuesday 01 July 2008 18.32:30 Mattias Gärtner wrote: > > > > In this routines length(widestring), widestring[index], > > > > pwidechar^, pwidechar[in

Re: Summary on Re: [fpc-pascal] Unicode file routines proposal

2008-07-02 Thread Marco van de Voort
> Florian Klaempfl wrote: > > [..some of my thoughts..] > > this suits a construct I saw somewhere: > > type >SomeString = type String(CP_KOI8); This isn't the case with florian's type?. Because the first copy from a source with an other encoding would force it to the encoding of the source

Re: [fpc-pascal] Unicode file routines proposal

2008-07-02 Thread Mattias Gaertner
On Tue, 1 Jul 2008 18:55:44 +0200 Martin Schreiber <[EMAIL PROTECTED]> wrote: > On Tuesday 01 July 2008 18.32:30 Mattias Gärtner wrote: > > > > > > In this routines length(widestring), widestring[index], > > > pwidechar^, pwidechar[index], pwidechar + offset, pwidechar - > > > pwidechar and inc(pw