Zeos 7 Alpha and Delphi 2009 Support - Official Thread

The alpha/beta tester's forum for ZeosLib 7.0.x series

Report problems concerning our Delphi 2009+ version and new Zeoslib 7.0 features here.

This is a forum that will be removed once the 7.X version goes into stable!!

Moderators: gto, EgonHugeist, olehs

mariuszekpl
Senior Boarder
Senior Boarder
Posts: 54
Joined: 30.09.2008, 10:59

Post by mariuszekpl »

tkyr look there:
http://zeos.firmos.at/viewtopic.php?t=2130
I write simple application zeos+firebird+unicode
nagoyadam
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 14.11.2008, 11:54

Post by nagoyadam »

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
Last edited by nagoyadam on 16.12.2008, 12:22, edited 1 time in total.
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

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
Image
nagoyadam
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 14.11.2008, 11:54

Post by nagoyadam »

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
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

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
Image
kc87654321
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 31.08.2008, 23:39

Re: Zeos 7 Alpha and Delphi 2009 Support - Official Thread

Post by kc87654321 »

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? :D
wahono
Junior Boarder
Junior Boarder
Posts: 32
Joined: 30.07.2007, 16:20
Location: Indonesia
Contact:

Post by wahono »

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
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

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
Image
personalsoft_fabiano
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: 13.02.2009, 18:55
Location: Americana/SP

Test suite

Post by personalsoft_fabiano »

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
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

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
Image
cariad
Junior Boarder
Junior Boarder
Posts: 36
Joined: 20.10.2005, 14:07

Post by cariad »

Hello,

Maybe not the most useful feedback, but I've tried Zeos v7 under Delphi 2009 (mainly with PostgreSQL 8.1, 8.3, SSL, unicode DB) with no problem whatsoever (except the memory leak reported earlier).

Keep up the good work, it's really appreciated !
solook
Fresh Boarder
Fresh Boarder
Posts: 9
Joined: 20.09.2008, 13:12

Post by solook »

i cant to download Zeos 7 Alpha..

plase give a link for download
seawolf
Zeos Dev Team *
Zeos Dev Team *
Posts: 385
Joined: 04.06.2008, 19:50
Contact:

Post by seawolf »

here you can found the lastest snapshot.
tapomy
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: 03.03.2009, 10:08

Post by tapomy »

como instala??????????
tam
Fresh Boarder
Fresh Boarder
Posts: 19
Joined: 20.10.2006, 15:21

Post by tam »

I have problems installing it. Pls give short instructions. Thanks
Locked