[fpc-pascal] Request for backport to FPC 2.6.1 + wiki page to keep track of backport requests/merges

2012-09-13 Thread Reinier Olislagers
Hi list, If possible, I'd like r22380 in trunk to be marked for backporting to FPC 2.6.1 as it fixes an internal compiler error. I've created a page on the wiki http://wiki.lazarus.freepascal.org/FPC_2.6.1_fixes_branch that may help keep track of what gets merged/what is on the list for merging.

[fpc-pascal] Re: Windows installer fails to add fpc binaries to PATH

2012-09-15 Thread Reinier Olislagers
On 14-9-2012 23:32, Andrew Pennebaker wrote: Well, I just checked: http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/install/fpc.ist?view=annotateroot=fpcbuild around line 253 and further. It matches my experience. Maybe you are using Windows ME or older windows

[fpc-pascal] Re: SDF/Delimitedtext: Request for *Delphi* test :)

2012-09-20 Thread Reinier Olislagers
On 20-9-2012 13:15, OBones wrote: Reinier Olislagers wrote: 1. Could you please run this on other versions of Delphi and report back the results (presumably older versions will not run the test with commatext) I have run it with D2007, DXE, DXE2 Win32 and DXE2 Win64, all gave the following

[fpc-pascal] Re: SDF/Delimitedtext: Request for *Delphi* test :)

2012-09-20 Thread Reinier Olislagers
On 20-9-2012 13:34, Reinier Olislagers wrote: On 20-9-2012 13:15, OBones wrote: Reinier Olislagers wrote: 1. Could you please run this on other versions of Delphi and report back the results (presumably older versions will not run the test with commatext) I have run it with D2007, DXE, DXE2

Re: [fpc-pascal] FPC x86+x64 win trunk failing to build (using fpcup): 2 different errors

2012-09-20 Thread Reinier Olislagers
On 20-9-2012 17:25, Jonas Maebe wrote: On 20 Sep 2012, at 17:18, Reinier Olislagers wrote: Would looking into the actual fpmake bug make sense (i.e. is it doable for mere mortals like me?) Where would I look? It's probably related to how the makefiles clean the packages since fpmake

Re: [fpc-pascal] FPC x86+x64 win trunk failing to build (using fpcup): 2 different errors

2012-09-21 Thread Reinier Olislagers
On 21-9-2012 8:42, Tomas Hajny wrote: On Thu, September 20, 2012 17:30, Reinier Olislagers wrote: On 20-9-2012 17:25, Jonas Maebe wrote: On 20 Sep 2012, at 17:18, Reinier Olislagers wrote: Would looking into the actual fpmake bug make sense (i.e. is it doable for mere mortals like me

[fpc-pascal] Request to commit 19610 was Re: SDF/Delimitedtext: Request for *Delphi* test :)

2012-09-21 Thread Reinier Olislagers
On 20-9-2012 13:49, Reinier Olislagers wrote: On 20-9-2012 13:34, Reinier Olislagers wrote: On 20-9-2012 13:15, OBones wrote: Reinier Olislagers wrote: 1. Could you please run this on other versions of Delphi and report back the results (presumably older versions will not run the test

[fpc-pascal] Re: Request for backport to FPC 2.6.1 + wiki page to keep track of backport requests/merges

2012-09-22 Thread Reinier Olislagers
On 22-9-2012 14:04, Marco van de Voort wrote: In our previous episode, Jonas Maebe said: internal compiler error. I already had tested it and it applies cleanly. As soon as I get a green light from a compiler developer that it is ok to merge, I'll merge it. It's ok, thanks. Done, r22436

[fpc-pascal] SDFDataset users!?

2012-09-24 Thread Reinier Olislagers
Hi list, There are some bugs open for sdfdataset, e.g. 22894 Sdfdataset: empty file with FirstLineAsSchema reports Recordcount 1 instead of 0 22882 SDFDataset .AllowMultiLine does not support multiline import I've written a test suite to check sdfdataset behaviour. An older version of this is

[fpc-pascal] Re: SDFDataset users!?

2012-09-24 Thread Reinier Olislagers
On 24-9-2012 18:43, Michael Van Canneyt wrote: On Mon, 24 Sep 2012, Reinier Olislagers wrote: On 24-9-2012 17:22, michael.vancanneyt-0is9kj9sb0a-xmd5yjdbdmrexy1tmh2...@public.gmane.org wrote: On Mon, 24 Sep 2012, Reinier Olislagers wrote: Finally, I'll post on the forum that sdf

[fpc-pascal] Re: SDFDataset users!?

2012-09-24 Thread Reinier Olislagers
On 24-9-2012 21:08, Sven Barth wrote: On 24.09.2012 21:06, Sven Barth wrote: Do you think this version is good enough? Comments here or on the forum would be welcome. The only problem I have with TSDFDataset is the following issue related to more strict CPU targets:

[fpc-pascal] Re: SDFDataset users!?

2012-09-25 Thread Reinier Olislagers
On 24-9-2012 20:21, Michael Van Canneyt wrote: On Mon, 24 Sep 2012, Ludo Brands wrote: That is in contradiction with the existing implementation as well as the following comments following comments in SDFData.pp 14/Ago/01 Version 2.00 (Orlando Arrocha) John Dung Nguyen showed

[fpc-pascal] Re: SDFDataset users!?

2012-09-25 Thread Reinier Olislagers
On 25-9-2012 7:44, Reinier Olislagers wrote: On 24-9-2012 20:21, Michael Van Canneyt wrote: IMHO, it should do fixed format and CSV as indicated by the RFC I posted. All the rest is nice, but not required from my perspective. It's not required anymore from my perspective either. I just

Re: [fpc-pascal] Re: SDFDataset users!?

2012-09-25 Thread Reinier Olislagers
On 25-9-2012 10:11, michael.vancann...@wisa.be wrote: On Tue, 25 Sep 2012, Reinier Olislagers wrote: On 24-9-2012 18:43, Michael Van Canneyt wrote: On Mon, 24 Sep 2012, Reinier Olislagers wrote: On 24-9-2012 17:22, michael.vancanneyt-0is9kj9sb0a-xmd5yjdbdmrexy1tmh2...@public.gmane.org wrote

[fpc-pascal] Re: SDFDataset users!?

2012-09-25 Thread Reinier Olislagers
On 25-9-2012 10:16, michael.vancanneyt-0is9kj9s...@public.gmane.org wrote: On Tue, 25 Sep 2012, Reinier Olislagers wrote: I'd suggest: 1. adding a readme as indicated in my other mail so that users and developers do not fall into the same trap Hoho, there is no trap :-) Well

[fpc-pascal] Re: SDFDataset users!?

2012-09-26 Thread Reinier Olislagers
On 25-9-2012 11:05, michael.vancanneyt-0is9kj9s...@public.gmane.org Well, in the not-too-far future, I'll spend time on improving the DB testsuite. In that not-too-far future, you might want to have a look at the following patches ;) 22970 [Patch] Database test suite: expanded readme 22972

[fpc-pascal] Getting fpcunit test results into a database

2012-09-28 Thread Reinier Olislagers
Hi list, Is there existing code available for getting fpcunit test results into a database? Otherwise I'm thinking of writing an XML importer that gets the test results and imports them into a database... handy for regression testing, I'd think. Looking at the XML, that wouldn't be too

Re: [fpc-pascal] Getting fpcunit test results into a database

2012-09-28 Thread Reinier Olislagers
On 28-9-2012 10:43, Graeme Geldenhuys wrote: On 2012-09-28 09:18, Reinier Olislagers wrote: Is there existing code available for getting fpcunit test results into a database? No, but the Test Listener interface makes such an addition very easy. Simply create a TDatabaseListener

[fpc-pascal] Re: Assigning pointer address

2012-10-01 Thread Reinier Olislagers
On 1-10-2012 13:55, dhkblaszyk-47ckw973qwsgtviba+r...@public.gmane.org wrote: On 1 okt '12, michael.vancanneyt-0is9kj9s...@public.gmane.org wrote: On Mon, 1 Oct 2012, dhkblas...@zeelandnet.nl mailto:dhkblaszyk-47ckw973qwsgtviba+r...@public.gmane.orgwrote: Hi Tomas, Thanks for clarifying. I

[fpc-pascal] Using database-specific functionality with TSQLConnector

2012-10-02 Thread Reinier Olislagers
Hi list, For a fpcunit database test listener I'm implementing multi-connector support using TSQLConnector. This seems to work nicely. If the Firebird connector is chosen and the hostname is empty, I assume Firebird embedded is used and if not present, a database needs to be created using

[fpc-pascal] Getting a resource file in the proper FPC directory: makefiles etc?

2012-10-04 Thread Reinier Olislagers
Developing my database listener for fpcunit, I see 2 locations where the ppu files end up: fpc\packages\fcl-fpcunit\units\i386-win32\dbreporter.ppu fpc\units\i386-win32\fcl-fpcunit\dbreporter.ppu However, a dbreporter.res resource file only ends up in the first location. Which makefile(s) do I

[fpc-pascal] Getting a resource file in the proper FPC directory: makefiles etc?

2012-10-04 Thread Reinier Olislagers
Developing my database listener for fpcunit, I see 2 locations where the ppu files end up: fpc\packages\fcl-fpcunit\units\i386-win32\dbreporter.ppu fpc\units\i386-win32\fcl-fpcunit\dbreporter.ppu However, a dbreporter.res resource file only ends up in the first location. Which makefile(s) do I

Re: [fpc-pascal] Using database-specific functionality with TSQLConnector

2012-10-04 Thread Reinier Olislagers
On 3-10-2012 9:05, michael.vancann...@wisa.be wrote: On Tue, 2 Oct 2012, Reinier Olislagers wrote: Hi list, IBConn:TIBConnection; ... IBConn:=TIBConnection(FConn.ProxyConnection); IBConn.UserName:=FConn.UserName; IBConn.Password:=FConn.Password; IBConn.DatabaseName:=FConn.DatabaseName

Re: [fpc-pascal] Getting a resource file in the proper FPC directory: makefiles etc?

2012-10-04 Thread Reinier Olislagers
On 3-10-2012 9:05, Reinier Olislagers wrote: Developing my database listener for fpcunit, I see 2 locations where the ppu files end up: fpc\packages\fcl-fpcunit\units\i386-win32\dbreporter.ppu fpc\units\i386-win32\fcl-fpcunit\dbreporter.ppu However, a dbreporter.res resource file only ends

[fpc-pascal] Yet more make file problems: make works, make install fails

2012-10-05 Thread Reinier Olislagers
Still fighting makefiles with my db fpcunit listener. I can get it to compile with fpc make all However make install fails with Installation package fcl-extra for target x86_64-linux succeeded Start compiling package fcl-fpcunit for target x86_64-linux. Compiling

[fpc-pascal] Re: Yet more make file problems: make works, make install fails

2012-10-06 Thread Reinier Olislagers
On 6-10-2012 6:52, Reinier Olislagers wrote: Still fighting makefiles with my db fpcunit listener. I can get it to compile with fpc make all However make install fails with Installation package fcl-extra for target x86_64-linux succeeded Start compiling package fcl-fpcunit for target

Re: [fpc-pascal] Re: Yet more make file problems: make works, make install fails

2012-10-06 Thread Reinier Olislagers
On 6-10-2012 14:34, Michael Van Canneyt wrote: On Sat, 6 Oct 2012, Reinier Olislagers wrote: On 6-10-2012 6:52, Reinier Olislagers wrote: Still fighting makefiles with my db fpcunit listener. I can get it to compile with fpc make all However make install fails with snip Patch including

[fpc-pascal] windres not required/provided by Debian 2.6.0 FPC

2012-10-08 Thread Reinier Olislagers
Morning list, While getting a Jenkins continuous integration server going On Debian 6 (Squeeze), I installed just enough packages to get a compiler and get a compile job going fp-compiler 2.6.0-0 Free Pascal - Compiler metapackage fp-compiler-2.6.02.6.0-0 Free

[fpc-pascal] Re: windres not required/provided by Debian 2.6.0 FPC

2012-10-08 Thread Reinier Olislagers
Hi Tomas, On 8-10-2012 9:12, Tomas Hajny wrote: On Mon, October 8, 2012 08:21, Reinier Olislagers wrote: Hi Reinier, While getting a Jenkins continuous integration server going On Debian 6 (Squeeze), I installed just enough packages to get a compiler and get a compile job going

Re: [fpc-pascal] Re: windres not required/provided by Debian 2.6.0 FPC

2012-10-09 Thread Reinier Olislagers
On 8-10-2012 23:10, Tomas Hajny wrote: On 8 Oct 12, at 18:31, Reinier Olislagers wrote: On 8-10-2012 9:12, Tomas Hajny wrote: On Mon, October 8, 2012 08:21, Reinier Olislagers wrote: You may want to create another bug report for the installation package itself and the missing dependency

Re: [fpc-pascal] Re: Yet more make file problems: make works, make install fails

2012-10-09 Thread Reinier Olislagers
On 6-10-2012 14:34, Michael Van Canneyt wrote: On Sat, 6 Oct 2012, Reinier Olislagers wrote: On 6-10-2012 6:52, Reinier Olislagers wrote: Still fighting makefiles with my db fpcunit listener. snip Patch including instructions at https://bitbucket.org/reiniero/fpc_laz_patch_playground

[fpc-pascal] Make distclean for X64 windows?

2012-10-13 Thread Reinier Olislagers
Hi list, After r22621 I decided to test make distclean. In my fpc directory, I have both i386_win32 and x64_win64 ppu units. Using make distclean, the i386 ppus seemed to have been cleared up nicely (dir *.ppu /s | grep 386) However, I can't get rid of the x64 ppus (e.g.

Re: [fpc-pascal] Make distclean for X64 windows?

2012-10-13 Thread Reinier Olislagers
On 13-10-2012 12:24, Jonas Maebe wrote: On 13 Oct 2012, at 11:42, Reinier Olislagers wrote: In my fpc directory, I have both i386_win32 and x64_win64 ppu units. Using make distclean, the i386 ppus seemed to have been cleared up nicely (dir *.ppu /s | grep 386) However, I can't get rid

[fpc-pascal] For Dimitrios Chr. Ioannidis: no fpc 2.6.1 seg fault loading dblib

2012-10-13 Thread Reinier Olislagers
Responding to [fpc-devel] fpc 2.6.1 seg fault loading dblib http://www.mail-archive.com/fpc-devel@lists.freepascal.org/msg27157.html as I think the subject is more appropriate to the fpc list (and I haven't subscribed to fpc-devel): when my app try to load the dblib dll i get a segmentation

[fpc-pascal] Re: problems compiling FPC

2012-10-17 Thread Reinier Olislagers
On 17-10-2012 12:49, Mark Morgan Lloyd wrote: Graeme Geldenhuys wrote: On 2012-10-17 10:10, Mark Morgan Lloyd wrote: Some slack would be desirable: stable is 2.6.0 but there are known issues which are fixed by 2.6.1. Nope, the FPC developers made the rules quite clear! Not even the fixes

[fpc-pascal] New FPCUnit db results writer: testdbwriter: request for... testing

2012-10-18 Thread Reinier Olislagers
Hi list, I've been working on a listener for FPCUnit that writes test results to a database. I intend to use it to run e.g. database tests on my Jenkins CI server whenever a new build is done. Therefore, the db is quite normalized in order to limit used space. I've included a flattening view

[fpc-pascal] Re: Automatically exporting C++ API using SWIG??

2012-10-20 Thread Reinier Olislagers
On 19-6-2012 9:51, Reinier Olislagers wrote: The recent thread about using C headers made me think about using C++ projects. Found that the SWIG tool converts C/C++ .h files into glue code and bindings for e.g. Python, Modula 3... but not Delphi/Object Pascal. It seems you get an object

[fpc-pascal] Re: Automatically exporting C++ API using SWIG??

2012-10-20 Thread Reinier Olislagers
On 20-10-2012 11:10, Krzysztof wrote: So it will be possible to convert for example libQT4Pas? Haven't used libQT4Pas, but I understand it is the wrapper to let FPC talk to the C++ Qt libs. So SWIG could automatically generate an alternative to libQT4Pas.

[fpc-pascal] Re: New FPCUnit db results writer: testdbwriter: request for... testing

2012-10-24 Thread Reinier Olislagers
On 18-10-2012 13:51, Reinier Olislagers wrote: I've been working on a listener for FPCUnit that writes test results to a database. snip I've also included a dbtestframework workalike (dbtests2db) with units that runs the FPC 2.6.1 r22717 database test framework; only plug in database.ini

Re: [fpc-pascal] Re: New FPCUnit db results writer: testdbwriter: request for... testing

2012-10-26 Thread Reinier Olislagers
On 24-10-2012 11:01, Graeme Geldenhuys wrote: On 2012-10-19 15:52, Reinier Olislagers wrote: [1] http://wiki.lazarus.freepascal.org/Jenkins I've only heard about Jenkins since your recent post. I only read the overview on the wiki, but will investigate this further. I thought I would

[fpc-pascal] Re: New FPCUnit db results writer: testdbwriter: request for... testing

2012-10-26 Thread Reinier Olislagers
On 26-10-2012 9:24, Graeme Geldenhuys wrote: On 2012-10-26 08:46, Reinier Olislagers wrote: More related to my initial post: what do you do with test results (e.g. tiopf tests, your own software tests)? Do you store them in a database? I have never had the need for storing unit test results

[fpc-pascal] Re: Automatically exporting C++ API using SWIG??

2012-10-28 Thread Reinier Olislagers
On 26-10-2012 17:02, download itweb wrote: Hi, Perhaps this could help somebody... I kept an eye on Swig for quite some time, but reading your posting I decided to give it a try. A summary for everyone interested: [latest swig (2.0.8) - adapted patch - not sure if I made everything

[fpc-pascal] Re: problems compiling FPC

2012-10-31 Thread Reinier Olislagers
On 31-10-2012 8:09, Mark Morgan Lloyd wrote: Sven Barth wrote: I'm definitely not complaining about the check, I agree with it. But to somebody with English as their first/only language You try is an imperative, as in I've cleared the bubbles in the fuel line, you try to start it now.. If

[fpc-pascal] Cross-compiling FPC trunk to Win x64 fails using fpcup - make file problems?

2012-11-01 Thread Reinier Olislagers
Hi list, I wonder if the problems below are caused by wrong make files or problems in fpcup: (fpc trunk, Windows; fpcup compiles fpc x86+Lazarus fine, then tries an x64 cross compile followed by an LCL cross compile): Compiles along for x64 as shown here:

Re: [fpc-pascal] Cross-compiling FPC trunk to Win x64 fails using fpcup - make file problems?

2012-11-01 Thread Reinier Olislagers
On 1-11-2012 16:11, Jonas Maebe wrote: On 01 Nov 2012, at 16:04, Reinier Olislagers wrote: I wonder if the problems below are caused by wrong make files or problems in fpcup: (fpc trunk, Windows; fpcup compiles fpc x86+Lazarus fine, then tries an x64 cross compile followed by an LCL cross

Re: [fpc-pascal] Cross-compiling FPC trunk to Win x64 fails using fpcup - make file problems?

2012-11-01 Thread Reinier Olislagers
On 1-11-2012 16:11, Jonas Maebe wrote: On 01 Nov 2012, at 16:04, Reinier Olislagers wrote: I wonder if the problems below are caused by wrong make files or problems in fpcup: (fpc trunk, Windows; fpcup compiles fpc x86+Lazarus fine, then tries an x64 cross compile followed by an LCL cross

[fpc-pascal] Re: Automatically exporting C++ API using SWIG??

2012-11-02 Thread Reinier Olislagers
On 31-10-2012 13:37, dev.dliw-re5jqeeqqe8avxtiumw...@public.gmane.org wrote: Hi, here it is: http://downloadit.pf-control.de/dl.php?ref=swig Unfortunately I made the mistake and did the work on a non version controlled folder - therefore it is whole swig and not just a patch :( Feel

[fpc-pascal] New fpcup version released

2012-11-09 Thread Reinier Olislagers
(Cross-posted to lazarus fpc mailing lists) I'm happy to announce a new binary version of Ludo Brands' and my fpcup FPC+Lazarus+packages SVN downloader/installer. New binaries for Windows, Windows x64, Linux x86, Linux x64 can be downloaded from https://bitbucket.org/reiniero/fpcup/downloads

[fpc-pascal] Pathscale: alternative debugger on Linux?

2012-11-10 Thread Reinier Olislagers
Has anybody tried the Pathscale debugger on Linux x64/FreeBSD? I haven't myself, just heard that they open sourced their compiler suite. A download page seems to be here: http://www.pathscale.com/ekopath-compiler-suite Regards, Reinier ___ fpc-pascal

Re: [fpc-pascal] Pathscale: alternative debugger on Linux?

2012-11-11 Thread Reinier Olislagers
On 11-11-2012 6:55, microc...@zoho.com wrote: On Sat, Nov 10, 2012 at 07:57:09PM +0100, Jonas Maebe wrote: On 10 Nov 2012, at 19:38, microc...@zoho.com wrote:On Sat, Nov 10, 2012 at 06:20:29PM +0100, Reinier Olislagers wrote: Has anybody tried the Pathscale debugger on Linux x64

[fpc-pascal] Re: Pathscale: alternative debugger on Linux?

2012-11-12 Thread Reinier Olislagers
On 12-11-2012 13:51, Lukasz Sokol wrote: On 11/11/2012 08:48, Reinier Olislagers wrote: On 11-11-2012 6:55, microcode-ytc+ihgo...@public.gmane.org wrote: On Sat, Nov 10, 2012 at 07:57:09PM +0100, Jonas Maebe wrote: On 10 Nov 2012, at 19:38, microcode-ytc+ihgo...@public.gmane.org wrote

Re: [fpc-pascal] Re: Pathscale: alternative debugger on Linux?

2012-11-12 Thread Reinier Olislagers
On 12-11-2012 15:37, Lukasz Sokol wrote: On 12/11/2012 13:20, Reinier Olislagers wrote: On 12-11-2012 13:51, Lukasz Sokol wrote: On 11/11/2012 08:48, Reinier Olislagers wrote: BTW, I noticed some threads on the Phoronix forum going on about GPL code being injected into compiled code, which

[fpc-pascal] Re: Pathscale: alternative debugger on Linux?

2012-11-13 Thread Reinier Olislagers
On 12-11-2012 13:53, Lukasz Sokol wrote: On 11/11/2012 08:48, Reinier Olislagers wrote: And 3.3 is courious: 3.3. Source Code. No license to use Pathscale Licensed Software in source code form is granted hereunder. Customer may only use Pathscale Licensed Software in binary form

[fpc-pascal] Re: Free Pascal 2.6.2 rc1

2012-11-13 Thread Reinier Olislagers
On 13-11-2012 6:48, Marco van de Voort wrote: Hello, We have placed the first release-candidate of the Free Pascal Compiler version 2.6.2 on our ftp-servers. You can help improve the upcoming 2.6.2 release by downloading and testing this release. If you want you can report what you

[fpc-pascal] Re: Free Pascal 2.6.2 rc1

2012-11-13 Thread Reinier Olislagers
On 13-11-2012 13:32, Vincent Snijders wrote: 2012/11/13 Reinier Olislagers reinierolislagers-re5jqeeqqe8avxtiumw...@public.gmane.org mailto:reinierolislagers-re5jqeeqqe8avxtiumw...@public.gmane.org I noticed the i386-win32/ directory has wince+win64 installers as well

[fpc-pascal] Coverity for FPC?!?

2012-11-13 Thread Reinier Olislagers
Companies/tools like Coverity do source code analysis to find security/stability defects, mainly on C++ code, but these tools also are available for other languages. IIRC, they perform checks free of charge for a number of open source projects. Just for interest: is there a similar product

[fpc-pascal] Re: Coverity for FPC?!?

2012-11-14 Thread Reinier Olislagers
On 13-11-2012 18:31, leledumbo wrote: http://code.google.com/p/delphi-code-coverage/ http://www.peganza.com/ http://www.twodesk.com/castalia/codeanalysis.html Thanks, Leledumbo! ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

[fpc-pascal] Re: Pathscale: alternative debugger on Linux?

2012-11-21 Thread Reinier Olislagers
On 20-11-2012 6:54, PathScale wrote: I'm not soliciting legal advise and this is generally the wrong place to ask/debate such questions. I strongly recommend you consult one of the many professional and or pro bono legal resources available to open source projects. I think this actually is

[fpc-pascal] Re: A simple HTTP request with FPC standard units

2012-11-25 Thread Reinier Olislagers
On 24-11-2012 17:30, silvioprog wrote: 2012/11/24 Luciano de Souza luchyanus-re5jqeeqqe8avxtiumw...@public.gmane.org mailto:luchyanus-re5jqeeqqe8avxtiumw...@public.gmane.org Contributions are welcome. It is mostly lack of time that keeps us from implementing these things. As far

[fpc-pascal] Re: bootstrapping from svn

2012-11-26 Thread Reinier Olislagers
On 26-11-2012 2:27, David Emerson wrote: It sure would be nice if a compatible ppc386 executable was included in the repository, so I wouldn't have to go download it from somewhere else. Thoughts? For many architectures, there is a bootstrap 2.6 compiler available from SVN. Just a different

[fpc-pascal] Dataset indexdefs.find: documentation wrong?

2012-12-02 Thread Reinier Olislagers
With this code: procedure SortBufDataSet(DataSet: TBufDataSet; const FieldName: string); var Index_Name: string; begin Index_Name := FieldName + '__IdxA'; if (DataSet.IndexDefs.Find(Index_Name)Nil) then ... the last line throws an exception if the index does not exist; corresponding db.pas

[fpc-pascal] Oracle driving me crazy - please provide dried frog pills[1]

2012-12-03 Thread Reinier Olislagers
Been fiddling with the Oracle connector. This: using the scott schema on Oracle 10g, this works fine in my JDBC query GUI and in sql*plus: select * from scott.emp where JOB='CLERK'; However, in code (FPC trunk x86, Windows), this: Q.SQL.Text:='select * from EMP WHERE JOB=''CLERK'';'; gives

Re: [fpc-pascal] Oracle driving me crazy - please provide dried frog pills[1]

2012-12-03 Thread Reinier Olislagers
On 3-12-2012 17:17, Tomas Hajny wrote: On Mon, December 3, 2012 16:44, Reinier Olislagers wrote: Been fiddling with the Oracle connector. This: using the scott schema on Oracle 10g, this works fine in my JDBC query GUI and in sql*plus: select * from scott.emp where JOB='CLERK'; However

Re: [fpc-pascal] Oracle driving me crazy - please provide dried frog pills[1]

2012-12-03 Thread Reinier Olislagers
On 3-12-2012 17:47, Reinier Olislagers wrote: On 3-12-2012 17:17, Tomas Hajny wrote: I don't know what you're doing wrong, but I'd try excluding the semicolon. Thanks, Tomas, did that already - no effect. Oops - blast - had used old .exe version forgot to copy newly compiled version so

[fpc-pascal] Re: Searching for database libraries

2012-12-09 Thread Reinier Olislagers
On 9-12-2012 14:05, Mark Morgan Lloyd wrote: Does Windows use the standard path for searching DLLs? I can confirm that inside a program temporarily changing the current directory has the desired effect, and this can obviously be done with reference to the registry. For the authorative answer,

[fpc-pascal] Problem running make distclean Win x86 trunk

2012-12-11 Thread Reinier Olislagers
Anybody else see this problem with fpc trunk? Windows x86 fpc; using fpcup tried to compile with -gh -gl -O- -OoNO Part of the output at http://pastebin.ca/2291475 Same results if I manually run C:\development\fpcbootstrap\make.exe FPC=C:\development\fpcbootstrap\ppc386.exe

Re: [fpc-pascal] Problem running make distclean Win x86 trunk

2012-12-11 Thread Reinier Olislagers
On 11-12-2012 17:35, Jonas Maebe wrote: On 11 Dec 2012, at 17:29, Reinier Olislagers wrote: Anybody else see this problem with fpc trunk? Windows x86 fpc; using fpcup tried to compile with -gh -gl -O- -OoNO Part of the output at http://pastebin.ca/2291475 What exactly is the problem

[fpc-pascal] Re: Problem running make distclean Win x86 trunk

2012-12-13 Thread Reinier Olislagers
On 11-12-2012 17:35, Jonas Maebe wrote: On 11 Dec 2012, at 17:29, Reinier Olislagers wrote: Anybody else see this problem with fpc trunk? Windows x86 fpc; using fpcup tried to compile with -gh -gl -O- -OoNO Part of the output at http://pastebin.ca/2291475 What exactly is the problem

[fpc-pascal] DB test framework GUI: added database selector

2012-12-13 Thread Reinier Olislagers
Hi all, Could you have a look at 23483: [Patch] Add database.ini selection/edit form to dbtestframework_gui ... I've added a database.ini connector selector/editor form that may be handy to quickly select a database to be edited. However, I'm not sure this is the best way of using it - it

[fpc-pascal] Re: GetTableNames in TSQLConnection / Postgresql

2012-12-14 Thread Reinier Olislagers
retried; send it to wrong address earlier On 13-12-2012 10:42, John wrote: Short version: A call to TSQLConnection.GetTableNames returns a list of tables on all schemas/owners, without the owner. Unless you are using a simple database with only one owner and are logging in as the owner, this

[fpc-pascal] Re: Brook 1.0 - A new framework for web was born

2012-12-15 Thread Reinier Olislagers
On 15-12-2012 12:33, Juha Manninen wrote: On Sat, Dec 15, 2012 at 12:50 PM, luciano de souza luchyanus-re5jqeeqqe8avxtiumw...@public.gmane.org wrote: Yes, there is a very nice tool. Its name is Pasdoc. Take a look here: http://sourceforge.net/projects/pasdoc/ For this project, the author has

Re: [fpc-pascal] GetTableNames in TSQLConnection / Postgresql

2012-12-16 Thread Reinier Olislagers
On 16-12-2012 2:27, John wrote: @Reinier: Analysis: As far as I can work out, a call to GetTableNames calls GetDBInfo, with parameters ASchemaType : TSchemaType - This specifies what info we want - user tables, sys tables, procedures, columns etc ASchemaObjectName - Doesn't seem to be

Re: [fpc-pascal] GetTableNames in TSQLConnection / Postgresql

2012-12-16 Thread Reinier Olislagers
On 16-12-2012 14:55, Michael Van Canneyt wrote: On Sun, 16 Dec 2012, Reinier Olislagers wrote: On 16-12-2012 2:27, John wrote: @Reinier: Analysis: As far as I can work out, a call to GetTableNames calls GetDBInfo, with parameters ASchemaType : TSchemaType - This specifies what

Re: [fpc-pascal] GetTableNames in TSQLConnection / Postgresql

2012-12-16 Thread Reinier Olislagers
On 16-12-2012 14:55, Michael Van Canneyt wrote: On Sun, 16 Dec 2012, Reinier Olislagers wrote: On 16-12-2012 2:27, John wrote: @Reinier: Analysis: As far as I can work out, a call to GetTableNames calls GetDBInfo, with parameters ASchemaType : TSchemaType - This specifies what

[fpc-pascal] Re: Indexing files

2012-12-17 Thread Reinier Olislagers
On 16-12-2012 20:40, Krzysztof wrote: And which database you prefer? I don't need complicated functionality. The most important is insert speed and it must be embedded. I'm thinking of SQLight, DBF or Firebird Embedded I'd probably go with SQLite or Firebird embedded. SQlite is probably a bit

[fpc-pascal] Re: Documentation

2012-12-18 Thread Reinier Olislagers
On 18-12-2012 0:58, Graeme Geldenhuys wrote: There are other issues with the FPDoc Editor dialog though. Off the top of my head: As I think I said last year, there's also Laz DE/Lazarus Documentation Editor. As long as we're suggesting improvements, I'd like LazDE to 1. show a formatted view

Re: [fpc-pascal] Re: Documentation

2012-12-18 Thread Reinier Olislagers
On 18-12-2012 12:15, michael.vancann...@wisa.be wrote: On Tue, 18 Dec 2012, Reinier Olislagers wrote: However, fpdoc documentation writing is a huge chore for me compared to writing in the wiki so I've decided it's more productive to get my documentation done on the wiki. A wiki is never

[fpc-pascal] Submitted paszlib/zipper documentation fpdoc stripper questions

2012-12-18 Thread Reinier Olislagers
Hi all, Finally got my FPC zip/unzip unit documentation in shape and submitted it as 23508 [Patch] Zipper documentation A long time ago, I mistakenly generated an fpdoc skeleton with private members etc visible for that unit doc and started documenting. I wrote this program to get rid again of

[fpc-pascal] Re: Documentation

2012-12-19 Thread Reinier Olislagers
On 18-12-2012 0:58, Graeme Geldenhuys wrote: There are other issues with the FPDoc Editor dialog though. Off the top of my head: As I think I said last year, there's also Laz DE/Lazarus Documentation Editor. As long as we're suggesting improvements, I'd like LazDE to 1. show a formatted view

[fpc-pascal] Re: Documentation

2012-12-19 Thread Reinier Olislagers
On 18-12-2012 13:28, Marco van de Voort wrote: In our previous episode, Reinier Olislagers said: However, fpdoc documentation writing is a huge chore for me compared to writing in the wiki so I've decided it's more productive to get my documentation done on the wiki. Wiki is not versioned

[fpc-pascal] Re: Strings - suggestions

2012-12-22 Thread Reinier Olislagers
On 22-12-2012 12:55, Michael Van Canneyt wrote: On Sat, 22 Dec 2012, dev.dliw-re5jqeeqqe8avxtiumw...@public.gmane.org wrote: Hi, concerning the string topic, for me (using fpc since 2.0.4 on a regular basis; TP experience ~ average user) there really should be an decision what way to go

[fpc-pascal] Re: Accessing low-level Firebird facilities

2012-12-22 Thread Reinier Olislagers
On 22-12-2012 19:00, Mark Morgan Lloyd wrote: Can somebody please lend me a hand making three sets of calls to (I think) ibase60dyn.pp please. I've written functions to make and poll asynchronous notifications for PostgreSQL, but I need the corresponding code for Firebird. If somebody could

Re: [fpc-pascal] Re: Strings - suggestions

2012-12-22 Thread Reinier Olislagers
On 22-12-2012 18:07, Michael Van Canneyt wrote: On Sat, 22 Dec 2012, Reinier Olislagers wrote: On 22-12-2012 17:50, Michael Van Canneyt wrote: On Sat, 22 Dec 2012, Reinier Olislagers wrote: On 22-12-2012 12:55, Michael Van Canneyt wrote: On Sat, 22 Dec 2012, dev.dliw-re5jqeeqqe8avxtiumw

[fpc-pascal] Re: GetTableNames in TSQLConnection / Postgresql

2012-12-23 Thread Reinier Olislagers
On 21-12-2012 12:37, Tomas Hajny wrote: On Fri, December 21, 2012 11:59, Reinier Olislagers wrote: On 18-12-2012 10:49, Tomas Hajny wrote: On Tue, December 18, 2012 09:35, michael.vancanneyt-0is9kj9sb0a-xmd5yjdbdmrexy1tmh2...@public.gmane.org wrote: On Tue, 18 Dec 2012, John wrote: you

[fpc-pascal] Re: Strings - suggestions

2012-12-23 Thread Reinier Olislagers
On 22-12-2012 12:55, Michael Van Canneyt wrote: On Sat, 22 Dec 2012, dev.dliw-re5jqeeqqe8avxtiumw...@public.gmane.org wrote: Hi, concerning the string topic, for me (using fpc since 2.0.4 on a regular basis; TP experience ~ average user) there really should be an decision what way to

Re: [fpc-pascal] Re: Strings - suggestions

2012-12-24 Thread Reinier Olislagers
On 24-12-2012 12:01, Michael Van Canneyt wrote: On Sat, 22 Dec 2012, Reinier Olislagers wrote: On 22-12-2012 12:55, Michael Van Canneyt wrote: This is different from Delphi, where you don't have this choice: String=Widestring. So how would the patch in e.g. http://bugs.freepascal.org

Re: [fpc-pascal] xmlConfig Documentation

2013-01-17 Thread Reinier Olislagers
John, it would be great if you could write something on that wiki page... Not aware of existing docs either... Thanks, Reinier ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Re: Favourite Pascal books

2013-01-25 Thread Reinier Olislagers
On 24-1-2013 17:57, Graeme Geldenhuys wrote: The second ebook [oop_refg.inf] covers Object Oriented Programming using Object Pascal. Unfortunately this book is only available in German - I have plans to translate it to English soon. Interesting. Together with motaz' Lazarus book (see thread

[fpc-pascal] Re: Sybil Library - OS/2 and other INF e-books

2013-01-25 Thread Reinier Olislagers
On 24-1-2013 18:55, Tomas Hajny wrote: On Thu, January 24, 2013 18:03, Graeme Geldenhuys wrote: I know there are still a few of you developing for the OS/2 platform. So I made available on my server some INF e-books. They originally came from the Sybil Library project. There are also some

Re: [fpc-pascal] Sybil Library - OS/2 and other INF e-books

2013-01-26 Thread Reinier Olislagers
Thanks a lot, Tomas, you are confirming some fears I had. Will stay at the bottom of my priority list, but will contact you eg via fpc other if I need help, thanks a lot. Regards, Reinier On Saturday, January 26, 2013, Tomas Hajny wrote: On Fri, January 25, 2013 11:00, Reinier Olislagers wrote

[fpc-pascal] Bufdataset TCustomBufDataset.InternalOpen; swallowing filter construction

2013-02-04 Thread Reinier Olislagers
Hi list, In sqldb bufdataset.pas, going through the code looking through the comments, this code caught my eye (around line 1164): procedure TCustomBufDataset.InternalOpen; ... // parse filter expression try ParseFilter(Filter); except // oops, a problem with parsing, clear filter

Re: [fpc-pascal] Bufdataset TCustomBufDataset.InternalOpen; swallowing filter construction

2013-02-04 Thread Reinier Olislagers
On 4-2-2013 11:41, Michael Van Canneyt wrote: On Mon, 4 Feb 2013, Reinier Olislagers wrote: Hi list, In sqldb bufdataset.pas, going through the code looking through the comments, this code caught my eye (around line 1164): procedure TCustomBufDataset.InternalOpen; ... // parse filter

[fpc-pascal] Re: JSON coders beware...

2013-02-07 Thread Reinier Olislagers
On 7-2-2013 20:24, waldo kitty wrote: i just saw this in my latest copy of @RISK and thought i'd share it since there seem to be quite a few coders using JSON... http://www.reddit.com/r/netsec/comments/17xzlw/why_does_google_prepend_while1_to_their_json/ not knowing others' level of

[fpc-pascal] Re: Fpc Access Violation if AppConfigDir doesn't exist.

2013-02-08 Thread Reinier Olislagers
On 9-2-2013 1:49, Giuliano Colla wrote: It turned out that the reason was simply that the default AppConfigDir (~/.config/ ) wasn't there, and therefore in the two usual lines AppConfigFileName:= GetAppConfigFile(False); ini := TIniFile.Create(AppConfigFileName); the second line was

[fpc-pascal] Re: Fpc Access Violation if AppConfigDir doesn't exist.

2013-02-09 Thread Reinier Olislagers
On 9-2-2013 10:25, Michael Van Canneyt wrote: On Sat, 9 Feb 2013, Reinier Olislagers wrote: On 9-2-2013 1:49, Giuliano Colla wrote: It turned out that the reason was simply that the default AppConfigDir (~/.config/ ) wasn't there, and therefore in the two usual lines AppConfigFileName

[fpc-pascal] Re: Configuration file handling

2013-02-16 Thread Reinier Olislagers
On 16-2-2013 9:09, Sven Barth wrote: On 15.02.2013 23:54, Mark Morgan Lloyd wrote: If multiple, related, programs running on unix (Linux, Solaris etc.) refer to the same configuration file accessed via a TIniFile, is there any recommended good practice to ensure that they don't try to update

[fpc-pascal] TEventLog, RegisterMessageFile and {$R fclel.res}

2013-02-16 Thread Reinier Olislagers
Hi all, While adapting some code to use Eventlog I found RegisterMessageFile, which the help helpfully explains (it registers the file used by Windows to show certain strings in the event viewer). Decided I liked/needed that and did this: {$R fclel.res} ... FLog.RegisterMessageFile('');

Re: [fpc-pascal] TEventLog, RegisterMessageFile and {$R fclel.res}

2013-02-16 Thread Reinier Olislagers
On 16-2-2013 12:26, Michael Van Canneyt wrote: On Sat, 16 Feb 2013, Reinier Olislagers wrote: Decided I liked/needed that and did this: {$R fclel.res} ... FLog.RegisterMessageFile(''); That should be ParamStr(0) instead of empty string. Are you sure? FPC 2.6.0: Function

[fpc-pascal] Re: OT a bit - Planet Object Pascal

2013-02-18 Thread Reinier Olislagers
On 17-2-2013 14:52, Sven Barth wrote: On 17.02.2013 14:40, Frank Church wrote: On 17 February 2013 09:35, Florian Klämpfl florian-y8GAwIkqPAJpn7uciFS/b...@public.gmane.org wrote: Am 17.02.2013 09:55, schrieb ik: On Sun, Feb 17, 2013 at 10:13 AM, Florian Klämpfl

[fpc-pascal] JSON dates

2013-02-21 Thread Reinier Olislagers
Hi, Creating a client/server scanning application that uses JSON to exchange data. Noticed there's no support for dates in the JSON specs; apparently various approaches are used (Unix epoch/ISO 8601 date strings/something Microsoft did). Noticed that Firefox gives this: new Date().toJSON(); /*

<    1   2   3   4   5   6   7   8   >