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

2010-10-08 Thread Mattias Gärtner
Zitat von José Mejuto joshy...@gmail.com: 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

Re: [fpc-devel] RIP NoGlobals

2010-09-30 Thread Mattias Gärtner
Zitat von Jonas Maebe jonas.ma...@elis.ugent.be: 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

Re: [fpc-devel] RIP NoGlobals

2010-09-30 Thread Mattias Gärtner
Zitat von Florian Klaempfl flor...@freepascal.org: Am 30.09.2010 14:15, schrieb Mattias Gärtner: Zitat von Jonas Maebe jonas.ma...@elis.ugent.be: 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

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

2010-08-05 Thread Mattias Gärtner
Zitat von Hans-Peter Diettrich drdiettri...@aol.com: 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

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

2010-07-19 Thread Mattias Gärtner
Zitat von Hans-Peter Diettrich drdiettri...@aol.com: [...] 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

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

2010-07-19 Thread Mattias Gärtner
Zitat von Michael Schnell mschn...@lumino.de: 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

Re: [fpc-devel] Re: Compiler bottlenecks

2010-07-15 Thread Mattias Gärtner
Zitat von Jonas Maebe jonas.ma...@elis.ugent.be: 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

Re: [fpc-devel] fpdoc content syntax suggestion

2010-07-09 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys graemeg.li...@gmail.com: 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

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

2010-07-07 Thread Mattias Gärtner
Zitat von Hans-Peter Diettrich drdiettri...@aol.com: 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';

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

2010-07-07 Thread Mattias Gärtner
Zitat von Hans-Peter Diettrich drdiettri...@aol.com: 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 delimiter

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

2010-06-09 Thread Mattias Gärtner
Zitat von Aleksa Todorovic alexi...@gmail.com: On Wed, Jun 9, 2010 at 11:30, Graeme Geldenhuys graemeg.li...@gmail.com 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

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

2010-06-09 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys graemeg.li...@gmail.com: 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

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

2010-03-01 Thread Mattias Gärtner
Zitat von Juha Manninen juha.manni...@phnet.fi: 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

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

2010-03-01 Thread Mattias Gärtner
Zitat von Michael Schnell mschn...@lumino.de: 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

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

2010-02-25 Thread Mattias Gärtner
Zitat von Michael Schnell mschn...@lumino.de: 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

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

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

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

2009-12-10 Thread Mattias Gärtner
Zitat von Dariusz Mazur dar...@emadar.com: 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

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

2009-11-13 Thread Mattias Gärtner
Zitat von Martin Schreiber fp...@bluewin.ch: 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

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

2009-10-27 Thread Mattias Gärtner
Zitat von Michael Van Canneyt mich...@freepascal.org: 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:

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

2009-10-19 Thread Mattias Gärtner
Zitat von Vinzent Höfler jellyfish.softw...@gmx.net: Florian Klaempfl flor...@freepascal.org: 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

Re: [fpc-devel] comparing methods

2009-09-11 Thread Mattias Gärtner
Zitat von Michael Schnell mschn...@lumino.de: 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 address of a function @ uses

[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

Re: [fpc-devel] comparing methods

2009-09-10 Thread Mattias Gärtner
Zitat von Michael Schnell mschn...@lumino.de: 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

Re: [fpc-devel] comparing methods

2009-09-10 Thread Mattias Gärtner
Zitat von Thaddy tha...@thaddy.com: Mattias Gärtner wrote: Zitat von Michael Schnell mschn...@lumino.de: 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

Re: [fpc-devel] comparing methods

2009-09-10 Thread Mattias Gärtner
Zitat von Jonas Maebe jonas.ma...@elis.ugent.be: 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 Vincent Snijders vsnijd...@vodafonevast.nl: 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

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 jonas.ma...@elis.ugent.be: 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

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 executed with several threads in parallel. What should happen when

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 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 Yes, and that should never happen. At least not for normal exceptions

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 starter thread (giving the object is easy

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 possible location: 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 this be done ? Can you point at the statement where it should be raised

[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

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 signalled, then it

[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.

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 preventer

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 encodings. Don't

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 does. If

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 produce a warning

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. Then

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 visible

[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:

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 as example for

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 expected, so you did

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 moment for

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 flyweight

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 the

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 the IDE

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 points you

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 texts. The

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 version (if the

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 difficult

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 compiler unit, which *is*

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 messages so parsing would be easier. The error number is needed

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 issue and can then

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 parent. So with First or Search you can not get

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 real-world

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 (even though

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). Every time

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 my application and still 1021 is my limit before

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 patch anyway. It would hurt a lot *not* installing the patch

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 now install the blacklist too. I guess non

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 about, so some

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 not streamed.

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 TControl.Caption if

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.Caption which is useful for

[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

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 the ancestor

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 everywhere. Or is

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 (e.g. build LCL

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 effect

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] 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 given 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. This

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 this problem :)

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 a published

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 course you are

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 and IDE