From 515aa432407e09d19f94409b6ddd28d3751210eb Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Thu, 26 Nov 2009 07:32:41 +0000 Subject: [PATCH] 2009-11-26 08:31 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbqt/hbqt.hbc * contrib/hbqt/hbqts.hbc + Added QtUiTools for darwin. (tested) + Added QtUiTools for linux. (not tested) ! Added QtUiTools lib for static QT hbqts.hbc. --- harbour/ChangeLog | 51 +++++++++++++++++++--------------- harbour/contrib/hbqt/hbqt.hbc | 3 +- harbour/contrib/hbqt/hbqts.hbc | 2 +- 3 files changed, 32 insertions(+), 24 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 80afd23fce..215e324a95 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,13 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-11-26 08:31 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + * contrib/hbqt/hbqt.hbc + * contrib/hbqt/hbqts.hbc + + Added QtUiTools for darwin. (tested) + + Added QtUiTools for linux. (not tested) + ! Added QtUiTools lib for static QT hbqts.hbc. + 2009-11-25 18:53 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg @@ -42,7 +49,7 @@ * contrib/hbide/resources/finddialog.ui + Implemented some very basic support for "Qt Creator" designer created .ui forms. - + Based on above implementation hbide now supports "Find" operation. It is set to + + Based on above implementation hbide now supports "Find" operation. It is set to search "Harbour" at present and is scheduled to be perfected this week-end. 2009-11-26 03:45 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) @@ -69,7 +76,7 @@ * harbour/contrib/hbwin/olecore.c * added OLE error code as OS code. Changed subsystem from BASE to OLE ; NOTE: function hb_errRT_OLE() is static and defined in both modules. - I'm not sure about the future parameters of the function, so, + I'm not sure about the future parameters of the function, so, I do not want to make it public. * harbour/contrib/hbwin/legacycd.c @@ -79,20 +86,20 @@ 2009-11-25 19:10 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddads/ads1.c - * changed field type mapping of HB_FT_* define, ADS_* define, - DBCREATE()/DBSTRUCT() array type member. Now we have mapping + * changed field type mapping of HB_FT_* define, ADS_* define, + DBCREATE()/DBSTRUCT() array type member. Now we have mapping compatible to DBF files as much as possible. ; INCOMPATIBILITIES to old ads1.c: - * ADS_VARCHAR is mapped to HB_FT_VARLENGTH instead of old mapping - to HB_FT_MEMO. HB_FT_MEMO has a fixed size in DBF (ex., 10), + * ADS_VARCHAR is mapped to HB_FT_VARLENGTH instead of old mapping + to HB_FT_MEMO. HB_FT_MEMO has a fixed size in DBF (ex., 10), but ADS_VARCHAR is variable length field, so, HB_FT_VARLENGTH much more correct - * fieldinfo method (DBSTRUCT() at .prg level) returns one byte - field type if possible. The exceptions are RAW, CICHARACTER, - and VARBINARY fields. So, you'll get a DBF compatible type P + * fieldinfo method (DBSTRUCT() at .prg level) returns one byte + field type if possible. The exceptions are RAW, CICHARACTER, + and VARBINARY fields. So, you'll get a DBF compatible type P instead of IMAGE, B instead of DOUBLE, T instead of TIME, etc. - Other field mappings are extension to existing code and should + Other field mappings are extension to existing code and should not be seen as incompatibility to end used. ; Current field type mappings are: @@ -121,25 +128,25 @@ CICharacter,n HB_FT_STRING,n ADS_CISTRING ; ADS help has many ambiguities. Here is the most important I found: - * Both ADS_VARCHAR and ADS_VARCHAR_FOX defines exists, but - VarChar filed type is documented only for VFP DBFs. Does + * Both ADS_VARCHAR and ADS_VARCHAR_FOX defines exists, but + VarChar filed type is documented only for VFP DBFs. Does commom DBF support this field type? - * It is not clear what ADS_* define corresponds to VarBinary - field. Both ADS_VARBINARY_FOX and ADS_RAW does not sound + * It is not clear what ADS_* define corresponds to VarBinary + field. Both ADS_VARBINARY_FOX and ADS_RAW does not sound to be a good choice. - * ADS documents field types CharacterNoCPTrans, MemoNoCPTrans, + * ADS documents field types CharacterNoCPTrans, MemoNoCPTrans, VarCharNoCPTrans available in VFP tables, but no corresponding ADS_* defines exist. These type are not supported by RDDDADS. - * Autoincrement field type in DBF is called "Autoinc", in ADT - "Autoicrement". Test shows that both name are acceptedt by + * Autoincrement field type in DBF is called "Autoinc", in ADT + "Autoicrement". Test shows that both name are acceptedt by AdsCreateTable(). - * ADS_LONGLONG define exists, but LomgLong field type is not - documented at all. It is not clear how to pass field type to + * ADS_LONGLONG define exists, but LomgLong field type is not + documented at all. It is not clear how to pass field type to AdsCreateTable(): "Integer,8" or "LongLong". Test required! - * Can extended DBF types like ShortDate and Image be used with - VFP DBF files? (Some other field typess are defined twice + * Can extended DBF types like ShortDate and Image be used with + VFP DBF files? (Some other field typess are defined twice both in extended DBF and VFP DBF) - * Documented field type ShortInteger generates 5012 ADS error on + * Documented field type ShortInteger generates 5012 ADS error on AdsCreateTable(). A simple workaround used: "ShortInt" passed instead of documented field name. diff --git a/harbour/contrib/hbqt/hbqt.hbc b/harbour/contrib/hbqt/hbqt.hbc index 958a783c92..c6b1b8562d 100644 --- a/harbour/contrib/hbqt/hbqt.hbc +++ b/harbour/contrib/hbqt/hbqt.hbc @@ -11,10 +11,11 @@ libs=hbqtcore hbqtgui hbqtnetwork {win}libs=version shlwapi {allwin}libs=QtCore4 QtGui4 QtNetwork4 QtUiTools -{linux}libs=QtCore QtGui QtNetwork +{linux}libs=QtCore QtGui QtNetwork QtUiTools {darwin}libs=/Library/Frameworks/QtCore.framework/QtCore {darwin}libs=/Library/Frameworks/QtGui.framework/QtGui {darwin}libs=/Library/Frameworks/QtNetwork.framework/QtNetwork +{darwin}libs=QtUiTools {allgcc}libs=supc++ gui=yes diff --git a/harbour/contrib/hbqt/hbqts.hbc b/harbour/contrib/hbqt/hbqts.hbc index efa5b3583a..ce795e83d2 100644 --- a/harbour/contrib/hbqt/hbqts.hbc +++ b/harbour/contrib/hbqt/hbqts.hbc @@ -10,7 +10,7 @@ libs=hbqts libs=hbqtcores hbqtguis hbqtnetworks hbqtwebkits {win}libs=version shlwapi -{allwin}libs=QtCore QtGui QtNetwork QtWebKit +{allwin}libs=QtCore QtGui QtNetwork QtWebKit QtUiTools {allgcc}libs=supc++ gui=yes