[fpc-devel]Warning: TStrings.IndexOf() behaviour changed.

2003-05-30 Thread Michael . VanCanneyt
Hi, A warning: For those using the Classes unit from the FCL. There has been a relatively important change in the behaviour of the TStrings class. The IndexOf() method is from now on case insensitive, as is it in Delphi. Till now it was case sensitive. The IndexOfName() method has been case

Re: [fpc-devel] ide

2003-10-27 Thread Michael . VanCanneyt
On Mon, 27 Oct 2003, Jucovschi Constantin wrote: Hello, I received the mail about FreePascal IDE. I think I could help you but first I would like to have more details about what are the requirements and responsibilities of a maintainer. I have some experience in IDE making and I would

Re: [fpc-devel]SHUT_* constants (sockets)

2003-11-09 Thread Michael . VanCanneyt
On Sun, 9 Nov 2003, Johannes Berg wrote: Hi, Is there any reason the SHUT_RW/RD/RWRD constants are only available on systems with BSD defined? No particular reason other than that the original implementor (most likely me) forgot about them or was unaware of their existence. They

Re: [fpc-devel]promised tthread patch

2003-11-15 Thread Michael . VanCanneyt
On Fri, 14 Nov 2003, Johannes Berg wrote: On Fri, 2003-11-14 at 21:34, KJK::Hyperion wrote: I don't agree with the notes about Suspend/Resume. Suspending a thread on POSIX is possible, as long as you define what suspending means. Assuming a suspended thread is a thread that doesn't

Re: [fpc-devel]promised tthread patch

2003-11-15 Thread Michael . VanCanneyt
On Sat, 15 Nov 2003, KJK::Hyperion wrote: At 12.27 15/11/2003, you wrote: All you need to do is send the STOP signal to the thread. This is a common misunderstanding. I quote from IEEE 1003.1: [...] Note that pthread_kill() only causes the signal to be handled in the context of the

Re: [fpc-devel]windres problem

2003-11-16 Thread Michael . VanCanneyt
On Sun, 16 Nov 2003 [EMAIL PROTECTED] wrote: Compiling a delphi unit with dfm causes problems. Message: d:\fpc\bin\win32\windres.exe: can't open font file `TTrace'... Under D6 it works. G:\d:\fpc\bin\win32\ppc386 -TWin32 trace Hint: End of reading config file fpc.cfg Free Pascal

Re: [fpc-devel]fcl/net doesn't build

2003-11-23 Thread Michael . VanCanneyt
On Sun, 23 Nov 2003, Johannes Berg wrote: On Sat, 2003-11-22 at 18:17, [EMAIL PROTECTED] wrote: Sebastian sent me some patches to apply to the sockets unit, which should fix this. I'll try and commit everything ASAP. I think MSG_NOSIGNAL shouldn't be in socketsh.inc, at least not

Re: [fpc-devel]bugs to close

2003-11-24 Thread Michael . VanCanneyt
On Mon, 24 Nov 2003, Johannes Berg wrote: How are bug reports against 1.0.x handled? I went through some bugs just for the fun of it and found a lot to close -- however I only tested with the current CVS. 1954 - new TThread makes FHandle PID at all times Set to fixed. 1694 - can

RE: [fpc-devel]patch for ReadPropValue

2003-12-29 Thread Michael . VanCanneyt
On Mon, 29 Dec 2003, Vincent Snijders wrote: Van: Michael Van Canneyt [mailto:[EMAIL PROTECTED] On Sun, 14 Dec 2003, Darek Mazur wrote: Hi I investigated read property from Lazarus LRS, and I noticed that tColor property with Identifies don't work and crash program

Re: [fpc-devel]TProcess doesn't set environment variables correct in win32

2004-02-02 Thread Michael . VanCanneyt
On Mon, 2 Feb 2004, Vincent Snijders wrote: Hi, I noticed that TProcess sets the environment variables the same way on win32 as on unix systems. This is not correct. On win32 the environment is a block of zero terminated strings terminated by a #0. Attached is patch for process.pp,

Re: [fpc-devel]h2pas: Patch for multi-line macros

2004-02-09 Thread Michael . VanCanneyt
On Mon, 9 Feb 2004, Jeff Pohlmeyer wrote: I see things like this a lot in C headers: #define foo(a,b,c) \ ( a + b + c ) But h2pas chokes when it sees the backslash: Illegal character in line 1 #define foo(a,b,c) \ at line 1 error : syntax error at line 2 error :

Re: [fpc-devel]Status of FPC

2004-03-13 Thread Michael . VanCanneyt
On Sat, 13 Mar 2004, Mattias Gaertner wrote: On Sat, 13 Mar 2004 17:02:38 +0100 (CET) [EMAIL PROTECTED] wrote: PIC/dynamic linking You can write a library in FPC. Please tell me how. As soon as I use strings I get AVs. It should work out of the box (using the library keyword),

Re: [fpc-devel]Hello. Anyone working on Package support? I'd like to help...

2004-03-19 Thread Michael . VanCanneyt
On Fri, 19 Mar 2004, Warren Postma wrote: Hi, I'm a 15+ year Pascal/Delphi developer interested in improving the FPC and Lazarus. I am interested in helping out with Package support. Was any work done on this? None yet. Who was working on it? How far did they get? Did anyone write up

Re: [fpc-devel]What are you guys doing besides developing FPC

2004-07-12 Thread Michael . VanCanneyt
On Mon, 12 Jul 2004, Sakesun Roykiattisak wrote: Just wonder. Does your work relate to pascal-compiler ? pascal-software ? I don't think any of the core developers uses FPC full-time for his job. Maybe for some side projects. I personally use Delphi for all programming. As soon as Lazarus is

Re: [fpc-devel]Possible TDbf bug and patch

2004-07-20 Thread Michael . VanCanneyt
On Tue, 20 Jul 2004, Jesus Reyes wrote: Hi, I think I found a bug in tdbf. One can scroll forward to the end of the dataset, in the last record if one scrolls forward one more time, the dataset enters the EOF state. The problem is that also the first record of the buffer (because of how

Re: [fpc-devel]Fixes for interbase/db

2004-07-25 Thread Michael . VanCanneyt
On Sat, 24 Jul 2004, Joost van der Sluis wrote: i have some fixes for the database implementation in FCL. Ok, since my development-machine had no internet-connection i've made the patch files myself, but the database.diff wasn't correct. Here are the right ones. Thank you. Reviewed and

Re: [fpc-devel]MySQL component installation

2004-07-25 Thread Michael . VanCanneyt
On Sat, 24 Jul 2004, Christopher Kirkpatrick wrote: I have been trying to install the MySQLLaz package into my Lazarus system. It compiles OK, but on linking I get the following errors: ...undefined reference to `mysql_connect' ...undefined reference to `mysql_create_db' ...undefined

Re: [fpc-devel]MySQL component installation

2004-07-25 Thread Michael . VanCanneyt
On Sun, 25 Jul 2004, Christopher Kirkpatrick wrote: Can I have some guidance please from the FPC developers? The problem you point out is an old one. It is the very reason why I don't recommend developing with MySQL in FPC. The API has changed quite often, sometimes even a minor

Re: [fpc-devel]dbase compile and install on linux

2004-08-01 Thread Michael . VanCanneyt
On Sat, 31 Jul 2004, Vincent Snijders wrote: Hi, Attached patch fixes the installation problems some people had with the dbase units. The install program refused to install the units twice. Attached patch contains a patch for the Makefile.fpc, a patch for fpcmake to correctly

Re: [fpc-devel]DateSeparator

2004-08-08 Thread Michael . VanCanneyt
On Sat, 7 Aug 2004, Tony Maro wrote: The DateSeparator is defined in sysinth.inc as Const { Character to be put between date, month and year } DateSeparator: char = '-'; As you can see it is a typed const, which means you can set it to any character you like. To solve your

Re: [fpc-devel]patch for fcl/db/dbase/Makefile.fpc

2004-08-08 Thread Michael . VanCanneyt
On Sun, 8 Aug 2004, Vincent Snijders wrote: Hi, The unit Dbf_Wtil is not needed on win32, and ATM is not compiled, so it should not be installed, nor cleaned. Attached patch for fcl/db/dbase/Makefile.fpc and fcl/db/dbase/Makefile fixes this. Applied, thanks ! Michael.

RE: [fpc-devel]bug in Changes.XXX file generation?

2004-08-26 Thread Michael . VanCanneyt
On Thu, 26 Aug 2004, Vincent Snijders wrote: -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:fpc-devel- On Thu, 26 Aug 2004 10:31:29 +0200, Vincent Snijders wrote I noticed that sometimes cvs-changes are not included in the Changes.lazarus file in fpc/logs.

Re: [fpc-devel]Proposal for audo-destructors

2004-09-12 Thread Michael . VanCanneyt
On Sun, 12 Sep 2004, Vincent Snijders wrote: Nico Aragón wrote: Hello, On Sun, 12 Sep 2004 13:07:24 +0200 (CEST), [EMAIL PROTECTED] (Marco van de Voort) wrote: Absence of automatic construction/destruction of classes is very painfull and it can significantly degrade the

Re: [fpc-devel]Hints and Warning enabled and disabled

2004-09-22 Thread Michael . VanCanneyt
On Wed, 22 Sep 2004, Tomas Hajny wrote: From: Darek Mazur [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [fpc-devel]Hints and Warning enabled and disabled Date sent:Wed, 22 Sep 2004 18:57:30 +0200 U¿ytkownik Michael Van

Re: [fpc-devel]interbase bug

2004-09-25 Thread Michael . VanCanneyt
On Sat, 25 Sep 2004, Jesus Reyes wrote: Hi, I found a bug in interbase.pp here is a diff showing where the bug is. This affects Unified Interbase too, well not exactly this, I mean I reported some time ago to the UIB maintainer that FPC was using Extended instead of Double, he fixed

Re: [fpc-devel] Creating new classes at runtime

2004-11-12 Thread Michael . VanCanneyt
On Fri, 12 Nov 2004, Mattias Gaertner wrote: I don't know, if this is the right list, but the topic is quite fpc specific and needs some compiler gurus: The Lazarus IDE needs to create new classes at runtime. For example when loading/creating a descendent of TDataModule named

Re: [fpc-devel] Creating new classes at runtime

2004-11-13 Thread Michael . VanCanneyt
On Sat, 13 Nov 2004, Mattias Gaertner wrote: On Fri, 12 Nov 2004 22:32:48 +0100 (CET) [EMAIL PROTECTED] wrote: On Fri, 12 Nov 2004, Mattias Gaertner wrote: I don't know, if this is the right list, but the topic is quite fpc specific and needs some compiler gurus:

Re: [fpc-devel] enumerating environment variables

2004-12-11 Thread Michael . VanCanneyt
On Sat, 11 Dec 2004, Vincent Snijders wrote: [EMAIL PROTECTED] wrote: On Fri, 10 Dec 2004, Vincent Snijders wrote: If true, how can I enumerate the environment variables like I do with the dos unit using EnvCount and EnvStr from the dos unit. You currently can not. Most

RE: [fpc-devel] THandle and 64bit platforms

2004-12-20 Thread Michael . VanCanneyt
On Mon, 20 Dec 2004, Tomas Hajny wrote: Date sent:Mon, 20 Dec 2004 21:02:04 +0100 To: FPC developers' list [EMAIL PROTECTED] From: Marc Weustink [EMAIL PROTECTED] Subject: RE: [fpc-devel] THandle and 64bit platforms Send reply to:

RE: [fpc-devel] THandle and 64bit platforms

2004-12-20 Thread Michael . VanCanneyt
On Mon, 20 Dec 2004, Tomas Hajny wrote: Date sent:Mon, 20 Dec 2004 22:50:06 +0100 (CET) From: [EMAIL PROTECTED] To: [EMAIL PROTECTED], FPC developers' list [EMAIL PROTECTED] Subject: RE: [fpc-devel] THandle and 64bit

Re: [fpc-devel] THandle and 64bit platforms

2004-12-20 Thread Michael . VanCanneyt
On Mon, 20 Dec 2004, Florian Klaempfl wrote: [EMAIL PROTECTED] wrote: On Mon, 20 Dec 2004, Tomas Hajny wrote: Date sent: Mon, 20 Dec 2004 21:02:04 +0100 To: FPC developers' list [EMAIL PROTECTED] From: Marc Weustink [EMAIL PROTECTED]

RE: [fpc-devel] THandle and 64bit platforms

2004-12-20 Thread Michael . VanCanneyt
On Tue, 21 Dec 2004, Marc Weustink wrote: This will take some work :-) For adapting Lazarus I've no problems with it. For ppl wanting to port apps I see more problems. Especially when a shorter version of it exists. Besides I don't know what other Lazarus devels think People who want

Re: [fpc-devel] resourcestrings file

2004-12-29 Thread Michael . VanCanneyt
On Wed, 29 Dec 2004, Rimgaudas Laucius wrote: Hello, i am intresting for what purpose resourcestring file is created when compiling program. Can it be translated and later compiled into executable? How this can be done? The .rst file is created to provide a mechanism to localize your

Re: [fpc-devel] resourcestrings file

2004-12-29 Thread Michael . VanCanneyt
On Wed, 29 Dec 2004, Tomas Hajny wrote: On Wed, 29 Dec 2004 18:23:52 +0100, Florian Klaempfl wrote [EMAIL PROTECTED] wrote: Added to the wiki for future reference: http://www.freepascal.org/wiki/index.php/Using_resourcestrings I guess it's not in the docs yet else Michael would

Re: [fpc-devel] Interface to compressed files and archives

2004-12-30 Thread Michael . VanCanneyt
On Thu, 30 Dec 2004, DrDiettrich wrote: Hi there, I'm new to this list and want to introduce myself and my intended contributions to FreePascal. My name is Dr. Hans-Peter Diettrich, and I live in Flensburg (Germany). For brevity I use to sign my messages as DoDi. My main interests are

Re: [fpc-devel] Interface to compressed files and archives

2004-12-30 Thread Michael . VanCanneyt
On Thu, 30 Dec 2004, Marco van de Voort wrote: Just don't use anything conflicting with other prefixes: lib, z, db, im, sys. If we can agree on an implementation for archive handling that can be considered a standard implementation for FPC (i.e. distributed with the FCL), 'fp'

Re: [fpc-devel] Interface to compressed files and archives

2004-12-31 Thread Michael . VanCanneyt
On Fri, 31 Dec 2004, DrDiettrich wrote: [EMAIL PROTECTED] wrote: Naming a unit with 'u' standard does not seem useful to me, but this is a matter of taste. ... All other files are assumed to be units. (projects/packages have distinct extensions anyway) No problem at the directory

[fpc-devel] FPC 1.9.6 (a.k.a. 2.0.0-RC1) is out

2005-01-02 Thread Michael . VanCanneyt
Hello, The Free Pascal Team is pleased to announce that FPC version 1.9.6 (or 2.0.0-RC1) is available and ready for download. This is a pre-release of version 2.0. As such, it is considered a beta of the upcoming 2.0 release, which is expected to be released in one or two months from here.

Re:[fpc-devel] FPC 1.9.6 (a.k.a. 2.0.0-RC1) is out

2005-01-12 Thread Michael . VanCanneyt
On Sun, 2 Jan 2005 [EMAIL PROTECTED] wrote: In a message dated 1/2/2005 12:31:43 P.M. Central Standard Time, [EMAIL PROTECTED] (mailto:[EMAIL PROTECTED]) writes: The Free Pascal Team is pleased to announce that FPC version 1.9.6 (or 2.0.0-RC1) is available and ready for download.

Re: [fpc-devel] DisableControls and ControlsDisabled method/property of TDataset

2005-01-13 Thread Michael . VanCanneyt
On Thu, 13 Jan 2005, pascalive wrote: Recently the mentioned method/property was added to Tdataset. I'd like to know what's the behavior of them: when is supposed to be called, whats the consequence... I'm mantaining the sqlite wrapper (TDataset) and would like to know if its necessary

Re: [fpc-devel] Typo in unistdh.inc

2005-01-31 Thread Michael . VanCanneyt
On Tue, 1 Feb 2005, Den Jean wrote: Hi, 1) sysconf: could someone please fix sysconf in unistdh.inc. The library name is not correct packages/base/libc/unistdh.inc:function sysconf (__name : longint) : longint; cdecl; external clib name 'syconf'; The compile error is typically :

Re: [fpc-devel] fpdoc patch

2005-02-05 Thread Michael . VanCanneyt
On Sat, 5 Feb 2005, Ales Katona wrote: There's a tincy bug in 1.9.7 fpdoc. This patch fixes it(list out of bounds when just running it) I didn't test more tho so perhaps there are more problems.. Thank you. Fixed the bug. Michael. ___ fpc-devel

Re: [fpc-devel] XMLCfg leaking

2005-02-06 Thread Michael . VanCanneyt
On Sun, 6 Feb 2005, Ales Katona wrote: Try this program with a corrupted xml file(just delte part of a tag or something) Compile with -ghl and you'll get a few bytes leaked. I believe this is the bug Vincent Snijders was talking about. I will look at it; I need to change the xmlread and

Re: [fpc-devel] ptop

2005-02-21 Thread Michael . VanCanneyt
On Mon, 21 Feb 2005, Jan Ruzicka wrote: Hi here comes next incremental patch: - tokens now AnsiStrings - the comments are now handled better, ptop now does a multi line comments. - added debug prints to verbose option 'line in-number out-number symbol name = value' the value is

Re: [fpc-devel] dynamic package support

2005-02-26 Thread Michael . VanCanneyt
On Sat, 26 Feb 2005, Florian Klaempfl wrote: Hans-Jrg Vasold wrote: for a long time support for loading packages at runtime was planned for later versions. But now i can not find that this is planned anymore. Will FreePascal support dynamic packages in future or not.

Re: [fpc-devel] fpdoc: ISO8859-1 - ISO-8859-1 (fwd)

2005-05-27 Thread Michael . VanCanneyt
From: Vincent Snijders [EMAIL PROTECTED] Michael Van Canneyt wrote: On Fri, 27 May 2005, Vincent Snijders wrote: Michael Van Canneyt wrote: On Fri, 27 May 2005, Vincent Snijders wrote: Hi, I ran fpdoc generated html files through a html

Re: [fpc-devel] Interface delegation fix: backport to FPC 2.4.2 ...?

2010-05-20 Thread michael . vancanneyt
On Wed, 19 May 2010, Marco van de Voort wrote: In our previous episode, Michael Van Canneyt said: So - let's try another approach which may prove more constructive: What are your proposals to get some kind of observer pattern implemented so it can be applied consequently throughout the

Re: [fpc-devel] Interface delegation fix: backport to FPC 2.4.2 ...? (fwd)

2010-05-20 Thread michael . vancanneyt
Forwarded here, so everyone can see it. I mistakenly replied to Marco alone. Michael. -- Forwarded message -- Date: Thu, 20 May 2010 09:39:29 +0200 (CEST) From: Marco van de Voort mar...@stack.nl To: Michael Van Canneyt mich...@freepascal.org Cc: Marco van de Voort

Re: [fpc-devel] Component FTag and Tag should be int64

2010-11-22 Thread michael . vancanneyt
On Mon, 22 Nov 2010, Andrew Brunner wrote: I was looking at the code for Tag property in classes unit and noticed I can't safely use Tag to keep runtime pointers (at least on a 64 bit compile). What is the likelihood of getting tags changed to support universal access under 64/32 bit

Re: [fpc-devel] Component FTag and Tag should be int64

2010-11-22 Thread michael . vancanneyt
On Mon, 22 Nov 2010, Andrew Brunner wrote: On Nov 22, 2010, at 9:13 AM, michael.vancann...@wisa.be wrote The logic is that it is bad programming to use an integer to store a pointer. And we don't want to encourage bad programming. Yes, I know it's easy, and yes I know it's common

Re: [fpc-devel] Component FTag and Tag should be int64

2010-11-22 Thread michael . vancanneyt
On Mon, 22 Nov 2010, Hans-Peter Diettrich wrote: michael.vancann...@wisa.be schrieb: I was looking at the code for Tag property in classes unit and noticed I can't safely use Tag to keep runtime pointers (at least on a 64 bit compile). What is the likelihood of getting tags changed to

Re: [fpc-devel] Component FTag and Tag should be int64

2010-11-23 Thread michael . vancanneyt
On Tue, 23 Nov 2010, Andrew Brunner wrote: On Nov 23, 2010, at 2:27 AM, Max Vlasov max.vla...@gmail.com wrote: On Mon, Nov 22, 2010 at 5:13 PM, michael.vancann...@wisa.be wrote: We'll fix the issue as the upcoming Delphi 64-bit - unfortunately - forces us to follow suit. Will it

Re: [fpc-devel] Component FTag and Tag should be int64

2010-11-23 Thread michael . vancanneyt
On Tue, 23 Nov 2010, Hans-Peter Diettrich wrote: Andrew Brunner schrieb: That would not be an issue as Int64 is available under all flavors of FPC. I don't see the hold up in adding a patch for Data field. There is just one unit to change. What makes this so complicated that it hasn't be

Re: [fpc-devel] StdOut capture for FPC RTL

2010-11-25 Thread michael . vancanneyt
On Thu, 25 Nov 2010, Thaddy wrote: On 24-11-2010 21:32, Michael Van Canneyt wrote: On Wed, 24 Nov 2010, Anton Kavalenka wrote: Get stdout handle (duplicate it under linux), create pipe, replace the stdout (keeping the old stdout) for current process with write handle of pipe, There

Re: [fpc-devel] StdOut capture for FPC RTL

2010-11-25 Thread michael . vancanneyt
On Thu, 25 Nov 2010, Marco van de Voort wrote: In our previous episode, michael.vancann...@wisa.be said: Michael. You can write a classic pascal textfile device driver and assign directly to the global TEXT variables Input, Output and ErrOutput. Don't know is this is threadsafe, though.

Re: [fpc-devel] StdOut capture for FPC RTL

2010-11-25 Thread michael . vancanneyt
On Thu, 25 Nov 2010, Thaddy wrote: On 25-11-2010 9:49, Marco van de Voort wrote: solid solution. *without* the rewrites :) IIRC there is a pointer in the filetype that points into the buffer. (bufptr). Just copying that means they still point into the same pointer.

Re: [fpc-devel] Added new target to fpmake

2010-11-25 Thread michael . vancanneyt
On Thu, 25 Nov 2010, dhkblas...@zeelandnet.nl wrote: ZeelandNet Webmail Hi, Today I was playing with FPDoc and I decided to add creating the documents as a target to fpmake which seems logical to me. I only did a very basic implementation to show tghe principle so someone (Joost /

Re: [fpc-devel] Added new target to fpmake

2010-11-25 Thread michael . vancanneyt
On Thu, 25 Nov 2010, dhkblas...@zeelandnet.nl wrote: I think it is a good and valuable idea. Do you have any plans to add more functionality to it ? I was thinking about adding a few more helper functions, such as adding documentation for whole directories at a time. Also the documentation

Re: [fpc-devel] Question regarding thread finalization

2010-11-27 Thread michael . vancanneyt
On Sat, 27 Nov 2010, Sven Barth wrote: On 27.11.2010 18:12, Michael Van Canneyt wrote: Pierre muller has a better solution. He uses TLS callbacks. His solution is finished, but is in need of testing. If you want, I can send you his patch, and then you can test it too. Yes, I'd like to

Re: [fpc-devel] Less comprehensive progress output for fpmake

2010-11-30 Thread michael . vancanneyt
On Mon, 29 Nov 2010, Darius Blaszyk wrote: On Mon, 2010-11-29 at 20:00 +0100, Darius Blaszyk wrote: On Mon, 2010-11-29 at 19:31 +0100, Jonas Maebe wrote: On 29 Nov 2010, at 18:45, Darius Blaszyk wrote: The major problem we will have to solve is localization. Now the code depends on the

Re: [fpc-devel] defaultformatsettings

2010-11-30 Thread michael . vancanneyt
On Tue, 30 Nov 2010, Marco van de Voort wrote: In our previous episode, Michael Van Canneyt said: Seems Delphi XE has deprecated all separate variables, and after ten years did the same as FPC, use an absolute trick. And of course they named it differently (FPC: defaultformatsettings

Re: [fpc-devel] ShortMonthNames give non local result

2010-12-05 Thread michael . vancanneyt
Include the 'clocale' unit in your program's uses clause. it will initialize the internationalization settings in the sysutils unit. I have adapted the documentation so it mentions this. Michael. On Sun, 5 Dec 2010, Alexander wrote: Hi, I try use this variable, but result in English:

Re: [fpc-devel] Location of documentation

2010-12-06 Thread michael . vancanneyt
On Mon, 6 Dec 2010, Darius Blaszyk wrote: On Mon, 2010-12-06 at 20:39 +0100, Michael Van Canneyt wrote: Contributions are more than welcome, as long as they adhere to a strict rule: I don't publish documentation for a unit unless it is complete. Does that mean that partial documented xml

Re: [fpc-devel] Proposed change in Objective-Pascal syntax

2010-12-30 Thread michael . vancanneyt
On Thu, 30 Dec 2010, Jonas Maebe wrote: Hello, So I would propose to change the syntax by moving the external modifier to the same location as where sealed and abstract can be placed for Delphi-style classes. It should be quite easy to modify the Objective-C headers parser script to

Re: [fpc-devel] Variables declaraction inside code

2011-01-12 Thread michael . vancanneyt
On Wed, 12 Jan 2011, Paul Ishenin wrote: 12.01.2011 14:15, kingbiz...@gmail.com wrote: Something that I always thought very nice on other languages is the possible of adding variables inside the codes, I'm very happy using the FPC but came on my mind, FPC is always getting better and better

Re: [fpc-devel] Proposal: Supporting initial references for weakexternal

2011-01-12 Thread michael . vancanneyt
On Wed, 12 Jan 2011, Paul Ishenin wrote: 12.01.2011 16:34, Florian Klaempfl пишет: Is the current solution of using procedure variables so bad? Or what does it lack? I see the next benefits from WeakExternal: 1. Less accidental errors. Which procedural variables you need to care about

Re: [fpc-devel] += with properties

2011-01-12 Thread michael . vancanneyt
On Wed, 12 Jan 2011, Michael Schnell wrote: On 01/12/2011 04:48 PM, Alexander Klenin wrote: Blindly replacing a += b with a := a + b may lead to a semantic change if a is an expression with side-effects. Nevertheless, I do think that implementing += for properties is a good idea, but

Re: [fpc-devel] MySQL 5.5 and Connector System

2011-01-18 Thread michael . vancanneyt
On Tue, 18 Jan 2011, LacaK wrote: If sb wants in in 2.4.4, I urge you to be quick :-) Does it mean, that you are preparing release 2.4.4 in short time ? If yes, then I would happy, if also bug http://bugs.freepascal.org/view.php?id=16493 with attached patch will be commited. I checked

Re: [fpc-devel] MySQL 5.5 and Connector System

2011-01-18 Thread michael . vancanneyt
On Tue, 18 Jan 2011, LacaK wrote: I checked the patch and committed the patch in trunk. Please test and report, then we can merge the patch to fixes. The patch is ok, as tested and reported also here http://bugs.freepascal.org/view.php?id=18114 (and I also use this patch in my

Re: [fpc-devel] GetLocaleInfo strange result in Windows 7

2011-01-21 Thread michael . vancanneyt
On Fri, 21 Jan 2011, LacaK wrote: Hi *, consider following sample program: var b: array[0..255] of char; begin if getlocaleinfoa(LOCALE_USER_DEFAULT, LOCALE_SSHORTDATE, b, sizeof(b)) 0 then writeln('LOCALE_USER_DEFAULT:',b); if getlocaleinfoa(LOCALE_SYSTEM_DEFAULT, LOCALE_SSHORTDATE,

Re: [fpc-devel] TFPCustomCanvas drawing routines

2011-01-26 Thread michael . vancanneyt
On Wed, 26 Jan 2011, Mattias Gaertner wrote:     Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com hat am 26. Januar 2011 um 16:45 geschrieben: Hello, I am extending the converter of FPVectorial to Canvas, but I got stuck at the lack of drawing methods in TFPCustomCanvas. It

Re: [fpc-devel] TFPCustomCanvas drawing routines

2011-01-26 Thread michael . vancanneyt
On Wed, 26 Jan 2011, Felipe Monteiro de Carvalho wrote: Ok, good =) One thing, however, should't the drawing routines in TFPCustomCanvas be virtual? The LCL seams to simply hide them at the moment. Overriding is more usual, isn't it? Send me a proposal in private if you want. Michael.

Re: [fpc-devel] inheriting handles using TProcess in unix

2011-01-27 Thread michael . vancanneyt
On Wed, 26 Jan 2011, Seth Grover wrote: http://www.freepascal.org/docs-html/fcl/process/tprocess.inherithandles.html says On Unix, setting this variable has no effect. Why is this? The reason I ask is that often when using TProcess I run into the problem where if I execute some script or

Re: [fpc-devel] fcl-db bugs/improvements/patches

2011-02-16 Thread michael . vancanneyt
I will look at them today. Michael. On Wed, 16 Feb 2011, LacaK wrote: Hi *, there are some waiting bugs with patches, which are relative simple and IMHO they can not affect negatively product quality. I summarize them here, for quick review them, so if then they can go into 2.4.4 release:

Re: [fpc-devel] fcl-db bugs/improvements/patches

2011-02-16 Thread michael . vancanneyt
On Wed, 16 Feb 2011, Joost van der Sluis wrote: On Wed, 2011-02-16 at 11:30 +0100, michael.vancann...@wisa.be wrote: I will look at them today. They all need improvement or a better review or testcases or break backwards compatibility. The BIGINT or NCHAR stuff not, I would think ? I'll

Re: [fpc-devel] RFC: TParam.AsBCD vs. AsFMTBCD

2011-02-23 Thread michael . vancanneyt
On Wed, 23 Feb 2011, LacaK wrote: Hi, we have in fcl-db TField.AsBCD: TBCD; but we do not have TParam.AsBCD, nor TParam.AsFMTBCD Delphi defines: TParam.AsBCD: Currency ... http://docwiki.embarcadero.com/VCL/XE/en/DB.TParam.AsBCD TParam.AsFMTBCD: TBCD ...

Re: [fpc-devel] TFieldDef.Size vs TField.Size

2011-02-24 Thread michael . vancanneyt
On Thu, 24 Feb 2011, LacaK wrote: Hi, I am writting here to discuss bug http://bugs.freepascal.org/view.php?id=17268 (I do not want reopen bug and writte there because I am not sure about my arguments) IMHO root of problem is in different definition of TFieldDef.Size and TField.Size

Re: [fpc-devel] TFieldDef.Size vs TField.Size

2011-02-24 Thread michael . vancanneyt
On Thu, 24 Feb 2011, Martin Schreiber wrote: On Thursday 24 February 2011 08:02:20 LacaK wrote: So also here we can see, that FieldDef.Size is expected to be number of characters not bytes. So IMHO logical conclusion will be say, that TFieldDef.Size for string fields has same menaing as

Re: [fpc-devel] TFieldDef.Size vs TField.Size

2011-02-24 Thread michael . vancanneyt
On Thu, 24 Feb 2011, Martin Schreiber wrote: On Thursday 24 February 2011 09:49:51 michael.vancann...@wisa.be wrote: Agreed. In MSEgui tmsestringfield.size is the maximum allowed character count for the field. 0 = no limit. tmsebufdataset stores string data as UnicodeString instead to use a

Re: [fpc-devel] TFieldDef.Size vs TField.Size

2011-02-24 Thread michael . vancanneyt
On Thu, 24 Feb 2011, Martin Schreiber wrote: On Thursday 24 February 2011 10:16:43 michael.vancann...@wisa.be wrote: But here you implicitly assume that you have a fixed number of bytes per character. You should always be explicit about such things, since this is a non-trivial assumption.

Re: [fpc-devel] Possible bug in fcl-xml

2011-02-25 Thread michael . vancanneyt
On Thu, 24 Feb 2011, Leonardo M. Ramé wrote: Hi, I need to parse a web page that contains some complex scripting, and I'm getting this an EDOMError in DOMDocument.CreateElement. Inspecting the tagName param from TDOMDocument.CreateElement(const tagName: DOMString), I found the parser can't

Re: [fpc-devel] Fcl-Web 404 error

2011-03-11 Thread michael . vancanneyt
On Fri, 11 Mar 2011, Leonardo M. Ramé wrote: --- On Fri, 3/11/11, michael.vancann...@wisa.be michael.vancann...@wisa.be wrote: From: michael.vancann...@wisa.be michael.vancann...@wisa.be Subject: Re: [fpc-devel] Fcl-Web 404 error To: FPC developers' list fpc-devel@lists.freepascal.org

Re: [fpc-devel] const parameter passing

2011-03-17 Thread michael . vancanneyt
On Thu, 17 Mar 2011, Jonas Maebe wrote: Hello, Finally I'm not alone anymore in repeating this over and over again: http://twitter.com/kylix_rd/statuses/48210052770836480 :) You should send him a big thank you :-) Michael. ___ fpc-devel

Re: [fpc-devel] The future of fpmake

2011-03-30 Thread michael . vancanneyt
On Wed, 30 Mar 2011, Darius Blaszyk wrote: Hi, I'm using fpmake more and more in my projects (large or small) and from time to time I come across some limitations that need to be resolved. In the past I have supplied a number of small patches which were normally applied without problems,

Re: [fpc-devel] The future of fpmake

2011-03-30 Thread michael . vancanneyt
On Wed, 30 Mar 2011, Florian Klaempfl wrote: Am 30.03.2011 17:31, schrieb michael.vancann...@wisa.be: - execute fpmake from command line (see thread by mattias : run pascal programs as script) for this we would need instantfpc to support win32 and it should be supplied as a standard fpc tool

Re: [fpc-devel] The future of fpmake

2011-03-31 Thread michael . vancanneyt
On Thu, 31 Mar 2011, Darius Blaszyk wrote: Imagine you have debug, profiling and testing setup locally b Should be debug, release and testing Nono, I actually meant profiling as different from debug. The difference being that debug has all optimizations off, profiling has them all on.

Re: [fpc-devel] The future of fpmake

2011-03-31 Thread michael . vancanneyt
On Thu, 31 Mar 2011, Jonas Maebe wrote: On 31 Mar 2011, at 13:29, Marco van de Voort wrote: 1. they are mostly generated anyway. The .fpc files are the info, not the makefiles themselves. I still prefer those Makefile.fpc files very much to the fpmake.pp files. The idea is to

Re: [fpc-devel] The future of fpmake

2011-03-31 Thread michael . vancanneyt
On Thu, 31 Mar 2011, Jonas Maebe wrote: On 31 Mar 2011, at 14:26, michael.vancann...@wisa.be wrote: On Thu, 31 Mar 2011, Jonas Maebe wrote: On 31 Mar 2011, at 13:29, Marco van de Voort wrote: 1. they are mostly generated anyway. The .fpc files are the info, not the makefiles

Re: [fpc-devel] Recent changes to TField.SetData

2011-04-04 Thread michael . vancanneyt
On Mon, 4 Apr 2011, LacaK wrote: Michael Van Canneyt wrote / napísal(a): On Mon, 4 Apr 2011, LacaK wrote: Hi, This fix http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/packages/fcl-db/src/base/fields.inc?r1=17199r2=17220 fixes mising call to TField.Validate (before data are written

Re: [fpc-devel] Recent changes to TField.SetData

2011-04-05 Thread michael . vancanneyt
On Mon, 4 Apr 2011, Luiz Americo Pereira Camara wrote: On 4/4/2011 10:28, michael.vancann...@wisa.be wrote: On Mon, 4 Apr 2011, LacaK wrote: Michael Van Canneyt wrote / napísal(a): On Mon, 4 Apr 2011, LacaK wrote: Then please move approprate code at least into

Re: [fpc-devel] Recent changes to TField.SetData

2011-04-05 Thread michael . vancanneyt
On Tue, 5 Apr 2011, LacaK wrote: --or-- introduce any new method (ValidateFieldData ? ;-))) and let tdatsset descendants use it: {$IFDEF FPC} ValidateFieldData(Field: TField; Buffer: Pointer); {$ENDIF} --or-- some smarter solution ? The whole code, which is repeated (and can be put

Re: [fpc-devel] fpweb is not showing the exception message [Found the problem]

2011-04-13 Thread michael . vancanneyt
On Tue, 12 Apr 2011, ABorka wrote: On 4/12/2011 01:31, ABorka wrote: On 4/12/2011 00:01, michael.vancann...@wisa.be wrote: On Mon, 11 Apr 2011, ABorka wrote: I was playing today with fpweb a little, and found a simply reproducible minor problem. When one creates a new CGI or FCGI

Re: [fpc-devel] fpweb is not showing the exception message [Found the problem]

2011-04-13 Thread michael . vancanneyt
On Wed, 13 Apr 2011, ABorka wrote: On 4/13/2011 00:07, michael.vancann...@wisa.be wrote: On Mon, 11 Apr 2011, ABorka wrote: ...snip... OK, found the problem: fpweb does not set the content length properly when there was an exception or error message, it uses the content length from the

Re: [fpc-devel] Recent changes to TField.SetData

2011-04-26 Thread michael . vancanneyt
On Tue, 26 Apr 2011, LacaK wrote: Michael, do you plan do something else with this OnValidate problem ? I thought I had done everything, or did I (again) forget something ? Michael. Thanks -Laco. Hi, here are diffs with changes, I hope they will be good for all TDataSet descendants

Re: [fpc-devel] {$I %LINE%} and friends

2011-04-29 Thread michael . vancanneyt
On Fri, 29 Apr 2011, Joerg Schuelke wrote: There is one problem with {$I %LINE%} and his friends, which restricts the use of these directives. They are expanded even inside a macro immediately, so, if you define a macro for debugging purposes, you get the line and file info for the place of

Re: [fpc-devel] {$I %LINE%} and friends

2011-04-29 Thread michael . vancanneyt
On Fri, 29 Apr 2011, Hans-Peter Diettrich wrote: michael.vancann...@wisa.be schrieb: But what is the cleaner way? To defer the expansion of {$I %xxx%} inside macros, or to define c-like macros __LINE__ and __FILE__, maybe with nicer names? Defer expansion. The use of {$I } is mandatory,

Re: [fpc-devel] Declare variables inside the code

2011-05-12 Thread michael . vancanneyt
On Thu, 12 May 2011, Jonas Maebe wrote: On 12 May 2011, at 10:21, Jonas Maebe wrote: b) it inlines the constents of {$include xxx} statements (so the compiler-inserted debug information would no longer be correct This is actually a general problem with preprocessed source files: the line

Re: [fpc-devel] HTTP client/server components committed.

2011-05-17 Thread michael . vancanneyt
On Tue, 17 May 2011, Michael Schnell wrote: On 05/17/2011 01:10 PM, Michael Van Canneyt wrote: Will you look at it, or would you like me to do it ? It would be just great if an example project would come with the components. There are example projects (see my initial mail). Michael.

Re: [fpc-devel] compiling svn: Fatal: Can't find unit httpdefs used by fpwebdata

2011-05-23 Thread michael . vancanneyt
On Mon, 23 May 2011, Martin wrote: I have just updated again, and I still have the problem. (SVN says there are no unmodified files) I really do need some help how to fix it. Fatal: Can't find unit httpdefs used by fpwebdata Fatal: Compilation aborted httpdefs.ppu is in

Re: [fpc-devel] SVN 17548 does not compile

2011-05-24 Thread michael . vancanneyt
On Mon, 23 May 2011, ABorka wrote: sysutils.pp(243,40) Error: Identifier not found Mode sysutils.pp(819,3) Warning: Symbol GetLocaleFormatSettings is not portable sysutils.pp(1277) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted Fixed in rev. 17549.

  1   2   3   >