Commit Graph

18460 Commits

Author SHA1 Message Date
Przemyslaw Czerpak
52071bbb62 2013-03-04 12:58 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/contrib/hbnetio/netiosrv.c
  * harbour/contrib/hbnetio/hbnetio.hbx
  * harbour/contrib/hbnetio/readme.txt
    + added new PRG function:
         NETIO_SERVERTIMEOUT( <pConnectionSocket> [, <nTimeOut>] )
            -> [<nTimeOut>]
      This function allows to set maximal time for client request.
      It can be useful if NETIO server is used only for short time
      connections in which client makes few requests and then
      disconnects.
      Clients keeping longer connections without any request will
      be disconnected automatically. It means that in some cases
      it's possible to create server which works efficiently in
      single thread mode without MT HVM.
  * harbour/contrib/hbnetio/netiomt.prg
    * restored formatting

  * harbour/src/rtl/gtxwc/gtxwc.c
    ! fixed getting window position in HB_GTI_SETPOS_XY and
      HB_GTI_SETPOS_ROWCOL.
      Warnings:
         1) some WMs may report window upper left coroner inside
            the border and some other ones border upper left coroner.
         2) Setting window position by this function strictly depends
            on WMs behavior and in most cases code like:
               aPos := hb_gtInfo( HB_GTI_SETPOS_XY )
               hb_gtInfo( HB_GTI_SETPOS_XY, aPos )
            will move the window because most of WMs used to add some
            offsets to XMoveWindow() cords.
    ! fixed GFX line and rect cords with reverted parameters
    ! fixed GFX circle and eclipse parameters - it is documented that
      3-rd parameter in hb_gfxCircle() is radius (also 3-rd and 4-th
      in hb_gfxEllipse()) but it was implemented as diameter.
      Warning: incompatible, existing code have to be updated.
    ! fixed GFX circle and eclipse parameters to correctly map updated
      region.
    ; Thanks to Rolf for reporting problems with GTXWC

  * harbour/src/rtl/gtwvt/gtwvt.c
    ! fixed rect size - it was one pixel smaller then in other GTs
      Now rect cords are interpreted in the same way as in BOX command
      and functions.
    ! fixed GFX circle and eclipse parameters - it is documented that
      3-rd parameter in hb_gfxCircle() is radius (also 3-rd and 4-th
      in hb_gfxEllipse()) but it was implemented as diameter.
      Warning: incompatible, existing code have to be updated.

  * harbour/contrib/gtalleg/gtallegd.c
    ! fixed GFX line and rect cords with reverted parameters

  + harbour/tests/gfx2.prg
    * added test code to check basic GFX cord settings.
2013-03-04 11:59:26 +00:00
Viktor Szakats
cf233f6341 2013-03-03 15:30 UTC+0100 Viktor Szakats (harbour syenar.net)
* ChangeLog.txt
    ! fixed mistyped dates in entries
        2013-12-14 14:26 UTC-0800
        2013-12-18 15:40 UTC-0800
    ! deleted UTF8 BOM added in 2013-02-14 14:26 UTC-0800
      Pritpal, please turn off this feature in your editor,
      or edit Harbour UTF-8 files with one that doesn't add
      a BOM [https://en.wikipedia.org/wiki/Byte_order_mark]
    + added 'No BOM' note to header

  * tests/lang2po.hb
    ! minor cleanup

  * utils/hbmk2/hbmk2.prg
    ! deleted comment not relevant anymore
2013-03-03 14:30:58 +00:00
Tamas Tevesz
3aa7a61786 2013-03-03 14:31 UTC+0100 Tamas TEVESZ (ice extreme.hu)
* bin/3rdpatch.hb
    ! typo
2013-03-03 13:32:14 +00:00
Viktor Szakats
c478749380 2013-03-03 13:40 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + new -signflag= option to pass user options to code sign tool
    + Windows code signing tool is now run in quiet mode
      (only if there is no verbose user flag)

  + tests/lang2po.hb
    + script to convert lang modules to .po files

  * src/rtl/langapi.c
    ! synced with /src/lang/en_tpl.c

  * src/lang/l_pl.c
    ! fixed indentation

  * doc/en/lang.txt
    - deleted outdated reference to physical lib names

  * contrib/hbwin/wapi_misc.c
    + security comment

  * ChangeLog.txt
    ! typo in prev entry
2013-03-03 12:42:36 +00:00
Viktor Szakats
73bc371744 2013-03-02 12:07 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    ! HBSHELL_CLIPPER() extended to reset the date format
      to Clipper default as well
    + documented that the default date format for strings
      is the ISO one (yyyy-mm-dd)

  * src/rtl/filesys.c
    ! hb_fsSetAttr() (and hb_FSetAttr()/SetFAttr()/etc)
      to handle the archive attribute correctly on Windows.
      Previously a call was always setting it.
      Thanks for the report and research to Tony Quick.
    ; Checkme

  * contrib/hbnf/fttext.c
    ! fixed internal error in FT_READLN() when used on an
      LF delimited text file. This API pbly needs more
      thorough review regarding portable EOL handling, f.e.
      it seems buggy when CRLF pair falls onto the buffer
      (length = 4096) boundary.
    ! fixed 1 byte read past buffer in internal _findeol()
      function
    ; Checkme

  * contrib/hbnf/doc/en/fttext.txt
    * updates regarding EOL

  * contrib/hbcups/tests/test.prg
  * contrib/hbmisc/tests/hb_f.prg
  * contrib/hbnf/tests/dfile.prg
  * contrib/hbnf/tests/fttext.prg
    + accept filename as parameter

  * contrib/hbpgsql/tests/test.prg
  * contrib/hbwin/tests/mapimail.prg
  * contrib/xhb/tests/copyfile.prg
    ! minor cleanups

  * bin/3rdpatch.hb
  * tests/fixcase.hb
    * minor formatting
2013-03-02 11:07:38 +00:00
Tamas Tevesz
400778045b 2013-03-02 09:55 UTC+0100 Tamas TEVESZ (ice extreme.hu)
* src/rtl/gtcrs/gtcrs.h
  * utils/hbmk2/hbmk2.prg
  * config/detect.mk
  * config/minix/libs.mk
    * Add curses to Minix
2013-03-02 09:57:06 +00:00
Viktor Szakats
b45538a18f 2013-03-02 02:20 UTC+0100 Viktor Szakats (vszakats syenar.net)
+ contrib/sddsqlt3/tests/test.prg
  - contrib/sddsqlt3/tests/test1.prg
    * renamed

  * contrib/hbtest/core.prg
    * minor cleanup

  * utils/hbmk2/hbmk2.prg
    * formatting

  * tests/rto_get.prg
  * tests/rto_tb.prg
  * utils/hbtest/hbtest.prg
    % use a more efficient hb_stod() implementation
      for non-Harbour branches
      (taken from tests/transfrm.prg by Przemek)

  * contrib/sddsqlt3/tests/test.prg
  * contrib/gtwvg/gtwgud.c
  * contrib/gtwvg/gtwvgd.c
  * contrib/gtwvg/tests/demowvg.prg
  * contrib/gtwvg/tests/demowvg1.prg
  * contrib/hbct/tests/dates4.prg
  * contrib/hbct/tests/datetime.prg
  * contrib/hbfbird/readme.txt
  * contrib/hbgt/ascposgt.c
  * contrib/hbgt/atdiff.c
  * contrib/hbgt/bitflags.c
  * contrib/hbgt/chareven.c
  * contrib/hbgt/charmixg.c
  * contrib/hbgt/charodd.c
  * contrib/hbgt/chrcount.c
  * contrib/hbgt/chrfirst.c
  * contrib/hbgt/chrtotal.c
  * contrib/hbgt/strcount.c
  * contrib/hbgt/strcspn.c
  * contrib/hbgt/strdiffg.c
  * contrib/hbgt/strexpan.c
  * contrib/hbgt/strleft.c
  * contrib/hbgt/strpbrk.c
  * contrib/hbgt/strright.c
  * contrib/hbhttpd/tests/eshop.prg
  * contrib/hbmisc/doc/en/dates2.txt
  * contrib/hbmisc/tests/strfmt.prg
  * contrib/hbmysql/readme.txt
  * contrib/hbmysql/tests/dbf2mysq.prg
  * contrib/hbmysql/tests/test.prg
  * contrib/hbmzip/tests/myunzip.prg
  * contrib/hbnetio/tests/netiot02.prg
  * contrib/hbnetio/utils/hbnetio/netiocon.prg
  * contrib/hbnetio/utils/hbnetio/netiosrv.prg
  * contrib/hbnf/doc/en/acctadj.txt
  * contrib/hbnf/doc/en/woy.txt
  * contrib/hbnf/tests/calendar.prg
  * contrib/hbnf/tests/datecnfg.prg
  * contrib/hbnf/tests/menu1.prg
  * contrib/hbnf/tests/savearr.prg
  * contrib/hbnf/tests/setdate.prg
  * contrib/hbnf/tests/woy.prg
  * contrib/hbpgsql/tests/dbf2pg.prg
  * contrib/hbtip/mail.prg
  * contrib/hbtip/popcli.prg
  * contrib/hbwin/tests/dlg.prg
  * contrib/hbziparc/tests/zipa.prg
  * contrib/rddads/ads1.c
  * contrib/sddoci/tests/test1.prg
  * contrib/sddodbc/tests/test1.prg
  * contrib/sddodbc/tests/test2.prg
  * contrib/xhb/decode.prg
  * contrib/xhb/dumpvar.prg
  * contrib/xhb/xhbmemo.prg
  * contrib/xhb/xhbtedit.prg
  * ChangeLog.txt
  * doc/en/string.txt
  * doc/gtapi.txt
  * doc/pragma.txt
  * doc/xhb-diff.txt
  * extras/dbu/dbu52.dif
  * extras/dbu/dbu53.dif
  * extras/gtwvw/docs/whatsnew.txt
  * extras/gtwvw/gtwvwd.c
  * extras/gtwvw/tests/ebtest7.prg
  * extras/gtwvw/tests/wvwtest9.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/guestbk/cgi.prg
  * extras/hbxlsxml/tests/example.prg
  * extras/httpsrv/uhttpd.prg
  * extras/rddado/tests/access1.prg
  * extras/rddado/tests/access2.prg
  * include/hbclass.ch
  * src/common/hbdate.c
  * src/debug/dbgtarr.prg
  * src/debug/dbgthsh.prg
  * src/rdd/dbfcdx/dbfcdx1.c
  * src/rdd/usrrdd/rdds/arrayrdd.prg
  * src/rtl/filesys.c
  * src/rtl/gtos2/gtos2.c
  * src/rtl/gtwvt/gtwvt.c
  * src/rtl/net.c
  * src/rtl/teditor.prg
  * src/vm/thread.c
  * tests/adir.prg
  * tests/ddate.prg
  * tests/directry.prg
  * tests/extend1.prg
  * tests/newrdd.prg
  * tests/rto_get.prg
  * tests/rto_tb.prg
  * tests/say.prg
  * tests/speedtst.prg
  * tests/tb1.prg
  * tests/usrrdd/exarr.prg
  * tests/vmasort.prg
  * utils/hbmk2/hbmk2.prg
  * utils/hbtest/hbtest.prg
  * utils/hbtest/rt_date.prg
  * utils/hbtest/rt_str.prg
  * utils/hbtest/rt_stra.prg
  * utils/hbtest/rt_trans.prg
  * website/faq/harbour.html
  * website/faq/harbour63.html
  * website/faq/index.html
  * website/robots.txt
    + switched whole Harbour sources, comments, app logic,
      regression tests, output, to use the ISO date format:
         https://en.wikipedia.org/wiki/ISO_8601
      in Harbour
         Set( _SET_DATEFORMAT, "yyyy-mm-dd" )
      Use that exclusively in new commits
    ; hbtest retested on Clipper 5.2e
    ; no more 'SET DATE [TO] ANSI' and 'SET CENTURY ON'
    ; there are a few exceptions, mainly in test code
      and where compatibility required it.

  * utils/hbtest/rt_trans.prg
    + added 4 extra tests that behave differently
      when using 'yyyy-mm-dd' format instead of
      'yyyy.mm.dd'
2013-03-02 01:24:02 +00:00
Viktor Szakats
4c05ed6f93 2013-03-01 14:50 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    % minor redundancy reduction in source
    ! minor fix to hbrund symlink help entry
2013-03-01 13:51:44 +00:00
Viktor Szakats
091c637447 2013-03-01 14:28 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + display warning when invalid value is passed to certain
      .hbc directives
2013-03-01 13:30:28 +00:00
Viktor Szakats
7dae9d8775 2013-03-01 14:24 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + added support for debugging .hb scripts.
      set HBSHELL_DEBUG to any non-empty value, run
      the script and start debugging as you would in
      a regular Harbour app
      (.hrb precompiled script need to be compiled with -b  option)
    + hbmk2/hbrun when run as 'hbrund' will automatically
      execute scripts in debug mode
    + new help section listing hbmk2 build-time configuration
    + new help section showing what hbmk2 can be symlinked/copied/renamed
      to, to alter default mode of operation
    + added '-safe'/'-safe-' options and safe=yes/no .hbc
      directive to enable security related options in C
      compiler/linker currently for -hbexe and -hbdyn outputs.
      It's currently enabled by default on Windows platform.
      Requires mingw (4.5 or upper) or msvc (15.00 or upper),
      or Linux (version requirement unknown)
      TODO: see if Linux tweak is okay to enable by default,
            and whether it can be enabled for other *nix
            systems.
    + display 'Markdown' as a link in '-longhelpmd' mode
    + minor extension to '-find' option description in help

  * contrib/hbpost.hbm
    % replaced manual options with new -safe hbmk2 options

  * tests/hrbext.prg
    * formatting
2013-03-01 13:25:25 +00:00
Viktor Szakats
31a85b650e 2013-02-28 17:19 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.*.po
  * utils/hbmk2/hbmk2.prg
    % minor optimization to recent patch
    + cleanups in some help items
    + '-?' and '-h' options are now accepted as '-help'
    + '-??' and '-hh' options are now accepted as '-longhelp'
    - deleted '-license' option, it's now part of '-longhelp'
    ! hbshell_gtSelect() parameter fixed to be case insentitive
      in an internal check

  + tests/clipper.ch
    + added header file that translates certain Harbour
      specific functions to ones understood by Clipper.
      Useful to compile lightly Harbour specific code
      in Clipper (or other Clipper compatible language),
      for comparison.

  * tests/*.prg
  - tests/exthrb.prg
  + tests/hrbext.prg
  * website/samples/*.prg.html
    ! various cleanups, minor fixes, formatting
    + #included "clipper.ch" to enable running what's
      possible to run with Clipper

  * src/rtl/gtwin/gtwin.c
  * src/rtl/gtwvt/gtwvt.c
    ! return string type for hb_gtInfo( HB_GTI_FONTSEL )
      in sync with GTXWC

  * contrib/xhb/xhbfunc.c
  * include/hbdefs.h
    * HB_FUNC_EXEC() macro value to not end with ';',
      now it should be added on usage (almost all usages
      were such already). To be code formatter friendly.

  * contrib/xhb/xhb.hbp
  + contrib/xhb/xhbdepr.prg
    + added compatiblity stubs for functions deprecated from
      Harbour core, but still available in xHarbour. (xHarbour
      has yet to deprecate anything)
      So here we can gather stuff that's deprecated from Harbour
      core (except internal functions - most of them named '__*' -,
      and the "evil" ones)
    ; NOTE: Runtime efficiency is not a goal with these stubs,
            only "cheap" long term maintainability.

  - contrib/hbblat/tests/blattest.prg
  + contrib/hbblat/tests/test.prg
  * extras/guestbk/guestbk.hbp
  - extras/guestbk/testcgi.prg
  + extras/guestbk/cgi.prg
    * renames

  * src/vm/dynsym.c
  * contrib/hbfbird/tests/testapi.c
  * contrib/xhb/thtm.prg
    * minor
2013-02-28 16:25:51 +00:00
Viktor Szakats
c0eadc80eb 2013-02-27 19:12 UTC+0100 Viktor Szakats (harbour syenar.net)
* tests/*
  * website/*
    * dropped 'tst'/'ts'/'test' from most
      filenames inside main 'tests' dir. 8 chars will
      allow for more descriptive names than 4-5.
      Some renamed to use the new space.
      Similar ones will now be much close together
      and easier to lookup in alphabetical order.
    ; NOTE: Perhaps a new distinction would be useful,
            for those which are indeed tests for the
            compiler or PP, f.e. these:
               declare.prg, dupvars.prg, keywords.prg, linecont.prg,
               lnlenli1.prg, lnlenli2.prg, pp.prg, pragma.prg, warnings.prg
    ; List of changes:
      tests/ac_test.prg  -> achoice.prg
      tests/ac_test2.prg -> achoice2.prg
      tests/adirtest.prg -> adir.prg
      tests/ainstest.prg -> ains.prg
      tests/tstalias.prg -> aliasrt.prg
      tests/altdtest.prg -> altd.prg
      tests/atest.prg    -> array.prg
      tests/tstasort.prg -> asort.prg
      tests/boxtst2.prg  -> box2.prg
      tests/boxtest.prg  -> box3.prg
      tests/testbrdb.prg -> browse.prg
      tests/tstblock.prg -> cblock.prg
      tests/testcdx.prg  -> cdx.prg
      tests/tstchbx.prg  -> checkbox.prg
      tests/testcls.prg  -> cls.prg
      tests/tscmdarg.c   -> cmdarg.c
      tests/tstcolor.prg -> color.prg
      tests/testcom1.prg -> com.prg
      tests/cursrtst.prg -> cursor.prg
      tests/dttest.prg   -> datetime.prg
      tests/dbevalts.prg -> dbeval.prg
      tests/testdbf.prg  -> dbf.prg
      tests/tstdbi.prg   -> dbi.prg
      tests/debugtst.prg -> debug.prg
      tests/testdecl.prg -> declare.prg
      tests/testid.prg   -> define.prg
      tests/delimtst.prg -> delim.prg
      tests/devtest.prg  -> dev.prg
      tests/dirtest.prg  -> directry.prg
      tests/tstdspac.prg -> diskspac.prg
      tests/disptest.prg -> disp.prg
      tests/testdyn.c    -> dyn.c
      tests/testdyn1.prg -> dyn.prg
      tests/testdyn.prg  -> dynwin.prg
      tests/testerro.prg -> errsys.prg
      tests/exittest.prg -> exit.prg
      tests/iotest.prg   -> fileio.prg
      tests/iotest2.prg  -> fileio2.prg
      tests/fortest.prg  -> for.prg
      tests/testfor.prg  -> for2.prg
      tests/testget.prg  -> get.prg
      tests/tstgtapi.c   -> gtapi.c
      tests/gtstdtst.prg -> gtstd.prg
      tests/hbdoctst.prg -> hbdoc.prg
      tests/testhrb.prg  -> hrb.prg
      tests/hsxtest.prg  -> hsx.prg
      tests/testhtml.prg -> html.prg
      tests/testidle.prg -> idle.prg
      tests/testinit.prg -> initproc.prg
      tests/inkeytst.prg -> inkey.prg
      tests/testlbl.prg  -> lbl.prg
      tests/tstmacro.prg -> macro.prg
      tests/mathtest.prg -> math.prg
      tests/testmem.prg  -> mem.prg
      tests/memtst.prg   -> memmgr.prg
      tests/menutest.prg -> menuto.prg
      tests/testmny.prg  -> money.prg
      tests/mousetst.prg -> mouse.prg
      tests/testntx.prg  -> ntx.prg
      tests/testop.prg   -> op.prg
      tests/testpers.prg -> persist.prg
      tests/testpp.prg   -> pp.prg
      tests/testpre.prg  -> ppapi.prg
      tests/tstprag.prg  -> pragma.prg
      tests/testprof.prg -> profiler.prg
      tests/testrdd.prg  -> rdd.prg
      tests/testrdd2.prg -> rdd2.prg
      tests/testread.prg -> read.prg
      tests/regextst.prg -> regex2.prg
      tests/testrpt.prg  -> rpt.prg
      tests/sbartest.prg -> sbar.prg
      tests/sdf_test.prg -> sdf.prg
      tests/set_test.prg -> set.prg
      tests/videotst.prg -> setmode.prg
      tests/testsha1.prg -> sha1.prg
      tests/testsha2.prg -> sha2.prg
      tests/teststr.prg  -> str.prg
      tests/testbrw.prg  -> tbrowse.prg
      tests/transtst.prg -> transfrm.prg
      tests/tstuse.prg   -> use.prg
      tests/testvars.prg -> vars.prg
      tests/vidtest.prg  -> video.prg
      tests/testwarn.prg -> warnings.prg

  * tests/read.prg
    * use K_* value
2013-02-27 18:18:46 +00:00
Viktor Szakats
94a305ed4f 2013-02-27 18:30 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    ! fixed hbmk_FNameEscape() plugin API's legacy fallback
      after latest patch (still untested)
    ! avoid potential RTE in hbmk_PathFromWorkdirToCWD()
      plugin API
    ! rtlink/blinker/exospace linker script processing will
      now add directories of library input files as libpaths
      (as opposed to passing them as part of the libname)
    ! fixed rtlink/blinker/exospace linker script processing
      to convert dirseps to native ones in output
    ! fixed rtlink/blinker/exospace linker script processing
      to strip extension from library name and output name
      (only if it's '.exe')
    ! fixed to verify non-portable output extensions in more
      reliable way

  * contrib/hbmisc/hb_f.c
  * contrib/hbmisc/fcomma.prg
  * contrib/hbmisc/hbmisc.hbx
  * contrib/hbmisc/tests/hb_f.prg
  * contrib/hbmisc/tests/numtxtru.prg
  * contrib/hbmisc/tests/rtfclass.prg
  * contrib/hbnf/fttext.c
  * contrib/hbnf/tests/fttext.prg
    * use constants instead of literals
    ! fixed buffer over- and underrun in HB_FSELECT()
    % HB_FUSE() optimized
    ! fixed long time core/hbmisc function name
      collision by renaming HB_FEof() inside hbmisc
      to hb_FAtEof(). hbmisc code and tests changed
      to use the new one. A parallel hb_FEof() in
      hbmisc remains until HB_LEGACY_LEVEL4.
      [INCOMPATIBLE] Update your hbmisc HB_FEOF()
      call according to above, or even better change
      HB_F*() calls to original FT_F*() API in hbnf.
      It's the original version of this code, what
      was cloned in a dumbed down version into hbmisc
      when hbnf didn't exist in Harbour yet.

  * contrib/hbamf/tests/encode.prg
    + updated to use hbtest instead of similar
      local solution

  * contrib/hbfimage/tests/fitest.prg
    % use core functions instead of local clones
    ! minor output fix

  * tests/mousetst.prg
    * obfuscate e-mail address in this public sample

  * website/samples/mousetst.prg.html
  * website/samples/testhtml.prg.html
  * website/samples/tstmacro.prg.html
    * synced with code changes

  * */tests/*
    * dropped 'tst'/'ts'/'test' from most
      filenames inside 'tests' subdirs. 8 chars will
      allow for more descriptive names than 4-5.
    + do not explicitly include the original source
      filename (use __FILE__ or similar)
    ; List of changes, in /contrib:
      /hbmisc/tests/testbbab.prg   -> bubbleb.prg
      /hbmisc/tests/testcall.prg   -> calldll.prg
      /hbmisc/tests/testhbf.prg    -> hb_f.prg
      /hbmisc/tests/tsstrfmt.prg   -> strfmt.prg
      /hbmisc/tests/twirl.prg      -> twirler.prg
      /hbmisc/tests/udpdstst.prg   -> udpds.prg
      /hbxpp/tests/testdll.prg     -> dllcall.prg
      /xhb/tests/testcp.prg        -> copyfile.prg
      /hbwin/tests/testax.prg      -> activex.prg
      /hbwin/tests/testcom1.prg    -> serial1.prg
      /hbwin/tests/testcom2.prg    -> serial2.prg
      /hbwin/tests/testcopy.prg    -> shfileop.prg
      /hbwin/tests/testdir.prg     -> sysdir.prg
      /hbwin/tests/testevnt.prg    -> eventlog.prg
      /hbwin/tests/testgdi.prg     -> prngdi.prg
      /hbwin/tests/testmapi.prg    -> mapimail.prg
      /hbwin/tests/testole.prg     -> ole.prg
      /hbwin/tests/testprn.prg     -> prn1.prg
      /hbwin/tests/testprn2.prg    -> prn2.prg
      /hbwin/tests/testprn3.prg    -> prn3.prg
      /hbwin/tests/testprn4.prg    -> prn4.prg
      /hbwin/tests/testreg.prg     -> registry.prg
      /hbwin/tests/testrpc.prg     -> uuid.prg
      /hbwin/tests/testsim.prg     -> simwce.prg
      /hbwin/tests/testsvc.prg     -> service.prg
      /hbwin/tests/testwmtx.prg    -> mutexwin.prg
      /hbzebra/tests/testcair.prg  -> cairo.prg
      /hbzebra/tests/testhpdf.prg  -> harupdf.prg
      /hbzebra/tests/testwin.prg   -> wingdi.prg
      /rddads/tests/testmg.prg     -> manage.prg
      /hbodbc/tests/odbcdemo.prg   -> todbc.prg
      /hbodbc/tests/testodbc.prg   -> odbc.prg
      /hbsqlit3/tests/hdbctest.prg -> hdbc.prg
      /hbsqlit3/tests/sl3_test.prg -> demo.prg
      /hbunix/tests/testdmn.prg    -> daemon.prg
      /hbunix/tests/testpid.prg    -> getpid.prg
      /hbgd/tests/bartest.prg      -> barcode.prg
      /hbgd/tests/barms.prg        -> barcode2.prg
      /hbgd/tests/gdtest.prg       -> gdapi.prg
      /hbgd/tests/gdtestcl.prg     -> gdclass.prg
      /hbgd/tests/testdpi.prg      -> fontdpi.prg
      /hbgd/tests/test_out.prg     -> cgi.prg
      /hbtip/tests/test01.prg      -> httpcli.prg
      /hbtip/tests/tipmime.prg     -> mimetype.prg
      /hbtip/tests/tiptest.prg     -> tipwget.prg
      /hbtip/tests/tiptime.prg     -> timestmp.prg
      /hbamf/tests/tstendin.prg    -> test.prg
      /hbfimage/tests/fitest.prg   -> test.prg
      /hbtpathy/tests/testtp.prg   -> test.prg
      /hbgs/tests/testgs.prg       -> test.prg

  * contrib/hbmxml/tests/testmxml.prg
  * contrib/rddads/tests/datad.prg
    * minor
2013-02-27 17:39:07 +00:00
Viktor Szakats
9494153d8b 2013-02-26 23:53 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + disable VM internals (__dbg*() API) on hbmk2/hbrun
      startup, unless built in debug mode
      Will break scripts that exploited VM internals
      via internal __dbg*() API calls.

  * tests/boxtest.prg
  * tests/regex.prg
  * tests/sbartest.prg
  * tests/mousetst.prg
  * contrib/hbodbc/tests/odbcdemo.prg
    ! fixed to not assume 80x25 screen layout

  * tests/regextst.prg
    ! fixed wrong error checking (RTE)

  * contrib/hbodbc/tests/odbcdemo.prg
    ! misc fixes/cleanups

  * tests/brwpos.prg
    ! fixed to use K_* values

  * website/menu/harbour-menu.js
    ! fixed missed reference to deleted license.html

  * contrib/hbodbc/todbc.prg
    * spaces
2013-02-26 22:54:47 +00:00
Viktor Szakats
175f05df56 2013-02-26 14:41 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.*.po
  * utils/hbmk2/hbmk2.prg
    + do not share plugin variables (hbmk[ "vars" ])
      between different plugins. It avoids potentially nasty
      issues with plugins stepping onto each other's toes.
      [INCOMPATIBLE - though it's unlikely anyone is
      affected. If you must communicate between plugins,
      use public function or variable.]
    + clarified in help that -icon might not work on all
      platforms/compilers and detailed Windows implementation
      (in particular it's disabled on bcc/bcc64 and on
      mingw it won't work when a manual .rc is specified,
      also on some (old?) msvc versions. Consult your
      C compiler's Windows resource handling limitations.)
    + clarified in help the syntax of filters
    + clarified in help that .hbp references are handled as
      sub-projects
    + clarification to command substitution macro
    + clarification to filter syntax note
    ! strict parameter checks in all public shell APIs to
      avoid RTEs inside hbmk2 due to faulty API usage by scripts

  * utils/hbmk2/examples/plug_bis.hb
    * updated according to latest plugin changes

  * include/harbour.hbx
  * include/hbapi.h
  * src/vm/debug.c
  * src/vm/hvm.c
    + added internal function hb_vmInternalsEnabled()
      to query whether potentially sensitive internals
      are allowed to be accessed by public Harbour APIs
    + added .prg level function __vmNoInternals()
      to disable potentially sensitive internals
      by default accessible via public APIs.
      Intentionally a one-way function: once disabled,
      it cannot be reenabled from .prg or .c level.
      NOTE: It will break Harbour debug functionality,
      so it'd will be useful for hbrun scripts and
      release (non-debug) builds.
    + modified internal __dbg*() functions to return
      dummy values when internals are disabled via
      __vmNoInternals() functions. While the function
      return types are kept, apps relying on their
      specific values and certain relationships between
      them might break.
    ; NOTE: In the future, some more internals might
      be protected by this setting (f.e. low-level
      object and class functions and some API from
      hbdebug lib)
    ; Please review

  * tests/debugtst.prg
    ! fixed to compile warning-free without lowering
      warning level
    ! fixed to run RTE-free with internals disabled

  * bin/3rdpatch.hb
  * bin/commit.hb
  * config/postinst.hb
  * contrib/make.hb
  * contrib/hbtest/hbtest.ch
  * src/debug/*.prg
  * src/rtl/tclass.prg
  * utils/hbmk2/examples/plug_bis.hb
  * utils/hbmk2/examples/plug_tpl.hb
    * use short form #pragmas (the ones identical
      to Harbour options)
    ; NOTE: Except -l which works reversed compared
      to cmdline -l option. TOFIX? (I tried and failed)

  * src/rtl/hbi18n2.prg
  * contrib/xhb/tfile.prg
    * use F_ERROR instead of -1 literal

  * contrib/xhb/xhbtedit.prg
    ! replaced dirty xhb extension with std SubStr() call
      Reported by Tony Quick
      [pls report such bugs on Harbour devl list]

  * contrib/hbodbc/todbc.prg
    ! Don't continue ::Open() when SQLExecDir() have error
      Fix from xhb via Vicente Guerra, with cleanups.

  * tests/multifnc/multifnc.hbp
    + added comment
    + support for watcom

  * tests/multifnc/t1.prg
    ! missing file ending EOL

  * tests/*.prg
  * extras/gtwvw/tests/wvwtest9.prg
    * formatting
2013-02-26 13:44:10 +00:00
Viktor Szakats
acbd419e9e 2013-02-25 17:56 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + documented hbmk2 plugin API calls
    + documented hbmk2 plugin variables
    + added license to the end of -longhelp[md] output
    ! fixed to do strict parameter checking in all
      public plugin API calls (where missing) to avoid
      RTEs inside hbmk2 code due to faulty plugin code
    + hbmk_FuncNameEncode() added with same functionality
      as hbmk_FNameToSymbol()
    - hbmk_FNameToSymbol() deprecated. Will disappear
      after HB_LEGACY_LEVEL4.
      INCOMPATIBLE. Change hbmk_FNameToSymbol() to hbmk_FuncNameEncode().
    * changed parameters of hbmk_FNameEscape().
      New calling convention requires the hbmk context to be passed
      as first parameter and it doesn't support the last two
      numeric values anymore. Will accept old calling convention
      till HB_LEGACY_LEVEL4 (untested though).
      INCOMPATIBLE. Change these:
         hbmk_FNameEscape( cFileName, hbmk[ "nCmd_Esc" ], hbmk[ "nCmd_FNF" ] )
      to this:
         hbmk_FNameEscape( hbmk, cFileName )
    * following hbmk2 plugin variables are deprecated and will
      disappear after HB_LEGACY_LEVEL4:
         "nCmd_Esc", "nScr_Esc", "nCmd_FNF", "nScr_FNF"
    + added new hbmk2 plugin variable:
         "apiver"
      it will return an integer with the plugin API
      compatibility level. Currently 2, will change to 3
      after HB_LEGACY_LEVEL4. For compatibility, use this
      to retrieve it in plugins:
         apiver := iif( "apiver" $ hbmk, hbmk[ "apiver" ], 1 )
    ! fixed to split certain long help section headers
2013-02-25 17:11:53 +00:00
Viktor Szakats
19c32d7afe 2013-02-25 12:51 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.*.po
  * utils/hbmk2/hbmk2.prg
    + added 'description' section to help (visible in -longhelp[md])
    + moved examples (and one note) from README.txt to hbmk2 help
    ! grammar cleanup and typos in help
    * formatting

  - website/license.html
  * website/*.html
    ! deleted another obsolete copy of the license and replaced
      with links directly to COPYING.txt in repository

  * contrib/hbsqlit3/hbsqlit3.ch
  * contrib/hbsqlit3/hdbc.prg
  * contrib/xhb/cgi.ch
  * contrib/xhb/*.prg
  * extras/gtwvw/docs/gtwvw.txt
  * extras/gtwvw/*.c
    ! fixed obsolete license references

  * tests/inherit.prg
  * tests/stripem.prg
  * contrib/xhb/*.prg
    * use hb_default(), misc cleanups, html closing tags

  * config/aix/libs.mk
  * doc/xhb-diff.txt
  * src/common/hbfsapi.c
  * src/rtl/gtcrs/hb-charmap.def
  * src/rtl/strcase.c
  * website/download.htm
    ! deleted line ending spaces

  * website/download.htm
  * doc/gmake.txt
  * doc/tracing.txt
  * utils/hbmk2/Makefile
    * cleanups
2013-02-25 11:53:39 +00:00
Tamas Tevesz
a02c34a62a 2013-02-25 11:16 UTC+0100 Tamas TEVESZ (ice extreme.hu)
- config/minix/ack.mk
  * config/global.mk
  * config/minix/clang.mk
  * config/minix/gcc.mk
  * src/rtl/filesys.c
  * src/vm/dynlibhb.c
  * utils/hbmk2/hbmk2.prg
  * contrib/hbssl/hbssl.hbm
  * README.txt
    * Update for Minix 3.2.1
    - ack is gone
    + build with shared library support
2013-02-25 11:17:04 +00:00
Viktor Szakats
5f2e6ad585 2013-02-24 13:37 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + documented the way to exclude libraries from linking
      (see '-l' option and 'libs=' directive)
    + documented '-hbcontainer' target type (no longer
      experimental)
    * '-hbimplib' option marked as Windows-only in help
    * '-hbimplib' option moved to long help
    * '-mt/-st' option moved to top of long help (to keep main
      help screen short)

  * doc/tracing.txt
    - deleted obsolete options from examples
2013-02-24 12:42:51 +00:00
Viktor Szakats
946d494e0c 2013-02-23 18:05 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + added HBSHELL_CLIPPER() shell/script API call, which
      configures the environment to be Clipper (non-Unicode)
      compatible. Identical to the default environment of
      compiled .prg apps. It's not recommended for new
      scripts, but it may be useful to run legacy code
      as script.
    + added '-license'/'--license' option to display the
      license of hbmk2
    * formtting made hbformat friendly, minor optimizations

  * README.txt
    ! fixed minor typo in project description

  * website/index.html
    + updated project description with the one on sf.net
      and in README.txt

  * contrib/hbgd/tests/digits/odw.gif
  * contrib/hbgd/tests/imgs_in/gdlogo.png
  * contrib/hbhpdf/tests/files/*.png
  * website/images/*.png
  * website/samples/screenshots/*.png
    % optimized

  - website/samples/screenshots/*_w32.png
  + website/samples/screenshots/*_win.png
  * website/samples/screenshots/*.html
    * w32 -> win
2013-02-23 17:15:08 +00:00
Viktor Szakats
b2e8dbcea6 2013-02-22 11:06 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + support '-version', for local consistency with other
      (regular) double dashed options
    + will now warn if .lib/.a extension is used with -hblib/-hbimplib
      modes or .dll extension with -hbdyn/-hbdynvm modes in -o option value.
      It's unnecessary unless you want to make your .hbp file non-portable.

  * contrib/hbtest/core.prg
    ! fixed to trim line ending spaces in output
    ! fixed to handle RTEs with values containing control chars
    * use hb_StrReplace() instead of repeated StrTran()s
    ! set language to EN while evaluating the test expressions
      so that RTEs come in one common language
    ! fixed to escape more control chars in strings
    ! control char escaping missing for Memo strings
    * hbformatted (with 1 manual correction)

  * utils/hbtest/hbtest.prg
    ! fixed to trim line ending spaces in output
    ! fixed to handle RTEs with values containing control chars
    * made more hbformat friendly

  * contrib/hbtest/tests/test.prg
    + added self-tests

  * contrib/xhb/xhbmemo.prg
    * space
2013-02-22 10:07:05 +00:00
Viktor Szakats
e85a49339b 2013-02-21 23:31 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/compiler/ppcomp.c
    + '#pragma nostartproc=' / '#pragma -n' will now return
      a permanent error. The compiler doesn't support (for
      longer than I can remember) on the fly modifying this
      option. Reading the option continues to be supported.
      [INCOMPATIBLE] in that t now will generate an error
      instead of being silently ignored.

  * doc/pragma.txt
    * marked 'nostartproc' #pragma as read-only
    * example to feature another pragma instead of 'nostartproc'

  * utils/hbmk2/hbmk2.prg
    * FuncNameEncode(): minor code cleanup

  * doc/gtapi.txt
  * doc/pragma.txt
    * date formatting

  * ChangeLog
    * closed two recent TOFIXes
2013-02-21 22:32:03 +00:00
Viktor Szakats
4aff1d147d 2013-02-21 17:52 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.hbp
  * utils/hbmk2/hbmk2.prg
  * utils/hbmk2/Makefile
    ! fixed to not run shell in corner case of:
        hbmk2 -plugin=my.hb [...]
    + documented one missing script/shell API
    + refactored hbmk2/hbshell code to not utilize file wide
      STATIC variables. It allows to _compile_ hbmk2.prg
      regardless of -n option usage
    + added some black magic to be able to _run_ hbmk2.prg
      with or without using -n option
    + additional tricks to avoid defining any unnecessary
      or potentially colliding public functions. It means
      hbmk2/hbrun can now run _itself_ as a script.
      both as .hrb and .prg flavor and regardless of
      -n option usage.

  * contrib/hbcurl/hbcurl.ch
    + added HB_CURLFTP_CREATE_DIR* constants

  * contrib/hbcurl/tests/ftp_uldl.prg
    ! updated FTP test URL
    * cleaned configuration parameters to be strictly
      in sync with libcurl docs
    + do not disable SSL host/peer verifications

  * tests/testhrb.prg
  * src/vm/runner.c
    * misc comment cleanup

  * tests/testhtml.prg
    * code cleanup

  * contrib/gtwvg/gtwgud.c
  * contrib/gtwvg/gtwvgd.c
  * contrib/hbgt/bitflags.c
  * contrib/hbmysql/readme.txt
  * contrib/hbmysql/tests/dbf2mysq.prg
  * contrib/hbmysql/tsqlbrw.prg
  * contrib/hbtip/mail.prg
  * contrib/rddads/ads1.c
  * contrib/xhb/dumpvar.prg
  * contrib/xhb/xhbmemo.prg
  * contrib/xhb/xhbtedit.prg
  * doc/gtapi.txt
  * extras/gtwvw/gtwvwd.c
  * extras/hbxlsxml/tests/example.prg
  * extras/httpsrv/uhttpd.prg
  * src/debug/dbgtarr.prg
  * src/debug/dbgthsh.prg
  * src/lang/l_sk.c
  * src/rdd/dbfcdx/dbfcdx1.c
  * src/rdd/usrrdd/rdds/arrayrdd.prg
  * src/rtl/filesys.c
  * src/rtl/gtos2/gtos2.c
  * src/rtl/gtwvt/gtwvt.c
  * src/rtl/net.c
  * src/rtl/teditor.prg
  * src/vm/thread.c
  * website/news1.html
    * cleaned all remaining national/misc dates
      to be in ANSI format (YYYY.MM.DD)
2013-02-21 16:55:35 +00:00
Viktor Szakats
823451df02 2013-02-19 10:34 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    ! accept -n1 for compilation
2013-02-19 09:36:52 +00:00
Viktor Szakats
4df8b28fc6 2013-02-19 02:06 UTC+0100 Viktor Szakats (harbour syenar.net)
* ChangeLog.txt
  * src/codepage/l_sr_cyr.h
    * typos/cleanups in comment
2013-02-19 01:07:21 +00:00
Viktor Szakats
8e57711e1d 2013-02-19 02:01 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    ! fixed -find to continue search for substrings
      after a full match (f.e. hbmk2 -find str)
    + documented shell script API calls
    + new help section format for above
    + ensure -n2 build and enable warning settings to
      help building into an .hrb
      (quite fun to run hbmk2/hbrun as a hbrun script!)
    ! FuncNameEncode() "fixed" to be in sync with how
      Harbour compiler (incorrectly) encodes function names.
      This fixes: 'hbmk2 1.prg'
    ; TOFIX: ? hb_compGenCFunc() in src/compiler to encode
             the first character of a function if it's a digit.

  * doc/pragma.txt
  * src/pp/ppcore.c
    ! fixed '#pragma nostartproc'. Only 'off' worked, 'on'
      was silently ignored since who-knows-when (pointer to
      int type received HB_BOOL value). Now it will accept
      a numeric value in sync with '-n' option. [INCOMPATIBLE]
    ; TOFIX: It still doesn't work. Not does existing '#pragma -n2'
             Pbly it's too late to set this while compiling,
             or it needs deeper modifications.
             Or delete if unfixable.
             --- test_n2.prg
             #pragma tracepragmas=on
             #pragma -n2

             #pragma -w3
             STATIC stat := "stat"
             PROCEDURE Main()
                ? stat /* ISSUE: warning appears without cmdline -n2 option */
                RETURN
             ---
             $ harbour test_n2
             $ harbour test_n2 -n2

  * README.txt
    * minor sync with hbmk2 help
2013-02-19 01:02:32 +00:00
Przemyslaw Czerpak
391573a2b9 2013-02-19 01:48 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/codepage/l_sr_cyr.h
    ! restored original Serbian collation by Srdjan Dragojlovic - thanks.

  * harbour/src/codepage/cpsr646c.c
    ! use special collation version for Serbian ISO-646C (Cyrillic YUSCII).
      AFAIK it should be the same order as in Serbian ISO-646 (Latin YUSCII)
      so user can dynamically switch between both encodings and still use
      the same binary indexes. If I'm wrong then Serbian users will have to
      fix me.
2013-02-19 00:49:01 +00:00
Pritpal Bedi
491f4f5cad 2013-12-18 15:40 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/gtwvg/gtwgud.c
  * contrib/gtwvg/gtwvgd.c
    + Allied: Rolf supplied patch but with changes. Now GTWVG is 
       equal to GTWVT in many respects.
2013-02-18 23:44:04 +00:00
Przemyslaw Czerpak
812f901e0a 2013-02-18 17:32 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/strrepl.c
    * minor cleanup
2013-02-18 16:33:09 +00:00
Viktor Szakats
63e13d3591 2013-02-18 15:32 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    ! yuck
2013-02-18 14:33:21 +00:00
Viktor Szakats
b1f94dfe51 2013-02-18 15:29 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    ! weird editing typo in a recent HB_STRREPLACE() related
      commit, causing messed custom linker options
2013-02-18 14:31:18 +00:00
Viktor Szakats
3fb65e7924 2013-02-18 14:48 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.*.po
  * utils/hbmk2/hbmk2.prg
    + added '-hb30' option and '{hb30}' filter macro to allow
      reverting back to Harbour 3.0.0
    + added provisions for merging 'hblang' and 'hbcpage'
      core libs into new 'hbnat' lib
    + SETCURSOR() and SETCOLOR() references will now also
      trigger full screen CUI mode in hbrun scripts
    + documented the fact that GTCGI is default GT for scripts
      and that it's switched to another one (and which) when
      CUI mode script is detected
    + marked all information in help with '[*]' which shows
      host platform dependent, dynamic data (f.e. systems paths)
    + hbmk.hbc will now be searched for under user's home
      directory on non-*nix, too
    + added '-find' special hbmk2 option for finding Harbour functions.
      It will lookup any strings passed as command line arguments
      and display in which library they can be found. It will
      also do the lookup in packages not currently installed.
      Replaces similar 'hbrun bin/find' functionality, but now
      uses existing code inside hbmk2. The new implementation
      also supports wildcards.
      Example:
         hbmk2 -find wapi_*string ntos wild
    ! documented that hbstart.hb is first searched for in
      current working directory
    ! ${hb_ver} and ${hb_verstr} macros now change their value
      in compatibility modes (-hb10, -hb20, -hb30, -xhb)
    + -longhelpmd output will now not contain installation
      specific (and potentially sensitive) data: home directory,
      hbmk2 directory, only generic replacement terms
    + version= directive help text got a mention of its default
      value (it was so far only mentioned next to HBMK_HAS_<hbcname>
      envvar)
    + documented exit codes in help text
    * minor tweaks to some help lines
    * cleanup for Markdown formatting internals
    * plugin callback variable "nErrorLevel" renamed to "nExitCode"
      [INCOMPATIBLE]
    * exit code changed to value 6 from 1 when hbrun script has
      a compile error [INCOMPATIBLE]
    + use core hb_DirSepToOS() where possible
    - deleted hbmk2 plugin API function hbmk_PathSepToSelf()
      Use core hb_DirSepToOS() instead. [INCOMPATIBLE]
    + added '-exitstr' hbmk2 option which will display the exit result
      in textual format

  * contrib/hbpre.hbm
  * contrib/make.hb
    % use -exitstr hbmk2 option instead of rolling a local copy
      of possible result strings

  * src/pp/ppcore.c
    + generate '\a' '\f' '\v' escape chars

  - bin/find.hb
  * config/postinst.hb
  * package/harbour.spec
    - deleted find.hb for 'hbrun bin/find' functionality.
      Replaced by 'hbmk2 -find' option.

  * src/rtl/Makefile
  - src/rtl/strxchg.c
  + src/rtl/strrepl.c
  * src/rtl/tget.prg
  * utils/hbmk2/hbmk2.prg
  * include/harbour.hbx
  * ChangeLog.txt
    * renamed HB_STRXCHG() to HB_STRREPLACE(), according to:
         https://groups.google.com/d/topic/harbour-devel/vSzlAkv6h9Y/discussion
    * updated function skeleton in ChangeLog and C source
      (also with new hash parameter)

  * contrib/hbsqlit3/hbsqlit3.hbp
  * contrib/hbsqlit3/hbsqlit3.hbx
  + contrib/hbsqlit3/errstr.prg
    + hb_sqlite3_errstr_short( <nError> ) -> <cError>

  * contrib/hbsqlit3/tests/authoriz.prg
  * contrib/hbsqlit3/tests/backup.prg
  * contrib/hbsqlit3/tests/hooks.prg
    % use hb_sqlite3_errstr_short() instead of implementing
      it locally in each example
    % use sqlite3_errstr() API to get long error strings instead
      of reimplementing it locally
    % minor opt

  * contrib/hbsqlit3/hbsqlit3.hbp
  - contrib/hbsqlit3/hdbcsqlt.prg
  + contrib/hbsqlit3/hdbc.prg
    * renamed

  * contrib/hbhpdf/errstr.prg
  * contrib/hbmzip/mziperr.prg
    ! indenting

  * contrib/hbtip/tests/tiptest.prg
    * leave color
2013-02-18 13:50:13 +00:00
Viktor Szakats
c72e900a2d 2013-02-17 12:43 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/codepage/*.c
  - src/codepage/l_*.c
  + src/codepage/l_*.h
  * src/lang/Makefile
  - src/lang/*.c
  + src/lang/l_*.c
    + renamed collation modules and language modules, so they
      now can be merged into a single directory (and sorted 
      by extension to overview country coverage).

  * src/common/hbstr.c
    + added missing some C escaped chars: \a, \f, \v
      INCOMPATIBLE: thus far they had been converted to
      char 'a', 'f', 'v' respectively.
      e"" string literals, HB_STRCDECODE(), HB_STRDECODESCAPE()
      are affected.

  * utils/hbmk2/hbmk2.prg
    ! avoided one ASCII code dependent comparison
    ! added missing value value validation for -incpath= option
    * minor internal cleanups
2013-02-17 11:51:14 +00:00
Viktor Szakats
87517c52ae 2013-02-16 15:09 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    ! RTE regression in one last change
2013-02-16 14:11:01 +00:00
Viktor Szakats
8be9918691 2013-02-15 19:21 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + reminaing STRTRAN() to HB_STRXCHG() update.
    * converted few NOTEs to TODOs to eliminate few
      cases of recursive macros (which exploited side-effect
      of repeated STRTRAN() calls)
    ; Any sort of regression is possible now.
2013-02-15 18:22:44 +00:00
Viktor Szakats
48f5c83103 2013-02-15 18:49 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + further STRTRAN() to HB_STRXCHG() updates.
      (one group left)
2013-02-15 17:50:30 +00:00
Viktor Szakats
f5a35d2577 2013-02-15 16:19 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    ! fixed casing of hb_StrXChg() to match harbour.hbx
    ! fixed to not include and invalid header directory
      in a rare case (hbmk2 -head=native t.c -hbc -inc)
      on header detection. It seemed a duplicate value
      in valid cases anyway.
    + using HB_STRXCHG() with the new hash option almost
      everywhere
    + use HB_STRXCHG() in some more places when forming
      command (no everywhere yet, and the recursive
      replacement was localized but not sorted out yet)
    + use HB_STRXCHG() to replace macros in an internal
      template
    ; HB_STRXCHG() can resolve unlikely case where
      options/filenames contained macro names used inside
      the source. It also makes for a less ambiguous code.
    + added warnings if invalid value is used in certain
      options. (after HB_LEGACY_LEVEL4, until then, the
      replacement option is displayed)

  * src/rtl/tget.prg
  * utils/hbmk2/hbmk2.prg
    ! fixed casing of hb_StrXChg() to match harbour.hbx
2013-02-15 15:46:23 +00:00
Przemyslaw Czerpak
5035262bdb 2013-02-15 12:14 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/strxchg.c
    + added support for using hash arrays as replace pairs in second
      argument of hb_strXChg() - hash arrays are accepted if 3-rd parameter
      is ommitted or is NIL. Now this alternative syntax:
         hb_strXChg( <cString>, <hChanges> ) -> <cResult>
      is also supported, i.e.:
         cData := hb_strXChg( cSource, { "{LI}" => cLIValue, ;
                                         "{FI}" => cFIValue } )
      Please remember that single hash layer is much lighter data type
      then array of subarrays because it needs only one GC item when
      each subarray is new GC item.

  * harbour/include/hbtypes.h
    * renamed HB_EXTISARRAY to HB_EXTISPARAM, old type is covered by
      HB_LEGACY_LEVEL4 macro.

  * harbour/include/hbapi.h
  * harbour/src/vm/extend.c
    + added new public C function:
         HB_BOOL hb_extIsNil( int iParam );
    % use hb_extIsNil(n) in HB_ISNIL(n) macro. It eliminates double
      function call and also double (n) usage so it improves the
      performance and allows to use complex expressions as HB_ISNIL()
      argument.

  * harbour/src/vm/maindllp/dllext.c
    + added wrappers for hb_extIsNil() abd hb_extIsObject()
2013-02-15 11:15:19 +00:00
Viktor Szakats
cf6c4473b2 2013-02-15 03:09 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rtl/tget.prg
    % use HB_STRXCHG()

  * utils/hbmk2/hbmk2.prg
    + use HB_STRXCHG() for all Markdown conversion
    ! use HB_STRXCHG() in filter evaluation code. It will
      fix potential problem when macro values contained
      internal placeholder string
    ! fixed Markdown conversion in copyright banner
    % use \t instead of manual solution
    * other minor cleanups
    + added a good bunch of TODOs for remaining places
      where STRTRAN() has to be changed to HB_STRXCHG()
      I'm only wishing for a syntax that keeps search
      and replace values closer together to keep the
      source well readable, f.e.:
         STRXCHG( str, { ;
            { "{LI}", cLIValue }, ;
            { "{FI}", cFIValue } } )
      Though it may be solved with a local wrapper because 
      they are not speed critical. Ideas welcome.
2013-02-15 02:20:42 +00:00
Viktor Szakats
203523f991 2013-02-15 02:11 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.*.po
  * utils/hbmk2/hbmk2.prg
    ! fixed most hacks around embedded newlines in hbmk2's
      own output messages. Now they are handled natively,
      which will fix output that contains "\n" as normal
      part of the text, f.e. "C:\name\", and makes the
      newlines in .po files standard.

  * ChangeLog.txt
  * utils/hbmk2/hbmk2.prg
    ! "Markdown" cased correctly

  * src/rtl/strxchg.c
    + SVN props

  * contrib/hbtip/httpcli.prg
    * cleanups
2013-02-15 01:15:58 +00:00
Przemyslaw Czerpak
50d7ec8675 2013-02-15 01:53 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/harbour.hbx
  * harbour/src/rtl/Makefile
  + harbour/src/rtl/strxchg.c
    + added new PRG function:
         hb_strXChg( <cString>, <cSource> | <acSource>, ;
                                <cDest> | <acDest> ] ) -> <cResult>
      This function allows to easy replace different substrings in
      given string.
      If 2-nd is string then each character in <cString> which exists
      in <cSource> at <n> position is replaced by corresponding character
      at <n> position in <cDest> or string from <acDest>[ <n> ]
      If 2-nd parameter is array then each <cString> substring which exists
      in <acSource> at <n> position is replaced by corresponding character
      at <n> position in <cDest> or string from <acDest>[ <n> ].
      If <n> is longer then LEN() of <cDest> or <acDest> then given
      character/substring is removed from result.
      This function should help in code which wrongly uses repeated
      StrTran() calls all regex which can change also substituted values.
      Examples:
         // encode XML value
         cXmlText := hb_strXChg( cText, "<>&", { "&lt;", "&gt;", "&amp;" } )
         // now decode it to raw text
         cText := hb_strXChg( cXmlText, { "&lt;", "&gt;", "&amp;" }, "<>&" )
         // strip all digits from string
         cNoDigit := hb_strXChg( cText, "0123456789" )
         // extract all digits from string
         cDigits := hb_strXChg( cText, cNoDigit )
         // convert chosen letters to upper case
         ? hb_strXChg( "hello world, "hlwd", "HLWD" )

  * harbour/src/common/hbfopen.c
    * added workaround for missing wsystem() in XCC
2013-02-15 00:54:04 +00:00
Pritpal Bedi
7d48bb3f46 2013-12-14 14:26 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbtip/httpcli.prg
    + Added: method :Put( xPostData, cQuery ).
       This is identical to :Post() but issues PUT verb instead of POST.
       PUT verb is required for certain RESTful operations.
2013-02-14 22:37:03 +00:00
Viktor Szakats
78e179c85c 2013-02-14 23:09 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/xhb/hbxml.c
    ! several memory leaks fixed in xhb XML support (TXml class)
    ; Patch by Jose F. Gimenez. Thank you very much.

  * utils/hbmk2/hbmk2.prg
    ! fixed -request= to work again for Harbour pcode dynlibs
      regression from: 2010-07-31 13:44 UTC+0200 Viktor Szakats
         8fb774ef80
      (sf.net's SVN web browser is effectively unusable anymore
      for certain parts of Harbour, their server cannot handle
      the history)
    ! fixed missing detection for the proper bcc linker option
      that disables warning for duplicate symbols in executables

  * extras/template/hbtpl.hbp
    + added example to link dynlib against other Harbour (pcode) dynlib
      Disclaimer: There is no "generic support" for this,
      only a set of conventions used throughout Harbour
      contrib .hbc files, contrib/make.hbs and
      $hb_pkg_dynlib.hbm (aka utils/hbmk2/pkg_dynl.hbm)

  * extras/*/*.hbx
    * refreshed
2013-02-14 22:13:42 +00:00
Viktor Szakats
3e433c3a18 2013-02-14 15:08 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.*.po
  * utils/hbmk2/hbmk2.prg
    * some internal cleanups
    + invalid libpath detection extended to .hbc files
    + invalid header path detection extended to .hbc files
    + invalid libpath detection extended to an alternate lib directory
    + invalid header/lib path detection now detects some
      relative path formats
    + invalid header/lib path detection now detects values
      pointing to embedded C compiler location (these are
      always invalid and handled by hbmk2 automatically)
    ; amazing what it takes to protect users from themselves!
      I guess users who make above errors won't read the
      warnings anyway.
2013-02-14 14:10:34 +00:00
Viktor Szakats
c171e43230 2013-02-14 11:39 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    * -harbourhelp description detailed
    + documented -build option in help
    + support for -credits option
    ! fixed indentation in two recent functions

  * utils/hbmk2/examples/contrib.hbc
    ! minor correction
2013-02-14 10:48:08 +00:00
Viktor Szakats
d0a94440d9 2013-02-13 23:30 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbformat/hbfmtcls.prg
  * contrib/hbformat/utils/hbformat.ini
    + allow control for how many spaces to insert (or leave 
      as is) between comment markers and comment text.
      Thanks to Jose F. Gimenez for the bit-perfect patch.
2013-02-13 22:33:19 +00:00
Viktor Szakats
ceba217b82 2013-02-13 22:53 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    ! fixed libname suggestion in a very obscure case

  * utils/hbmk2/examples/contrib.hbc
  - utils/hbmk2/examples/contribf.hbc
    - deleted further .hbc examples with heavy contrib specific
      information. For live .hbc example it's best to check any 
      of them in /extras/*/ and /contrib/*/ directories
2013-02-13 21:55:00 +00:00
Viktor Szakats
842b89c24e 2013-02-13 22:22 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + better detection of core libraries specified in user make files
    + hbmk2 will now detect certain common and non-portable/wrong
      library specifications in command line and .hbc file.
      It will also suggest to correct options to use.
      It's now a warning, but such wrong options will be ignored
      after HB_LEGACY_LEVEL4.
      Report if it causes warnings for proper usage scenarios.
      Some examples for wrong options detected:
         my.lib
         libmy.lib
         -lmy.lib
         -llibmy.lib
         -llibmy.a
         -lmy.a
         -lC:\libs\my.lib
         -lC:\libs\libmy.lib
         -lC:\libs\libmy.a
         -lC:\libs\my.a
         -lC:\libs\hbrtl.a
         -lC:\hb30\lib\win\mingw\
         -lC:\hb30\lib\win\mingw\my
         -lC:\hb30\lib\win\mingw\my.a
         -lC:\hb30\lib\win\mingw\hbrtl.a
         -lhbrtl.lib
         -llibhbrtl.a
         -lhbrtl.a
      [ For those who wonder: all of these can be safely
        replaced with '-lmy -LC:\libs' ]
2013-02-13 21:24:10 +00:00
Viktor Szakats
47f1242225 2013-02-13 12:43 UTC+0100 Viktor Szakats (harbour syenar.net)
* README.txt
    * minor additions/tweaks to TROUBLESHOOTING section
f
2013-02-13 11:44:32 +00:00
Viktor Szakats
3693430c2d 2013-02-13 12:30 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
  * utils/hbmk2/examples/contrib.hbc
    * minor internal and help cleanups

  - utils/hbmk2/examples/c4w.hbc
  - utils/hbmk2/examples/fwh.hbc
  - utils/hbmk2/examples/oohg.hbc
  - utils/hbmk2/examples/whoo.hbc
  - utils/hbmk2/examples/xhgtk.hbc
    - deleted example .hbc files for defunct, commercial
      or long time untested against 3rd party libs, that
      held no real example value anymore. It's best if
      these files are shipped by the projects themselves.
2013-02-13 11:34:34 +00:00