Commit Graph

15115 Commits

Author SHA1 Message Date
Viktor Szakats
b11e7cd952 2010-09-26 23:03 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Harbour environment autodetection will now work if pathseps 
      are present in HB_BUILD_NAME/-build= setting.
      (so now it's in sync with Harbour build in this regard)
2010-09-26 21:05:32 +00:00
Viktor Szakats
a64cae6dd4 2010-09-26 17:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* examples/gtwvw/tests/wvwtest9.prg
    + Changed to use HB_GTI_INKEYFILTER instead of xhb specific 
      calls. This fixes last known missing showstopper in gtwvw 
      for Harbour.

  * utils/hbmk2/hbmk2.prg
    + Added support for macros in -gt/gt= options.
      (thus fixing gtwvw.hbc)

  ; Patches received from Tamas Tevesz. Thanks a lot!

  * external/png/pngconf.h
  * external/png/pngpread.c
  * external/png/LICENSE
  * external/png/pngrutil.c
  * external/png/png.c
  * external/png/png.h
  * external/png/pngpriv.h
  * external/png/Makefile
  * external/png/pngtrans.c
    * Update to 1.4.4 (from 1.4.3)

  * external/bzip2/blocksor.c
  * external/bzip2/decompre.c
  * external/bzip2/crctable.c
  * external/bzip2/LICENSE
  * external/bzip2/bzlib.c
  * external/bzip2/huffman.c
  * external/bzip2/bzlib.h
  * external/bzip2/randtabl.c
  * external/bzip2/bzlib_pr.h
  * external/bzip2/compress.c
  * external/bzip2/Makefile
    * Update to 1.0.6 (from 1.0.5)
2010-09-26 15:30:18 +00:00
Pritpal Bedi
afe2193324 2010-09-24 17:43 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/THbQtUI.prg
    ! Synchronized with plugin...hbs.
2010-09-25 00:47:31 +00:00
Pritpal Bedi
e0575db811 2010-09-24 15:45 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/qth/QFile.qth
  * contrib/hbqt/qtcore/qth/QIODevice.qth
  * contrib/hbqt/qtcore/qth/QResource.qth
  * contrib/hbqt/qtgui/qth/QBrush.qth
  * contrib/hbqt/qtgui/qth/QColor.qth
  * contrib/hbqt/qtgui/qth/QFormLayout.qth
  * contrib/hbqt/qtgui/qth/QIcon.qth
  * contrib/hbqt/qtgui/qth/QImage.qth
  * contrib/hbqt/qtgui/qth/QMainWindow.qth
  * contrib/hbqt/qtgui/qth/QMenu.qth
  * contrib/hbqt/qtgui/qth/QMenuBar.qth
  * contrib/hbqt/qtgui/qth/QPainter.qth
  * contrib/hbqt/qtgui/qth/QPainterPath.qth
  * contrib/hbqt/qtgui/qth/QPixmap.qth
  * contrib/hbqt/qtgui/qth/QWidget.qth
    + Normalized as much as possible.
      In some cases almost 100%.

  * contrib/hbqt/hbqt_hbmk2_plugin.hbs

  * contrib/hbxbp/xbpbrowse.prg
  * contrib/hbxbp/xbplistbox.prg
    - Changed: calls postfixed with "_1" and family methods.

  * contrib/hbide/hbqreportsmanager.prg
  * contrib/hbide/idebrowse.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/idefindreplace.prg
  * contrib/hbide/idefunctions.prg
  * contrib/hbide/ideharbourhelp.prg
  * contrib/hbide/idesaveload.prg
  * contrib/hbide/ideshortcuts.prg
    - Changed: calls postfixed with "_1" and family methods.
      Nothing else is looked into yet.

  * contrib/hbqt/qtcore/hbqt_misc.prg
    + Added one more method :valtypes()

  * contrib/hbqt/utils/hbqtgen.prg
    + Implemented: resolving parameters and calling 
      many-to-one methods at PRG level. It is extremely 
      complex composition but has been achieved to the point where,
      at least, hbIDE is build properly and is running.
      Many more points needs to be addressed but that I 
      will undertake after a couple of days.

      REGRESSION is highly possible and reporting 
      will be extremely helpful to further fine-tune the 
      concept. Goal is to bring everything on PRG code.

  * contrib/hbqt/qt*/g/*.cpp;*.prg,*.txt
    * Re-generated.
2010-09-24 23:07:22 +00:00
Pritpal Bedi
2b8a03790d 2010-09-23 18:52 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/qth/HBQString.qth
  * contrib/hbqt/qtcore/qth/QBuffer.qth
  * contrib/hbqt/qtcore/qth/QByteArray.qth
  * contrib/hbqt/qtcore/qth/QChar.qth
  * contrib/hbqt/qtcore/qth/QList.qth
  * contrib/hbqt/qtcore/qth/QStringList.qth
  * contrib/hbqt/qtgui/qth/QImage.qth
  * contrib/hbqt/qtgui/qth/QPrintDialog.qth
    ! Commented out duplicate ( Harbour's type ) methods.
      Preparatory work for next commit.
2010-09-24 01:54:28 +00:00
Viktor Szakats
142af9e7a9 2010-09-24 01:57 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmzip/hbmzip.c
    ! Fixed potential GPF in HB_ZIPDELETEFILE() and HB_UNZIPFILEINFO()
      Report and patch by Leandro Damasio. Thanks.

  * INSTALL
    - Deleted actual example value from HB_QTPOSTFIX. Users were setting 
      this unnecessarily thinking they need it. The minority how really 
      need this will know what this is about anyway.
2010-09-23 23:57:46 +00:00
Przemyslaw Czerpak
e97c2c1ab7 2010-09-23 17:36 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/olecore.c
  * harbour/contrib/hbwin/hbolesrv.c
    ! fixed typos in string terminating characters reported by
      Mindaugas
2010-09-23 15:36:56 +00:00
Przemyslaw Czerpak
c32df3353a 2010-09-23 12:11 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/pp/ppcore.c
    + added new PP directive:
         #warning <*msg*>

  * harbour/include/hbclass.ch
    * use #warning instead of #error for class method declaration mismatch
      (enabled by -w3 compiler switch)
2010-09-23 10:11:13 +00:00
Przemyslaw Czerpak
e102c34c05 2010-09-23 11:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/olecore.c
    ! fixed to return assigned value instead of 1-st parameter when more
      then one parameter is used in code like:
         object:_name( param, value )

  * harbour/contrib/hbwin/hbolesrv.c
    ! fixed updating of OLE object reference counter used by
      DllCanUnloadNow()
2010-09-23 09:24:57 +00:00
Viktor Szakats
8ea4ce5517 2010-09-23 10:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt.hbc
    ! Typo causing this make file to not work.
      Error reported by Francesco Perillo.
2010-09-23 08:35:14 +00:00
Mindaugas Kavaliauskas
b5af3b0f73 2010-09-23 06:05 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbwin/olecore.c
    + added possibility to use more than one parameter in property put 
      call. This allows to make a workaround for non-existant Harbour
      language syntax:
         object.name(param) = value
      Workaround syntax:
         object._name(param, value)
    + added comment documenting OLE automation behaviour for various 
      VBScript sentences
  + harbour/contrib/hbwin/tests/pdfcreat.prg
    + added sample code for producing .pdf documents using OLE and PDFCreator
2010-09-23 03:04:11 +00:00
Pritpal Bedi
50d716c743 2010-09-22 18:48 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* 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.
2010-09-23 01:57:27 +00:00
Viktor Szakats
911ba94d9a 2010-09-23 00:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* tests/inline_c.prg
    ! Fixed. (deleted old code not working since 10 years)
2010-09-22 22:07:21 +00:00
Viktor Szakats
9d227dfa7d 2010-09-22 18:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/winuni/RELNOTES
  * INSTALL
    * Refreshed for QT 4.7.0
2010-09-22 16:35:46 +00:00
Przemyslaw Czerpak
5841d12493 2010-09-22 16:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/config/rules.mk
    * added hack for some older GCC versions which do not enable
      preprocessor for .sx files
2010-09-22 14:58:45 +00:00
Przemyslaw Czerpak
2356181a10 2010-09-22 16:52 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* 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.
2010-09-22 14:53:20 +00:00
Pritpal Bedi
efbf93aec1 2010-09-21 12:37 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtwebkit/g/hbqtwebkit.h
    + Added SVN properties.
2010-09-21 19:36:42 +00:00
Pritpal Bedi
052cb55fbe 2010-09-21 09:39 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* 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.
2010-09-21 16:42:36 +00:00
Mindaugas Kavaliauskas
62c84afafe 2010-09-21 19:10 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/rddsql/sqlbase.c
    ! fixed connection freeing in RDDI_DISCONNECT
  * harbour/include/hbsocket.h
    * added socket item API functions
2010-09-21 16:12:26 +00:00
Pritpal Bedi
8bb8052f62 2010-09-21 01:15 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/doc/en/class_qbrush.txt
  * contrib/hbqt/qtgui/doc/en/class_qcolor.txt
  * contrib/hbqt/qtgui/doc/en/class_qicon.txt
  * contrib/hbqt/qtgui/doc/en/class_qimage.txt
  * contrib/hbqt/qtgui/doc/en/class_qpixmap.txt
  * contrib/hbqt/qtgui/g/QBrush.cpp
  * contrib/hbqt/qtgui/g/QColor.cpp
  * contrib/hbqt/qtgui/g/QIcon.cpp
  * contrib/hbqt/qtgui/g/QImage.cpp
  * contrib/hbqt/qtgui/g/QPixmap.cpp
  * contrib/hbqt/qtgui/g/TQBrush.prg
  * contrib/hbqt/qtgui/g/TQColor.prg
  * contrib/hbqt/qtgui/g/TQIcon.prg
  * contrib/hbqt/qtgui/g/TQImage.prg
  * contrib/hbqt/qtgui/g/TQPixmap.prg
    * Re-generated.

  * contrib/hbqt/qtgui/qth/QBrush.qth
  * contrib/hbqt/qtgui/qth/QColor.qth
  * contrib/hbqt/qtgui/qth/QIcon.qth
  * contrib/hbqt/qtgui/qth/QImage.qth
  * contrib/hbqt/qtgui/qth/QPixmap.qth
    + Implemented: many-to-one method calling protocol.
      Refined: constructors.

  * contrib/hbqt/tests/demoqt.prg
  * contrib/hbxbp/xbpstatic.prg
  * contrib/hbide/hbqreportsmanager.prg
  * contrib/hbide/hbqtoolbar.prg
    ! Adopted to many-to-one changes as per above.
2010-09-21 08:14:56 +00:00
Pritpal Bedi
3bcf85ab56 2010-09-20 18:56 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/tests/demoqt.prg

  * contrib/hbxbp/xbpmenubar.prg
  * contrib/hbxbp/xbptoolbar.prg

  * contrib/hbide/hbqreportsmanager.prg
  * contrib/hbide/ideactions.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/idefindreplace.prg
  * contrib/hbide/idemain.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/ideskeletons.prg

  * contrib/hbqt/qtgui/doc/en/class_qmainwindow.txt
  * contrib/hbqt/qtgui/doc/en/class_qmenu.txt
  * contrib/hbqt/qtgui/g/QMainWindow.cpp
  * contrib/hbqt/qtgui/g/QMenu.cpp
  * contrib/hbqt/qtgui/g/TQMainWindow.prg
  * contrib/hbqt/qtgui/g/TQMenu.prg
    * Re-generated.

  * contrib/hbqt/qtgui/qth/QMainWindow.qth
  * contrib/hbqt/qtgui/qth/QMenu.qth
    + Implemented: many-to-one method call protocol.
2010-09-21 01:58:06 +00:00
Pritpal Bedi
7f11ef9f1a 2010-09-20 16:34 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idedocks.prg
  * contrib/hbide/idedocwriter.prg
  * contrib/hbide/idefindreplace.prg
  * contrib/hbide/ideharbourhelp.prg
  * contrib/hbide/ideshortcuts.prg
  * contrib/hbide/ideskeletons.prg
    ! Adjusted for many-to-one protocol.

  * contrib/hbxbp/xbppushbutton.prg
  * contrib/hbxbp/xbpwindow.prg
    ! Adjusted for many-to-one protocol.

  * contrib/hbqt/qtgui/doc/en/class_qwidget.txt
  * contrib/hbqt/qtgui/g/QWidget.cpp
  * contrib/hbqt/qtgui/g/TQWidget.prg
    * Re-generated.

  * contrib/hbqt/qtgui/qth/QWidget.qth
    + Implemented: many-to-one method call protocol.
2010-09-20 23:34:42 +00:00
Pritpal Bedi
d7b2422ba2 2010-09-20 15:07 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* 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.
2010-09-20 22:10:17 +00:00
Viktor Szakats
b370065f9d 2010-09-20 13:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- contrib/hbqt/qtcore/g/THBEvents.prg
  + contrib/hbqt/qtcore/g/THBQEvents.prg
  - contrib/hbqt/qtcore/g/THBSlots.prg
  + contrib/hbqt/qtcore/g/THBQSlots.prg
    * Renamed. Missed from original commit.
2010-09-20 11:50:23 +00:00
Viktor Szakats
2a2dca2634 2010-09-20 13:47 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- contrib/hbqt/qtcore/g/THBQSlots.prg
  - contrib/hbqt/qtcore/g/THBQEvents.prg
    - Deleted. They should be renamed from old files.
2010-09-20 11:47:32 +00:00
Pritpal Bedi
2e5a774b51 2010-09-20 01:30 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* 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.
2010-09-20 08:37:19 +00:00
Pritpal Bedi
817176348a 2010-09-19 17:48 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
+ 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.
2010-09-20 00:59:45 +00:00
Viktor Szakats
4c6b95ebfb 2010-09-20 01:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    + Stop build in case a contrib build failed.
2010-09-19 23:36:31 +00:00
Viktor Szakats
9a31c0c402 2010-09-20 00:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtcore/hbqtcore.hbm
  * contrib/hbqt/qtcore/hbqtcore.hbc
  - contrib/hbqt/qtcore/hbqt_hbevents.cpp
  + contrib/hbqt/qtcore/hbqt_hbqevents.cpp
  - contrib/hbqt/qtcore/hbqt_hbslots.cpp
  + contrib/hbqt/qtcore/hbqt_hbqslots.cpp
  - contrib/hbqt/qtcore/hbqt_hbevents.h
  + contrib/hbqt/qtcore/hbqt_hbqevents.h
  - contrib/hbqt/qtcore/hbqt_hbslots.h
  + contrib/hbqt/qtcore/hbqt_hbqslots.h
  * contrib/hbqt/qtcore/g/filelist.hbm
  * contrib/hbqt/qtcore/g/hbqtcore.h
  - contrib/hbqt/qtcore/g/HBEvents.cpp
  + contrib/hbqt/qtcore/g/HBQEvents.cpp
  - contrib/hbqt/qtcore/g/HBSlots.cpp
  + contrib/hbqt/qtcore/g/HBQSlots.cpp
  - contrib/hbqt/qtcore/qth/HBEvents.qth
  + contrib/hbqt/qtcore/qth/HBQEvents.qth
  - contrib/hbqt/qtcore/qth/HBSlots.qth
  + contrib/hbqt/qtcore/qth/HBQSlots.qth
  - contrib/hbqt/qtcore/doc/en/class_hbevents.txt
  + contrib/hbqt/qtcore/doc/en/class_hbqevents.txt
  - contrib/hbqt/qtcore/doc/en/class_hbslots.txt
  + contrib/hbqt/qtcore/doc/en/class_hbqslots.txt
  * contrib/hbqt/utils/qtcore.qtp
    ! Renamed HBSLOTS -> HBQSLOTS
    ! Renamed HBEVENTS -> HBQEVENTS

  * contrib/hbqt/qtgui/hbqtgui.hbx
  * contrib/hbqt/qtcore/hbqtcore.hbx
  * contrib/hbqt/qtnetwork/hbqtnetwork.hbx
    * Regenerated after several recent changes.

  * contrib/hbqt/tests/testres.prg
  * contrib/hbqt/tests/demoqt.prg
  * contrib/hbqt/tests/dialogqt.prg
  * contrib/hbqt/tests/testbrow.prg
  * contrib/hbqt/tests/testqaim.prg
  * contrib/hbxbp/tests/demoxbp.prg
  * contrib/hbxbp/tests/dialogqt.prg
  * contrib/hbide/idemain.prg
    * Changed 'REQUEST HB_QT' -> 'REQUEST HB_QTGUI'

  * contrib/hbnetio/utils/netiosrv.prg
    ! Fixed one type prefix in constant name.
2010-09-19 23:06:54 +00:00
Pritpal Bedi
78a658a6ed * Inserted uncommitted changelog entry.
2010-09-19 11:00 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
2010-09-19 21:11:52 +00:00
Viktor Szakats
08cc50aa32 2010-09-19 21:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* 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.
2010-09-19 19:19:48 +00:00
Pritpal Bedi
aad71cac54 2010-09-19 11:00 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* 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.
2010-09-19 18:10:46 +00:00
Pritpal Bedi
434e83e6fe 2010-09-18 13:05 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt_hbslots.cpp
  * contrib/hbqt/qtcore/hbqt_hbslots.h
    + Added: signals for QApplication().
2010-09-18 20:09:57 +00:00
Viktor Szakats
f3208ac8c4 2010-09-18 10:12 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/ttopbar.prg
    ! Reverted: 2010-09-17 15:49 UTC-0800
2010-09-18 08:13:17 +00:00
Pritpal Bedi
746b73af1a 2010-09-17 19:37 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/qth/QPainter.qth
    ! Prepared: drawText() for single call protocol as :hbDrawText().
2010-09-18 02:35:36 +00:00
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