Re: [fpc-pascal] Re: Is this if /else syntax wrong?

2010-07-01 Thread Mattias Gärtner
Zitat von Frank Church : I will be upgrading to 2.4.0 soon. It shouldn't be an error then. 2010/7/1 Guillermo Martínez Jiménez > procedure TfrmHometel.SetSplitterSizes; > var > i: integer; > begin > for i:=3D 0 to ComponentCount - 1 do > begin > if Components[i] is TSplitter then > b

Re: [fpc-pascal] Unicode characters in source code

2010-04-21 Thread Mattias Gärtner
Zitat von Tomas Hajny : On Wed, April 21, 2010 10:47, ik wrote: Hi, If I want to use Unicode characters in my source code, but without actually typing in the Unicode character - I rather want to define it similar to ASCII chars or Hex values: eg: Char(65)or 'test'+#65+'me' or si

Re: [fpc-pascal] Lazarus Snapshots Intel Mac with FPC 2.4.1?

2010-04-19 Thread Mattias Gärtner
Zitat von Jonas Maebe : On 19 Apr 2010, at 15:23, Tobias Giesen wrote: Which bugs? I'm sorry but it was a few months ago. Before trying again I wanted to make sure I had the best version of FPC available. I had problems with units not being found although they were on the search path allrig

Re: [fpc-pascal] Creating text files with TFileStream

2009-10-23 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys : 2009/10/23 Graeme Geldenhuys : Did you try writing with WriteBuffer(Atext[1], length(AText)? That works exactly like I intended. Thanks Gerard. I spoke to soon! :-( I can view the resulting output.txt file with Midnight Commander (Linux console file manager)

Re: [fpc-pascal] Illogical automatic dereferencing

2009-10-13 Thread Mattias Gärtner
Zitat von Florian Klaempfl : Jürgen Hestermann schrieb: Yes, but you cannot avoid it, if you work with dynamic arrays. You are not even told that it's a pointer. That's just the problem. Same for classes and strings. Classes are pointers and I'm happy that I can write A.B instead of A^.B.

Re: [fpc-pascal] Who said Pascal isn't popular

2009-10-12 Thread Mattias Gärtner
Zitat von Rainer Stratmann : Am Montag, 12. Oktober 2009 11:02 schrieb Jürgen Hestermann: > Remember, Pascal is merely a TEACHING language, unsuitable for commercial > software development, which is why we have C. :) And why should that be the case? What are the outstanding feature of C that

Re: [fpc-pascal] How to free this memory and avoid memory leak

2009-10-08 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys : [...] * ntoc = number of entries in the array. Each entry is a LongWord (or Int32 in the code below) * tocarray is my local array that gets populated with information from the file, using the Move() procedure. * tocoffsetsstart is the starting offset of the TOC arr

Re: [fpc-pascal] Why is cthreads unit not included by default

2009-08-27 Thread Mattias Gärtner
Zitat von Henry Vermaak : 2009/8/27 Graeme Geldenhuys : Michael Van Canneyt wrote: Why is threading enabled by default under Windows and not under other platforms? Because it creates a dependency on the C library, which is not always wanted. For Lazarus programs, the dependency exists anyway

Re: [fpc-pascal] Switch Endian

2009-08-21 Thread Mattias Gärtner
Zitat von luca_mangane...@comune.trento.it: Hi, there's a pascal function to switch endian (for a 32 bit integer)? Note that it should work on 64 bit systems... There are many in the system unit: SwapEndian leton beton Mattias ___ fpc-pascal mai

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Mattias Gärtner
Zitat von Zaher Dirkey : Hi, - "Use setup to define the link", i am compile Lazarus from the source not install the by setup. Is it bad idea to make Lazarus read ini/config file in same Lazarus dir, if the file exists then read the path to config directory from it, if not leave Lazarus as is.

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Mattias Gärtner
Zitat von Florian Klaempfl : Mattias Gärtner schrieb: Zitat von Florian Klaempfl : [...] A network file system is too slow for developing. Compiling anything via nfs or smb is a nightmare speedwise. NFS over gigabit is not that bad. For example compiling 94k lines of codetools on a

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Mattias Gärtner
Zitat von Florian Klaempfl : Mattias Gaertner schrieb: On Thu, 16 Jul 2009 10:30:23 +0200 Jürgen Hestermann wrote: Jürgen Hestermann, how often do you change your working machine? Well, I seldom change it [...] If I log off, the local profile is saved (partely) to the (Novell) home dir and

Re: [fpc-pascal] GetPropValue and Unknown property

2009-06-23 Thread Mattias Gärtner
Zitat von "Leonardo M. Ramé" : How are you filling the ASortProps array? if it is by hand, you have to take care of Case Sensitivity of property names. You can use this function to know the published properties of any class. Try it inside your DoCompareProps, passing TFTPListRec(AItem

Re: [fpc-pascal] fpmake: output directories

2009-06-02 Thread Mattias Gärtner
Zitat von Michael Van Canneyt : On Tue, 2 Jun 2009, Michael Van Canneyt wrote: On Tue, 2 Jun 2009, Vincent Snijders wrote: Michael Van Canneyt schreef: On Mon, 1 Jun 2009, Mattias Gaertner wrote: Hi fpmake devels, fpmake uses as ppu output directory for example: units/i386-linux/ A

Re: [fpc-pascal] fpmake dependencies

2009-04-14 Thread Mattias Gärtner
Zitat von Michael Van Canneyt : >[...] > > The single parameter Options is a show stopper for the LCL, because I use > often > > flags like -gh plus a few -d flags for the experimental features. > > I understand. > Maybe we should change it to tstrings, and say that there should be one > option pe

Re: [fpc-pascal] fpmake dependencies

2009-04-14 Thread Mattias Gärtner
Zitat von Michael Van Canneyt : >[...] > > Hint: File "units/i386-darwin/allcodetoolunits.o" was already deleted > > It should maybe be reduced to a debug message, just to see what the > clean command is actually trying to do. I created a bug report. > > > > > > Is there a tool to create them a

Re: [fpc-pascal] fpmake dependencies

2009-04-14 Thread Mattias Gärtner
Zitat von Michael Van Canneyt : >[...] > > On Tue, 14 Apr 2009, Mattias Gärtner wrote: > > > Zitat von Michael Van Canneyt : > > > > > > On Tue, 14 Apr 2009, Mattias Gärtner wrote: > > > > > > > > I saw that the fpmake programs of the fpc sources contain the > unit/include > > > file > > > > d

Re: [fpc-pascal] fpmake dependencies

2009-04-14 Thread Mattias Gärtner
Zitat von Michael Van Canneyt : > > > On Tue, 14 Apr 2009, Mattias Gärtner wrote: > > > > > I saw that the fpmake programs of the fpc sources contain the unit/include > file > > dependencies. > > Why? > > (fpc finds the unit/include file dependencies automatically.) > > For the zip archive creati

Re: [fpc-pascal] fpmake custom options

2009-04-14 Thread Mattias Gärtner
Zitat von Vincent Snijders : > Mattias Gärtner schreef: > > Is the tracker online? I can't reach it. > > I can reach it without problems. I can reach it only every third reload. I created the bug report. Mattias ___ fpc-pas

Re: [fpc-pascal] fpmake custom options

2009-04-14 Thread Mattias Gärtner
Zitat von Michael Van Canneyt : >[...] > > > > I tried a simple example: > > > > T.Options:='-gl -vh'; >[...] > Please do, that way it won't be forgotten. Is the tracker online? I can't reach it. Mattias ___ fpc-pascal maillist - fpc-pascal@lists

Re: [fpc-pascal] fpmake custom options

2009-04-14 Thread Mattias Gärtner
Zitat von Michael Van Canneyt : > > > On Tue, 14 Apr 2009, Mattias Gärtner wrote: > > > How to add custom options? > > > > The wiki of fpmake gives: > > T.Options:= '-dSOMEDEFINE'; > > T.Options:= T.Options + ' -xyzAnythingYouNeed'; > > > > I tried a simple example: > > T.Options:='-gl -vh'

Re: [fpc-pascal] fpmake unit output directory

2009-04-14 Thread Mattias Gärtner
Zitat von Michael Van Canneyt : > > > On Tue, 14 Apr 2009, Mattias Gärtner wrote: > > > How can I change the unit output directory in fpmake? > > You are not supposed to do so. > > You can only set the install dir. Ok. I thought so looking at the code. I will add that to the wiki. Mattias ___

[fpc-pascal] fpmake custom options

2009-04-14 Thread Mattias Gärtner
How to add custom options? The wiki of fpmake gives: T.Options:= '-dSOMEDEFINE'; T.Options:= T.Options + ' -xyzAnythingYouNeed'; I tried a simple example: T.Options:='-gl -vh'; And I got: Executing command "/usr/local/bin/fpc -Tdarwin -FUunits/i386-darwin -Fu/usr/local/lib/fpc/2.2.4/units/

[fpc-pascal] fpmake dependencies

2009-04-14 Thread Mattias Gärtner
I saw that the fpmake programs of the fpc sources contain the unit/include file dependencies. Why? (fpc finds the unit/include file dependencies automatically.) Is there a tool to create them automatically? Can I use file masks? Mattias ___ fpc-pasca

[fpc-pascal] fpmake unit output directory

2009-04-14 Thread Mattias Gärtner
How can I change the unit output directory in fpmake? Mattias ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Generating code form xmi files

2009-04-03 Thread Mattias Gärtner
Zitat von Michael Van Canneyt : > > > On Fri, 3 Apr 2009, Graeme Geldenhuys wrote: > > > On Thu, Apr 2, 2009 at 10:05 PM, Philippe Martinole > > wrote: > > > > > > xmi files (not xml) are used to save uml models : > > > http://en.wikipedia.org/wiki/XML_Metadata_Interchange > > > and I want to ger

Re: [fpc-pascal] Lazarus Resource...

2009-01-27 Thread Mattias Gärtner
Zitat von "papelhigien...@gmail.com" : > Hi all! > > An stupid question... A resource file (lrs) can have 2 resources with the > same name? The last counts. Which means: no. Mattias ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://li

Re: [fpc-pascal] Profiling

2009-01-27 Thread Mattias Gärtner
Zitat von Jonas Maebe : > > On 26 Jan 2009, at 22:49, Mattias Gaertner wrote: > > > I need to profile lazarus applications under linux. > > I tried gprof, but it is broken since years and shows no record. > > Neither does the bug repository show any record of open bugs against - > pg on Linux. So

Re: [fpc-pascal] Unexpected duplicate identifiers

2008-12-22 Thread Mattias Gärtner
Zitat von Mark Morgan Lloyd : > dhkblas...@zeelandnet.nl wrote: > > >> FPC 2.2.0 is giving me duplicate identifier errors for "sort" and > >> "strings" above. > > > Add {$mode delphi} to the top of your unit. ObjFPC mode is more strict. > > Thanks, I think that fixes it although I'm still working

Re: [fpc-pascal] GetAppConfigDir but for temp data?

2008-12-03 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys <[EMAIL PROTECTED]>: > On Wed, Dec 3, 2008 at 6:56 PM, Mattias Gärtner > <[EMAIL PROTECTED]> wrote: > >> > >> :-) Like I said, Linux has a long way to go for desktop friendly apps. > > > > desktop friendly <> mono culture > > I don't understand? What I meant by "dekst

Re: [fpc-pascal] GetAppConfigDir but for temp data?

2008-12-03 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys <[EMAIL PROTECTED]>: > On Wed, Dec 3, 2008 at 6:36 PM, Michael Van Canneyt > <[EMAIL PROTECTED]> wrote: > > >> I don't know which applications actually adhere to these locations > >> though, but I'm willing to start. :-) > > > > On a KDE system: none. > > :-) Like I sa

Re: [fpc-pascal] fpImage resample via interpolation

2008-11-28 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys <[EMAIL PROTECTED]>: > On Fri, Nov 28, 2008 at 3:14 PM, Michael Van Canneyt > <[EMAIL PROTECTED]> wrote: > > > > On Thu, 27 Nov 2008, Mattias Gaertner wrote: > > > >> As far as I can see, fpImage has for StretchDraw only the > >> TMitchelInterpolation. > > > > This is n

[fpc-pascal] fpimage glow effect

2008-10-28 Thread Mattias Gärtner
How can I create a glow effect around text with fpimage? Mattias ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] How to auto create the $fpctarget directory

2008-10-01 Thread Mattias Gärtner
Zitat von Henry Vermaak <[EMAIL PROTECTED]>: > On 01/10/2008, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: > > Hi, > > > > How can I auto create the $fpctarget directory? Just specifying > > ../lib/$fpctarget/ and then compiling the project doesn't create the > > needed directory, and I get the f

Re: [fpc-pascal] DateTimeToFileDate

2008-09-12 Thread Mattias Gärtner
Zitat von Carsten Bager <[EMAIL PROTECTED]>: > When I do this > > Free Pascal Compiler version 2.2.2 [2008/07/29] for i386 Which OS? > - > Program tt; > uses dos, > sysutils; > > function strPackTime(t:longWord):shortstring; > var > dt:Datetime; > begin > UnpackTime(

Re: [fpc-pascal] Install FPC/Lazarus for Win CE

2008-09-10 Thread Mattias Gärtner
Zitat von Felipe Monteiro de Carvalho <[EMAIL PROTECTED]>: > Downloading the sources and building Lazarus is trivial. It requires > pasting 3 commands into the console: > > svn co http://svn.freepascal.org/svn/lazarus/trunk lazarus > cd lazarus > make bigide LCL_PLATFORM=carbon OPT="-k-framework

Re: [fpc-pascal] Installing on Mac OS X

2008-09-01 Thread Mattias Gärtner
Zitat von Paul <[EMAIL PROTECTED]>: > Ok, > > placing it all in the /Developer/ folder seems more logical to me. > FPC should do the same imho (for Mac OS X). I don't know. I have to read Mac guide lines and see how similar projects solved it. > Are you writing this installer or is this a joint

Re: [fpc-pascal] Installing on Mac OS X

2008-09-01 Thread Mattias Gärtner
Zitat von Paul <[EMAIL PROTECTED]>: > Ok Jonas, > > that solved at least a few items. > Lazarus is complaining about fpcsrc files, which I didn't install. > I installed FPC2.2.2 and Lazarus only. > So I guess I have to go and install the source now. FYI: I want to improve a few things in the laza

Re: [fpc-pascal] How do I add a TComponent to TPanel dynamically?

2008-08-26 Thread Mattias Gärtner
Zitat von Marco van de Voort <[EMAIL PROTECTED]>: > In our previous episode, Danie said: > > I hope this the right forum for this question (gtk on > > lazarus-0.9.24-1.fc8 rpm on fpc-2.2.0-10.fc8 rpm)(but I know there are > > people here that can help me %^). > > I would like to add a special TSha

Re: [fpc-pascal] Translate C to Pascal

2008-08-13 Thread Mattias Gärtner
Zitat von Vinzent Höfler <[EMAIL PROTECTED]>: > Mattias Gärtner wrote: > > Zitat von Vinzent Höfler <[EMAIL PROTECTED]>: > > > >> [...] > > a: record end; > >>> Thanks. I will use that. > >> What for? The C statement is empty, it's not a variable and not even a > >> type. So before tran

Re: [fpc-pascal] Translate C to Pascal

2008-08-13 Thread Mattias Gärtner
Zitat von Vinzent Höfler <[EMAIL PROTECTED]>: >[...] > >>> a: record end; > > > > Thanks. I will use that. > > What for? The C statement is empty, it's not a variable and not even a > type. So before translating that into an empty Pascal-record, you should > rather look at what the actually use

Re: Re[2]: [fpc-pascal] Ugly exception during compilation FPC 2.3.1 MacOS X 10.5 PowerPC

2008-08-04 Thread Mattias Gärtner
Zitat von Roland Turcan <[EMAIL PROTECTED]>: > Hello All, > > Does anybody have any idea, what I can do with this problem? >[...] I never saw this problem. > >> > Compiling ./unit/ResConf.pas > >> > Assembling resconf > >> > An unhandled exception occurred at $00148A20 : > >> > TOutputFilter.Exe

Re: Re[4]: [fpc-pascal] Ugly exception during compilation FPC 2.3.1 MacOS X 10.5 PowerPC

2008-08-04 Thread Mattias Gärtner
Zitat von Roland Turcan <[EMAIL PROTECTED]>: > Hello Mattias, > > I have also uncommented some DebugLns which are inside of code: > > Compiling ./unit/ResConf.pas > Assembling resconf > An unhandled exception occurred at $00148A20 : > TOutputFilter.Execute After Loop > TOutputFilter.Execute fProce

Re: Re[3]: [fpc-pascal] Ugly exception during compilation FPC 2.3.1 MacOS X 10.5 PowerPC

2008-08-04 Thread Mattias Gärtner
Zitat von Roland Turcan <[EMAIL PROTECTED]>: > Hello Mattias, > > I have forgotten to send also result of building under gdb. Here is: > > Compiling ./unit/ResConf.pas > Assembling resconf > An unhandled exception occurred at $00148A20 : > > Breakpoint 1, 0x00017500 in fpc_raiseexception () > (gdb

Re: Re[2]: [fpc-pascal] Ugly exception during compilation FPC 2.3.1 MacOS X 10.5 PowerPC

2008-08-04 Thread Mattias Gärtner
Zitat von Roland Turcan <[EMAIL PROTECTED]>: > Hello Mattias, > > MG> /usr/local/share/lazarus/lazbuild --build-ide="-va -dVerboseOFExecute" > > I have done all things you wrote me, but the result of compilation > didn't write any line written by WriteLn inside of IFDEFs. Maybe there > could be a

[fpc-pascal] Translate C to Pascal

2008-07-30 Thread Mattias Gärtner
How to translate this: struct a; Mattias ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] fpimage font

2008-07-29 Thread Mattias Gärtner
What is the status of the freetype font support of fpimage? I tried the following: http://wiki.lazarus.freepascal.org/Developing_with_Graphics#Drawing_without_LCL which runs fine under 32bit, but under 64 bit I get an AV: GNU gdb 6.8-debian [...] Program received signal SIGSEGV, Segmentation fau

Re: Re[4]: [fpc-pascal] Ugly exception during compilation FPC 2.3.1 MacOS X 10.5 PowerPC

2008-07-23 Thread Mattias Gärtner
Zitat von Roland Turcan <[EMAIL PROTECTED]>: > Hello Mattias, > > Next backtrace: > > Compiling ./unit/ResConf.pas > Assembling resconf > An unhandled exception occurred at $00148A20 : > > Breakpoint 1, 0x00018100 in fpc_raiseexception () > (gdb) bt > #0 0x00018100 in fpc_raiseexception () > #1

Re: Re[4]: [fpc-pascal] Ugly exception during compilation FPC 2.3.1 MacOS X 10.5 PowerPC

2008-07-23 Thread Mattias Gärtner
Zitat von Roland Turcan <[EMAIL PROTECTED]>: > Hello Mattias, > > Next backtrace: > > Compiling ./unit/ResConf.pas > Assembling resconf > An unhandled exception occurred at $00148A20 : > > Breakpoint 1, 0x00018100 in fpc_raiseexception () > (gdb) bt > #0 0x00018100 in fpc_raiseexception () > #1

Re: Re[2]: [fpc-pascal] Ugly exception during compilation FPC 2.3.1 MacOS X 10.5 PowerPC

2008-07-22 Thread Mattias Gärtner
Zitat von Roland Turcan <[EMAIL PROTECTED]>: > Hello all, > > Backtrace from lazbuild: > > An unhandled exception occurred at $00148A30 : > > Breakpoint 1, 0x00018090 in fpc_raiseexception () > (gdb) bt > #0 0x00018090 in fpc_raiseexception () > #1 0x001106d4 in CHECKFORURGENTMESSAGES (P=1, pare

Re: [fpc-pascal] Ugly exception during compilation FPC 2.3.1 MacOS X 10.5 PowerPC

2008-07-22 Thread Mattias Gärtner
Zitat von Jonas Maebe <[EMAIL PROTECTED]>: > > On 22 Jul 2008, at 11:13, Mattias Gaertner wrote: > > > The Lineinfo unit does not work currently under Mac OS X. > > The lineinfo unit does work under Mac OS X (but only for stabs > currently). Ah. This means: either lineinfo and a lot of linker wa

Re: [fpc-pascal] FPC and Mac OS X 10.5

2008-07-16 Thread Mattias Gärtner
Zitat von Jonas Maebe <[EMAIL PROTECTED]>: > > On 16 Jul 2008, at 14:56, Mattias Gärtner wrote: > > > Zitat von Jonas Maebe <[EMAIL PROTECTED]>: > > > >> Well, if it found units before you did that, you probably had > >> a .fpc.cfg somewhere in y

Re: [fpc-pascal] FPC and Mac OS X 10.5

2008-07-16 Thread Mattias Gärtner
Zitat von Jonas Maebe <[EMAIL PROTECTED]>: > > On 16 Jul 2008, at 13:15, Mattias Gärtner wrote: > > > Zitat von Jonas Maebe <[EMAIL PROTECTED]>: > > > >> This is strange, since the FPC config files all use $fpcversion to > >> set > >>

Re: [fpc-pascal] FPC and Mac OS X 10.5

2008-07-16 Thread Mattias Gärtner
Zitat von Jonas Maebe <[EMAIL PROTECTED]>: > > On 16 Jul 2008, at 10:26, Mattias Gärtner wrote: > > > Maybe you misunderstood: I did not use the lazarus 'make install'. > > I installed fpc with 'make install'. This installed fpc 2.3.1 in a >

Re: [fpc-pascal] FPC and Mac OS X 10.5

2008-07-16 Thread Mattias Gärtner
Zitat von Schindler Karl-Michael <[EMAIL PROTECTED]>: > Am 16. Jul 2008 um 09:44 schrieb Mattias Gärtner: > > > Zitat von Jonas Maebe <[EMAIL PROTECTED]>: > > > >> > >> On 15 Jul 2008, at 00:16, Mattias Gaertner wrote: > >> > >>&

Re: [fpc-pascal] FPC and Mac OS X 10.5

2008-07-16 Thread Mattias Gärtner
Zitat von Jonas Maebe <[EMAIL PROTECTED]>: > > On 15 Jul 2008, at 00:16, Mattias Gaertner wrote: > > > Now only the wrong file formats. > > zbase, gzio, crc, zdeflate, ... inffast. Hmm. These are only the .o > > files in paszlib. > > I can't reproduce it. One thing you can try is compiling with -C

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

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-01 Thread Mattias Gärtner
Zitat von Martin Schreiber <[EMAIL PROTECTED]>: > On Tuesday 01 July 2008 13.13:19 Mattias Gärtner wrote: > > Zitat von Martin Schreiber <[EMAIL PROTECTED]>: > > > On Tuesday 01 July 2008 12.19:26 Mattias Gärtner wrote: > > > > Zitat von Martin Schreib

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

2008-07-01 Thread Mattias Gärtner
Zitat von Florian Klaempfl <[EMAIL PROTECTED]>: > Michael Van Canneyt wrote: > > > > On Tue, 1 Jul 2008, Paul Ishenin wrote: > > > >> Michael Van Canneyt wrote: > >>> You can still do C:=S[i]. What you cannot do is > >>> > >>> P:=PChar(S); > >>> While (P^<>#0) do > >>>SomeByteSizedOperatio

Re: [fpc-pascal] Unicode file routines proposal

2008-07-01 Thread Mattias Gärtner
Zitat von Martin Schreiber <[EMAIL PROTECTED]>: > On Tuesday 01 July 2008 12.19:26 Mattias Gärtner wrote: > > Zitat von Martin Schreiber <[EMAIL PROTECTED]>: > > > > > > I did it with utf-8 and UCS-2, beleave me, it was not negligible. > > > > Where is the code in msegui? (the code that was forme

Re: [fpc-pascal] Unicode file routines proposal

2008-07-01 Thread Mattias Gärtner
Zitat von Martin Schreiber <[EMAIL PROTECTED]>: > On Tuesday 01 July 2008 10.35:00 Mattias Gaertner wrote: > > > A good example is text layout calculation where it is necessary to > > > iterate over characters (glyphs) over and over again. > > > > Text layout nowadays need to consider font widths

Re: [fpc-pascal] Unicode file routines proposal

2008-06-30 Thread Mattias Gärtner
Zitat von Felipe Monteiro de Carvalho <[EMAIL PROTECTED]>: > Hello, > > There is already another thread about that, but the thread got too > long, and I would like to make a concrete proposal about unicode file > routines. > > It looks simple to me, there are just 2 ways to go, either utf-8 or > u

[fpc-pascal] UTF8String

2008-06-30 Thread Mattias Gärtner
Zitat von Marco van de Voort <[EMAIL PROTECTED]>: > > Zitat von Marco van de Voort <[EMAIL PROTECTED]>: > > > > types? > > > > > > It will be released in August. > > > > If they are bold enough for this big incompatibility, then maybe we must be > > braver too. > > What, also stop supporting anyth

Re: [fpc-pascal] Unicode filenames

2008-06-30 Thread Mattias Gärtner
Zitat von Marco van de Voort <[EMAIL PROTECTED]>: > > Zitat von Marco van de Voort <[EMAIL PROTECTED]>: > > > > > > > > Makes me wonder how CodeGear is going to handle something like this. > > > > Have they released more information on their Unicode support? > > > > > > They actually use unicode s

Re: [fpc-pascal] Unicode filenames

2008-06-30 Thread Mattias Gärtner
Zitat von Marco van de Voort <[EMAIL PROTECTED]>: > > 2008/6/30 Mattias G?rtner <[EMAIL PROTECTED]>: > > > > >> No idea if this is enough for all cases (I'm not a unicode guru), but > > >> Vladimir (russian developer) reported that it works for him. > > > > > > Of course it works for him - MS keep

Re: [fpc-pascal] Unicode filenames

2008-06-30 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys <[EMAIL PROTECTED]>: > 2008/6/30 Mattias Gaertner <[EMAIL PROTECTED]>: > > > > Can you test to create a chinese filename in the explorer. For example: > > > > ±±·½»°.txt > > I can't create that file in Windows Explorer. I'm using Windows 2000 > in a VMWare session. I op

Re: [fpc-pascal] Unicode filenames

2008-06-30 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys <[EMAIL PROTECTED]>: > 2008/6/30 Mattias Gaertner <[EMAIL PROTECTED]>: > >> Even Linux's terminal didn't display the russian directory correcty. > >> A whole bunch of '?' instead. fpGUI worked fine! ;-) > > > > How did you change to russian locale? > > By setti

Re: [fpc-pascal] Unicode filenames

2008-06-30 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys <[EMAIL PROTECTED]>: > 2008/6/30 Vincent Snijders <[EMAIL PROTECTED]>: > > > > But for filenames in fpgFileExists? > > Sorry, yes the previous code was for things like painting text. > > > Here is the code for fpgFileExists > > // platform indepenent > function fpgFileE

Re: [fpc-pascal] FPC 2.2.1 on Mac OS X

2008-05-23 Thread Mattias Gärtner
Zitat von Felipe Monteiro de Carvalho <[EMAIL PROTECTED]>: > On Fri, May 23, 2008 at 9:59 AM, Mattias Gärtner > <[EMAIL PROTECTED]> wrote: > > It will change, as soon it works 'better'. > > Sure, but what does better mean? Better then what? Is there any

Re: [fpc-pascal] FPC 2.2.1 on Mac OS X

2008-05-23 Thread Mattias Gärtner
Zitat von Vincent Snijders <[EMAIL PROTECTED]>: > Felipe Monteiro de Carvalho schreef: > > On Fri, May 23, 2008 at 8:49 AM, Bent Normann Olsen <[EMAIL PROTECTED]> > wrote: > >> I just tried to install fpc 2.2.1 and clean/build Lazarus, but it says > (many > >> lines skipped): > >> > >> ... > >>

Re: [fpc-pascal] FreePascal Coding style

2008-01-22 Thread Mattias Gärtner
Zitat von Vinzent Hoefler <[EMAIL PROTECTED]>: > On Monday 21 January 2008 13:54, Marco van de Voort wrote: > > > On Monday 21 January 2008 11:59, Marco van de Voort wrote: > > > > > > > Nor does an editor. It can only help. I also think being to focussed > > on coding standards (to the point of e

Re: [fpc-pascal] 0.9.24 released

2007-11-21 Thread Mattias Gärtner
Zitat von Rainer Stratmann <[EMAIL PROTECTED]>: > Am Mittwoch, 21. November 2007 13:37 schrieb Bernd Mueller: > > Mattias Gaertner wrote: > > > The Lazarus team is glad to announce the 0.9.24 release. This release > > > is based on fpc 2.2.0. > > > > Thank you. I used the 0.9.20 since November 200

Re: [fpc-pascal] Speed

2007-10-30 Thread Mattias Gärtner
Zitat von Krishna <[EMAIL PROTECTED]>: > On 10/30/07, Mattias Gärtner <[EMAIL PROTECTED]> wrote: > > Zitat von Krishna <[EMAIL PROTECTED]>: > > > > > On 10/30/07, Valdas Jankūnas <[EMAIL PROTECTED]> wrote: > > > > > > > P.S. Where i can read tips about writing fast FP code? > > > > > > > > > > H

Re: [fpc-pascal] Speed

2007-10-30 Thread Mattias Gärtner
Zitat von Krishna <[EMAIL PROTECTED]>: > On 10/30/07, Valdas Jankūnas <[EMAIL PROTECTED]> wrote: > > > P.S. Where i can read tips about writing fast FP code? > > > > Here's one: profile your code! And where can you read how to do that? Mattias ___ fp

Re: [fpc-pascal] SNMP For Accessing PDUs

2007-07-18 Thread Mattias Gärtner
Zitat von Robert Wolfe <[EMAIL PROTECTED]>: > Good morning, folks! > > I am in desperate need of an SNMP unit that will let me pull information > from an APC PDU via SNMP for some network monitoring software I need to > write. I currently use Synapse, however, and the program I have > currently s