Commit Graph

1501 Commits

Author SHA1 Message Date
Viktor Szakats
ed422e9606 2012-11-09 19:53 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rtl/hbgtcore.c
    ! indentation to prev

  * src/rtl/sha1.c
    % removed unnecessary parenthesis
2012-11-09 18:54:36 +00:00
Viktor Szakats
829d9ab965 2012-11-09 19:31 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/common/hbprintf.c
  * src/common/hbtrace.c
  * src/compiler/harbour.y
  * src/compiler/hbcmplib.c
  * src/compiler/hbmain.c
  * src/macro/macro.y
  * src/macro/macrolex.c
  * src/pp/ppcore.c
  * src/rdd/dbcmd.c
  * src/rdd/dbffpt/dbffpt1.c
  * src/rdd/hsx/hsx.c
  * src/rtl/cdpapi.c
  * src/rtl/dates.c
  * src/rtl/filebuf.c
  * src/rtl/hbcom.c
  * src/rtl/hbgtcore.c
  * src/rtl/hbi18n1.c
  * src/rtl/hbjson.c
  * src/rtl/hbsocket.c
  * src/rtl/hbstrfmt.c
  * src/rtl/hbznet.c
  * src/vm/classes.c
  * src/vm/fm.c
  * src/vm/hvm.c
  * src/vm/itemapi.c
  * src/vm/macro.c
  * src/vm/set.c
    * applied some non-space formattings and changes 
      to make it format better using uncrustify
2012-11-09 18:39:45 +00:00
Viktor Szakats
6b54d5e45d 2012-11-09 13:08 UTC+0100 Viktor Szakats (vszakats syenar.net)
* contrib/xhb/hbcompat.ch
  * contrib/xhb/htmutil.prg
  * contrib/xhb/stream.prg
  * contrib/xhb/tedit.prg
  * contrib/xhb/tfile.prg
  * contrib/xhb/tframe.prg
  * contrib/xhb/thtm.prg
  * contrib/xhb/trpc.prg
  * contrib/xhb/ttable.prg
  * contrib/xhb/xcstr.prg
  * contrib/xhb/xdbmodst.prg
  * contrib/xhb/xthrow.c
  * extras/httpsrv/modules/cookie.prg
  * extras/httpsrv/modules/info.prg
  * extras/httpsrv/modules/showcounter.prg
  * extras/httpsrv/modules/tableservletdb.prg
  * src/rdd/usrrdd/rdds/arrayrdd.prg
    * cleanups
2012-11-09 12:09:56 +00:00
Viktor Szakats
c429cc56e3 2012-11-09 02:06 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/xhb/xhw32prn.prg
    * missed from prev

  * INSTALL
    * minor

  * src/rtl/base64d.c
    * uncrustify full
2012-11-09 01:09:17 +00:00
Przemyslaw Czerpak
3cba05eca5 2012-11-08 14:59 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/rat.c
    ! fixed HB_RAT() to respect end range in the same way as in HB_AT()
    ; Warnings: 1) It's not backward compatible and may change the behavior
                   of some code which expects that ranges are not strictly
                   respected. If someone uses HB_RAT() with 4-th parameter
                   then he should check if above modification interacts with
                   his code. The modification is significant only if 1-st
                   parameter is longer then 1 character.
                2) xHarbour supports in its RAT() function 3-rd and 4-th
                   parameters but their meaning is reverted then in HB_RAT()
                   and they do not have any range checking so they are used
                   in raw form accessing any memory addresses (even out of
                   process memory area generating GPF in such case).
                   It means that also above fix is not respected and may
                   introduce the same incompatibilities in code which tires
                   to use sth like HB_RAT() with reverted 3-rd and 4-th
                   parameters to emulate xHarbour RAT().

  * harbour/src/rtl/rat.c
    % use 4-th parameter of HB_RAT() function instead of creating temporary
      substring from 2-nd parameter.

  * harbour/contrib/hbtinymt/3rd/tinymt/tinymt.hbx
    * regenerated (removed Id header)
2012-11-08 14:01:25 +00:00
Przemyslaw Czerpak
f959e934b9 2012-11-08 10:52 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/rat.c
    ! fixed HB_RAT() used with 3-rd and/or 4-th parameter and multibyte CPs

  * harbour/contrib/hbct/disk.c
    + enabled NUMDISKL() in OpenWatcom DOS builds
    % extract string length in the same STR API call instead of using
      additional hb_parclen()
    * added real protection for buffer overflow in windows version of
      TRUENAME(). I do not know if it's really necessary but without
      the code which allocates one byte bigger buffer does not make
      any sense.
    ; TOFIX: this code still uses HB_TCHAR_*() macros
2012-11-08 09:52:51 +00:00
Viktor Szakats
1706db4ab5 2012-11-07 12:29 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbformat/hbfuncs.prg
  * utils/hbmk2/hbmk2.prg
    % Use HB_DIRSCAN()

  * src/vm/fm.c
    * applied some more uncrustify fixes
2012-11-07 11:30:50 +00:00
Viktor Szakats
d34ee4d3f1 2012-11-07 11:59 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rtl/dirscan.prg
    + HB_DIRSCAN(): more strict check on parameters to avoid RTEs
    % HB_DIRSCAN(): minor optimizations

  * bin/find.hb
    % Use HB_DIRSCAN()

  * include/harbour.hbx
  * src/rtl/hbfilehi.prg
    + added HB_DIRSEPTOOS( <cDir> ) -> <cDirWithNativeDirSeps>

  * bin/find.hb
  * config/postinst.hb
  * contrib/make.hb
    * Use HB_DIRSEPTOOS() instead of locally rolled copy
2012-11-07 11:03:53 +00:00
Przemyslaw Czerpak
8ac2b89bf4 2012-11-07 03:05 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/vm/fm.c
  * harbour/src/vm/dlmalloc.c
    * updated dlmalloc to version 2.8.6

  * harbour/src/compiler/hbdead.c
    * minor
2012-11-07 02:05:32 +00:00
Viktor Szakats
0df9af0955 2012-11-06 09:33 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/macro/macrolex.c
  * src/main/harbour.c
  * src/rdd/*.c
  * src/rdd/dbfcdx/dbfcdx1.c
  * src/rdd/dbffpt/dbffpt1.c
  * src/rdd/dbfnsx/dbfnsx1.c
  * src/rdd/dbfntx/dbfntx1.c
  * src/rdd/hbsix/*.c
  * src/rdd/hsx/hsx.c
  * src/rdd/usrrdd/usrrdd.c
  * src/rtl/*.c
  * src/rtl/gt_tpl/gt_tpl.c
  * src/rtl/gtcgi/gtcgi.c
  * src/rtl/gtcrs/gtcrs.c
  * src/rtl/gtcrs/gtcrs.h
  * src/rtl/gtdos/gtdos.c
  * src/rtl/gtgui/gtgui.c
  * src/rtl/gtos2/gtos2.c
  * src/rtl/gtpca/gtpca.c
  * src/rtl/gtsln/gtsln.c
  * src/rtl/gtsln/gtsln.h
  * src/rtl/gtsln/*.c
  * src/rtl/gtstd/gtstd.c
  * src/rtl/gttrm/gttrm.c
  * src/rtl/gtwin/gtwin.c
  * src/rtl/gtwvt/gtwvt.c
  * src/rtl/gtwvt/gtwvt.h
  * src/rtl/gtxwc/gtxwc.c
  * src/rtl/gtxwc/gtxwc.h
  * src/vm/*.c
  * src/vm/maindllp/dllext.c
  * src/vm/maindllp/dllpcode.c
    * manually applied a selection of uncrustify fixes, 
      plus some manual cleanups.
      (mostly whitespace, generated code unchanged)

  * contrib/gtwvg/gtwvg.c
  * contrib/gtwvg/wvggui.c
  * contrib/hbct/ctwin.c
  * contrib/rddads/ads1.c
  * contrib/sddfb/sddfb.c
  * contrib/sddoci/sddoci.c
  * contrib/sddodbc/sddodbc.c
  * contrib/sddsqlt3/sddsqlt3.c
  * contrib/xhb/xhbcopyf.c
  * src/common/hbstr.c
  * src/compiler/*.y*
  * src/macro/macro.y*
    * more formatting cleanups
2012-11-06 08:51:53 +00:00
Viktor Szakats
9280d0634e 2012-11-06 07:32 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbtip/tests/loadhtml.prg
  * contrib/hbwin/tests/testax.prg
  * doc/gtapi.txt
  * src/rtl/mod.c
  * tests/wvtext.prg
    * minor cleanups
2012-11-06 06:33:23 +00:00
Viktor Szakats
2f285ca6c2 2012-11-05 12:32 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbamf/tests/tstendin.prg
  * contrib/hbblat/blatcls.prg
  * contrib/hbct/tests/ctwtest.prg
  * contrib/hbct/tests/token2.prg
  * contrib/hbhttpd/readme.txt
  * contrib/hbhttpd/widgets.prg
  * contrib/hbmisc/fileread.prg
  * contrib/hbmisc/hbedit.prg
  * contrib/hbmysql/diff-en.txt
  * contrib/hbmysql/diff-es.txt
  * contrib/hbmysql/tests/dbf2mysq.prg
  * contrib/hbmysql/tmysql.prg
  * contrib/hbmysql/tsqlbrw.prg
  * contrib/hbnetio/tests/netiot03.prg
  * contrib/hbnetio/tests/netiotst.prg
  * contrib/hbnf/doc/en/fttext.txt
  * contrib/hbodbc/browodbc.prg
  * contrib/hbodbc/tests/odbcdemo.prg
  * contrib/hbodbc/todbc.prg
  * contrib/hbtip/ftpcli.prg
  * contrib/hbwin/tests/olesrv1.prg
  * contrib/rddads/ads.ch
  * contrib/rddsql/readme.txt
  * contrib/sddodbc/tests/test2.prg
  * contrib/xhb/dbf2txt.c
  * contrib/xhb/hbcompat.ch
  * contrib/xhb/hblog.prg
  * contrib/xhb/html.ch
  * contrib/xhb/tfile.prg
  * contrib/xhb/tframe.prg
  * contrib/xhb/ttable.prg
  * ChangeLog
  * doc/en/dbdelim.txt
  * doc/en/dbsdf.txt
  * doc/en/rdddb.txt
  * doc/en/terminal.txt
  * extras/gtwvw/tests/wvt2wvw.ch
  * extras/httpsrv/cookie.prg
  * extras/httpsrv/modules/tableservletdb.prg
  * extras/rddado/adordd.ch
  * extras/rddado/adordd.prg
  * include/assert.ch
  * include/hbsix.ch
  * src/debug/dbgbrwsr.prg
  * src/debug/dbgtinp.prg
  * src/rdd/*.prg
  * src/rtl/*.prg
  * tests/*.prg
  * tests/rddtest/rddtst.prg
  * tests/usrrdd/exarr.prg
  * tests/usrrdd/exfcm.prg
  * utils/hbtest/hbtest.prg
    * more minor
2012-11-05 11:37:36 +00:00
Viktor Szakats
3a51126541 2012-11-05 03:23 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/gtwvg/*.prg
  * contrib/gtwvg/tests/*.prg
  * contrib/hbct/fcopy.prg
  * contrib/hbgd/gdimage.prg
  * contrib/hbhttpd/core.prg
  * contrib/hbhttpd/tests/eshop.prg
  * contrib/hbmysql/tests/test.prg
  * contrib/hbmysql/tmysql.prg
  * contrib/hbmzip/tests/*.prg
  * contrib/hbnetio/netiomt.prg
  * contrib/hbnf/popadder.prg
  * contrib/hbsqlit3/hdbcsqlt.prg
  * contrib/hbwin/tests/*.prg
  * contrib/hbwin/win_tprn.prg
  * contrib/hbxpp/tthreadx.prg
  * contrib/hbziparc/ziparc.prg
  * contrib/xhb/*.prg
  * extras/gfspell/spell.prg
  * extras/gtwvw/tests/*.prg
  * extras/guestbk/testcgi.prg
  * extras/hbvpdf/hbvpdf.prg
  * extras/hbxlsxml/*.prg
  * extras/httpsrv/*.prg
  * extras/httpsrv/modules/showcounter.prg
  * src/debug/*.prg
  * src/rdd/*.prg
  * src/rdd/hbsix/*.prg
  * src/rdd/usrrdd/rdds/*.prg
  * src/rtl/*.prg
  * tests/*.prg
  * utils/hbtest/*.prg
  * website/samples/testcgi.prg.html
    * minor
2012-11-05 02:30:07 +00:00
Viktor Szakats
19de44257f 2012-11-05 01:03 UTC+0100 Viktor Szakats (harbour syenar.net)
+ contrib/hbtip/tests/gmail.hbp
    + added hbmk2 project for gmail.prg (picked up automatically
      when using 'hbmk2 gmail' cmd)

  * config/global.mk
    ! fixed to not display 'autodetected' for HB_COMPILER
      if it's set by the user

  * contrib/hbgs/core.c
    % deleted unnecessary parenthesis

  * config/global.mk
  * utils/hbmk2/hbmk2.prg
    + added autodetection for mingw 4.7 versions

  * contrib/hbmisc/doc/en/ht_dbf.txt
    ! deleted broken and misplaced formatting tag

  * src/common/*.c
  * src/compiler/*.c
  * src/debug/*.c
  * src/nortl/*.c
  * src/pp/*.c
    * applied some uncrustify formatting
2012-11-05 00:17:26 +00:00
Viktor Szakats
f1ad3f0e97 2012-11-03 19:22 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/pp/hbpp.c
    ! bumped copyright year to 2012
2012-11-03 18:23:41 +00:00
Viktor Szakats
d8a33f2581 2012-11-02 19:47 UTC+0100 Viktor Szakats (harbour syenar.net)
* config/postinst.hb
    + compile list of all available contrib functions (into
      a file named 'hbmk2.hbr'), so hbmk2 can use it as for
      hints for libs, even if they are not built/installed on 
      the user's system.

  * utils/hbmk2/hbmk2.prg
    * tweaked the hint message for not installed packages
    ! fixed new strings not marked as translatable

  * package/winuni/mpkg_win_uni.bat
  * package/winuni/mpkg_win_uni.nsi
    * include .hbr files in winuni packages

  * contrib/xhb/xdbmodst.prg
  * contrib/xhb/xhbmemo.prg
  * contrib/hbct/disk.c
  * contrib/hbct/doc/en/dattime3.txt
  * contrib/hbct/doc/en/video.txt
  * extras/hbxlsxml/tests/*.prg
  * extras/hbxlsxml/*.prg
  * src/debug/dbgentry.c
    * minor cleanups
2012-11-02 18:52:14 +00:00
Viktor Szakats
d036f45792 2012-11-02 12:10 UTC+0100 Viktor Szakats (harbour syenar.net)
* bin/find.hb
    + added support for multiple symbols at one run, f.e.:
        hbrun bin/find PRINTERPORTTONAME HB_EOL CLEAREOL
    ! show .hbx filenames with native pathseps

  * src/rdd/dbfcdx/dbfcdx1.c
  * src/rdd/dbfnsx/dbfnsx1.c
  * src/rdd/hbsix/sxcompr.c
  * src/rtl/gtpca/gtpca.c
  * src/rtl/gtsln/gtsln.c
  * src/rtl/gttrm/gttrm.c
  * src/rtl/hblpp.c
    * 'for( ; ; )' -> '{ ;; }'
2012-11-02 11:13:03 +00:00
Viktor Szakats
175984ec71 2012-11-01 17:33 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/gtwvg/tests/demowvg.prg
  * contrib/gtwvg/tests/wvtcls.prg
  * contrib/hbct/tests/datetime.prg
  * contrib/hbmisc/hbedit.prg
  * contrib/hbnf/clrsel.prg
  * contrib/hbnf/doc/en/prtesc.txt
  * contrib/hbnf/doc/en/scregion.txt
  * contrib/hbnf/doc/en/video1.txt
  * contrib/hbnf/tests/metaph.prg
  * contrib/xhb/trpc.prg
  * src/common/hbver.c
  * src/rtl/gtchrmap.c
  * tests/dttest.prg
  * tests/mousetst.prg
  * tests/sbartest.prg
    * deleted unnecessary leading zeros from decimal numbers
    * minor formatting and cleanups in docs
    * use ANSI dates
2012-11-01 16:35:14 +00:00
Viktor Szakats
ce67d4b22e 2012-10-31 22:00 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rtl/hbadler.c
  * src/rtl/sha1.c
    * avoid ';' after {} blocks after previous modifications.
    ; Please review me
2012-10-31 21:02:34 +00:00
Viktor Szakats
00f3661e86 2012-10-31 21:22 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/gtwvg/gtwvg.c
  * contrib/gtwvg/wvggui.c
  * contrib/hbmemio/memio.c
  * contrib/hbnetio/netiocli.c
  * src/rtl/gtwvt/gtwvt.c
    * do not end macros with ';' to avoid uncrustify warning
      and wrong formatting as a consequence
    ; QUESTION: There is conditional macros having the same
                issue in hsx.c and gtxwc.c. Is the inactive branch
                still or ever needed there or can it be deleted?
2012-10-31 20:39:52 +00:00
Viktor Szakats
d59ab2ae54 2012-10-31 20:57 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/gtalleg/*.[c|h]
  * contrib/hbamf/*.[c|h]
  * contrib/hbbz2/*.[c|h]
  * contrib/hbcairo/*.[c|h]
    * uncrustified. pretty good results, without 
      any or very minimal manual touching up.

  * src/vm/classes.c
  * src/vm/dynsym.c
  * src/vm/garbage.c
    * reverted patch targeting macros ending with ';' 
      where it could cause double ';' in final source 
      when the macro is defined to an empty value.

  * src/debug/dbgentry.c
    % deleted inactive code for non-MT build mode.
2012-10-31 20:06:49 +00:00
Viktor Szakats
df2b7a9ebd 2012-10-31 13:25 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/harbour.hbx
    * fixes/changes to some function names

  * config/hb_c.cfg
    + updated to do better vertical aligment in
      structs, var declarations and assignments
    ; TODO: move this to /bin folder and add to 'install'-ed
            file list, rename to 'harbour.ucf'

  * src/debug/*.prg
  * src/rdd/*.prg
  * src/rdd/hbsix/*.prg
  * src/rdd/usrrdd/rdds/*.prg
  * src/rtl/*.prg
  * src/vm/*.prg
  * utils/hbi18n/hbi18n.prg
  * utils/hbmk2/hbmk2.prg
  * utils/hbmk2/examples/*.hb
  * contrib/hbblat/blatcls.prg
  * contrib/gtwvg/*.prg
  * contrib/gtwvg/tests/*.prg
  * contrib/hbblink/*.prg
  * contrib/hbcairo/tests/*.prg
  * contrib/hbcomm/*.prg
  * contrib/hbcomm/tests/*.prg
  * contrib/hbcups/tests/*.prg
  * contrib/hbcurl/tests/*.prg
  * contrib/hbexpat/*.prg
  * contrib/hbexpat/tests/*.prg
  * contrib/hbfbird/*.prg
  * contrib/hbfbird/tests/*.prg
  * contrib/hbfoxpro/*.prg
  * contrib/hbfship/*.prg
  * contrib/hbgd/*.prg
  * contrib/hbgd/tests/*.prg
  * contrib/hbgs/tests/*.prg
  * contrib/hbhpdf/*.prg
  * contrib/hbhpdf/tests/*.prg
  * contrib/hbhttpd/*.prg
  * contrib/hbhttpd/tests/*.prg
  * contrib/hblzf/tests/*.prg
  * contrib/hbmagic/tests/*.prg
  * contrib/hbmisc/*.prg
  * contrib/hbmisc/tests/*.prg
  * contrib/hbct/*.prg
  * contrib/hbct/tests/*.prg
  * contrib/hbmlzo/tests/*.prg
  * contrib/hbmxml/*.prg
  * contrib/hbmxml/tests/*.prg
  * contrib/hbmysql/*.prg
  * contrib/hbmysql/tests/*.prg
  * contrib/hboslib/*.prg
  * contrib/hbsms/*.prg
  * contrib/hbtinymt/tests/*.prg
  * contrib/hbtpathy/*.prg
  * contrib/hbtpathy/tests/*.prg
  * contrib/hbunix/tests/*.prg
  * contrib/hbxdiff/tests/*.prg
  * contrib/hbzebra/tests/*.prg
  * contrib/hbziparc/*.prg
  * contrib/hbziparc/tests/*.prg
  * contrib/rddads/*.prg
  * contrib/rddads/tests/*.prg
  * contrib/hbodbc/*.prg
  * contrib/hbodbc/tests/*.prg
  * contrib/hbpgsql/*.prg
  * contrib/hbpgsql/tests/*.prg
  * contrib/hbsqlit3/*.prg
  * contrib/hbsqlit3/tests/*.prg
  * contrib/hbwin/*.prg
  * contrib/hbwin/tests/*.prg
  * contrib/hbxpp/*.prg
  * contrib/hbxpp/tests/*.prg
  * contrib/hbxhb/*.prg
  * contrib/hbxhb/tests/*.prg
  * contrib/hbnetio/*.prg
  * contrib/hbnetio/utils/hbnetio/*.hb
  * contrib/hbnetio/utils/hbnetio/*.prg
  * contrib/hbtip/*.prg
  * contrib/hbtip/tests/*.prg
  * tests/usrrdd/*.prg
  * tests/funcarr.prg
  * extras/gfspell/spell.prg
  * extras/gtwvw/tests/*.prg
  * extras/guestbk/*.prg
  * extras/hbdoc/*.prg
  * extras/rddado/*.prg
  * extras/rddado/tests/*.prg
  * extras/hbxlsxml/*.prg
  * extras/httpsrv/*.prg
  * extras/httpsrv/modules/*.prg
  * extras/hbsuper/*.prg
  * extras/hbvpdf/*.prg
  * extras/hbvpdf/tests/*.prg
  * tests/*.prg (except some which are well formatted but in different/fast-typing style)
  * tests/*.hb
  * bin/*.hb
  * contrib/*.hb
  * config/*.hb
    * some manual formatting to better be able to verify
      changes made by hbformat and be friendlier with hbformat.
    * most files reformatted with hbformat using Maurizio's
      patch, with mostly minor manual corrections and verification.
      All hbformat changes for revised one-by-one.
    ! __DIR(): fixed to be unicode compatible
    ! __hbdoc_ToSource(): make sure to not generate line ending
      spaces in output.
    + hbmk2/hbrun: HBMK_WITH_GTXWC built-time option to include
      GTXWC. Useful for hbrun.
    * hbct tests: change to not use [] as string delimiter
    + added full prototypes to Array class declaration

  ; NOTE: Only these were not or not fully formatted:
          contrib/hbnetio/tests/*.prg
          tests/hbpptest/*.prg
          tests/mt/*.prg
          tests/multifnc/*.prg
          tests/rddtest/*.prg
          utils/hbmk2/hbmk2.prg (for the most part)
          src/rtl/tbrowse.prg (for the most part)
          utils/hbtest/*.prg
          *.ch, *.c, *.h

  * src/rtl/cdpapihb.c
  * src/rtl/hbadler.c
  * src/rtl/hbsocket.c
  * src/rtl/sha1.c
  * src/vm/classes.c
  * src/vm/dynsym.c
  * src/vm/garbage.c
  * src/debug/dbgentry.c
    * do not end macros with ';' to avoid uncrustify warning
      and wrong formatting as a consequence

  * src/compiler/cmdcheck.c
    * minor changes for uncrustify-friendliness

  * contrib/hbformat/utils/hbfmtcls.prg
  * contrib/hbformat/utils/hbformat.prg
    % optimizations in hbformat.prg
    ! fixed mask/filename handling to be
      multiplatform in hbformat.prg
    + added 'HBXList=' hbformat.ini parameter allowing
      to add any .hbx file for proper function name
      casing.
    ! fixed progress bar to display correctly

  * tests/speedstr.prg
    ! fixed to run as intended in unicode code
    * hbformatted

  - contrib/hbwin/tests/dlg.xml
  * contrib/hbwin/tests/dlg.rc
  - extras/gtwvw/tests/wvwtest9.xml
  + extras/gtwvw/tests/wvwtest9.mft
  * extras/gtwvw/tests/wvwtest9.rc
    * renamed manifest to have .mft extension
    % deleted unnecessary manifest
    * "Win32 API" -> "Windows API"
    ! deleted CPU arch from manifest

  * package/harb_win.mft
    * formatting

  * src/common/hbver.c
    + added version detection for win 8 and win server 2012
    * minor formatting/code cleanup

  * tests/gfx.prg
    * updated to run in script mode.
    ; TOFIX: it doesn't draw anything with GTWVT

  * tests/gfx.prg
  * tests/gtwin.prg
  * tests/gtxfnt.prg
  * tests/wvt_fs.prg
  * tests/wvtext.prg
    + support for GTXWC when run as script

  * doc/en/*.txt
  * contrib/hbct/doc/en/*.txt
  * contrib/hbgd/doc/en/*.txt
  * contrib/hbgt/doc/en/*.txt
  * contrib/hbmisc/doc/en/*.txt
  * contrib/hbnf/doc/en/*.txt
  * contrib/hbziparc/doc/en/*.txt
  * contrib/rddads/doc/en/*.txt
    ! fixed few broken tags reported by Carlos
    % deleted line ending spaces
    * some minor formatting

  * contrib/hbnf/*.c
  * contrib/hbnf/*.h
  * extras/gfspell/spellc.c
    * uncrustified with updated hb_c.cfg

  * contrib/hbnf/*.prg
  * contrib/hbnf/tests/*.prg
    * hbformatted with Mauriozo's patch.
    * a few manual corrections (avoiding #translates, using hb_ColorIndex())
      in general and to make hbformat happy.

  + contrib/hbnf/tests/menuto.prg
    + added sample code for MENU TO (adatped from docs)

  - src/rdd/dbfntx/dbfntx0.prg
    - deleted unused file with no enabled code in it

  * contrib/hbtip/tests/dbtohtml.prg
  * contrib/hbtip/tests/loadhtml.prg
  * contrib/hbtip/tests/tipmmail.prg
    * minor cleanups

  * contrib/hbtip/thtml.prg
    ! fixed typo due to s&r
    % use hb_memowrit()

  * src/rtl/tbrowse.prg
    * conditional code sorted to be hbformat friendly
    * some formatting

  * INSTALL
  * package/harbour.rb
  * package/mpkg_src_nightly.sh
  * package/mpkg_win_nightly.bat
  * package/updt_web_nightly.sh
  * website/changelog.html
  * website/faq/harbour17.html
  * website/faq/harbour27.html
  * website/index.html
  * website/menu/harbour-menu.js
    * updated repository URL to new sf.net one

  * tests/function.cfm
  * contrib/hbhttpd/tests/tpl/_main.tpl
  * contrib/hbtip/tests/tipmmail.prg
  * website/faq/*.html
  * website/samples/*.html
    * use utf-8 in html and email

  * contrib/hbrun/hbrun.hbp
    + support for HBMK_WITH_GTXWC

  * tests/rto_get.prg
  * tests/onidle.prg
  * tests/mousetst.prg
  * tests/wcecon.prg
  * tests/vmasort.prg
  - contrib/hbnf/tests/metaph.prg
    * minor cleanups

  * contrib/hbmysql/tests/test.prg
  * contrib/hbmysql/tests/dbf2mysq.prg
    % minor optimization, deleted outdated comment/line

  * src/compiler/harbour.yyc
  * src/compiler/harbour.y
    * minor formatting
2012-10-31 13:04:01 +00:00
Przemyslaw Czerpak
c94b8e5f39 2012-10-24 20:31 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/compiler/complex.c
    ! fixed lexer to correctly recognize ::msg as FOR iterator

  * harbour/include/hbexprb.c
    ! fixed compile time GPF in code like:
         QOut( @1-VAR )
2012-10-24 18:31:44 +00:00
Viktor Szakats
a0bd1cd972 2012-10-24 18:30 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbmlzo/core.c
    * LZO_ADLER32() changed to use core checksum function.
      it's equivalent to HB_ADLER32( <s>, 1 )

  * src/rtl/hbadler.c
    % hb_adler32(): applied the loop unrolling optimization 
      found in the mzlo implementation.
2012-10-24 16:31:52 +00:00
Przemyslaw Czerpak
845658b407 2012-10-24 15:35 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbexprb.c
    ! fixed typo in function IDs.
      HB_I18N_NGETTEXT_STRICT() and HB_I18N_NGETTEXT_NOOP() were not
      recognized as i18n gettext functions

  * harbour/doc/cmpopt.txt
    ! fixed HB_I18N_NGETTEXT_NOOP*() syntax used in examples

  * harbour/src/common/expropt2.c
  * harbour/doc/cmpopt.txt
    + added compile time optimizations for expressions like
         <exp> =  <lVal>
         <exp> == <lVal>
         <exp> != <lVal>
         <lVal> =  <exp>
         <lVal> == <exp>
         <lVal> != <exp>
      They are reduced to <exp> or !<exp>. Because it may disable
      some runtime errors so it's not Clipper compatible optimization
      and is enabled when -ko compiler switch is used.

  * harbour/src/compiler/hbgenerr.c
    ! do not generate some warnings like:
         Meaningless use of expression '%s'
      when -w harbour compiler option is not used

  * harbour/src/rtl/gtxwc/gtxwc.c
    ! indenting
2012-10-24 13:36:24 +00:00
Viktor Szakats
104bce9689 2012-10-24 00:18 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/hbdoc.prg
    % changed to save NFDOCs without the '*'
      prepended in each line. It was making
      editing much more difficult. Padding also
      changed to 3 chars like in every Harbour
      source.

  * contrib/hbct/doc/en/*.txt
  * contrib/hbgd/doc/en/*.txt
  * contrib/hbgt/doc/en/*.txt
  * contrib/hbmisc/doc/en/*.txt
  * contrib/hbnf/doc/en/*.txt
  * contrib/hbziparc/doc/en/*.txt
  * contrib/rddads/doc/en/*.txt
    * regenerated using hbdoc API

  * doc/en/*.txt
    * regenerated using hbdoc API
    * restored copyright headers manually

  * src/rtl/tlabel.prg
  * src/rtl/treport.prg
    ! unicode fixes (untested)
    % SubStr( x, 1, y ) -> Left( x, y )
2012-10-23 22:43:55 +00:00
Viktor Szakats
6fe841c614 2012-10-23 23:33 UTC+0200 Viktor Szakats (harbour syenar.net)
* config/detect.mk
  * contrib/hbct/print.c
  * contrib/hbnf/fttext.c
  * contrib/hbnf/n2color.c
  * contrib/hbnf/tests/clrsel.prg
  * contrib/hbnf/tests/menu1.prg
  * contrib/hbwin/win_tprn.prg
  * doc/en/browse.txt
  * doc/en/compiler.txt
  * doc/en/file.txt
  * doc/en/garbage.txt
  * doc/en/gtslang.txt
  * doc/en/idle.txt
  * doc/en/memo.txt
  * doc/en/misc.txt
  * doc/en/setmode.txt
  * doc/en/string.txt
  * doc/en/terminal.txt
  * doc/gtapi.txt
  * doc/tracing.txt
  * include/filesys.api
  * include/hbapifs.h
  * include/hbsetup.h
  * package/mpkg_win.nsi
  * package/winuni/RELNOTES
  * src/codepage/*.c
  * src/common/hbffind.c
  * src/rtl/gete.c
  * src/rtl/hbgtcore.c
  * src/rtl/isprint.c
  * src/rtl/net.c
  * src/rtl/run.c
  * src/rtl/tlabel.prg
  * src/rtl/treport.prg
  * src/vm/dynsym.c
  * tests/stripem.prg
  * tests/tstgtapi.c
    * various platform related doc cleanups
2012-10-23 21:42:07 +00:00
Viktor Szakats
cd42aa6417 2012-10-23 22:16 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbamf/hbamf.hbp
  * contrib/hbblink/hbblink.hbp
  * contrib/hbcomm/hbcomm.hbp
  * contrib/hbcups/hbcups.hbp
  * contrib/hbcurl/hbcurl.hbm
  * contrib/hbdroid/hbdroid.hbp
  * contrib/hbexpat/hbexpat.hbp
  * contrib/hbfbird/hbfbird.hbp
  * contrib/hbfimage/hbfimage.hbp
  * contrib/hbformat/hbformat.hbp
  * contrib/hbfoxpro/hbfoxpro.hbp
  * contrib/hbfship/hbfship.hbp
  * contrib/hbgs/hbgs.hbp
  * contrib/hbgt/hbgt.hbp
  * contrib/hbhttpd/hbhttpd.hbp
  * contrib/hblzf/hblzf.hbp
  * contrib/hbmagic/hbmagic.hbp
  * contrib/hbmemio/hbmemio.hbp
  * contrib/hbmisc/hbmisc.hbp
  * contrib/hbmlzo/hbmlzo.hbp
  * contrib/hbmxml/hbmxml.hbp
  * contrib/hbnetio/hbnetio.hbp
  * contrib/hbnf/hbnf.hbp
  * contrib/hboslib/hboslib.hbp
  * contrib/hbsms/hbsms.hbp
  * contrib/hbssl/hbssl.hbm
  * contrib/hbtpathy/hbtpathy.hbp
  * contrib/hbxdiff/hbxdiff.hbp
  * contrib/hbxpp/hbxpp.hbp
  * contrib/hbziparc/hbziparc.hbp
    * do not copy .ch/.hbx files to central Harbour
      directory. It means that if you need to use
      these files from now on, you need to use the
      .hbc files to add these packages to your project:
      freeimag.ch ftmenuto.ch hbblink.ch hbcurl.ch hbexpat.ch
      hbfoxpro.ch hblzf.ch hbmagic.ch hbmlzo.ch hbmxml.ch
      hbssl.ch hbxdiff.ch hbxppext.ch telepath.ch
      (and more if you need an .hbx file.) INCOMPATIBLE.
      This is a gradual step to complete this TODO:
         2012-03-04 20:31 UTC+0100

  * contrib/hbfbird/readme.txt
  * contrib/hbfimage/readme.txt
  * contrib/hbmysql/readme.txt
  * contrib/hbnf/doc/en/chdir.txt
  * contrib/hbnf/doc/en/cint86.txt
  * contrib/hbziparc/doc/en/hbziparc.txt
  * contrib/rddads/doc/en/readme.txt
  * contrib/rddads/readme.txt
  * doc/en/file.txt
  * doc/dirstruc.txt
  * doc/en/dir.txt
  * doc/gmake.txt
  * doc/gtapi.txt
  * extras/httpsrv/readme.txt
  * utils/hbmk2/hbmk2.1
    * various updates (removed OS specific stuff,
      added reference to .hbc files, hbmk2,
      removed certain outdated information,
      DOS -> MS-DOS)

  - tests/dosshell.prg
  + tests/osshell.prg
    * renamed/changed to be OS agnostic

  * config/dir.mk
  * config/dos/djgpp.mk
  * config/globsh.mk
    * DOS -> MS-DOS

  * extras/httpsrv/uhttpd.prg
  * src/debug/dbghelp.prg
  * utils/hbmk2/hbmk2.es_PE.po
  * utils/hbmk2/hbmk2.prg
  * utils/hbmk2/hbmk2.pt_BR.po
    * DOS -> OS

  * contrib/gtwvg/class.prg
  * contrib/gtwvg/crt.prg
  * contrib/gtwvg/dialog.prg
  * contrib/gtwvg/mle.prg
  * contrib/gtwvg/syswnd.prg
  * contrib/gtwvg/wnd.prg
    * removed unnecessary parentheses
2012-10-23 20:49:40 +00:00
Viktor Szakats
bd2db96eb1 2012-10-23 14:48 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/xhb/hbcompat.ch
  * include/harbour.hbx
  * src/debug/debugger.prg
  * src/rtl/achoice.prg
  * src/rtl/inkey.c
  * src/rtl/memoedit.prg
    + added HB_KEYSETLAST() which is the successor of
      HB_SETLASTKEY() but renamed to put it into the
      right namespace. HB_SETLASTKEY() is deprecated
      and will disappear after the second major release.

  * utils/hbmk2/hbmk2.prg
    + added interactive keyboard functions to trigger
      full screen UI in scripts

  * contrib/hbct/tests/*.prg
    % deleted #include "ct.ch" where it's not used
    ! added #require "ct.ch" where ct.ch is #included

  * contrib/hbct/tests/csetarge.prg
    % CLS not needed anymore to force interactive UI

  * contrib/hbfbird/firebird.c
    ! typo in comment

  * contrib/hbct/tests/math.prg
    * minor
2012-10-23 12:54:45 +00:00
Przemyslaw Czerpak
76686c179b 2012-10-23 12:01 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbvm.h
  * harbour/src/vm/hvm.c
  * harbour/src/vm/runner.c
    * use deferred function mechanism for overloaded function symbols.
      It allows to unload HRB modules without leaving dummy references.
2012-10-23 10:02:34 +00:00
Viktor Szakats
83d87b45ad 2012-10-23 03:27 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/gtwvg/class.prg
  * contrib/hbct/tests/attoken.prg
  * contrib/hbct/tests/charnot.prg
  * contrib/hbct/tests/charrll.prg
  * contrib/hbct/tests/charrlr.prg
  * contrib/hbct/tests/charshl.prg
  * contrib/hbct/tests/charshr.prg
  * contrib/hbct/tests/csetarge.prg
  * contrib/hbct/tests/datetime.prg
  * contrib/hbct/tests/finan.prg
  * contrib/hbct/tests/token.prg
  * contrib/hbct/tests/tokensep.prg
  * contrib/hbct/tests/trig.prg
  * contrib/hbgd/gdbarcod.prg
  * contrib/hbnf/doc/en/fttext.txt
  * contrib/hbnf/doc/en/nwsem.txt
  * contrib/hbnf/popadder.prg
  * contrib/hbnf/tests/mouse1.prg
  * contrib/hbsqlit3/tests/hdbctest.prg
  * contrib/hbtip/httpcli.prg
  * contrib/hbtpathy/telepath.prg
  * contrib/xhb/stream.prg
  * contrib/xhb/tedit.prg
  * contrib/xhb/thtm.prg
  * contrib/xhb/ttable.prg
  * contrib/xhb/xcstr.prg
  * contrib/xhb/xhbmemo.prg
  * contrib/xhb/xhbtedit.prg
  * extras/gtwvw/tests/ebtest7.prg
  * extras/hbxlsxml/xlsxml.prg
  * extras/rddado/adordd.prg
  * src/debug/debugger.prg
  * src/rtl/memoedit.prg
  * tests/sdf_test.prg
  * tests/tstasort.prg
  * tests/videotst.prg
  * tests/vmasort.prg
    % minor cleanups, fixes, optimizations and formatting
      (f.e. using hb_ntos(), avoiding '== .F./.T.' expressions, etc)
    ; NOTE: hbformat couldn't reformat adordd.prg, and even 
            after removing parts that caused and error and 
            finished error free, it failed to format the file 
            after a certain line.
2012-10-23 01:31:32 +00:00
Przemyslaw Czerpak
eb6cd71ef4 2012-10-22 14:59 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/gttrm/gttrm.c
    ! fixed support for national characters in terminals working in
      ISO mode

  * harbour/contrib/xhb/xhbfunc.c
    * minor code simplification

  * harbour/doc/xhb-diff.txt
    * typo
2012-10-22 13:00:05 +00:00
Viktor Szakats
3a094e494b 2012-10-21 15:42 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbnf/aredit.prg
    ! deleted code that never worked right, and it's a
      condition the caller can easily check anyway

  * contrib/hbnf/isprint.c
    + enabled [HB_]ISPRINT() on *nix system. It will try to
      open the passed device name. default is /dev/lp0.

  * src/rtl/hbsocket.c
    ! fixed dos/watcom error

  * src/rtl/isprint.c
    ! FT_ISPRINT(): default to PRN on non-*nix
2012-10-21 13:45:52 +00:00
Viktor Szakats
0811364b5c 2012-10-21 12:18 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbformat/hbfmtcls.prg
    + added one known and one new minor TOFIX
    + Array2File() changed to strip extra EOLs from the end
      of file (sometimes and extra EOL is generated by
      hbformat).

  * src/debug/debugger.prg
  * src/rtl/tbrowse.prg
  * src/vm/harbinit.prg
  * utils/hbmk2/hbmk2.prg
    * formatting changed so that its fit
      hbformat style

  * contrib/sddmy/tests/test1.prg
  * contrib/sddoci/tests/test1.prg
  * contrib/sddodbc/tests/test1.prg
  * contrib/sddodbc/tests/test2.prg
    + added missing #require-s, anyways they don't run as scripts
      with the previously reported error.

  * ChangeLog
    ! typos
2012-10-21 10:23:18 +00:00
Viktor Szakats
8b99be0d50 2012-10-20 23:31 UTC+0200 Viktor Szakats (harbour syenar.net)
* config/postinst.hb
  * utils/hbmk2/hbmk2.prg
    % avoid lines and padding in autogenerated .hbx file comments

  * include/hblang.hbx
    ! fixed to exclude legacy language modules that missed
      the generic wildcard filter

  * */*.hbx
    * regenerated

  * src/rtl/langapi.c
    * deleted unnecessary comment
2012-10-20 21:38:31 +00:00
Viktor Szakats
76f741a69a 2012-10-19 00:55 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbct/ctwfunc.c
  * contrib/hbct/files.c
  * contrib/hbfship/dbsetloc.c
  * contrib/hbgd/gdwrp.c
  * contrib/hbnf/fttext.c
  * contrib/xhb/xhbgt.c
  * contrib/xhb/xhbtrim.c
  * src/rdd/dbcmd.c
  * src/rdd/dbfcdx/dbfcdx1.c
  * src/rdd/dbffpt/dbffpt1.c
  * src/rdd/dbfnsx/dbfnsx1.c
  * src/rdd/dbfntx/dbfntx1.c
  * src/rtl/cdpapihb.c
  * src/rtl/dirdrive.c
  * src/rtl/gete.c
  * src/rtl/hbi18n1.c
  * src/rtl/trim.c
  * src/vm/classes.c
    * use HB_FUNC_TRANSLATE() where the target function was 
      present in the same physical source file (plus some 
      RDD ones missed in prev)
2012-10-18 22:57:38 +00:00
Viktor Szakats
92dddad5e8 2012-10-18 23:52 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/gtwvg/wvgutils.c
  * contrib/hbct/dbftools.c
  * contrib/hbfship/flddeci.c
  * contrib/hbfship/isfunc.c
  * contrib/hbfship/secondfs.c
  * contrib/hbnf/mouse.c
  * contrib/hbxpp/dbcmdx.c
  * contrib/hbxpp/dbdetacx.c
  * contrib/hbxpp/dllx.c
  * contrib/rddsql/sqlmix.c
  * contrib/sddfb/sddfb.c
  * contrib/sddmy/sddmy.c
  * contrib/sddoci/sddoci.c
  * contrib/sddodbc/sddodbc.c
  * contrib/sddpg/sddpg.c
  * contrib/sddsqlt3/sddsqlt3.c
  * contrib/xhb/xhbarr.c
  * contrib/xhb/xhbdate.c
  * contrib/xhb/xhbfs.c
  * contrib/xhb/xhbfunc.c
  * contrib/xhb/xhbgt.c
  * contrib/xhb/xhbhash.c
  * contrib/xhb/xhbi18n.c
  * contrib/xhb/xhbinet.c
  * contrib/xhb/xhbini.c
  * contrib/xhb/xhbmtc.c
  * contrib/xhb/xhbolec.c
  * contrib/xhb/xhbprn.c
  * contrib/xhb/xhbproc.c
  * contrib/xhb/xhbregx.c
  * contrib/xhb/xhbwin.c
  * contrib/xhb/xwin_reg.c
  * contrib/xhb/xwin_ver.c
  * src/rdd/dbcmdhb.c
  * src/rdd/dbdrop.c
  * src/rdd/dbexists.c
  * src/rdd/dbnubs.c
  * src/rdd/dbrename.c
  * src/rdd/fieldhb.c
  * src/rdd/hbsix/sxredir.c
  * src/rdd/hsx/cftsfunc.c
  * src/rdd/rddinfo.c
  * src/rtl/cdpapihb.c
  * src/rtl/defpathu.c
  * src/rtl/errapiu.c
  * src/rtl/natmsgu.c
  * src/rtl/pad.c
  * src/rtl/shadowu.c
  * src/vm/memvclip.c
    * use HB_FUNC_TRANSLATE() when creating pure forwarder stubs
      (I might rename this to HB_FUNC_FORWARD())
2012-10-18 21:59:19 +00:00
Viktor Szakats
f5837235c8 2012-10-18 20:59 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbmisc/hb_f.c
    ! fixed clang warning

  * contrib/hbzebra/datamtrx.c
    ! applied patch from Mindaugas, fixing literal truncation
      warning on MSVC. Thank you.

  * include/harbour.hbx
  * src/rtl/mouse53.c
    + added HB_MGETBOUNDS( /* @ */ nTop, /* @ */ nLeft, /* @ */ nBotton, /* @ */ nRight ) -> NIL

  * contrib/hbnf/hbnf.hbx
  * contrib/hbnf/mouse.c
  * contrib/hbnf/mouse1.prg
    * all possible MS-DOS specific mouse handling
      functions rewritten in Harbour using core mouse API.
      Now the included sample more or less work.
      There are still two important functions (FT_MBUT*())
      that are MS-DOS specific and don't work. Have no
      idea yet how to rewrite these in multiplatform way,
      they work in very MS-DOS specific way.
    ! fixed few bugs along the way. Maybe introduced new
      ones. It doesn't help that NF functions (sometimes?)
      use X for vertical and Y for horizontal position.

  * contrib/hbnf/tests/mouse1.prg
    % turn cursor off to avoid excessive flicker

  * contrib/hbnf/fttext.c
  * contrib/hbnf/tests/metaph.prg
  * contrib/hbnf/tests/prtesc.prg
  * extras/gtwvw/docs/funclist.txt
    * formatting (mostly fighting long separator lines still)

  * src/rtl/mousehb.c
    % use HB_FUNC_TRANSLATE()
2012-10-18 19:07:01 +00:00
Viktor Szakats
7a36a5e226 2012-10-18 12:58 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbnf/hbnf.hbx
  * contrib/hbnf/menu1.prg
  * contrib/hbnf/mouse.c
    % use MROW()/MCOL()/MHIDE()/MSHOW() functions in
      place of MS-DOS low-level implementations
    * disabled page handling functions

  * contrib/hbnf/aading.prg
  * contrib/hbnf/acctadj.prg
  * contrib/hbnf/aemaxlen.prg
  * contrib/hbnf/aeminlen.prg
  * contrib/hbnf/at2.prg
  * contrib/hbnf/calendar.prg
  * contrib/hbnf/dfile.prg
  * contrib/hbnf/dispmsg.prg
  * contrib/hbnf/lastday.prg
  * contrib/hbnf/menu1.prg
  * contrib/hbnf/menuto.prg
  * contrib/hbnf/metaph.prg
  * contrib/hbnf/mouse1.prg
  * contrib/hbnf/netpv.prg
  * contrib/hbnf/nwuid.prg
  * contrib/hbnf/pending.prg
  * contrib/hbnf/popadder.prg
  * contrib/hbnf/sqzn.prg
  * contrib/hbnf/tbwhile.prg
  * contrib/hbnf/xbox.prg
    * use __defaultNIL()/hb_default()
    % optimizations done along the way

  * contrib/hbnf/tests/mouse1.prg
    * updated with mouse2.prg

  * contrib/hbnf/peek.c
    * synced with gtdos.c after Przemek's changes.
    ! added missing MK_FP() definition if not defined

  * src/rtl/gtdos/gtdos.c
    ! fixed old typo in one variable name

  - contrib/hbnf/tests/mouse2.prg
    - deleted duplicate code
2012-10-18 11:04:37 +00:00
Przemyslaw Czerpak
b47ea627fb 2012-10-18 12:22 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/gtdos/gtdos.c
    ! fixed MK_FP() macro
    * use HB_PEEK_BYTE() and HB_POKE_BYTE() macros if possible
    - removed POKE_BYTE() macro
    * renamed outport() to outportw()
    ; question: why this code was updating number of lines at 0x0004:0084
                after some set modes? Is it necessary?
2012-10-18 10:23:09 +00:00
Viktor Szakats
357d768615 2012-10-18 02:19 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/gtdos/gtdos.c
    * TOFIX added about duplicate macros with same functionality
      but different name (POKE_BYTE/HB_POKE_BYTE)
    ! fixed C++ comment
    ! fixed indenting/formatting in few places

  * contrib/hbnf/page.c
    - disabled FT_SETVPG()/FT_GETVPG() to do anything
      even on MS-DOS, because no other functions support
      video pages.

  * contrib/hbnf/hbnf.hbp
  - contrib/hbnf/poke.c
  * contrib/hbnf/peek.c
  * contrib/hbnf/support.c
    + Implemented FT_PEEK()/FT_POKE()/FT_INP()/FT_OUTP()
      for MS-DOS platform. Macros taken from gtdos.c.
      (build tested with Watcom/DOS. Might break in
      other build and not work in any of them. Please
      test)

  * contrib/hbnf/vidcur.prg
    + Implemented FT_SETVCUR()/FT_GETVCUR() w/o page
      support, using GT.

  * contrib/hbnf/kspeed.c
  * contrib/hbnf/page.c
    * renamed variable to be uniform

  * contrib/hbnf/scancode.prg
    * added TODO comment

  - contrib/hbnf/readme.txt
    - deleted, now TODOs are in source
2012-10-18 00:20:54 +00:00
Viktor Szakats
8a2e26e429 2012-10-18 00:55 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbnf/sysmem.prg
  * contrib/hbnf/readme.txt
    + Implemented FT_SYSMEM()

  * contrib/hbnf/dosver.c
  * contrib/hbnf/isshare.c
  * contrib/hbnf/kspeed.c
  * contrib/hbnf/mouse.c
  * contrib/hbnf/page.c
  * contrib/hbnf/setdate.c
  * contrib/hbnf/settime.c
  * contrib/hbnf/support.c
  * contrib/hbnf/vidmode.c
    ! fixed to #include <dos.h> (not "dos.h")

  * src/vm/fm.c
    + Memory( HB_MEM_FM ) to report low-memory on MS-DOS systems
      (build tested)

  * contrib/hbnf/nwsem.prg
  * contrib/hbnf/nwuid.prg
    * code cleanup, TODOs added
2012-10-17 22:59:28 +00:00
Viktor Szakats
7c86b77b5f 2012-10-18 00:32 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/3rd/tiff/Makefile
  - src/3rd/tiff/warning.c
  + src/3rd/tiff/warn.c
    * renamed to avoid the word 'warning' coming up
      unnecessarily in build logs.
2012-10-17 22:34:03 +00:00
Viktor Szakats
7ccebe3915 2012-10-18 00:18 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/compiler/complex.c
    ! added missing HB_SIZE case

  * src/rdd/dbffpt/dbffpt1.c
  * src/rdd/dbfnsx/dbfnsx1.c
  * src/rdd/dbfntx/dbfntx1.c
    * suppressed remaining MSVC 32 and 64 bit warnings
      (a very long time TODO). I used casts named after
      the type it casts to, so they are easy to identify:
      HB_ULONGCAST, HB_[U]SHORTCAST, HB_INTCAST
      So they can be searched for or converted to proper
      types in the future.
      This is the complete list of MSVC warnings that remain
      after this:
      ---
         harbour.y(1077) : warning C4244: '=' : conversion from 'HB_SIZE' to 'int', possible loss of data
         harbour.y(1371) : warning C4309: 'argument' : truncation of constant value
         harbour.y(1374) : warning C4309: 'argument' : truncation of constant value
         harboury.c(4089) : warning C4244: '=' : conversion from 'int' to 'yytype_int16', possible loss of data
         harboury.c(7737) : warning C4702: unreachable code
         harboury.c(7776) : warning C4701: potentially uninitialized local variable 'hb_comp_yylval' used
         macroy.c(1786) : warning C4065: switch statement contains 'default' but no 'case' labels
         macroy.c(1915) : warning C4244: '=' : conversion from 'int' to 'yytype_int16', possible loss of data
         macroy.c(3254) : warning C4702: unreachable code
         macroy.c(3293) : warning C4701: potentially uninitialized local variable 'hb_macro_yylval' used
         ../../../dbffpt1.c(521) : warning C4310: cast truncates constant value
         ../../../dbffpt1.c(904) : warning C4310: cast truncates constant value
         hbzebra\datamtrx.c(149) : warning C4310: cast truncates constant value
      ---
2012-10-17 22:19:26 +00:00
Viktor Szakats
e9b808ca71 2012-10-17 09:20 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/gtwvg/*.prg
  * contrib/gtwvg/tests/*.prg
  * contrib/hbamf/tests/tstendin.prg
  * contrib/hbct/doc/en/dattime3.txt
  * contrib/hbct/tests/token2.prg
  * contrib/hbgd/tests/gdtestcl.prg
  * contrib/hbhttpd/core.prg
  * contrib/hbhttpd/tests/eshop.prg
  * contrib/hbmysql/tests/dbf2mysq.prg
  * contrib/rddads/tests/datad.prg
  * contrib/xhb/tedit.prg
  * extras/gtwvw/tests/*.prg
  * src/rdd/usrrdd/rdds/arrayrdd.prg
  * src/rdd/usrrdd/rdds/hscdx.prg
    * removed space after .f./.t.
2012-10-17 07:22:54 +00:00
Viktor Szakats
61c2f3b43d 2012-10-16 16:50 UTC+0200 Viktor Szakats (harbour syenar.net)
- contrib/hbnf/dosver.prg
  - contrib/hbnf/isshare.prg
  - contrib/hbnf/mouse2.prg
  - contrib/hbnf/page.prg
  - contrib/hbnf/vidmode.prg
  * contrib/hbnf/at2.prg
  * contrib/hbnf/blink.prg
  * contrib/hbnf/byteneg.prg
  * contrib/hbnf/cntryset.prg
  * contrib/hbnf/d2e.prg
  * contrib/hbnf/diskfunc.prg
  * contrib/hbnf/dispc.c
  * contrib/hbnf/elapmil.prg
  * contrib/hbnf/elapsed.prg
  * contrib/hbnf/findith.prg
  * contrib/hbnf/floptst.prg
  * contrib/hbnf/ftint86.c
  * contrib/hbnf/ftint86.ch
  * contrib/hbnf/getver.c
  * contrib/hbnf/getvid.c
  * contrib/hbnf/hbnf.hbp
  * contrib/hbnf/hbnf.hbx
  * contrib/hbnf/hex2dec.prg
  * contrib/hbnf/madd.prg
  * contrib/hbnf/menu1.prg
  * contrib/hbnf/mouse.c
  * contrib/hbnf/mouse1.prg
  * contrib/hbnf/nooccur.prg
  * contrib/hbnf/nwlstat.prg
  * contrib/hbnf/nwsem.prg
  * contrib/hbnf/nwuid.prg
  * contrib/hbnf/rand1.prg
  * contrib/hbnf/savearr.prg
  * contrib/hbnf/scregion.prg
  * contrib/hbnf/sinkey.prg
  * contrib/hbnf/sleep.prg
  * contrib/hbnf/tempfile.prg
    ! FT_MBUTPRS() fixed RTE
    ! fixed FT_DSKFREE(), also made it work on platform w/o drive letters
    ! fixed FT_DSKSIZE(), also made it work on platform w/o drive letters
    ! fixed FT_DOSVER() to return string type on all platforms
    + rewritten functions to use HB_BIT*() and hex number handling functions
    + rewritten FT_SLEEP() to use hb_idleSleep() internally
    % dispc.c rewritten to use hb_gtRectSize( 0, 0, 0, 0, &nSize ) to find
      out cell size and cleaned code to adapt with minimal redundancy
    % optimized out several .prg level stubs
    % using SWITCH, hb_default(), hb_ntos() in some more places
    * removed some unuseful macros
    * minor formatting
    + fixed warnings and errors and enabled mouse1.prg
    % deleted outdated and duplicate mouse2.prg
    % deleted lots of MS-DOS specific commented code
    ! deleted #include for stdlib.h and string.h

  * include/hbapigt.h
  * src/rtl/gtapi.c
    - deleted just added hb_gtIsCompatBuffer().
      It's better to use hb_gtRectSize( 0, 0, 0, 0, &nSize ) for this purpose.

  * contrib/hbformat/hbfmtcls.prg
    * minor formatting
2012-10-16 14:52:35 +00:00
Viktor Szakats
c36cdb98ee 2012-10-16 11:12 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbnf/acctmnth.prg
  * contrib/hbnf/acctqtr.prg
  * contrib/hbnf/acctweek.prg
  * contrib/hbnf/aemaxlen.prg
  * contrib/hbnf/aeminlen.prg
  * contrib/hbnf/aredit.prg
  * contrib/hbnf/clrsel.prg
  * contrib/hbnf/dayofyr.prg
  * contrib/hbnf/elapsed.prg
  * contrib/hbnf/month.prg
  * contrib/hbnf/qtr.prg
  * contrib/hbnf/tbwhile.prg
  * contrib/hbnf/week.prg
  * contrib/hbnf/xbox.prg
    % optimizations (cleaned constructs, opt out variables,
      use SWITCH)
    ! FT_AEMINLEN() fixed to return proper length for strings
      larger than Clipper's maximum.
    * use K_ENTER instead of K_RETURN
      (to use uniformly K_ENTER in repo)

  * contrib/hbnf/popadder.prg
    * use hb_keyCode() instead of hardwired key numbers

  * contrib/hbmisc/hbedit.prg
  * contrib/hbmysql/tsqlbrw.prg
  * contrib/xhb/xhbtedit.prg
  * src/rtl/teditor.prg
  * tests/ac_test.prg
  * tests/ac_test2.prg
  * tests/sbartest.prg
    * use K_ENTER instead of K_RETURN
      (to use uniformly K_ENTER in repo)

  * contrib/hbnf/tests/datecnfg.prg
    ! use a non-current date for better testing
    * use simpleio.ch

  * contrib/hbnf/aavg.prg
  * contrib/hbnf/adessort.prg
  * contrib/hbnf/anomatch.prg
  * contrib/hbnf/any2any.prg
  * contrib/hbnf/asum.prg
    * formatting
2012-10-16 09:21:44 +00:00
Viktor Szakats
06608ba30d 2012-10-15 22:42 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/teditor.prg
    ! fixed typo in 2012-10-11 00:43 UTC+0200
      Thanks to Rafal K for the report

  * contrib/hbnf/calendar.prg
    * minor
2012-10-15 20:43:31 +00:00
Viktor Szakats
459925ed8c 2012-10-15 19:51 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/hbapigt.h
  * src/rtl/gtapi.c
    + added HB_BOOL hb_gtCompatBuffer() to return the status
      of HB_GTI_COMPATBUFFER setting.
      BTW, shouldn't the default setting be changed to be
      Clipper compatible?

  * contrib/hbnf/dispc.c
    + added support for the now default HB_GTI_COMPATBUFFER == .F. mode.
    % exit char string is now internally converted to a keycode list.
    * use HB_UCHAR (was char) for buffer cells.
    * TOFIX changed for support for input file encoding and
      translating this to unicode when putting to screen.

  * contrib/hbnf/dfile.prg
    + FT_DFSETUP() 9th parameter got a Harbour extension by
      enabling an old low-level feature to be able to pass
      list of exist chars as array of numerics. This is unicode
      compatible.

  * contrib/hbnf/tests/dfile.prg
    + Pass array of numerics to FT_DFSETUP() function, which
      make K_F3 exit key work.
    + Display keyboard as number and as char in unicode compatible way.

  * utils/hbmk2/hbmk2.prg
    * explicitly turn off HB_GTI_COMPATBUFFER for scripts
      to not depend on Harbour default
2012-10-15 17:54:44 +00:00
Alexander S.Kresin
943832d763 2012-10-15 16:20 UTC+0300 Alexander Kresin <alex at belacy.belgorod.su>
* harbour/src/rtl/gtwvt/gtwvt.c
    ! Handling of K_ALT_COMMA and K_ALT_PERIOD has been added.
2012-10-15 12:22:49 +00:00