* contrib/hbqt/qtgui/qth/QBoxLayout.qth
* contrib/hbqt/qtgui/qth/QComboBox.qth
* contrib/hbqt/qtgui/qth/QDrag.qth
* contrib/hbqt/qtgui/qth/QGridLayout.qth
* contrib/hbqt/qtgui/qth/QLayout.qth
* contrib/hbqt/qtgui/qth/QListWidget.qth
* contrib/hbqt/qtgui/qth/QTableWidget.qth
* contrib/hbqt/qtgui/qth/QTabWidget.qth
* contrib/hbqt/qtgui/qth/QToolBar.qth
* contrib/hbqt/qtgui/qth/QTreeWidget.qth
* contrib/hbqt/qtgui/qth/QTreeWidgetItem.qth
* contrib/hbqt/qtgui/qth/QWidget.qth
- Deleted all occurances where a widget was detached from
GC cycle. Now it is done automatically by the generator.
To flag an argument to detach, prototype body is post-fixed
with [*D=n*] where "n" is the ordinal position of the
argument as seen in the prototype body.
* contrib/hbqt/utils/hbqtgen.prg
+ A thoughly simplified, artionalized, object based
implementation. It is now easily possible to extend
it with many more constructs.
WARNING: though this implementation produces the
working code but I have not re-generated sources
because a lot more is still on my drawing-board.
You can generate sources but only at your local
end. DO NOT UPDATE SVN.
* harbour/include/hbapicom.h
* harbour/src/rtl/hbcom.c
+ added public C function: void hb_comSetError( int iPort, int iError )
* harbour/src/rtl/hbcomhb.c
+ added PRG function: HB_COMSETERROR( nPort, nError ) --> NIL
* harbour/src/rtl/hbsocket.c
* minor formatting
* harbour/config/doc.mk
* harbour/config/postinst.hbs
* harbour/contrib/make.hbs
* do not install documentation files when HB_INSTALL_DOC=no
* harbour/config/postinst.hbs
! do not install .hbl files for core utils when HB_BUILD_PARTS=lib
+ added support for HB_INSTALL_SCRIPT executed after install step.
It allows to extract some variables set by our GNU make system,
i.e. it's used to retrieve HB_CCPREFIX in win/wince .spec files.
* harbour/package/harbour-win.spec.in
* use HB_INSTALL_DOC=no to disable DOC file installation
* generate hb{w|ce}mk2 scripts as wrappers to hbmk2 with cross
build settings so it can be easy used used by users to create
Windows/WindowsCE binaries.
Temporary solution until we will not have something more general.
* contrib/hbqt/qtgui/g/QMenu.cpp
* Re-generated.
* contrib/hbqt/qtgui/qth/QMenu.qth
! A try to fix error reported on some builds.
I am not sure if this is the cause but let us try.
* contrib/hbqt/qtgui/doc/en/class_qpainter.txt
* contrib/hbqt/qtgui/doc/en/class_qpainterpath.txt
* contrib/hbqt/qtgui/g/QPainter.cpp
* contrib/hbqt/qtgui/g/QPainterPath.cpp
* contrib/hbqt/qtgui/g/TQPainter.prg
* contrib/hbqt/qtgui/g/TQPainterPath.prg
* Re-generated.
* contrib/hbqt/qtgui/qth/QPainter.qth
! Implemented remaining methods - many-to-one.
NOTE: :fillRect() with Qt_BrushStyle is omitted.
This omission goes in favour of Qt_GlbalColor
because fill with a color is mostly used call.
* contrib/hbqt/qtgui/qth/QPainterPath.qth
+ Implemented: many-to-one method synchronization.
* contrib/hbide/hbqreportsmanager.prg
! Modified to honor above changes.
WARNING: 3rd Party Developers - Please revisit your printing functions.
* contrib/hbide/hbqreportsmanager.prg
* contrib/hbide/idemisc.prg
* contrib/hbqt/qtgui/doc/en/class_qpainter.txt
* contrib/hbqt/qtgui/g/QPainter.cpp
* contrib/hbqt/qtgui/g/TQPainter.prg
* contrib/hbqt/qtgui/qth/QPainter.qth
+ Implemented: all multiple entry functions of QPainter() class
under single function call. Only exception is :fillRect()
which accepts similar parameters for different overloadings.
+ contrib/hbqt/qtcore/g/THBQEvents.prg
+ contrib/hbqt/qtcore/g/THBQSlots.prg
+ Missings from prev commit of Viktor.
* contrib/hbqt/qtgui/doc/en/class_qpainter.txt
* contrib/hbqt/qtgui/g/QPainter.cpp
* contrib/hbqt/qtgui/g/TQPainter.prg
* contrib/hbqt/qtgui/qth/QPainter.qth
+ More streamlined many-to-one function calls.
Still a work in progress.
* contrib/hbide/hbqreportsmanager.prg
* contrib/hbide/ideactions.prg
* contrib/hbide/idemain.prg
* contrib/hbide/idesaveload.prg
+ Implemented: Harbour level codepage protocol.
Please make experiments.
WARNING: you may need to re-select appropriate
codepage from <MainMenu><Setup><Codepages> menu option
before saving any source. Better would be - select
codepage as above and exit hbIDE, reenter.
* 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.