Commit Graph

1800 Commits

Author SHA1 Message Date
Viktor Szakats
51f2c4af14 2012-06-13 01:48 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    * further cleaned *HB_INSTALL* variable usage
    % merged harbour dir layout detection code used in
      build and runner modes.
2012-06-12 23:51:27 +00:00
Viktor Szakats
df87b48bf8 2012-06-12 21:14 UTC+0200 Viktor Szakats (harbour syenar.net)
* examples/hbbtree/tests/ctest.c
    ! converted Windows type to Harbour one

  * INSTALL
    ! typo in prev

  * utils/hbmk2/hbmk2.prg
    * cleaned output msgs in runner mode
    * cleaning *HB_INSTALL* variable usage. step one.
2012-06-12 19:16:21 +00:00
Viktor Szakats
b88fb293cc 2012-06-12 18:56 UTC+0200 Viktor Szakats (harbour syenar.net)
* INSTALL
    + extended troubleshooting instructions for code that
      involves non-ASCII chars

  * utils/hbmk2/hbmk2.prg
    + use UTF8 HVM in runner mode
    + enabled translations in runner mode
    ! in runner mode fixed setting up core header dir when no
      dyanmic libs are used
    ! in runner mode, dynamic lib location should now be detected
      also on *nix systems (untested)
    * some other minor cleanups and tweaks to runner mode
2012-06-12 17:00:15 +00:00
Viktor Szakats
169631527c 2012-06-12 04:17 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbhttpd/log.prg
  * contrib/hbtip/log.prg
  * contrib/hbziparc/ziparc.prg
  * src/rtl/hbdoc.prg
  * src/rtl/hbi18n2.prg
  * src/rtl/memvarhb.prg
  * src/rtl/tlabel.prg
  * src/rtl/treport.prg
    % use HB_FNAMEEXTSETDEF() instead of manual logic.
      it also fixes RTEs in hbziparc when passed non-string
      filename to nearly any of its APIs.

  * utils/hbi18n/hbi18n.hbp
    * missed -shared enabler in .hbp

  * utils/hbmk2/Makefile
  * utils/hbmk2/hbmk2.hbp
    + enabled -shared build for hbmk2

  * utils/hbmk2/hbmk2.prg
    % consolidated .hbc finder logic
    % moved 'hbmk' structure initializations to subfunctions
    + added Harbour installation autodetection for hbmk2's
      runner mode. It's copy-paste code yet.
    + added automatic include path configuration in hbmk2's
      runner mode. It means that now #require-d extensions
      will have their include paths setup, so their header
      will be found, so they can be used now.

  ; I more and more see it a reality to integrate hbrun
    functionality into hbmk2. #require logic needs
    much of hbmk2's facilities, and hbmk2 already has
    basic runner capabilities. Contrib libs (and plugins)
    will all have to be loaded dynamically in such case,
    but since it works well, it should not be a problem.
    Finally hbmk2 can be the utility that runs scripts
    dynamically and also able to build an exe from them,
    using the exact same source code, without any external
    configuration, if the source code provides "#require"
    clues. All it needs is both dynamic and static versions 
    of extensions (=contribs or addons).
2012-06-12 02:30:41 +00:00
Viktor Szakats
84f5afb216 2012-06-11 21:06 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbtpathy/telepath.prg
    * using hb_default() instead of rolling it manually

  * contrib/gtwvg/tests/wvgactivex.prg
  * contrib/gtwvg/tests/wvgmodal.prg
  * contrib/hbhttpd/core.prg
  * contrib/hbhttpd/log.prg
  * contrib/hbide/hbqreportsmanager.prg
  * contrib/hbide/hbqtoolbar.prg
  * contrib/hbide/idebrowse.prg
  * contrib/hbide/ideconsole.prg
  * contrib/hbide/idedict.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/idefindreplace.prg
  * contrib/hbide/ideharbourhelp.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/ideshortcuts.prg
  * contrib/hbide/idesources.prg
  * contrib/hbide/idestylesheets.prg
  * contrib/hbide/idethemes.prg
  * contrib/hbide/idetools.prg
  * contrib/hbide/ideuisrcmanager.prg
  * contrib/hbmagic/hbmagis.prg
  * contrib/hbmxml/tests/custom.prg
  * contrib/hbnetio/utils/hbnetio/netiomgm.prg
  * contrib/hbnetio/utils/hbnetio/netiosrv.prg
  * contrib/hbnf/menutonf.prg
  * contrib/hbnf/ontick.prg
  * contrib/hboslib/core.prg
  * contrib/hbqt/tests/cls_dbstruct.prg
  * contrib/hbqt/tests/demoqt.prg
  * contrib/hbxbp/tests/xbpqtc.prg
  * contrib/xhb/stream.prg
  * contrib/xhb/xhbole.prg
  * examples/hbxlsxml/xlsxml_s.prg
  * examples/hbxlsxml/xlsxml_y.prg
  * examples/hbxlsxml/xlsxml.prg
  * tests/parseini.prg
    * formatting HB_IS*() calls
    ! using HB_ISSTRING() instead of HB_ISCHAR() on .prg level

  * utils/hbmk2/hbmk2.prg
    ! minor typo on help screen
2012-06-11 19:09:28 +00:00
Viktor Szakats
9e9544e2db 2012-06-11 16:33 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
  * utils/hbmk2/hbmk2.es_PE.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.pt_BR.po
    - deleted a few "experimental" flags
2012-06-11 14:34:36 +00:00
Viktor Szakats
8759d067ed 2012-06-11 16:30 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbide/ideedit.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/idesaveload.prg
  * contrib/hbrun/hbrun.prg
  * utils/hbmk2/hbmk2.prg
  * utils/hbmk2/hbmk2.es_PE.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.pt_BR.po
    - deleted support for .hbs extension for Harbour Scripts.
      use .hb now. INCOMPATIBLE.
2012-06-11 14:31:35 +00:00
Viktor Szakats
0a1680084a 2012-06-11 01:01 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + added support for #require directive in minimal script
      runner. The plan is to model .hbc processing and header
      directory setup for #require-ed extensions and backport 
      it to hbrun.
2012-06-10 23:01:37 +00:00
Viktor Szakats
2934968133 2012-06-10 16:43 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbziparc/ziparc.prg
    ! fixed using old IS*() macro w/o common.ch

  * contrib/hbziparc/tests/unzipa.prg
  * contrib/hbziparc/tests/zipa.prg
    + added #require directives

  * contrib/hbgd/tests/animgif.prg
  * contrib/hbgd/tests/antialia.prg
  * contrib/hbgd/tests/barms.prg
  * contrib/hbgd/tests/bartest.prg
  * contrib/hbgd/tests/counter.prg
  * contrib/hbgd/tests/gdtest.prg
  * contrib/hbgd/tests/gdtestcl.prg
  * contrib/hbgd/tests/test_out.prg
  * contrib/hbgd/tests/testdpi.prg
  * contrib/hbgd/tests/tostring.prg
  * contrib/hbgd/tests/tpoly.prg
  * examples/httpsrv/modules/showcounter.prg
    * cleanups and fixes (replaced ISDIRECTORY() xhb function,
      fixed Windows dir detection, added simpleio.ch)

  * contrib/hbzebra/tests/testcair.prg
  * contrib/hbzebra/tests/testhpdf.prg
  * contrib/hbzebra/tests/testwin.prg
  * contrib/rddads/tests/datad.prg
  * contrib/rddads/tests/testmg.prg
    + added #require directives for testing

  * contrib/hbfoxpro/misc.prg
  * contrib/hbnf/clrsel.prg
  * contrib/hbnf/menu1.prg
  * contrib/hbnf/metaph.prg
  * src/rtl/hbi18n2.prg
  * utils/hbtest/rt_str.prg
    * formatting (to help a grep case)
2012-06-10 14:48:22 +00:00
Viktor Szakats
969e4ab0d9 2012-06-10 01:26 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbmlzo/hbmlzo.hbc
    ! fixed commented lib reference rendering the .hbc file unusable

  * contrib/hbmlzo/tests/test.prg
    + replaced in-source hbmk2 cmdline instructions with
      #require directive

  * contrib/hbqt/hbmk2_qt.hb
  * src/rtl/hbdoc.prg
  * utils/hbmk2/examples/plug_tpl.hb
    % use '%d' in hb_strformat() instead of calling hb_ntos()

  * utils/hbmk2/hbmk2.prg
    + show different message when .hbc file is triggered by
      #require directive

  * contrib/hbmlzo/hbmlzo.ch
    * formatting
2012-06-09 23:29:56 +00:00
Viktor Szakats
256803e47a 2012-06-09 21:19 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/harbour.hbx
  * src/rtl/Makefile
  + src/rtl/cdpdet.prg
  + src/rtl/cdpdetc.c
    + moved terminal and OS detection logic from hbmk2 to RTL
      with changes necessary to fit into core. New functions are:
        hb_cdpOS() -> <cCP | NIL>
        hb_cdpTerm() -> <cCP | NIL>
      it means these functions can be used in any apps now.
      Example:
        hb_SetTermCP( hb_cdpTerm() )
        Set( _SET_OSCODEPAGE, hb_cdpOS() )

  * contrib/hbrun/hbrun.prg
  * utils/hbmk2/Makefile
  - utils/hbmk2/hbmk2c.c
  * utils/hbmk2/hbmk2.hbp
  * utils/hbmk2/hbmk2.prg
    * using hb_cdpOS() and hb_cdpTerm() to automatically
      configure OS and terminal CP
2012-06-09 19:20:20 +00:00
Viktor Szakats
9635a83a05 2012-06-09 17:27 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/make.hb
    % use $d in hb_strformat() instead of calling hb_ntos()
    ! switched to UTF8EX to be in sync with hbmk2

  * utils/hbmk2/hbmk2.prg
    ! fixed nasty regression caused by old problem where --hbinfo
      output might have contained other information. Now hbmk2
      makes sure to keep -info disabled and -quiet enabled when
      in --hbinfo mode
2012-06-09 15:30:29 +00:00
Viktor Szakats
c0fff41758 2012-06-08 01:14 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbct/getsecrt.prg
  * contrib/hbgd/gdbar.prg
  * contrib/hbgd/gdbarcod.prg
  * contrib/hbhttpd/tests/eshop.prg
  * contrib/hbide/ideconsole.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbodbc/browodbc.prg
  * contrib/hbodbc/todbc.prg
  * contrib/hbqt/hbmk2_qt.hb
  * contrib/hbqt/tests/wvtqt.prg
  * contrib/hbsqlit3/tests/hdbctest.prg
  * contrib/hbtip/tests/tiptest.prg
  * contrib/hbtip/thtml.prg
  * contrib/hbwin/tests/olesrv1.prg
  * contrib/hbwin/tests/testax.prg
  * contrib/hbxpp/browdbx.prg
  * contrib/hbxpp/tthreadx.prg
  * contrib/xhb/cstruct.prg
  * contrib/xhb/dirrec.prg
  * contrib/xhb/dumpvar.prg
  * contrib/xhb/htjlist.prg
  * contrib/xhb/tcgi.prg
  * contrib/xhb/tedit.prg
  * contrib/xhb/thtm.prg
  * contrib/xhb/ttable.prg
  * contrib/xhb/xcstr.prg
  * contrib/xhb/xhbcls.ch
  * contrib/xhb/xhberr.prg
  * contrib/xhb/xhbole.prg
  * contrib/xhb/xhbtedit.prg
  * doc/codebloc.txt
  * doc/en/command.txt
  * doc/en/objfunc.txt
  * include/hbpers.ch
  * include/std.ch
  * src/common/expropt1.c
  * src/compiler/hbmain.c
  * src/debug/dbghelp.prg
  * src/debug/dbgtarr.prg
  * src/debug/dbgthsh.prg
  * src/debug/dbgtobj.prg
  * src/debug/dbgwa.prg
  * src/debug/debugger.prg
  * src/rdd/dbfntx/dbfntx0.prg
  * src/rdd/hbsix/sxcompat.prg
  * src/rdd/usrrdd/rdds/hscdx.prg
  * src/rdd/usrrdd/rdds/rlcdx.prg
  * src/rtl/browdb.prg
  * src/rtl/browse.prg
  * src/rtl/dirscan.prg
  * src/rtl/errsys.prg
  * src/rtl/hbini.prg
  * src/rtl/listbox.prg
  * src/rtl/tclass.prg
  * src/rtl/tlabel.prg
  * src/rtl/tobject.prg
  * src/rtl/treport.prg
  * utils/hbtest/rt_mt.prg
    * some formatting (almost only whitespace)

  * contrib/xhb/dirrec.prg
  * src/rtl/dirscan.prg
    ! use directry.ch constants

  * contrib/hbqt/tests/draggable.prg
    ! hbformat and manual formats/cleanups

  * src/vm/maindllp/dllext.c
    ! fixed typo in recent addition
2012-06-07 23:18:44 +00:00
Viktor Szakats
3afab7b585 2012-06-07 12:45 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + added darwin Homwbrew support
    * minor improvements on darwin pkg manager usage
2012-06-07 10:46:15 +00:00
Viktor Szakats
9684accf5f 2012-06-07 12:15 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/Makefile
  * include/common.ch
  + include/hbhash.ch
    + moved hash-related constants from common.ch to new hbhash.ch
    ; common.ch include hbhash.ch for compatibility, protected by
      HB_LEGACY_LEVEL4 so it will stop being included automatically.
      If you use HB_HAUTOADD_* or HB_HMERGE_* constants, make sure
      to #include "hbhash.ch".

  * contrib/hbrun/headers.prg
  * utils/hbmk2/hbmk2.prg
    + include hbhash.ch

  * src/rdd/hbsix/sxini.prg
    * use hbhash.ch instead of common.ch
2012-06-07 10:20:17 +00:00
Viktor Szakats
8a0e1e603d 2012-06-06 16:02 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/make.hb
  * utils/hbmk2/hbmk2.es_PE.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.prg
    + use JSON format instead of hand-rolled microformat for 
      --hbinfo output (used in Harbour SVN for communication 
      between contrib make.hb script and hbmk2)
      INCOMPATIBLE. Update your system in the unlikely event 
      you use --hbinfo output.
2012-06-06 14:03:50 +00:00
Viktor Szakats
ee6129dd7d 2012-06-06 15:17 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    * marked hbmk2_* plugin API functions with HB_LEGACY_LEVEL4
2012-06-06 13:18:07 +00:00
Viktor Szakats
84fd6f8dd1 2012-06-06 12:53 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + added code signing options to help screen (though still 
      untested on darwin)
2012-06-06 10:53:56 +00:00
Viktor Szakats
44659a7e4f 2012-06-06 12:44 UTC+0200 Viktor Szakats (harbour syenar.net)
+ contrib/hbrun/extdyn.prg
  + contrib/hbrun/extdynpl.hb
  + contrib/hbrun/extstat.prg
  - contrib/hbrun/pullext.prg
  - contrib/hbrun/pullextp.hb
  * contrib/hbrun/hbrun.hbp
  * contrib/hbrun/hbrun.prg
  * contrib/hbrun/plugins.prg
    * internal cleanup, renames and restructuring
    + findinpath function to accept arrays
    + loaded dynamic extensions are now searched in curdir,
      hbrun dir and PATH on non-*nix and LD_LIBRARY_PATH on *nix 
      systems
    ! fixed findinpath always returning success
    * renamed some stuff recently introduced:
       HBRUN_DYN -> HBRUN_EXT
       hbrun.dyn -> hbrun.ext
       dyn plugin -> ext plugin (f.e. ext.list, ext.load, ext.unload)
    ; all non-core modules are called "extensions", the ones
      linked at build time are called "static extensions", ones loaded
      dynamically are called "dynamic extensions". Console command
      plugins are called "plugins". It's still not final.

  * utils/hbmk2/hbmk2.prg
    ! misplaced comment
2012-06-06 10:46:34 +00:00
Viktor Szakats
4d96da75b6 2012-06-06 10:26 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/pp/ppcore.c
    + accept and ignore '#require' PP directive

  * contrib/hbrun/hbrun.prg
  * utils/hbmk2/hbmk2.prg
    + use '#require "name"' to request modules.
      (This replaces former '//#require', '//#pragma module' and
       '*#pragma module' directives.)

  * utils/hbmk2/hbmk2.prg
    + add .hbc automatically for '#require' directives (experimental)
      ; TODO: to work also in non-incremental mode and to work
              reliably in -inc mode. To not impact performance, the
              compiler could do a callback when #require is found,
              hbmk2 could find the .hbc and extend compiler options
              dynamically.
    ! fixed finding .hbc files that were detected automatically

  * contrib/hbrun/hbrun.1
    + added my name as author
2012-06-06 08:29:39 +00:00
Viktor Szakats
76a94499b9 2012-06-05 23:00 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
  * utils/hbmk2/hbmk2.es_PE.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.pt_BR.po
    % use '$d' in hb_strformat() instead of manually converting to string
      using hb_ntos() or str()
    ! fixed header misalignment in generated .hbx files after today's mods
2012-06-05 21:07:16 +00:00
Viktor Szakats
4334e308fb 2012-06-05 19:08 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    * default -plugin= extension is .hb (was .prg)
    + hbmk_FindInPath() API now accepts array as second parameter
    + .hbp files are now looked for in addons/contrib paths. They
      will be found the same way as .hbc files, f.e. hello.hbp
      in addons/hello/hello.hbp or contrib/hello/hello.hbp
      (dir and .hbp name must be the same for this to happen).
      You can extend the list of root dirs using HB_INSTALL_ADDONS
      (same as for .hbc files). '-info' option will output the
      the path where an .hbp file was found by hbmk2. This works
      both for .hbp files passed to cmdline directly and embedded 
      .hbp subprojects.

  * utils/hbmk2/hbmk2.es_PE.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.pt_BR.po
    * updated with new original strings
2012-06-05 17:10:24 +00:00
Viktor Szakats
50f7d72657 2012-06-05 15:46 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbqt/hbmk2_qt.hb
    + using new API names (avoid "hbmk_2_")

  * utils/hbmk2/hbmk2.prg
    ! fixed name collision after prev

  - examples/hbdoc2
  - examples/hbdoc2/genhtml.prg
  - examples/hbdoc2/gentpl.prg
  - examples/hbdoc2/gentxt.prg
  - examples/hbdoc2/genxml.prg
  - examples/hbdoc2/hbdoc2.ch
  - examples/hbdoc2/hbdoc2.hbp
  - examples/hbdoc2/hbdoc2.prg
  - examples/hbdoc2/tmplates.prg
  + examples/hbdoc
  - examples/hbdoc/hbdoc2.ch
  + examples/hbdoc/hbdoc.ch
  - examples/hbdoc/hbdoc2.hbp
  + examples/hbdoc/hbdoc.hbp
  * examples/hbdoc/genhtml.prg
  * examples/hbdoc/gentpl.prg
  * examples/hbdoc/gentxt.prg
  * examples/hbdoc/genxml.prg
  * examples/hbdoc/hbdoc2.prg
  * examples/hbdoc/tmplates.prg
    * hbdoc2 renamed to hbdoc
2012-06-05 13:48:27 +00:00
Viktor Szakats
0062d945d3 2012-06-05 15:06 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + added all public plugin API function with "hbmk_" prefix.
      old "hbmk2_" prefixed ones still exist for compatibility,
      but it's recommended to change them. "hbmk2" is only used
      now as the tool's name, but internally it's uniformly 
      referred to as "hbmk".

  * utils/hbmk2/examples/plug_tpl.hb
    + most "hbmk2" converted to "hbmk"
2012-06-05 13:06:56 +00:00
Viktor Szakats
c13165fee8 2012-06-05 14:55 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
  * utils/hbmk2/hbmk2.es_PE.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.pt_BR.po
    + "hbmk2" name avoided inside the source and generated comments
    + "hbmk2" name converted to variable so it can be easily changed
    ! fixed few typos in outputs/help
2012-06-05 12:56:14 +00:00
Viktor Szakats
1b1882018d 2012-06-05 14:17 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + added extra protection to not delete the VCS revision
      information when it already exist but current VCS revision
      extraction command didn't return any results. This often
      happens with new SVN 1.7.5, which fails with internal sqlite
      error nearly always unless 'svn cleanup' is issued.
2012-06-05 12:17:58 +00:00
Viktor Szakats
f6454abbd2 2012-06-04 19:36 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + use HB_DEFAULT()
    % deleted common.ch

  * contrib/hbrun/hbrun.prg
    ! fixed typo causing scripts being found in PATH to fail 
      to open.
2012-06-04 17:37:57 +00:00
Viktor Szakats
608da306e9 2012-06-04 17:21 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/debug/dbgbrwsr.prg
  * src/debug/dbgtarr.prg
  * src/debug/dbgthsh.prg
  * src/debug/dbgtinp.prg
  * src/debug/dbgtmenu.prg
  * src/debug/dbgtobj.prg
  * src/debug/dbgwa.prg
  * src/debug/debugger.prg
  * src/rdd/dbstruxu.prg
  * src/rdd/dbtotal.prg
  * src/rdd/hbsix/sxcompat.prg
  * src/rdd/hbsix/sxini.prg
  * src/rdd/hbsix/sxtrig.prg
  * src/rdd/rddord.prg
  * src/rdd/rddordu.prg
  * src/rdd/usrrdd/rdds/arrayrdd.prg
  * src/rdd/usrrdd/rdds/hscdx.prg
  * src/rdd/usrrdd/rdds/logrdd.prg
  * src/rdd/usrrdd/rdds/rlcdx.prg
  * src/rtl/achoice.prg
  * src/rtl/adir.prg
  * src/rtl/alert.prg
  * src/rtl/checkbox.prg
  * src/rtl/color53.prg
  * src/rtl/dbedit.prg
  * src/rtl/einstv52.prg
  * src/rtl/einstvar.prg
  * src/rtl/errsys.prg
  * src/rtl/fieldbl.prg
  * src/rtl/getsys.prg
  * src/rtl/getsys53.prg
  * src/rtl/gui.prg
  * src/rtl/hbdoc.prg
  * src/rtl/hbfilehi.prg
  * src/rtl/hbi18n2.prg
  * src/rtl/hbini.prg
  * src/rtl/libname.prg
  * src/rtl/listbox.prg
  * src/rtl/memoedit.prg
  * src/rtl/memvarbl.prg
  * src/rtl/memvarhb.prg
  * src/rtl/menusys.prg
  * src/rtl/menuto.prg
  * src/rtl/objfunc.prg
  * src/rtl/profiler.prg
  * src/rtl/pushbtn.prg
  * src/rtl/radiobtn.prg
  * src/rtl/radiogrp.prg
  * src/rtl/readvar.prg
  * src/rtl/scrollbr.prg
  * src/rtl/setfunc.prg
  * src/rtl/tbcolumn.prg
  * src/rtl/tbrowse.prg
  * src/rtl/tbrowsys.prg
  * src/rtl/tclass.prg
  * src/rtl/teditor.prg
  * src/rtl/tget.prg
  * src/rtl/tgetlist.prg
  * src/rtl/tmenuitm.prg
  * src/rtl/tmenusys.prg
  * src/rtl/tobject.prg
  * src/rtl/tpersist.prg
  * src/rtl/tpopup.prg
  * src/rtl/ttopbar.prg
  * src/rtl/typefile.prg
  * tests/hbdoctst.prg
  * utils/hbmk2/hbmk2.prg
    * IS*() macros converted to HB_IS*() function calls.
      (using full uppercase to make them stand out)
    % deleted '#include "common.ch"' where possible
2012-06-04 15:25:14 +00:00
Viktor Szakats
4c91d7f974 2012-06-04 14:00 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + '-trace' option to log VCS version exract command

  * contrib/3rd/sqlite3/sqlite3.c
  * contrib/3rd/sqlite3/sqlite3.dif
  * contrib/3rd/sqlite3/sqlite3.h
  * contrib/3rd/sqlite3/sqlite3.hbp
    * updated to 3.7.12.1 from 3.7.10 (using 3rdpatch.hb)
2012-06-04 12:02:31 +00:00
Viktor Szakats
0fc2bc3355 2012-06-04 13:45 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
  * utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.es_PE.po
    ! synced help text with actual list of supported macros.
2012-06-04 11:46:25 +00:00
Viktor Szakats
b14824f3bd 2012-06-03 10:01 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + added ${hb_verstr} macro returning: "3.2.0dev"
    + added ${hb_ver} macro returning: "030200" (in hex like __HARBOUR__ constant)
2012-06-03 08:01:37 +00:00
Viktor Szakats
690ce3b29d 2012-05-09 16:04 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/Makefile
  * utils/hbmk2/hbmk2.hbp
  + utils/hbmk2/hbmk2c.c
  * utils/hbmk2/hbmk2.prg
    + added automatic detection of _SET_OSCODEPAGE and hb_SetDispCP()
      Experimental, not well tested and it may need extensions to handle
      all possible CPs and cases on *nix systems.
      MS-DOS and OS/2 support are missing.
      Autodetection will now be used instead of generic assumptions
      and defaults stored in translation files.
    + enabled UTF8EX HVM CP on remaining (non-*nix) platforms.
    ; Once matured, this code can be moved to the core, possible
      after rewrite in C. This will make it unnecessary to roll
      private C code for hbmk2.
    ; Several problems remain on non-*nix systems when working with
      actual non-ASCII filenames.

  * utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.es_PE.po
    - deleted translation (language) dependent CP settings.
2012-05-10 14:05:35 +00:00
Viktor Szakats
88efc242b2 2012-05-08 17:51 UTC+0200 Viktor Szakats (harbour syenar.net)
* config/postinst.hbs
    * implemented same ASORT() fix as in prev commit by Przemek.
      (it may be important once we modify hbrun/hbmk2 to run 
      scripts under UTF8 CP)

  * contrib/hbnetio/utils/hbnetio/modules.hbp
  - contrib/hbnetio/utils/hbnetio/rpcdemo.hbs
  + contrib/hbnetio/utils/hbnetio/rpcdemo.hb
  - contrib/hbide/plugins/hbide_script_qtgui.hbs
  + contrib/hbide/plugins/hbide_script_qtgui.hb
  - contrib/hbide/plugins/hbide_plugin_savebackup.hbs
  + contrib/hbide/plugins/hbide_plugin_savebackup.hb
  - utils/hbmk2/examples/plug_tpl.hbs
  + utils/hbmk2/examples/plug_tpl.hb
  - tests/stripdoc.hbs
  + tests/stripdoc.hb
    * .hbs -> .hb for Harbour scripts.

  * tests/stripdoc.hb
    + use directry.ch
2012-05-08 15:51:55 +00:00
Przemyslaw Czerpak
a544b285ca 2012-05-08 17:47 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/utils/hbmk2/hbmk2.prg
    ! sort functions in .hbx files using "EN" CP.
      This modification fixed problem with resorted
      functions in .hbx files for CPs using non ASCII
      collation order for [A-Z], [0-9] and [_] characters
2012-05-08 15:47:37 +00:00
Viktor Szakats
f53e90c1e6 2012-05-08 17:29 UTC+0200 Viktor Szakats (harbour syenar.net)
- bin/hb3rdpat.hbs
  + bin/3rdpatch.hb
  * config/postinst.hbs
  * package/harbour.spec
  * package/winuni/mpkg_win_uni.nsi
    * renamed public script to use .hb extension.

  * utils/hbmk2/hbmk2.prg
    * formatting
2012-05-08 15:30:53 +00:00
Przemyslaw Czerpak
6f27c78569 2012-05-08 12:28 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/common/expropt2.c
    * small code simplification

  * harbour/src/rtl/hbregex.c
    % eliminated call to pcre_config() on each regex compilation

  * harbour/utils/hbmk2/hbmk2.prg
    ! fixed -head=full for code using non UTF8 characters.
      It was broken because in UNIX builds UTF8 is always enabled
      as HVM CP in HBMK2 and this setting was inherited by PCRE
      with PCRE_UTF8 flag. If this flag is used PCRE validates
      all strings and refuse to make any operations if they are
      not valid UTF8 string so it was not working at all for
      source code using different encoding.
    ! fixed regex used in -head=full to respect shortcuts in #include
      directive, i.e.:
         #incl "file.ch"
    ! fixed regex used in -head=full to recognize #include directives
      separated by ';', i.e.:
         #include "file1.ch" ; #include "file2.ch" ; #include "file3.ch"
    ; TOFIX: UTF8 mode on output should not be enabled unconditionally in
             all UNIX builds. There are many *nix installations where UTF8
             is not system CP, i.e. older Linux distributions. In fact
             it's user attribute so each user can use different encoding
             local to his connection and/or terminal settings. Probably
             it's good idea to use code like:
                  lUTF8 := "UTF-8" $ GetEnv( "LANG" ) .OR. ;
                           "UTF-8" $ GetEnv( "LC_CTYPE" )
2012-05-08 10:28:46 +00:00
Viktor Szakats
127723f8a0 For signing on win, MS Win SDK is needed, not MSVS 2012-05-04 18:25:54 +00:00
Viktor Szakats
ddd8ef46bc 2012-05-04 20:07 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    ! fixed RTE when logging sign command
    ! fixed `` operator to strip CRs and convert LFs to space
      in stdout output.

  * src/rdd/dbcmd.c
    ! clarified DBCREATE() 4th parameter in comment
2012-05-04 18:09:22 +00:00
Viktor Szakats
f5390e31ff 2012-05-04 12:57 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    * .hb? input make files are now considered with UTF8 encoding.
    + enabled full UTF8 CP on *nix systems. EXPERIMENTAL.

  * debian/copyright
  * package/winuni/mpkg_win_uni.nsi
  * utils/hbmk2/hbmk2.prg
  * contrib/hbpost.hbm
  * contrib/hbnetio/utils/hbnetio/modules.hbp
  * contrib/hbnetio/utils/hbnetio/netiosrv.prg
  * contrib/hbqt/hbqt_common.hbm
  * contrib/hbide/ideedit.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/idesaveload.prg
  * contrib/hbrun/hbrun.prg
  * contrib/hbrun/plugins.prg
  * config/postinst.hbs
  * COPYING
    + added support for .hb extension for Harbour scripts.
      I plan to make a full switch to .hb from .hbs.
2012-05-04 10:59:39 +00:00
Viktor Szakats
2bba56caa6 2012-05-03 12:13 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + added experimental code signing support for win and darwin
      using '-sign=<ID> [-signpw=<pw>]' options.
      on win, it requires MSVS in path.
2012-05-03 10:15:43 +00:00
Viktor Szakats
6e1f715f51 2012-05-02 19:32 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    ! fixed missed incremental updates in '-inc -head=dep'
      mode on win/os2/dos systems when -workdir= was set to 
      an absolute path. The drive separator colon was confused 
      with the file/dependency separator colon. Nasty.
2012-05-02 17:33:30 +00:00
Viktor Szakats
4876c762bb 2012-04-27 12:08 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/cdpapihb.c
    % HB_UTF8TOSTR()/HB_STRTOUTF8() optimized to "fall through"
      if the HVM CP is UTF8. Check me.

  * utils/hbmk2/hbmk2.prg
    ! TOFIX removed from two FOR EACH loops, they work on ASCII chars only
    ! one FOR EACH loop conditionally converted to FOR NEXT to work with all CPs
    ! one FOR EACH loop converted to FOR NEXT and to work on binary data
    ! Changed certain function calls to hb_ascii*() prefixed versions
    ! fixed .hbx generator to work with accented filenames
2012-04-27 10:08:33 +00:00
Viktor Szakats
ae76f51c41 2012-04-26 16:26 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    * LEN() -> HB_BLEN() where needed. (some for the sake 
      of clean code, one as an actual fix)
2012-04-26 14:27:09 +00:00
Viktor Szakats
8c899eb85a 2012-04-26 16:13 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + hbmk2 code made compatible with UTF8 HVM CP
      except where FOR EACH is used on strings, which are all
      broken with UTF8 now. Marked these with TOFIX.
    + strip UTF8 BOM from .hbm/.hbp/.hbc input files
    + added PROC CLIPINIT (I can't make it work, so commented
      for now)
    ; Switching to UTF8EX creates quite many strange problems
      when accepting cmdline arguments, passing them to embedded
      compiler, external tools, so it's not yet enabled. Also,
      one some platforms _SET_OSCODEPAGE is required (DOS/OS2),
      on some not, and detection of these cases and actual value
      is not easy (if possible). Tests made only on Windows,
      maybe on *nix I'll retry and moving to UTF8 will be done
      platform by platform.
    ; NOTE: I plan to make UTF8 the standard encoding for .hbp/.hbm/.hbc files.
    ; TOFIX: FOR EACH for UTF8EX CP
    ; TOFIX: cmdline arguments via Main() parameters, hb_AParams()
             and hb_cmdLine() on Windows.
    ; TODO: Add a way to detect maximum bit width of unicode chars,
            for now I hard-coded 16-bit.
2012-04-26 14:18:14 +00:00
Viktor Szakats
cd0cc92c3d 2012-04-23 20:31 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + added experimental framework for -ku:<cp> option. It is
      processed by hbmk2 and HVM CP set appropriately before calling
      the embedded Harbour compiler. As discussed here:
         https://groups.google.com/d/msg/harbour-devel/a1_-DDXVVYM/CE3NspTzHV4J
      I couldn't spot or test the effect of this yet.
      Accepted <cp> values: "utf8", "cp1250", "cp852", etc...
    + added TODO to switch the internal codepage to UTF8EX.
      it should help further in handling filenames with accents.
      non-priority.

  * src/rtl/menuto.prg
    * formatting

  * contrib/hbqt/gtqtc/gtqtc.cpp
    - delete recently commented lines
2012-04-23 18:31:42 +00:00
Viktor Szakats
d2d521c8e1 2012-04-11 13:53 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    * do not consider ".C" (uppercase c) as C++ source file.
      it might have caused confusion when bringing .c source 
      files from legacy filesystems like MS-DOS, it may also 
      be an advantage when doing multiplatform development 
      between MS-DOS and newer systems.
2012-04-11 11:55:20 +00:00
Viktor Szakats
720b6d6a1d 2012-04-09 00:04 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
  * bin/hb3rdpat.hbs
    ! fixed minor formatting problems mainly using custom automatic script

  * include/harbour.hbx
  * contrib/hbsms/hbsms.hbx
    + applied std casing to function names. it enhances
      readability, plus makes possible to use .hbx file for
      automatic formatting purposes.

  * utils/hbmk2/hbmk2.prg
  * config/postinst.hbs
    + preserve casing of function names in .hbx files
    ! fixed non-fatal typo in regex expressions
2012-04-08 22:06:31 +00:00
Viktor Szakats
e4b80e1e05 2012-04-04 20:01 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/hb_io.h
  * src/main/harbour.1
  * src/rtl/gtdos/gtdos.c
  * src/rtl/gtos2/gtos2.c
  * src/rtl/gtpca/gtpca.c
  * utils/hbmk2/hbmk2.1
  * utils/hbtest/hbtest.1
  * contrib/hbqt/hbmk2_qt.hbs
  * contrib/hbide/idemisc.prg
  * contrib/hbide/idesaveload.prg
  * contrib/hbide/ideprojmanager.prg
  * tests/sbartest.prg
  * tests/videotst.prg
  * tests/testhtml.prg
  * tests/vidtest.prg
  * tests/setkeys.prg
  * tests/mousetst.prg
  * TODO
  * NEWS
  * examples/guestbk/cgi.ch
  * examples/hscript/cgi.ch
    * "harbour project" name usage cleanup (except in license texts)
    * minor cleanups (f.e. updated project description and mailing list name in hbide)
2012-04-04 18:03:58 +00:00
Viktor Szakats
d732688cc9 2012-04-04 16:33 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    * better fix
2012-04-04 14:33:59 +00:00
Viktor Szakats
b2b803fde4 2012-04-04 16:30 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    ! fixed RTE in prev when lib/3rd is not present
2012-04-04 14:30:29 +00:00