Commit Graph

17828 Commits

Author SHA1 Message Date
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
Viktor Szakats
06f0b235dd 2012-10-05 03:01 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbformat/hbfmtcls.prg
    + added TOFIX

  * INSTALL
    + added http://sourceforge.net/projects/mingwbuilds/ as 
      recommended source for mingw builds (both 32 and 64 bit)
      Be aware that these are not QT-compatible (as of now), 
      but they seem to be much faster at compile time.

  * tests/tscmdarg.c
    * formatting
2012-10-05 01:03:41 +00:00
Viktor Szakats
4b69cde522 2012-10-05 02:40 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/gtwvg/*.prg
    * formatted using hbformat, critical manual fixups
    ; TOFIX: hbformat breaks code like this:
         FUNCTION Hello( /* comment */ )

  * contrib/gtwvg/tests/*.prg
    * formatted using hbformat, manual fixups

  * extras/gtwvw/*.c
  * extras/gtwvw/*.h
    * formatted using uncrustify + hbc.cfg
2012-10-05 00:44:28 +00:00
Viktor Szakats
6494f1b54a 2012-10-05 01:18 UTC+0200 Viktor Szakats (vszakats syenar.net)
- extras/gtwvw/readme.txt
    - empty file deleted

  * contrib/hbnf/tests/test.prg
  * tests/brwpos.prg
  * tests/db_brows.prg
    * use K_* constants

  * contrib/hbssl/pem.c
  * contrib/hbssl/ssl.c
  * contrib/hbtip/sendmail.prg
    * deleted long separator lines

  * extras/gtwvw/tests/cbtest1.prg
  * extras/gtwvw/tests/cbtest6.prg
  * extras/gtwvw/tests/drawimg.prg
  * extras/gtwvw/tests/ebtest7.prg
  * extras/gtwvw/tests/inpfocus.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/gtwvw/tests/wvwtest9.xml
    * formatted with hbformat and manually
    * minor fixes (unicode) and optimizations
2012-10-04 23:21:22 +00:00
Viktor Szakats
75f8c5bf01 2012-10-04 17:44 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/gtwvg/tests/demowvg1.prg
  * contrib/gtwvg/tests/demoxbp.prg
  * contrib/hbmisc/doc/en/ht_dbf.txt
  * doc/codebloc.txt
  * doc/pcode.txt
  * extras/gtwvw/tests/cbtest1.prg
  * extras/gtwvw/tests/cbtest6.prg
  * extras/gtwvw/tests/drawimg.prg
  * extras/gtwvw/tests/ebtest7.prg
  * extras/gtwvw/tests/inpfocus.prg
  * extras/gtwvw/tests/maximize.prg
  * extras/gtwvw/tests/prog0.prg
  * extras/gtwvw/tests/prog1.prg
  * extras/gtwvw/tests/prog2.prg
  * extras/guestbk/guestbk.prg
  * extras/httpsrv/uhttpd.prg
  * extras/rddado/tests/mysql1.prg
  * extras/rddado/tests/mysql3.prg
  * tests/clsscope.prg
  * tests/keywords.prg
  * tests/rddtest/rddtst.prg
  * tests/testwarn.prg
    * startup functions converted to PROCEDUREs

  * extras/httpsrv/uhttpd.prg
    ! fixed to return errorlevels using ERRORLEVEL() 
      function instead of Main() return value.
2012-10-04 15:46:03 +00:00
Viktor Szakats
6dde6b10fe 2012-10-04 17:11 UTC+0200 Viktor Szakats (harbour syenar.net)
* tests/aliaslck.prg
  * tests/files.prg
  * tests/inherit.prg
  * tests/newrdd.prg
  * tests/omacro.prg
  * tests/testcdx.prg
  * tests/testdbf.prg
  * tests/testrdd.prg
  * tests/testrdd2.prg
  * tests/tstuse.prg
  * tests/wcecon.prg
    ! fixed to deleted test dbfs/indexes/dirs created along the way
    ! misc other corrections
2012-10-04 15:18:50 +00:00
Viktor Szakats
87bfc2c1b1 2012-10-04 13:25 UTC+0200 Viktor Szakats (harbour syenar.net)
* extras/httpsrv/uhttpd.prg
  * tests/db_brows.prg
  * tests/inherit.prg
  * tests/stripem.prg
    - deleted now unnecessary SET EXACT settings. There is none 
      of those in Harbour repo anymore.
2012-10-04 11:26:13 +00:00
Viktor Szakats
4c8277ea01 2012-10-04 13:20 UTC+0200 Viktor Szakats (harbour syenar.net)
- tests/testtok.prg
    - deleted obsolete token test code

  * contrib/hbformat/hbfmtcls.prg
  * contrib/hbgd/tests/test_out.prg
  * contrib/hbhttpd/core.prg
  * contrib/hbmxml/tests/custom.prg
  * contrib/hbmxml/tests/testmxml.prg
  * contrib/hbnf/ftround.prg
  * contrib/hbpgsql/tpostgre.prg
  * contrib/hbtip/ftpcli.prg
  * extras/gfspell/spell.prg
  * extras/gtwvw/tests/ebtest7.prg
  * extras/hbvpdf/hbvpdf.prg
  * extras/hbvpdf/hbvpdft.prg
  * extras/httpsrv/cgifunc.prg
  * extras/httpsrv/session.prg
  * extras/httpsrv/uhttpd.prg
  * src/debug/dbgtmenu.prg
  * src/debug/debugger.prg
  * tests/db_brows.prg
  * tests/inherit.prg
  * tests/rto_tb.prg
  * tests/stripem.prg
  * utils/hbi18n/hbi18n.prg
    ! fixed/avoided != operator on strings
2012-10-04 11:22:13 +00:00
Viktor Szakats
c0dc8c254d 2012-10-04 12:47 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/tget.prg
    ! fixed regression from 2012-01-29 17:22 UTC+0100
      when non-numeric index was allowed on a non-hash
      variable and then an RTE generated.
      Caused rto_get.prg to RTE in the middle.

  * contrib/gtwvg/activex.prg
  * contrib/gtwvg/class.prg
  * contrib/gtwvg/tests/demoxbp.prg
  * contrib/gtwvg/tests/utils.prg
  * contrib/rddads/doc/en/adsfuncs.txt
  * contrib/rddads/doc/en/readme.txt
  * contrib/xhb/tfile.prg
  * contrib/xhb/txml.prg
  * contrib/xhb/xhbole.prg
  * doc/windll.txt
  * extras/gtwvw/gtwvw.c
  * extras/gtwvw/hbgtwvw.h
  * extras/gtwvw/tests/maincoor.prg
  * extras/gtwvw/wvwcheck.c
  * extras/gtwvw/wvwdraw.c
  * extras/gtwvw/wvwedit.c
  * extras/gtwvw/wvwfuncs.c
  * extras/gtwvw/wvwmenu.c
  * extras/gtwvw/wvwpush.c
  * extras/gtwvw/wvwstbar.c
  * extras/gtwvw/wvwtbar.c
  * extras/hbdoc/tmplates.prg
  * tests/gtcolors.prg
  * tests/ipclnt.prg
  * tests/ipsvr.prg
  * tests/rto_get.prg
  * tests/rto_tb.prg
  * tests/usrrdd/exarr.prg
  * tests/usrrdd/exfcm.prg
  * tests/usrrdd/exhsx.prg
  * tests/usrrdd/exlog.prg
  * tests/usrrdd/exmemo.prg
  * tests/usrrdd/exrlx.prg
  * tests/wcecon.prg
    * full formatting using hbformat (where needed)
    * Win32 -> Windows
    * 32-bit deleted where it didn't make sense
    * using K_* constants
    ! fixed != operators where used on strings (more to come)
      Thanks to Jose F. Gimenez for the ones in txml.prg.
    * avoid "common.ch"
    % use hb_ntos() in Harbour specific code
2012-10-04 10:54:07 +00:00
Viktor Szakats
89c4211f5b 2012-10-04 04:56 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/gtwvg/tests/dyndlgs.prg
  * contrib/gtwvg/tests/wvtcls.prg
  * contrib/hbgd/tests/test_out.prg
  * contrib/hbhpdf/tests/harupdf.prg
  * contrib/hbhttpd/core.prg
  * doc/en/set.txt
  * extras/guestbk/guestbk.prg
  * extras/guestbk/inifiles.prg
  * extras/guestbk/testcgi.prg
  * extras/httpsrv/modules/tableservletdb.prg
    * formatting and EOL related cleanups
2012-10-04 02:57:27 +00:00
Viktor Szakats
a910a61f35 2012-10-04 04:21 UTC+0200 Viktor Szakats (harbour syenar.net)
* extras/httpsrv/home/index.html
    * updated reference to long deleted batch file to hbmk2 cmdline

  * tests/db_brows.prg
    * deleted inactive/broken parts
    + enable ADS APIs automatically
    ! use inkey.ch constants
    ! fixed keyboard handling for unicode
    * enabled editing (warning: do not commit modified test.dbf)
    ! fixed function names of Harbour extended functions (commented)

  * tests/newrdd.prg
    ! fixed failure due to wrongly selected RDD
    * formatting

  * tests/inherit.prg
  * tests/stripem.prg
    * various cleanups (do not add EOF char, unicode
      compatibility, use platform-specific EOL)

  * tests/inkeytst.prg
    ! fixed another unicode incompatibility for __HARBOUR__

  * tests/readhrb.prg
    % use HB_NUMTOHEX() instead of local implementation
    * formatting

  * tests/inifiles.prg
    ! untested fixes for platform independent EOL handling

  * tests/test.prg
  * tests/version.prg
    * minor
2012-10-04 02:28:44 +00:00
Viktor Szakats
b16fa77ec0 2012-10-04 02:18 UTC+0200 Viktor Szakats (harbour syenar.net)
- tests/fsplit.prg
    - deleted very old and platform specific file splitter
  * contrib/hbblat/tests/blattest.prg
    * use .bin instead of .bat
2012-10-04 00:19:33 +00:00
Viktor Szakats
6176bff43f 2012-10-04 02:11 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbct/doc/en/dattime3.txt
  * contrib/hbfbird/readme.txt
  * contrib/hbnf/color2n.c
  * contrib/hbziparc/doc/en/hbziparc.txt
  * doc/en/idle.txt
  * doc/gtapi.txt
  * doc/howtosvn.txt
  * extras/httpsrv/uhttpd.prg
  * src/lang/es.c
  * tests/flink.prg
    * reviewed platform specific parts a minor corrections made.

  * include/hbcompdf.h
    % deleted HB_LANG_OBJ32 enum
2012-10-04 00:13:27 +00:00
Viktor Szakats
7603bde7b0 2012-10-04 01:47 UTC+0200 Viktor Szakats (harbour syenar.net)
- tests/test_all.prg
    * deleted MS-DOS batch specific tool. Now hbrun can 
      be used to run tests very easily

  * contrib/hbmisc/tests/rtfclass.prg
    * platform dependent stuff deleted/fixed

  * contrib/xhb/xhbfs.c
    * corrected .prg macro to C one (doesn't change 
      compiled code)

  * tests/test.prg
    * minor

  * utils/hbmk2/hbmk2.prg
    * changed "||" operator to ".OR." in #ifdef
2012-10-03 23:50:23 +00:00