Commit Graph

17841 Commits

Author SHA1 Message Date
Viktor Szakats
dd0c3e4e4f 2012-10-10 00:46 UTC+0200 Viktor Szakats (vszakats syenar.net)
* doc/howtorep.txt
    * minor cleanup
2012-10-09 22:47:12 +00:00
Viktor Szakats
3978396f54 2012-10-09 20:27 UTC+0200 Viktor Szakats (harbour syenar.net)
* extras/gfspell/gfspell.hbp
  * extras/gtwvw/gtwvw.hbp
  * extras/hbvpdf/hbvpdf.hbp
  * extras/hbxlsxml/hbxlsxml.hbp
  * extras/ps32/ps32.hbp
  * extras/rddado/rddado.hbp
  * extras/superlib/superlib.hbp
    + added $hb_pkg_install.hbm so they now all will
      automatically install into /addons/

  * extras/gtwvw/tests/hbmk.hbm
  * extras/hbvpdf/tests/hbmk.hbm
  * extras/ps32/tests/hbmk.hbm
  * extras/rddado/tests/hbmk.hbm
    * deleted relative dir from .hbc file references

  + extras/hbxlsxml/hbxlsxml.hbc
  * extras/hbxlsxml/tests/hbmk.hbm
    + added missing .hbc file

  * extras/hbusb/hbusb.hbc
    * deleted dll related leftovers that only work
      with contribs

  - extras/commouse
  - extras/commouse/commouse.prg
  + tests/commouse.prg
    * moved to /tests/
2012-10-09 18:33:17 +00:00
Viktor Szakats
d7875f4f54 2012-10-09 19:49 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    ! minor fix to prev to properly parent built-in hbm files
      included in hbmk.hbm
    ! deleted accindentally left debug output
2012-10-09 17:51:44 +00:00
Viktor Szakats
8948395d4f 2012-10-09 19:45 UTC+0200 Viktor Szakats (harbour syenar.net)
* ChangeLog
    ! typo in prev commit description

2012-10-09 19:38 UTC+0200 Viktor Szakats (harbour syenar.net)
  * utils/hbmk2/hbmk2.*.po
  * utils/hbmk2/hbmk2.prg
    + added experimental feature to embed whole build-file
      logic into the hbmk2 executable and reference these
      from user make files. Currently .hbm files are supported
      (.hbm file is simply a collection of hbmk2 options
      which do not form a separate subproject). To refer
      to such built-in .hbm files, one should use $<filename.hbm>
      It's a straightforward way to ship ready-made
      collections of options for specific purposes, without
      installing external .hbm files. Filenames are case-sensitive.
      NOTE: When referring to built-in .hbm files, it will
      behave as it was part of the parent make file, which
      means ${HB_DIR}, ${HB_DIRNAME}, ${HB_NAME}, ${HB_SELF}
      will return the parent file, not the name of the
      built-in file itself.
      As usual you can override any options by placing
      them after including the .hbm file.
    + added option to remove files added via -instfile=
      option by using -instfile=[<group>:]. All files added
      to the specified group will be removed from the list.
      Note that removing internally added files by hbmk2
      itself (f.e. the main built target (empty group) and
      implibs ('implib', 'depimplib', 'depimplibsrc')) have
      undefined results, so avoid it.
    ! fixed to use THREAD STATIC instead of STATIC in some
      places (could not cause problems in current usage)
    * use hb_HCaseMatch() instead of hb_HSetCaseMatch()
2012-10-09 17:45:57 +00:00
Viktor Szakats
6e22f986a8 2012-10-09 19:38 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.*.po
  * utils/hbmk2/hbmk2.prg
    + added experimental feature to embed whole build-file
      logic into the hbmk2 executable and reference these
      from user make files. Currently .hbm files are supported
      (.hbm file is simply a collection of hbmk2 options
      which do not form a separate subproject). To refer
      to such built-in .hbm files, one should use $<filename.hbm>
      It's a straightforward way to ship ready-made
      collections of options for specific purposes, without
      installing external .hbm files. Filenames are case-sensitive.
      NOTE: When referring to built-in .hbm files, it will
      behave as it was part of the parent make file, which
      means ${HB_DIR}, ${HB_DIRNAME}, ${HB_NAME}, ${HB_SELF}
      will return the parent file, not the name of the
      built-in file itself.
      As usual you can override any options by overriding
      them after including the .hbm file.
    + added option to remove files added via -instfile=
      option by using -instfile=[<group>:]. All files to
      the specified group will be removed. Note that
      removing internally added files by hbmk2 itself
      (f.e. the main built target and implibs) have
      undefined results, so avoid it.
    ! fixed to use THREAD STATIC instead of STATIC in some
      places (could not cause problems in current usage)
    * use hb_HCaseMatch() instead of hb_HSetCaseMatch()

  + utils/hbmk2/pkg_inst.hbm
  * utils/hbmk2/hbmk2.prg
    + added built-in .hbm file named '$hb_pkg_install.hbm'
      Its purpose is to provide complete 'install' logic
      for external projects. It will install .hb, .hbx,
      .ch, .txt, tests/* files, along with installing
      necessary libs, dynlibs and implibs. It honors
      HB_INSTALL_3RDDYN and HB_INSTALL_IMPLIB settings.

  * extras/hbusb/hbusb.hbp
    + use $hb_pkg_install.hbm instead of rolling the complete
      install logic locally.

  * utils/hbmk2/Makefile
    + added Harbour compiler option so that files from subdirs
      can be included (not yet used)
2012-10-09 17:39:06 +00:00
Viktor Szakats
3c2e02e106 2012-10-09 13:42 UTC+0200 Viktor Szakats (harbour syenar.net)
* extras/hbusb/hbusb.hbp
    * minor cleanup to prev
2012-10-09 11:43:14 +00:00
Viktor Szakats
2e6654b24c 2012-10-09 13:34 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + added ${HB_ADDONS} macro which will return the path
      of the default addons dir, where 3rd party project might
      deploy their distributable files (headers, libs, etc)
      Note, the return value doesn't have an ending backslash,
      so you need to add it if you need it.

  * extras/hbusb/hbusb.hbp
    + added sample usage of full installation of this package,
      utilizing ${HB_ADDONS} macro. This method can be used by
      any 3rd party project.
    * minor cleanup to force the implib name to a value
      to avoid problems with double extension ("libusb-1.0")

  * extras/hbusb/tests/hbmk.hbm
    * since hbusb is installed now, the relative reference
      to hbusb.hbc could be changed to simply 'hbusb.hbc' and
      autofind will find it.
2012-10-09 11:36:34 +00:00
Viktor Szakats
e6d4871bfe 2012-10-09 11:12 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/gtwvg/class.prg
  * contrib/gtwvg/syswnd.prg
  * contrib/hbgd/gdchart.prg
    + using HB_IS*() for strict type checking instead of 'IF x == NIL'
      check recently converted from DEFAULT TO commands.
      This is INCOMPATIBLE for cases where wrong type was passed
      for these parameters.

  * contrib/xhb/cstruct.prg
  * contrib/xhb/tcgi.prg
  * src/debug/dbghelp.prg
  * src/debug/dbgtmenu.prg
  * src/debug/dbgtmitm.prg
  * src/debug/debugger.prg
  * contrib/hbhttpd/core.prg
  * contrib/hbpgsql/tests/cache.prg
  * contrib/hbpgsql/tpostgre.prg
  * contrib/hbnf/metaph.prg
  * extras/gtwvw/tests/ebtest7.prg
  * extras/guestbk/testcgi.prg
  * extras/gfspell/spell.prg
    % deleted 3rd parameter from expressions 'StrTran( x, y, "" )'
      Empty string is the default.

  * contrib/xhb/cstruct.prg
    ! fixed formatting and indentation using hbformat and manually

  * utils/hbmk2/hbmk2.prg
    % minor opt by replacing 'iif( ! Empty(' with 'iif( Empty('
2012-10-09 09:19:19 +00:00
Viktor Szakats
ec2b883726 2012-10-08 23:27 UTC+0200 Viktor Szakats (harbour syenar.net)
* extras/hbvpdf/hbvpdf.ch
  * extras/hbvpdf/hbvpdf.prg
    * changed DEFAULT TO to __defaultNIL()
    ! deleted common.ch and fileio.ch from public header file.
      INCOMPATIBLE. If you need these, include them explicitly.
2012-10-08 21:28:34 +00:00
Viktor Szakats
ae7906d528 2012-10-08 22:49 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/gtwvg/tests/activex.prg
  * contrib/gtwvg/tests/cuigdlgs.prg
  * contrib/gtwvg/tests/demowvg.prg
  * contrib/gtwvg/tests/demowvg1.prg
  * contrib/gtwvg/tests/demoxbp.prg
  * contrib/gtwvg/tests/dyndlgs.prg
  * contrib/gtwvg/tests/modal.prg
  * contrib/gtwvg/tests/tbrowser.prg
  * contrib/gtwvg/tests/utils.prg
  * contrib/gtwvg/tests/wvtcls.prg
  * contrib/gtwvg/tests/xbp.prg
  * contrib/hbgd/gdchart.prg
  * extras/hbvpdf/hbvpdf.prg
  * extras/httpsrv/modules/cookie.prg
  * extras/httpsrv/modules/showcounter.prg
    * changed DEFAULT TO to hb_default()/__defaultNIL()
    * deleted common.ch from all files. It's not used anymore
      in Harbour repo.
2012-10-08 20:51:51 +00:00
Viktor Szakats
1f08777480 2012-10-08 22:09 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/gtwvg/activex.prg
  * contrib/gtwvg/class.prg
  * contrib/gtwvg/crt.prg
  * contrib/gtwvg/menubar.prg
  * contrib/gtwvg/paint.prg
  * contrib/gtwvg/parthdlr.prg
  * contrib/gtwvg/pushbut.prg
  * contrib/gtwvg/statbar.prg
  * contrib/gtwvg/static.prg
  * contrib/gtwvg/syswnd.prg
  * contrib/gtwvg/tabpage.prg
  * contrib/gtwvg/toolbar.prg
  * contrib/gtwvg/wnd.prg
  * extras/httpsrv/cgifunc.prg
  * extras/httpsrv/cookie.prg
  * extras/httpsrv/session.prg
  * extras/httpsrv/uhttpd.prg
    * use __defaultNIL() instead of DEFAULT TO
    * deleted common.ch from all files

  * contrib/hbmisc/numtxtru.prg
    % minor optimization

  * contrib/hbmisc/tests/numtxtru.prg
    * avoid using a .dbf as output, instead use STDOUT
    * added lines to make it work using hbrun
    * switched output and HVM to UTF-8, so it can be
      displayed on more systems (both as stdalone exe 
      and as hbrun script)
2012-10-08 20:14:46 +00:00
Pavel Tsarenko
6ba85d71df 2012-10-08 21:55 UTC+0300 Pavel Tsarenko (tpe2 at mail.ru)
* contrib/hbmisc/numtxtru.prg
  * contrib/hbmisc/tests/numtxtru.prg
    * some fixes for unicode support
2012-10-08 18:59:09 +00:00
Viktor Szakats
c20104e3b3 2012-10-08 20:04 UTC+0200 Viktor Szakats (harbour syenar.net)
* .gitattributes
    ! fixed the two attribute exceptions
2012-10-08 18:05:31 +00:00
Viktor Szakats
d554fd3e64 2012-10-08 19:32 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/xhb/dbgfx.prg
  * contrib/xhb/decode.prg
  * contrib/xhb/dumpvar.prg
  * contrib/xhb/hblognet.prg
  * contrib/xhb/hjwindow.prg
  * contrib/xhb/htjlist.prg
  * contrib/xhb/htmutil.prg
  * contrib/xhb/stream.prg
  * contrib/xhb/tcgi.prg
  * contrib/xhb/tedit.prg
  * contrib/xhb/tfile.prg
  * contrib/xhb/tframe.prg
  * contrib/xhb/thtm.prg
  * contrib/xhb/ttable.prg
  * contrib/xhb/txml.prg
  * contrib/xhb/xhbcomp.prg
  * contrib/xhb/xhberr.prg
  * contrib/xhb/xhbfunp.prg
  * contrib/xhb/xhbmemo.prg
  * contrib/xhb/xhbole.prg
  * contrib/xhb/xhbtedit.prg
  * contrib/xhb/xhw32prn.prg
    * use __defaultNIL() instead of DEFAULT TO
    * deleted common.ch from all files
2012-10-08 18:01:04 +00:00
Viktor Szakats
fd37bdb934 2012-10-08 19:14 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/xhb/hjwindow.prg
  * contrib/xhb/htmutil.prg
  * contrib/xhb/thtm.prg
    * avoid multiline DEFAULT TO cmds
    * avoid DEFAULT TO with complex expressions
    ! fixed one commented DEFAULT := cmd
2012-10-08 17:15:28 +00:00
Viktor Szakats
90dfbb1e40 2012-10-08 19:00 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbmisc/numtxtru.prg
    ! don't use # op.
2012-10-08 17:01:42 +00:00
Przemyslaw Czerpak
54b81df2cc 2012-10-08 18:37 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/cdpapihb.c
    % minor optimization

  * harbour/contrib/hbmisc/numtxtru.prg
    ! fixed SVN attributes
    * indenting
2012-10-08 16:37:56 +00:00
Viktor Szakats
29729b843c 2012-10-08 18:11 UTC+0200 Viktor Szakats (harbour syenar.net)
+ contrib/hbmisc/tests/numtxtru.prg
  * contrib/hbmisc/numtxtru.prg
  * contrib/hbmisc/hbmisc.hbx
  * tests/testmny.prg
    * applied coding standards (no common.ch, no '=' op, move test
      code to separate source, use iif(), unicode support, UTF-8/ASCII
      source only, use svn props, use IS*()/hb_default() functions,
      updated .hbx)
    * changed interface to accept language code as string
      instead of numeric constant.
    ; Please review
2012-10-08 16:15:35 +00:00
Przemyslaw Czerpak
5003c0cb97 2012-10-08 17:40 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/compiler/harbour.y
  * harbour/src/compiler/harbour.yyc
    * minor formatting

  * harbour/contrib/hbct/ctwfunc.c
  * harbour/contrib/hbct/ctwin.c
  * harbour/contrib/hbct/ctwin.h
    + added undocumented CT3 window functions:
         WALIAS( <nHandle> ) -> <nHandle> | -1
            change current window handle to <nHandle>
            if <nHandle> is not used by other window.
            return <nHandle> on success or -1 to indicate error.
            Warning: I replicated CT3 limit here so <nHandle>
                     cannot be bigger then 255
         WLIST() -> <cHandleList>
         _WSTACK() -> <cHandleList>
            return string with window handles in each character,
            the ASCII value of the first character is handle of the
            most bottm window and the last character is the top window.
            Warning: this is compatibility only function
                     which works correctly for first 255 windows.
                     Harbour does not have any internal limits on
                     maximum number of windows so it's possible
                     to create more then 255 windows and this function
                     will return wrong results.
2012-10-08 15:40:59 +00:00
Pavel Tsarenko
7891ee184b 2012-10-08 18:28 UTC+0300 Pavel Tsarenko (tpe2 at mail.ru)
* contrib/hbmisc/hbmisc.hbp
  + contrib/hbmisc/numtxtru.prg
    + added functions to convert a number and date to East Slavic (Russian,
      Ukrainian and Belorussian) text:
      NumToTxtRU() - convert a number
      MnyToTxtRU() - convert a money
      DateToTxtRU() - convert a date
  + tests/testmny.prg
    + added sample class Money with overloading of arithmetical operations
2012-10-08 15:31:49 +00:00
Viktor Szakats
a350ea4610 2012-10-08 15:49 UTC+0200 Viktor Szakats (harbour syenar.net)
+ .gitattributes
    + added config file to setup EOL handling in a git repo
2012-10-08 13:50:41 +00:00
Viktor Szakats
63d482000e 2012-10-08 15:28 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbmlzo/3rd/minilzo/minilzo.hbp
  - contrib/hbmlzo/3rd/minilzo/README.LZO
  + contrib/hbmlzo/3rd/minilzo/README
    * avoid non-standard filename extensions
2012-10-08 13:29:09 +00:00
Viktor Szakats
aaa7d2fdad 2012-10-08 15:14 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rdd/usrrdd/rdds/arrayrdd.prg
    * deleted reference to INSTALL

  * website/faq/harbour17.html
  * website/faq/harbour27.html
    * updated dead links to source repository

  * INSTALL
  * website/changelog.html
  * website/index.html
  * website/menu/harbour-menu.js
    * updated links to source repository to point to SVN directly
      instead of viewvc UI

  * doc/howtorep.txt
    * deleted svn:keywords property
    * cleaned
2012-10-08 13:17:48 +00:00
Viktor Szakats
93725cca9d 2012-10-08 02:29 UTC+0200 Viktor Szakats (vszakats syenar.net)
* package/winuni/mpkg_win_uni.bat
  * package/winuni/mpkg_win_uni.nsi
  - package/winuni/HARBOUR_README_ADDONS
  - package/winuni/HARBOUR_README_DJGPP
  - package/winuni/HARBOUR_README_MINGW
  - package/winuni/HARBOUR_README_MINGW64
  - package/winuni/HARBOUR_README_MINGWARM
  - package/winuni/HARBOUR_README_POCC
  - package/winuni/HARBOUR_README_WATCOM
  + package/winuni/HARBOUR_README_ADDONS.txt
  + package/winuni/HARBOUR_README_DJGPP.txt
  + package/winuni/HARBOUR_README_MINGW.txt
  + package/winuni/HARBOUR_README_MINGW64.txt
  + package/winuni/HARBOUR_README_MINGWARM.txt
  + package/winuni/HARBOUR_README_POCC.txt
  + package/winuni/HARBOUR_README_WATCOM.txt
    * renamed these files to have an extension
2012-10-08 00:31:05 +00:00
Viktor Szakats
1ddb92d573 2012-10-08 00:47 UTC+0200 Viktor Szakats (vszakats syenar.net)
* INSTALL
    + added git next to svn

  * website/snapshot.html
    * avoid the word 'subversion'
2012-10-07 22:48:47 +00:00
Viktor Szakats
297954a73f 2012-10-08 00:39 UTC+0200 Viktor Szakats (harbour syenar.net)
* ChangeLog
    ! fixed some recent chglog entry headers
2012-10-07 22:40:47 +00:00
Viktor Szakats
079551ba1d 2012-10-08 00:31 UTC+0200 Viktor Szakats (harbour syenar.net)
* bin/commit.hb
    * made git detection generic
    ! fixed calling shell on OS/2

  * config/global.mk
    * minor sync with other parts of Harbour

  * contrib/hbblink/blinker.prg
    ! fixed SWPRUNCMD() on OS/2

  * contrib/hbxpp/runshell.prg
    ! fixed for RUNSHELL() on non-*nix platforms
2012-10-07 22:34:24 +00:00
Viktor Szakats
f247467d11 2012-10-07 23:38 UTC+0200 Viktor Szakats (vszakats syenar.net)
* doc/Makefile
  - doc/howtosvn.txt
  + doc/howtorep.txt
  * NEWS
  * website/news1.html
    * renamed to neutral name

  * .gitignore
    - deleted .svn

  * bin/commit.hb
    + added support for git

  * config/global.mk
    + added support for git (commented)

  * contrib/hbpost.hbm
    * avoid the word SVN
2012-10-07 21:39:53 +00:00
Viktor Szakats
9d167e87a4 2012-10-07 22:56 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/common/hbverdsp.c
    ! fix to previous commit

  * contrib/xhb/trpc.prg
    * formatting

  * src/rtl/achoice.prg
    * modified in-source bug example to use hb_keyPut()
2012-10-07 20:58:29 +00:00
Viktor Szakats
bc745c3b75 2012-10-07 22:49 UTC+0200 Viktor Szakats (vszakats syenar.net)
* contrib/hbhttpd/readme.txt
  * doc/dirstruc.txt
  * doc/xhb-diff.txt
  * include/hbapi.h
  * INSTALL
  * NEWS
  * src/common/hbver.c
  * src/main/harbour.c
  * src/pp/hbpp.c
  * src/rtl/version.c
  * src/vm/cmdarg.c
    * Avoiding the word "SVN" (use 'source repository',
      'repository' or 'repo' for short)
    * Added new names that don't refer to SVN:
      C level:
      - hb_verRevision()           (was: hb_verSvnID())
      - hb_verChangeLogID()        (was: hb_verSvnChangeLogID())
      - hb_verChangeLogLastEntry() (was: hb_verSvnLastEntry())
      .prg level:
      - HB_VER_REVID built-in macro (was: HB_VER_SVNID)
    ; Old functions/macros will be deleted after next major
      revision, start using the new names until then.
2012-10-07 20:54:02 +00:00
Viktor Szakats
7c33ccc88d 2012-10-07 18:06 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/debug/dbgtinp.prg
  * src/debug/dbghelp.prg
  * src/debug/dbgtmenu.prg
  * src/debug/dbgtmitm.prg
  * src/debug/dbgtwin.prg
  * src/debug/dbgwa.prg
  * contrib/hbtip/tests/tiptest.prg
    ! fixed drawing and keyboard handling to be unicode compatible

  * contrib/hbxpp/hbxpp.ch
    + added unicode compatible box drawing macros

  * contrib/hbmxml/tests/custom.prg
    ! use Chr() instead of using keyboard macro

  * contrib/hbnf/doc/en/setkeys.txt
  * contrib/hbnf/doc/en/setlastk.txt
    ! use unicode compatible code

  * contrib/hbtip/smtpcli.prg
  * contrib/hbtip/thtml.prg
    * use string literal instead of chr() call

  * tests/db_brows.prg
    ! fixed mistake in a recently added hb_keyChar() check
2012-10-07 16:14:10 +00:00
Viktor Szakats
08ea92693e 2012-10-07 17:25 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/debug/debugger.prg
    ! replaced KEYBOARD cmd unicode compatible call

  * contrib/hbct/doc/en/token1.txt
  * contrib/hbct/tests/charadd.prg
  * contrib/hbct/tests/charand.prg
  * contrib/hbct/tests/charor.prg
  * contrib/hbct/tests/charsub.prg
  * contrib/hbct/tests/tab.prg
  * contrib/hbnf/doc/en/scancode.txt
  * contrib/xhb/hterrsys.prg
  * contrib/xhb/html.ch
  * doc/en/file.txt
  * doc/en/input.txt
  * doc/en/memo.txt
  * doc/en/misc.txt
  * doc/en/set.txt
  * doc/en/terminal.txt
  * extras/gfspell/spell.prg
  * extras/gtwvw/wvwedit.c
  * extras/hbdoc/genhtml.prg
  * extras/hbdoc/genxml.prg
  * extras/hbdoc/hbdoc.prg
  * extras/hbvpdf/hbvpdf.prg
  * extras/httpsrv/cgifunc.prg
  * extras/httpsrv/uhttpd.prg
  * tests/rto_get.prg
  * tests/rto_tb.prg
    * formatting
2012-10-07 15:29:56 +00:00
Viktor Szakats
0117fa62b5 2012-10-07 15:10 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbnf/aavg.prg
  * contrib/hbnf/adessort.prg
  * contrib/hbnf/amedian.prg
  * contrib/hbnf/anomatch.prg
  * contrib/hbnf/any2any.prg
  * contrib/hbnf/asum.prg
  * contrib/hbnf/clrsel.prg
  * contrib/hbnf/d2e.prg
  * contrib/hbnf/ftround.prg
  * contrib/hbnf/invclr.prg
  * contrib/hbnf/nwsem.prg
  * contrib/hbnf/popadder.prg
  * contrib/hbnf/tbwhile.prg
  * contrib/hbnf/tests/clrsel.prg
  * contrib/hbnf/tests/d2e.prg
    * do not use common.ch. __defaultNIL() is used instead, for
      full compatibility here. Should ideally be changed to
      hb_default(), but it will break RTE compatibility for
      invalid values. Should we do it? (this would also fix 
      calling internal functions from a contrib)

  * contrib/hbnf/tests/d2e.prg
    ! fixed defaulting to wrong value (regression)

  * extras/gtwvw/tests/drawimg.prg
  * extras/gtwvw/tests/ebtest7.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
    * do not use common.ch. Use hb_default() instead.

    ; Only gtwvg, hbgd, xhb and httpsrv remain to use common.ch
      for DEFAULT TO command. Notice it's bad practice since it
      only checks for NIL for defaulting, so RTE can easily be
      forced by passing a value of wrong type. DEFAULT TO can
      be directly replaced with __defaultNIL(), or ideally with
      hb_default(). Notice that hb_default() is a pure function,
      and since the default value needs to be evaluated even if
      correctly typed parameter is passed, it may have
      a performance penalty if that default value is coming as
      a result of complex expression or function call. I value
      type safety more than performance, so in most cases this
      is IMO a useful compromise, though of course someone might
      as well use 'IF ! HB_IS*( xVar ); xVar := xValue; ENDIF'
      which is type safe while having no extra RT performance
      penalty, though a bit verbose.

  * tests/hbpptest/hbpptest.prg
  * utils/hbtest/rt_misc.prg
    * do not include unused common.ch

  * contrib/xhb/cgi.ch
    * formatting
2012-10-07 13:13:07 +00:00
Przemyslaw Czerpak
d4f903942a 2012-10-07 14:40 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbcomp.h
  * harbour/src/compiler/hbmain.c
  * harbour/src/compiler/hbstripl.c
    % eliminate repeated HB_P_LINE pcodes bound by unconditional jump
      This optimization is not enabled when debug mode (-b) is used.

  * harbour/include/hberrors.h
  * harbour/src/compiler/hbgenerr.c
  * harbour/src/compiler/harbour.y
  * harbour/src/compiler/harbour.yyc
    + added new compile time error: "Duplicate case value"
2012-10-07 12:41:26 +00:00
Viktor Szakats
5a6f0fc81f 2012-10-06 17:20 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/checkbox.prg
    ! another very old visual bug on the appearance of non-checked 
      checkbox.
2012-10-06 15:21:31 +00:00
Viktor Szakats
37bc1587e0 2012-10-06 16:06 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/debug/dbgwa.prg
  * src/rtl/browse.prg
  * src/rtl/dbedit.prg
    % deleted EXIT from SWITCH statements' OTHERWISE branches.
      (it'd be nice if the compiler could ignore these
      automatically - in case it can be solved with low cost)
2012-10-06 14:08:18 +00:00
Viktor Szakats
29bf406149 2012-10-06 15:54 UTC+0200 Viktor Szakats (vszakats syenar.net)
* extras/gtwvw/tests/prog2.prg
  * extras/gtwvw/tests/wvwtest9.prg
  * src/debug/debugger.prg
  * src/rtl/tgetlist.prg
  * tests/sbartest.prg
  * tests/tb1.prg
    ! further cases of object vars called as methods, though
      these didn't (necessarily) caused errors.
      I wish Harbour had a native core OOP engine to catch
      all (there are more cases than above) this mess at
      compile-time.
2012-10-06 13:56:43 +00:00
Viktor Szakats
a091b66fe6 2012-10-06 15:26 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/browse.prg
    ! fixed not appending a new record when pressing K_DOWN
      in append mode (and perhaps some other cases)
      The problem was using 'oBrw:HitBottom( .T. )' instead
      of 'oBrw:HitBottom := .T.'
    * minor optimizations and cleanup.
    ; Some stats: it was a 5 year old bug
      took about 10 hours to find the solution. Sheet.
2012-10-06 13:29:44 +00:00
Viktor Szakats
9dba4f1b98 2012-10-06 12:05 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/xhb/cstructc.c
  * contrib/xhb/dbf2txt.c
  * contrib/xhb/fparse.c
  * contrib/xhb/hbxml.c
  * contrib/xhb/xhbis.c
    * minor formatting
    * use ',' instead of 44

  * extras/gtwvw/gtwvw.c
    ! fixed one code line after uncrustify
2012-10-06 10:06:59 +00:00
Viktor Szakats
32b1d1badb 2012-10-06 02:14 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/browse.prg
    * use K_* constant

  * contrib/hbgd/tests/counter.prg
  * contrib/hbmxml/tests/testmxml.prg
  * contrib/hbnetio/netiomt.prg
  * contrib/hbnetio/utils/hbnetio/netiosrv.prg
  * contrib/hbtip/thtml.prg
  * contrib/hbwin/tests/olesrv1.prg
  * src/debug/dbgtinp.prg
  * src/debug/dbgwa.prg
  * src/debug/debugger.prg
  * src/rdd/hbsix/sxcompat.prg
  * src/rdd/hbsix/sxini.prg
  * src/rdd/hbsix/sxtrig.prg
  * src/rtl/dbedit.prg
  * src/rtl/menuto.prg
  * src/rtl/readkey.prg
  * src/rtl/tclass.prg
  * src/rtl/treport.prg
    * SWITCH indentation synced with hbformat style

  * ChangeLog
    ! fixed typo in a recent entry

  * contrib/hbzebra/tests/testcair.prg
  * tests/testcdx.prg
    * minor
2012-10-06 00:22:22 +00:00
Viktor Szakats
50f2d06158 2012-10-05 22:31 UTC+0200 Viktor Szakats (vszakats syenar.net)
* contrib/hbmisc/fileread.prg
  * contrib/hbmisc/tests/readfile.prg
  * contrib/hbmisc/tests/rtfclass.prg
  * contrib/hbmisc/tests/testhbf.prg
  * contrib/hbmisc/tests/twirl.prg
    * minor cleanups, hbformat, using fileio.ch constants, 
      minor regression in one test app
2012-10-05 20:33:30 +00:00
Viktor Szakats
47c6d171d1 2012-10-05 22:10 UTC+0200 Viktor Szakats (vszakats syenar.net)
* contrib/xhb/hterrsys.prg
  * contrib/xhb/htmutil.prg
  * contrib/xhb/tfile.prg
  * contrib/xhb/xhberr.prg
  * doc/en/file.txt
  * extras/gfspell/spell.prg
  * extras/guestbk/testcgi.prg
  * extras/httpsrv/cgifunc.prg
  * extras/httpsrv/uhttpd.prg
  * tests/inifiles.prg
  * utils/hbmk2/hbmk2.prg
    ! TCgiFile():Tell() fixed to return correct value
    * use fileio.ch constants instead of literals
2012-10-05 20:11:47 +00:00
Viktor Szakats
e0146bde32 2012-10-05 21:31 UTC+0200 Viktor Szakats (vszakats syenar.net)
* extras/hbvpdf/hbvpdf.prg
    ! s&r typo in recent mods

  * extras/hbvpdf/hbvpsup.prg
    ! typo in recent mods

  * contrib/hbnf/doc/en/mouse2.txt
  * contrib/xhb/xhbtedit.prg
  * extras/gfspell/spell.prg
  * extras/hbvpdf/tests/pdf_demo.prg
    * .not. -> !

  * contrib/hbformat/hbfmtcls.prg
    + enabled to convert .not. to ! by default
2012-10-05 19:35:54 +00:00
Viktor Szakats
d16c818422 2012-10-05 19:22 UTC+0200 Viktor Szakats (vszakats syenar.net)
* contrib/gtwvg/syswnd.prg
  * contrib/gtwvg/tests/tbrowser.prg
  * contrib/gtwvg/treeview.prg
  * contrib/hbct/doc/en/dattime3.txt
  * contrib/hbtip/tests/tiptest.prg
  * contrib/xhb/trpc.prg
  * contrib/xhb/xhbtedit.prg
  * extras/gfspell/spell.prg
  * src/rdd/dbjoin.prg
  * src/rtl/tpopup.prg
  * tests/testrdd2.prg
    * TRIM() -> RTRIM()
2012-10-05 17:26:37 +00:00
Viktor Szakats
a9d6209ada 2012-10-05 18:56 UTC+0200 Viktor Szakats (harbour syenar.net)
* tests/tb1.prg
    ! fixed unicode for some cases
2012-10-05 16:57:35 +00:00
Viktor Szakats
f393a30b6b 2012-10-05 18:08 UTC+0200 Viktor Szakats (vszakats syenar.net)
* contrib/xhb/arrayblk.prg
  * contrib/xhb/dbgfx.prg
  * contrib/xhb/dumpvar.prg
  * contrib/xhb/hblognet.prg
  * contrib/xhb/hjwindow.prg
  * contrib/xhb/hterrsys.prg
  * contrib/xhb/htjlist.prg
  * contrib/xhb/htmutil.prg
  * contrib/xhb/tcgi.prg
  * contrib/xhb/tfile.prg
  * contrib/xhb/trpc.prg
  * contrib/xhb/trpccli.prg
  * contrib/xhb/ttable.prg
  * contrib/xhb/txml.prg
  * contrib/xhb/xcstr.prg
  * contrib/xhb/xdbmodst.prg
  * contrib/xhb/xhberr.prg
  * contrib/xhb/xhbtedit.prg
    * hbformatted, manually corrected
    * few corrections to use constants, hb_BChar()
2012-10-05 16:10:52 +00:00
Viktor Szakats
69e0fe3045 2012-10-05 12:55 UTC+0200 Viktor Szakats (vszakats syenar.net)
* contrib/hbct/tests/ctwtest.prg
  * contrib/hbwin/tests/testole.prg
  * contrib/xhb/cstruct.prg
  * contrib/xhb/dumpvar.prg
  * contrib/xhb/hblog.prg
  * contrib/xhb/htmutil.prg
  * contrib/xhb/thtm.prg
  * contrib/xhb/traceprg.prg
  * contrib/xhb/trpccli.prg
  * contrib/xhb/xhberr.prg
  * extras/gtwvw/tests/wvwtest9.prg
  * extras/hbvpdf/hbvpdf.ch
  * extras/hbvpdf/hbvpdf.prg
  * extras/httpsrv/session.prg
  * extras/httpsrv/uhttpd.prg
  * tests/gtkeys.prg
  * tests/tb1.prg
  * tests/wvtext.prg
    * use hb_keyCode(), hb_keyChar(), hb_ntos() (with __HARBOUR__)
    * some xhb lib sources hbformatted along the way

  * contrib/xhb/traceprg.prg
  * contrib/xhb/trpc.prg
    * hbformat, hand corrections

  * extras/hbvpdf/hbvpdf.hbp
  - extras/hbvpdf/hbvpdft.prg
  - extras/hbvpdf/tests/tstpdf.prg
    - deleted duplicated code that implements hbvpdf functionality
      in an OOP flavor. Please rework it in a way that it uses
      the underlying API and avoid copy/pasting complete source.
2012-10-05 11:06:32 +00:00
Viktor Szakats
51135325c3 2012-10-05 11:59 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/philes.c
    ! HB_FGETDATETIME(): make sure to set the referential
      parameters to empty values when a failure is detected.
2012-10-05 10:01:12 +00:00
Viktor Szakats
fffcfb0c4f 2012-10-05 11:55 UTC+0200 Viktor Szakats (harbour syenar.net)
* config/postinst.hb
  * utils/hbmk2/hbmk2.prg
    + Use the second parameter in HB_CWD() calls.

  * contrib/hbformat/hbfmtcls.prg
    ! fixed embedded comment in last commit.
2012-10-05 09:57:19 +00:00
Przemyslaw Czerpak
8946553dc8 2012-10-05 10:28 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/philes.c
    * modified HB_CWD() to return previous path if new one is set by
      optional parameter so current syntax is:
         HB_CWD( [ <cNewWD> ] ) -> <cPrevWD>
    + set FError() in HB_CWD() function. Now programmer can check if HB_CWD()
      succeed checking result of FError() function, i.e.
            HB_CWD( cNewPath )
            IF FError() != 0
               ? "Cannot set working directory to:", cNewPath
            ELSE
               // stuff
            ENDIF
    + set FError() in the following functions:
         HB_FGETATTR(), HB_FSETATTR(),
         HB_FGETDATETIME(), HB_FSETDATETIME(),
         HB_FISDEVICE()
2012-10-05 08:28:51 +00:00