Commit Graph

16668 Commits

Author SHA1 Message Date
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
Viktor Szakats
69e5d3a0fc 2011-10-27 19:12 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbziparc/ziparc.prg
    ! HB_ZIPFILE(): one fix to filename matching
    ! HB_UNZIPFILE(): two fixes to previous patch
    ; Patch by Grigory Filatov.
2011-10-27 17:13:03 +00:00
Viktor Szakats
02f58540b3 2011-10-27 14:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbexpat/core.c
    ! fixed two errors in conditional code for <=1.95.8 expat versions
    ! fixed buggy version checking macro
    ; Patch by Raphael. Thank you.

  * contrib/hbhpdf/hbhpdf.h
  * contrib/hbgd/gdwrp.c
    ! applied above fix to similarly wrong version checking macros.
2011-10-27 12:32:30 +00:00
Przemyslaw Czerpak
c5d0f87eb6 2011-10-27 12:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtxwc/gtxwc.h
  * harbour/src/rtl/gtxwc/gtxwc.c
    + added font independent set of custom box characters
2011-10-27 10:37:37 +00:00
Pritpal Bedi
55691b9045 2011-10-25 13:06 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqtcore.ch
    + Added: QLocale_* constants extracted by Luigi Ferraris
  * contrib/hbqt/qtgui/hbqtgui.ch
    + Added: QImage_* and QTextOption_* constants extracted by Luigi Ferraris.
2011-10-25 20:15:00 +00:00
Przemyslaw Czerpak
50613c9ce9 2011-10-25 21:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/hbwin.hbx
    + added WAPI_ADDFONTRESOURCE() and WAPI_REMOVEFONTRESOURCE()
2011-10-25 19:32:51 +00:00
Viktor Szakats
3372045d56 missing space after prev commit 2011-10-24 11:38:10 +00:00
Viktor Szakats
3262a1a8a4 2011-10-24 13:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtwin/gtwin.c
    ! Missing break clause causing following code also changes 
      console window title.
         hb_gtInfo( HB_GTI_BOXCP, hb_cdpSelect() )
      Patch by Aleksander Czajczynski
2011-10-24 11:36:12 +00:00
Viktor Szakats
596605424c 2011-10-24 01:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmysql/tmysql.prg
    ! tinyInt type in MySQL is now always regarded as numeric value (was bool)
      Patch by Mitja Podgornik.
    ; This causes unavoidable INCOMPATIBILITY. [INCOMPAT]

  * doc/howtosvn.txt
    + added INCOMPAT as new tag. Use it to mark changes which introduce
      incompatibility.
2011-10-23 23:41:31 +00:00
Viktor Szakats
0a4f8d9d64 2011-10-23 15:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbziparc/ziparc.prg
    ! HB_UNZIPFILE(): fixed counting bytes read. Please test.
2011-10-23 13:55:01 +00:00
Przemyslaw Czerpak
f61adeaef4 2011-10-22 16:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/fm.c
    ! do not enable by default DLMALLOC in WinCE builds.
      It was the source of problems reported by Jarek with file read/write
      operation in WinCE builds. Now it should work correctly - please
      make some tests with real devices - I used emulator only.

  * harbour/contrib/hbwin/wapi_wingdi_font.c
    + added WAPI_ADDFONTRESOURCE() and WAPI_REMOVEFONTRESOURCE()
2011-10-22 14:22:37 +00:00
Viktor Szakats
89703a2e2f 2011-10-21 15:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbziparc/ziparc.prg
    ! fix to prev
2011-10-21 13:52:52 +00:00
Viktor Szakats
02dbec40b8 2011-10-21 15:46 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbziparc/ziparc.prg
    + added support for HB_UNZIPFILE() lWithPath parameter
    ! fixed HB_UNZIPFILE() after latest patch and added better error checking
    ! fixed setting attribs
    ; Patch by Grigory Filatov, with these changes of mine:
      * deleted changes to existing code and replaced it with optimizated code
      * deleted reformatting of existing code
      ! fixed adding ending pathsep
      * minor simplification
    ! fixed RTE when using progress bar (from Leandro's new patch)
    ; Please test

  - contrib/hbpgsql/tests/hdbctest.prg
    - deleted HDBC/PGSQL tests
2011-10-21 13:49:12 +00:00
Przemyslaw Czerpak
bc87124922 2011-10-21 12:34 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtwvt/gtwvt.c
    ! fixed infinite recursive loops and GPF in WinCE builds caused by
      SetWindowPos()/ProcessMessages() when WM_SIZE message is processed.
      Now GTWVT can be used again in WinCE builds.
2011-10-21 10:34:40 +00:00
Przemyslaw Czerpak
a874a061ef 2011-10-20 23:06 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/compiler/hbmain.c
    ! take starting line number from PP to eliminate possible
      synchronization problem

  * harbour/src/compiler/hbcmplib.c
    ! minor fix in meta filename detecting
2011-10-20 21:06:32 +00:00
Przemyslaw Czerpak
9ec8317887 2011-10-20 22:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbpp.h
  * harbour/include/hbcomp.h
  * harbour/src/pp/ppcore.c
  * harbour/src/compiler/hbmain.c
  * harbour/src/compiler/hbcmplib.c
    + added support for setting starting line number in code compiled
      from memory buffer
    ! removed unnecessary EF_CANDEFULT flag from recently added
      compiler RTE
2011-10-20 20:04:04 +00:00
Przemyslaw Czerpak
049e9da26f 2011-10-20 20:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbpp.h
  * harbour/include/hbcomp.h
  * harbour/include/hbcompdf.h
  * harbour/src/compiler/hbmain.c
  * harbour/src/compiler/hbcomp.c
  * harbour/src/compiler/hbgenerr.c
    + added support for redirecting compiler warning and error messages
      to user function.

  * harbour/src/compiler/hbcmplib.c
    + optional support for generating RTE in HB_COMPILE*() functions
      on compile errors.
2011-10-20 18:19:19 +00:00
Viktor Szakats
f34b6c4190 2011-10-20 15:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbpgsql/hbpgsql.hbx
  * contrib/hbpgsql/hbpgsql.hbp
  - contrib/hbpgsql/hdbcpg.prg
    - Deleted HDBC class layer due references to deprecated 
      wrapper function which caused link errors in dynamic builds 
      or HDBC apps. Please readd the file if interested in making 
      this technially simple fix.

  * contrib/hbmzip/mzip.c
    % eliminated one local variable in HB_UNZIPFILEREAD()

  * contrib/hbziparc/ziparc.prg
    + HB_UNZIPFILE(): added progress bar support.
      Patch by Leandro Damasio, with following changes:
        ! refixed to use cPath when forming target filename
        ! missing hHandle declaration
        % FERASE() removed, FCREATE() will recreate it
        % Left() eliminated from FWRITE() call
        * minor symbol casing
    ; I didn't test this code, so please do it.
2011-10-20 13:22:12 +00:00
Przemyslaw Czerpak
040d5b0424 2011-10-20 12:56 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/transfrm.c
    % eliminated hb_charUpper() called for picture clauses and minor
      code optimization

  * harbour/src/rtl/gtapi.c
    ! fixed typo in function name: hb_gtBoxS() was wrongly redirected
      to HB_GTSELF_BOXD() instead of HB_GTSELF_BOXS()
2011-10-20 10:56:44 +00:00
Pritpal Bedi
6806ead529 2011-10-17 12:55 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/ideedit.prg
    ! Fixed: uppercased source names were not considered for Harbour keywords.
2011-10-17 19:59:18 +00:00
Przemyslaw Czerpak
593b446a6a 2011-10-14 10:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapicdp.h
  * harbour/src/rtl/cdpapi.c
    - removed hb_cdpchrcmp() function and HB_CDP_ISBYTESORT() macro
    + added new function:
         const HB_UCHAR * hb_cdpGetSortTab( PHB_CODEPAGE cdp );
      it returns binary sort table or NULL if given CP uses more
      complicated sorting algorithm.

  * harbour/include/hbrddcdx.h
  * harbour/src/rdd/dbfcdx/dbfcdx1.c
    % use hb_cdpGetSortTab() to take binary sort table used by WA CP
      instead of creating new one for each WA.
2011-10-14 08:43:06 +00:00
Viktor Szakats
d020e94ac5 2011-10-14 02:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* ChangeLog
    ! accented char in my prev commit
  * doc/xhb-diff.txt
    ! "sth" -> "something"
2011-10-14 00:35:46 +00:00
Pritpal Bedi
7e45342e32 2011-10-13 15:31 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqtcore.ch
    + Added: QLibraryInfo_* constants.

  * contrib/hbqt/qtcore/hbqtcore.hbx
  * contrib/hbqt/qtcore/qth/filelist.hbm
  + contrib/hbqt/qtcore/qth/QLibraryInfo.qth
    + Added: Class QLibraryInfo()
             Not tested.
2011-10-13 22:34:30 +00:00
Przemyslaw Czerpak
4bb01af068 2011-10-13 23:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/ChangeLog
    * marked patches merged with 3.0 branch
    ; I think it's time to create new 3.0.1 binaries with recent patches
2011-10-13 21:37:10 +00:00
Przemyslaw Czerpak
86e239eef6 2011-10-11 16:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/utils/hbmk2/hbmk2.prg
    * added -CP437 to BCC switches

  * harbour/contrib/hbwin/olecore.c
     * pacified warning
2011-10-11 14:54:55 +00:00
Przemyslaw Czerpak
2e4aca3032 2011-10-11 01:56 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/natmsg.c
    ! fixed typo in recent commit
2011-10-10 23:56:43 +00:00
Przemyslaw Czerpak
1725166be3 2011-10-10 20:59 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/natmsg.c
    ! modified __NATISAFFIRM() and __NATISNEGATIVE() to work with
      multibyte CPs
2011-10-10 18:59:35 +00:00
Przemyslaw Czerpak
69bfb809d4 2011-10-10 19:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapi.h
  * harbour/src/rtl/cdpapi.c
    + added new string C functions operating on current HVM CP:
         HB_BOOL hb_strIsDigit( const char * szChar );
         HB_BOOL hb_strIsAlpha( const char * szChar );
         HB_BOOL hb_strIsLower( const char * szChar );
         HB_BOOL hb_strIsUpper( const char * szChar );

  * harbour/src/rtl/is.c
    * use hb_strIs*() functions instead of hb_charIs*()

  * harbour/include/hbapi.h
  * harbour/src/vm/set.c
    + added new function to check if OS<->Harbour codepage conversion
      is enabled:
         HB_BOOL hb_osUseCP( void );

  * harbour/src/rtl/filesys.c
    * use hb_osUseCP() function

  * harbour/include/hbapicdp.h
    + added HB_CDP_ISBINSORT(cdp) and HB_CDP_ISBYTESORT(cdp) macros

  * harbour/src/vm/itemapi.c
  * harbour/src/rdd/dbfntx/dbfntx1.c
  * harbour/src/rdd/dbfnsx/dbfnsx1.c
  * harbour/src/rdd/dbfcdx/dbfcdx1.c
  * harbour/contrib/rddsql/sqlmix.c
  * harbour/contrib/rddads/adsx.c
    * use HB_CDP_IS*SORT() macros

  * harbour/src/rdd/dbfcdx/dbfcdx1.c
    % simplified hb_cdxFindBag()

  * harbour/src/rtl/hbascii.c
    ! fixed HB_ASCIIUPPER() and HB_ASCIILOWER() functions: hb_strUpper()
      was wrongly used inside both functions - probably C&P mistake
      [TOMERGE 3.0]

  * harbour/src/rdd/dbf1.c
    * updated comment
2011-10-10 17:50:44 +00:00
Przemyslaw Czerpak
9d33b0d60a 2011-10-08 00:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/rddbm/bmdbfx.c
    % simplified function used for resetting logical index position.
2011-10-07 22:31:07 +00:00
Przemyslaw Czerpak
3b8290ece9 2011-10-06 08:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/xhb/xhb.hbx
  * harbour/contrib/xhb/xhbinkey.prg
  * harbour/contrib/xhb/hbcompat.ch
    ! removed hb_ prefix from SetInkeyAfterBlock() and
      SetInkeyBeforeBlock() function names
2011-10-06 06:02:35 +00:00
Przemyslaw Czerpak
ce5750db0f 2011-10-05 23:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/pp/ppcore.c
    ! fixed problem with line numbering exploited by recent modification
      [MERGED 3.0]

  * harbour/contrib/hbwin/wapi_winuser_dlg.c
    ! fixed memory leak
      [MERGED 3.0]
2011-10-05 21:12:42 +00:00
Viktor Szakats
8822d2cd2a 2011-10-05 14:12 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/tget.prg
    ! If the cursor is located in the middle of a word, ::wordLeft() no 
      places it at the beginning of this word, the cursor jumps to the 
      previous one.
    ! If the cursor is located at the end of a word ::wordRight() no places 
      it at the beginning of the next word skipping only the spaces between 
      them, the next word is skipped entirely.
    ; Patch and description by Juan Gálvez
2011-10-05 12:13:07 +00:00
Viktor Szakats
d707da35d0 2011-10-04 23:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbthread.h
  * include/hbsetup.h
  * src/3rd/zlib/Makefile
  * utils/hbmk2/hbmk2.prg
  * config/detplat.mk
  * config/global.mk
  + config/aix
  + config/aix/libs.mk
  + config/aix/gcc.mk
  + config/aix/global.mk
    + added IBM AIX support to Harbour
      Patch by Aleksander Czajczynski
2011-10-04 22:00:25 +00:00
Viktor Szakats
373a56828b 2011-10-04 23:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* tests/testpre.prg
    ! updated for Harbour 3.1.x
      Patch by Alexey Myronenko
2011-10-04 21:52:52 +00:00
Viktor Szakats
641b6b4855 2011-10-01 19:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* ChangeLog
    * marked two patches merged with 3.0 branch

  * INSTALL
    + added aix (slipped in, but I'll leave it now)
2011-10-01 17:04:55 +00:00
Viktor Szakats
007452002c 2011-10-01 19:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* harbour/ChangeLog
    * marked two patches merged with 3.0 branch
2011-10-01 17:01:02 +00:00
Przemyslaw Czerpak
b952a22d70 2011-10-01 17:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/ChangeLog
    * marked patches merged with 3.0 branch
2011-10-01 15:47:03 +00:00
Przemyslaw Czerpak
7ad364ed15 2011-09-30 22:23 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/pp/ppcore.c
    ! fixed few problems with line numbering and code using
      extended codeblocks
      [TOMERGE 3.0]

  * harbour/src/pp/pplib2.c
    ! fixed typo in comment
2011-09-30 20:23:58 +00:00
Przemyslaw Czerpak
9dc91f2a6e 2011-09-28 21:11 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtxwc/gtxwc.h
  * harbour/src/rtl/gtxwc/gtxwc.c
    % use common buffer for different box drawing character definitions
2011-09-28 19:11:53 +00:00
Przemyslaw Czerpak
76205aef80 2011-09-28 16:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtxwc/gtxwc.h
  * harbour/src/rtl/gtxwc/gtxwc.c
    % use common buffer for different box drawing character definitions
2011-09-28 14:31:02 +00:00
Viktor Szakats
bb4446f3cf 2011-09-27 20:06 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/gtqtc/gtqtc.cpp
    ! deleted unused static function shown by new mingw version.

  * INSTALL
    * mingw 4.6.1 is OK for Harbour.
    ; I didn't test the 64-bit version in 32-bit mode, I hope
      someone will, maybe it has the float precision fixed and
      it can become recommended version for both x86 and x64
      mingw builds.
2011-09-27 18:07:23 +00:00
Viktor Szakats
b6362cb223 2011-09-27 19:20 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/winuni/RELNOTES
  * INSTALL
    * version (QT, mingw) and housekeeping (BCC and EOL-space removal) updates
2011-09-27 17:21:25 +00:00
Przemyslaw Czerpak
14f3e64398 2011-09-27 15:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtxwc/gtxwc.c
    ! fixed window activation just after SETMODE() and before any output
    ! fixed mouse methods to not activate console window but only connect
      to XServer if necessary
    ! fixed internal error reported when HB_GTI_RESIZABLE was called before
      creating console window
    % do not allocate colors in HB_GTI_PALETTE if there is no console window
2011-09-27 13:15:52 +00:00
Viktor Szakats
17421138b8 2011-09-27 15:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbcurl/core.c
    ! fixed mistake in recent adoption of libcurl 7.21.6 feature 
      CURLOPT_TRANSFER_ENCODING.
      Thanks to Itamar for the report.
2011-09-27 13:01:59 +00:00
Przemyslaw Czerpak
37986061a5 2011-09-27 09:04 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtwvt/gtwvt.c
  * harbour/src/rtl/gtxwc/gtxwc.c
    + allow to use HB_GTI_ONLINE to check if terminal window exists

  * harbour/src/rtl/gtxwc/gtxwc.c
    ! protection against possible GPF when XServer is not accessible
      and user calls HB_GTI_FONTSEL
    * do not activate terminal window by HB_GTI_FONTSEL
    * use maximal logical width of character instead of maximal size
      of character rectangle to calculate width of character cell
2011-09-27 07:04:21 +00:00
Przemyslaw Czerpak
c80c0feb2a 2011-09-26 10:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbgtcore.h
  * harbour/src/rtl/gtclip.c
    ! fixed possible random data settings by hb_gt_winapi_setClipboard()
    ! fixed possible memory leak in hb_gt_winapi_setClipboard()
    + added new C function for WIN32 builds:
      HB_BOOL hb_gt_winapi_setClipboardRaw( HB_UINT uFormat,
                                            void * pData, HB_SIZE nSize );
2011-09-26 08:57:26 +00:00
Viktor Szakats
6504378b2a 2011-09-24 11:49 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmzip/mzip.c
    ! HB_UNZIPFILEINFO(): date returned was off by one month.
      Report and fix by Juan Galvez.
2011-09-24 09:50:54 +00:00
Przemyslaw Czerpak
f312800cfb 2011-09-24 11:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbtrace.h
  * harbour/src/common/hbtrace.c
    + added new C function:
         const char * hb_tracemode( const char * szNewMode );
      it can be called with "a" or "w" parameter to set open
      mode for newly created by hb_tracefile() log files.

  * harbour/src/rtl/trace.c
    + added new PRG function:
         HB_TRACEMODE( [<cNewMode>] ) -> <cPrevMode>
2011-09-24 09:10:51 +00:00