[fpc-pascal] Re: RE : Re: RE : RE : RE : Assigning value to ftVariant datatype& varbytes-still stuck

2011-08-09 Thread Reinier Olislagers
On 9-8-2011 16:42, Ludo Brands wrote: >> Applied patch in fpc source, make clean, make all make install for >> FPC, make for Lazarus, rescan fpc source directory, recompile test >> project. > > Downloaded the code and it raises an SUnsupportedFieldType when > creating the ftAutoInc field. That

Re: RE : [fpc-pascal] Re: RE : Re: RE : RE : RE : Assigning value to ftVariant datatype& varbytes-still stuck

2011-08-09 Thread waldo kitty
On 8/9/2011 11:21, Ludo Brands wrote: line 547 or 574? the error report is 574 ;) waldo, thanks for trying to help, unfortunately, I think he meant 574 ;) My keybroad is suffering from dyslexia. mine does it all the time, too :lol: ___ fpc-pascal m

Re: [fpc-pascal] Re: RE : Re: RE : RE : RE : Assigning value to ftVariant datatype& varbytes-still stuck

2011-08-09 Thread waldo kitty
On 8/9/2011 11:13, Reinier Olislagers wrote: On 9-8-2011 17:03, waldo kitty wrote: On 8/9/2011 10:42, Ludo Brands wrote: Exception: Access violation Source unit: Method name: Line number: 574 00.003 TestXSDExport_Access_NoXSD_NoDecimal Error: Line 547

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

2011-08-09 Thread Jim
On 9-8-2011 17:49, Jonas Maebe wrote: > > On 09 Aug 2011, at 17:04, Jim wrote: > >> 4. I just tried to open up communication and provide a way for >> both sides to communicate and keep track of things. > The problem is that this is generally not how things actually get > implemented in open sourc

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

2011-08-09 Thread Jonas Maebe
On 09 Aug 2011, at 17:04, Jim wrote: > 4. I just tried to open up communication and provide a way for both > sides to communicate and keep track of things. The problem is that this is generally not how things actually get implemented in open source software. Things get implemented by someone wi

RE : [fpc-pascal] Re: RE : Re: RE : RE : RE : Assigning value to ftVariant datatype& varbytes-still stuck

2011-08-09 Thread Ludo Brands
> > line 547 or 574? the error report is 574 ;) > waldo, thanks for trying to help, unfortunately, I think he > meant 574 ;) > My keybroad is suffering from dyslexia. Lduo ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freep

[fpc-pascal] Re: RE : Re: RE : RE : RE : Assigning value to ftVariant datatype& varbytes-still stuck

2011-08-09 Thread Reinier Olislagers
On 9-8-2011 17:03, waldo kitty wrote: > On 8/9/2011 10:42, Ludo Brands wrote: >>>Exception: Access violation >>>Source unit: >>>Method name: >>>Line number: 574 >>> 00.003 TestXSDExport_Access_NoXSD_NoDecimal Error: >> >> Line 547 is where FillTestData is ca

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

2011-08-09 Thread Jim
On 9-8-2011 16:39, Marco van de Voort wrote: > In our previous episode, Jim said: >> Firebird issue/feature request: >> http://tracker.firebirdsql.org/browse/CORE-3571 >> FreePascal issue/feature request: >> http://bugs.freepascal.org/view.php?id=19946 > > IMHO this FPC tracker item is totally ope

Re: RE : [fpc-pascal] Re: RE : RE : RE : Assigning value to ftVariant datatype& varbytes-still stuck

2011-08-09 Thread waldo kitty
On 8/9/2011 10:42, Ludo Brands wrote: Exception: Access violation Source unit: Method name: Line number: 574 00.003 TestXSDExport_Access_NoXSD_NoDecimal Error: Line 547 is where FillTestData is called. Not very usefull. line 547 or 574? the error report is

Re: RE : [fpc-pascal] Re: RE : RE : RE : Assigning value to ftVariant datatype& varbytes-still stuck

2011-08-09 Thread Reinier Olislagers
On 9-8-2011 16:42, Ludo Brands wrote: > > Downloaded the code and it raises an SUnsupportedFieldType when > creating the ftAutoInc field. That is OK since I didn't include > ftAutoinc in the supported list for TBufDataset. If you are not > getting this error, then the patch and/or install didn't w

RE : [fpc-pascal] Re: RE : RE : RE : Assigning value to ftVariant datatype& varbytes-still stuck

2011-08-09 Thread Ludo Brands
> Applied patch in fpc source, make clean, make all make > install for FPC, make for Lazarus, rescan fpc source > directory, recompile test project. > > Still get access violations. > (ftVariant, ftVarbytes set to size 10, then assigning all > kinds of strings to it using .AsString) > > Could

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

2011-08-09 Thread Marco van de Voort
In our previous episode, Jim said: > requests to keep track of things: > > Firebird issue/feature request: > http://tracker.firebirdsql.org/browse/CORE-3571 > FreePascal issue/feature request: > http://bugs.freepascal.org/view.php?id=19946 IMHO this FPC tracker item is totally open ended, and it

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

2011-08-09 Thread Jim
On 27-7-2011 9:10, Jim wrote: > 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) f

[fpc-pascal] Re: Cross Compiling from Linux to a Mac OS X 10.5 or 10.6 target. How? [SOLVED]

2011-08-09 Thread Reinier Olislagers
On 9-8-2011 14:29, Torsten Bonde Christiansen wrote: > On 2011-08-09 12:59, Reinier Olislagers wrote: >> On 9-8-2011 12:21, Torsten Bonde Christiansen wrote: >>> On 2011-08-09 10:46, Reinier Olislagers wrote: >> I've put this on the wiki, don't know if it helps >> On 64 bit Linux environments, fpc

Re: [fpc-pascal] Re: Cross Compiling from Linux to a Mac OS X 10.5 or 10.6 target. How? [SOLVED]

2011-08-09 Thread Torsten Bonde Christiansen
On 2011-08-09 12:59, Reinier Olislagers wrote: On 9-8-2011 12:21, Torsten Bonde Christiansen wrote: On 2011-08-09 10:46, Reinier Olislagers wrote: My pleasure - though I haven't finished yet& may run into things. It seems you're setting up a 32 bit environment. Both my Linux (Debian) and OSX

Re: [fpc-pascal] Re: Cross Compiling from Linux to a Mac OS X 10.5 or 10.6 target. How? [SOLVED]

2011-08-09 Thread Bruce Tulloch
Indeed. I have retained a 32 bit system for my main development host for the time being due to issues such as this (not that I knew of this particular problem). I'll be interested to see what solutions you find work as I do plan to migrate to 64 bits soon. Good to know what I'm up against. FWIW, th

[fpc-pascal] Re: RE : RE : RE : Assigning value to ftVariant datatype& varbytes-still stuck

2011-08-09 Thread Reinier Olislagers
On 9-8-2011 12:17, Ludo Brands wrote: > I created a patch for ftVariant, ftBytes and ftVarBytes support as well as a > check for supported types and attached it to the issue. Feel free to extend > your tests with it ;) Applied patch in fpc source, make clean, make all make install for FPC, make fo

[fpc-pascal] Re: RE : Re: RE : RE : RE : Assigning value to ftVariant datatype& varbytes-still stuck

2011-08-09 Thread Reinier Olislagers
On 9-8-2011 13:34, Ludo Brands wrote: >> I've changed ftVariant to base64 encoding (i.e. treat is as >> binary) in commit 19: > > Mmm... That's taking risks and requires quite some testing with the > different host applications. When transferring data as strings, we know that > apps do the strin

RE : [fpc-pascal] Re: RE : RE : RE : Assigning value to ftVariant datatype& varbytes-still stuck

2011-08-09 Thread Ludo Brands
> > The format was defined as string before. > That doesn't match my current version. > Maybe I already made the change: > I've changed ftVariant to base64 encoding (i.e. treat is as > binary) in commit 19: Mmm... That's taking risks and requires quite some testing with the different host applic

[fpc-pascal] Re: Cross Compiling from Linux to a Mac OS X 10.5 or 10.6 target. How? [SOLVED]

2011-08-09 Thread Reinier Olislagers
On 9-8-2011 12:21, Torsten Bonde Christiansen wrote: > On 2011-08-09 10:46, Reinier Olislagers wrote: >> My pleasure - though I haven't finished yet& may run into things. >> >> It seems you're setting up a 32 bit environment. Both my Linux (Debian) >> and OSX machine are 64 bit - don't know if thi

[fpc-pascal] Re: RE : RE : RE : Assigning value to ftVariant datatype& varbytes-still stuck

2011-08-09 Thread Reinier Olislagers
On 9-8-2011 12:17, Ludo Brands wrote: > I created a patch for ftVariant, ftBytes and ftVarBytes support as well as a > check for supported types and attached it to the issue. Feel free to extend > your tests with it ;) Thanks, I'll have a look. > > Also a change in fpXMLXSDExport line 388: > >

Re: [fpc-pascal] Re: Cross Compiling from Linux to a Mac OS X 10.5 or 10.6 target. How? [SOLVED]

2011-08-09 Thread Torsten Bonde Christiansen
On 2011-08-09 10:46, Reinier Olislagers wrote: My pleasure - though I haven't finished yet& may run into things. It seems you're setting up a 32 bit environment. Both my Linux (Debian) and OSX machine are 64 bit - don't know if this will work. I've just tried to follow the guide, but seem to ru

RE : RE : RE : [fpc-pascal] Assigning value to ftVariant datatype& varbytes-still stuck

2011-08-09 Thread Ludo Brands
> On 7-8-2011 19:50, Ludo Brands wrote: > > TBufDataset doesn't support ftVarBytes and ftVariant. Variants are > > complex objects and aren't stored by just copying bytes. Don't use > > them with TBufDataset. > > > > Ludo > > > ... cause they have some kind of structure that describes > what k

[fpc-pascal] Suggested fix for problem make install trunk FPC: trailing backslash in directory specification

2011-08-09 Thread Reinier Olislagers
Just tried updating FPC sources and compiling (32 bit) on Windows Vista x64 and got an error and a solution. === Summary: I get an error when I do something like: make.exe install INSTALL_PREFIX=C:\Development\Fpc\ "PP=C:\Developm

Re: [fpc-pascal] Re: Cross Compiling from Linux to a Mac OS X 10.5 or 10.6 target. How? [SOLVED]

2011-08-09 Thread Reinier Olislagers
My pleasure - though I haven't finished yet & may run into things. It seems you're setting up a 32 bit environment. Both my Linux (Debian) and OSX machine are 64 bit - don't know if this will work. Anyway, I'll get back on the list if I have problems... Reinier On 9-8-2011 10:28, Bruce Tulloch w

Re: [fpc-pascal] Re: Cross Compiling from Linux to a Mac OS X 10.5 or 10.6 target. How? [SOLVED]

2011-08-09 Thread Bruce Tulloch
Brilliant, thanks Reinier, it looks good. Cheers, Bruce. On 08/08/11 23:03, Reinier Olislagers wrote: > On 6-8-2011 15:28, Causal Lists wrote: >> I finally managed to get Intel Mac OS X cross-compilation (from Linux) >> working well so I thought I'd document what I did for the benefit of >> others