Commit Graph

6895 Commits

Author SHA1 Message Date
Przemyslaw Czerpak
aaf9612304 2012-12-27 16:17 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/vm/classes.c
    ! fixed unexpected item clearing in object item assignment when
      variable is passed by reference - problem reported by Quique.
      Here are code examples which could exploit the problem:
         o:_var( @x )
      or:
         o:var := { @x }[ 1 ]
      or:
         o:var := iif( .t., @x, )

  * harbour/src/rtl/hbcom.c
    * enable RTS and DTR registers by default in MS-Windows builds.
      I hope it will reduce number of pseudo "error" messages sent
      by people who cannot read basic flow control documentation.
    % unlock HVM when break signal is sent

  * harbour/src/rtl/hbcom.c
  * harbour/src/rtl/hbsocket.c
  * harbour/src/rtl/filesys.c
    ! fixed timeval usage in repeated select() calls in systems like Linux

  * harbour/contrib/hbwin/win_rpc.c
    ! fixed WINCE builds

  * harbour/src/rtl/hbinet.c
    * repeat accept operation if other thread concurently accpeted
      new connection or some asynchronous network error appeared.

  ; TOFIX: basic hbrun functionality is broken and now it is not possible
           to create scripts starting with line:
               #!/usr/bin/hbrun
           which do not have .hb or .prg file name extension
2012-12-27 15:17:54 +00:00
Viktor Szakats
5f15aa300f 2012-12-27 01:52 UTC+0100 Viktor Szakats (harbour syenar.net)
* package/winuni/mpkg_win_uni.nsi
    ! exclude bcc64 parts

  * contrib/3rd/sqlite3/*
  * contrib/3rd/sqlite3/sqlite3.hbp
    ! updated to 3.7.15.1
2012-12-27 00:55:22 +00:00
Viktor Szakats
6b822b4900 2012-12-19 07:08 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbcurl/core.c
  * doc/en/garbage.txt
  * include/hbapi.h
  * include/hbapicdp.h
  * include/hbapierr.h
  * include/hbcomp.h
  * include/hbcompdf.h
  * include/hbexpra.c
  * include/hbexprb.c
  * include/hbexprop.h
  * include/hbhash.h
  * include/hbmacro.h
  * src/common/expropt1.c
  * src/common/expropt2.c
  * src/common/hbhash.c
  * src/compiler/genc.c
  * src/compiler/gencc.c
  * src/compiler/harbour.y
  * src/compiler/harbour.yyc
  * src/compiler/harbour.yyh
  * src/compiler/hbcmplib.c
  * src/compiler/hbcomp.c
  * src/compiler/hbdead.c
  * src/compiler/hbfix.c
  * src/compiler/hbgenerr.c
  * src/compiler/hblbl.c
  * src/compiler/hbmain.c
  * src/compiler/hbopt.c
  * src/compiler/hbpcode.c
  * src/compiler/hbstripl.c
  * src/compiler/ppcomp.c
  * src/macro/macro.y
  * src/macro/macro.yyc
  * src/macro/macro.yyh
  * src/macro/macrolex.c
  * src/rdd/hsx/hsx.c
  * src/rdd/workarea.c
  * src/rtl/errapi.c
  * src/vm/garbage.c
  * src/vm/hashes.c
  * src/vm/hvm.c
  * src/vm/macro.c
    * HB_*_PTR pointer types renamed to HBP_*
    * left HB_MACRO_PTR, HB_ERROR_INFO_PTR, HB_HASH_TABLE_PTR,
      HB_GARBAGE_FUNC_PTR for compatibility, but they are deprecated.
    ; Now all Harbour specific pointers types have 'PHB_' prefix
2012-12-19 06:19:13 +00:00
Viktor Szakats
dfbf06eae2 2012-12-16 00:06 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/3rd/sqlite3/sqlite3.hbp
  * contrib/3rd/sqlite3/*
    * updated to 3.7.15

  * contrib/hbsqlit3/core.c
  * contrib/hbsqlit3/hbsqlit3.hbx
    + added sqlite3_errstr(), new in 3.7.15
    * minor cleanups
2012-12-15 23:07:56 +00:00
Viktor Szakats
139b56f9c5 2012-12-11 17:41 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/pkg_dynl.hbm
    * deleted no longer true reference to GNU Make

  * contrib/rddads/adsfunc.c
  * contrib/rddads/rddads.hbx
    + added AdsDDCreateRefIntegrity() and AdsDDRemoveRefIntegrity()
      (former looks similar to xhb version, but incompatible due
      to the several necessary fixes.)
2012-12-11 16:42:55 +00:00
Viktor Szakats
7a45440566 2012-12-09 14:52 UTC+0100 Viktor Szakats (harbour syenar.net)
* tests/fixcase.hb
    ! minor fix
    + accept single filename

  * contrib/hbct/fcopy.prg
  * contrib/hbnf/nwsem.prg
  * contrib/hbnf/tbwhile.prg
  * contrib/xhb/regexrpl.prg
  * extras/gtwvw/tests/_wvwmous.prg
  * src/rtl/tbrowse.prg
  * tests/devtest.prg
  * tests/mathtest.prg
  * tests/vidtest.prg
    ! rerun fixcase.hb after fix

  * tests/harbour.ini
  * tests/inifiles.prg
    * minor cleanups
2012-12-09 13:54:48 +00:00
Viktor Szakats
0700195f82 2012-12-06 04:27 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbrun/hbrun.hbp
    ! load dynamically loaded hbunix/hbwin default extensions
      only on their native platforms. This avoid load warning
      if the packages is completely missing on a system, so
      the .hbc file isn't there, so the filter based detection
      cannot work.
2012-12-06 03:29:09 +00:00
Viktor Szakats
b2935a65a2 2012-12-06 02:24 UTC+0100 Viktor Szakats (harbour syenar.net)
- contrib/hbtest/corec.c
  * contrib/hbtest/hbtest.hbp
  * contrib/hbtest/hbtest.hbx
    % deleted unused function
2012-12-06 01:25:20 +00:00
Viktor Szakats
6c447a486a 2012-12-05 17:35 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/xhb/regexrpl.prg
  * contrib/xhb/xhb.hbx
    ! minor casing fix

  + contrib/xhb/tests/regexrpl.prg
    + added test from xhb (the function doesn't 
      seem to work)

  + tests/regex.prg
  + tests/regextst.prg
    + added regex tests from xhb

  * contrib/hblzf/tests/test.prg
    ! typos

  * package/winuni/RELNOTES.txt
    * minor
2012-12-05 16:38:11 +00:00
Viktor Szakats
b313865e78 2012-12-04 14:14 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbpost.hbm
  * utils/hbmk2/pkg_dynl.hbm
    * hack to avoid contrib/addon dynamic libs being used
      automatically on *nix system when building executables.
      Now they will be put in bin dir, just like on win.

  * utils/hbmk2/hbmk2.prg
    + hbshell_include_list() API to list loaded core headers.
    + allow loading dynamic extensions on *nix even if built
      against static HVM.
    * display statically linked extensions in uppercase in
      dot prompt UI and dynamic ones with original (lower) case.
      (was normal case and postfixed with '*' respectively)
    + do not load dynamic extension if the .hbc file is not found
    + attempt to detect if dynamic extension loads fine on
      a given platform and only try loading the dynamic lib
      if it does.
    + added protection to not add duplicate compiler options
      when compiling dot prompt entry.

  * contrib/hbrun/hbrun.hbp
    + load default contrib libs dynamically on *nix, even if
      hbrun is built against static HVM.

  ; these make work dynamic extensions on *nix systems.

  * contrib/hbtip/sessid.prg
  * extras/httpsrv/cgifunc.prg
    * updated HTTP date format to use preferred format:
         http://tools.ietf.org/html/rfc2616#section-3.3.1
    % optimized code and eliminated unnecessary _SET_DATEFORMATs
    ; tip_DateToGMT() and its uhttpd_DateToGMT() derivative

  * src/compiler/hbusage.c
    * updated contributor list

  * contrib/sddoci/tests/test1.prg
  * contrib/sddodbc/tests/test1.prg
  * contrib/sddodbc/tests/test2.prg
  * contrib/sddsqlt3/tests/test1.prg
    * use std way to configure date format
2012-12-04 13:20:54 +00:00
Viktor Szakats
075f6d3f41 2012-12-04 00:51 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbrun/hbrun.hbp
  * utils/hbmk2/hbmk2.prg
    + loading packages using ext.load, hbshell_ext_load(),
      'hb_ext.ini'/'hb_extension' config files and HB_EXTENSION
      envvar will now automatically load the packages'
      standard headers and will properly set HBMK_HAS_* macros,
      just like when running scripts or using .hbc files.
    + do not statically link contribs to hbrun when hbrun
      is built dynamically. Instead, load default contribs
      dynamically on startup (yes, performance will be worse.
      If you don't like this, see 2012-12-03 15:17 UTC+0100).
      This way these loaded packages will behave exactly the
      same as any other dynamically loaded packages, f.e.
      standard headers will be loaded and usable.
    + hbshell_include()/hbshell_uninclude() will now
      load/unload core headers available in dot prompt.
    + 'hb.ch' core header is now loaded for scripts and dot
      prompt by default. It means that K_ESC will now
      return 27 and hb_gtInfo( HB_GTI_VERSION ) will work
      as well, just like many other commonly used constants.
      For a precise list, see the content of include/hb.ch.
      If you don't like it, unload it from hbstart.hb using
      hbshell_uninclude( "hb.ch" )
    % use embedded headers when using the dot prompt.

  * contrib/hbsms/sms.prg
    * commented code cleanup
2012-12-03 23:52:25 +00:00
Viktor Szakats
ae319e7ccf 2012-12-03 16:37 UTC+0100 Viktor Szakats (harbour syenar.net)
+ contrib/hbgt/tests/hbmk.hbm
    + missing autohbm file
2012-12-03 15:37:44 +00:00
Viktor Szakats
71dea9b5e6 2012-12-03 16:19 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbct/tests/test.prg
  * contrib/hbgt/tests/test.prg
  * contrib/hbmisc/tests/tsstrfmt.prg
    ! missing #requires
2012-12-03 15:19:46 +00:00
Viktor Szakats
4351c8f533 2012-12-03 15:40 UTC+0100 Viktor Szakats (harbour syenar.net)
- contrib/gtalleg/gtalleg.c
  + contrib/gtalleg/gtallegd.c
  + contrib/gtalleg/gtalleg.hbx
  * contrib/gtalleg/gtalleg.hbc
  * contrib/gtalleg/gtalleg.hbm
  * contrib/gtalleg/tests/test.prg
    + build as dynlib
    + run as script (it hangs on exit)
2012-12-03 14:42:48 +00:00
Viktor Szakats
b91a3a5221 2012-12-03 15:26 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbformat/utils/hbformat.prg
  * contrib/hbnetio/utils/hbnetio/netiomgm.hb
  * contrib/hbnetio/utils/hbnetio/netiosrv.prg
  * package/harb_win.mft
  * package/harb_win.rc
  * README.txt
  * src/compiler/hbusage.c
  * src/pp/hbpp.c
  * utils/hbi18n/hbi18n.prg
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
  * utils/hbtest/hbtest.prg
    * Bumped copyright year to 2013.
    + updates to contributor list
2012-12-03 14:30:34 +00:00
Viktor Szakats
92d24a5828 2012-12-03 13:03 UTC+0100 Viktor Szakats (harbour syenar.net)
* (whole trunk repo)
    * COPYING -> COPYING.txt
2012-12-03 13:52:22 +00:00
Viktor Szakats
d88fe55640 2012-12-03 12:38 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbxdiff/tests/test3.prg
    ! fixed to run as script

  * contrib/hbnf/tests/dfile.prg
  * contrib/hbnf/tests/pending.prg
    * use CLS instead of old dBase trick
2012-12-03 11:39:59 +00:00
Viktor Szakats
3ab642e415 2012-12-01 21:40 UTC+0100 Viktor Szakats (harbour syenar.net)
+ contrib/sddfb/sddfb.hbx
  + contrib/sddmy/sddmy.hbx
  + contrib/sddoci/sddoci.hbx
  + contrib/sddodbc/sddodbc.hbx
  + contrib/sddpg/sddpg.hbx
  + contrib/sddsqlt3/sddsqlt3.hbx
  + contrib/sddfb/core.c
  + contrib/sddmy/core.c
  + contrib/sddoci/core.c
  + contrib/sddodbc/core.c
  + contrib/sddpg/core.c
  + contrib/sddsqlt3/core.c
  - contrib/sddfb/sddfb.c
  - contrib/sddmy/sddmy.c
  - contrib/sddoci/sddoci.c
  - contrib/sddodbc/sddodbc.c
  - contrib/sddpg/sddpg.c
  - contrib/sddsqlt3/sddsqlt3.c
  * contrib/sddfb/sddfb.hbp
  * contrib/sddmy/sddmy.hbp
  * contrib/sddmy/tests/test1.prg
  * contrib/sddoci/sddoci.hbp
  * contrib/sddoci/tests/test1.prg
  * contrib/sddodbc/sddodbc.hbp
  * contrib/sddodbc/tests/test1.prg
  * contrib/sddpg/sddpg.hbp
  * contrib/sddsqlt3/sddsqlt3.hbp
  * contrib/sddsqlt3/tests/test1.prg
    + all sdd drivers can now be used in scripts

  * extras/httpsrv/cookie.prg
  * extras/httpsrv/session.prg
  * extras/httpsrv/uhttpd.hbp
  * extras/httpsrv/uhttpd.prg
    ! fixed -w3 errors
    + enabled -w3

  * utils/hbmk2/hbmk2.prg
    ! fixed to not redefine HBMK_HAS_* macros
    % minor opt to version 0 HBMK_HAS_* define
2012-12-01 20:44:23 +00:00
Viktor Szakats
95a6d50bf1 2012-11-30 15:36 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/xhb/xhbcls.ch
    ! fixed recent casing typo in 2012-10-03 19:06 UTC+0200
2012-11-30 14:37:05 +00:00
Viktor Szakats
a6fc285772 2012-11-30 15:14 UTC+0100 Viktor Szakats (harbour syenar.net)
* include/Makefile
  - include/hbtest.ch
  * src/rtl/Makefile
  - src/rtl/hbtest.prg
  * utils/hbmk2/hbmk2.prg
    - deleted hbtest from core.

  * contrib/hbct/tests/test.prg
  * contrib/hbgt/tests/test.prg
  * contrib/hbmisc/tests/tsstrfmt.prg
    * modified regression tests to use hbtest contrib
      instead of hbtest functionality in core RTL
    ; Thanks to Mindaugas and Przemek, now the contrib
      tests will require users to manually add 'hbtest.hbc'
      to their hbmk2 cmdline in case someone would like
      to build exes from them. Which means that fewer
      people will bother to build and run them. They still 
      run simply using 'hbrun <name>.prg' as scripts.
2012-11-30 14:20:44 +00:00
Viktor Szakats
5bfad24ff1 2012-11-30 15:09 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbplist
  + contrib/hbtest
  + contrib/hbtest/core.prg
  + contrib/hbtest/corec.c
  + contrib/hbtest/hbtest.ch
  + contrib/hbtest/hbtest.hbc
  + contrib/hbtest/hbtest.hbp
  + contrib/hbtest/hbtest.hbx
  + contrib/hbtest/tests
  + contrib/hbtest/tests/hbmk.hbm
  + contrib/hbtest/tests/test.prg
    + added hbtest functionality as contrib

  - src/rtl/hbtestc.c
  * include/harbour.hbx
  * src/rtl/Makefile
    % deleted function not use in core
2012-11-30 14:11:29 +00:00
Viktor Szakats
c415852281 2012-11-30 03:52 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rtl/hbtest.prg
    ! made another accidentally public function STATIC
    % merged XToStr() and XToStrE()
    % XToStr() modified to use hb_CStr() where it can

  * utils/hbtest/hbtest.prg
  * utils/hbtest/rt_hvma.prg
  * utils/hbtest/rt_math.prg
  * utils/hbtest/rt_misc.prg
  * utils/hbtest/rt_trans.prg
    % synced in-string date format with src/rtl/hbtest.prg

  * contrib/hbmisc/tests/tsstrfmt.prg
    ! fixed to not rely on current date
    ! fixed to set date format
2012-11-30 02:57:37 +00:00
Viktor Szakats
5c75adefe2 2012-11-29 14:39 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/rddads/tests/datad.prg
  * contrib/rddads/tests/testmg.prg
    * cleanup to script rdd registration code from yesterday
2012-11-29 13:41:03 +00:00
Viktor Szakats
ff362327e3 2012-11-29 13:54 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hblzf/tests/hbmk.hbm
  * contrib/hblzf/tests/test.prg
  * contrib/hblzf/tests/test2.prg
  * contrib/hbodbc/tests/hbmk.hbm
  * contrib/hbodbc/tests/odbccall.prg
  * contrib/hbodbc/tests/odbcdemo.prg
  * contrib/hbodbc/tests/testodbc.prg
  * contrib/hbssl/tests/bio.prg
  * contrib/hbssl/tests/crypt.prg
  * contrib/hbssl/tests/digest.prg
  * contrib/hbssl/tests/encode.prg
  * contrib/hbssl/tests/hbmk.hbm
  * contrib/hbssl/tests/pem.prg
  * contrib/hbssl/tests/test.prg
  * contrib/hbtinymt/tests/hbmk.hbm
  * contrib/hbtinymt/tests/test32.prg
  * contrib/hbtinymt/tests/test64.prg
  * contrib/hbxdiff/tests/hbmk.hbm
  * contrib/hbxdiff/tests/test.prg
  * contrib/hbxdiff/tests/test2.prg
  * contrib/hbxdiff/tests/test3.prg
  * contrib/hbziparc/tests/hbmk.hbm
  * contrib/hbziparc/tests/unzipa.prg
  * contrib/hbziparc/tests/zipa.prg
    % moved simpleio.ch to hbmk.hbm
2012-11-29 12:56:43 +00:00
Viktor Szakats
e969e64d91 2012-11-29 13:49 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbfbird/tests/hbmk.hbm
  * contrib/hbfbird/tests/simple.prg
  * contrib/hbfbird/tests/stress.prg
  * contrib/hbfbird/tests/test.prg
    % moved simpleio.ch to hbmk.hbm

  * contrib/hbnf/tests/findith.prg
  * contrib/hbunix/tests/testdmn.prg
    * avoid QUIT
2012-11-29 12:50:01 +00:00
Viktor Szakats
c9253bf306 2012-11-29 13:16 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbgd/tests/hbmk.hbm
  * contrib/hbgd/tests/animgif.prg
  * contrib/hbgd/tests/antialia.prg
  * contrib/hbgd/tests/counter.prg
  * contrib/hbgd/tests/gdtest.prg
  * contrib/hbgd/tests/gdtestcl.prg
  * contrib/hbgd/tests/tostring.prg
  * contrib/hbgd/tests/tpoly.prg
    * experiment: instead of #including "simpleio.ch" in
      most tests, I added -u+simpleio.ch to hbmk.hbm so
      it's automatically enabled for all tests.
      (need to be careful about it f.e. in /tests/ where
      some code assumes that ?/?? goes to screen, not
      stdout)

  * contrib/hbwin/tests/testprn.prg
  * contrib/hbwin/tests/testprn2.prg
  * contrib/hbwin/win_tprn.prg
    * cleanups (names, avoid QUIT, use hb_StrFormat(), etc)
2012-11-29 12:19:10 +00:00
Viktor Szakats
ea055643ba 2012-11-29 01:44 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/gtwvg/gtwvg.hbc
    + added all three headers as standard one
      (they were all used in all tests files)

  * contrib/gtwvg/tests/_activex.prg
  * contrib/gtwvg/tests/_cuigdlg.prg
  * contrib/gtwvg/tests/_dyndlgs.prg
  * contrib/gtwvg/tests/_modal.prg
  * contrib/gtwvg/tests/_tbrowse.prg
  * contrib/gtwvg/tests/_utils.prg
  * contrib/gtwvg/tests/_wvtcls.prg
  * contrib/gtwvg/tests/_xbp.prg
  * contrib/gtwvg/tests/demowvg.prg
  * contrib/gtwvg/tests/demowvg1.prg
  * contrib/gtwvg/tests/demoxbp.prg
    % do not explicitly include standard gtwvg headers
2012-11-29 00:46:25 +00:00
Viktor Szakats
151ac8feca 2012-11-29 01:38 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/gtwvg/tests/_utils.prg
    ! fixed to not define a function which is already
      defined as a macro

  * contrib/gtwvg/wvgparts.ch
    * minor

  * contrib/gtwvg/hbgtwvg.ch
    ! fixed the way some HB_GTE_* event macro collision 
      is avoided with core
2012-11-29 00:42:26 +00:00
Viktor Szakats
7c8fcec7f3 2012-11-29 01:20 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/rddads/ads.ch
    ! added missing self-guard

  * contrib/hbmagic/tests/hbmagit.prg
  * contrib/hbmxml/tests/custom.prg
  * contrib/hbmxml/tests/reminder.prg
  * contrib/hbmxml/tests/testmxml.prg
    % no longer use #include to include standard
      package headers. Rely on autoload triggered
      by .hbc file or #require directive.
      (missed from prev)

  * contrib/rddads/tests/datad.prg
  * contrib/rddads/tests/testmg.prg
    ! fixed to run properly as scripts
      (need to register RDDs manually in such scenario,
      maybe this could be automatized?)

  * contrib/hbwin/hbwin.hbc
  * contrib/rddads/rddads.hbc
    + set hbwin.ch and ads.ch as standard headers

  ; NOTE: Seems that hbct, hbxpp and xhb contribs
          do not have such what could be called
          common standard headers.
          For gtwvg I cannot tell, but probably
          all three .ch files should be standard.

  * contrib/hbwin/tests/testax.prg
  * contrib/hbwin/tests/testcom1.prg
  * contrib/hbwin/tests/testcom2.prg
  * contrib/hbwin/tests/testcopy.prg
  * contrib/hbwin/tests/testevnt.prg
  * contrib/hbwin/tests/testgdi.prg
  * contrib/hbwin/tests/testmapi.prg
  * contrib/hbwin/tests/testprn.prg
  * contrib/hbwin/tests/testreg.prg
  * contrib/hbwin/tests/testsvc.prg
  * contrib/hbzebra/tests/testwin.prg
  * contrib/rddads/tests/datad.prg
  * contrib/rddads/tests/testmg.prg
    % no longer use #include to include standard
      package headers. Rely on autoload triggered
      by .hbc file or #require directive.

  ; WARNING: The autoload feature for standard package
             headers should be generally harmless, but
             it might as well pose an INCOMPATIBILITY
             if user code redefines or simply uses
             macro names/commands in user code that
             collide with the ones defined in these
             standard headers.
             If this comes up, avoid using .hbc files,
             until your code is changed/fixed to avoid
             name collisions either by renames or 
             undeffing the standard ones.
             As consequence it's even more important
             to pay attention to macro namespaces used
             in package headers to avoid accidental
             collision with user code. This was standard
             practice for function/class names, now it
             is extended for macros/user commands.
2012-11-29 00:30:07 +00:00
Viktor Szakats
b1bfe8f54b 2012-11-29 00:49 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbwin/hbole.ch
    ! missing svn props

  * contrib/hbwin/hbsim.ch
  * contrib/hbfoxpro/hbfoxpro.ch
  * contrib/hbmysql/mysql.ch
    ! added missing self-guards
      This was a requirement, but now it really must
      be done, if a header wants to be put in headers=
      directive in a .hbc file for auto-inclusion.

  * contrib/hbmysql/tests/dbf2mysq.prg
    ! missing #require directive

  * contrib/hbblat/hbblat.hbc
  * contrib/hbblink/hbblink.hbc
  * contrib/hbbz2/hbbz2.hbc
  * contrib/hbcairo/hbcairo.hbc
  * contrib/hbcurl/hbcurl.hbc
  * contrib/hbexpat/hbexpat.hbc
  * contrib/hbfimage/hbfimage.hbc
  * contrib/hbfoxpro/hbfoxpro.hbc
  * contrib/hbgd/hbgd.hbc
  * contrib/hbhpdf/hbhpdf.hbc
  * contrib/hblzf/hblzf.hbc
  * contrib/hbmagic/hbmagic.hbc
  * contrib/hbmlzo/hbmlzo.hbc
  * contrib/hbmxml/hbmxml.hbc
  * contrib/hbmysql/hbmysql.hbc
  * contrib/hbmzip/hbmzip.hbc
  * contrib/hbnetio/hbnetio.hbc
  * contrib/hbpgsql/hbpgsql.hbc
  * contrib/hbsqlit3/hbsqlit3.hbc
  * contrib/hbssl/hbssl.hbc
  * contrib/hbtpathy/hbtpathy.hbc
  * contrib/hbxdiff/hbxdiff.hbc
  * contrib/hbzebra/hbzebra.hbc
  * contrib/rddsql/rddsql.hbc
    + added .ch headers to .hbc files for
      autoload.
    ; For some contribs it still has to do
      for several reasons, f.e. .ch file overrides
      standard features so they must stay optional,
      or they must be optional for other reasons,
      or they have multiple headers and I didn't
      decide yet which one of those should be
      standard.

  * contrib/hbexpat/tests/test.prg
  * contrib/hbexpat/tests/tohash.prg
  * contrib/hbfimage/tests/fitest.prg
  * contrib/hbgd/tests/animgif.prg
  * contrib/hbgd/tests/antialia.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
  * contrib/hbhpdf/tests/harupdf.prg
  * contrib/hblzf/tests/test.prg
  * contrib/hbmlzo/tests/test.prg
  * contrib/hbpgsql/tests/cache.prg
  * contrib/hbpgsql/tests/stress.prg
  * contrib/hbpgsql/tests/test.prg
  * contrib/hbsqlit3/tests/authoriz.prg
  * contrib/hbsqlit3/tests/backup.prg
  * contrib/hbsqlit3/tests/blob.prg
  * contrib/hbsqlit3/tests/hooks.prg
  * contrib/hbsqlit3/tests/metadata.prg
  * contrib/hbsqlit3/tests/pack.prg
  * contrib/hbsqlit3/tests/sl3_test.prg
  * contrib/hbssl/tests/bio.prg
  * contrib/hbssl/tests/crypt.prg
  * contrib/hbssl/tests/digest.prg
  * contrib/hbssl/tests/encode.prg
  * contrib/hbssl/tests/pem.prg
  * contrib/hbssl/tests/test.prg
  * contrib/hbxdiff/tests/test.prg
  * contrib/hbxdiff/tests/test2.prg
  * contrib/hbxdiff/tests/test3.prg
  * contrib/hbzebra/tests/testcair.prg
  * contrib/hbzebra/tests/testhpdf.prg
  * contrib/hbzebra/tests/testwin.prg
  * contrib/sddmy/tests/test1.prg
  * contrib/sddoci/tests/test1.prg
  * contrib/sddodbc/tests/test1.prg
  * contrib/sddodbc/tests/test2.prg
  * contrib/sddsqlt3/tests/test1.prg
    % no longer use #include to include standard
      package headers. Rely on autoload triggered
      by .hbc file or #require directive.
2012-11-29 00:04:11 +00:00
Viktor Szakats
3964db96b1 2012-11-29 00:09 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbblat/hbblat.hbc
  * contrib/hbblink/hbblink.hbc
  * contrib/hbbz2/hbbz2.hbc
  * contrib/hbcairo/hbcairo.hbc
  * contrib/hbcurl/hbcurl.hbc
    + specified automatic headers

  * contrib/hbcurl/tests/ftp_uldl.prg
    ! added missing #require

  * contrib/hbcairo/tests/fancytxt.prg
  * contrib/hbcairo/tests/glyphdbg.prg
  * contrib/hbcairo/tests/hellow.prg
  * contrib/hbcairo/tests/lightning.prg
  * contrib/hbcairo/tests/table.prg
  * contrib/hbcurl/tests/ftp_uldl.prg
    % do not explicitly #include headers
    ; Please note this will require that you build
      these samples using hbmk2 and using .hbc files,
      or run them as hbrun scripts.

  * contrib/hbodbc/hbodbc.hbc
    * minor
2012-11-28 23:13:48 +00:00
Viktor Szakats
8875ad526b 2012-11-28 23:54 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + automatically load headers listed in .hbc file 
      when executing an .hb script

  * contrib/hbodbc/tests/testodbc.prg
    % #include "sql.ch" no longer needed either when 
      built to an executable or when executed as script
2012-11-28 22:56:21 +00:00
Viktor Szakats
08f5ab3669 2012-11-28 23:31 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbodbc/hbodbc.hbc
    + added experimental headers= line

  * utils/hbmk2/hbmk2.prg
  * utils/hbmk2/hbmk2.es_PE.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.pt_BR.po
    + added support for new .hbc directive:
       -headers=<.ch files>
      wildcards accepted.
      hbmk2 will automatically include the listed headers
      for all source files. It will be more efficient than
      including them to each file, as they are processed
      only once (well, at least I hope this optimization
      is done by Harbour PP/compiler). It also makes it
      unnecessary to manually #include headers that belong
      to a module/package.
2012-11-28 22:37:24 +00:00
Viktor Szakats
59fa2d248c 2012-11-28 20:19 UTC+0100 Viktor Szakats (harbour syenar.net)
+ contrib/xhb/xhwinprn.prg
  - contrib/xhb/xhw32prn.prg
  * contrib/xhb/xhb.hbp
    * renamed to avoid using '32' when referring to Windows API

  * src/rtl/gtcrs/gtcrs.c
  * src/rtl/gtos2/gtos2.c
    * deleted excessive {}
    * commented code converted to #if 0 blocks
    * formatting
2012-11-28 19:20:51 +00:00
Viktor Szakats
81218a84ef 2012-11-28 17:38 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rtl/devoutp.prg
    + DEVOUTPICT() to support timestampe type

  * contrib/hbnf/tests/datecnfg.prg
    * timestamp type
2012-11-28 16:39:29 +00:00
Viktor Szakats
147a79d0a1 2012-11-28 17:28 UTC+0100 Viktor Szakats (harbour syenar.net)
+ contrib/xhb/xhbmisc.prg
  * contrib/xhb/xhb.hbp
  * contrib/xhb/xhbcomp.prg
    * moved Occurs() to separate source
    + implemented optimizations and fix from Przemek.
      original behavior retained under HB_CLP_STRICT built-time
      branch.
2012-11-28 16:30:41 +00:00
Viktor Szakats
f6791a302a 2012-11-28 14:56 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/xhb/xhbcomp.prg
    ! fixed casing in comment
2012-11-28 13:57:31 +00:00
Viktor Szakats
9df61636ae 2012-11-28 14:53 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/xhb/xhb.hbx
  * contrib/xhb/xhbcomp.prg
    + added OCCURS() from xhb which appears there in CT lib,
      but it's not a CT function. Reworked to meet Harbour standards
      and to avoid compiler warning.
2012-11-28 13:55:05 +00:00
Viktor Szakats
ab15cacfa2 2012-11-28 01:16 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbct/dummy.c
  * contrib/hbmemio/memio.c
  * src/rdd/dbffpt/dbffpt1.c
  * src/rtl/gtcrs/gtcrs.c
    * use "{ ; }" for empty function body to be uniform 
      in whole source base
2012-11-28 00:17:37 +00:00
Viktor Szakats
a31023ec0c 2012-11-28 01:06 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbmysql/tmysql.prg
  * contrib/hbnf/doc/en/restsets.txt
  * contrib/hbnf/doc/en/savesets.txt
  * contrib/hbnf/pvid.prg
  * contrib/hbnf/restsets.prg
  * contrib/hbnf/savesets.prg
  * contrib/rddads/tests/testmg.prg
  * contrib/xhb/traceprg.prg
  * contrib/xhb/ttable.prg
  * contrib/xhb/xhberr.prg
  * ChangeLog.txt
  * extras/gtwvw/tests/ebtest7.prg
  * src/debug/debugger.prg
  * tests/dates.prg
  * tests/dates2.prg
  * tests/dates3.prg
  * tests/inherit.prg
  * tests/output.prg
  * tests/readhrb.prg
  * tests/set_num.prg
  * tests/set_test.prg
  * tests/stripem.prg
  * tests/tstcolor.prg
  * website/samples/dates3.prg.html
    % do not #include "set.ch" (it's automatically 
      included via "std.ch")
2012-11-28 00:09:22 +00:00
Przemyslaw Czerpak
bc72259b2d 2012-11-27 21:23 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/vm/cmdarg.c
    * eliminated unnecessary initialization

  * harbour/src/common/hbfopen.c
    * added workaround for missing _wopen() in XCC

  * harbour/config/win/xcc.mk
    * updated RC include paths
    ; TOFIX: it's still wrong and hbmk2 cannot be compiled
             and xRC fails opening ../../package/harb_win.rc

  * harbour/contrib/hbwin/hbolesrv.c
    * do not include <tchar.h>, current code does not use
      any tchar functions and macros and some older MinGW
      versions are broken and this files breaks some standard
      unicode macros like TEXT()
2012-11-27 20:24:41 +00:00
Viktor Szakats
7fccc044ad 2012-11-27 17:08 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/*/*.hbp
    % use ${hb_name}.hbx to avoid duplicating the project 
      name inside the .hbp files
2012-11-27 16:14:13 +00:00
Viktor Szakats
9574a27281 2012-11-27 14:06 UTC+0100 Viktor Szakats (harbour syenar.net)
- README
  + README.txt
  * config/global.mk
  * config/postinst.hb
  * contrib/hbtpathy/telepath.prg
  * contrib/hbtpathy/tests/testtp.prg
  * doc/gmake.txt
  * doc/howtorep.txt
  * doc/oldnews.txt
  * package/mpkg_win.nsi
  * package/winuni/mpkg_win_uni.bat
  * package/winuni/mpkg_win_uni.nsi
  * package/winuni/RELNOTES.txt
  * tests/hbdoctst.prg
  * website/menu/harbour-menu.js
  * website/news.html
    * renamed README to README.txt
      This will make it easy for non-*nix users to open it, 
      it also makes it clear that we're talking about a 
      document when referring to it
2012-11-27 13:08:44 +00:00
Viktor Szakats
b509c84428 2012-11-27 02:26 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbct/tests/test.prg
    * CHR() -> HB_BCHAR() for most usage
2012-11-27 01:27:47 +00:00
Viktor Szakats
593dee6507 2012-11-27 00:36 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbct/tests/test.prg
    ! fixed one expected test result
    ! fixed one wrong test call
    ; TOFIX (pbly result of different sting algorythm):
      ! MAIN(136)       CharSort( "b1a4a3a2a1", 2, 1 )
             Result: "a4a3a2a1b1"
           Expected: "a2a1a3a4b1"

  * contrib/hbmisc/doc/en/ht_str.txt
  * contrib/hbmisc/tests/tsstrfmt.prg
    + moved tests to test code. old test code
      converted to regression tests.

  * doc/class_tp.txt
  * doc/hdr_tpl.txt
    - deleted $TESTS$ sections from templates
2012-11-26 23:46:08 +00:00
Viktor Szakats
ddcaf47aae 2012-11-27 00:15 UTC+0100 Viktor Szakats (harbour syenar.net)
+ contrib/hbct/tests/test.prg
  * contrib/hbct/doc/en/*.txt
    + replaced $TESTS$ in docs with regression test script
    ; NOTE: there are some failures

  * src/rtl/Makefile
  * include/harbour.hbx
  + src/rtl/hbtestc.c
    + added an internal function (which I didn't used yet after some 
      experimentations)

  * src/rtl/hbtest.prg
    * minor cleanup
2012-11-26 23:22:39 +00:00
Viktor Szakats
0d37a4455b 2012-11-26 22:47 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rtl/Makefile
  + src/rtl/hbtest.prg
  * include/harbour.hbx
    + added simple regression test framework in core, so
      such tests can be easily added to contribs and 3rd
      party projects. It's based on the engine used in
      hbtest.
      Usage:
          #include "hbtest.ch"
          HBTEST <expression> IS <expected value>
      F.e.:
          HBTEXT 2 + 2 IS 4

  * contrib/hbgt/tests/test.prg
    + use the new experimental regression test framework
      in core.

  * utils/hbmk2/hbmk2.prg
    + added note to help text about scripts being executed
      under a default codepage of UTF-8

  * contrib/gtwvg/class.prg
  * contrib/gtwvg/dataref.prg
  * contrib/gtwvg/drawarea.prg
  * contrib/gtwvg/menubar.prg
  * contrib/gtwvg/wnd.prg
  * contrib/hbamf/readme.txt
  * contrib/hbgd/gd.prg
  * contrib/hbhttpd/core.prg
  * contrib/hbtip/mail.prg
  * contrib/xhb/cstruct.prg
  * contrib/xhb/dumpvar.prg
  * contrib/xhb/xdbmodst.prg
  * extras/hbdoc/genhtml.prg
  * extras/httpsrv/session.prg
  * src/debug/debugger.prg
  * src/rtl/tgetlist.prg
  * src/rtl/tobject.prg
  * src/rtl/valtoexp.prg
  * tests/clasname.prg
  * utils/hbmk2/hbmk2.prg
    * :CLASSNAME -> :CLASSNAME()

  * contrib/hbct/addascii.c
  * contrib/hbct/charmirr.c
  * contrib/hbct/charrepl.c
  * contrib/hbct/charsort.c
  * contrib/hbct/charswap.c
  * contrib/hbct/justify.c
  * contrib/hbct/pos2.c
  * contrib/hbct/relation.c
  * contrib/hbct/wordrepl.c
  * contrib/hbgt/chrcount.c
  * extras/gfspell/spellc.c
    * minor cleanups

  * utils/hbtest/hbtest.prg
  * utils/hbtest/rt_main.ch
    * cleanups
2012-11-26 22:02:46 +00:00
Viktor Szakats
c4957bf854 2012-11-26 18:51 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbhttpd/widgets.prg
  * contrib/hbtip/client.prg
    + support function pointers where codeblocks are accepted

  * contrib/hbnf/ontick.prg
    + FT_ONIDLE(): support Harbour function pointers as Harbour extension

  * contrib/xhb/xhberr.prg
    % Use DO() instead of EVAL( __DYNSN2SYM() ) thus avoiding
      internal core functions.
2012-11-26 17:54:13 +00:00
Viktor Szakats
52bef1c5b8 2012-11-26 15:25 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rtl/dbedit.prg
    + also accept function pointers as user functions
      (not just codeblocks and macro strings)

  * src/rtl/achoice.prg
    + ACHOICE() now supports the Harbour extension similar to
      DBEDIT() where codeblocks and function pointers are
      also accepted instead of macro strings for the <xSelect>
      parameter that controls permission for items.

  * src/rtl/browse.prg
  * contrib/hbwin/wapi_shellapi.c
    * minor
2012-11-26 14:28:47 +00:00
Viktor Szakats
c34a2948ed 2012-11-26 14:43 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/xhb/xhberr.prg
    % optimized hb_macroBlock() calls to __dynsN2Sym() calls.
      Thanks Przemek for the tip.

  * src/rdd/hbsix/sxcompat.prg
    % sx_VFGet(): restored macro evaluation, for speed
2012-11-26 13:47:38 +00:00