[fpc-pascal] An idea in my head to improve compilation speed

2011-07-27 Thread leledumbo
I've just read an forum post somewhere comparing compilation speed of FPC and Delphi when building MSEide. In that post, FPC is 9 times slower than Delphi 7. I don't have Delphi so I don't know how it can be very fast. I see however one of compilation bottleneck in FPC: The -Fu switch. FPC linearly

Re: [fpc-pascal] Patch: new XML export for FCL-DB ready for inclusion, issue 19790 - includes Delphi Clientdataset

2011-07-27 Thread Reinier Olislagers
On 27-7-2011 20:52, michael.vancann...@wisa.be wrote: > > > On Wed, 27 Jul 2011, Reinier Olislagers wrote: > >> Update: includes first stab at Delphi Clientdataset. Please test with >> various datatypes as I haven't been able to map all of them... > > I added your implementation to SVN. Thanks,

Re: RE : [fpc-pascal] Patch: new XML export for FCL-DB ready for inclusion, issue 19790 - includes Delphi Clientdataset

2011-07-27 Thread Reinier Olislagers
On 27-7-2011 20:49, Ludo Brands wrote: >> >> Update: includes first stab at Delphi Clientdataset. Please >> test with various datatypes as I haven't been able to map all >> of them... >> > > Some problems with Delphi Clientdataset: > > - comes after and Delphi 2006 complains about missing > me

Re: [fpc-pascal] How to detect serial/usb-serial ports.

2011-07-27 Thread Fabio Luis Girardi
I'm a little curious to know how vmware workstation lists the serial ports on linux. It's the unique software that does this right that I know. Regards, Fabio 2011/7/27 Mark Morgan Lloyd : > P.vanderWal wrote: >> >> Debian and Ubuntu >> >> grtjs Piet >> >> - Original Message - From: "F

Re: [fpc-pascal] How to detect serial/usb-serial ports.

2011-07-27 Thread Mark Morgan Lloyd
P.vanderWal wrote: Debian and Ubuntu grtjs Piet - Original Message - From: "Felipe Monteiro de Carvalho" To: "FPC-Pascal users discussions" Sent: Wednesday, July 27, 2011 10:39 AM Subject: Re: [fpc-pascal] How to detect serial/usb-serial ports. For which operating system? I'd e

Re: [fpc-pascal] Re: Library for network calculation

2011-07-27 Thread Jorge Aldo G. de F. Junior
nice, that was new to me :) 2011/7/27 Sven Barth : > On 27.07.2011 12:22, Dimitri Smits wrote: >> >> don't have a Delphi in reach for the moment to verify, but you could do >> that to a const (if you enable the assignable constants setting) >> >> procedure SomeProc; >> const >>   someconst: Intege

Re: RE : [fpc-pascal] Patch: new XML export for FCL-DB ready for inclusion, issue 19790

2011-07-27 Thread Inoussa OUEDRAOGO
>>> Now you've made me curious... where is it available? >> >> You should ask Inoussa. I don't think he has published it yet. >> I have a first version available here, but I'm not sure if I can >> distribute >> it. > > Then I'll wait until it's ready. I'll contain my curiosity till then ^^ I just

Re: [fpc-pascal] fpweb fastcgi hello world example?

2011-07-27 Thread Joseph Montanez
Michael, Thanks so much! The examples in the SVN http://svn.freepascal.org/svn/fpc/trunk/packages/fcl-web/examples/helloworld/ compiled just fine and I got it to work perfectly. Its amazing you can pick from cgi, fcgi, and apache module without having to change much of anything other then the star

Re: RE : [fpc-pascal] Patch: new XML export for FCL-DB ready for inclusion, issue 19790

2011-07-27 Thread Sven Barth
On 27.07.2011 20:48, michael.vancann...@wisa.be wrote: On Wed, 27 Jul 2011, Sven Barth wrote: On 27.07.2011 19:24, Michael Van Canneyt wrote: On Wed, 27 Jul 2011, Sven Barth wrote: On 27.07.2011 14:05, michael.vancann...@wisa.be wrote: On Wed, 27 Jul 2011, Ludo Brands wrote: 2. Atom

Re: [fpc-pascal] Patch: new XML export for FCL-DB ready for inclusion, issue 19790 - includes Delphi Clientdataset

2011-07-27 Thread michael . vancanneyt
On Wed, 27 Jul 2011, Reinier Olislagers wrote: Update: includes first stab at Delphi Clientdataset. Please test with various datatypes as I haven't been able to map all of them... I added your implementation to SVN. But you may want to check your implementation on 64-bit prior to submitting

RE : [fpc-pascal] Patch: new XML export for FCL-DB ready for inclusion, issue 19790 - includes Delphi Clientdataset

2011-07-27 Thread Ludo Brands
> > Update: includes first stab at Delphi Clientdataset. Please > test with various datatypes as I haven't been able to map all > of them... > Some problems with Delphi Clientdataset: - comes after and Delphi 2006 complains about missing metadata. Inverting the 2 blocks solves the problem. M

Re: RE : [fpc-pascal] Patch: new XML export for FCL-DB ready for inclusion, issue 19790

2011-07-27 Thread michael . vancanneyt
On Wed, 27 Jul 2011, Sven Barth wrote: On 27.07.2011 19:24, Michael Van Canneyt wrote: On Wed, 27 Jul 2011, Sven Barth wrote: On 27.07.2011 14:05, michael.vancann...@wisa.be wrote: On Wed, 27 Jul 2011, Ludo Brands wrote: 2. Atom feeds as used by Google. Feel free to take a shot at i

Re: RE : [fpc-pascal] Patch: new XML export for FCL-DB ready for inclusion, issue 19790

2011-07-27 Thread Sven Barth
On 27.07.2011 19:24, Michael Van Canneyt wrote: On Wed, 27 Jul 2011, Sven Barth wrote: On 27.07.2011 14:05, michael.vancann...@wisa.be wrote: On Wed, 27 Jul 2011, Ludo Brands wrote: 2. Atom feeds as used by Google. Feel free to take a shot at it :-) Do you mean the 0.3 format - https

Re: [fpc-pascal] How to detect serial/usb-serial ports.

2011-07-27 Thread P.vanderWal
Debian and Ubuntu grtjs Piet - Original Message - From: "Felipe Monteiro de Carvalho" To: "FPC-Pascal users discussions" Sent: Wednesday, July 27, 2011 10:39 AM Subject: Re: [fpc-pascal] How to detect serial/usb-serial ports. For which operating system? -- Felipe Monteiro de Carv

Re: RE : [fpc-pascal] Patch: new XML export for FCL-DB ready for inclusion, issue 19790

2011-07-27 Thread Michael Van Canneyt
On Wed, 27 Jul 2011, Sven Barth wrote: On 27.07.2011 14:05, michael.vancann...@wisa.be wrote: On Wed, 27 Jul 2011, Ludo Brands wrote: 2. Atom feeds as used by Google. Feel free to take a shot at it :-) Do you mean the 0.3 format - https://secure.wikimedia.org/wikipedia/en/wiki/Atom_%2

Re: RE : [fpc-pascal] Patch: new XML export for FCL-DB ready for inclusion, issue 19790

2011-07-27 Thread Sven Barth
On 27.07.2011 14:05, michael.vancann...@wisa.be wrote: On Wed, 27 Jul 2011, Ludo Brands wrote: 2. Atom feeds as used by Google. Feel free to take a shot at it :-) Do you mean the 0.3 format - https://secure.wikimedia.org/wikipedia/en/wiki/Atom_%28standard%29#Atom_0.3 AFAIK data exports

Re: [fpc-pascal] Re: Library for network calculation

2011-07-27 Thread Sven Barth
On 27.07.2011 12:22, Dimitri Smits wrote: don't have a Delphi in reach for the moment to verify, but you could do that to a const (if you enable the assignable constants setting) procedure SomeProc; const someconst: Integer = 22; begin //blabla someconst := 42; //yadda yadda end;

[fpc-pascal] Patch: new XML export for FCL-DB ready for inclusion, issue 19790 - includes Delphi Clientdataset

2011-07-27 Thread Reinier Olislagers
Update: includes first stab at Delphi Clientdataset. Please test with various datatypes as I haven't been able to map all of them... Hi list (& Michael Van Canneyt ;), Earlier I announced I was writing another XML export module for FCL-DB. After some interesting hours with Excel, Access, .Net an

Re: RE : [fpc-pascal] Patch: new XML export for FCL-DB ready for inclusion, issue 19790

2011-07-27 Thread michael . vancanneyt
On Wed, 27 Jul 2011, Ludo Brands wrote: 2. Atom feeds as used by Google. Feel free to take a shot at it :-) Do you mean the 0.3 format - https://secure.wikimedia.org/wikipedia/en/wiki/Atom_%28standard%29#Atom_0.3 AFAIK data exports are all general purpose, ie they represent the data, and

RE : [fpc-pascal] Patch: new XML export for FCL-DB ready for inclusion, issue 19790

2011-07-27 Thread Ludo Brands
> > 2. Atom feeds as used by Google. > > > > Feel free to take a shot at it :-) > Do you mean the 0.3 format - > https://secure.wikimedia.org/wikipedia/en/wiki/Atom_%28standard%29#Atom_0.3 AFAIK data exports are all general purpose, ie they represent the data, and evenually their schema, as preci

[fpc-pascal] Re: [Firebird-devel] FreePascal as an embedded language in Firebird: possible and desirable?

2011-07-27 Thread Tony Whyman
JIm, A very interesting proposal. Having recently ported IBX from Delphi/InterBase to Free Pascal/Lazarus/Firebird, I know that both Firebird and Free Pascal are great products and could and should work well together for server side as well as client side functions. The question is what benefit do

Re: [fpc-pascal] How to detect serial/usb-serial ports.

2011-07-27 Thread Henry Vermaak
On 27/07/11 09:22, P. vanderWal wrote: Hello, In my program I need to present the user with a list of available serial and usb-serial ports on the system they are using. How do I detect in my program these ports?. (something like GetPortList() in Delphi-7???). Look here for how synaser does it:

Re: [fpc-pascal] Patch: new XML export for FCL-DB ready for inclusion, issue 19790

2011-07-27 Thread Reinier Olislagers
On 27-7-2011 12:26, michael.vancann...@wisa.be wrote: > > On Wed, 27 Jul 2011, Reinier Olislagers wrote: > >> Suggestions for additional XML export formats are welcome. > Well, I have 2 on my wishlist: > 1. The format used by Delphi's TClientDataset ? Ok, I've used that one once... so I could giv

Re: [fpc-pascal] How to detect serial/usb-serial ports.

2011-07-27 Thread Fabio Luis Girardi
Wich OS? If Windows, you can use the function BuildCommDCB, and pass the following string as param: COMx: baud=1200 parity=N data=8 stop=1 if COMx exists on your system, this function will return true. See: http://msdn.microsoft.com/en-us/library/aa363143(v=vs.85).aspx On linux, i don't found

Re: [fpc-pascal] Patch: new XML export for FCL-DB ready for inclusion, issue 19790

2011-07-27 Thread michael . vancanneyt
On Wed, 27 Jul 2011, Reinier Olislagers wrote: Hi list (& Michael Van Canneyt ;), Earlier I announced I was writing another XML export module for FCL-DB. After some interesting hours with Excel, Access, .Net and FreePascal, and thanks to Ludo Brands for testing and bugfixes, it seems the wor

Re: [fpc-pascal] Re: Library for network calculation

2011-07-27 Thread Dimitri Smits
don't have a Delphi in reach for the moment to verify, but you could do that to a const (if you enable the assignable constants setting) procedure SomeProc; const someconst: Integer = 22; begin //blabla someconst := 42; //yadda yadda end; - "Sven Barth" schreef: > Well... seems li

[fpc-pascal] Patch: new XML export for FCL-DB ready for inclusion, issue 19790

2011-07-27 Thread Reinier Olislagers
Hi list (& Michael Van Canneyt ;), Earlier I announced I was writing another XML export module for FCL-DB. After some interesting hours with Excel, Access, .Net and FreePascal, and thanks to Ludo Brands for testing and bugfixes, it seems the work is done. What is it: an FCL-DB export module that

Re: [fpc-pascal] Re: Library for network calculation

2011-07-27 Thread Sven Barth
Well... seems like you didn't notice this feature yet :D I'm talking about this: === source begin === procedure SomeProc; var somevar: Integer = 42; begin end; === source end === This works in FPC, but doesn't in Delphi ;) Regards Sven Am 26.07.2011 21:27, schrieb Jorge Aldo G. de F. Jun

Re: [fpc-pascal] fpweb fastcgi hello world example?

2011-07-27 Thread michael . vancanneyt
On Wed, 27 Jul 2011, Joseph Montanez wrote: I am struggling to get a simple hello world with fpweb with fastcgi with some luck but I cant seem to get any good output. I have the source code posted at https://gist.github.com/1108814#comments I've tried looking at the fpweb demos in the 2.4.4 r

Re: [fpc-pascal] How to detect serial/usb-serial ports.

2011-07-27 Thread John Lee
I use the synaser unit - works for fpc 2.4, win and I think for other o/s too - google for info - it has the capability to look for serial ports, set baud rates, and to do character & block input & output. hth John On 27 July 2011 09:22, P. vanderWal wrote: > ** > Hello, > > In my program I nee

Re: [fpc-pascal] FreePascal as an embedded language in Firebird: possible and desirable?

2011-07-27 Thread michael . vancanneyt
On Wed, 27 Jul 2011, Jim wrote: Hi FreePascal and Firebird people, (Cross-posted to the FPC and Firebird Development mailing lists) [snip] 3.4 FreePascal will need to use the Firebird memory manager. Using various memory managers is fortunately already possible in FPC. 3.5 Most important

Re: [fpc-pascal] How to detect serial/usb-serial ports.

2011-07-27 Thread Felipe Monteiro de Carvalho
For which operating system? -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] How to detect serial/usb-serial ports.

2011-07-27 Thread P. vanderWal
Hello, In my program I need to present the user with a list of available serial and usb-serial ports on the system they are using. How do I detect in my program these ports?. (something like GetPortList() in Delphi-7???). One port is used by a milling-machine to receive its position and speed

[fpc-pascal] FreePascal as an embedded language in Firebird: possible and desirable?

2011-07-27 Thread Jim
Hi FreePascal and Firebird people, (Cross-posted to the FPC and Firebird Development mailing lists) 1. Background = For the upcoming Firebird 3.0 database server release, developers are working on allowing external languages (at first Java) for writing stored procedures and functions.

[fpc-pascal] fpweb fastcgi hello world example?

2011-07-27 Thread Joseph Montanez
I am struggling to get a simple hello world with fpweb with fastcgi with some luck but I cant seem to get any good output. I have the source code posted at https://gist.github.com/1108814#comments I've tried looking at the fpweb demos in the 2.4.4 release but are using extjs and laz. Anyone else h