Commit Graph

15904 Commits

Author SHA1 Message Date
Pritpal Bedi
02caeed65a 2010-10-02 23:18 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/g/filelist.hbm
  * contrib/hbqt/utils/qtcore.qtp
    ! Commented out not ready classes.
2010-10-03 06:28:41 +00:00
Pritpal Bedi
c8063b7f8b 2010-10-02 17:34 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/hbqreportsmanager.prg
  * contrib/hbide/idebrowse.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/idefindreplace.prg
  * contrib/hbide/idefunctions.prg
  * contrib/hbide/ideharbourhelp.prg
  * contrib/hbide/idemain.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/idesaveload.prg
  * contrib/hbide/ideshortcuts.prg
  * contrib/hbide/idethemes.prg
  * contrib/hbide/idetools.prg

  * contrib/hbqt/hbqt_hbmk2_plugin.hbs

  * contrib/hbqt/qtcore/hbqt.h
  * contrib/hbqt/qtcore/hbqt_misc.prg
  * contrib/hbqt/qtcore/hbqt_pointer.cpp
  * contrib/hbqt/qtcore/qth/HBQEvents.qth
  * contrib/hbqt/qtcore/qth/HBQSlots.qth
  * contrib/hbqt/qtcore/qth/HBQString.qth
  * contrib/hbqt/qtcore/qth/QAbstractEventDispatcher.qth
  * contrib/hbqt/qtcore/qth/QAbstractItemModel.qth
  * contrib/hbqt/qtcore/qth/QMetaObject.qth
  * contrib/hbqt/qtcore/qth/QMetaType.qth

  * contrib/hbqt/qtgui/qth/QBitmap.qth
  * contrib/hbqt/qtgui/qth/QBrush.qth
  * contrib/hbqt/qtgui/qth/QColor.qth
  * contrib/hbqt/qtgui/qth/QComboBox.qth
  * contrib/hbqt/qtgui/qth/QWidget.qth

  * contrib/hbqt/qtgui/THbQtUI.prg

  * contrib/hbxbp/xbpbrowse.prg
  * contrib/hbxbp/xbpdialog.prg
  * contrib/hbxbp/xbplistbox.prg
  * contrib/hbxbp/xbprtf.prg
  * contrib/hbxbp/xbptabpage.prg
  * contrib/hbxbp/xbptreeview.prg

  * contrib/hbqt/utils/hbqtgen.prg
    ! Changed: massively to produce optimized and 0 fault 
      tolerant code.

  * contrib/hbqt/qt*/*.cpp, *.prg, *.txt
    * Re-generated, whichever fall into above changes.

    This commit addresses a lot of issues:
      1. Parameters checking is now mandatory. You have to supply 
         the correct number of parameters. No defaults are assumed.
         PLUS you need to supply correct type of parameter.

      2. PRG class representation is changed.
         Now you can get fairly good documentation from looking 
         at the class declaration. You will never have to refer 
         the method body which has no meaning as such.
         Here is a snippet:

   METHOD  itemAbove                     // ( oQTreeWidgetItem )                               -> oQTreeWidgetItem
   METHOD  itemAt                        // ( oQPoint )                                        -> oQTreeWidgetItem
                                         // ( nX, nY )                                         -> oQTreeWidgetItem
   METHOD  itemBelow                     // ( oQTreeWidgetItem )                               -> oQTreeWidgetItem
   METHOD  itemWidget                    // ( oQTreeWidgetItem, nColumn )                      -> oQWidget
   METHOD  openPersistentEditor          // ( oQTreeWidgetItem, nColumn )                      -> NIL

         The methods with variable number and type of parameters
         are shown beneth first call.

      3. Accordingly, class_*.txt documentation is also updated. 

      4. A method call now never accepts a pointer, only an
         hbQT object. This fixes one/half of the issue - one sided.
         TODO: fix sending raw pointers to PRG code from C++ code.

         :-)) hbIDE is up and running with all its glory, no GPFs.
              Some regression would be possible but you will have 
              RTE popping up, so easily fixable.
2010-10-03 01:09:16 +00:00
Viktor Szakats
1badb86c78 2010-10-02 11:43 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added workaround for mingw compiler problem where it
      tends to leave zero byte long objects in cases when the
      build process gets (manually) aborted.
      Please check it and report any potential performace
      problems (hbmk2 needs to read the objects' size from
      the directory listing). Maybe we will need a Harbour
      function which returns both timestamp and size in one
      call.

  * contrib/hbodbc/todbc.prg
    - Deleted 'FROM HBCLASS' from class declarations.
      Thanks to Manu for the report.

  * contrib/hbxpp/dbfuncsx.prg
    + Added XPP_DBUSEAREA() which emulates non-Clipper compatible
      behavior of Xbase++ DBUSEAREA() implementation.
      Based on code and information sent by Shum

  * contrib/gtwvg/wvgwing.c
    ! Fixed compilation in newer BCC versions (6.3).
      Fix suggested by YD0DKL

  * package/winuni/mpkg_win_uni.bat
    + Added copyright msg.
2010-10-02 09:44:56 +00:00
Mindaugas Kavaliauskas
846294d34d 2010-10-01 17:24 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/sddpg/sddpg.c
    * added text field support provided by Aleksander Czajczynski with
      some changes
2010-10-01 14:26:49 +00:00
Mindaugas Kavaliauskas
01f66be9d5 2010-10-01 17:15 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbwin/tests/oletst2.vbs
    * restored unintentional commit
2010-10-01 14:17:38 +00:00
Mindaugas Kavaliauskas
1d6ad2ddfa 2010-10-01 17:07 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/rddsdd/sqlbase.c
  * harbour/contrib/sddfb/sddfb.c
  * harbour/contrib/sddmy/sddmy.c
  * harbour/contrib/sddoci/sddoci.c
  * harbour/contrib/sddodbc/sddodbc.c
  * harbour/contrib/sddpg/sddpg.c
  * harbour/contrib/sddsqlt3/sddsqlt3.c
    ! added protection agains double resource freeing in case of double 
    CLOSE method;
2010-10-01 14:08:22 +00:00
Pritpal Bedi
ff5b0ff83b 2010-09-30 10:20 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
+ contrib/hbqt/qtcore/qth/QGenericArgument.qth
  + contrib/hbqt/qtcore/qth/QGenericReturnArgument.qth
  + contrib/hbqt/qtcore/qth/QMetaClassInfo.qth
  + contrib/hbqt/qtcore/qth/QMetaEnum.qth
  + contrib/hbqt/qtcore/qth/QMetaMethod.qth
  + contrib/hbqt/qtcore/qth/QMetaObject.qth
  + contrib/hbqt/qtcore/qth/QMetaProperty.qth
  + contrib/hbqt/qtcore/qth/QMetaType.qth
    + Added: classes to manage QMetaObject() and allied.
      Still not on compilable levels.
2010-09-30 17:21:57 +00:00
Mindaugas Kavaliauskas
d956441b35 2010-09-30 17:12 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/rddsdd/sqlmix.c
    ! fixed typo
2010-09-30 14:12:27 +00:00
Viktor Szakats
82647938e3 2010-09-30 11:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
  * utils/hbrun/hbrun.rc
    * Changed to use plain number for icons, instead of 'ICONn' name 
      to ease addressing them in some situations.
    ; INCOMPATIBLE: If you used
         hb_GTInfo( HB_GTI_ICONRES, "ICONn" )
      to set app icon at runtime, change it to:
         hb_GTInfo( HB_GTI_ICONRES, n )
2010-09-30 09:52:58 +00:00
Przemyslaw Czerpak
b077128a61 2010-09-30 10:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbtrace.h
  * harbour/src/common/hbtrace.c
    + added new C function:
         int hb_tracesysout( int new_sysout )

  * harbour/src/rtl/trace.c
    + added new PRG function:
         HB_TRACESYSOUT( [ <nSysOut> | <lSysOut> ] ) -> <lPrevSysOut>
2010-09-30 08:56:04 +00:00
Pritpal Bedi
53adb15ced 2010-09-30 01:34 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/g/TQFormLayout.prg
  * contrib/hbqt/qtgui/g/TQGraphicsItem.prg
  * contrib/hbqt/qtgui/g/TQPainter.prg
  * contrib/hbqt/qtnetwork/g/TQHttp.prg
    ! Re-generated.

  * contrib/hbqt/utils/hbqtgen.prg
    ! Tweaked to generate proper SWITCH statements if multi methods
      contain more than one Q*Class objects. Only 4 classes are 
      reported to have this combination. So it will be unlikely 
      that any one will have three objects to compare with.
2010-09-30 08:39:02 +00:00
Przemyslaw Czerpak
4e55b4a133 2010-09-30 10:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/compiler/hbmain.c
    + added support to compile code not encapsulated in function using
      HB_COMPILEFROMBUF() with -n2 switch
2010-09-30 08:10:40 +00:00
Viktor Szakats
6337d56e83 2010-09-29 23:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtcore/hbqt_pointer.cpp
  * contrib/hbqt/qtcore/hbqt_misc.prg
    % Rewritten HBQT_ERROR() in C.

  * contrib/hbqt/qtcore/hbqtcore.hbx
    ! Added missing HBQT_ERROR.
2010-09-29 22:00:25 +00:00
Pritpal Bedi
14e94276d0 2010-09-29 15:00 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idebrowse.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/ideharbourhelp.prg
  * contrib/hbide/idesaveload.prg

  * contrib/hbxbp/xbplistbox.prg
  * contrib/hbxbp/xbptabpage.prg
  * contrib/hbxbp/xbptreeview.prg
    ! Removed all remaining occurances of :pPtr.
2010-09-29 21:58:32 +00:00
Viktor Szakats
7eec4df01c 2010-09-29 23:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtcore/hbqt_misc.prg
    % Optimized HbQtObjectHandler:connect() and HbQtObjectHandler:disconnect()
    ! Type in error msg text in hbqt_error()
    % Deleted unnecessary headers.

  * contrib/hbpre.hbm
    * Turned off -trace by default. You can now turn on with HB_BUILD_VERBOSE=yes
2010-09-29 21:48:50 +00:00
Mindaugas Kavaliauskas
d9cd410069 2010-09-30 00:35 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/rddsdd/sqlmix.c
    ! fixed typo in last commit
2010-09-29 21:36:51 +00:00
Mindaugas Kavaliauskas
f0e4edd30a 2010-09-30 00:33 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/rddsdd/sqlmix.c
    ! fixed typo in last commit
2010-09-29 21:34:20 +00:00
Mindaugas Kavaliauskas
247b14096b 2010-09-30 00:30 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/sddmy/sddmy.c
    * be more valgrind friendly
  * harbour/contrib/rddsdd/sqlmix.c
    ! fixed GPF bug: MIXKEY should not be reused in another tag
    ! fixed memory leak
2010-09-29 21:30:38 +00:00
Viktor Szakats
5204d4c678 2010-09-29 21:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtcore/hbqt_pointer.cpp
  * contrib/hbqt/qtcore/hbqt_misc.prg
    + Finished C implementation of HBQT_PTR().
    ; Please review.
    - Deleted old .prg implementation of HBQT_PTR().
2010-09-29 19:53:03 +00:00
Viktor Szakats
f26660f64d 2010-09-29 21:22 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtcore/hbqt.h
    ! Deleted declaration for no more existing function hbqt_pPtrFromItem().

  * contrib/hbqt/qtcore/hbqt_destruct.cpp
    % Deleted unused hbqt_gcpointerFromItem() function.
    - Deleted __HBQT_SETCODECFORCSTRINGS(), __HBQT_SETCODECFORTR() functions.

  - contrib/hbqt/qtcore/hbqt_base.cpp
  + contrib/hbqt/qtcore/hbqt_version.cpp
  - contrib/hbqt/qtcore/hbqt_destruct.cpp
  + contrib/hbqt/qtcore/hbqt_pointer.cpp
  * contrib/hbqt/qtcore/hbqtcore.hbm
    * Moved pointer related functions to hbqt_destruct.cpp.
    * Renamed sources.

  * contrib/hbqt/qtcore/hbqt_base.cpp
  * contrib/hbqt/qtcore/hbqt_destruct.cpp
  * contrib/hbqt/qtcore/hbqtcore.hbx
  * contrib/hbqt/qtcore/hbqt_misc.prg
    + Renamed HBQT_ISEMPTYQTPOINTER() to __HBQT_ISVALIDPOINTER() and optimized a bit.
    + HBQT_ISEQUALGCQTPOINTER() rewritten to accept .prg level classes.
      Please test!
    + Added HBQT_PTR__() as experimental replacement for .prg version HBQT_PTR().

  * contrib/hbxbp/xbpwindow.prg
    + XbpWindow:getHWND() changed to throw RTE.

  * contrib/hbide/hbqreportsmanager.prg
    * hbqt_isEmptyQtPointer() replaced with :isValidObject() call.
2010-09-29 19:25:50 +00:00
Mindaugas Kavaliauskas
54b14ed50f 2010-09-29 21:20 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/sddodbc/sddodbc.c
    ! fixed getting of empty string value. Thanks David Monta\~no for
      bug report
    ; Please, test
2010-09-29 18:20:53 +00:00
Pritpal Bedi
bc9d41c93b 2010-09-29 10:51 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbxbp/xbp3state.prg
  * contrib/hbxbp/xbpappevent.prg
  * contrib/hbxbp/xbpbitmap.prg
  * contrib/hbxbp/xbpbrowse.prg
  * contrib/hbxbp/xbpcheckbox.prg
  * contrib/hbxbp/xbpclipboard.prg
  * contrib/hbxbp/xbpcombobox.prg
  * contrib/hbxbp/xbpdataref.prg
  * contrib/hbxbp/xbpdialog.prg
  * contrib/hbxbp/xbpfiledialog.prg
  * contrib/hbxbp/xbpfontdialog.prg
  * contrib/hbxbp/xbpgeneric.prg
  * contrib/hbxbp/xbpgra.prg
  * contrib/hbxbp/xbphtmlviewer.prg
  * contrib/hbxbp/xbplistbox.prg
  * contrib/hbxbp/xbpmenubar.prg
  * contrib/hbxbp/xbpmle.prg
  * contrib/hbxbp/xbpparthandler.prg
  * contrib/hbxbp/xbppresspace.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/xbpspinbutton.prg
  * contrib/hbxbp/xbpstatic.prg
  * contrib/hbxbp/xbpstatusbar.prg
  * contrib/hbxbp/xbpstyle.prg
  * contrib/hbxbp/xbptabpage.prg
  * contrib/hbxbp/xbptoolbar.prg
  * contrib/hbxbp/xbptreeview.prg
  * contrib/hbxbp/xbpwindow.prg
    ! Class structure re-organized.
    ! Code normalized.
    ! Copyright touched.
2010-09-29 17:58:23 +00:00
Viktor Szakats
e5e37b172b 2010-09-29 16:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* examples/dbu/dbu52.dif
  * examples/dbu/dbu53.dif
    + Patched to use available screen are for the browse.

  * examples/dbu/dbu53.dif
    ! Synced with 5.2.
2010-09-29 15:22:23 +00:00
Viktor Szakats
8555fe76d6 2010-09-29 13:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added HB_LEVEL macro.
2010-09-29 11:16:20 +00:00
Pritpal Bedi
a4d7d8c2c2 2010-09-28 22:42 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/g/QStatusBar.cpp
  * contrib/hbqt/qtgui/qth/QStatusBar.qth
    - Detached: items in two methods.

  * contrib/hbxbp/xbpcombobox.prg
  * contrib/hbxbp/xbpdialog.prg
  * contrib/hbxbp/xbplistbox.prg
  * contrib/hbxbp/xbpmenubar.prg
  * contrib/hbxbp/xbpprintdialog.prg
  * contrib/hbxbp/xbpprinter.prg
  * contrib/hbxbp/xbpsle.prg
  * contrib/hbxbp/xbpstatusbar.prg
  * contrib/hbxbp/xbptabpage.prg
  * contrib/hbxbp/xbptoolbar.prg
  * contrib/hbxbp/xbptreeview.prg
  * contrib/hbxbp/xbpwindow.prg
    - Removed: occurances of :pPtr.

  * contrib/hbide/idesaveload.prg
    - Removed: occurances of :pPtr.
    + hbqt_isEmptyQtPointer( pPtr ) => oWidget:isValidObject()

    TODO: rewrite: hbqt_isEqualGcQtPtr( pPtr, pPtr1 )
2010-09-29 05:50:34 +00:00
Pritpal Bedi
1846fdf912 2010-09-28 18:23 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
  * contrib/hbqt/qtgui/qth/QPainter.qth

  * contrib/hbide/hbqreportsmanager.prg
    ! Few optimizations.
2010-09-29 01:24:06 +00:00
Pritpal Bedi
ba5928a412 2010-09-28 17:17 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/tests/testbrow.prg
    ! Adopted to latest changes.
2010-09-29 00:14:50 +00:00
Przemyslaw Czerpak
c429bee405 2010-09-29 02:08 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapirdd.h
  * harbour/src/rdd/workarea.c
    + added new 5-th parameter with pointer to super table ID to
      <RDD>_GETFUNCTABLE() function
    + added new C function hb_rddInheritEx() which allows to retrieve
      super RDD ID during registration.
    + added new C function:
         HB_BOOL hb_rddIsDerivedFrom( HB_USHORT uiRddID,
                                      HB_USHORT uiSupperRddID );
      which returns HB_TRUE if one of uiRddID ancestors is uiSupperRddID

  * harbour/src/rdd/dbf1.c
  * harbour/src/rdd/delim1.c
  * harbour/src/rdd/sdf1.c
  * harbour/src/rdd/dbffpt/dbffpt1.c
  * harbour/src/rdd/dbfntx/dbfntx1.c
  * harbour/src/rdd/dbfnsx/dbfnsx1.c
  * harbour/src/rdd/dbfcdx/dbfcdx1.c
  * harbour/src/rdd/usrrdd/usrrdd.c
  * harbour/src/rdd/usrrdd/rdds/arrayrdd.prg
  * harbour/src/rdd/usrrdd/rdds/dbtcdx.prg
  * harbour/src/rdd/usrrdd/rdds/fptcdx.prg
  * harbour/src/rdd/usrrdd/rdds/hscdx.prg
  * harbour/src/rdd/usrrdd/rdds/vfpcdx.prg
  * harbour/src/rdd/usrrdd/rdds/logrdd.prg
  * harbour/src/rdd/usrrdd/rdds/rlcdx.prg
  * harbour/src/rdd/usrrdd/rdds/smtcdx.prg
  * harbour/contrib/rddbmcdx/bmdbfcdx.c
  * harbour/contrib/rddsql/sqlbase.c
  * harbour/contrib/rddsql/sqlmix.c
  * harbour/contrib/rddads/adsx.c
  * harbour/contrib/rddads/ads1.c
    * respect new parameter in <RDD>_GETFUNCTABLE() and use
      hb_rddInheritEx() instead of hb_rddInherit()

  * harbour/contrib/rddads/ads1.c
    * use hb_rddIsDerivedFrom() to recognize RDDs which inherits from
      one of ADS* RDDs.
      It should resolve some problems with ADS*X RDDs and help to simplify
      ADS*X RDDs code.
      Please test it and update ADS*X code removing some code which is
      not longer necessary.
2010-09-29 00:08:43 +00:00
Pritpal Bedi
f6aacb1393 2010-09-28 16:58 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbxbp/xbpbrowse.prg
  * contrib/hbxbp/xbptreeview.prg
    ! Code normalized.
2010-09-28 23:59:32 +00:00
Viktor Szakats
179a7e0e57 2010-09-28 19:26 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtcore/hbqt_base.cpp
  * contrib/hbqt/qtgui/THbQtUI.prg
    ! QT_FINDCHILD -> HBQT_FINDCHILD

  * contrib/hbqt/qtcore/hbqt_destruct.cpp
    % hbqt_gcpointerFromItem() made static.

  * contrib/hbqt/qtcore/hbqt_destruct.cpp
  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
    - Deleted unused hbqt_pPtrFromItem().
2010-09-28 17:27:00 +00:00
Pritpal Bedi
3df3d58089 2010-09-28 09:43 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtwebkit/g/TQWebSecurityOrigin.prg
  * contrib/hbqt/qtwebkit/g/TQWebSettings.prg
  * contrib/hbqt/qtwebkit/g/TQWebView.prg

  * contrib/hbide/hbqreportsmanager.prg
  * contrib/hbide/hbqtoolbar.prg
  * contrib/hbide/ideactions.prg
  * contrib/hbide/idebrowse.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/idedocwriter.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/idefindreplace.prg
  * contrib/hbide/idefunctions.prg
  * contrib/hbide/ideharbourhelp.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
    ! Adopted to latest changes.

  * contrib/hbxbp/hbpprocess.prg
  * contrib/hbxbp/xbp3state.prg
  * contrib/hbxbp/xbpappevent.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/xbphtmlviewer.prg
  * contrib/hbxbp/xbplistbox.prg
  * contrib/hbxbp/xbpmenubar.prg
  * contrib/hbxbp/xbpmle.prg
  * contrib/hbxbp/xbpprintdialog.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 latest changes.

  * contrib/hbqt/tests/demoqt.prg
    * Adopted to latest changes.

  * contrib/hbqt/utils/hbqtgen.prg
    + Implemented: many-t-one class method call on PRG level.
    
      NOTES: this implementation is a leap forward in the evolution of hbQT.
             Now any method call returns the Harbour compatible type.
             It means any Qt method call which is expected to return a 
             hbQT object was returning a pointer to the object, now returns 
             a hbQT class object instance instead.

             So, the code like this:
                qCursor := QTextCursor():from( qDoc:textCursor() )
             =>
                qCursor := qDoc:textCursor()
             And this implementation is exactly like Qt itself 
             where you can pass the return object directly as an 
             argument to the another method call.
                pw := iif( abs( ::pen():widthF() ) > 0, abs( ::pen():widthF() ), 1 )

             See hbIDE code to review how it is simplified by now.  

      WARNING: regression is highly possible and may be hbIDE become 
               unstable for some time.
              
               3rd party libraries: adopt new code to your advantage.
               Many things are incompatible now.
2010-09-28 17:03:15 +00:00
Pritpal Bedi
93fdb71f2c 2010-09-28 09:14 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/qth/QDesktopServices.qth
  * contrib/hbqt/qtgui/qth/QGraphicsScene.qth
  * contrib/hbqt/qtgui/qth/QImage.qth
  * contrib/hbqt/qtgui/qth/QPainter.qth
  * contrib/hbqt/qtgui/qth/QPainterPath.qth
  * contrib/hbqt/qtgui/qth/QPixmap.qth
    * Normalized. Pulled all c++ level constructs.

  * contrib/hbqt/qtgui/THbQtUI.prg
  * contrib/hbqt/utils/hbqtgen.prg
  * contrib/hbqt/utils/qtgui.qtp
    + Implemented: many-to-one method call resolving protocol.
    
  * contrib/hbqt/qt*/g/*.cpp, *.prg, *.txt  
    * Re-generated.

    Details follow in next commit.
2010-09-28 16:43:38 +00:00
Viktor Szakats
32e5e776c5 * src/compiler/hbusage.c
+ Added to the list of contributors:

        Carlos Bacco (carlosbacco gmail.com)
        Francesco Perillo (fperillo gmail.com)
        Istvan Bisz (istvan.bisz t-online.hu)
        Tamas Tevesz (ice extreme.hu)

      (I accept recommendation about who else should be added, 
      it's be a while I updated this list)

  * contrib/hbide/ideparseexpr.c
    % Using hb_parldef().
2010-09-28 15:51:55 +00:00
Przemyslaw Czerpak
a50c4b0baf 2010-09-28 17:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbcom.ch
    + added new error constant value: HB_COM_ERR_IO
  * harbour/src/rtl/hbcom.c
    + added translation for some important OS error code
      in *nix builds
    + added translation ERROR_TIMEOUT -> HB_COM_ERR_TIMEOUT
      in Windows build.
      TODO: check real error codes for it and also for other
            operations like opening the same port more then
            once and add valid translations
    ; TODO: add some basic trnaslation for OS2 error codes.
      HB_COM_ERR_TIMEOUT seems to be most important for portable
      programs.
2010-09-28 15:47:08 +00:00
Przemyslaw Czerpak
885664701c 2010-09-28 09:56 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbcom.c
    ! fixed typo in MS-Windows builds
2010-09-28 07:56:15 +00:00
Przemyslaw Czerpak
61854e0dda 2010-09-28 08:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbcom.ch
    * updated few comments

  * harbour/include/hbapicom.h
  * harbour/src/rtl/hbcom.c
    + added new C function:
         HB_FHANDLE hb_comGetDeviceHandle( int iPort );
    * small cleanup in OS2 flow control setting

  * harbour/src/rtl/hbcomhb.c
    + added new PRG function
         HB_COMGETDEVICEHANDLE( nPort )  --> nHandle | F_ERROR
    * modified HB_COMFLOWCONTROL() to not change existing flow control
      when 3-rd parameter is missing:
         HB_COMFLOWCONTROL( nPort, @nOldFlow [, nNewFlow] ) --> lSuccess

  * harbour/contrib/hbmzip/hbmzip.c
    ! fixed date setting in HB_ZIPFILECREATE()
2010-09-28 06:32:51 +00:00
Viktor Szakats
f43e6c2d40 2010-09-28 03:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
  * config/global.mk
  * INSTALL
    ! HB_BUILD_NAME/-build= no longer supports pathseps (backslash/fwdslash)
      (it would need costly solution to resolve compilation of 
       hbrun.rc, maybe more. It's also "cleaner" this way, since the 
       dir structure is not altered)
2010-09-28 01:54:18 +00:00
Przemyslaw Czerpak
67d08334d6 2010-09-27 19:53 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbtrace.h
  * harbour/src/common/hbtrace.c
    + added new C functions:
         int hb_traceflush( int new_flush );
         HB_BOOL hb_tracefile( const char * szFile );

  * harbour/src/rtl/trace.c
    + added new PRG functions:
         HB_TRACEFLUSH( [ <nFlush> | <lFlush> ] ) -> <lPrevFlush>
         HB_TRACEFILE( <cFileName> ) -> <lSetCorrectly>
    * modified PRG function HB_TRACESTATE() to accept logical value as
      parameter and return logical value as reult:
         HB_TRACESTATE( [ <nEnabled> | <lEnabled> ] ) -> <lPrevEnabled>
2010-09-27 17:54:05 +00:00
Przemyslaw Czerpak
22b6f601a5 2010-09-27 11:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/hbwinole.h
  * harbour/contrib/hbwin/olecore.c
    + C functions hb_oleItemGetDispatch() and hb_oleDispatchToItem() made
      public
2010-09-27 09:55:25 +00:00
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