Commit Graph

890 Commits

Author SHA1 Message Date
Viktor Szakats
3f4cf28f68 2012-11-10 20:55 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rtl/hbgtcore.c
    * changed HB_GTI_COMPATBUFFER default to be Clipper
      compatible. INCOMPATIBLE compared to 3.2 versions,
      but restores the compatibility with previous ones
      and Clipper. Applications using Unicode, must now 
      manually change these buffers to be Unicode 
      compatible using:
         #include "hbgtinfo.ch"
         hb_gtInfo( HB_GTI_COMPATBUFFER, .F. )

  * include/assert.ch
  * include/hbclass.ch
  * contrib/rddads/ads.ch
  * contrib/xhb/hbdll.ch
  * contrib/xhb/hblog.ch
  * contrib/xhb/ttable.ch
    ! use 'END' instead of 'ENDIF' consistently
      in command translated code. (most of these
      is result of recent regression)

  * contrib/gtwvg/class.prg
  * contrib/gtwvg/combobox.prg
  * contrib/gtwvg/crt.prg
  * contrib/gtwvg/menubar.prg
  * contrib/gtwvg/statbar.prg
  * contrib/gtwvg/static.prg
  * contrib/gtwvg/syswnd.prg
  * contrib/gtwvg/tests/_modal.prg
  * contrib/gtwvg/wnd.prg
  * contrib/hbgd/tests/test_out.prg
  * contrib/hbmysql/tmysql.prg
  * contrib/xhb/decode.prg
  * contrib/xhb/xhbtedit.prg
  * extras/hbdoc/hbdoc.prg
  * extras/httpsrv/cgifunc.prg
  * extras/httpsrv/session.prg
    % deleted excessive parenthesis
    ! fixed some '- 1' to '-1' in older hbformatted
      code

  * extras/gtwvw/tests/_wvwmous.prg
  * extras/gtwvw/tests/wvt2wvw.ch
  * extras/hbvpdf/core.prg
  * extras/httpsrv/uhttpd.prg
  * extras/rddado/adordd.ch
  * include/hbsix.ch
    * minor cleanups
2012-11-10 20:04:37 +00:00
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
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
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
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
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
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
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
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
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
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
Viktor Szakats
9f0d26d01c 2012-10-15 13:55 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/gtwvg/wvgwin.c
  * contrib/hbamf/amfdec.c
  * contrib/hbamf/amfenc.c
  * contrib/hblzf/core.c
  * contrib/hbpgsql/postgres.c
  * contrib/hbxdiff/core.c
  * contrib/hbzebra/codabar.c
  * contrib/hbzebra/code39.c
  * contrib/hbzebra/code93.c
  * contrib/hbzebra/core.c
  * contrib/hbzebra/qrcode.c
  * contrib/rddads/ads1.c
    ! fixed various 64-bit problems revealed by compiler warnings
      (used casts, changed variables type, changed Harbour
      API functions, please review especially hbamf, hbzebra and gtwvg)

  * extras/httpsrv/uhttpd.prg
    + changed to use keyboard events to detect window close,
      instead of deprecated and now dummy feature HB_GTI_NOTIFIERBLOCK
2012-10-15 11:59:09 +00:00
Viktor Szakats
389b9d1c4a 2012-10-15 11:01 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/gtwvg/class.prg
  * contrib/gtwvg/parthdlr.prg
  * contrib/gtwvg/radiobut.prg
  * contrib/gtwvg/toolbar.prg
  * contrib/gtwvg/wnd.prg
  * contrib/hbnf/doc/en/amedian.txt
  * contrib/hbnf/doc/en/ftidle.txt
  * contrib/hbnf/doc/en/iamidle.txt
  * contrib/hbnf/tests/datecnfg.prg
  * contrib/hbsqlit3/tests/sl3_test.prg
  * contrib/hbtip/tests/ftpadv.prg
  * contrib/hbtip/tests/httpadv.prg
  * contrib/xhb/hblog.prg
  * contrib/xhb/htmutil.prg
  * contrib/xhb/sprintf.prg
  * doc/clipper.txt
  * extras/gtwvw/tests/ebtest7.prg
  * extras/gtwvw/tests/maximize.prg
  * extras/gtwvw/tests/prog0.prg
  * extras/gtwvw/tests/prog1.prg
  * extras/gtwvw/tests/prog2.prg
  * extras/gtwvw/tests/wvwmouse.prg
  * extras/gtwvw/tests/wvwtest9.prg
  * extras/hbdoc/hbdoc.prg
  * extras/httpsrv/cookie.prg
  * extras/httpsrv/session.prg
  * src/rtl/tbrowse.prg
  * tests/destruct.prg
  * tests/switch.prg
  * tests/t1.prg
  * tests/testbrw.prg
  * tests/tstuse.prg
  * utils/hbmk2/hbmk2.prg
  * utils/hbtest/rt_math.prg
    * END -> END*
    * other minor cleanups and formatting
2012-10-15 09:03:33 +00:00
Viktor Szakats
007f42f3b1 2012-10-15 03:39 UTC+0200 Viktor Szakats (harbour syenar.net)
- contrib/hbmysql/utils
  - contrib/hbmysql/utils/dbf2mysq.prg
  - contrib/hbmysql/utils/hbmk.hbm
  + contrib/hbmysql/tests/dbf2mysq.prg
    * moved to tests (in sync with hbpgsql)

  * src/rtl/hbi18n2.prg
    ! fixed to use HB_ASCAN() instead of ASCAN() when 5th
      extension parameter is used.

  * src/debug/debugger.prg
  * contrib/hbfbird/tfirebrd.prg
  * contrib/hbnf/clrsel.prg
  * contrib/hbmysql/tmysql.prg
  * contrib/hbmysql/tests/dbf2mysq.prg
  * contrib/hbtip/ftpcli.prg
  * extras/hbdoc/hbdoc.prg
  * extras/hbdoc/tmplates.prg
    ! use HB_ASCAN( x, y,,, .T. ) to avoid relying on _SET_EXACT
    % use ASCAN() instead of HB_ASCAN() if Harbour extension are not used (hbdoc)

  * contrib/gtwvg/tests/modal.prg
    ! use HB_ASCAN( x, y,,, .T. ) to avoid relying on _SET_EXACT
    ! use HB_KEYCHAR() instead of CHR() on key codes

  * contrib/xhb/tedit.prg
  * contrib/xhb/thtm.prg
  * contrib/xhb/xhbole.prg
  * tests/fortest.prg
  * tests/initexit.prg
  * tests/statinit.prg
  * tests/vidtest.prg
  * tests/rddtest/rddtst.prg
  * extras/hbdoc/hbdoc.prg
    * renamed STATIC vars to start with 's_'
    * renamed PUBLIC/PRIVATE vars to start with 'p_'
    * renamed STATIC "const" vars to start with 'sc_'

  * contrib/hbsqlit3/hdbcsqlt.prg
  * contrib/xhb/tedit.prg
    * hbformatted

  * contrib/sddmy/tests/test1.prg
  * contrib/xhb/tcgi.prg
  * contrib/xhb/thtm.prg
  * tests/brwpos.prg
    * formatting
2012-10-15 01:50:24 +00:00
Viktor Szakats
03f23de971 2012-10-14 20:28 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbnetio/tests/netiot03.prg
    * use Asc( "A" ) instead of 65. (still lot more to do 
      for EBCDIC compatibility, though)

  * src/rtl/memoedit.prg
    ! do not use K_TAB for tab character

  * tests/gtchars.prg
    * minor change to make it work better when run as script

  * tests/vidtest.prg
    * minor formatting
2012-10-14 18:32:00 +00:00
Viktor Szakats
9c4bfed351 2012-10-13 20:38 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/setfunc.prg
  * src/rtl/tlabel.prg
    * tested new hbformat.
    * more manual corrections. (actually it seems as if
      hbformat silently stopped doing any reformatting
      past around line 150 in tlabel.prg)
2012-10-13 18:45:34 +00:00
Viktor Szakats
0ca4dc85db 2012-10-13 18:40 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/tlabel.prg
    * cleaned to use DISP*()/SETPOS() functions instead
      of @ commands (DEV*() functions). The code already 
      use f.e HB_SCROLL() and INKEY().
2012-10-13 16:43:19 +00:00
Viktor Szakats
30600939e7 2012-10-12 17:38 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbmisc/hbedit.prg
  * contrib/hbmisc/twirler.prg
  * contrib/hbodbc/browodbc.prg
  * contrib/xhb/xhbtedit.prg
    * use HB_DISPOUTAT() instead of @ SAY
    ; TODO: hbnf

  * contrib/hbmisc/hbedit.prg
    * some unicode compatibility fixes

  * src/rtl/profiler.prg
    * minor
2012-10-12 15:40:05 +00:00
Viktor Szakats
6ae6c60b2f 2012-10-12 17:25 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbmysql/utils/dbf2mysq.prg
    * formatting. for some reason hbformat misses to
      uppercase one specific FOR/NEXT loop.

  * contrib/hbnf/menu1.prg
  * contrib/hbnf/pegs.prg
  * contrib/hbnf/vertmenu.prg
  * extras/gtwvw/tests/prog0.prg
  * extras/gtwvw/tests/prog1.prg
  * extras/gtwvw/tests/prog2.prg
  * tests/db_brows.prg
  * tests/onidle.prg
  * tests/scroll.prg
  * tests/testbrw.prg
    % replaced DEVPOS()/DEVOUT() with HB_DISPOUTAT()/SETPOS()
      calls

  * include/harbour.hbx
  * contrib/hbnf/aredit.prg
  * contrib/hbnf/tbwhile.prg
  * extras/gtwvw/tests/prog0
  * extras/gtwvw/tests/prog1
  * extras/gtwvw/tests/prog2
  * extras/gtwvw/tests/wvwtest9
  * tests/brwpos.prg
  * tests/tb1.prg
  * tests/testbrw.prg
    ! fixed some function names wrongly camelcased

  * src/rtl/profiler.prg
    * formatted
    + added parameter list to METHOD declarations

  * tests/testprof.prg
    * replaced with copy embedded in src/rtl/profiler.prg
    * formatted

  * tests/wcecon.prg
    ! unicode fix
2012-10-12 15:26:58 +00:00
Viktor Szakats
16d730147d 2012-10-12 14:19 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbhttpd/core.prg
  * contrib/hbhttpd/widgets.prg
  * contrib/hbpgsql/tests/cache.prg
  * extras/hbxlsxml/xlsxml_s.prg
  * extras/hbxlsxml/xlsxml_y.prg
  * extras/hbxlsxml/xlsxml.prg
  * extras/httpsrv/cgifunc.prg
  * extras/httpsrv/cookie.prg
  * extras/httpsrv/session.prg
  * extras/httpsrv/uhttpd.prg
  * src/rtl/dirscan.prg
    % LTRIM(STR(x,y)) converted to hb_ntos() where y had
      no significance or just limited the width unnecessarily
    % ValType() usage converted to HB_IS*() or optimized
      by rearragement of code or using SWITCH/CASE
2012-10-12 12:21:46 +00:00
Viktor Szakats
32b3c2a1cd 2012-10-12 01:41 UTC+0200 Viktor Szakats (harbour syenar.net)
* extras/hbxlsxml/xlsxml.prg
    ! fixed missing UTF-8 mime-type svn prop

  * tests/gtkeys.prg
    ! fixed typo in recent mods causing it to fail under Clipper

  * contrib/hbunix/tests/testdmn.prg
  * contrib/xhb/tfile.prg
  * contrib/xhb/xhberr.prg
  * contrib/xhb/xhbtedit.prg
  * contrib/gtwvg/class.prg
  * contrib/gtwvg/tests/utils.prg
  * contrib/hbnf/dfile.prg
  * contrib/hbgd/tests/counter.prg
  * contrib/hbtip/tests/tipmime.prg
  * src/debug/debugger.prg
  * src/rtl/teditor.prg
  * src/rtl/typefile.prg
  * src/rdd/usrrdd/rdds/logrdd.prg
  * tests/testrdd2.prg
  * tests/inifiles.prg
  * extras/gtwvw/tests/drawimg.prg
  * extras/httpsrv/cgifunc.prg
  * extras/httpsrv/session.prg
    % File() -> hb_FileExists()
    ; pls review me in core

  * contrib/gtwvg/class.prg
  * contrib/gtwvg/menubar.prg
  * contrib/gtwvg/paint.prg
  * contrib/gtwvg/parthdlr.prg
  * contrib/gtwvg/tests/modal.prg
  * contrib/gtwvg/tests/utils.prg
  * contrib/gtwvg/toolbar.prg
    % VALTYPE() -> HB_IS*() and some related optimizations

  * tests/codebloc.prg
  * tests/newrdd.prg
  * tests/inkeytst.prg
  * tests/files.prg
  * tests/testrdd.prg
  * tests/wcecon.prg
  * tests/testrdd2.prg
  * tests/inifiles.prg
    * *LTRIM(STR()) -> hb_ntos()
      (keeping macro for Clipper where seemed necessary)
2012-10-11 23:46:23 +00:00
Przemyslaw Czerpak
082cbea3a5 2012-10-11 20:47 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/gtwvt/gtwvt.h
  * harbour/src/rtl/gtwvt/gtwvt.c
    ! fixed some HB_GTI_* actions which could access pWVT->hWnd before
      console window in created.
    ! fixed reverted parameters passed in array to HB_GTI_SETPOS_ROWCOL
    ! removed hb_retl() used inside HB_GTI_SETPOS_XY, HB_GTI_SETPOS_ROWCOL
      actions.
    ! respect HB_GTI_SETPOS_XY, HB_GTI_SETPOS_ROWCOL set before
      console window in created.

  * harbour/src/rtl/gtxwc/gtxwc.c
    ! set fullscreen mode if user sets:
         hb_gtInfo( HB_GTI_ISFULLSCREEN, .t. )
         hb_gtInfo( HB_GTI_RESIZABLE, .t. )
      at application startup before console window in created.
    + added support for HB_GTI_SETPOS_XY, HB_GTI_SETPOS_ROWCOL
2012-10-11 18:48:14 +00:00
Viktor Szakats
31e9688a9a 2012-10-11 18:58 UTC+0200 Viktor Szakats (harbour syenar.net)
* extras/rddado/adordd.prg
  * src/rtl/hbini.prg
  * utils/hbmk2/hbmk2.prg
    * use Chr(34) as string quote wherever possible
2012-10-11 16:59:47 +00:00
Viktor Szakats
edd2f5e495 2012-10-11 15:07 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbamf/readme.txt
  * contrib/hbcairo/tests/table.prg
  * contrib/hbpgsql/tests/cache.prg
  * contrib/hbwin/tests/testprn3.prg
  * contrib/hbxpp/tthreadx.prg
  * contrib/xhb/txml.prg
  * contrib/xhb/xhbtedit.prg
  * src/rtl/hbi18n2.prg
    * ValType() related optimizations

  * contrib/hbwin/tests/testsim.prg
  * contrib/hbct/tests/datetime.prg
    * formatting
2012-10-11 13:09:10 +00:00