* contrib/hbqt/qtcore/hbqtcore.hbx
* contrib/hbqt/qtcore/hbqt_destruct.cpp
* Renamed: HBQT_SETCODECFORCSTRINGS() -> __HBQT_SETCODECFORCSTRINGS()
* Renamed: HBQT_SETCODECFORTR -> __HBQT_SETCODECFORTR()
; These should never be called by a Harbour application.
; TODO: Remove them in the future.
* contrib/hbqt/qtgui/qth/QApplication.qth
* contrib/hbqt/qtcore/qth/QCoreApplication.qth
! Fixed to initialize default QT text codec to UTF8
inside HBQTCORE (instead of HBQTGUI).
HB_QTGUI puller will automatically pull HB_QTCORE.
! Fixed to use HB_QTCORE and HB_QTGUI puller symbols
instead of former HB_QT. Please change your code.
; TODO: Changed HB_QT to HB_QTGUI.
; TODO: Delete HB_QT
* contrib/hbqt/qtgui/g/QApplication.cpp
* contrib/hbqt/qtcore/g/QCoreApplication.cpp
* Regenerated.
* contrib/hbqt/qtgui/doc/en/class_qpainter.txt
* contrib/hbqt/qtgui/g/QPainter.cpp
* contrib/hbqt/qtgui/g/TQPainter.prg
* Regenerated. (due to some previous commits)
* contrib/hbqt/qtwebkit/g/hbqtwebkit.h
* Regenerated. (why?)
* contrib/hbxbp/hbxbp.hbx
* contrib/hbxbp/xbpgeneric.prg
- Deleted wrappers dealing with modifying QT text codec:
HBXBP_SETCODEC(), HBXBP_SETCODECFORTR()
* contrib/hbide/idemain.prg
- Deleted manual init of QT text codec.
+ Changed to display active CP based on Harbour setting.
* contrib/hbqt/qtcore/hbqt_hbslots.h
- Deleted: references to QSessionManager().
* contrib/hbqt/qtgui/g/QApplication.cpp
* contrib/hbqt/qtgui/qth/QApplication.qth
! QTextCodec::codecForLocale() => QTextCodec::codecForName( "UTF8" )
This synchronizes the codepage used by hbQT for its translation
operations. It is not needed in QCoreApplication() because
for all types of hbQT based applications QApplication() is
ever to be called as first line.
TODO: needed an option for users to set Harbour's recognized codepages.
* contrib/hbqt/qtgui/doc/en/class_qpainter.txt
* contrib/hbqt/qtgui/g/QPainter.cpp
* contrib/hbqt/qtgui/g/TQPainter.prg
* Re-generated.
* contrib/hbqt/qtgui/qth/QPainter.qth
+ Implemented: single call :drawLine() method.
* contrib/hbqt/utils/hbqtgen.prg
+ Implemented: "..." parameter as method argument.
Needed to streamline in single call of Qt's
overloaded by argument type methods.
* contrib/hbide/hbqreportsmanager.prg
! Demonstrated the use of QPainter():drawLine( ... )
with variable type of argument types.
NOTE: this mechanism holds good if arguments are
constructed via Q*Class( ... ) call only.
Also this mechanism seems to be working best
for only those classes of Qt which are neither
inherited nor inheriting other class. The
classes in this bracket are like - QBrush,
QColor, QPixmap, QRect, QPoint, etc.
* contrib/hbqt/qtgui/g/QComboBox.cpp
* Re-generated.
* contrib/hbqt/qtgui/qth/QComboBox.qth
! Detached one child from GC cycle - :setView()
* contrib/hbxbp/xbpcombobox.prg
! Fixed to support inheritance.
Thanks Shum for real-time Xbase++ code example.
Now it can be compiled with Harbour + hbQT without any line change.
* contrib/hbqt/qtgui/qth/QIcon.qth
! An important change in constructor.
TO-REMEMBER: whenever any parameter has to be tested with
HB_ISCHAR() and HB_ISPOINTER(), HB_ISCHAR() must ever be
checked first then HB_ISPOINTER(), at least for hbQT.
* contrib/hbqt/utils/hbqtgen.prg
! Fixed: how a QIcon() is passed to another methods.
* contrib/hbqt/qt*/g/*.prg
* contrib/hbqt/qt*/doc/en/*.txt
* Auto generated.
* contrib/hbide/ideactions.prg
* contrib/hbide/ideobject.prg
! Minor.
* contrib/hbqt/hbqt_hbmk2_plugin.hbs
+ Added: required :pPtr initialization.
* contrib/hbqt/qtcore/hbqt_misc.prg
! Changed the way hbqt_ptr( oQtOROtherObject ) was returning :pPtr.
Now it checks <:pPtr> instance variable's presence if it
is a member of the class or not.
WARNING: Now onwards any class derived from hbQT class must contain
:pPtr instance variable to work properly.
* contrib/hbqt/qtgui/THbQtUI.prg
+ Added: :pPtr instance vaiable.
* contrib/hbide/ideactions.prg
* contrib/hbide/idesaveload.prg
+ Implemented: UTF-8 codepage strictly.
We need to explore how Harbour defined codepages can be implemented.
* contrib/hbqt/qtcore/hbqt.h
+ #include "hbapistr.h"
* contrib/hbqt/utils/hbqtgen.prg
+ Implemented: QString to respect Harbour Str API to respect UTF-8.
* contrib/hbide/qt*libs/*.cpp
* Re-generated.
This implementation overcomes a long standing glich in hbIDE at least.
* contrib/hbqt/hbqt_hbmk2_plugin.hbs
* contrib/hbqt/qtgui/g/QGraphicsEllipseItem.cpp
* contrib/hbqt/qtgui/g/QGraphicsLineItem.cpp
* contrib/hbqt/qtgui/g/QGraphicsPathItem.cpp
* contrib/hbqt/qtgui/g/QGraphicsPixmapItem.cpp
* contrib/hbqt/qtgui/g/QGraphicsPolygonItem.cpp
* contrib/hbqt/qtgui/g/QGraphicsRectItem.cpp
* contrib/hbqt/qtgui/g/QGraphicsScene.cpp
* contrib/hbqt/qtgui/g/QGraphicsSimpleTextItem.cpp
* contrib/hbqt/qtgui/g/QGraphicsTextItem.cpp
* contrib/hbqt/qtgui/g/QWidget.cpp
* Regenerated.
* contrib/hbqt/qtgui/qth/QGraphicsEllipseItem.qth
* contrib/hbqt/qtgui/qth/QGraphicsLineItem.qth
* contrib/hbqt/qtgui/qth/QGraphicsPathItem.qth
* contrib/hbqt/qtgui/qth/QGraphicsPixmapItem.qth
* contrib/hbqt/qtgui/qth/QGraphicsPolygonItem.qth
* contrib/hbqt/qtgui/qth/QGraphicsRectItem.qth
* contrib/hbqt/qtgui/qth/QGraphicsScene.qth
* contrib/hbqt/qtgui/qth/QGraphicsSimpleTextItem.qth
* contrib/hbqt/qtgui/qth/QGraphicsSvgItem.qth
* contrib/hbqt/qtgui/qth/QGraphicsTextItem.qth
* contrib/hbqt/qtgui/qth/QWidget.qth
* contrib/hbqt/qtwebkit/g/hbqtwebkit.h
! Corrected constructors which were wrongly based
on p->HBQT_TYPE_Q*Class for certain situations.
CAUTION: HBQT_TYPE_Q*Class member of hbQT structure
is only usable for objects which neither _INHERIT_ nor
_INHERITED_ by any other class. Also it may pose
problems if direct pointer obtained from some
method call is supplied to the constructor.
- contrib/hbqt/qtgui/hbqt_hbqgraphicsrectitem.cpp
- contrib/hbqt/qtgui/hbqt_hbqgraphicsrectitem.h
- Deleted sub-classes no longer required.
* contrib/hbwin/hbwin.hbp
+ contrib/hbwin/win_rpc.c
+ contrib/hbwin/tests/testrpc.prg
+ Added WIN_UUIDCREATESTRING() function to generate UUIDs
via Windows API. Requires W2K or upper as per MSDN.
If not supported, it returns empty string.
* contrib/hbqt/utils/hbqtgen.prg
+ Changed HBQT_TYPE_* constants to be crc32 hashes
derived from component name + type name + "HBQT_TYPE_"
string to guarantee uniqueness (and to make it
possible to generate it dynamically).
[ BTW formerly the base value was derived from
component name with crc16, and the rest was incremented
counter dependent on input file order. ]
Please review hash generation, as it needs to be
constant for a longer time, and hash method should be
possible to extend to other IDs, like QT enums.
* contrib/hbqt/qtgui/g/hbqtgui.h
* contrib/hbqt/qtwebkit/g/hbqtwebkit.h
* contrib/hbqt/qtcore/g/hbqtcore.h
* contrib/hbqt/qtnetwork/g/hbqtnetwork.h
* contrib/hbqt/qscintilla/g/hbqscintilla.h
* contrib/hbqt/qtdesigner/g/hbqtdesigner.h
* Regenerated.
* src/rtl/inkeyapi.c
* src/rtl/inkey.c
! Copyright comments moved/updated.
* harbour/include/hbclass.ch
% small modification to reduce lock time
* harbour/src/common/hbdate.c
! fixed hb_timeUTCOffset() in MS-Windows builds to work in some
countries/windows versions where GetTimeZoneInformation() returns
TIME_ZONE_ID_INVALID but sets correct tzInfo.StandardBias field.
* harbour/package/mpkg_ver.sh
! fixed to set correctly root path after moving build scripts to
./package subdirectory
* harbour/utils/Makefile
! do not build executable files when HB_BUILD_PARTS is set to 'lib'
* contrib/hbqt/qtgui/hbqt_hbqabstractitemmodel.cpp
! Reverted back last commit, was generating GPF.
This is subject to further investigation as I was trying
to locate the cause of always increasing memory consumption.
* harbour/config/win/watcom.mk
* removed .exe suffix from executed tools.
It fixes cross builds using native Linux binaries.
If someone wants to make some tests using windows binaries executed
by WINE then please make the following soft links:
wpp386 -> wpp386.exe
wcc386 -> wcc386.exe
wlink -> wlink.exe
wrc -> wrc.exe
or script wrappers
* harbour/contrib/hbwin/hbwinole.h
* harbour/contrib/hbwin/axcore.c
* harbour/contrib/hbwin/olecore.c
* harbour/contrib/hbwin/hbolesrv.c
+ added new 'HB_USHORT uiClass' parameter to hb_oleDispInvoke()
C function and updated corresponding code.
* harbour/contrib/hbwin/olecore.c
! use hb_oleVariantToItemEx() instead of hb_oleVariantToItem()
in hb_oleSafeArrayToItem() to keep original object class when
arrays are created.
* keep original OLE object class when new OLE object is created
in parameters passed by reference or returned by executed
OLE method
* keep original OLE object class when new OLE object is created
by overloaded [] operator
+ added 3-rd parameter to __OleEnumNext() function which allow
to set OLE object class.
* harbour/contrib/hbwin/oleauto.prg
* keep original OLE object class in enumerators (__OleEnumNext())
* harbour/contrib/hbwin/hbwinole.h
* harbour/contrib/hbwin/olecore.c
+ implemented WIN_OLEAUTO class overloading
* harbour/contrib/hbwin/legacy.prg
- removed "[]" overloading. It's in the core object now.
* src/rtl/hbjson.c
! fixed long long printf format
* package/harbour-win.spec.in
* package/harbour-wce.spec.in
! Fixed messed up 8-bit codepage by my editor.
; QUESTION: Is it possible to switch to UTF-8 for these rpm scripts?
* package/harbour-win.spec.in
* package/harbour-wce.spec.in
! Set HB_INSTALL_PREFIX, to follow this change:
2010-09-10 22:09 UTC+0200
; TODO: Untested. Might need extra steps to package root files
too (ChangeLog, COPYING, NEWS, TODO).
* harbour/contrib/hbqt/hbqt_common.hbm
! respect HB_BUILD_EXTDEF=no
* harbour/package/harbour-win.spec.in
* harbour/package/harbour-wce.spec.in
! removed HB_BUILD_EXTDEF=no which is not necessary -my fault
; TOFIX: now windows builds need HB_INSTALL_PREFIX so these RPMs
still cannot be created.
* harbour/package/harbour-win.spec.in
* harbour/package/harbour-wce.spec.in
! added HB_BUILD_EXTDEF=no to fix cross compilation
Question: in the past HB_BUILD_EXTDEF=no was set automatically
for cross compilation. Why we removed this setting?
* harbour/package/harbour.spec
! use libhbqt*.a for Harbour QT wrapper libraries instead of explicit
names which were not correctly synced.
* harbour/contrib/xhb/xhbmsgs.c
! fixed assign last character in string using [] operators in
xHarbour emulation library, i.e.;
cVal[ len( cVal ) ] := "*"
* harbour/src/rtl/hbzlib.c
+ added new PRG function:
HB_GZCOMPRESSBOUND( <cData> | <nDataLen> ) -> <nMaxCompressLen>
! fixed compilation with ZLIB versions earlier then 1.2.0 broken by
missing deflateBound() function which I used recently.
* harbour/src/rtl/hbzlib.c
! added our own version of compressBound() function for
ZLIB versions 1.2.0 and earlier. It makes HB_ZCOMPRESSBOUND()
working and fixes code like:
<cResult> := HB_ZCOMPRESS( <cData> )
+ added new PRG function:
HB_GZCOMPRESS( <cData>, [<nDstBufLen>|<@cBuffer>], ;
[<@nResult>], [<nLevel>] )
=> <cCompressedData> or NIL on Error
It works like HB_ZCOMPRESS() but uses GZIP instead of ZLIB
encapsulation for compressed data.
+ added support for GZIP compressed strings to HB_ZUNCOMPRESS() and
HB_ZUNCOMPRESSLEN() functions so they can be used with data compressed
by HB_GZCOMPRESS() function or read from .gz files.
+ contrib/hbqt/hbqt.hbc
+ Added .hbc for HBQT. So it can be referred in other projects
simply as 'hbqt.hbc' (with no path).
- contrib/hbqt/hbqt.hbp
+ contrib/hbqt/hbqt_all.hbp
* contrib/hbplist
* Renamed so that make.hbs doesn't pick-up hbqt.hbc automatically.
* contrib/hbqt/qtgui/hbqtgui.hbx
* contrib/hbqt/qtcore/hbqtcore.hbx
* Automatically updated.
; hbqt doesn't build here with HB_BUILD_CONTRIB_DYN=yes mode.
Reason unknown. No time to investigate.
* harbour/src/rdd/dbfcdx/dbfcdx1.c
! save and restore index tag during reindexing when one of tags
with smaller number then the current one is moved to the end of
tag list - Clipper compatibility problem reported by Maurilio.
; Please remember that in Harbour DBFCDX during reindexing adds
new tag at the end of tag list removing the old one. It's CL53
DBFCDX and COMIX compatible behavior but it's different then
CL52 DBFCDX and SIXCDX.
* harbour/src/rdd/dbfnsx/dbfnsx1.c
* harbour/src/rdd/dbfntx/dbfntx1.c
! update tag numbers after reindexing
* contrib/hbide/ideedit.prg
! Alt+PageUp/Down now position the cursor to next line after
function ..() declaration line.
* contrib/hbide/ideshortcuts.prg
+ Added: Alt+PageDown, Alt+PageUp macros.
User now can tune it according to his editing habits.
* config/global.mk
* Will now show fatal error if HB_INSTALL_PREFIX is not set
at all on non-*nix systems. Not setting this will result
in missing COPYING file (which is obligatory accessory when
distributing Harbour) and other crucial files like INSTALL,
NEWS and ChangeLog.
* INSTALL
* HB_INSTALL_??? envvars deprecated. It's recommended to use
HB_INSTALL_PREFIX instead and let the build system decide
about the internal directory layout. Setting these to
arbitrary values may break Harbour tools like hbmk2.
* contrib/hbqt/qtgui/g/QPrinter.cpp
* Regenerated.
* contrib/hbqt/qtgui/qth/QPrinter.qth
! Fixed: constructor, now it accepts QPrinterInfo also as a parameter.
* contrib/hbide/ideedit.prg
+ Implemented: Alt+PageDown/PageUp keys to navigate to next/previous function.
A request received at FWH forums.