Re: Re[2]: [fpc-devel] LocalReferenceFixup

2010-10-08 Thread Mattias Gärtner
Zitat von José Mejuto : Hello FPC, Friday, October 8, 2010, 1:41:39 PM, you wrote: Creation order -- 1) Create main form MS> application.createform() or t*form.create() 2) Create data module MS> application.createdatamodule(); 3) Wait in main form for user input 4) Create se

Re: [fpc-devel] RIP NoGlobals

2010-09-30 Thread Mattias Gärtner
Zitat von Florian Klaempfl : Am 30.09.2010 14:15, schrieb Mattias Gärtner: Zitat von Jonas Maebe : On 30 Sep 2010, at 13:32, Mattias Gärtner wrote: Ehm, are you saying, that the compiler must be restarted when there were errors, because it does not clean up properly? As far as allocated

Re: [fpc-devel] RIP NoGlobals

2010-09-30 Thread Mattias Gärtner
Zitat von Jonas Maebe : On 30 Sep 2010, at 13:32, Mattias Gärtner wrote: Ehm, are you saying, that the compiler must be restarted when there were errors, because it does not clean up properly? As far as allocated memory is concerned: yes. It does free a bunch of stuff when an error

Re: [fpc-devel] RIP NoGlobals

2010-09-30 Thread Mattias Gärtner
Zitat von Jonas Maebe : On 30 Sep 2010, at 11:29, Hans-Peter Diettrich wrote: Lazarus allows to switch targets on the fly, what currently prevents an incorporation of the compiler into the IDE. There are more things that prevent that, not in the least that almost any source code error wi

Re: [fpc-devel] OO rewrite - first round finished

2010-08-05 Thread Mattias Gärtner
Zitat von Hans-Peter Diettrich : Marc Weustink schrieb: While I can use Lazarus to debug the compilation of a single source file, no such feature exists for Makefiles. I even don't know how to translate an error address to a source code position. In Delphi I had a "jump to address..." menu ite

Re: [fpc-devel] Purpose of "uses ... in"?

2010-07-20 Thread Mattias Gärtner
Zitat von Zaher Dirkey : On Sun, Jul 11, 2010 at 11:21 PM, Jonas Maebe wrote: On 11 Jul 2010, at 15:47, Hans-Peter Diettrich wrote: > I know that the "in " is part of the Delphi syntax, but what is it really good for? > > AFAIK it's not allowed to "rename" units this way, and since (curren

Re: [fpc-devel] OO rewrite - technical questions

2010-07-19 Thread Mattias Gärtner
Zitat von Michael Schnell : On 07/19/2010 12:52 PM, Mattias Gärtner wrote: About converting global variables for threads: What are the advantages/disadvantages of using ThreadVar versus member variables? I don't see what you are trying to compare here. If I understood the mail t

Re: [fpc-devel] OO rewrite - technical questions

2010-07-19 Thread Mattias Gärtner
Zitat von Hans-Peter Diettrich : [...] These handler procedures need further information, that currently resides in global variables. In an OO approach these variables become class members, so that an additional reference to a concrete object is required in the directive handlers. About

Re: [fpc-devel] Re: Compiler bottlenecks

2010-07-15 Thread Mattias Gärtner
Zitat von Jonas Maebe : Michael Schnell wrote on Thu, 15 Jul 2010: Did somebody take a look at FastMM for Delphi ? ( http://sourceforge.net/projects/fastmm/ ) Same seems to use a nice paradigm doing the Memory management for threaded applications. Then please explain that paradigm, sinc

Re: [fpc-devel] fpdoc content syntax suggestion

2010-07-09 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys : Op 2010-07-09 09:32, Mattias Gaertner het geskryf: +1 Although I don't know how attributes like /var should look like. Can you create a full list of supported tags? For which syntax? The square bracket one, Creole, WikiText, AsciiDoc? A list of fpdoc xml tags

Re: [fpc-devel] Another bug with spaces in fpc (windows)

2010-07-07 Thread Mattias Gärtner
Zitat von Hans-Peter Diettrich : Mattias Gärtner schrieb: The 'in' modifier works here. It didn't work for me with relative pathes, like uses myUnit in '..\myUnit.pas'; (Windows, obviously ;-) Hint: Both compiler and lazarus automatically changes the path del

Re: [fpc-devel] Another bug with spaces in fpc (windows)

2010-07-07 Thread Mattias Gärtner
Zitat von Hans-Peter Diettrich : Mattias Gaertner schrieb: Lazarus sets the working directory to the project directory when calling the compiler. Fine :-) The 'in' modifier works here. It didn't work for me with relative pathes, like uses myUnit in '..\myUnit.pas'; (Windows, obviously

Re: [fpc-devel] Slight calculation error in Bounds() procedure in Classes unit.

2010-06-09 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys : Op 2010-06-09 16:06, Henry Vermaak het geskryf: * Because it would be idiotic to change something based on a point of view of one person. It's not just one person. Lets just take the Rectangle type/structure. * Delphi has it's own (based on Windows TRect - how

Re: [fpc-devel] Slight calculation error in Bounds() procedure in Classes unit.

2010-06-09 Thread Mattias Gärtner
Zitat von Aleksa Todorovic : On Wed, Jun 9, 2010 at 11:30, Graeme Geldenhuys wrote: Op 2010-06-09 11:02, Florian Klaempfl het geskryf: interpretation of bounds, the current behaviour is perfectly valid for any other uses. Not as I see it, and described in the bug report. Think of the pixel

Re: [fpc-devel] procedure ... message(); in Linux

2010-03-01 Thread Mattias Gärtner
Zitat von Michael Schnell : On 03/01/2010 10:36 AM, Mattias Gaertner wrote: You need lazarus 0.9.29. I might try to get this running some day soon Try that on "PostMessage". I get a method in unit InterfaceBase and a procedure in unit LCLIntf. Obviously you want the last. I've

Re: [fpc-devel] procedure ... message(); in Linux

2010-03-01 Thread Mattias Gärtner
Zitat von Juha Manninen : Hi, What gave no feedback? Ok, I tested again with a non-typical situation. I worked with lazarus.lpi and built Lazarus from tools -> Configure Build Lazarus. The error messages show up just like when compiling a "normal" project but "search identifier" does nothing

Re: [fpc-devel] procedure ... message(); in Linux

2010-02-25 Thread Mattias Gärtner
Zitat von Michael Schnell : Can't anyone answer the question if in Linux the legal and compilable construct procedure... message; either is not supposed to be working or how I can have such a procedure be executed (e.g. by posting a message from a thread or another application, what I succe

Re: [fpc-devel] Correlation between TFPColor and RGB values (possible inconsistencies)

2010-02-17 Thread Mattias Gärtner
Zitat von Luiz Americo Pereira Camara : Mattias Gaertner escreveu: On Wed, 17 Feb 2010 06:52:25 -0300 Luiz Americo Pereira Camara wrote: fpimage is not documented at all AFAIK. It's not loosing bits if your information, in previous mail, about TFPColor format is correct. Defining colGr

Re: [fpc-devel] [arm] tStream.position

2009-12-10 Thread Mattias Gärtner
Zitat von Dariusz Mazur : Hi there is problem with something like that var ts : tStream; begin ts:=tStream.create; ouch. TStream is an abstract class. Maybe the keyword 'abstract' should be added, so that the compiler warns. ts.position:=2; // here arm write ERange Error // on trace se

Re: [fpc-devel] Save the current FPC UnicodeString!

2009-11-13 Thread Mattias Gärtner
Zitat von Martin Schreiber : On Friday 13 November 2009 13:26:29 Graeme Geldenhuys wrote: Michael Schnell wrote: > Martin Schreiber wrote: >> On Linux xlib and xft have utf-16 interfaces. > > What exactly are xlib and xft and why does MSE-GUI seemingly use those > while LCL seemingly uses somet

Re: [fpc-devel] TObject differences between fpc and delphi

2009-10-27 Thread Mattias Gärtner
Zitat von Michael Van Canneyt : On Tue, 27 Oct 2009, Florian Klaempfl wrote: Paul Ishenin schrieb: I have compared what d2010 TObject has and found a few differences: 1. Dispatch method is virtual 2. new method: class function UnitName: string; 3. new method: function Equals(Obj: TObject):

Re: [fpc-devel] class abstract, class sealed implementation. please review.

2009-10-19 Thread Mattias Gärtner
Zitat von Vinzent Höfler : Florian Klaempfl : Marco van de Voort schrieb: > In our previous episode, Florian Klaempfl said: >>> This is exactly my point about sealed classes. When you design the >>> product or class, you have NO way of know what will come in the >>> future. So you need to stay

Re: [fpc-devel] comparing methods

2009-09-11 Thread Mattias Gärtner
Zitat von Michael Schnell : Mattias Gärtner wrote: The @ operator is more than "address of". Hmm "Address of" is not that simple in itself. :) With a "Procedure of Object", "@" of course handles the Self pointer, too. I suppose to find the ad

Re: [fpc-devel] comparing methods

2009-09-10 Thread Mattias Gärtner
Zitat von Vincent Snijders : Jonas Maebe schreef: On 10 Sep 2009, at 14:01, Mattias Gärtner wrote: Mattias Gärtner wrote: Can someone explain why in mode objfpc comparing methods only compares the address, but not the instance? Seems perfectly logical to me (@ = Address of, in this case

Re: [fpc-devel] comparing methods

2009-09-10 Thread Mattias Gärtner
Zitat von Jonas Maebe : On 10 Sep 2009, at 14:01, Mattias Gärtner wrote: Mattias Gärtner wrote: Can someone explain why in mode objfpc comparing methods only compares the address, but not the instance? Seems perfectly logical to me (@ = Address of, in this case "code address"

Re: [fpc-devel] comparing methods

2009-09-10 Thread Mattias Gärtner
Zitat von Thaddy : Mattias Gärtner wrote: Zitat von Michael Schnell : Mattias Gärtner wrote: Can someone explain why in mode objfpc comparing methods only compares the address, but not the instance? Seems perfectly logical to me (@ = Address of, in this case "code address", t

Re: [fpc-devel] comparing methods

2009-09-10 Thread Mattias Gärtner
Zitat von Michael Schnell : Mattias Gärtner wrote: Can someone explain why in mode objfpc comparing methods only compares the address, but not the instance? Seems perfectly logical to me (@ = Address of, in this case "code address", the code is the same for all instances

[fpc-devel] comparing methods

2009-09-10 Thread Mattias Gärtner
Hi, Can someone explain why in mode objfpc comparing methods only compares the address, but not the instance? For example: a:=TMyClass.Create; b:=TMyClass.Create; if @a.test = @b.test then writeln('the same method'); This results in strange behaviors, when using the following code (fro

Re: [fpc-devel] How to search units reported by gdb? (fpc and mseide devels please participate)

2009-02-27 Thread Mattias Gärtner
Zitat von Jonas Maebe : > > On 27 Feb 2009, at 15:17, Paul Ishenin wrote: > > > We have a trouble in lazarus. We need to open units and include > > files wich gdb returns to us. The problem is that gdb repors them > > without full path. > > It's because there is no path information in the debug in

Re: [fpc-devel] Exceptions in threads

2008-12-11 Thread Mattias Gärtner
Zitat von Vincent Snijders <[EMAIL PROTECTED]>: > Florian Klaempfl schreef: > > Mattias Gärtner schrieb: > >> Zitat von Michael Van Canneyt <[EMAIL PROTECTED]>: > >> > >>> [...] > >>> This is the problem: At which point should thi

Re: [fpc-devel] Exceptions in threads

2008-12-11 Thread Mattias Gärtner
Zitat von Michael Van Canneyt <[EMAIL PROTECTED]>: >[...] > This is the problem: At which point should this be done ? > > Can you point at the statement where it should be raised in the following > code: > > try >... >DoParallel(...); >... > except > end; > > There is only 1 possibl

Re: [fpc-devel] Exceptions in threads

2008-12-11 Thread Mattias Gärtner
Zitat von Florian Klaempfl <[EMAIL PROTECTED]>: > Mattias Gärtner schrieb: > >> raised ? > > > > It should be raised in the starter thread. The question is how to > > - stop an exception in a thread (try..except) > > - give it to another thread - the s

Re: [fpc-devel] Exceptions in threads

2008-12-11 Thread Mattias Gärtner
Zitat von Marco van de Voort <[EMAIL PROTECTED]>: > In our previous episode, Mattias Gärtner said: > > > > What should happen when an exception occurs? > > > > > > AFAIK any unhandled exception in a thread will cause it to silently die > > > >

Re: [fpc-devel] Exceptions in threads

2008-12-11 Thread Mattias Gärtner
Zitat von Michael Van Canneyt <[EMAIL PROTECTED]>: > > > On Thu, 11 Dec 2008, Mattias Gärtner wrote: > > > Zitat von Florian Klaempfl <[EMAIL PROTECTED]>: > > > > > Mattias Gärtner schrieb: > > > > I'm writing a unit to simplify parallel methods/procedures. > > > > > > > > For example: > > > >

Re: [fpc-devel] Exceptions in threads

2008-12-11 Thread Mattias Gärtner
Zitat von Luca Olivetti <[EMAIL PROTECTED]>: > En/na Mattias Gärtner ha escrit: > > I'm writing a unit to simplify parallel methods/procedures. > > > > For example: > > DoParallel(@AMethod,StartIndex,EndIndex,Data); > > > > The AMethod is execu

Re: [fpc-devel] Exceptions in threads

2008-12-11 Thread Mattias Gärtner
Zitat von Florian Klaempfl <[EMAIL PROTECTED]>: > Mattias Gärtner schrieb: > > I'm writing a unit to simplify parallel methods/procedures. > > > > For example: > > DoParallel(@AMethod,StartIndex,EndIndex,Data); > > > > The AMethod is execu

[fpc-devel] Exceptions in threads

2008-12-10 Thread Mattias Gärtner
I'm writing a unit to simplify parallel methods/procedures. For example: DoParallel(@AMethod,StartIndex,EndIndex,Data); The AMethod is executed with several threads in parallel. What should happen when an exception occurs? It would be nice if the exception can be transfered to the main thread.

Re: [fpc-devel] Multithreading wait for

2008-12-04 Thread Mattias Gärtner
Zitat von Vinzent Höfler <[EMAIL PROTECTED]>: > Mattias Gaertner wrote: > > On Wed, 03 Dec 2008 19:41:12 +0100 > > Vinzent Höfler <[EMAIL PROTECTED]> wrote: > > > > If I understand RTLEventWaitFor correct, then it waits until another > > thread calls RTLeventSetEvent. > > Unless it's already sig

[fpc-devel] Multithreading wait for

2008-12-03 Thread Mattias Gärtner
Hi all, I'm looking for a high performance 'wait-for'. The situation: There are m threads working in parallel on n chunks of work (n>=m). The n chunks are indexed 0..n-1. Sometimes one thread needs the result of some of the lower indexed chunks. For example the chunk number 5 needs chunks 0..2. S

Re: [fpc-devel] Unicode and UTF8String

2008-12-02 Thread Mattias Gärtner
Zitat von Michael Schnell <[EMAIL PROTECTED]>: > > > For me, these attempts to make compiler do everything automatically sound > > like getting yet another typing saver. > Maybe I am just being lazy, but it's not a typing saver but regarding > the previous not-Unicode aware versions it's more a "p

Re: [fpc-devel] Unicode and UTF8String

2008-12-02 Thread Mattias Gärtner
Zitat von Michael Schnell <[EMAIL PROTECTED]>: > > > The point is: if everybody takes care of the fact that ansistrings can > > be multibyte, having utf-8 in ansistrings (if it's the locale encoding), > > is no big deal at all. > > > I do understand. But (in a real world) do you know anybody who d

Re: [fpc-devel] Unicode and UTF8String

2008-12-02 Thread Mattias Gärtner
Zitat von Florian Klaempfl <[EMAIL PROTECTED]>: > Mattias Gaertner schrieb: > > You can optimize for one encoding or optimize for one per platform. I > > know how to optimize for widestrings, for ansistring and for UTF-8 > > strings, but I have no experience in optimizing for multiple > > encoding

Re: [fpc-devel] Unicode and Lazarus

2008-11-21 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys <[EMAIL PROTECTED]>: > On Fri, Nov 21, 2008 at 11:45 AM, Michael Schnell <[EMAIL PROTECTED]> wrote: > > > > In fact it should automatically convert ("as correctly as possible") > between > > all available string types (ANSI, UTF8, UTF16). > > And the compiler should pro

Re: [fpc-devel] Unicode support - for the 20th time... ;-)

2008-11-20 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys <[EMAIL PROTECTED]>: > On Thu, Nov 20, 2008 at 1:22 PM, peter green <[EMAIL PROTECTED]> wrote: > > > > The thing is we can't reasonablly provide functions based on what a user > > would see as a character because doing so would require huge lookup tables > > (one user v

Re: [fpc-devel] Re: Unicode and Lazarus

2008-11-20 Thread Mattias Gärtner
Zitat von Felipe Monteiro de Carvalho <[EMAIL PROTECTED]>: > if a real utf8string would be a solution for Lazarus (I am not saying > it is, but it could be), we need to have a directive to change the > default string into utf8string. To avoid a huge amount of code to need > to be suddenly changed.

Re: [fpc-devel] Mysql without macros

2008-11-14 Thread Mattias Gärtner
Zitat von Michael Van Canneyt <[EMAIL PROTECTED]>: > > > On Fri, 14 Nov 2008, Mattias Gärtner wrote: > > > Hi, > > > > The mysqlconn.inc uses macros. This is unnecessary and has some > disadvantages. > > Namely, the lazarus codetools get confused :-) ... and the users, that (mis)uses this code a

[fpc-devel] Mysql without macros

2008-11-14 Thread Mattias Gärtner
Hi, The mysqlconn.inc uses macros. This is unnecessary and has some disadvantages. Here is a patch that replaces the macros with simple type aliases. As far as I can see mysqlconn.inc is the same for fpc 2.3.1 and fpc 2.2.x, so the patch should work for both. Mattias Index: packages/fcl-db/src/s

Re: [fpc-devel] Parallel Computing

2008-11-04 Thread Mattias Gärtner
Zitat von Michael Schnell <[EMAIL PROTECTED]>: > > > There is almost no speed difference from one thread or two threads on > > a two core machine. :( > > I will soon test on a 2 x quad core with 8 threads. > > > Great example. Thanks for sharing the results with us ! > > You said "less than expect

Re: Re[2]: [fpc-devel] Unicodestring branch, please test and help fixing

2008-09-12 Thread Mattias Gärtner
Zitat von Joost van der Sluis <[EMAIL PROTECTED]>: > Op vrijdag 12-09-2008 om 13:22 uur [tijdzone +0200], schreef JoshyFun: > > > A> Thanks for pointing me to the Lazarus thread about this and the bug > > A> report. Checked them. > > A> But as I understand there is no solution available at the mom

Re: [fpc-devel] Unicodestring branch, please test and help fixing

2008-09-12 Thread Mattias Gärtner
Zitat von listmember <[EMAIL PROTECTED]>: >[...] > You have multilanguage text as data. Someone has asked you to search it > and see if a certain peice of string (in a given language) exists in it. > > This search needs to be NOT case-sensitive. > > How can you do this? > > Is it doable if TCharac

Re: [fpc-devel] Unicodestring branch, please test and help fixing

2008-09-10 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys <[EMAIL PROTECTED]>: > On 9/10/08, Micha Nelissen <[EMAIL PROTECTED]> wrote: > > > TCharacter and TString to be more intelligent with what encoding it > > > represents etc... And if you have an application with many strings, it > > > might actually save memory, because

Re: [fpc-devel] fpdoc and fv

2008-08-25 Thread Mattias Gärtner
Zitat von Michael Schnell <[EMAIL PROTECTED]>: >[...] > > There are already some examples in the docs. So the system is there and > > _only_ > > needs to be filled. > > > So an _easy_ way to have the users provide examples might be helpful. Well, it is not a one click action, but it is not diffic

Re: [fpc-devel] fpdoc and fv

2008-08-25 Thread Mattias Gärtner
Zitat von Michael Schnell <[EMAIL PROTECTED]>: > > > This works perfectly for me in Lazarus. Perhaps I missed something but > > unless you mean "offline help" > NO I did test "offline help" by d/lding the help file and setting the > path to same. This of course is no difference to the online versi

Re: [fpc-devel] fpdoc and fv

2008-08-25 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys <[EMAIL PROTECTED]>: > On 8/25/08, Mattias Gärtner <[EMAIL PROTECTED]> wrote: > > > In the German Lazarus forum there recently has been a discussion on > > > improving the (German) help. There had been a suggestion to use a Wiki > > > to update / enhance the help te

Re: [fpc-devel] fpdoc and fv

2008-08-25 Thread Mattias Gärtner
Zitat von Michael Schnell <[EMAIL PROTECTED]>: > > > Do you mean the fact that an external browser is started or the fpdoc html > pages > > or the wiki pages? > > The search functions are bad in all three of them. > > > I did not want to start a long winded discussion here :( Yes, noted. But some

Re: [fpc-devel] fpdoc and fv

2008-08-25 Thread Mattias Gärtner
Zitat von Michael Schnell <[EMAIL PROTECTED]>: > > > Lazarus context sensitive help shows documentation of the fpdoc files and > > comments from pasdoc (similar to javadoc, DelphiCodeToDoc) and it browses > > through the class hierarchy to show ancestor help. The help content can be > > edited in

Re: [fpc-devel] fpdoc and fv

2008-08-25 Thread Mattias Gärtner
Zitat von Michael Schnell <[EMAIL PROTECTED]>: > Michael Van Canneyt wrote: > > Someone else generates the pdf classchart from a OpenOffice spreadsheet. > > > Would it not be appropriate to base a help system (for the RTL > functions) on something like "DelphiCodeToDoc" and do an automation for >

Re: [fpc-devel] Proposal to make the compiler message "PPU Invalid Version" a fatal error.

2008-08-18 Thread Mattias Gärtner
Zitat von Marco van de Voort <[EMAIL PROTECTED]>: > In our previous episode, Mattias Gärtner said: > > > > Any progress? > > > > > > IIRC, we once had the idea to feed the compiler an error message file > > > with only error numbers as error &q

Re: [fpc-devel] Proposal to make the compiler message "PPU Invalid Version" a fatal error.

2008-08-18 Thread Mattias Gärtner
Zitat von Marc Weustink <[EMAIL PROTECTED]>: > Mattias Gaertner wrote: > > On Wed, 13 Aug 2008 23:12:25 +0200 (CEST) > > Daniël Mantione <[EMAIL PROTECTED]> wrote: > > > >> [...] > The text mode IDE can display statisics while compiling. Why can't > Lazarus? > > There is the c

Re: [fpc-devel] Proposal to make the compiler message "PPU Invalid Version" a fatal error.

2008-08-13 Thread Mattias Gärtner
Zitat von ik <[EMAIL PROTECTED]>: > On Wed, Aug 13, 2008 at 6:58 PM, Micha Nelissen <[EMAIL PROTECTED]> wrote: > > Bernd Mueller wrote: > >> > >> I think, the proper way could be, that fpc makes this message fatal, if > >> the unit source is not present. > > > > The proper way is probably for Laza

Re: [fpc-devel] TAVLTree(avl_tree.pp) thread safety : second proposition

2008-08-08 Thread Mattias Gärtner
Zitat von Henri Gourvest <[EMAIL PROTECTED]>: > 2008/8/8 Mattias Gärtner <[EMAIL PROTECTED]>: > > Correct me if I'm wrong, but this seems not very comfortable. > > - No custom sort function (unless you override) > ... > > > - A node does not know its

Re: [fpc-devel] TAVLTree(avl_tree.pp) thread safety : second proposition

2008-08-08 Thread Mattias Gärtner
Zitat von Henri Gourvest <[EMAIL PROTECTED]>: > I made 2 AVL tree for different kind of problems > > this one is generic (32/64+all platformes) > http://uib.svn.sourceforge.net/viewvc/uib/trunk/source/uibavl.pas?view=markup > it is based on http://www.geocities.com/wkaras/gen_c/cavl_tree.html Cor

Re: [fpc-devel] TAVLTree(avl_tree.pp) thread safety : second proposition

2008-08-08 Thread Mattias Gärtner
Zitat von Marc Weustink <[EMAIL PROTECTED]>: > Marco van de Voort wrote: > >> Marco van de Voort wrote: > Inoussa OUEDRAOGO wrote: > > - TAVLManagedTree that uses a node mem manager provided in the > constructor. > >The developer using this one is _aware_ of the thread safety iss

Re: [fpc-devel] TAVLTree(avl_tree.pp) thread safety, fcl-xml(DOM) is also concerned.

2008-08-07 Thread Mattias Gärtner
Zitat von Burkhard Carstens <[EMAIL PROTECTED]>: > Am Mittwoch, 6. August 2008 21:37 schrieb Sergei Gorelkin: > > Since this topic is touched, I would like to vote for removing > > avl_tree dependency from the DOM altogether. The reason is that the > > avl tree of child nodes is useless for any re

Re: [fpc-devel] Russian locale information not compatible with FPC locale variables

2008-07-30 Thread Mattias Gärtner
Zitat von Joost van der Sluis <[EMAIL PROTECTED]>: > Op woensdag 30-07-2008 om 11:33 uur [tijdzone +0200], schreef Florian > Klaempfl: > > Marco van de Voort schrieb: > > > > > > Read this and the reactions, and weep: > > > > > > > http://groups.google.com/group/borland.public.delphi.non-technical

Re: [fpc-devel] Russian locale information not compatible with FPC locale variables

2008-07-30 Thread Mattias Gärtner
Zitat von Michael Schnell <[EMAIL PROTECTED]>: > > > If this was true, Java would have taken that market already. There is > > nothing new to that aspect of CIL, and specially with only one minor vendor > > supporting it. > > > Basically you are right, but > - In fact Java is very widely in use (

Re: [fpc-devel] FPC boost features

2008-07-30 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys <[EMAIL PROTECTED]>: > [...] > If FPC didn't worry > to much about compatibility and instead implemented Unicode support > long ago like it could have, it might just have boosted FPC usage, > beating Borland to the punch by about 7 years. FPC could have > attracted and

Re: [fpc-devel] I get duplicate GUIDs under Linux

2008-05-29 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys <[EMAIL PROTECTED]>: > 2008/5/29 Mattias Gärtner <[EMAIL PROTECTED]>: > > > > It would hurt a lot *not* installing the patch. The bigger problem is that > the > > other distributions including windows, Mac OS X, BSD, ... server must

Re: [fpc-devel] I get duplicate GUIDs under Linux

2008-05-29 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys <[EMAIL PROTECTED]>: > 2008/5/29 Mattias Gärtner <[EMAIL PROTECTED]>: > > > > Sorry. Openssl has *nothing* to do with the CreateGUID function. > > I thought that much, but then thought it wouldn't hurt installing the >

Re: [fpc-devel] I get duplicate GUIDs under Linux

2008-05-29 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys <[EMAIL PROTECTED]>: > 2008/5/29 Mattias Gärtner <[EMAIL PROTECTED]>: > > > > Sounds like the Debian openssl key fiasko. > > I saw Ubuntu had some updates to resolve this issue on my system. Got > the updates, rebooted, recompiled

Re: [fpc-devel] I get duplicate GUIDs under Linux

2008-05-29 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys <[EMAIL PROTECTED]>: > Hi, > > I'm trying to do performance testing in Firebird RDBMS using GUID's > and primary keys. I constantly got PK violations. I then wrote the > code show below to create 50,000 GUID's and add them to a StringList > (no duplicates allowed). Ever

Re: [fpc-devel] Important: Call for testing.

2008-04-04 Thread Mattias Gärtner
Zitat von Martin Schreiber <[EMAIL PROTECTED]>: > On Friday 04 April 2008 13.56:45 Michael Van Canneyt wrote: > > On Fri, 4 Apr 2008, Martin Schreiber wrote: > > > The next problem is childpos handling: > > > http://bugs.freepascal.org/view.php?id=11102 > > > > I've never understood what this is a

Re: [fpc-devel] Bug in trunk?

2008-03-28 Thread Mattias Gärtner
Zitat von Michael Van Canneyt <[EMAIL PROTECTED]>: > > > On Fri, 28 Mar 2008, Micha Nelissen wrote: > > > Michael Van Canneyt wrote: > > > It is used in streaming in the classes unit; the streaming mechanism > checks > > > the actual > > > value against this value: if it is the same, the value is

Re: [fpc-devel] suggestion: AllFilesMask constant

2008-03-25 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys <[EMAIL PROTECTED]>: > On 25/03/2008, Mattias Gaertner <[EMAIL PROTECTED]> wrote: > > On Tue, 25 Mar 2008 10:30:28 +0200 > > "Graeme Geldenhuys" <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > > > Could FPC add a new 'all files' constant (eg: AllFilesMask) to the >

Re: [fpc-devel] fpdoc inherited entries

2008-02-18 Thread Mattias Gärtner
Zitat von Michael Van Canneyt <[EMAIL PROTECTED]>: >[...] > > > The problem is that you may or may not have the definition (and > > > corresponding page) in memory. If the parent def (and doc) is not > > > in memory, you don't know whether a page is available or not. > > > > How do the links to th

Re: [fpc-devel] fpdoc links

2008-02-18 Thread Mattias Gärtner
Zitat von Michael Van Canneyt <[EMAIL PROTECTED]>: > > > On Mon, 18 Feb 2008, Mattias Gärtner wrote: > > > fpdoc allows links of the form: > > > > #packagename.unitname.identifier.identifier... > > > > Are the packagename and/or unitname case insensitive? > > Yes, normally we use comparetext ever

[fpc-devel] fpdoc links

2008-02-18 Thread Mattias Gärtner
fpdoc allows links of the form: #packagename.unitname.identifier.identifier... Are the packagename and/or unitname case insensitive? Or is it recommended to lower case them? For example: #LCL.Controls.TControl.Caption In the html output it seems fpdoc is clever enough to auto lowercase everythin

Re: [fpc-devel] fpdoc inherited entries

2008-02-18 Thread Mattias Gärtner
Zitat von Michael Van Canneyt <[EMAIL PROTECTED]>: > > > On Mon, 18 Feb 2008, Mattias Gärtner wrote: > > > Zitat von Michael Van Canneyt <[EMAIL PROTECTED]>: > > > > > > > > > > > On Sun, 17 Feb 2008, Mattias Gaertner wrote: > > > > > > > > > > > In the LCL there is documentation for TControl.Cap

Re: [fpc-devel] fpdoc inherited entries

2008-02-18 Thread Mattias Gärtner
Zitat von Michael Van Canneyt <[EMAIL PROTECTED]>: > > > On Sun, 17 Feb 2008, Mattias Gaertner wrote: > > > > > In the LCL there is documentation for TControl.Caption which is useful > > for all descendant classes like TButton.Caption too. It would be nice > > if fpdoc shows the content of TContro

Re: [fpc-devel] Lazarus: A new widgest set

2008-02-18 Thread Mattias Gärtner
Zitat von Michael Schnell <[EMAIL PROTECTED]>: > > > Just press Ctrl+Shift+F1 and the help context editor of the IDE opens, > where you > > can set the wiki page for every control of the current window. > Is there a standard procedure to suggest such links as a "patch" ? How to create a patch: h

Re: [fpc-devel] Lazarus: A new widgest set

2008-02-15 Thread Mattias Gärtner
Zitat von Michael Schnell <[EMAIL PROTECTED]>: > > > There are two widgetset setting because you can use two different > > widgetsets: design time / IDE and runtime / project. > > > I found that when changing the widget set at one of the pages it is > changed accordingly at the other page. So in e

Re: [fpc-devel] Lazarus: A new widgest set

2008-02-15 Thread Mattias Gärtner
Zitat von Michael Schnell <[EMAIL PROTECTED]>: > Some comments / questions: > > > "rebuild the IDE with the LCL. > > Does that mean just using "Tools -> Buid Lazarus", or should we use the > "Build"-Button in "Tools -> Configure Build Lazarus", with once or > multiple times with different options

Re: [fpc-devel] Lazarus: A new widgest set

2008-02-14 Thread Mattias Gärtner
Zitat von Michael Schnell <[EMAIL PROTECTED]>: > > > There are some information about the widgetsets in lazconf.pp, > > definetemplates.pas and the Makefiles. > > > Sorry, I don't find any information on how to make the compiler aware of > the newly created directory with the "directory"-name give

Re: [fpc-devel] Lazarus: A new widgest set

2008-02-14 Thread Mattias Gärtner
Zitat von Michael Schnell <[EMAIL PROTECTED]>: > I know this is not the Lazarus developers list but I also know that the > experts are here, so I ask here and maybe I just need a hint to get going. > > For a special purpose (maybe to released publicly later) I want to > create a new widget set in

Re: [fpc-devel] more descriptive parameter names for C translated headers

2008-02-01 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys <[EMAIL PROTECTED]>: > Hi, > > I use the xlib.pp unit a lot. As far as I understand it and many > others like it was created with a automated tool. As I use the > functions, I thought I could start changing the para1, para2... to > more descriptive parameter names. Th

Re: [fpc-devel] FP 2.4 questions

2008-01-02 Thread Mattias Gärtner
Zitat von Michael Van Canneyt <[EMAIL PROTECTED]>: > > > On Wed, 2 Jan 2008, Mattias Gärtner wrote: > > > Zitat von Marc Weustink <[EMAIL PROTECTED]>: > > > > > Mattias Gaertner wrote: > > > > On Wed, 2 Jan 2008 11:08:27 +0100 (CET) > > > > [EMAIL PROTECTED] (Marco van de Voort) wrote: > > > > >

Re: [fpc-devel] FP 2.4 questions

2008-01-02 Thread Mattias Gärtner
Zitat von Michael Schnell <[EMAIL PROTECTED]>: > > > I developed several visual components for Lazarus and usually you > > install once and as you develop is not necessary to recompile the IDE, > > but are some exceptions: > > > > 1) The installed version crashes the IDE designer > > 2) You added

Re: [fpc-devel] FP 2.4 questions

2008-01-02 Thread Mattias Gärtner
Zitat von Marc Weustink <[EMAIL PROTECTED]>: > Mattias Gaertner wrote: > > On Wed, 2 Jan 2008 11:08:27 +0100 (CET) > > [EMAIL PROTECTED] (Marco van de Voort) wrote: > > > Then I don't get why people refuse that lazarus is recompiled and > see dyn. loaded packages as _the_ solution to thi

Re: [fpc-devel] Parallel Computing

2007-12-10 Thread Mattias Gärtner
Zitat von Michael Schnell <[EMAIL PROTECTED]>: > > > Think about the alternative: It is much harder to implement the same > > parallel loop with TThread. So OpenMP makes parallel loops much easier > > to implement. For me this is the 'Delphi' way: Makes things easy and > > readable. > > > Of cours

Re: [fpc-devel] Lazarus IDE searching units overwiev inquire (issue#10176 successor)

2007-11-16 Thread Mattias Gärtner
Zitat von Andrey Gusev <[EMAIL PROTECTED]>: > Some units cannot be found by IDE (in editor), as earlier. > --- (from message box) > C:\Works-FContr\Contracts\gen\gen2\WaybillG.pas(13,50) Error: unit not > found: darrInt > --- > but, corresponding directory is correctly prescibed to both compiler a