Commit Graph

852 Commits

Author SHA1 Message Date
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
Viktor Szakats
f1e651f840 2012-10-11 12:42 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/gtwin/gtwin.c
  * src/rtl/gtwvt/gtwvt.c
    + added dummy return values for certain HB_GTI_* parameters,
      so they won't RTE an app when used with the other GT.
      (the problem is wider and ideally all HB_GTI_* values
      should at least return the same _type_ with all GTs)
      So f.e. now wvtext.prg works with GTWIN, but it should
      with any GTs. The point of GTs is that they're
      _replacable_, just like RDDs.

  * tests/wvtext.prg
    + select WVT dynamically when run under hbrun.
    ! protect Windows specific parts with
      defined( __PLATFORM__WINDOWS )

  * utils/hbmk2/hbmk2.prg
    - deleted hbshell_gtInteractive() public shell API.
      INCOMPATIBLE.
    + replaced above with hbshell_gtSelect( [<cGT>] ) -> NIL
      by default <cGT> will be the default interactive 
      (positionable) GT for the given platform.
    + include GTWVT in code, so scripts can now use WVT
      if they explicitly request it with this code:
2012-10-11 10:44:04 +00:00
Viktor Szakats
aa22d7de5a 2012-10-11 01:41 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/gtwvg/class.prg
  * contrib/gtwvg/menubar.prg
  * contrib/gtwvg/paint.prg
  * contrib/gtwvg/parthdlr.prg
  * contrib/gtwvg/statbar.prg
  * contrib/hbmzip/tests/myunzip.prg
  * contrib/hbnf/aredit.prg
  * extras/gtwvw/tests/cbtest6.prg
  * 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/guestbk/inifiles.prg
  * extras/hbdoc/hbdoc.prg
  * src/debug/debugger.prg
  * src/rdd/usrrdd/rdds/arrayrdd.prg
  * src/rdd/usrrdd/rdds/hscdx.prg
  * src/rdd/usrrdd/rdds/rlcdx.prg
  * src/rtl/tbrowse.prg
  * src/rtl/tpersist.prg
  * src/rtl/tscalar.prg
  * tests/db_brows.prg
  * tests/debugtst.prg
  * tests/inifiles.prg
  * tests/mathtest.prg
    ! inifiles.prg fixed to run
    % using HB_IS*() functions instead of ValType() checks
    % using HB_AINS() instead of ASIZE()+AINS()
    % using HB_ADEL() instead of ADEL()+ASIZE()
    * some formatting

  * contrib/hbnf/popadder.prg
    * deleted ASHRINK() macro used only once

  * contrib/hbmagic/tests/hbmagit.prg
  * contrib/hbmisc/tests/rtfclass.prg
  * contrib/hbmxml/tests/testmxml.prg
  * contrib/hbsqlit3/hdbcsqlt.prg
  * contrib/xhb/trpccli.prg
  * contrib/xhb/ttable.ch
  * contrib/xhb/ttable.prg
  * contrib/xhb/xhbtedit.prg
  * extras/gtwvw/tests/wvwtest9.prg
  * utils/hbtest/rt_class.prg
    * formatting
2012-10-10 23:45:04 +00:00
Viktor Szakats
ccd39d057c 2012-10-11 00:43 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/teditor.prg
    + added three TODOs, related to Ctrl+B and Ctrl+T missing
      key implementations

  * contrib/xhb/cstruct.prg
  * contrib/xhb/hblognet.prg
  * contrib/xhb/trpc.prg
  * contrib/xhb/trpccli.prg
  * contrib/xhb/ttable.prg
  * contrib/xhb/xhberr.prg
  * contrib/xhb/xhbmemo.prg
    ! random unicode fixes where I stumbled into incompatible code
    ! fixed two 'ValType( x ) == "NI"' expressions which were never
      true. I assumed it was meant to check for numeric and replaced
      with HB_ISNUMERIC() calls.
    % ADel()/ASize() pairs replaced with hb_ADel( ,, .T. ) calls
    * removed some unnecessary parantheses and minor formatting
    ! fixed one [] operator on a string (possibly used with the
      intention to preallocate a 255 byte long string)
    * replaced K_TAB used a character constant with 9
    ! fixed one -1 array index to use ATail() instead
    ; only build-tested

  * doc/xhb-diff.txt
    ! typo regarding the meaning of a[ -1 ] in xhb

  * contrib/xhb/hbcrypt.c
    * formatted

  * contrib/xhb/xhbtedit.prg
    ! :ReformParagraph() fixed for unicode (untested)
    * :ReformParagraph() code cleaned
    * replaced all Chr( 141 ) + Chr( 10 ) references for
      a local function returning it. This code sequence
      is not unicode (UTF-8) compatible, so something
      will have to be done with it in the future.
    * minor formatting, typos in comment
    ; only build-tested
2012-10-10 22:45:32 +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
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
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
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
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
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
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
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
86a0b18c71 2012-10-04 01:04 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/harbour.hbx
  * src/rtl/hbdoc.prg
  * tests/hbdoctst.prg
    + added __hbdoc_DirLastModified( <cDir> ) -> <tLastModified>
      function that returns last modification timestamp for a
      given NF doc root directory. It returns empty date if the 
      directory doesn't exist or is empty.
      It can be used to decide whether to update .hbd files f.e. 
      in an hbmk2 plugin that builds .hbd files automatically.
2012-10-03 23:07:48 +00:00
Viktor Szakats
c33aa5aec1 2012-10-03 19:06 UTC+0200 Viktor Szakats (harbour syenar.net)
+ extras/hbvpdf/fonts.dat
  * contrib/gtwvg/*
  * extras/gtwvw/*
  * contrib/hbct/tests/addascii.prg
  * contrib/hbct/tests/expomant.prg
  * contrib/hbct/tests/finan.prg
  * contrib/hbct/tests/math.prg
  * contrib/hbct/tests/num1.prg
  * contrib/hbct/tests/trig.prg
  * contrib/hbct/tests/wordswap.prg
  * contrib/hbct/token2.c
  * contrib/hbfimage/tests/fitest.prg
  * contrib/hbmisc/stringp.prg
  * contrib/hbnf/tests/aredit.prg
  * contrib/hbpgsql/tests/cache.prg
  * contrib/hbsqlit3/tests/metadata.prg
  * contrib/hbsqlit3/tests/sl3_test.prg
  * contrib/hbtip/popcli.prg
  * contrib/hbwin/tests/olesrv4.prg
  * contrib/hbwin/tests/oletst3.prg
  * contrib/rddads/tests/datad.prg
  * contrib/xhb/hbstruct.ch
  * contrib/xhb/tcgi.prg
  * contrib/xhb/tedit.prg
  * contrib/xhb/thtm.prg
  * contrib/xhb/ttable.prg
  * contrib/xhb/txml.prg
  * contrib/xhb/xhbcls.ch
  * contrib/xhb/xhberr.prg
  * contrib/xhb/xhbtedit.prg
  * doc/en/set.txt
  * extras/guestbk/testcgi.prg
  * extras/hbvpdf/hbvpdf.prg
  * extras/hbvpdf/hbvpdft.prg
  * extras/hbvpdf/hbvpsup.prg
  * extras/hbvpdf/tests/pdf_demo.prg
  * extras/hbvpdf/tests/tstpdf.prg
  * src/compiler/hbopt.c
  * src/rtl/gtsln/gtsln.c
  * src/rtl/tlabel.prg
  * src/rtl/treport.prg
  * tests/and_or.prg
  * tests/db_brows.prg
  * tests/gtchars.prg
  * tests/mt/mttest04.prg
  * tests/mt/mttest10.prg
  * tests/parexpr.prg
  * tests/rddtest/rddtst.prg
  * tests/vec1.prg
  * utils/hbtest/rt_misc.prg
  * utils/hbtest/rt_stra.prg
  * utils/hbtest/rt_trans.prg
    * more cleanups
    % font.dat restored and now included in binary form
      in source using __streaminclude #pragma (was base64 encoded)
2012-10-03 17:13:27 +00:00
Viktor Szakats
52d3f27442 2012-10-03 17:29 UTC+0200 Viktor Szakats (harbour syenar.net)
* config/postinst.hb
  * utils/hbmk2/hbmk2.prg
    + using HB_CWD() instead of DIRCHANGE()

  - tests/speedold.prg
  * contrib/gtwvg/3state.prg
  * contrib/gtwvg/activex.prg
  * contrib/gtwvg/bitmap.prg
  * contrib/gtwvg/checkbox.prg
  * contrib/gtwvg/class.prg
  * contrib/gtwvg/combobox.prg
  * contrib/gtwvg/crt.prg
  * contrib/gtwvg/dataref.prg
  * contrib/gtwvg/dialog.prg
  * contrib/gtwvg/drawarea.prg
  * contrib/gtwvg/genrc.prg
  * contrib/gtwvg/gtwvg.c
  * contrib/gtwvg/htmlview.prg
  * contrib/gtwvg/listbox.prg
  * contrib/gtwvg/menubar.prg
  * contrib/gtwvg/mle.prg
  * contrib/gtwvg/paint.prg
  * contrib/gtwvg/parthdlr.prg
  * contrib/gtwvg/pushbut.prg
  * contrib/gtwvg/radiobut.prg
  * contrib/gtwvg/scrollbr.prg
  * contrib/gtwvg/sle.prg
  * contrib/gtwvg/statbar.prg
  * contrib/gtwvg/static.prg
  * contrib/gtwvg/syswnd.prg
  * contrib/gtwvg/tabpage.prg
  * 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/gtwvg/toolbar.prg
  * contrib/gtwvg/treeview.prg
  * contrib/gtwvg/wnd.prg
  * contrib/gtwvg/wvgcore.c
  * contrib/gtwvg/wvgcuig.c
  * contrib/gtwvg/wvtwin.ch
  * contrib/hbct/getinfo.prg
  * contrib/hbhttpd/readme.txt
  * contrib/hbhttpd/widgets.prg
  * contrib/hbmzip/tests/myunzip.prg
  * contrib/hbmzip/tests/myzip.prg
  * contrib/hbnetio/tests/netiot02.prg
  * contrib/hbnf/hex2dec.prg
  * contrib/hbsqlit3/tests/backup.prg
  * contrib/hbwin/tests/pdfcreat.prg
  * contrib/hbwin/tests/testole.prg
  * contrib/rddsql/tests/arrayrdd.prg
  * contrib/xhb/cstruct.prg
  * contrib/xhb/dumpvar.prg
  * contrib/xhb/trpc.prg
  * contrib/xhb/ttable.ch
  * contrib/xhb/txml.prg
  * contrib/xhb/xcstr.prg
  * contrib/xhb/xdbmodst.prg
  * ChangeLog
  * doc/en/command.txt
  * doc/en/hvm.txt
  * doc/en/menu.txt
  * doc/en/tbrowse.txt
  * extras/gtwvw/gtwvw.c
  * extras/gtwvw/hbgtwvw.h
  * 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/prog0.prg
  * extras/gtwvw/tests/prog1.prg
  * extras/gtwvw/tests/prog2.prg
  * extras/gtwvw/tests/wvwmouse.prg
  * extras/gtwvw/tests/wvwtest9.prg
  * extras/gtwvw/wvwcheck.c
  * extras/gtwvw/wvwdraw.c
  * extras/gtwvw/wvwfuncs.c
  * extras/gtwvw/wvwmenu.c
  * extras/gtwvw/wvwpush.c
  * extras/gtwvw/wvwstbar.c
  * extras/gtwvw/wvwtbar.c
  * extras/hbvpdf/hbvpdf.prg
  * extras/hbvpdf/hbvpdft.prg
  * extras/hbxlsxml/tests/example.prg
  * extras/hbxlsxml/tests/example2.prg
  * extras/hbxlsxml/tests/example3.prg
  * extras/hbxlsxml/xlsxml_s.prg
  * extras/hbxlsxml/xlsxml_y.prg
  * extras/hbxlsxml/xlsxml.prg
  * extras/httpsrv/cookie.prg
  * extras/httpsrv/session.prg
  * extras/httpsrv/uhttpd.prg
  * src/compiler/hbmain.c
  * src/debug/dbgtarr.prg
  * src/debug/dbgthsh.prg
  * src/debug/dbgtobj.prg
  * src/debug/debugger.prg
  * src/rdd/dbfcdx/dbfcdx1.c
  * src/rdd/dbfnsx/dbfnsx1.c
  * src/rdd/dbfntx/dbfntx1.c
  * src/rdd/hbsix/sxcompat.prg
  * src/rtl/tpersist.prg
  * tests/and_or.prg
  * tests/clsccast.prg
  * tests/clsicast.prg
  * tests/clsscast.prg
  * tests/clsscope.prg
  * tests/codebl.prg
  * tests/cpinfo.prg
  * tests/foreach.prg
  * tests/inherit.prg
  * tests/memvar.prg
  * tests/mt/mttest01.prg
  * tests/mt/mttest02.prg
  * tests/mt/mttest03.prg
  * tests/mt/mttest04.prg
  * tests/mt/mttest05.prg
  * tests/mt/mttest06.prg
  * tests/mt/mttest07.prg
  * tests/mt/mttest09.prg
  * tests/mt/mttest10.prg
  * tests/rddtest/rddmktst.prg
  * tests/rddtest/rddtst.prg
  * tests/rto_get.prg
  * tests/rto_tb.prg
  * tests/speedtst.prg
  * tests/stripem.prg
  * tests/testpre.prg
  * tests/testwarn.prg
  * tests/transtst.prg
  * utils/hbtest/hbtest.prg
  * utils/hbtest/rt_hvma.prg
    * various formal cleanups
    ! fixed ==/!= operator usage in hbxlsxml
2012-10-03 15:37:14 +00:00
Przemyslaw Czerpak
2f2cd60a56 2012-10-03 11:15 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbapifs.h
  * harbour/src/rtl/filesys.c
    + added two new C functions:
         HB_BOOL hb_fsGetCWD( char * pszBuffer, HB_SIZE nSize );
         HB_BOOL hb_fsSetCWD( const char * pszDirName );
    * synced some parameters names with declarations in header

  * harbour/src/rtl/hbfilehi.prg
  * harbour/src/rtl/philes.c
    * rewritten HB_CWD() function in C
    ! fixed to HB_CWD() work with UNC path in MS-Windows and other
      systems using drive letters
    + added support for setting new working directory (and drive)
      by HB_CWD( <cNewWD> )
2012-10-03 09:16:06 +00:00
Viktor Szakats
c71ffa9b1b 2012-10-02 14:13 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/gtapiu.c
    ! synced hb_gtWVis() definition with declaration
2012-10-02 12:36:46 +00:00
Viktor Szakats
4a9809fedc 2012-10-02 11:26 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbnf/popadder.prg
  * src/rtl/listbox.prg
  * src/rtl/scrollbr.prg
  * src/rtl/tmenuitm.prg
  * tests/db_brows.prg
    ! reverted to use plain Chr() for low-ASCII (0-31) drawing chars
      (hb_UTF8ToStr*() converts these to "?", which is expected)
2012-10-02 09:28:20 +00:00
Viktor Szakats
90ef3520b2 2012-10-02 01:10 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbmisc/hbedit.prg
  * src/debug/dbghelp.prg
  * src/debug/dbgtmenu.prg
  * src/debug/dbgtwin.prg
  * src/debug/dbgwa.prg
  * src/rtl/browse.prg
  * src/rtl/listbox.prg
  * src/rtl/radiogrp.prg
  * src/rtl/tmenuitm.prg
  * src/rtl/tpopup.prg
  * tests/gtwin.prg
  * tests/box.prg
  * tests/boxtst2.prg
  * tests/scroll.prg
  * tests/vidtest.prg
    ! fixed to use new unicode-compatible box.ch/button.ch macros
      For standalone programs (in tests) in only makes any difference
      when running them as scripts, now they will work (after
      adding hbshell_gtInteracive() call at startup), while
      before the drawing chars were scrambled.

  * src/rtl/browse.prg
  * src/rtl/checkbox.prg
  * src/rtl/dbedit.prg
  * src/rtl/dbedit.prg
  * src/rtl/listbox.prg
  * src/rtl/scrollbr.prg
  * src/rtl/tmenuitm.prg
    ! fixed Chr() calls for drawing chars to unicode strings
      to be compatible with both unicode and non-unicode (and
      any BOXCP) mode.

  * src/rtl/browse.prg
    ! fixed to use '!( hb_keyChar( nKey ) == "" )' instead
      of looking for keycode between 32 and 255 (inclusive)
      making it unicode compatible
    * formatting

  * src/rtl/tpersist.prg
  * src/rtl/memoedit.prg
  * src/debug/debugger.prg
  * src/debug/dbgthsh.prg
  * src/debug/dbgtarr.prg
  * src/debug/tbrwtext.prg
    * formatting

  * src/rtl/tmenuitm.prg
  * src/rtl/tpopup.prg
    + added TOFIXes where drawing chars are used as internal
      flags. This may cause problems if switching CPs while
      using these objects.

  * tests/sbartest.prg
    + unicode compatibility while keeping it Cl*pper compatible
    ! fixed RTE due to using wrong SCROLLBAR method

  * tests/tb1.prg
    * changed to use new unicode-compatible box.ch/button.ch macros
      while keeping Cl*pper compatibility

  * tests/vidtest.prg
    ! fixed remaining drawing chars using Chr() (Cl*pper
      compatibility maintained)

  * tests/testsha2.prg
  * tests/utf8at.prg
    ! fixed to use HB_BCHAR() instead of CHR() for unicode compatibility.

  ; NOTE: After above changes scripts and commands run via hbrun 
          will display drawing chars properly. Unicode apps as 
          well, even with BOXCP set to unicode, too.

  ; TODO: Fix above things also on C level, f.e. DISPBOX() with
          numeric box drawing request.
2012-10-01 23:16:18 +00:00
Przemyslaw Czerpak
e853a90f08 2012-10-01 23:48 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/pp/ppcore.c
    ! fixed possible GPF when some broken expressions are used as
      part of extended expression match marker

  * harbour/src/rtl/padr.c
  * harbour/src/rtl/padc.c
  * harbour/src/rtl/padl.c
    ! fixed PADR(), PADL() and PADC() to accept pad mulibyte characters
      when CPs with such encoding is used, i.e. CP950 or UTF8EX

  * harbour/contrib/xhb/xhb.hbx
    * updated to follow recent modifications
2012-10-01 21:48:26 +00:00
Viktor Szakats
105cdb0721 2012-10-01 19:39 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/Makefile
  - src/rtl/cdpbox.prg
  + src/rtl/cdpbox.c
    % HB_UTF8TOSTRBOX() converted to C
2012-10-01 17:40:56 +00:00
Viktor Szakats
e22c282824 2012-10-01 19:30 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/cdpbox.prg
    % use HB_UTF8TOSTR() instead of HB_TRANSLATE()
2012-10-01 17:30:57 +00:00
Viktor Szakats
fca19513ca 2012-10-01 19:13 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/harbour.hbx
  * src/rtl/Makefile
  + src/rtl/cdpbox.prg
    + added HB_UTF8TOSTRBOX( <cUTF8String> ) -> <cStringEncodedIn_GT_BOXCP>
      It's needed because HB_UTF8TOSTR() will convert to main CP,
      but box drawing CP can be setup differently with HB_GTI_BOXCP,
      that function call will take that into account.

  * contrib/hbnf/aredit.prg
  * contrib/hbnf/clrsel.prg
  * contrib/hbnf/dispmsg.prg
  * contrib/hbnf/menu1.prg
  * contrib/hbnf/pegs.prg
  * contrib/hbnf/pickday.prg
  * contrib/hbnf/popadder.prg
  * contrib/hbnf/tbwhile.prg
  * contrib/hbnf/vertmenu.prg
  * tests/db_brows.prg
  * tests/gtchars.prg
  * tests/testbrw.prg
  * extras/gtwvw/tests/prog0.prg
  * extras/gtwvw/tests/prog1.prg
  * extras/gtwvw/tests/prog2.prg
    ! fixed drawing chars to display properly regardless of HB_GTI_BOXCP
      setting.
    ! some related minor fixes

  * tests/tb1.prg
    ! fixed to compile and build using Clipper after recent 
      UTF8 compatibility updates (not tested though)

  ; TOFIX: Pad*() function handle 3rd parameter as binary string,
           so it doesn't work properly in UTF8 mode.
2012-10-01 17:15:48 +00:00
Viktor Szakats
f16b5cf107 2012-09-30 12:15 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/harbour.hbx
  * src/rtl/Makefile
  + src/rtl/savebuff.prg
    + added few helper functions to work on savescreen buffers
      __XSaveGetChar( <cSaveScreen>, <nPos> ) -> <cChar>
      __XSaveGetColor( <cSaveScreen>, <nPos> ) -> <nColor>
      __XSaveGetAttr( <cSaveScreen>, <nPos> ) -> <nAttr>

  * contrib/hbnf/datecnfg.prg
    % minor optimization
    ! fixed to not use != on string

  * contrib/hbnf/dispmsg.prg
    % deleted unnecessary header

  * contrib/hbnf/ftround.prg
    * formatting

  * contrib/hbnf/popadder.prg
    ! fixed parts that directly manipulated savescreen buffers
    ! use HB_SHADOW() instead of locally rolled solutions that
      manipulates savescreen buffers

  * contrib/hbnf/tests/aredit.prg
  * contrib/hbnf/tests/calendar.prg
  * contrib/hbnf/tests/clrsel.prg
  * contrib/hbnf/tests/d2e.prg
  * contrib/hbnf/tests/dispmsg.prg
  * contrib/hbnf/tests/menu1.prg
  * contrib/hbnf/tests/popadder.prg
    ! fixed missing headers
2012-09-30 10:17:43 +00:00
Viktor Szakats
daf086733d 2012-09-28 18:17 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/box.ch
  * src/rtl/browse.prg
  * src/rtl/radiogrp.prg
  * src/rtl/checkbox.prg
  * src/rtl/dbedit.prg
  * src/rtl/listbox.prg
  * src/rtl/scrollbr.prg
  * src/rtl/tmenuitm.prg
    * changed file mime-type to UTF8
    + added UTF8 equivalent of CP437 encoded CHR() calls
      in comments.
    + use box.ch in radiogrp instead of locally defining 
      the same strings
2012-09-28 16:22:54 +00:00
Przemyslaw Czerpak
952115af23 2012-09-26 02:44 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbexprb.c
  * harbour/include/hbapicdp.h
  * harbour/src/rdd/dbfcdx/dbfcdx1.c
  * harbour/src/vm/fm.c
  * harbour/src/rtl/hbgtcore.c
  * harbour/src/rtl/hbsockhb.c
  * harbour/contrib/hbct/ctwin.c
  * harbour/contrib/hbwin/win_misc.c
    * pacified some warnings
2012-09-26 00:45:00 +00:00
Przemyslaw Czerpak
5cc03ac9b9 2012-09-24 19:13 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/Makefile
  - harbour/src/rtl/fieldbl.prg
    - removed old PRG level implementation of FIELDBLOCK() and
      FIELDWBLOCK() functions

  * harbour/src/vm/macro.c
    + created new implementation of FIELDBLOCK() and FIELDWBLOCK()
      functions in C. This implementation is strictly Clipper compatible
      and allows to create field blocks only for symbols already
      registered in HVM so it does not create new symbols in HVM.
      When table is open then all field symbols are registered in HVM.
      It means that new functions may not create field block if table
      is not open yet and field name was never used explicitly in
      whole compiled application. It's possible to easy change it
      and automatically register new symbols if we decide it's real
      limitation and we should drop strict Cl*pper compatibility.
      Anyhow it may cause that some code will register big number
      of completely unnecessary symbols in HVM so it should be well
      thought decision.
      This implementation makes exactly the same fied name conversions
      as default implementation of ADDFIELD() workarea method so exactly
      the same set of symbols is accepted. It means that after opening
      table which has field names with spaces or other characters
      which are not accepted as PRG identifiers it's possible to create
      field blocks for them.
      It should be also noticable faster because macrocompiler is not
      used at all and is many times faster in codeblock evaluation then
      implementation like in xHarbour which uses
         fieldget( fieldpos( cFieldName ) )
      to support fields with embeded spaces.

  * harbour/src/rtl/hbgtcore.c
    % small optimization in INKEY() code
2012-09-24 17:13:22 +00:00
Viktor Szakats
3d08bef043 2012-09-17 14:03 UTC+0200 Viktor Szakats (harbour syenar.net)
+ contrib/hbwin/oemansi.c
  * contrib/hbwin/hbwin.hbp
  * contrib/hbwin/hbwin.hbx
    + added WIN_OEMTOANSI() and WIN_ANSITOOEM(). These are
      compatible with current core HB_OEMTOANSI()/HB_ANSITOOEM()
      Usage of them is not recommended.

  * contrib/hbxpp/oemansix.c
    * CONVTOANSICP()/CONVTOOEMCP() changed to use local
      implementation instead of relying on now deprecated
      core OEM/ANSI functions

  * src/rtl/oemansi.c
    * HB_OEMTOANSI()/HB_ANSITOOEM() Windows-specific functions
      deprecated with HB_LEGACY_LEVEL4 (meaning they will
      disappear after next stable release). Either avoid
      these calls completely (recommended) or change them to
      hbwin or hbxbp equivalents.

  * contrib/hbtip/thtml.prg
  * contrib/hbtip/hbtip.hbx
    * deprecated HtmlToAnsi(), HtmlToOem(), AnsiToHtml(), OemToHtml()
      functions with HB_LEGACY_LEVEL4.
    + added TIP_STRTOHTML(), TIP_HTMLTOSTR() functions which cover
      major above functionality, but in a portable and CP agnostic
      way. Code untested, if you need it, test it and provide feedback
      and/or fix.
2012-09-17 12:11:23 +00:00
Przemyslaw Czerpak
62f1c44f96 2012-09-13 16:02 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/hbbffnc.c
  * harbour/include/harbour.hbx
    + added new functions for BlowFish encryption using CFB (cipher feedback)
      mode instead of ECB (electronic codebook) mode with ANSI X.923 padding:
         hb_blowfishEncrypt_CFB( <cBfKey>, <cText> [, <cInitSeed> ] )
                  -> <cCipher> | NIL
            return string encrypted using CFB (cipher feedback) mode or
            NIL on error (wrong parameters)
         hb_blowfishDecrypt_CFB( <cBfKey>, <cCipher> [, <cInitSeed> ] )
                  -> <cText> | NIL
            return string decrypted using CFB (cipher feedback) mode or
            NIL on error (wrong parameters),

  * harbour/src/rtl/Makefile
  + harbour/src/rtl/hbmd5enc.c
  * harbour/include/harbour.hbx
    + added new functions for MD5 encryption/decryption
      using CFB (cipher feedback) mode:
         hb_MD5Encrypt( <cText>, <cPasswd> ) -> <cCipher>
         hb_MD5Decrypt( <cCipher>, <cPasswd> ] ) -> <cText>
2012-09-13 14:02:52 +00:00
Przemyslaw Czerpak
c03dbf4af9 2012-09-12 11:51 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbmacro.h
  * harbour/src/vm/macro.c
    % added static function hb_macroClear() and cleand hb_macroDelete() code
    - removed not longer necessary HB_MACRO_DEALLOCATE macro

  * harbour/src/rdd/hsx/hsx.c
    * use hb_vmDestroyBlockOrMacro()

  * harbour/src/vm/hvm.c
    * allow to execute hb_vmThreadState() by threads without HVM stack

  * harbour/src/3rd/zlib/gzlib.c
  * harbour/src/3rd/zlib/zlib.dif
    * updated for Digital Mars builds builds

  * harbour/src/rtl/gtwvt/gtwvt.c
    * pacified warning
2012-09-12 09:51:24 +00:00
Przemyslaw Czerpak
8cf8de75c0 2012-09-09 18:50 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/config/dos/watcom.mk
  * harbour/utils/hbmk2/hbmk2.prg
    ! cleaned and synced optimization flags which interacts with calling
      convention

  * harbour/src/3rd/zlib/zconf.h
    ! added missing export attribute in OS2 dll builds

  * harbour/src/3rd/zlib/zlib.dif
    * rediffed

  * harbour/src/compiler/hbmain.c
    * minor modification to pacify warning generated by some compilers

  * harbour/src/rtl/gete.c
    ! added missing #include "hbapicdp.h" in DOS and OS2 builds

  * harbour/src/rtl/gtdos/gtdos.c
    ! fixed typo

  * harbour/contrib/3rd/sqlite3/sqlite3.hbp
    ! set SQLITE_OS_OTHER in Watcom OS2 builds - it does not support
      PTHREAD and some OS extensions used in default SQLite builds
2012-09-09 16:51:37 +00:00
Przemyslaw Czerpak
576ee9e052 2012-09-04 18:49 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/fstemp.c
    ! fixed GCC PP rules - thanks to Teo Fonrouge for the information
      about the problem
2012-09-04 16:49:45 +00:00
Przemyslaw Czerpak
745aa1eac2 2012-09-03 11:57 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/chruni.c
  * harbour/include/harbour.hbx
    + added new functions to operate on unicode and binary strings.
      They work like hb_At() but are CP independent.
         hb_UAt( <cSubString>, <cString>, [<nFrom>], [<nTo>] ) -> <nAt>
         hb_BAt( <cSubString>, <cString>, [<nFrom>], [<nTo>] ) -> <nAt>
2012-09-03 09:57:48 +00:00
Przemyslaw Czerpak
99273ec1f6 2012-08-27 21:59 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/fstemp.c
    ! added yet another protection against buffer overflow
    % eliminated redundant code

  * harbour/include/hbvmpub.h
  * harbour/include/hberrors.h
  * harbour/src/compiler/hbgenerr.c
  * harbour/src/compiler/hbmain.c
  * harbour/src/compiler/genc.c
    + added new warning message:
         STATIC Function '????' defined but never used
      It's enabled by -w2 and higher.
      The idea was inspired by recent modification in xHarbour but
      implementation is completely different. BTW I cannot even make
      this warning working in xHarbour.

  * harbour/src/rtl/cdpdet.prg
    ! disabled static functions which are unused in different builds

  * harbour/src/debug/debugger.prg
    ! removed unused function StripUntil()

  * harbour/utils/hbmk2/hbmk2.prg
    ! compile hbmk_COMP_Setup() and FindInSamePath() static functions
      only for platforms were they are used
    ! commented out unused static functions: ArrayJoinNoClone(),
      AAddNewAtTop(), DepTreeToList()
    ! commented out unused static functions:
         rtlnk_libtrans(), rtlnk_filetrans()
      Looks that this functionality is not longer supported.
      TOFIX: re-enable it or remove this code and document that automatic
             translation for libraries and files defined in Clipper .lank
             files is not longer supported~.

  * harbour/src/rdd/usrrdd/rdds/arrayrdd.prg
  * harbour/contrib/hbtip/cgi.prg
  * harbour/contrib/hbide/hbqreportsmanager.prg
  * harbour/contrib/hbide/actions.prg
  * harbour/contrib/hbide/console.prg
  * harbour/contrib/hbide/themes.prg
  * harbour/contrib/hbide/editor.prg
  * harbour/contrib/hbxbp/browse.prg
  * harbour/contrib/hbmysql/tmysql.prg
  * harbour/contrib/hbsms/sms.prg
  * harbour/contrib/xhb/hterrsys.prg
    ! commented out unused static functions - please review the code

  ; Warning: I tested only Linux builds. Please check other builds and
             disable unused static functions in the rest of code.
2012-08-27 20:00:45 +00:00
Przemyslaw Czerpak
9d58ffd009 2012-08-27 17:26 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/fstemp.c
    ! added protection against possible buffer overflow
    * enable mkstemps() for GLIBC 2.12 and higher

  * harbour/src/compiler/harbour.y
    ! added missing ';' at the end of C code - newer bisons
      do not add them automatically
2012-08-27 15:27:12 +00:00