Commit Graph

16715 Commits

Author SHA1 Message Date
Viktor Szakats
284e44cc11 2010-12-19 03:28 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rdd/usrrdd/rdds/arrayrdd.prg
    ! formatting and syntax cleanup
    + TOFIXes added
2011-12-19 02:28:50 +00:00
Pritpal Bedi
f505370d55 2011-12-18 17:03 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* src/rdd/usrrdd/rdds/arrayrdd.prg
    ! Just and just formatting.
    ! Compliance to -w3 switch.
2011-12-19 01:24:33 +00:00
Francesco Saverio Giudice
95e616a883 2011-12-18 19:57 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com)
* harbour/src/rdd/usrrdd/rdds/arrayrdd.prg
     * Cleaned windows xhb debug using HB_TRACE() function and removed old
        lines
  * harbour/ChangeLog
     * formatted previous log entry
2011-12-18 19:00:41 +00:00
Francesco Saverio Giudice
88c6af2a91 2011-12-18 11:19 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com)
* harbour/src/rdd/usrrdd/rdds/arrayrdd.prg
     * Added Index and Set Filter Support by Quique <quique@quiquesoft.com>. Thank you
2011-12-18 10:21:04 +00:00
Pritpal Bedi
a4e6d7fa68 2011-12-18 12:48 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/qth/QPrinter.qth
  * contrib/hbqt/qtgui/qth/QPrintPreviewDialog.qth
    * Fixed: constructors.
  * contrib/hbqt/qtcore/qth/QLibraryInfo.qth
  * contrib/hbqt/qtgui/qth/QFileSystemModel.qth
  * contrib/hbqt/qtgui/qth/QGraphicsGridLayout.qth
  * contrib/hbqt/qtgui/qth/QGraphicsLayout.qth
  * contrib/hbqt/qtgui/qth/QLineEdit.qth
  * contrib/hbqt/qtgui/qth/QPlainTextEdit.qth
  * contrib/hbqt/qtgui/qth/QWizard.qth
  * contrib/hbqt/qtwebkit/qth/QWebFrame.qth
  * contrib/hbqt/qtwebkit/qth/QWebPage.qth
    + Added: methods introduced in later versions of Qt than 4.5.3.
       Please speak-out if some are missing.

  * contrib/hbqt/hbmk2_qt.hbs
    + Implemented: Qt version dependant class and methods compilations.
       Current implementation does not generate any error for methods
       which are called in application but are not present in used
       Qt version. It can be changed to throw run-time error. 
       Classes are only compiled when version of Qt is what is intended.

    NOTE: this implemenattion opens the door to include any new classes
          and methods to existing classes no matter which version is 
          current on the users system.
2011-12-18 08:58:20 +00:00
Pritpal Bedi
e568f749c1 2011-12-15 16:38 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/gtwvg/wvgtoolb.prg
  * contrib/gtwvg/wvgwing.c
    * Fixed: WvgToolbar() was wrongly displaying toolbar buttons 
       when number was exceeding 16. Now n number of buttons can 
       be displayed.
2011-12-16 00:41:17 +00:00
Pritpal Bedi
22e96b642c 2011-12-13 17:13 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/gtwvg/wvgax.prg
  * contrib/gtwvg/wvgcheck.prg
  * contrib/gtwvg/wvgdarea.prg
  * contrib/gtwvg/wvglistb.prg
  * contrib/gtwvg/wvgpushb.prg
  * contrib/gtwvg/wvgscrlb.prg
  * contrib/gtwvg/wvgsle.prg
  * contrib/gtwvg/wvgwin.c
  * contrib/gtwvg/wvtwin.ch
    + Implemented: ::pointerFocus for WvgPushButton() and WvgCheckBox().
       This facilitates not to keep focus on push buttons after click.
    ! Fixed: focussing issues for WvgScrollBar() objects.
    + Implemented: WvgActiveXControl() for CUI hosting.

  * contrib/gtwvg/tests/demowvg.prg
  * contrib/gtwvg/tests/wvgtbrowser.prg
    + Reworked: The browser demonstration now holds Shell.Explorer.2 
       active-x control to navigate the web. Just click on "Active-X"
       check box.
    ! Fixed: navigation glitch when another control was activated 
       while the current focus has been on another GUI control.

    NOTE: this implementation is now production ready, take use of it.
2011-12-14 01:22:25 +00:00
Przemyslaw Czerpak
0c58dc31b5 2011-12-13 10:37 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rdd/dbfnsx/dbfnsx1.c
    ! fixed index header verification when index is loaded.
      In Harbour DBFNSX and DBFNTX automatically switch to different
      internal format when HB_DBFLOCK_HB64 is used. In this format
      they store in index files page numbers instead of page offsets
      what effectively increase maximal file size to 4TB (from 4GB).
2011-12-13 09:37:48 +00:00
Viktor Szakats
eee41e6a0f 2010-12-13 03:33 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/pp/hbpp.c
  * src/compiler/hbusage.c
  * contrib/hbnetio/utils/hbnetio/netiosrv.prg
  * contrib/hbnetio/utils/hbnetio/netiomgm.prg
  * contrib/hbnetio/utils/hbnetioq/netiosrq.prg
  * contrib/hbformat/utils/hbformat.prg
  * contrib/hbide/idethemes.prg
  * contrib/hbrun/hbrun.prg
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
  * utils/hbi18n/hbi18n.prg
  * utils/hbtest/hbtest.prg
  * INSTALL
    * Bumped copyright year to 2012.
2011-12-13 02:35:06 +00:00
Viktor Szakats
930ee4580e 2011-12-13 01:12 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnetio/utils/hbnetio/netiosrv.prg
  * contrib/hbnetio/utils/hbnetio/netiosvc.prg
    + use latest hbwin/wapi capabilities to install service thus
      allowing to change back the default run mode to interactive
    + install service as auto-start
    + added Windows service related option to cmdline help screen
    + display textual error msg on service related errors
    ! minor typo in an error msg
2011-12-13 00:15:18 +00:00
Pritpal Bedi
67006279a0 2011-12-12 14:01 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/gtwvg/wvgwing.c
    * Replaced: hbwin specific argument casting to local implementation.
      Maybe this fixes compilation error with BCC55, though I feel that 
      could be a result of some local modifications, reported by Jacek.
2011-12-12 22:05:05 +00:00
Viktor Szakats
368177fe06 2011-12-12 21:39 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnetio/utils/hbnetio/netiocon.prg
    ! fixed to display generic commands in console help
    + show management console commands in console help
2011-12-12 20:42:44 +00:00
Przemyslaw Czerpak
d73a26421c 2011-12-12 21:13 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/contrib/xhb/regexrpl.prg
    ! fixed hb_regexReplace()
  * harbour/doc/locks.txt
    ! typo
  * harbour/doc/Makefile
    * added locks.txt
2011-12-12 20:13:31 +00:00
Pritpal Bedi
c1c3baa7f0 2011-12-12 11:54 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/gtwvg/wvggenrc.prg
  * contrib/gtwvg/wvglistb.prg
  * contrib/gtwvg/wvgphdlr.prg
  * contrib/gtwvg/wvgsle.prg
  * contrib/gtwvg/wvgwnd.prg
    * Changed: SetAppWindow() => WvgSetAppWindow()
       To facilitate simultaneous use of GTWVG with HBXBP.
    * Fixed: the way an indivisual child was being destroyed.
       It was causing flicker and GUI loss when clicking 
       inside a control. Thanks Zoran for pointer and code example.
 
  * contrib/gtwvg/tests/demowvg.prg
  * contrib/gtwvg/tests/wvgtbrowser.prg
    * Refined: to accomodate above issues.
2011-12-12 20:02:01 +00:00
Pritpal Bedi
bd65a75bff 2011-12-10 13:52 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/gtwvg/tests/wvgtbrowser.prg
    + Extended: the way to anchor tree-view control's row-to to 
       maxrow()-1. This facilitattes that the control is automatically
       resized keeping height adjusted to tbrowse's nBottom.
2011-12-10 21:55:43 +00:00
Pritpal Bedi
da9c23d210 2011-12-10 12:57 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/gtwvg/gtwvg.c
  * contrib/gtwvg/wvgtoolb.prg
  * contrib/gtwvg/wvgtreev.prg
  * contrib/gtwvg/wvgwin.c
    ! Fixed: some focussing issues. 
       For controls spread over GT console it is important to 
       set the input focus onto console window instead of child 
       window to execute defined action.
  * contrib/gtwvg/tests/wvgtbrowser.prg
    ! Minor.
2011-12-10 21:17:38 +00:00
Pritpal Bedi
9aa7d485f0 2011-12-08 12:36 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/gtwvg/wvgwin.c
    * Optimized: string handelling.

  * contrib/gtwvg/wvtwin.ch
    + Added: few more constants.
2011-12-08 20:40:16 +00:00
Pritpal Bedi
b3af539f57 2011-12-08 12:19 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/gtwvg/gtwvg.c
    ! Fixed: Menu Key Event was being generated even on BN_CLICK
        notification for push buttons. 

  * contrib/gtwvg/wvgcheck.prg
  * contrib/gtwvg/wvglistb.prg
  * contrib/gtwvg/wvgphdlr.prg
  * contrib/gtwvg/wvgpushb.prg
  * contrib/gtwvg/wvgstatc.prg
  * contrib/gtwvg/wvgtreev.prg
  * contrib/gtwvg/wvgwnd.prg
  * contrib/gtwvg/wvtwin.ch
    * Reshuffle: of code and rationalization of conrols' WndProc callbacks.
   
  * contrib/gtwvg/tests/wvgtbrowser.prg
    ! Minor.
2011-12-08 20:25:04 +00:00
Przemyslaw Czerpak
f8ca5b43dc 2011-12-07 16:24 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/debian/changelog
  * harbour/debian/rules
    * changed version number to 3.1.0-1
    * removed HB_BUILD_DEBUG=yes
    * use 'dh_prep' instead of deprecated 'dh_clean -k'

  * harbour/src/rtl/gttrm/gttrm.c
    ! fixed my C&P typo in HB_TRACE() message

  + harbour/doc/locks.txt
    + added descirption of DBF locking schemes
2011-12-07 15:24:59 +00:00
Viktor Szakats
10766f22ef 2011-12-07 10:54 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + added the word 'binary' to 3rd party pkg requirements
    + added 'advanced' for static linking of 3rd party pkgs
2011-12-07 09:54:55 +00:00
Pritpal Bedi
9f4f656178 2011-12-06 23:28 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/gtwvg/gtwvg.hbp
    + Added: wvggenrc.prg

  * contrib/gtwvg/gtwvg.h
    + Added: structure member - PHB_ITEM pNotifierGUI

  * contrib/gtwvg/gtwvg.c
  * contrib/gtwvg/wvgwin.c
  * contrib/gtwvg/wvgwing.c

  * contrib/gtwvg/hbgtwvg.ch
    + Added: event notification - HB_GTE_ANY

  * contrib/gtwvg/wvg3stat.prg
  * contrib/gtwvg/wvgax.prg
  * contrib/gtwvg/wvgcheck.prg
  * contrib/gtwvg/wvgclass.prg
  * contrib/gtwvg/wvgcombo.prg
  * contrib/gtwvg/wvgcrt.prg
  * contrib/gtwvg/wvgcuig.c
  * contrib/gtwvg/wvgdarea.prg
  * contrib/gtwvg/wvgdatar.prg
  * contrib/gtwvg/wvgdlg.prg
  + contrib/gtwvg/wvggenrc.prg
    + Implemented: Xbase++ compliant SetAppWindow() function.
        The function simulates a WvgCRT() window from current 
        thread specific GT console if the function is called 
        without parameters and current thread has not posted 
        any application window. This facilitates hosting 
        WVG*Gui controls on pure GT invoked console.

  * contrib/gtwvg/wvghtmlv.prg
  * contrib/gtwvg/wvglistb.prg
  * contrib/gtwvg/wvgmenub.prg
  * contrib/gtwvg/wvgmle.prg
  * contrib/gtwvg/wvgpaint.prg
    + Added: WVT_GetRGBColorByString( cClipperColorString, nForeBack )
        Retrieves RGB color given the clipper color string from 
        active GT palette:
          WVT_GetRGBColorByString( "W+/GR", 0 ) => nRGBForeColor
          WVT_GetRGBColorByString( "W+/GR", 1 ) => nRGBBackColor

  * contrib/gtwvg/wvgphdlr.prg
  * contrib/gtwvg/wvgpushb.prg
  * contrib/gtwvg/wvgradio.prg
  * contrib/gtwvg/wvgscrlb.prg
  * contrib/gtwvg/wvgsle.prg
  * contrib/gtwvg/wvgstatb.prg
  * contrib/gtwvg/wvgstatc.prg
  * contrib/gtwvg/wvgsysw.prg
  * contrib/gtwvg/wvgtoolb.prg
  * contrib/gtwvg/wvgtreev.prg
  * contrib/gtwvg/wvgwnd.prg
    + Restructured: GTWVG at GUI space.
        Xbase++ compatible controls can be hosted on CUI console.
        The only requirement is that the parent of such GUI 
        controls is an object created with WvgCRT(). If there 
        is no object of type WvgCRT() is in sight, in case of a 
        pure GT invoked console, a WvgCRT() object is created and 
        current console window handle is assigned to it. This is 
        achieved through SetAppWindow() function which is called
        if a control's parent is supplied as NIL, in accordance 
        with Xbase++ documentation.


        The events assigned and executed by such controls are not 
        posted to inkey() processing, instead, are executed directly.
        Just before executing an assigned event, focus is imposed 
        on GT console and returned to GUI control after processing 
        the execution. This ensures that GT is always in focus while 
        GUI control executes an assignment.

    + Introduced: In accordance with console coordinate system, the 
        positioning and size parameters supplied at the time of 
        construction of GUI objects now support 
          aPos == { nRow, nColumn } and aSize == { nRows, nColumns } 
        protocol. This has been achieved by supplying all four values
        in negative. Thus WVG engine checks for negativity of position 
        and size values and determines that coordinate system be 
        interpreted as row/column instead of x/y(s). For example,
          WvgPushButton( , , { -10, -2 }, { -3, -10 } )
        call will render the push button at 10,2,13,12 console area
        in terms of rows and columns. These coordinates will be 
        maintained with resizing of console, etc.

        To extend this coordinate system a step further, the pos 
        and size arrays can be populated with code blocks evaluating 
        to a negative numeric value. This implimentation facilitates
        to ancor any GUI control to a specific postion always. Thus,
          WvgPushButton( , , { {|| -( maxrow()-3 ) }, -2 }, { -10, -3 } )
        will always position push button on last row-3 of the console
        no matter how many rows the console is resized to.

    + Introduced: oWVG:SetColorFG/BG() now accept clipper color string 
        and renders the corresponding RGB color of active GT palette.
        This facilitates the embedding of GUI controls on Clipper 
        complaint screen colors. Thus,
          oStatic:setColorBG( "GR*" ) 
        will render the background of text label as yellow.

      IMPORTANT: The above concepts are on the top of existing ones 
                 so no current functionality is lost.
 
  * contrib/gtwvg/tests/demowvg.prg
  * contrib/gtwvg/tests/wvgtbrowser.prg
  * contrib/gtwvg/tests/wvgutilities.prg
  * contrib/gtwvg/tests/wvgxbp.prg
    + Restructured: the code parts to demonstrate newly introduced 
        GTWVG concepts. Specialy look at main window's menu system, 
        push buttons at the bottom. Also look at 
          <Main Menu><Traditional><Browser - GTWVG - Threaded>.
        This example is reworked entirely and is a testimony to 
        GTWVG power.

        NOTE: more changes and code shifting and simplifying is 
              on the drawing board. Hopefully code will get an 
              an overhaul in coming days.
2011-12-07 09:16:14 +00:00
Przemyslaw Czerpak
8f7e9eda97 2011-12-06 11:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbrdddbf.h
    * modified DB_DBFLOCK_HB64 locking scheme
         - extended RLOCK/FLOCK area from 2^31-2 to 2^32-2
           it effectively changes maximum number of records in this
           locking scheme to 4'294'967'294
         - use COMIX like hyper locking mode
           it should increase performance
      Warning: INCOMPATIBLE!
               all applications using DB_DBFLOCK_HB64 locking mode should
               be updated - it is not safe to concurrently access the
               same files using programs compiled with older Harbour
               versions and current one.
    * renamed the following DB_DBFLOCK_* macros:
         DB_DBFLOCK_CLIP    to DB_DBFLOCK_CLIPPER
         DB_DBFLOCK_CL53    to DB_DBFLOCK_COMIX
         DB_DBFLOCK_CL53EXT to DB_DBFLOCK_HB32
    * added new locking scheme: DB_DBFLOCK_CLIPPER2
      This locking scheme is designed to replicate _real_ locking scheme
      used by Cl*pper applications linked with NTXLOCK2.OBJ
      It's different then the documented one.
    ; Now Harbour supports the following locking schemes:
         DB_DBFLOCK_CLIPPER  1 default Clipper locking scheme
         DB_DBFLOCK_COMIX    2 COMIX and CL53 DBFCDX hyper locking scheme
         DB_DBFLOCK_VFP      3 [V]FP, CL52 DBFCDX, SIx3 SIXCDX, CDXLOCK.OBJ
         DB_DBFLOCK_HB32     4 Harbour hyper locking scheme for 32bit file API
         DB_DBFLOCK_HB64     5 Harbour hyper locking scheme for 64bit file API
         DB_DBFLOCK_CLIPPER2 6 extended Clipper locking scheme NTXLOCK2.OBJ

  * harbour/include/hbrdddbf.h
  * harbour/include/hbrddntx.h
  * harbour/include/hbrddnsx.h
  * harbour/include/hbrddcdx.h
  * harbour/src/rdd/dbf1.c
  * harbour/src/rdd/dbfntx/dbfntx1.c
  * harbour/src/rdd/dbfnsx/dbfnsx1.c
  * harbour/src/rdd/dbfcdx/dbfcdx1.c
    + finished support for COMIX like hyper locking.
      This modification enables periodical switch to write locks
      by readers to eliminate starvation effect on some systems
      where many readers can completely block writer.
      By default readers use exclusive lock once per each 16 operations.
    + added optional support for delayed index write locks (flush locks)
      in hyper locking modes.
      If index RDD can use such locks then write lock can be divided into
      two parts:
         1) block writers and new readers (write lock)
         [prepare index modifications in memory]
         2) wait for old readers still active (flush lock)
         [write modifications to index file]
         [release locks]
      This mode reduces time when index is locked exclusively increasing
      reader performance and also increase writer performance because
      waiting for active readers it can prepare index modifications in
      memory.

  * harbour/src/rdd/dbfcdx/dbfcdx1.c
    + added support for delayed index write locks (flush locks) in DBFCDX

  * harbour/src/rtl/filebuf.c
    * automatically change write file locks to read locks when file is
      open in readonly mode in POSIX systems.

  * harbour/src/vm/classes.c
    * disabled inheriting of class variables values from ancestor classes
      when new class is dynamically created.
      Warning: INCOMPATIBLE!
               This modification is not backward compatible and can
               interact with some existing code which has to be updated
               for new behavior.
2011-12-06 10:42:41 +00:00
Pritpal Bedi
6ac276d2f7 2011-11-25 14:23 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/qth/QClipboard.qth
  * contrib/hbqt/qtgui/qth/QDirModel.qth
  * contrib/hbqt/qtgui/qth/QFileSystemModel.qth
    + Implemented: commented out methods returning data of type QMimeData.
2011-11-25 22:26:14 +00:00
Przemyslaw Czerpak
fba78cf0f6 2011-11-25 11:38 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/package/mpkg_rpm.sh
    ! fixed RPM _topdir detection.
      Patch created by Raphael Gozzo - many thanks.

  * harbour/INSTALL
    * added info about libraries necessary to build hbgs and hbmagic
      in Ubuntu.

  * harbour/contrib/hbmagic/hbmagic.hbx
    * added HB_MAGIC_SIMPLE (regenerated automatically)
2011-11-25 10:38:57 +00:00
Przemyslaw Czerpak
94468ee6e7 2011-11-23 19:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/package/harbour.spec
    ! removed hbclipsm which does not exists in current SVN
2011-11-23 18:05:26 +00:00
Przemyslaw Czerpak
ecb9f7fa80 2011-11-23 18:31 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/ChangeLog
    * restored ChangeLog damage by my script for automatic
      ChangeLog updating - it didn't work correctly in my new system.
2011-11-23 17:32:47 +00:00
Przemyslaw Czerpak
d8bb277c4d 2011-11-23 17:54 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
==> ChangeLog <==
2011-11-17 09:46 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/src/rtl/filebuf.c
    ! fixed silly typo in previous fix: 2011-09-02 14:03 UTC+0200
    ! fixed race condition in code emulating DOS/Windows file lock
      behavior in POSIX systems. The problem could be exploited by
      Harbour MT programs using the same files in many threads in
      more then on process. Many thanks to Zsolt for the info and
      test code example.
      [TOMERGE 3.0]
2011-11-23 16:54:49 +00:00
Viktor Szakats
0c38ab1529 2011-11-23 00:08 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbini.prg
    ! fixed HB_HKEEPORDER() usage in prev patch.
      Thx for input to Qatan and Mindaugas.
2011-11-22 23:09:03 +00:00
Viktor Szakats
5ee6af4c38 2011-11-22 18:15 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbini.prg
    + keep order of ini items.
      Patch by Qatan.
    * modified to use HB_HKEEPORDER() instead of HB_HSETORDER() 
      to be consistent along the patch and because former is the 
      native, faster synonym.
2011-11-22 17:19:20 +00:00
Pritpal Bedi
cb71a1875b 2011-11-17 10:47 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/qth/QLibraryInfo.qth
    - Deleted: QLibraryInfo::buildDate() method call.
2011-11-17 23:15:59 +00:00
Pritpal Bedi
f02efc4f69 2011-11-17 10:47 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/qth/QLibraryInfo.qth
    ! Guarded: QLibraryInfo::buildDate() to be avialble 
       only for Qt 4.6 and above. Function call stays as is, only 
       return value will be nil.
2011-11-17 18:50:37 +00:00
Przemyslaw Czerpak
4ba52ddb70 2011-11-17 09:46 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/hbwapi.h
  * harbour/contrib/hbwin/wapi_winbase.c
  * harbour/contrib/hbwin/hbwin.hbx
    + added to new WIN API wrappers:
         WAPI_QueryPerformanceCounter( @nCounter ) -> <lSuccess>
         WAPI_QueryPerformanceFrequency( @nFrequency ) -> <lSuccess>
      Warning: read in MSDN about above functions and possible
               interactions with multi CPU machines.

  * harbour/contrib/hbwin/win_misc.c
  * harbour/contrib/hbwin/hbwin.hbx
    + added new function which converts QueryPerformance counters
      to seconds:
         WIN_QPCOUNTER2SEC( nCounter ) -> <nSeconds>
      I suggest to use it to convert difference between two calls
      to WAPI_QueryPerformanceCounter(), i.e.:
         WAPI_QueryPerformanceCounter( @nCounterStart )
         [...]
         WAPI_QueryPerformanceCounter( @nCounterEnd )
         ? "total time:", ;
           WIN_QPCOUNTER2SEC( nCounterEnd - nCounterStart ), "sec."
2011-11-17 08:47:11 +00:00
Przemyslaw Czerpak
7132c43df2 2011-11-15 23:28 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbproces.c
    * added workaround for missing chroot() in OpenWatcom 1.9 linux libraries
2011-11-15 22:28:33 +00:00
Przemyslaw Czerpak
d48fad60fc 2011-11-14 13:23 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtxwc/gtxwc.c
    + added support for selecting text with mouse and coping it
      to clipboard buffer.
      By default this functionality is disabled and can be enabled by:
         hb_gtInfo( HB_GTI_SELECTCOPY, .t. )
      Marked mode is started by LEFT MOUSE button pressed with SHIFT key
      and stopped when LEFT MOUSE button is released. Selected text is
      highlight in similar way to GTWVT.
2011-11-14 12:23:40 +00:00
Przemyslaw Czerpak
59acee8c4b 2011-11-14 11:54 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtxwc/gtxwc.c
    * minor code cleanup
2011-11-14 10:54:15 +00:00
Viktor Szakats
34c3faace9 2011-11-13 11:42 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
- contrib/hbclipsm
  * contrib/hbplist
  * doc/dirstruc.txt
    - deleted local implementation of CA-Cl*pper SOURCE/SAMPLE 
      functions. Many of these have equivalents in hbct, hbmisc 
      libs and core, and some functions had implementation bugs 
      (notably ADDMONTH(), even in original Cl*pper implementation, 
      though a different one there). Simply compile original Cl*pper 
      sources to use these functions in your app or use the alternatives.
2011-11-13 10:42:47 +00:00
Przemyslaw Czerpak
7f7d2e8f04 2011-11-10 10:34 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtxwc/gtxwc.c
    ! create initial console window in fullscreen mode if user called
         hb_gtInfo( HB_GTI_ISFULLSCREEN, .T. )
      before window was created
  * harbour/tests/gtkeys.prg
    * modified to optionally test different CPs some extended GT keys
2011-11-10 09:34:55 +00:00
Przemyslaw Czerpak
0ceb3f3ee7 2011-11-09 17:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtxwc/gtxwc.c
    * return HB_GTI_RESIZEMODE_ROWS for HB_GTI_RESIZEMODE
      HB_GTI_RESIZEMODE_FONT is not supported yet by GTXWC
    + added support for HB_GTI_ISFULLSCREEN and HB_GTI_ALTENTER
      They work like in GTWVT with HB_GTI_RESIZEMODE_FONT.
      Some window managers may not support it so please test it.
    + added support for HB_K_CLOSE, HB_K_GOTFOCUS and HB_K_LOSTFOCUS
      like in GTWVT
2011-11-09 16:17:21 +00:00
Przemyslaw Czerpak
5aa8fdd71d 2011-11-08 20:08 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbct/blank.c
    + added support for timestamp values in BLANK() function
2011-11-08 19:08:25 +00:00
Przemyslaw Czerpak
065818dc1a 2011-11-08 19:53 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtxwc/gtxwc.c
    + added support for 'Root' input context for systems where
      XLib supports Xutf8LookupString()
      It should resolve problems with national characters and
      some local signs supported by different keyboards
      (i.e. 1/2, euro sign, itp.)
      Please test it with different systems.
2011-11-08 18:53:29 +00:00
Przemyslaw Czerpak
952e2dde43 2011-11-08 12:38 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbdefs.h
    ! fixed HB_STRICT_ALIGNMENT setting.
      Now it's enabled for all non x86[_64] CPUs.
2011-11-08 11:38:44 +00:00
Przemyslaw Czerpak
c779d18252 2011-11-08 12:29 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtxwc/gtxwc.h
  * harbour/src/rtl/gtxwc/gtxwc.c
    * minor code cleanup

  * harbour/src/rtl/gttrm/gttrm.c
    + added support for HB_GTI_WINTITLE for XTerm compatible terminals
2011-11-08 11:29:25 +00:00
Pritpal Bedi
52a112c016 ! Forget to add in previous commit. 2011-11-07 23:36:15 +00:00
Pritpal Bedi
a25867296a 2011-11-07 15:23 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/hbqtgui.ch
    + Added: QAbstractSpinBox_* constants, extracted by Luiqi Ferraris.
2011-11-07 23:24:51 +00:00
Pritpal Bedi
75a86484b0 2011-11-03 15:24 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/ideedit.prg
    + Implemented: F3 key as "Search Next" per default key for 
                   next search of previous string on some platforms.
      NOTE: if you have mapped F3 for some other action than 
            "Search Next" action will be ceased.
2011-11-03 22:28:53 +00:00
Przemyslaw Czerpak
e3efbb6652 2011-10-30 01:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbdyn.c
    * added dummy assignment to pacify warning

  * harbour/src/rtl/hbsocket.c
    * added workaround for EREFUSED == ECONNREFUSED.
      It has to be tested with different OS-es
2011-10-29 23:35:28 +00:00
Viktor Szakats
09a69be3c5 2011-10-29 01:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbziparc/ziparc.prg
    % minor optimization to last change. checkme.

  - contrib/hbxlsxml
  + examples/hbxlsxml
    ! moved to examples. this code is not even close 
      to Harbour code quality and implements not .xls 
      file format but HTML format renamed to .xls. It's 
      not understood by lots of tools, it's not a standard.
      see details on list.
2011-10-28 23:53:51 +00:00
Pritpal Bedi
e476b0a6bf 2011-10-28 15:03 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbxlsxml/xlsxml.prg
    * Fixed: a last moment introduced element.
2011-10-28 22:05:33 +00:00
Pritpal Bedi
ac88e1f119 2011-10-28 11:23 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
+ contrib/hbxlsxml
  + contrib/hbxlsxml/hbxlsxml.hbp
  + contrib/hbxlsxml/xlsxml.prg
  + contrib/hbxlsxml/xlsxml_s.prg
  + contrib/hbxlsxml/xlsxml_y.prg
    + Added: Fausto Di Creddo Trautwein's XML compliant interface 
             to generate native  files for Microsoft's Excel. The work 
             is based on Robert F Greer's PHP based interface. 
             Thanks to both of them.

  + contrib/hbxlsxml/tests
  + contrib/hbxlsxml/tests/example.prg
  + contrib/hbxlsxml/tests/example2.prg
  + contrib/hbxlsxml/tests/example3.prg
  + contrib/hbxlsxml/tests/hbmk.hbm
    + Added: user test code based on above library written by Fausto Di Creddo.

    ; NOTES: As I have found this library quite useful it is placed in 
             contrib section instead of in examples.

             I have simply formatted sources to Harbour standards tweaking 
             something here and there only. The sources have the potential 
             to further optimize, but as in its current state itself, 
             it is robust.
2011-10-28 18:34:39 +00:00
Viktor Szakats
0a4bccada8 2011-10-28 01:26 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/tget.prg
    ! fixed RTE when setting :picture to NIL for
      N and C types in some certain rare circumstantances.
      The :picture setting operation is ignored in such case, 
      since the internally stored original value is not known.
      Tested OK against CA-Cl*pper 5.3, though maybe it's 
      possible to refine this even further with more test cases.

  * tests/rto_get.prg
    + added test case for RTE reported by Quique
    ! fixed warnings
2011-10-27 23:30:35 +00:00