Page 1 of 1
Zeos 7.2 and CT
Posted: 15.12.2013, 18:26
by sternas
Hello Guys
First of all, our respect for your excellent work.
We follow your SVN code for a long time, but at this alpha version of Zeos 7.2 we have problem
with FreePascal Circular unit reference limitations.
We can't register Zeos library to lab CodeTyphon.
Our suggestion is to "reconstruct" some units to /core folder and to move
some units from "implementation uses section" to "interface uses session"
in order to solve the above CT registration problem.
We can send a some modifications (on this programming line) of Zeos library here.
We waiting for you response
have fun
Re: Zeos 7.2 and CT
Posted: 15.12.2013, 21:02
by mdaems
hi,
you're more than welcome to tell us where the problem comes from. I must admit it also poses problems in my Lazarus installation. and for some reason I had to add new source paths to my buildscripts. I guess you found the reason.
so, please tell us how you fixed it.
maybe a Sun diff against the 7.2 branch?
Mark
Re: Zeos 7.2 and CT
Posted: 15.12.2013, 21:05
by EgonHugeist
Hi sternas,
im glad to see you here, my CodeTyphoon-hero! (i miss your avatar
)
Well we'll try to support you where ever we can. I'm wondering about your report since loads of peoples using 7.2up for FPC/LCL and latest compilation issues for non-win OS's seems to be fixed.
So i do welcome you attach a patch or an more detailed issue report. I'll check it as soon as possible and see what happens on our side.
Btw. GREAT WORK!!!!
Re: Zeos 7.2 and CT
Posted: 15.12.2013, 23:48
by sternas
Thanks Guys
give me one day to prepare the zips...
Re: Zeos 7.2 and CT
Posted: 18.12.2013, 12:33
by EgonHugeist
You are welcome!
Best practice would be using the \testing-7.2 branch. Mark will merge the changes to trunk after a periode of a week or two. (or after the holliday seasion, of course)
Re: Zeos 7.2 and CT
Posted: 23.12.2013, 12:39
by miab3
@sternas, @EgonHugeist, @mdaems
1.
Zeos7.1.2-patched_R2996(last fixes):
http://svn.code.sf.net/p/zeoslib/code-0 ... 1-patches/
compiles and runs on (I have tested):
- D2007 -> C++,
- DXE2 32/64 -> C++(32),
- Lazarus 32/64 on Windows7-64 (CodeTyphon ver 4.40, 4.50 and 4.60 with i386_cgcpu.pas.patch:
http://bugs.freepascal.org/view.php?id=25269)
2.
Zeos7.2-alpha branches_ testing_R3026:
http://svn.code.sf.net/p/zeoslib/code-0 ... sting-7.2/
compiles and runs on (I have tested):
- D2006,
- DXE2 32/64 -> C++(32),
- Lazarus 32-bit on Windows7-64(CodeTyphon ver 4.60
with i386_cgcpu.pas.patch: http://bugs.freepascal.org/view.php?id=25269
and after exclusion: exsortzeos, RxSortZeos and RegisterUnit('RxSortZeos', @RxSortZeos.Register); from pl_RX )
I was unable to build 64-bit Win version of CodeTyphon 4.60 with ZEOS 7.2.
@sternas,
Last lines of the building CodeTyphon 4.60 64-bit Windows Big IDE:
C:/codetyphon/fpc/bin/x86_64-win64/cp.exe -f Makefile.compiled lib/x86_64-win64/win32/LR_TDbf.compiled
make[2]: Leaving directory `C:/codetyphon/typhon/components/lazreport/source/addons/TDbfDB'
C:/codetyphon/fpc/bin/x86_64-win64/make -C lazreport/source/addons/ZeosDB
make[2]: Entering directory `C:/codetyphon/typhon/components/lazreport/source/addons/ZeosDB'
C:/codetyphon/fpc/bin/x86_64-win64/rm.exe -f lib/x86_64-win64/win32/lr_zeosdb.ppu
C:/codetyphon/fpc/bin/x86_64-win64/ppcx64.exe -MObjFPC -Scghi -O1 -g -gl -vewnhi -l -dLCL -dLCLwin32 -Fu../../../../../packager/units/x86_64-win64 -Fu../../../../lazutils/lib/x86_64-win64 -Fu../../../../../lcl/units/x86_64-win64 -Fu../../../../../lcl/units/x86_64-win64/win32 -Fu../../../../cairocanvas/lib/x86_64-win64/win32 -Fu../../../../lazcontrols/lib/x86_64-win64/win32 -Fu../../../../synedit/units/x86_64-win64/win32 -Fu../../../../ideintf/units/x86_64-win64/win32 -Fu../../../../printers/lib/x86_64-win64/win32 -Fu../../lib/x86_64-win64/win32 -Fu../../../../pl_ZeosDBO/lib/x86_64-win64/win32 -Fu. -FE. -FUlib/x86_64-win64/win32 -g- -dx86_64 lr_zeosdb.pas
Hint: Start of reading config file C:\codetyphon\fpc\bin\x86_64-win64\fpc.cfg
Hint: End of reading config file C:\codetyphon\fpc\bin\x86_64-win64\fpc.cfg
Free Pascal Compiler version 2.7.1 [2013/12/21] for x86_64
Copyright (c) 1993-2013 by Florian Klaempfl and others
Target OS: Win64 for x64
Compiling lr_zeosdb.pas
PPU Loading C:\codetyphon\typhon\components\pl_ZeosDBO\lib\x86_64-win64\win32\ZMessages.ppu
PPU Source: ZMessages.pas not found
PPU Source: ZCore.inc not available
PPU Source: ..\Zeos.inc not available
PPU Source: ZeosLazarus.inc not available
PPU Loading C:\codetyphon\typhon\components\pl_ZeosDBO\lib\x86_64-win64\win32\ZMessages.ppu
PPU Source: ZMessages.pas not found
PPU Source: ZCore.inc not available
PPU Source: ..\Zeos.inc not available
PPU Source: ZeosLazarus.inc not available
Recompiling ZMessages, checksum changed for ZEncoding
ZMessages.pas(11,21) Fatal: Can't find unit ZMessages used by ZSysUtils
Fatal: Compilation aborted
make[2]: *** [lr_zeosdb.ppu] Error 1
make[2]: Leaving directory `C:/codetyphon/typhon/components/lazreport/source/addons/ZeosDB'
make[1]: *** [bigide] Error 2
make[1]: Leaving directory `C:/codetyphon/typhon/components'
make: *** [bigidecomponents] Error 2
------------------------------------------------------
??????????????????????????????????????????????????????
[ERROR]: Typhon64 BIG-IDE IDE NOT Build
??????????????????????????????????????????????????????
_______________________________________________________________
Terminate Action at 2013-12-23 12:45:46
Total time: 00:00:46.816
ExitCode : 0
Test databases and 32/64-bits clients:
Firebird 2.5.3, MySQL 5.5.18, MariaDB 5.5.32, PostgreSQL 9.3.0.1, Oracle XE 11.2g, MSSQL 2008 R2 Express(mssql, FreeTDS, ado-sqlncli), *.mdb-ado-Jet.OLEDB.4.0, SQLite 3.7.17.
Michal
Re: Zeos 7.2 and CT
Posted: 23.12.2013, 14:07
by miab3
@sternas, @EgonHugeist, @mdaems
1.
Zeos7.1-patched_R2996(last fixes):
http://svn.code.sf.net/p/zeoslib/code-0 ... 1-patches/
compiles and runs on (I have tested):
- D2007 -> C++,
- DXE2 32/64 -> C++(32),
- Lazarus 32/64 on Windows7-64 (CodeTyphon ver 4.40, 4.50 and (4.60 with i386_cgcpu.pas.patch:
http://bugs.freepascal.org/view.php?id=25269))
2. Problem solved
Zeos7.2-alpha branches_ testing_R3026:
http://svn.code.sf.net/p/zeoslib/code-0 ... sting-7.2/
compiles and runs on (I have tested):
- D2006,
- DXE2 32/64 -> C++(32),
- Lazarus 32/64 on Windows7-64(CodeTyphon ver 4.60 with i386_cgcpu.pas.patch:
http://bugs.freepascal.org/view.php?id=25269)
Solution for CodeTyphon.
I forced to rebuild after ZEOS (I deleted the corresponding lib directories):
\codetyphon\typhon\components\lazreport\
\codetyphon\typhon\components\pl_RX\
They should be rebuilt each time the ZEOS changed
Of course I added core/ZFastCode.pas in package.
Test databases and 32/64-bits clients:
Firebird 2.5.3, MySQL 5.5.18, MariaDB 5.5.32, PostgreSQL 9.3.0.1, Oracle XE 11.2g, MSSQL 2008 R2 Express(mssql, FreeTDS, ado-sqlncli), *.mdb-ado-Jet.OLEDB.4.0, SQLite 3.7.17.
Merry Christmas and a happy New Year!
Michal
Re: Zeos 7.2 and CT
Posted: 23.12.2013, 21:22
by sternas
Sorry guys for the delay programming time is endless...
Yes, this is our problem :
Code: Select all
Recompiling ZMessages, checksum changed for ZEncoding
ZMessages.pas(11,21) Fatal: Can't find unit ZMessages used by ZSysUtils
To solve this problem we make a lot of changes to Zeos 7.2 (trunk SVN Rev 3016)
http://www.pilotlogic.com/codetyphon/te ... _720-3.zip
We want to stay at Zeos 7.1.2 for next CT release of stability.
Oh, in lab CT ver 4.7 we add pl_Win_OleDB for ADO support on Windows.
Merry Christmas and a happy New Year...
Re: Zeos 7.2 and CT
Posted: 23.12.2013, 22:07
by miab3
@sternas, @EgonHugeist, @mdaems
Sternas,
In my opinion:
- ZEOS 7.2(R3026) is now no less stable than ZEOS 7.1(R2996).
- the problem are the library 'pl_RX' and 'lazreport' in CodeTyphon which depend on ZEOS and should be built after ZEOS and rebuilt after changes in ZEOS.
You did a sizable piece of work.
We'll see what opinions have Michael and Mark.
(Directory 'resources' is not necessary. All required resources(icons) are now in ZEOS directory 'src'('source' in CodeTyphon).)
Michal
Re: Zeos 7.2 and CT
Posted: 30.12.2013, 13:21
by EgonHugeist
@sternas
man what a patch! Sternas i did study your changes last days. You really did a loads of work.
Personally for me, this patch is a bit to.. we would have problems to maintain code which is moved to the inc-files. So i had to pass, sorry, really. BUT you gave me the final ideas what was wrong (for FPC only btw.) So i did remove all circular references from ZEncoding.pas, ZFastCode.Pas and ZSysUtils.pas.
Patch done R3041 \testing-7.2
On my side it works now like a charme. Mark also did confirm it works. Miab3:
http://zeoslib.sourceforge.net/viewtopi ... &start=170
[quote=staernas]
We want to stay at Zeos 7.1.2 for next CT release of stability.
[/quotes]
I agree with Michal. The current 7.2 is a pure bug AND performance fix. IMO you don't need to worry about using 7.2. But coding is going on. I perfonally plan some more refactorings and changes. So going Beta will take a while. Actually i can't say when we plan to change this attribute.
For us it would be helpfull if we could get some more testers from CT. The latest patches will be moved to \trunk in a week.
Thank's again sternas. Your welcome. If we can support CT a bit more: Let us know it!
Re: Zeos 7.2 and CT
Posted: 10.01.2014, 06:32
by EgonHugeist
@sternas
*push* .... did you test the changes? Is there more weired i actually can't see?
Re: Zeos 7.2 and CT
Posted: 19.03.2014, 11:17
by sternas
EgonHugeist wrote:@sternas
*push* .... did you test the changes? Is there more weired i actually can't see?
Yes, we test ver Zeos 7.2.0 (sync 17-3-2014
SVN trunk Rev 3107 )
with FPC (FreePascal 2.7.1 Source
18-3-2014 SVN Rev 27179)
and all OK on:
-Windows xp, win7 and win8 32/64
-Linux Debian 7.4, Ubuntu 13.10 32/64
-FreeBSD ver 9.2 and 10.0 32/64
-Solaris ver 11.1 32/64
-OpenIndiana build 151a9 (it's new) 32/64
Thanks Guys, next CT ver 4.8 will have trunk ZEOS
PS: in ZEncoding.pas line 672, a small typo error on UNIX OSes
Code: Select all
{$ELSE} //2013-10-13 mse
//var
{$IF defined(PWIDECHAR_IS_PUNICODECHAR) and not defined(FPC_HAS_BUILTIN_WIDESTR_MANAGER)}
var // 9999 for CodeTyphon
WS: UnicodeString;
{$IFEND}
Re: Zeos 7.2 and CT
Posted: 27.06.2014, 23:06
by EgonHugeist
Thanks for reply, Sternas.
Does the typo still persits? Current code:
Code: Select all
{$IFDEF MSWINDOWS}
var
ulen: Integer;
{$ELSE} //2013-10-13 mse
{$IF defined(PWIDECHAR_IS_PUNICODECHAR) and not defined(FPC_HAS_BUILTIN_WIDESTR_MANAGER)}
var
WS: UnicodeString;
{$IFEND}
{$ENDIF}