Re: [fpc-devel] defaultformatsettings

2010-11-29 Thread Michael Van Canneyt
On Mon, 29 Nov 2010, Marco van de Voort wrote: 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 Delphi: formatsettings) Oh well, this is an easy one,

Re: [fpc-devel] Problems with rapid fpSend calls on x64 Ubuntu 10.10 (updated)

2010-12-02 Thread Michael Van Canneyt
On Thu, 2 Dec 2010, Andrew Brunner wrote: OS: Ubuntu 10.10 x64 all updates as of this am.  But problem has persisted for days now. Laz/FPC: Today's trunk worker thread running issues a call to fpSend with iSend Bytes in buffer     Try  

Re: [fpc-devel] Problems with rapid fpSend calls on x64 Ubuntu 10.10 (updated)

2010-12-02 Thread Michael Van Canneyt
On Thu, 2 Dec 2010, Andrew Brunner wrote: On Thu, Dec 2, 2010 at 1:14 PM, Michael Van Canneyt mich...@freepascal.org wrote: It would help if you could say what the exception exactly is ? Thanks Michael, Well all I see is a SIGPIPE exception.  As stated before the actual FPC exception

Re: [fpc-devel] 2.5.1 doesn't build

2010-12-03 Thread Michael Van Canneyt
On Fri, 3 Dec 2010, Thaddy wrote: There seem to be a couple of stringresources missing in sqldb.pp latest checkout, make clean, make all The resourcestrings are in dbconst, and I forgot to commit that. This has been fixed meanwhile. Michael. ___

Re: [fpc-devel] Console IO revisited

2010-12-03 Thread Michael Van Canneyt
On Fri, 3 Dec 2010, Thaddy wrote: Sorry if this is already picked up as it IMHO should have been. I missed some mails due to a server crash. Today I encountered a similar issue with using threadvars for the input, output and err variables in system when trying to use the input as a win32

Re: [fpc-devel] Console IO revisited

2010-12-03 Thread Michael Van Canneyt
On Fri, 3 Dec 2010, Thaddy wrote: On 3-12-2010 13:22, Thaddy wrote: --- CreateFile; lpFileName Use the CONIN$ value to specify console input. Use the CONOUT$ value to specify console output. CONIN$ gets a handle to the console input buffer, even if the SetStdHandle function redirects

Re: [fpc-devel] Console IO revisited

2010-12-03 Thread Michael Van Canneyt
On Fri, 3 Dec 2010, Thaddy wrote: On 3-12-2010 13:38, Michael Van Canneyt wrote: On Fri, 3 Dec 2010, Thaddy wrote: Sorry if this is already picked up as it IMHO should have been. I missed some mails due to a server crash. Today I encountered a similar issue with using threadvars

Re: [fpc-devel] Location of documentation

2010-12-06 Thread Michael Van Canneyt
On Mon, 6 Dec 2010, Darius Blaszyk wrote: I did the unthinkable ;) by trying to write some documentation for an FPC package. I searched FPC without success after which I got fpcdocs from SVN, no luck either. I only found some files included in Lazarus (\docs\xml\). What is the plan for the

Re: [fpc-devel] Linux Signals

2011-01-02 Thread Michael Van Canneyt
On Sat, 1 Jan 2011, Andrew Brunner wrote: Thanks, Nikolai. epoll looks like the silver bullet (for linux) and very promising. I can dump a bunch of sockets into it and get the kernel to let me know which ones get notifications for reset/read/write. ...Which is what I suggested in the

Re: [fpc-devel] Linux Signals

2011-01-02 Thread Michael Van Canneyt
On Sun, 2 Jan 2011, Andrew Brunner wrote: On Sun, Jan 2, 2011 at 4:43 AM, Michael Van Canneyt mich...@freepascal.org wrote: Do note that you're back to polling, which I understood you wanted to avoid in the first place ? Michael. Sigh - yes, your right. I haven't given up on kernel level

Re: [fpc-devel] Linux Signals

2011-01-03 Thread Michael Van Canneyt
On Sun, 2 Jan 2011, Andrew Brunner wrote: I'm really surprised that I come off as sounding pro any OS. Personally, I'm the type of person to remove Windows 7 from my brand new laptop just to run Ubuntu. I think there is though, some sort of deep seeded resentment towards event driven

Re: [fpc-devel] TryStrToBCD inverted

2011-02-20 Thread Michael Van Canneyt
On Sun, 20 Feb 2011, Joost van der Sluis wrote: Hi all, Am I the only one who finds it strange that TryStrToBCD returns false when it succeeds, and true when it fails? It is simply a bug; You can just fix it. No need to mention this. Michael.

Re: [fpc-devel] GetMem(SomePointer, 0) nil

2011-03-01 Thread Michael Van Canneyt
On Tue, 1 Mar 2011, Paul Ishenin wrote: Hello, FPC developers' list. I noticed today that if I want to allocate 0 bytes I get not a nil but a valid pointer. Why? This is incompatible with delphi. And I suppose cause crashes and memory leaks not only in my delphi code which I'm porting to

Re: [fpc-devel] The future of fpmake

2011-03-30 Thread Michael Van Canneyt
On Wed, 30 Mar 2011, Darius Blaszyk wrote: On Mar 30, 2011, at 5:31 PM, michael.vancann...@wisa.be wrote: - managing debug/release builds (also cross-compiling) What is failing in the current system for this ? I was thinking to be able to do something like : fpmake build debug This

Re: [fpc-devel] The future of fpmake

2011-03-30 Thread Michael Van Canneyt
On Thu, 31 Mar 2011, Darius Blaszyk wrote: On Mar 30, 2011, at 11:46 PM, Michael Van Canneyt wrote: fpmake build debug I would prefer a named option, i.e. fpmake build --profile=debug from the users perspective this is not very friendly. It is more clear what is meant. All other

Re: [fpc-devel] The future of fpmake

2011-03-30 Thread Michael Van Canneyt
On Thu, 31 Mar 2011, Darius Blaszyk wrote: (not to mention all the possible complications on Windows, probably Mac OS as well) Can you name a potential issue you see by renaming the makefile to some other extension? I thought that FPC does not mind which extension you use, as long as the

Re: [fpc-devel] Changes in Makefile-system

2011-04-02 Thread Michael Van Canneyt
On Fri, 1 Apr 2011, Joost van der Sluis wrote: Hi all, I've just committed a change in the Makefiles for the fcl-web package. The Makefile now calls fpmake to build and install the package. It's a first test, so please try and report any problems you have when building the fcl-web package.

Re: [fpc-devel] Changes in Makefile-system

2011-04-02 Thread Michael Van Canneyt
On Sat, 2 Apr 2011, Jonas Maebe wrote: On 01 Apr 2011, at 23:15, Joost van der Sluis wrote: It's a first test, so please try and report any problems you have when building the fcl-web package. (Or all packages, or just a complete fpc-checkout) I'll try to fix them as soon as possible. It

Re: [fpc-devel] Changes in Makefile-system

2011-04-02 Thread Michael Van Canneyt
On Sat, 2 Apr 2011, Joost van der Sluis wrote: On Sat, 2011-04-02 at 10:50 +0200, Michael Van Canneyt wrote: On Fri, 1 Apr 2011, Joost van der Sluis wrote: Hi all, I've just committed a change in the Makefiles for the fcl-web package. The Makefile now calls fpmake to build and install

Re: [fpc-devel] Debugging FCGI applications

2011-04-12 Thread Michael Van Canneyt
On Tue, 12 Apr 2011, ABorka wrote: Hi, How do we debug an FCGI application from within Lazarus? The RUN function is disabled in the RUN menu, so I can not start it up after putting some break points in the IDE. In project options, under 'Miscellaneous' set 'Project is runnable' to true.

Re: [fpc-devel] trash after program end. = no warning, no error

2011-04-27 Thread Michael Van Canneyt
On Wed, 27 Apr 2011, Sven Barth wrote: On 27.04.2011 20:06, Jonas Maebe wrote: On 27 Apr 2011, at 20:01, Martin wrote: Is that intended? Yes, that's how the Pascal language is defined. At least Delphi prints a warning that text behind end. is ignored. If I remember correctly, on the

Re: [fpc-devel] fppkg question

2011-05-10 Thread Michael Van Canneyt
On Tue, 10 May 2011, Darius Blaszyk wrote: Hi, I've created a trivial front end for fppkg (see lazarus mailing list) but working on this I realized that they are not grouped in any way. Currently with approx. 70 packages this is not a real problem, but if the system will get used more

Re: [fpc-devel] Macro Processing

2011-05-13 Thread Michael Van Canneyt
On Fri, 13 May 2011, Joerg Schuelke wrote: The thoughts about further improvement of the macro capabilities of the compiler are now so far along that I can post this paper. But it is not that short, about three pages. In short: No, it is better to keep that particular box of pandora closed.

Re: [fpc-devel] fppkg question

2011-05-13 Thread Michael Van Canneyt
On Fri, 13 May 2011, Darius Blaszyk wrote: All this info is supposed to be output in XML format from fpmake --manifest. fppkg picks it up and stores it in the repository. If you want to extend it to include a category and keywords, be my guest. Thanks, that was the class indeed I was

Re: [fpc-devel] fppkg question

2011-05-13 Thread Michael Van Canneyt
On Fri, 13 May 2011, Darius Blaszyk wrote: On May 13, 2011, at 1:01 PM, Michael Van Canneyt wrote: On Fri, 13 May 2011, Darius Blaszyk wrote: All this info is supposed to be output in XML format from fpmake --manifest. fppkg picks it up and stores it in the repository. If you want

Re: [fpc-devel] Macro Processing

2011-05-13 Thread Michael Van Canneyt
On Fri, 13 May 2011, Joerg Schuelke wrote: Am Fri, 13 May 2011 11:25:36 +0200 (CEST) schrieb Michael Van Canneyt mich...@freepascal.org: In short: No, it is better to keep that particular box of pandora closed. None of the more modern languages implement macros, and this is for good reason

Re: [fpc-devel] Macro Processing

2011-05-13 Thread Michael Van Canneyt
On Fri, 13 May 2011, Jonas Maebe wrote: On 13 May 2011, at 13:43, Michael Van Canneyt wrote: If I had my way, I would remove the existing ones alltogether. The one use case they have in FPC sources could easily be remedied. They were introduced for Mac Pascal compiler compatibility

Re: [fpc-devel] Macro Processing

2011-05-13 Thread Michael Van Canneyt
On Fri, 13 May 2011, Joerg Schuelke wrote: Am Fri, 13 May 2011 13:43:52 +0200 (CEST) schrieb Michael Van Canneyt mich...@freepascal.org: If I had my way, I would remove the existing ones alltogether. The one use case they have in FPC sources could easily be remedied. Thats a clear

Re: [fpc-devel] Macro Processing

2011-05-14 Thread Michael Van Canneyt
On Sat, 14 May 2011, Joerg Schuelke wrote: Am Sat, 14 May 2011 00:36:17 +0200 schrieb Jonas Maebe jonas.ma...@elis.ugent.be: 1) the compiler automatically makes you keep them in sync, because adding/removing an element form the enumeration will cause a compilation error for the array if

Re: [fpc-devel] Latest SVN - make clean gives error in /packages/fppkg

2011-05-14 Thread Michael Van Canneyt
Fixed. Michael. On Fri, 13 May 2011, ABorka wrote: Latest FPC SVN make clean results in: . . . make -C fppkg distclean make[2]: Entering directory `/fpc_svn/packages/fppkg' make[2]: *** No rule to make target `distclean'. Stop. make[2]: Leaving directory `/fpc_svn/packages/fppkg' make[1]:

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

2011-05-15 Thread Michael Van Canneyt
Hi, In the light of recent fppkg and fcl-web discussions: I've committed simple HTTP server (threaded or not) and HTTP Client components to FCL-Web. They work using the fcl-net ssockets unit. (for which a fix has been committed as well). Both use blocking sockets. The server component is

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

2011-05-15 Thread Michael Van Canneyt
On Sun, 15 May 2011, Žilvinas Ledas wrote: Hi, it's greate fpc has simple http client now ;) On 2011-05-15 19:13, Michael Van Canneyt wrote: if someone knows where this file can be found (or related information) on a Windows OS, please let me know. You can look at components

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

2011-05-17 Thread Michael Van Canneyt
On Tue, 17 May 2011, Inoussa OUEDRAOGO wrote: I've committed simple HTTP server (threaded or not) and HTTP Client components to FCL-Web. They work using the fcl-net ssockets unit. (for which a fix has been committed as well). Both use blocking sockets. Great news ! It should be now

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

2011-05-17 Thread Michael Van Canneyt
On Tue, 17 May 2011, Inoussa OUEDRAOGO wrote: 2011/5/17 Michael Van Canneyt mich...@freepascal.org On Tue, 17 May 2011, Inoussa OUEDRAOGO wrote: I've committed simple HTTP server (threaded or not) and HTTP Client components to FCL-Web. They work using the fcl-net ssockets unit

Re: [fpc-devel] Compilation is broken at rev. 17482 ?

2011-05-17 Thread Michael Van Canneyt
On Tue, 17 May 2011, Žilvinas Ledas wrote: Hello all, is it me, or compilation is broken (revision: 17482): ... Fatal: Can't find unit fphttpclient used by pkgfphttp Fatal: Compilation aborted make[4]: *** [pkgfphttp.ppu] Error 1 make[4]: Leaving directory

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

2011-05-21 Thread Michael Van Canneyt
On Sat, 21 May 2011, Martin wrote: just updated trunk from svn. Now getting this error make.exe all LINKSMART=1 CREATESMART=1 make.exe[5]: Entering directory `C:/FPC/SVN/trunc/packages/fcl-web/src/webdata' C:/FPC/SVN/trunk_build/gmkdir.exe -p units/i386-win32

Re: [fpc-devel] Fppkg questions

2011-05-22 Thread Michael Van Canneyt
On Sun, 22 May 2011, Darius Blaszyk wrote: While working on the lazarus GUI I could not find evidence that fppkg is capable of supporting multiple repositories. As far as I can tell the mirrors.xml is always downloaded from the freepascal server and only holds some alternatives to get the

Re: [fpc-devel] Fppkg questions

2011-05-22 Thread Michael Van Canneyt
On Sun, 22 May 2011, Darius Blaszyk wrote: On May 22, 2011, at 6:04 PM, Michael Van Canneyt wrote: On Sun, 22 May 2011, Darius Blaszyk wrote: While working on the lazarus GUI I could not find evidence that fppkg is capable of supporting multiple repositories. As far as I can tell

Re: [fpc-devel] fpjson/jsonparser: EJSONScanner vs EScannerError

2011-05-29 Thread Michael Van Canneyt
On Sun, 29 May 2011, Luiz Americo Pereira Camara wrote: I found that to handle error while parsing json through TJSONParser is necessary to consider two types of exceptions: EJSONScanner from jsonparser EScannerError from jsonscanner This has the drawback of need to duplicate code like:

Re: [fpc-devel] fcl-WEB build broken = AGAIN

2011-06-10 Thread Michael Van Canneyt
On Fri, 10 Jun 2011, Martin wrote: Everytime I update, lately I run into issues problem is th / which is not regognized by windows. ./fpmake.exe windows believes . is the command. That's kind of strange, because from LOCALFPMAKE=.$(PATHSEP)fpmake$(SRCEXEEXT) I would guess that the

Re: wrong detection of inUnix ?? [Re: [fpc-devel] fcl-WEB build broken]

2011-06-11 Thread Michael Van Canneyt
On Sat, 11 Jun 2011, Marco van de Voort wrote: In our previous episode, Martin said: Afaik this doesn't hold anymore if you run make inside a cygwin shell. Right but iirc cygwin was detected on it's own, and PATHSEP for cygwin was / anyway Anyway, if cygwin allows / then it wouldn't

Re: [fpc-devel] TField.OldValue

2011-06-11 Thread Michael Van Canneyt
On Sat, 11 Jun 2011, Ladislav Karrach wrote: Thanks, I reported it in bug tracker http://bugs.freepascal.org/view.php?id=19542 Well, Joost is going to have a field day with those... Michael. -Laco. At least it is a bug in 2,3. The OldValue should IMHO be available till the Post

Re: [fpc-devel] question about TSearchRec

2011-06-12 Thread Michael Van Canneyt
On Sun, 12 Jun 2011, zeljko wrote: Hi all, Just tried something with file searching and cannot remember if it's different from dcc. fpc-2.4.3 on linux. sr: TSearchRec; if FindFirst('/blah/*,fileAttr, sr) repeat // here sr.PathOnly is empty ok Don't use PathOnly, it is deprecated

Re: [fpc-devel] Changes to fcl-web's fpmake.pp

2011-06-13 Thread Michael Van Canneyt
On Mon, 13 Jun 2011, Leonardo M. Ramé wrote: Hi, when compiling fcl-web, fpwebfile.pp should be added to the compilation. Without it, the httpapp example doesn't compile. --- fpmake.pp(revisión: 17744) +++ fpmake.pp(copia de trabajo) @@ -143,7 +143,10 @@            AddUnit('httpdefs');    

Re: [fpc-devel] Const optimization is a serious bug

2011-07-05 Thread Michael Van Canneyt
On Tue, 5 Jul 2011, Jonas Maebe wrote: On 05 Jul 2011, at 18:27, Alexander Klenin wrote: 2) All such incorrect usage should be removed from LCL and FCL (for example: event handlers in LCL and TStrings methods in FCL). Changing TStrings like that would break the compilation of any code

Re: RE : RE : RE : RE : [fpc-devel] MySQL 5.1 and Double (trouble)

2011-07-11 Thread Michael Van Canneyt
On Mon, 11 Jul 2011, Ludo Brands wrote: Hmmm... I seem to recall prepare and bind parameters in fcl-db/mySQL component source?. Are you sure about this? I really, really, really need double precision data to work. I know i've used binary binds with Int64 arrays and things well beyond 8

Re: [fpc-devel] convert comment help to fpcdoc

2011-07-17 Thread Michael Van Canneyt
On Sun, 17 Jul 2011, Felipe Monteiro de Carvalho wrote: Since we are talking about help stuff, (in another thread) Do we have any tool to convert documentation written in javadoc style (those comments in the source code) to fpdoc xml? I like to write my documentation as comments... There

Re: RE : [fpc-devel] Including Sorokin's TRegExpr in FPC

2011-08-02 Thread Michael Van Canneyt
On Tue, 2 Aug 2011, Vincent Snijders wrote: 2011/8/2 Ludo Brands ludo.bra...@free.fr: I knew I recognised the name of the author. This code is already used in lazarus and can be found in components/synedit/synregexpr.pas. I had to work on it because the original code doesn't run on cpu's

Re: RE : [fpc-devel] Including Sorokin's TRegExpr in FPC

2011-08-02 Thread Michael Van Canneyt
On Tue, 2 Aug 2011, Marco van de Voort wrote: In our previous episode, Michael Van Canneyt said: I knew I recognised the name of the author. This code is already used in lazarus and can be found in components/synedit/synregexpr.pas. I had to work on it because the original code doesn't run

Re: [fpc-devel] Delphi XE2 uses FPC for iOS target

2011-08-13 Thread Michael Van Canneyt
On Sat, 13 Aug 2011, Jonas Maebe wrote: On 07 Aug 2011, at 20:53, Jonas Maebe wrote: They only have to share them with their customers who get the binary (and even then only for nominal shipping and handling fees). Of course, those customers are then free to pass them along further, if

Re: [fpc-devel] strcopy, strlcopy for PWideChar

2011-08-15 Thread Michael Van Canneyt
On Mon, 15 Aug 2011, LacaK wrote: Hi, it seems, that there is ATM no versions of StrCopy, StrLCopy, which works with WideChars (in SysUtils). Can these variants be added ? function StrCopy(Dest: PWideChar; const Source: PWideChar): PWideChar;

Re: [fpc-devel] strcopy, strlcopy for PWideChar

2011-08-15 Thread Michael Van Canneyt
On Mon, 15 Aug 2011, LacaK wrote: Michael Van Canneyt wrote / napísal(a): On Mon, 15 Aug 2011, LacaK wrote: Hi, it seems, that there is ATM no versions of StrCopy, StrLCopy, which works with WideChars (in SysUtils). Can these variants be added ? function StrCopy(Dest: PWideChar

Re: [fpc-devel] Stackframes

2011-08-27 Thread Michael Van Canneyt
On Sat, 27 Aug 2011, Ludo Brands wrote: In http://www.freepascal.org/docs-html/prog/progsu72.html#x78-770001.1.72 is written: ... the compiler will omit the generation of a stackframe if the following conditions are satisfied: The procedure has no parameters. ... This condition should

Re: [fpc-devel] Stackframes

2011-08-27 Thread Michael Van Canneyt
On Sat, 27 Aug 2011, Florian Klämpfl wrote: Am 27.08.2011 12:50, schrieb Michael Van Canneyt: On Sat, 27 Aug 2011, Ludo Brands wrote: In http://www.freepascal.org/docs-html/prog/progsu72.html#x78-770001.1.72 is written: ... the compiler will omit the generation of a stackframe

Re: [fpc-devel] FPDoc sources

2011-08-30 Thread Michael Van Canneyt
On Tue, 30 Aug 2011, Hans-Peter Diettrich wrote: michael.vancann...@wisa.be schrieb: Since the purpose of fpdoc is to document things from pascal source code, for me it follows that it must read the source code first. This is the purpose of makeskel. Afterwards useful information has to

Re: [fpc-devel] FPDoc and Lazarus

2011-09-03 Thread Michael Van Canneyt
On Sat, 3 Sep 2011, Hans-Peter Diettrich wrote: Currently I'm working on the LCL documentation, on Win7, using Lazarus\docs\html\build_lcl_docs.lpr on Win7. Here I ran into some problems: There's something wrong with table row spacing, in all fpdoc generated HTML files. All fpdoc generated

Re: [fpc-devel] FPDoc and Lazarus

2011-09-03 Thread Michael Van Canneyt
On Sat, 3 Sep 2011, Felipe Monteiro de Carvalho wrote: On Sat, Sep 3, 2011 at 3:03 PM, Michael Van Canneyt mich...@freepascal.org wrote: No. It means your text structure is invalid. Typical errors are descr some text p /p /descr Why is this invalid? It looks valid to me. In HTML, maybe

Re: [fpc-devel] FPDoc and Lazarus

2011-09-03 Thread Michael Van Canneyt
On Sat, 3 Sep 2011, Dimitri Smits wrote: - Michael Van Canneyt mich...@freepascal.org schreef: On Sat, 3 Sep 2011, Hans-Peter Diettrich wrote: tdpnbsp;nbsp;/p/td Why the many (empty) paragraphs inside the rows? Where do you see 'empty' paragraphs ? I think Hans-Peter ment

Re: [fpc-devel] FPDoc and Lazarus

2011-09-04 Thread Michael Van Canneyt
On Sun, 4 Sep 2011, Hans-Peter Diettrich wrote: Michael Van Canneyt schrieb: tdpnbsp;nbsp;/p/td Where do you see 'empty' paragraphs ? See above. Even if the nbsp may be inteded to form a gap between the columns, I don't unterstand why these (and the other columns) are embedded

Re: [fpc-devel] FPDoc and Lazarus

2011-09-04 Thread Michael Van Canneyt
On Sun, 4 Sep 2011, Hans-Peter Diettrich wrote: Michael Van Canneyt schrieb: Argh, such constructs are really hard to find :-( Not really, the error message tells you where to look. Have a look at the lcl grids How to... topic, and try to find out where a passage #text var #text might

Re: [fpc-devel] Project Idea: Mini-FPC

2011-09-10 Thread Michael Van Canneyt
On Sat, 10 Sep 2011, Jeff Duntemann wrote: If a mini-FPC were to be created to help popularize the Pascal language and get beginners interested and up to speed, it would be more useful to provide a simple IDE than a stripped-down compiler. The console FP IDE has never worked well for me

Re: [fpc-devel] FPDoc and inherited methods

2011-09-11 Thread Michael Van Canneyt
On Sun, 11 Sep 2011, Hans-Peter Diettrich wrote: Thanks for the improvements in the last updates, but... How do I obtain the latest documentation on FPDoc? make fpdoc.pdf in docs. For records with variant parts, no short descriptions are shown for the members in the variant part.

Re: [fpc-devel] FPDoc and inherited methods

2011-09-11 Thread Michael Van Canneyt
On Sun, 11 Sep 2011, Hans-Peter Diettrich wrote: Michael Van Canneyt schrieb: How do I obtain the latest documentation on FPDoc? make fpdoc.pdf in docs. No Latex support here (Win7) Then no more recent docs than the official ones on the website. For records with variant parts

Re: [fpc-devel] Unicode support (yet again)

2011-09-13 Thread Michael Van Canneyt
On Tue, 13 Sep 2011, Felipe Monteiro de Carvalho wrote: Hello, [snip] The ansi version I would simply let it die. It's time people migrate to Unicode anyway. The change from ansi to utf-8 is very easy. About the rest I will not comment. But the above certainly will not happen. The

Re: [fpc-devel] ViewVC configuration

2011-09-17 Thread Michael Van Canneyt
On Fri, 16 Sep 2011, Flávio Etrusco wrote: Hello, may the FreePascal's ViewVC installtion be configured to paginate log results? It's log_pagesize in viewvc.conf. I added the entry. But it's undocumented, so I'm not sure if it will have any effect.

Re: [fpc-devel] TField.Validate in FPC 2.6

2011-09-17 Thread Michael Van Canneyt
On Sat, 17 Sep 2011, Martin Schreiber wrote: Hi, TField.SetData() in fixes_2_6 calls TField.Validate(). 2.4.4 does not, trunk neither. Strange that 2.6 does this if trunk does not ? What are the plans for the upcoming release? Will FPC 2.6.0 call TField.Validate() in TField.SetData()?

Re: [fpc-devel] FPC bug tracker page is sniffing user agents?

2011-09-25 Thread Michael Van Canneyt
On Sun, 25 Sep 2011, Felipe Monteiro de Carvalho wrote: Ok, testing again this error seams to have disappeared ... maybe my original post has nothing to do with what I really wanted to investigate. Which seams cutted. Any ideas? The error is 100% reproducible. I vaguely remember having

Re: [fpc-devel] FPDoc cannot underline?

2011-09-27 Thread Michael Van Canneyt
On Tue, 27 Sep 2011, Hans-Peter Diettrich wrote: It looks as if fpdoc stops processing paragraphs on u, discarding the remainder until /p. See LCL docs on StdCtrls.TCustomComboBox and TCustomLabel.FocusControl. Should I report an error? No, since underline is not supported. Michael.

Re: [fpc-devel] FPDoc cannot underline?

2011-09-28 Thread Michael Van Canneyt
On Wed, 28 Sep 2011, Hans-Peter Diettrich wrote: Michael Van Canneyt schrieb: On Tue, 27 Sep 2011, Hans-Peter Diettrich wrote: It looks as if fpdoc stops processing paragraphs on u, discarding the remainder until /p. See LCL docs on StdCtrls.TCustomComboBox

Re: [fpc-devel] utf-8 package in Free Pascal

2011-10-03 Thread Michael Van Canneyt
On Tue, 4 Oct 2011, Alexander Klenin wrote: On Tue, Oct 4, 2011 at 00:42, Florian Klämpfl flor...@freepascal.org wrote: Anyway, what I suggest is IMO a good compromise and should satisfy both sides -- Felipe can continue development of his packages unobstucted, while the quality of FPC will

Re: [fpc-devel] utf-8 package in Free Pascal

2011-10-04 Thread Michael Van Canneyt
On Tue, 4 Oct 2011, Michael Schnell wrote: On 10/03/2011 11:41 AM, michael.vancann...@wisa.be wrote: Currently, hard work is being put in the unicode string and codepage string routines in the RTL. Do I understand correctly that this is the New String string handling (to be optionally,

Re: [fpc-devel] massive slowdown of my code with fpc trunk

2011-10-08 Thread Michael Van Canneyt
On Sat, 8 Oct 2011, Martin wrote: If I run the attached project compiled with fpc trunk (maybe a week old), it runs 5 times slower than when compiled with fpc 2.4.4 First question, can someone else reproduce that? I couldn't find much difference in the output of -al (except some naming

Re: [fpc-devel] fcl-web: A proper way to set SO_REUSEADDR socket option in THTTPApplication

2011-10-14 Thread Michael Van Canneyt
On Fri, 14 Oct 2011, Vladimir Zhirov wrote: Hi, Currently, if THTTPApplication-based program on Linux was stopped manually during active connection I cannot start it again for 1-2 minutes, getting the exception like this: exception at 0805304A: Binding of socket failed: 8080. According to

Re: [fpc-devel] fcl-web: A proper way to set SO_REUSEADDR socket option in THTTPApplication

2011-10-14 Thread Michael Van Canneyt
On Fri, 14 Oct 2011, Andrew Brunner wrote: I think you should also look into setting linger options at a lower rate than present values. 120 seconds is too long. 15-30 seconds is a reasonable amount of time to give a dead socket. In fpc componetent design, I would recommend to also make

Re: [fpc-devel] Segmentation fault for Firebird exception inside thread

2011-10-26 Thread Michael Van Canneyt
What happens if you comipile with -gl and run the program under GDB ? can you post a backtrace ? Note that you may need to add a {$linklib pthread} to the program source, otherwise gdb may complain about missing threads support. The backtrace will show us exactly where the error occurs (or

Re: [fpc-devel] Problem with Now() and time changed by ntpd

2011-10-31 Thread Michael Van Canneyt
On Mon, 31 Oct 2011, zeljko wrote: Hi, I have daemon which uses Now() for getting current date/time, but something is wrong, time on server changed from 03:00 to 02:00 this weekend, but daemon's Now() was on old time ... until now ... I've just restarted it and now it applied new time.

Re: [fpc-devel] Problem with Now() and time changed by ntpd

2011-11-01 Thread Michael Van Canneyt
On Tue, 1 Nov 2011, zeljko wrote: On Tuesday 01 of November 2011 11:01:32 Sven Barth wrote: On 01.11.2011 09:41, zeljko wrote: I don't believe that kernel have only gettimeofday() and that kernel don't know accurate datetime. There's more functions in kernel which can give you

Re: [fpc-devel] Problem with Now() and time changed by ntpd

2011-11-01 Thread Michael Van Canneyt
On Tue, 1 Nov 2011, Henry Vermaak wrote: On 01/11/11 10:30, Michael Van Canneyt wrote: We'll simply need to store the next moment when the DST correction changes, compare the result of gettimeofday with that and re-base the time calculation. If we decide to add some check for the timestamp

Re: [fpc-devel] Problem with Now() and time changed by ntpd

2011-11-01 Thread Michael Van Canneyt
On Tue, 1 Nov 2011, Felipe Monteiro de Carvalho wrote: On Tue, Nov 1, 2011 at 12:08 PM, Michael Van Canneyt mich...@freepascal.org wrote: This is something that normally doesn't happen unless you move your system from one timezone to another or during system setup In many countries

Re: [fpc-devel] Problem with Now() and time changed by ntpd

2011-11-01 Thread Michael Van Canneyt
On Tue, 1 Nov 2011, Marco van de Voort wrote: In our previous episode, Michael Van Canneyt said: Correct (I had checked as well), but the only purpose that serves is to check whether the system timezone info has changed. This is something that normally doesn't happen unless you move your

Re: [fpc-devel] Problem with Now() and time changed by ntpd

2011-11-01 Thread Michael Van Canneyt
On Tue, 1 Nov 2011, Henry Vermaak wrote: On 01/11/11 11:08, Michael Van Canneyt wrote: On Tue, 1 Nov 2011, Henry Vermaak wrote: On 01/11/11 10:30, Michael Van Canneyt wrote: We'll simply need to store the next moment when the DST correction changes, compare the result of gettimeofday

Re: [fpc-devel] Problem with Now() and time changed by ntpd

2011-11-01 Thread Michael Van Canneyt
On Tue, 1 Nov 2011, Tomas Hajny wrote: On Tue, November 1, 2011 12:49, Marco van de Voort wrote: In our previous episode, Michael Van Canneyt said: Correct (I had checked as well), but the only purpose that serves is to check whether the system timezone info has changed. This is something

Re: [fpc-devel] Problem with Now() and time changed by ntpd

2011-11-01 Thread Michael Van Canneyt
On Tue, 1 Nov 2011, zeljko wrote: We'll simply need to store the next moment when the DST correction changes, compare the result of gettimeofday with that and re-base the time calculation. If we decide to add some check for the timestamp of the timezone file - that would make Date(),

Re: [fpc-devel] FPDoc improvements

2011-11-29 Thread Michael Van Canneyt
On Tue, 29 Nov 2011, Hans-Peter Diettrich wrote: michael.vancann...@wisa.be schrieb: When this were the *only* code in the fpdoc program file, another project could create a derived class, with a possibly specialized Run method, without touching the declaration or implementation of

Re: [fpc-devel] Errors with make rtl.chk on Windows

2011-12-02 Thread Michael Van Canneyt
On Fri, 2 Dec 2011, Tomas Hajny wrote: On Thu, December 1, 2011 13:27, michael.vancann...@wisa.be wrote: On Thu, 1 Dec 2011, Marco van de Voort wrote: In our previous episode, Hans-Peter Diettrich said: commandline, which are not handled properly by the Windows shell. I fixed this

Re: [fpc-devel] RTL docs missing links

2011-12-02 Thread Michael Van Canneyt
On Fri, 2 Dec 2011, Hans-Peter Diettrich wrote: FPDoc issues many warnings about unknown link targets. Some of these seem to result from intrinsic types, e.g. for PSmallInt the target SmallInt does not exist. It doesn't look good when the docs do not include the most basic types, like

Re: [fpc-devel] RTL docs missing links

2011-12-02 Thread Michael Van Canneyt
On Fri, 2 Dec 2011, Graeme Geldenhuys wrote: On 2 December 2011 03:17, Hans-Peter Diettrich wrote: exist. It doesn't look good when the docs do not include the most basic types, like Boolean, Byte, Char, Pointer etc. :-( Those are all basic built-in types. Built into the compiler, not

Re: [fpc-devel] RTL docs missing links

2011-12-02 Thread Michael Van Canneyt
On Fri, 2 Dec 2011, Graeme Geldenhuys wrote: On 2 December 2011 12:43, Michael Van Canneyt wrote: You will be pleased to hear then, that we've developed - in FPC - a search engine for the HTML docs :-) Excellent. How fast does it do searching across the RTL and FCL HTML docs? Does it need

Re: [fpc-devel] Errors with make rtl.chk on Windows

2011-12-02 Thread Michael Van Canneyt
On Fri, 2 Dec 2011, Hans-Peter Diettrich wrote: Michael Van Canneyt schrieb: If there are any platform-specific identifiers, the docs have always contained the linux-specific ones. I'm just about to create a Windows version of the RTL docs. In contrast to the assumption, that one XML

Re: [fpc-devel] Errors with make rtl.chk on Windows

2011-12-02 Thread Michael Van Canneyt
On Fri, 2 Dec 2011, Sven Barth wrote: Am 02.12.2011 17:21, schrieb Michael Van Canneyt: This means that we can document platform-specific items in additional files, which are automatically merged with the other descriptions. The description file specifications can be extended by a platform

Re: [fpc-devel] Errors with make rtl.chk on Windows

2011-12-02 Thread Michael Van Canneyt
On Fri, 2 Dec 2011, Michael Van Canneyt wrote: You would be far better off making separate tools that implement these automatisms. You can write a e.g. tool that creates or updates a project file based on a directory scan. I have no problem including such tools in the FPC distribution

Re: [fpc-devel] Errors with make rtl.chk on Windows

2011-12-02 Thread Michael Van Canneyt
On Fri, 2 Dec 2011, Sven Barth wrote: On 02.12.2011 19:37, Michael Van Canneyt wrote: On Fri, 2 Dec 2011, Sven Barth wrote: Am 02.12.2011 17:21, schrieb Michael Van Canneyt: This means that we can document platform-specific items in additional files, which are automatically merged

Re: [fpc-devel] Errors with make rtl.chk on Windows

2011-12-02 Thread Michael Van Canneyt
On Fri, 2 Dec 2011, Hans-Peter Diettrich wrote: Michael Van Canneyt schrieb: This means that we can document platform-specific items in additional files, which are automatically merged with the other descriptions. The description file specifications can be extended by a platform attribute

Re: [fpc-devel] Errors with make rtl.chk on Windows

2011-12-03 Thread Michael Van Canneyt
On Sat, 3 Dec 2011, Hans-Peter Diettrich wrote: Michael Van Canneyt schrieb: One objection is for instance that your proposal will cause all XML files to be loaded both when FCL and RTL documentation are created. Already included: all XML files are discarded, when they don't contribute

Re: [fpc-devel] Errors with make rtl.chk on Windows

2011-12-03 Thread Michael Van Canneyt
On Sat, 3 Dec 2011, Graeme Geldenhuys wrote: On 3 December 2011 16:03, wrote: First, it keeps the actual documentation XML more clean in the sense that it contains only documentation, and not 'organizational instructions'. The documentation is useless unless you have the associated *.pas

Re: [fpc-devel] Errors with make rtl.chk on Windows

2011-12-04 Thread Michael Van Canneyt
On Sat, 3 Dec 2011, Hans-Peter Diettrich wrote: Michael Van Canneyt schrieb: You remember my -n and -v options? Absolutely, and I'll gladly accept patches implementing those 2 things in fpdoc. If you could separate those out from your other work, that would be much appreciated

Re: [fpc-devel] Errors with make rtl.chk on Windows

2011-12-04 Thread Michael Van Canneyt
On Sun, 4 Dec 2011, Hans-Peter Diettrich wrote: Michael Van Canneyt schrieb: I did several things: 1. Enable various log levels in parser and scanner. It uses an event handler. (writing to terminal is not possible) 2. Route all this logging through the TPasContainer. I tried

Re: [fpc-devel] Errors with make rtl.chk on Windows

2011-12-04 Thread Michael Van Canneyt
On Sun, 4 Dec 2011, Graeme Geldenhuys wrote: This solution has already been rejected by the core developers [no comment here :-], Same here. Michael doesn't seem keep to my idea either, so I very much doubt it will make it into fpdoc. Core developers always trump mere contributors like

Re: [fpc-devel] fpdoc project options

2011-12-04 Thread Michael Van Canneyt
On Sun, 4 Dec 2011, Hans-Peter Diettrich wrote: Currently fpdoc stores many options in the project files, but this can cause problems. Once a boolean option is stored as True, e.g. option name=hide-protected value=true/ it cannot be turned off by a different commandline option :-( This

Re: [fpc-devel] Errors with make rtl.chk on Windows

2011-12-04 Thread Michael Van Canneyt
On Sun, 4 Dec 2011, Graeme Geldenhuys wrote: On 4 December 2011 21:55, Michael Van Canneyt wrote: doubt it will make it into fpdoc. Core developers always trump mere contributors like us. ;-) We simply have a vision and try to remain true to it. Ideas corresponding to this vision

<    8   9   10   11   12   13   14   15   16   17   >