Commit Graph

15228 Commits

Author SHA1 Message Date
Viktor Szakats
eff42d47ef 2010-10-19 23:54 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbrun/hbrun.prg
    + Added support for registering/unregistering .hbs file type
      in Windows registry. Based on .reg files provided by Mindaugas
      (with modifications and unregister support). I changed the way
      defaulticon entry is made, but it still doesn't appear, maybe
      I need reboot or something. Pls test it.
      Usage (from cmdline):
        -r  - register for current user
        -ra - register for all users (requires admin rights)
        -u  - unregister for current user
        -ua - unregister for all users (requires admin rights)
      Tested on Win7 using current user only.
      NOTE: regedit (the tool used for registration) doesn't
            return errorlevels on error, so it's not possible
            to write correct feedback (so hbrun always shows
            success).
2010-10-19 21:57:43 +00:00
Viktor Szakats
76292a7b44 2010-10-19 23:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/winuni/mpkg_win_uni.bat
    ! Added .hbs files in contrib roots to unified windows
      package. In practice this means that the hbmk2 qt plugin 
      will now be shipped with standard distro.

  * utils/hbmk2/hbmk2.prg
    ! Typo in comment.
2010-10-19 21:01:46 +00:00
Pritpal Bedi
6d79ec0911 2010-10-19 09:19 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/hbqtgui.ch
    + Added: more constants.

  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
  * contrib/hbqt/qtcore/hbqt_hbqslots.h
    % Reverted: back to signals previous protocol until new is mature enough.

  * contrib/hbqt/qtcore/hbqtcore.hbx
  * contrib/hbqt/qtgui/hbqtgui.hbx
  * contrib/hbqt/qtnetwork/hbqtnetwork.hbx
  * contrib/hbqt/qtuitools/hbqtuitools.hbx
    * Re-generated.

  * contrib/hbqt/qt*/g/*.prg
    * Re-generated after effected changes in hbqtgen.prg.

  * contrib/hbqt/qtgui/qth/QMainWindow.qth
    ! More children detached.

  * contrib/hbide/idedocks.prg
    ! A small fix.

  * contrib/hbide/ideprojmanager.prg
    ! Fixed: Launching a project from main-menu was generating a RTE
      when there was no project defined, repoted by Frank.
2010-10-19 16:39:28 +00:00
Pritpal Bedi
ef88e9472a 2010-10-18 14:10 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idemisc.prg
    + Applied: patch from Viktor. Now .hbm files are available inside
      list of project files and it also become part of the .hbp if that 
      is written back on disk plus for editing purposes.
2010-10-18 21:09:27 +00:00
Przemyslaw Czerpak
6b368c695b 2010-10-18 21:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/debug/dbgwa.prg
    ! added missing REQUEST FIELDGET
    + added support for timestamp, hash and NIL values which
      can be extracted from fields in some RDDs
2010-10-18 19:35:24 +00:00
Viktor Szakats
afba30ccf8 2010-10-18 13:43 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/winuni/mpkg_win_uni.bat
  * package/winuni/mpkg_win_uni.nsi
    ! Added uic/rcc tools to install packages.
    * QT related runtime/build time files are now installed 
      unconditionally and independently from HBIDE.
2010-10-18 11:43:32 +00:00
Przemyslaw Czerpak
bd381db5d2 2010-10-18 12:18 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/compiler/hbmain.c
    ! reset function and class declaration between compiling files included
      by SET PROCEDUR TO <name> or DO <name> [ WITH <args,...> ]
      This behavior is synced with PP rules resetting.

  * harbour/contrib/xhb/xhb.hbp
    + added two .ch files

  * harbour/contrib/hbct/hbct.hbx
    * regenerated with LF EOL.
      I think that these files should be declared in SVN as using native
      EOLs
2010-10-18 10:18:38 +00:00
Pritpal Bedi
6925cdc6ad 2010-10-17 18:44 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idebrowse.prg
    % Changed: one signal to new format.

  * contrib/hbide/idemain.prg
    % Changed: instance variables to local ones.

  * contrib/hbxbp/hbpprocess.prg
    % Changed: one signal to new format.

  * contrib/hbxbp/xbpbrowse.prg
    % Changed: one signal to new format.

  * contrib/hbxbp/xbpspinbutton.prg
    ! Destroy() was misbehaving.

  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
  * contrib/hbqt/qtcore/hbqt_hbqslots.h
    + Implemented: Francesco's signal/slot mechanism over older one.
      It is a big leap forward, please cheer Francesco Perillo.

      TODO: changing signal definitions to exactly that of Qt itself.
            It is a challenging job and needs a real concentration.
2010-10-18 01:54:45 +00:00
Viktor Szakats
bf03632cc3 2010-10-18 00:57 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtgui/hbqtgui.hbx
  + contrib/hbqt/qtgui/THbQtUI.prg
  * contrib/hbqt/qtgui/hbqtgui.hbm
  * contrib/hbqt/qtuitools/hbqtuitools.hbm
  * contrib/hbqt/qtuitools/hbqtuitools.hbx
  - contrib/hbqt/qtuitools/THbQtUI.prg
  + contrib/hbqt/qtuitools/THbQtUILoader.prg
  * contrib/hbqt/hbqt_hbmk2_plugin.hbs
    + Added new HbQtUI class (with temp name HbQtUI2) which
      is light version of HbQtUI with no ties to qtuitools/uiloader
      components.
      New class is inheriting from HBQT root class, it
      contains minor optimizations and cleanups.
      It works, but it's not yet activated.
    * Moved Q__TR() to hbqtgui from hbqtuitools.
    ; TODO: Clear all TOFIX/QUESTION/TODO items in THbQtUI.prg.
            F.e. user code like hbide makes quite many direct 
            manipulations on HbQtUI internal variables. This should 
            pbly be fixed.
    ; TODO: Optimize the OnError way of doing things in HbQtUI class.
    * Renamed THbQtUI.prg to THbQtUILoader.prg in hbqtuitools.
2010-10-17 22:58:23 +00:00
Viktor Szakats
a7cbf108a1 2010-10-17 23:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbxbp/hbxbp.hbc
  * contrib/hbide/hbide.hbp
    * Moved inclusion of hbqtuitools from hbxbp to hbide.
      Dynamic QUiLoader shall only be needed if app explicitly 
      requires loading .ui/.uic files dynamically.
    ; TOFIX: Separate dynamic ui loader code from static one
             (pbly HbQtUi class needs to be split into two 
             parts)

  * contrib/hbide/idemain.prg
    + Reenabled puller code, because external scripts may need it.
2010-10-17 21:36:16 +00:00
Viktor Szakats
7df7a03209 2010-10-17 22:36 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbide/idemain.prg
    % Do not link all HBXBP classes. It's not required now that .ui
      files are compiled to .prg at build time.
      This will make hbide slightly smaller.
2010-10-17 20:36:30 +00:00
Viktor Szakats
b75a9c37b9 2010-10-17 22:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbide/idemain.prg
    % Do not link all GUI classes. It's not required now that .ui
      files are compiled to .prg at build time.
      This will make hbide slightly smaller.
2010-10-17 20:34:07 +00:00
Viktor Szakats
8a37466741 2010-10-17 21:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtuitools/hbqtuitools.hbc
    ! Typo in prev.
2010-10-17 19:35:16 +00:00
Viktor Szakats
d27942cd30 2010-10-17 21:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtuitools/hbqtuitools.hbc
    ! Fixed to include the lib itself.
2010-10-17 19:34:06 +00:00
Viktor Szakats
26de67897a 2010-10-17 20:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbxbp/hbxbp.hbc
    + Added missing hbqtuitools reference after last commit.
2010-10-17 19:10:43 +00:00
Viktor Szakats
138ee343d5 2010-10-17 16:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt.hbc
  * contrib/hbqt/hbqt_all.hbp
  + contrib/hbqt/hbqtuitools.hbc
  + contrib/hbqt/utils/QtUiTools.txt
  + contrib/hbqt/utils/qtuitools.qtp
  + contrib/hbqt/qtuitools
  + contrib/hbqt/qtuitools/hbqtuitools.hbm
  + contrib/hbqt/qtuitools/hbqtuitools.hbx
  + contrib/hbqt/qtuitools/hbqtuitools.hbp
  + contrib/hbqt/qtuitools/doc
  + contrib/hbqt/qtuitools/doc/en
  + contrib/hbqt/qtuitools/g
  + contrib/hbqt/qtuitools/THbQtUI.prg
  + contrib/hbqt/qtuitools/hbqtuitools.hbc
  + contrib/hbqt/qtuitools/qth
  + contrib/hbqt/qtuitools/qth/QUiLoader.qth
    + Added hbqtuitools lib which contains qtuitools
      dependent parts from hbqtgui (QUiLoader, HbQtUI)

  + contrib/hbqt/qtuitools/doc/en/class_quiloader.txt
  + contrib/hbqt/qtuitools/g/filelist.hbm
  + contrib/hbqt/qtuitools/g/TQUiLoader.prg
  + contrib/hbqt/qtuitools/g/hbqtuitools.h
  + contrib/hbqt/qtuitools/g/QUiLoader.cpp
  + contrib/hbqt/qtuitools/g/hbqtuitools_extern.prg
    * Generated.

  * contrib/hbqt/utils/qtgui.qtp
  * contrib/hbqt/qtgui/hbqtgui.hbx
  * contrib/hbqt/qtgui/hbqtgui.hbc
  - contrib/hbqt/qtgui/THbQtUI.prg
  * contrib/hbqt/qtgui/hbqtgui.hbm
  - contrib/hbqt/qtgui/qth/QUiLoader.qth
  * contrib/hbqt/qtgui/g/filelist.hbm
  * contrib/hbqt/qtgui/g/hbqtgui.h
  - contrib/hbqt/qtgui/g/QUiLoader.cpp
  - contrib/hbqt/qtgui/g/TQUiLoader.prg
  - contrib/hbqt/qtgui/doc/en/class_quiloader.txt
    - Deleted parts moved to hbqtuitools.
2010-10-17 14:37:38 +00:00
Viktor Szakats
0d6c3b319b 2010-10-17 16:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/winuni/mpkg_win_uni.bat
  * package/winuni/mpkg_win_uni.nsi
    * Renamed QT license file (now shows "LGPL").
    + Added uic.exe and rcc.exe to Windows unified build.
    + Added QT implibs for mingw compiler.
    ; It means that now default Windows unified package can
      be used to create QT apps without installing QT package
      separately. Please someone verify this is in compliance
      with LGPL QT license.

  * contrib/hbqt/hbqt_hbmk2_plugin.hbs
    - Removed support for compatibility setting HB_QT_MOC_BIN.
    + Will now autodetect uic/rcc/moc if present next to hbmk2
      (only on win/os2 systems). This will be the case when
      using unified Windows package. Only lightly tested.

  * contrib/hbide/idemisc.prg
  * contrib/hbide/idemain.prg
  * contrib/hbide/hbide.ch
    * Cleaned/optimized loading of UI.
    - Deleted reference to HbQtUi() so that the static lib
      QtUiTools is not required to build hbide. (it was not
      actively used anyway)

  ; TOFIX: QUiLoader class should be moved to a separated lib
           from hbqtgui.
2010-10-17 14:07:27 +00:00
Petr Chornyj
b749037bd8 2010-10-17 16:40 UTC+0200 Petr Chornyj (myorg63 at mail.ru)
* harbour/ChangeLog
    ! Fixed date in my today's commits.
2010-10-17 13:43:36 +00:00
Petr Chornyj
6f9b146516 2010-08-29 16:20 UTC+0200 Petr Chornyj (myorg63 at mail.ru)
* contrib/hbsqlit3/hbsqlit3.ch
   * contrib/hbsqlit3/hbsqlit3.c
      + Added sqlite3_compileoption_*() for diagnostics purposes.
      + Added sqlite3_limit( pDb, nId, nNewVal ) -> nOldVal
2010-10-17 13:23:42 +00:00
Petr Chornyj
5c193846de 2010-08-29 16:10 UTC+0200 Petr Chornyj (myorg63 at mail.ru)
* external/sqlite3/sqlite3.c
  * external/sqlite3/sqlite3.dif
  * external/sqlite3/sqlite3.h
  * external/sqlite3/Makefile
    * Update sqlite to 3.7.3.
2010-10-17 13:10:49 +00:00
Viktor Szakats
321a6aca4c 2010-10-17 13:18 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/utils/qtcore.qtp
    ! Reenabled recently disabled classes so that these generated
      sources will get updated (and not generate false grep hits)

  * contrib/hbqt/qtcore/hbqt_misc.prg
    - Deleted HbQtObjectHandler:from() method.
      If such object "casting" is needed, it should be added on a
      per class basis, using something like this code:
      ---
         METHOD <class>:from( oObject )
            LOCAL pPtr
            IF hbqt_isObject( oObject ) .AND. ;
               ( oObject:className == "xxx" .OR. oObject:className == "yyy" ... )
               IF hbqt_isPointer( pPtr := oObject:pPtr )
                  ::pPtr := pPtr
               ENDIF
            ELSE
               __hbqt_Error()
            ENDIF
            RETURN Self
      ---

  * contrib/hbqt/utils/hbqtgen.prg
    ! Fixed to generate doc source for classes without methods.
    - Deleted :from() references.
    - Do not generate <class>From() function anymore.
         (TODO: Need regeneration after that)

  * contrib/hbqt/utils/hbqtgen.prg
  * contrib/hbqt/qtgui/THbQtUI.prg
  * contrib/hbqt/hbqt_hbmk2_plugin.hbs
    - Deleted commented references to :from() method.

  * contrib/hbqt/qtgui/doc/*
  * contrib/hbqt/qtwebkit/doc/*
  * contrib/hbqt/qtcore/g/*
  * contrib/hbqt/qtcore/doc/*
  * contrib/hbqt/qtnetwork/doc/*
  * contrib/hbqt/qscintilla/doc/*
  * contrib/hbqt/qtdesigner/doc/*
    * Regenerated.
2010-10-17 11:34:56 +00:00
Viktor Szakats
41d9d80f5a 2010-10-17 12:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtgui/THbQtUI.prg
    * HB_ISOBJECT() -> HBQT_ISOBJECT()

  * contrib/hbqt/qtcore/hbqt_pointer.cpp
  * contrib/hbqt/qtcore/hbqtcore.hbx
  * contrib/hbqt/qtcore/hbqt_misc.prg
    * __HBQT_ISVALIDPOINTER() -> __HBQT_ISPOINTER()

  * contrib/hbqt/qtcore/hbqt_misc.prg
    + :from() changed to only accept HBQT objects and else RTE.
    * Updated notes.
    * Renamed :pSlots -> :__pSlots
    * Renamed :pEvents -> :__pEvents
    + Made :pSlots and :pEvents PROTECTED.
    + Added TODO to rename :pPtr to :__pPtr.
    ; Pls test.

  * contrib/hbqt/tests/dialogqt.prg
    * Cleanups (:new(), :pptr). No testing made.
2010-10-17 10:58:55 +00:00
Pritpal Bedi
c7106b2103 2010-10-16 19:24 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt_misc.prg
    ! hbqt_ptr() => __hbqt_ptr()

  * contrib/hbqt/qtcore/hbqt_pointer.cpp
    - Deleted: HBQT_PTR()

  * contrib/hbqt/qt*/g/*.prg
    * Re-generated.
2010-10-17 02:53:16 +00:00
Viktor Szakats
8db3fa77a4 2010-10-17 01:38 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtcore/hbqt_pointer.cpp
  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
  * contrib/hbqt/qtcore/hbqt_hbqevents.cpp
  * contrib/hbqt/qtcore/hbqt_misc.prg
  * contrib/hbqt/utils/hbqtgen.prg
    * Renamed HBQT_PTR() -> __HBQT_PTR().
      (HBQT_PTR() still present and can be renamed once sources were regenerated)
    * Renamed QT_[SLOTS|EVENTS]_*() -> __HBQT_[SLOTS|EVENTS]_*()
      This also fixes the problem where these were missing from .hbx file.
    * Renamed HBQT_ERROR() -> __HBQT_ERROR().
    + Added NOTE about contradiction where :hasValidPointer() will never
      return .T. for valid objects created with <class>FromPointer() call.
      Another reason to drop this object instantiation method.
    + Added more TODO/NOTE/TOFIX text.

  * contrib/hbqt/qtcore/hbqtcore.hbx
  * contrib/hbqt/qtnetwork/hbqtnetwork.hbx
    * Refreshed.

  * contrib/hbqt/tests/dialogqt.prg
  * contrib/hbide/plugins/hbide_script_qtgui.hbs
    * QT_[SLOTS|EVENTS]_*() -> __HBQT_[SLOTS|EVENTS]_*()
    ; QUESTION: Should these examples changed to use :connect()/:disconnect()?
2010-10-16 23:48:40 +00:00
Pritpal Bedi
99c8573458 2010-10-16 14:36 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt_misc.prg
    ! Adopted: HB_*Class:from( pPtr ) => *ClassFromPointer( pPtr ).

  * contrib/hbqt/hbqt_hbmk2_plugin.hbs
  * contrib/hbqt/qtgui/THbQtUI.prg
    ! Minor optimization.

  * contrib/hbqt/tests/testbrow.prg
    ! Adopted: HB_*Class:from( pPtr ) => *ClassFromPointer( pPtr ).

  * contrib/hbqt/utils/hbqtgen.prg
    + Implemented: HB_*Class:from( pPtr ) => *ClassFromPointer( pPtr ).

  * contrib/hbqt/qtcore/g/*.prg
  * contrib/hbqt/qtgui/g/*.prg
  * contrib/hbqt/qtnetwork/g/*.prg
  * contrib/hbqt/qtwebkit/g/*.prg
    * Re-generated.

  * contrib/hbxbp/xbp3state.prg
  * contrib/hbxbp/xbpappevent.prg
  * contrib/hbxbp/xbpbrowse.prg
  * contrib/hbxbp/xbpcheckbox.prg
  * contrib/hbxbp/xbpcombobox.prg
  * contrib/hbxbp/xbpdialog.prg
  * contrib/hbxbp/xbpmenubar.prg
  * contrib/hbxbp/xbpmle.prg
  * contrib/hbxbp/xbpprinter.prg
  * contrib/hbxbp/xbppushbutton.prg
  * contrib/hbxbp/xbpradiobutton.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/xbpwindow.prg
    ! Adopted: HB_*Class:from( pPtr ) => *ClassFromPointer( pPtr ).

  * contrib/hbide/hbqreportsmanager.prg
  * contrib/hbide/hbqtoolbar.prg
  * contrib/hbide/idebrowse.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/idefindreplace.prg
  * contrib/hbide/ideharbourhelp.prg
  * contrib/hbide/idehome.prg
  * contrib/hbide/idemain.prg
  * contrib/hbide/idethemes.prg
    ! Adopted: HB_*Class:from( pPtr ) => *ClassFromPointer( pPtr ).

    REGRESSION(s) are possible because hbQT now does another parameter check.
2010-10-16 22:11:32 +00:00
Pritpal Bedi
afa01e8cb7 2010-10-16 10:21 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/hbqtgui.ch
    + Added: constants for QComboBox().
2010-10-16 17:26:10 +00:00
Przemyslaw Czerpak
eeb8fa3099 2010-10-16 09:26 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/ChangeLog
  * harbour/utils/Makefile
  * harbour/contrib/xhb/xhb.hbp
    * reverted my last unintentional commit
2010-10-16 07:26:17 +00:00
Przemyslaw Czerpak
a8e0d9e1eb 2010-10-16 01:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtstd/gtstd.c
    * updated to compile with WinCE

  * harbour/package/harbour.spec
    * modified to work with new HBMK2 translations

  * harbour/contrib/hbmzip/hbmzip.c
    ! fixed function order

  * harbour/contrib/hbwin/axcore.c
    * include <olectl.h>
    ! fixed buffer sizes in debug function
    * removed trailing spaces and tabs

  * harbour/contrib/hbwin/hbolesrv.c
    * include <tchar.h> - for some compilers which do not make it
      with OLE header files
2010-10-15 23:38:39 +00:00
Viktor Szakats
3ce1854189 2010-10-15 20:46 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/utils/hbqtgen.prg
    ! Fixed to pass 'uchar' where QT needs it (instead of current 'char')

    ; TOFIX: hb_parc() return value is still de-const-ed and passed 
             to QT which is 100% way to create random GPFs.
             See TOFIXes in code.

  * utils/hbmk2/hbmk2.prg
    * Formatting.
2010-10-15 18:46:57 +00:00
Pritpal Bedi
168779cd29 2010-10-15 10:29 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/ideedit.prg
    ! Minor.

  * contrib/hbide/ideprojmanager.prg
    ! Fixed: one regression : qProcess:start_1() => qProcess:start()

  * contrib/hbqt/qtgui/THbQtUI.prg
    ! Fixed: :isValidObject() => :hasValidPointer()
2010-10-15 17:32:16 +00:00
Viktor Szakats
c6715b99bd 2010-10-15 17:26 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddads/rddads.hbp
      ! Reordered lookup order for possible .dll (+ COFF .lib) location
      to fix implib generation with some ADS releases (7.x, 8.x).
2010-10-15 15:27:19 +00:00
Viktor Szakats
6eadf651ac 2010-10-15 10:01 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/utils/hbqtgen.prg
    + Changed HB_<class> class instantiation function STATIC.
    + Added <class>FromPointer() function to create class from a raw class pointer.
      (this should be eliminated ASAP)
    + Added <class>From() function to create class from another class.
      It's now simply calling :from() in base class, which is wrong
      and should be fixed for two reasons:
         - raw pointer is allowed (all such calls should be changed to <class>FromPointer())
         - no object type checking is made.

    ; NOTE: Please update HBIDE and HBXBP to use these rules:
              HB_<class>:from( ptr ) => <class>FromPointer( ptr )
              HB_<class>:from( obj ) => <class>From( obj )
2010-10-15 08:06:45 +00:00
Viktor Szakats
eec302f8b2 2010-10-15 09:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtcore/hbqt_pointer.cpp
  * contrib/hbqt/qtcore/hbqtcore.hbx
    + HBQT_ISOBJECT() will return .T. is the passed object is a HBQT one.

  * contrib/hbqt/qtcore/hbqt_misc.prg
    * :isValidObject() -> :hasValidPointer()
    + :fromPointer(): New method used solely to convert raw QT pointers
      to HBQT objects. In such case no object type checking can be done,
      so it's dangerious, thus raw pointers should eventually be eliminated
      from HBQT code and as final step this method removed.
      The method will RTE is non-pointer parameter is passed.
    + Added TODOs.
    ; TODO: Change :from() method to only allow QT object input parameter
            and RTE otherwise. At the same time :from() calls with pointer
            input should be changed to :fromPointer(). As next step :from()
            should be moved to class level and proper object type checking
            added to avoid assigning wrong QT object to HBQT object wrapper.

  * contrib/hbxbp/xbplistbox.prg
  * contrib/hbxbp/xbpwindow.prg
  * contrib/hbxbp/xbptreeview.prg
  * contrib/hbide/idefindreplace.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/hbqreportsmanager.prg
  * contrib/hbide/ideharbourhelp.prg
  * contrib/hbide/ideskeletons.prg
    * :isValidObject() -> :hasValidPointer()

  * INSTALL
    + Added OS/2 GCC link.
2010-10-15 07:54:11 +00:00
Viktor Szakats
c669471aa2 2010-10-14 20:24 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* harbour/utils/hbmk2/hbmk2.prg
    + *nix builds will now use /opt/harbour/contrib and /opt/harbour/addons
      dirs to autofind .hbc files. (if /opt/harbour dir exists)
2010-10-14 18:26:16 +00:00
Mindaugas Kavaliauskas
a1c6eb6da3 2010-10-14 16:45 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbwin/axcore.c
    ! fixed CPP compilation by using compiler macros in method calls
  * harbour/contrib/hbwin/hbwinole.h
  * harbour/contrib/hbwin/axcore.c
  * harbour/contrib/hbwin/olecore.c
    + implemented additional OLE destructors. Added Undavise() call 
      to :__hSink destructor. This fixes unresponsive OLE server app 
      behaviour after corresponding Harbour object is freed
    ; Code proposed by Przemek, some fixes applied
2010-10-14 13:46:38 +00:00
Przemyslaw Czerpak
36124d47a6 2010-10-14 08:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtstd/gtstd.c
    * updated to compile with WinCE

  * harbour/package/harbour.spec
    * modified to work with new HBMK2 translations

  * harbour/contrib/hbmzip/hbmzip.c
    ! fixed function order

  * harbour/contrib/hbwin/axcore.c
    * include <olectl.h>
    ! fixed buffer sizes in debug function
    * removed trailing spaces and tabs

  * harbour/contrib/hbwin/hbolesrv.c
    * include <tchar.h> - for some compilers which do not make it
      with OLE header files
2010-10-14 06:45:51 +00:00
Mindaugas Kavaliauskas
df744bd6ff 2010-10-14 05:45 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbwin/axcore.c
    + added support for obtaining default callback event interface.
      __AxRegisterHandler( pDisp, bHandler [, cIID ] ) parameter can be:
        - event interface ID, i.e. "{...}";
        - event interface name, ex., DWebBrowserEvents;
        - otherwise default event interface is tried to obtain.
    ; NOTE: some regresions are possible. IDispatch is not the default
      value for cIID. To force the previous behaviour, you should use 
      __AxRegisterHandler(,, "{00020420-0000-0000-C000-000000000046}"), 
      but I guess this should never be required.
    ; Don't ask me how I've wrote this code :)
  * harbour/contrib/hbwin/tests/pdfcreat.prg
    * changed to sync with new __AxRegisterHandler() behaviour
  * harbour/contrib/hbwin/tests/testole.prg
    + added new Internet Explorer test to show OLE callback events
2010-10-14 02:46:49 +00:00
Przemyslaw Czerpak
4e42f796aa 2010-10-14 00:31 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/rddads/ads1.c
    ! casting
  * harbour/utils/hbmk2/hbmk2.es_PE.po
    ! typos
2010-10-13 22:32:06 +00:00
Przemyslaw Czerpak
bdfbd4ef4f 2010-10-13 20:59 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/utils/hbmk2/hbmk2.prg
    * use "~hbmk" instead of ".hbmk" as temporary directory name in DOS
      builds to avoid problem with unsupported file names.
      TODO: for better customization we need new function:
            HB_FNameCheck( <cFileName> ) -> <lNameOK>
  * harbour/contrib/hbmzip/hbmzip.c
    ! fixed GPF when file datetime is passed as 3-rd argument to
      HB_ZipFileCreate()
    % eliminated repeated code
2010-10-13 18:59:17 +00:00
Mindaugas Kavaliauskas
34fbea1e35 2010-10-13 21:52 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/src/rtl/gtstd/gtstd.c
    * code cleanup to make some compilers happy
2010-10-13 18:53:49 +00:00
Viktor Szakats
43fc5b7abf 2010-10-13 19:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/winuni/RELNOTES
    * pgsql version.

  * contrib/xhb/hboutdbg.c
    ! Fixed missing xhb.h for public function declaration.

  * contrib/sddoci/sddoci.c
    ! Implemented fix based on Przemek's recent commit to sddpg.
                 (2010-10-04 12:43 UTC+0200)
      I made no testing, just tried to copy the method since the
      situation looked the same. Please review/test.

  + utils/hbmk2/hbmk2.es_PE.po
  * utils/hbmk2/hbmk2.hbp
    + Added Spanish translation.
      Many thanks to Guillermo Varona Silupu (GVS) for the translation
      and for making it available to Harbour.

  ; QUESTION: These are used from xhb lib, yet they are not exported
              from harbour dll. Should they be worked around in xhb
              or exported?:
                 hb_stackItem, hb_stackBaseOffset, hb_stackBaseProcOffset,
                 hb_stackWithObjectOffset
2010-10-13 17:35:01 +00:00
Mindaugas Kavaliauskas
96e589a914 2010-10-13 20:00 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbwin/tests/pdfcreat.prg
    ! fixed warning for whose who uses alternatve sample branch #if 0
  * harbour/src/rtl/gtstd/gtstd.c
    ! fixed console input pooling for Windows (you don't need to keep
      a key pressed to run application)
2010-10-13 17:01:09 +00:00
Pritpal Bedi
381f1ec178 2010-10-13 09:24 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idesaveload.prg
    ! Fixed: GPF reported by Maurizio.
2010-10-13 16:28:37 +00:00
Przemyslaw Czerpak
aabe2c9dab 2010-10-13 13:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gttrm/gttrm.c
    ! added protection against GPF when wrong parameters are
      passed to hb_gtInfo( HB_GTI_ADDKEYMAP, ... )

  * harbour/src/rtl/hbgtcore.c
    ! added protection against GPF when wrong parameters are
      passed to hb_gtAlert()

  * harbour/src/rtl/gtapi.c
    * formatting

  * harbour/src/rtl/cdpapi.c
    ! fixed return value in hb_cdpStrAsU16Len()

  * harbour/src/rdd/dbf1.c
  * harbour/src/rdd/dbffpt/dbffpt1.c
    + added support for UNICODE fields compatible with the one used
      by ADS

  * harbour/contrib/hbxbp/hbxbp.hbx
    + automatically updated

  * harbour/contrib/rddads/ads1.c
    * casting

  * harbour/doc/xhb-diff.txt
    * updated information about PRG level hb_socket*() API
    + added information about serial port support
2010-10-13 11:22:21 +00:00
Pritpal Bedi
3b7b686f85 2010-10-12 22:20 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt_misc.prg
  * contrib/hbqt/qtgui/THbQtUI.prg

  * contrib/hbxbp/xbp3state.prg
  * contrib/hbxbp/xbpbrowse.prg
  * contrib/hbxbp/xbpcheckbox.prg
  * contrib/hbxbp/xbpcombobox.prg
  * contrib/hbxbp/xbpmle.prg
  * contrib/hbxbp/xbppushbutton.prg
  * contrib/hbxbp/xbpradiobutton.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/hbide/hbqreportsmanager.prg
  * contrib/hbide/hbqtoolbar.prg
  * contrib/hbide/idebrowse.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/ideharbourhelp.prg
  * contrib/hbide/idehome.prg
  * contrib/hbide/idemain.prg
  * contrib/hbide/idethemes.prg
    % Optimized: Q*Class():from( pPtr ) => HB_Q*Class():from( pPtr )
2010-10-13 05:26:33 +00:00
Pritpal Bedi
d5180e5680 2010-10-12 18:22 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idefindreplace.prg
    ! Fixed: another regression.
2010-10-13 01:20:19 +00:00
Pritpal Bedi
15d2907bac 2010-10-11 09:05 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/ideedit.prg
    ! Fixed: a small glitch in copy operation.
      When two lines were copied, where last line was blank,
      paste operation was inserting one more blank line.
2010-10-11 16:08:23 +00:00
Pritpal Bedi
142341d434 2010-10-10 22:32 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt_hbqslots.cpp
  * contrib/hbqt/qtcore/hbqt_hbqslots.h
    - Removed: events synonymous signals, i.e., :mousePressEvent() and 
      family. These must be trapped via events interface instead of
      signals interface.

      INCOMPATIBLE: if any third party lib is using them, please update.

  * contrib/hbqt/qtgui/g/HBQTableView.cpp
  * contrib/hbqt/qtgui/g/THBQTableView.prg
  * contrib/hbqt/qtgui/hbqt_hbqtableview.cpp
  * contrib/hbqt/qtgui/hbqt_hbqtableview.h
  * contrib/hbqt/qtgui/qth/HBQTableView.qth
    - Removed: events synonymous signals.
    + Introduced: :hbSetBlock( bBlock ) method along the 
      lines of similar mechanism for other sub-classes.
      This maybe the building block for thought-of 
      sub-calling of Qt classes.

  * contrib/hbqt/qtgui/hbqtgui.ch
    + Added: HBQT_HBQTABLEVIEW_scrollContentsBy constant.

  * contrib/hbxbp/xbpappevent.prg
  * contrib/hbxbp/xbpbrowse.prg
  * contrib/hbxbp/xbpdataref.prg
  * contrib/hbxbp/xbpdialog.prg
  * contrib/hbxbp/xbpgeneric.prg
  * contrib/hbxbp/xbptabpage.prg
    ! Fixed: many artifacts which are the results of recent 
      changes in hbQT structure and implementation. New protocol
      surfaced many shortcomings in previous implementation.

  * contrib/hbide/hbqtoolbar.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/idemain.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/idesources.prg
    ! Fixed: many artifacts, specially in editing area.
      Now you may enjoy better editing experience than before.
2010-10-11 05:47:31 +00:00
Pritpal Bedi
e30041996e 2010-10-10 14:23 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbxbp/xbpfiledialog.prg
    ! Fixed: a regression bug surfaced after recent changes.
      QDialog() was not setting the focus to original widger at "close".

  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
    Fixed: "windowStateChanged(Qt::WindowStates,Qt::WindowStates)" signal parameters.

  * contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.cpp
  * contrib/hbqt/qtgui/hbqt_hbqtableview.cpp
  * contrib/hbqt/qtgui/hbqt_hbqtableview.h
    ! Minor.

  * contrib/hbqt/utils/qtgui.qtp
    + Added: new class QSortFilterProxyModel.qth
2010-10-10 21:34:18 +00:00
Pritpal Bedi
e77873cfa3 2010-10-10 13:55 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qscintilla/qth/*.qth
  * contrib/hbqt/qtcore/qth/*.qth
  * contrib/hbqt/qtdesigner/qth/*.qth
  * contrib/hbqt/qtgui/qth/*.qth
  * contrib/hbqt/qtnetwork/qth/*.qth
  * contrib/hbqt/qtwebkit/qth/*.qth
    ! Cleaned: very old constructs needed no more. Code is more readable now.
    ! Changed: copyright info.

  * contrib/hbqt/qscintilla/g/*.cpp *.prg *.txt
  * contrib/hbqt/qtcore/g/*.cpp *.prg *.txt
  * contrib/hbqt/qtdesigner/g/*.cpp *.prg *.txt
  * contrib/hbqt/qtgui/g/*.cpp *.prg *.txt
  * contrib/hbqt/qtnetwork/g/*.cpp *.prg *.txt
  * contrib/hbqt/qtwebkit/g/*.cpp *.prg *.txt
    * Re-generated, whichever are affected.

    This commit prepares .qth(s) for next overhaul for constructors.
2010-10-10 21:20:35 +00:00