Zeos 7 Alpha and Delphi 2009 Support - Official Thread
Moderators: gto, EgonHugeist, olehs
-
- Senior Boarder
- Posts: 54
- Joined: 30.09.2008, 10:59
I have modified zeoslib for use with d2009. I am using it without any problems. I am not a heavy user, however, please use with care
You can download the source from
http://ifile.it/2grwt10
You can download the source from
http://ifile.it/2grwt10
Last edited by nagoyadam on 16.12.2008, 12:22, edited 1 time in total.
- mdaems
- Zeos Project Manager
- Posts: 2766
- Joined: 20.09.2005, 15:28
- Location: Brussels, Belgium
- Contact:
nagoyadam,
What's the advantage of using your version over our testing branch snapshots? Have you tried these?
I didn't check your code, but did you take into account the backward compatibility we need for the old/other compilers? Just making a fork of the project for one compiler isn't the way to go, I believe.
BTW : you're calling this file 'Stable'... I hope everybody understands it's a quite untested version originating from the stable branch
Mark
What's the advantage of using your version over our testing branch snapshots? Have you tried these?
I didn't check your code, but did you take into account the backward compatibility we need for the old/other compilers? Just making a fork of the project for one compiler isn't the way to go, I believe.
BTW : you're calling this file 'Stable'... I hope everybody understands it's a quite untested version originating from the stable branch
Mark
First I am very sorry for the name. I have modified it.
I am using the same source for D2007 and D2009 so I think I can say it is compatible with D2009 / D2007 other compilers might require test
I am sorry because I did not compare it with your version. You have started with mysql support and I needed postgres so I have made my own. I understand that I have to make any source modification public and here I am.
Personally I am waiting to change your version from alpha to beta or stable to switch to it since I am sure that you are making a lot of tests. For the time being I am using this source
I am using the same source for D2007 and D2009 so I think I can say it is compatible with D2009 / D2007 other compilers might require test
I am sorry because I did not compare it with your version. You have started with mysql support and I needed postgres so I have made my own. I understand that I have to make any source modification public and here I am.
Personally I am waiting to change your version from alpha to beta or stable to switch to it since I am sure that you are making a lot of tests. For the time being I am using this source
- mdaems
- Zeos Project Manager
- Posts: 2766
- Joined: 20.09.2005, 15:28
- Location: Brussels, Belgium
- Contact:
No problem... we were a little slow with the conversion too.
I checked your changes quickly. Seems like you did the most necessary changes. Not sure if it will work for 100 % when streams and blobs are involved, but for normal strings and numbers your version is probably safe (and compatible).
I still can't believe those codegear people did such an enormous change in exactly one release, without the possibility of using a compiler directive to disable it.
Mark
I checked your changes quickly. Seems like you did the most necessary changes. Not sure if it will work for 100 % when streams and blobs are involved, but for normal strings and numbers your version is probably safe (and compatible).
I still can't believe those codegear people did such an enormous change in exactly one release, without the possibility of using a compiler directive to disable it.
Mark
-
- Fresh Boarder
- Posts: 2
- Joined: 31.08.2008, 23:39
Re: Zeos 7 Alpha and Delphi 2009 Support - Official Thread
HI
Zeoslib its great lib ,THANK for work.
real like it,but I need to make applications for WinCE and QT under Lazarus too. how?
Zeoslib its great lib ,THANK for work.
real like it,but I need to make applications for WinCE and QT under Lazarus too. how?
Hi, I will back to use (and hopefully can give contribute ) Zeoslib when Zeoslib implements unicode, I am interesting with many features of this library. I am user of MSEide (FPC) with fully implement UCS2 to all string in GUI text. I have some question about new Zeoslib features :
1) What is data type which used to store unicode? Is widestring?
2) Is convertion from database to unicode and otherwise when needed only?
Or all string and character from field is stored as unicode? I assume convertion to unicode when need to retrieve and store only. If yes, it can make more slowly because always converting.
If convertion is done when fetch from db and store to buffer, I think it can make more fast. Just slow at first fetching. I have tested new Zeoslib from testing branch inside MSEide. When read more than 15.000 record in tdbwidgetgrid, too slow when move between row. I don't know is any user of Zeoslib have tested unicode with big record in delphi 2009.
I am waiting to anyone answer my question, specially to Mark Daem.
Regard,
Wahono
1) What is data type which used to store unicode? Is widestring?
2) Is convertion from database to unicode and otherwise when needed only?
Or all string and character from field is stored as unicode? I assume convertion to unicode when need to retrieve and store only. If yes, it can make more slowly because always converting.
If convertion is done when fetch from db and store to buffer, I think it can make more fast. Just slow at first fetching. I have tested new Zeoslib from testing branch inside MSEide. When read more than 15.000 record in tdbwidgetgrid, too slow when move between row. I don't know is any user of Zeoslib have tested unicode with big record in delphi 2009.
I am waiting to anyone answer my question, specially to Mark Daem.
Regard,
Wahono
- mdaems
- Zeos Project Manager
- Posts: 2766
- Joined: 20.09.2005, 15:28
- Location: Brussels, Belgium
- Contact:
In first D2009 compatible verion (7.0)
- No extra unicode support will be available for most compilers
- String type will be replaced by Ansistring where this would lead to trouble in D2009.
- Unicode strings will be widestrings as they are now, unless using D2009.
- Normally no new conversions will be added for fpc. Conversions only happen when interfacing with the db API's.
We discovered making the whole thing fully unicode compliant will take loads of time... And I don't have that enough.
Mark
- No extra unicode support will be available for most compilers
- String type will be replaced by Ansistring where this would lead to trouble in D2009.
- Unicode strings will be widestrings as they are now, unless using D2009.
- Normally no new conversions will be added for fpc. Conversions only happen when interfacing with the db API's.
We discovered making the whole thing fully unicode compliant will take loads of time... And I don't have that enough.
Mark
-
- Fresh Boarder
- Posts: 15
- Joined: 13.02.2009, 18:55
- Location: Americana/SP
Test suite
Hi, guys.
I remember to read somewhere there is a test suite to ZeosLib. Is it correct?
If yes, where can i find it?
Regards,
Fabiano
I remember to read somewhere there is a test suite to ZeosLib. Is it correct?
If yes, where can i find it?
Regards,
Fabiano
- mdaems
- Zeos Project Manager
- Posts: 2766
- Joined: 20.09.2005, 15:28
- Location: Brussels, Belgium
- Contact:
In the SVN repository. Or the snapshot packages.
There's some documentation available in the release packages under the doc directory.
Scripted using Apache Ant. (See build directory) Manuam execution possible
- Open zeosdboDEV project group. Install components as usual. Install testframework. Build test projects
- Set database/test.properties to match your server settings.
- Execute the test projects from their build directory (uses relative paths to the database directory)
Mark
There's some documentation available in the release packages under the doc directory.
Scripted using Apache Ant. (See build directory) Manuam execution possible
- Open zeosdboDEV project group. Install components as usual. Install testframework. Build test projects
- Set database/test.properties to match your server settings.
- Execute the test projects from their build directory (uses relative paths to the database directory)
Mark
here you can found the lastest snapshot.