Commit Graph

15080 Commits

Author SHA1 Message Date
Pritpal Bedi
cfa613a3e9 2010-09-17 18:22 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* 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.
2010-09-18 01:27:21 +00:00
Pritpal Bedi
4ddb512005 2010-09-17 15:49 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* src/rtl/ttopbar.prg
    ! Changed: Instance variable <cargo> to SETGET METHOD cargo( xCargo ).
      Request received on SF's bug tracker.
2010-09-17 22:52:41 +00:00
Pritpal Bedi
b3934d258a 2010-09-17 15:31 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* 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.
2010-09-17 22:32:50 +00:00
Pritpal Bedi
059f098199 2010-09-17 08:19 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* 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.
2010-09-17 15:27:19 +00:00
Przemyslaw Czerpak
b07d1073ff 2010-09-17 07:59 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/win_rpc.c
    * casting to pacify MinGW warnings
2010-09-17 05:59:36 +00:00
Pritpal Bedi
3704351a28 2010-09-16 16:00 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/ideshortcuts.prg
    ! Demonstrated: how a QLabel can be intercepted for key events.
2010-09-16 22:58:53 +00:00
Pritpal Bedi
2d5d02b780 2010-09-16 13:32 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* 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.
2010-09-16 20:34:57 +00:00
Pritpal Bedi
8bd8268513 2010-09-15 19:05 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idemain.prg
    ! A last minute miss.
2010-09-16 02:02:48 +00:00
Pritpal Bedi
e074d36974 2010-09-15 18:53 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* 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.
2010-09-16 01:59:28 +00:00
Pritpal Bedi
63f3dcc4ed 2010-09-15 15:55 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbxbp/xbp.ch
    + Added XBP_*_GROUP constants.

  * contrib/hbxbp/xbpwindow.prg
    ! :group instance variable now returns XBP_NO_GROUP instead of 0.
2010-09-15 22:55:40 +00:00
Pritpal Bedi
f757c35a3f 2010-09-15 14:35 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* 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.
2010-09-15 21:41:29 +00:00
Viktor Szakats
7bdf4cef43 2010-09-15 23:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    + Pointing to INSTALL doc in missing HB_INSTALL_PREFIX error 
      message.
2010-09-15 21:25:53 +00:00
Viktor Szakats
c4a20afb50 2010-09-15 23:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* 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.
2010-09-15 21:01:50 +00:00
Viktor Szakats
37040fc4fc 2010-09-15 20:01 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/hbqt/qtgui/hbqtgui.ch
  * contrib/hbqt/qtgui/hbqtgui.hbc
  * contrib/hbqt/qtgui/hbqtgui.hbp
  + contrib/hbqt/qtwebkit/hbqtwebkit.ch
  * contrib/hbqt/qtwebkit/hbqtwebkit.hbc
  * contrib/hbqt/qtwebkit/hbqtwebkit.hbp
  + contrib/hbqt/qtcore/hbqtcore.ch
  * contrib/hbqt/qtcore/hbqtcore.hbp
    + Monotlithic hbqt.ch split to per-component headers.

  - contrib/hbqt/hbqt.ch
    - Deleted. Please use hbqtcore.ch, hbqtgui.ch instead.
    ; INCOMPATIBLE.
    ; NOTE: hbqt.ch was automatically including hbtrace.ch,
            with per-component headers this is no longer true,
            so if you need it you have to include it explicitly.
    ; NOTE: QT_PTROF() compatibility macro has been removed.
            It was a dummy, so either remove it from your code
            or readd the macro locally until then.

  * contrib/hbqt/qtcore/hbqt.h
    * Changed 'type' form int to unsigned int.

  * contrib/gtwvg/tests/wvgqt.prg
    - Deleted obsolete macro.

  * contrib/hbqt/qtcore/hbqt_misc.prg
  * contrib/hbqt/hbqt_hbmk2_plugin.hbs
  * contrib/hbqt/qtgui/hbqt_errorsys.prg
  * contrib/hbqt/qtgui/THbQtUI.prg
  * contrib/hbqt/qtgui/qth/QColor.qth
  * contrib/hbqt/tests/demoqt.prg
  * contrib/hbqt/tests/testres.prg
  * contrib/hbqt/tests/dialogqt.prg
  * contrib/hbqt/tests/testbrow.prg
  * contrib/hbqt/tests/testqaim.prg
  * contrib/hbxbp/xbpappevent.prg
  * contrib/hbxbp/xbp.ch
  * contrib/hbxbp/xbpstatic.prg
  * contrib/hbxbp/hbpprocess.prg
  * contrib/hbide/hbqtoolbar.prg
  * contrib/hbide/idefindreplace.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/idewizard.prg
  * contrib/hbide/hbqreportsmanager.prg
  * contrib/hbide/idefunctions.prg
  * contrib/hbide/idedict.prg
  * contrib/hbide/idethemes.prg
  * contrib/hbide/idesaveload.prg
  * contrib/hbide/idetools.prg
  * contrib/hbide/idedocwriter.prg
  * contrib/hbide/ideharbourhelp.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/ideskeletons.prg
  * contrib/hbide/ideenviron.prg
  * contrib/hbide/idesources.prg
  * contrib/hbide/idehome.prg
  * contrib/hbide/ideshortcuts.prg
  * contrib/hbide/idebrowse.prg
  * contrib/hbide/idedocks.prg
    * Changed to #include hbqtcore.ch/hbqtgui.ch instead of hbqt.ch.

  * contrib/hbqt/qtgui/doc/en/class_qcolor.txt
    * Regenerated.

  ; Everything HBQT related shall be rebuilt.
2010-09-15 18:06:48 +00:00
Viktor Szakats
594fa03023 2010-09-15 17:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* 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.
2010-09-15 15:51:31 +00:00
Przemyslaw Czerpak
d579e0ca59 2010-09-15 16:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbzlib.c
    ! fixed typo
2010-09-15 14:54:36 +00:00
Przemyslaw Czerpak
e78cb0e549 2010-09-15 16:04 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* 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'
2010-09-15 14:04:26 +00:00
Pritpal Bedi
5b86defbe1 2010-09-14 15:15 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/tests/testbrow.prg
  * contrib/hbqt/tests/testqaim.prg
  * contrib/hbqt/tests/testres.prg
    ! Adopted to new hbQT syntax.
      Q*Class():new( ... ) => Q*Class( ... )
                
      Regression is highly possible, so please verify.
2010-09-14 22:18:54 +00:00
Pritpal Bedi
718689834e 2010-09-14 15:05 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/hbqreportsmanager.prg
  * contrib/hbide/hbqtoolbar.prg
  * contrib/hbide/ideactions.prg
  * contrib/hbide/idebrowse.prg
  * contrib/hbide/idedict.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/idefindreplace.prg
  * contrib/hbide/idefunctions.prg
  * contrib/hbide/ideharbourhelp.prg
  * contrib/hbide/idehome.prg
  * contrib/hbide/idemain.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/idesaveload.prg
  * contrib/hbide/ideshortcuts.prg
  * contrib/hbide/ideskeletons.prg
  * contrib/hbide/idethemes.prg
  * contrib/hbide/idetools.prg
  * contrib/hbide/idewizard.prg
    ! Adopted to new hbQT class syntax.
      Q*Class():new( ... ) => Q*Class( ... )
                
      Regression is highly possible, so please report errors.
2010-09-14 22:10:44 +00:00
Pritpal Bedi
52a4905f88 2010-09-14 15:00 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbxbp/hbpprocess.prg
  * contrib/hbxbp/xbp3state.prg
  * contrib/hbxbp/xbpbitmap.prg
  * contrib/hbxbp/xbpbrowse.prg
  * contrib/hbxbp/xbpcheckbox.prg
  * contrib/hbxbp/xbpclipboard.prg
  * contrib/hbxbp/xbpcombobox.prg
  * contrib/hbxbp/xbpdialog.prg
  * contrib/hbxbp/xbpfiledialog.prg
  * contrib/hbxbp/xbpfontdialog.prg
  * contrib/hbxbp/xbpgeneric.prg
  * contrib/hbxbp/xbphtmlviewer.prg
  * contrib/hbxbp/xbplistbox.prg
  * contrib/hbxbp/xbpmenubar.prg
  * contrib/hbxbp/xbpmle.prg
  * contrib/hbxbp/xbpprintdialog.prg
  * contrib/hbxbp/xbpprinter.prg
  * contrib/hbxbp/xbppushbutton.prg
  * contrib/hbxbp/xbpradiobutton.prg
  * contrib/hbxbp/xbprtf.prg
  * contrib/hbxbp/xbpscrollbar.prg
  * contrib/hbxbp/xbpsle.prg
  * contrib/hbxbp/xbpspinbutton.prg
  * contrib/hbxbp/xbpstatic.prg
  * contrib/hbxbp/xbpstatusbar.prg
  * contrib/hbxbp/xbptabpage.prg
  * contrib/hbxbp/xbptoolbar.prg
  * contrib/hbxbp/xbptreeview.prg
  * contrib/hbxbp/xbpwindow.prg
    ! Adopted to new hbQT syntax.
      Q*Class():new( ... ) => Q*Class( ... )
2010-09-14 22:06:46 +00:00
Pritpal Bedi
6dfd6dd430 2010-09-14 14:47 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/tests/demoqt.prg
    ! Adopted to new syntax.

  * contrib/hbqt/utils/hbqtgen.prg
    + Implemented: Q*Class( ... ) syntax over Q*Class():new( ... ).
      The tips extended by Viktor, thanks.

  * contrib/hbqt/qtgui/THbQtUI.prg
    ! Adopted to new syntax.

  * contrib/hbqt/qtcore/g/*.prg
  * contrib/hbqt/qtgui/g/*.prg
  * contrib/hbqt/qtnetwork/g/*.prg
  * contrib/hbqt/qtwebkit/g/*.prg
  * contrib/hbqt/qtdesigner/g/*.prg
    * Regenerated.
2010-09-14 22:01:43 +00:00
Pritpal Bedi
09e15e0b81 2010-09-13 14:43 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/g/QTableWidget.cpp
    * Regenerated.
  * contrib/hbqt/qtgui/qth/QTableWidget.qth
    * Transferred ownership of <qWidget> in :setCellWidget( nRow, nCol, qWidget )
      to its parent object.
2010-09-13 21:42:37 +00:00
Viktor Szakats
c71102b4d6 2010-09-13 22:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* ChangeLog
    ! Added missing item to recent entry:
      * config/detect.mk
        + pick up csw-installed pcre on sunos
          Patch by Tamas Tevesz.
2010-09-13 20:22:28 +00:00
Pritpal Bedi
17a7fd976a 2010-09-13 12:34 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* 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.
2010-09-13 19:33:11 +00:00
Przemyslaw Czerpak
5a7fe57b41 2010-09-13 20:36 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* 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
2010-09-13 18:36:39 +00:00
Przemyslaw Czerpak
7f2ff9b35f 2010-09-13 17:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* 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.
2010-09-13 15:01:10 +00:00
Przemyslaw Czerpak
0e90340325 2010-09-13 15:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* 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())
2010-09-13 13:46:24 +00:00
Mindaugas Kavaliauskas
380597c130 2010-09-13 16:05 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* 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
2010-09-13 13:05:12 +00:00
Viktor Szakats
693f4221d6 2010-09-13 13:39 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* 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?
2010-09-13 11:39:50 +00:00
Viktor Szakats
7914aad087 2010-09-13 13:30 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* 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).
2010-09-13 11:32:23 +00:00
Przemyslaw Czerpak
3cb0856cb5 2010-09-13 13:13 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* 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.
2010-09-13 11:13:24 +00:00
Przemyslaw Czerpak
e55fe7db71 2010-09-13 12:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* 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 ) ] := "*"
2010-09-13 10:13:04 +00:00
Przemyslaw Czerpak
eaf56593d0 2010-09-13 11:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* 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.
2010-09-13 09:40:53 +00:00
Przemyslaw Czerpak
f35913215a 2010-09-13 09:59 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* 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.
2010-09-13 07:59:23 +00:00
Viktor Szakats
d6837666c3 2010-09-12 22:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ 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.
2010-09-12 20:11:12 +00:00
Viktor Szakats
d52542ffbf 2010-09-12 11:17 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    ! Typo
2010-09-12 09:17:45 +00:00
Pritpal Bedi
ce68bd5b3c 2010-09-12 00:42 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbqt.ch
    + A couple of more constants.

  + contrib/hbide/resources/rp_arc.png
  + contrib/hbide/resources/rp_chord.png
  + contrib/hbide/resources/rp_diamond.png
  + contrib/hbide/resources/rp_ellipse.png
  + contrib/hbide/resources/rp_linediagleft.png
  + contrib/hbide/resources/rp_linediagright.png
  + contrib/hbide/resources/rp_linehorz.png
  + contrib/hbide/resources/rp_linevert.png
  + contrib/hbide/resources/rp_rectangle.png
  + contrib/hbide/resources/rp_roundrectangle.png
  + contrib/hbide/resources/rp_shapes.png
  + contrib/hbide/resources/rp_triangle.png

  * contrib/hbide/hbide.qrc
    + Added: above images.

  * contrib/hbide/hbqtoolbar.prg
    + Added: METHOD getItem().

  * contrib/hbide/hbqreportsmanager.prg
    + Implemented: different shapes.
        Rectangle, Rounded Rectangle, Ellipse, Arc, Chord, 
        Line - Horizontal, vertical, diagonal forward, diagobal backward.
        Diamond, Triangle.
      Graphics shapes implementation supports drag-drop features.
2010-09-12 07:53:51 +00:00
Przemyslaw Czerpak
1b90aa0919 2010-09-11 09:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* 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
2010-09-11 07:23:07 +00:00
Pritpal Bedi
d3777cbfe9 2010-09-10 19:10 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* 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.
2010-09-11 02:10:57 +00:00
Viktor Szakats
8f37f7a0f0 2010-09-10 22:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    ! Adjustment to prev. Comment added.
2010-09-10 20:52:12 +00:00
Viktor Szakats
b8746abe7f 2010-09-10 22:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* 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.
2010-09-10 20:12:00 +00:00
Pritpal Bedi
236d06e5f2 2010-09-10 07:05 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* 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.
2010-09-10 14:10:35 +00:00
Viktor Szakats
3bef20a149 2010-09-10 11:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbide/hbide.hbp
  - contrib/hbide/hbide.prg
  + contrib/hbide/idemain.prg
    * Renamed to avoid users trying 'hbmk2 hbide' (and fail).
2010-09-10 09:34:27 +00:00
Przemyslaw Czerpak
e79bb83514 2010-09-10 09:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/olecore.c
    ! do not convert parameters passed by reference for DISPID_PROPERTYPUT
      It should fix potential memory leak because in such case we do not
      use PutParams() which release them.
    ! return assigned value instead of index in __OPINDEX() method.
2010-09-10 07:58:01 +00:00
Mindaugas Kavaliauskas
15b23e3746 2010-09-10 05:14 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbwin/olecore.c
  * harbour/contrib/hbwin/oleauto.prg
    + implemented overloading of operator []
  * harbour/vm/classes.c
    * pacified compiler warning
2010-09-10 02:15:16 +00:00
Pritpal Bedi
c0b0df678f 2010-19-12 09:19 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/hbqreportsmanager.prg
    ! Few more steps gained on printing front.
2010-09-10 02:10:51 +00:00
Viktor Szakats
7a999f8734 2010-09-09 23:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    ! Fixed matching pathseps in filter.
2010-09-09 21:52:31 +00:00
Pritpal Bedi
ca9815acb6 2010-09-09 09:19 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
+ contrib/hbqt/qtcore/g/HBQString.cpp
    + Added: missing file from prev commit.
      Damm it, I am getting less attentive since few days last, sorry.
2010-09-09 16:24:55 +00:00
Przemyslaw Czerpak
253db45857 2010-09-09 17:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/filesys.c
    * unified hb_fsSeek[Large]() return value when seek operation cannot
      be executed for given file handle. Now it's 0 for all platforms.

  * harbour/include/hbapicls.h
  * harbour/src/vm/classes.c
    + added new public C function
         PHB_SYMB hb_clsFuncSym( HB_USHORT uiClass )
      It returns class function symbol or NULL.

  * harbour/ChangeLog
  * harbour/config/os2/gccomf.mk
  * harbour/include/hbpcode.h
  * harbour/include/hbdebug.ch
  * harbour/include/hbmath.ch
  * harbour/include/hbgfx.ch
  * harbour/src/vm/classes.c
  * harbour/utils/hbmk2/hbmk2.prg
    * removed dummy trailing spaces at EOLs
2010-09-09 15:22:21 +00:00
Pritpal Bedi
535abb20ef 2010-09-08 18:41 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/utils/hbqtgen.prg
    ! Code cleanup.

  * contrib/hbqt/utils/qtcore.qtp
    + Added: two more classes.

  + contrib/hbqt/qtcore/qth/HBQString.qth
    ! It is exactly QString() class wrapper.
  + contrib/hbqt/qtcore/qth/QStringRef.qth
    + Added: two more classes. 
      
  * contrib/hbqt/qtcore/qth/QObject.qth
    - Commented out two methods.

  * contrib/hbqt/qtcore/g/filelist.hbm
  * contrib/hbqt/qtcore/g/hbqtcore.h

  + contrib/hbqt/qtcore/g/QObject.cpp
  + contrib/hbqt/qtcore/g/QStringRef.cpp
  + contrib/hbqt/qtcore/g/THBQString.prg
  + contrib/hbqt/qtcore/g/TQStringRef.prg
    + Auto-generated.

  + contrib/hbqt/qtcore/hbqt_hbqstring.cpp
  + contrib/hbqt/qtcore/hbqt_hbqstring.h
  * contrib/hbqt/qtcore/hbqtcore.hbm
    + Added: hbqt_hbqstring.cpp

  * contrib/hbide/hbqreportsmanager.prg
    ! Some experiments.
2010-09-09 01:49:34 +00:00