Commit Graph

18267 Commits

Author SHA1 Message Date
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
fa6d4dcd44 2012-11-28 21:28 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbtest/hbtest.prg
  * utils/hbtest/rt_array.prg
  * utils/hbtest/rt_class.prg
  * utils/hbtest/rt_date.prg
  * utils/hbtest/rt_file.prg
  * utils/hbtest/rt_hvm.prg
  * utils/hbtest/rt_hvma.prg
  * utils/hbtest/rt_main.ch
  * utils/hbtest/rt_math.prg
  * utils/hbtest/rt_misc.prg
  * utils/hbtest/rt_mt.prg
  * utils/hbtest/rt_str.prg
  * utils/hbtest/rt_stra.prg
  * utils/hbtest/rt_trans.prg
    % use the same HBTEST command format for tests as 
      available for contribs and 3rd parties.
      It made source easier to edit and code size 
      smaller by 111KB.
2012-11-28 20:30:46 +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
6bf130b347 2012-11-28 17:59 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rtl/checkbox.prg
  * src/rtl/listbox.prg
  * src/rtl/pushbtn.prg
  * src/rtl/radiobtn.prg
  * src/rtl/radiogrp.prg
  * src/rtl/scrollbr.prg
  * src/rtl/tbcolumn.prg
  * src/rtl/tbrowse.prg
  * src/rtl/tget.prg
  * src/rtl/tmenuitm.prg
  * src/rtl/tpopup.prg
  * src/rtl/tpopuphb.prg
  * src/rtl/ttopbar.prg
    ! fixed case of class names
2012-11-28 17:01:53 +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
6dcfba80e7 2012-11-28 16:20 UTC+0100 Viktor Szakats (harbour syenar.net)
+ include/hbtest.ch
  * include/Makefile
  * utils/hbmk2/hbmk2.prg
    + missed to commit hbtest.ch
2012-11-28 15:23:10 +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
Przemyslaw Czerpak
95fc775be0 2012-11-28 13:19 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/vm/classes.c
    ! fixed passing be reference pseudo object variables which
      are not bound with real messages but are redirected to
      class error handler
2012-11-28 12:20:07 +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
Viktor Szakats
08ea68c5ee 2012-11-28 00:59 UTC+0100 Viktor Szakats (harbour syenar.net)
* website/menu/harbour-menu.js
    ! missed one ChangeLog -> ChangeLog.txt rename
2012-11-28 00:00:26 +00:00
Viktor Szakats
2e5c4dc52f 2012-11-28 00:57 UTC+0100 Viktor Szakats (harbour syenar.net)
* extras/gtwvw/gtwvwd.c
  * extras/gtwvw/hbgtwvw.h
    * do not use <tchar.h>
2012-11-27 23:58:04 +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
7732beb09f 2012-11-27 16:57 UTC+0100 Viktor Szakats (harbour syenar.net)
* package/winuni/RELNOTES.txt
    * msvc 2012 update 1
2012-11-27 15:59:08 +00:00
Viktor Szakats
2a97d93dba 2012-11-27 14:38 UTC+0100 Viktor Szakats (harbour syenar.net)
- ChangeLog
  + ChangeLog.txt
  * bin/commit.hb
  * doc/howtorel.txt
  * doc/howtorep.txt
  * package/harbour.spec
  * package/winuni/mpkg_win_uni.bat
  * package/winuni/mpkg_win_uni.nsi
  * package/winuni/RELNOTES.txt
  * README.txt
  * src/pp/hbpp.c
  * tests/fixcase.hb
  * website/changelog.html
  * website/index.html
  * website/news.html
  * website/news1.html
  * website/snapshot.html
    * renamed ChangeLog to ChangeLog.txt
    ; TODO: Please update SVN URL references in google groups web headers:
            .../ChangeLog -> .../ChangeLog.txt
            .../README    -> .../README.txt
    ; NOTE: Also update your local scripts to use ChangeLog.txt instead 
            of ChangeLog. Or use bin/hbcommit.hb script, which supports 
            both.

  - w64-make.exe
  * README.txt
    % deleted. it was my private build and it didn't offer
      much over win-make.exe.
2012-11-27 13:43:36 +00:00
Viktor Szakats
8a26298fda 2012-11-27 14:21 UTC+0100 Viktor Szakats (harbour syenar.net)
* doc/howtorep.txt
    * minor correction to prev
2012-11-27 13:22:27 +00:00
Viktor Szakats
231ef35d40 2012-11-27 14:15 UTC+0100 Viktor Szakats (harbour syenar.net)
- COPYING
  + COPYING.txt
  * config/global.mk
  * config/postinst.hb
  * ChangeLog
  * debian/copyright
  * doc/class_tp.txt
  * doc/cmdline.txt
  * doc/hdr_tpl.txt
  * doc/howtorep.txt
  * doc/oldnews.txt
  * package/mpkg_win.nsi
  * package/winuni/mpkg_win_uni.bat
  * package/winuni/mpkg_win_uni.nsi
  * README.txt
  * tests/hbdoctst.prg
  * utils/hbmk2/hbmk2.prg
  * website/faq/harbour3.html
  * website/license.html
    * renamed COPYING to COPYING.txt
    ; TODO: Update reference in all sources
2012-11-27 13:18:08 +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
f64917b508 2012-11-27 13:22 UTC+0100 Viktor Szakats (harbour syenar.net)
+ package/winuni/RELNOTES.txt
  - package/winuni/RELNOTES
  * package/winuni/mpkg_win_uni.bat
  * package/winuni/mpkg_win_uni.nsi
    * added .txt extension to RELNOTES doc
2012-11-27 12:57:09 +00:00
Viktor Szakats
c495c5e79f 2012-11-27 02:35 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rtl/hbtest.prg
    * cleanups
2012-11-27 01:35:32 +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
2e0793f7a9 2012-11-27 02:03 UTC+0100 Viktor Szakats (harbour syenar.net)
* doc/en/datetime.txt
  * doc/en/input.txt
  * doc/en/misc.txt
  * doc/en/string.txt
  * doc/en/terminal.txt
  * doc/en/var.txt
    * cleaned away remaining $TESTS$ sections (mostly 
      by merging with $EXAMPLES$)
    ! some portability fixes applied along the way
2012-11-27 01:04:55 +00:00
Viktor Szakats
0f8e9afcd2 typo 2012-11-26 23:51:05 +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
Viktor Szakats
5b5f79db68 2012-11-26 12:20 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbwin/hbwin.ch
    ! added HB_ prefix to win defines

  * contrib/hbct/token2.c
  * contrib/xhb/bkgtsks.c
  * contrib/xhb/hbxml.h
    * cleanups

  * contrib/hbwin/axcore.c
    * formatting
2012-11-26 11:23:24 +00:00
Viktor Szakats
979d2b6bb8 2012-11-25 17:36 UTC+0100 Viktor Szakats (harbour syenar.net)
* include/harbour.hbx
  * contrib/xhb/xhberr.prg
    ! minor casing fix
2012-11-25 16:37:13 +00:00
Viktor Szakats
00f37dbcdb 2012-11-25 17:25 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rdd/hbsix/sxcompat.prg
  * src/rtl/achoice.prg
  * src/rtl/browse.prg
  * src/rtl/dbedit.prg
  * contrib/xhb/xcstr.prg
  * contrib/xhb/xhberr.prg
    + use HB_MACROBLOCK() instead of & operator
      Review me.
    ; These remain in core:
        rtl/dbedit.prg:318:                                 &xUserFunc( nMode, oBrowse:colPos ), ;
        rtl/input.prg:59:   RETURN iif( Empty( cString ), NIL, &cString )
        rtl/tpersist.prg:102:               AAdd( aObjects, &( cLine ) )
        rtl/tpersist.prg:113:            &( cLine )
        rtl/tpersist.prg:125:            &( cLine )
        rtl/tpersist.prg:141:   LOCAL oNew := &( ::ClassName() + "()" ):CreateNew()

  * contrib/hbpgsql/tests/cache.prg
    + avoid some macro operators
    ! fixed a typo in recent modifications

  * contrib/hbnf/calendar.prg
  * contrib/hbnf/pchr.prg
  * contrib/hbnf/xbox.prg
    % SUBSTR( x, 1, y ) -> LEFT( x, y )

  * contrib/gtwvg/class.prg
  * contrib/gtwvg/paint.prg
  * contrib/hbct/fcopy.prg
  * contrib/hbct/tests/datetime.prg
  * contrib/hbct/tests/token2.prg
  * contrib/hbgd/tests/gdtestcl.prg
  * contrib/hbnf/metaph.prg
  * contrib/hbnf/popadder.prg
  * contrib/hbnf/tests/datecnfg.prg
  * contrib/hbnf/tests/popadder.prg
  * contrib/hbtip/sendmail.prg
  * contrib/hbtip/tests/base64.prg
  * contrib/hbtip/tests/tiptest.prg
  * contrib/hbwin/win_os.prg
  * contrib/hbwin/win_reg.prg
  * contrib/hbwin/win_tbmp.prg
  * contrib/hbwin/win_tprn.prg
  * contrib/xhb/htjlist.prg
  * contrib/xhb/xhbtedit.prg
  * contrib/xhb/xhw32prn.prg
    * avoid "&" in comments/outputs
2012-11-25 16:33:23 +00:00
Viktor Szakats
9fe99a603c 2012-11-25 16:40 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbgt/*.c
    * comment cleanup

  * src/rtl/menuto.prg
    + avoided one macro usage when dealing with colors
    ! fixed handling of color specified in __ATPROMPT()
    ! fixed to not mess up default color in certain cases
    * changed misleading color variable names

  * tests/menutest.prg
    * modified to test __ATPROMPT() color

  * src/rtl/tclass.prg
  * src/rtl/tobject.prg
    * avoid using "&" in comments
2012-11-25 15:42:32 +00:00
Viktor Szakats
97ddb8476f 2012-11-25 01:29 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/pkg_dynl.hbm
    % do not override workdir for 3rd party projects.
      it's just not necessary and bad precedent.
2012-11-25 00:30:46 +00:00
Viktor Szakats
9b2a23a194 2012-11-24 20:01 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbct/charsort.c
  * contrib/hbct/ctstr.c
  * contrib/hbct/dattime3.c
  * contrib/hbct/token1.c
    + added MT support for certain C level statics

  * contrib/hbgt/bitflags.c
  * contrib/hbnf/ftattr.c
  * contrib/hbnf/fttext.c
  * contrib/hbnf/proper.c
    % var scope cleanups

  * doc/gmake.txt
    ! deleted obsolete reference
2012-11-24 19:07:23 +00:00
Viktor Szakats
7ec3746550 2012-11-24 16:48 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbgt/hbgt.hbp
  * contrib/hbgt/hbgt.hbx
  * contrib/hbgt/asciisgt.c
  * 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/strasint.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/hbgt/doc/en/hbgt.txt
    * code cleanup and optimizations
    + fixed flag functions (they wrote to read-only buffer)
    + enabled flag functions
2012-11-24 15:51:28 +00:00
Viktor Szakats
4b2790b65e 2012-11-24 15:20 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbct/addascii.c
  * contrib/hbct/asciisum.c
  * contrib/hbct/ascpos.c
  * contrib/hbct/atadjust.c
  * contrib/hbct/atnum.c
  * contrib/hbct/atrepl.c
  * contrib/hbct/charevod.c
  * contrib/hbct/charmirr.c
  * contrib/hbct/charmix.c
  * contrib/hbct/charone.c
  * contrib/hbct/charonly.c
  * contrib/hbct/charop.c
  * contrib/hbct/charrepl.c
  * contrib/hbct/charsort.c
  * contrib/hbct/charsprd.c
  * contrib/hbct/charswap.c
  * contrib/hbct/count.c
  * contrib/hbct/ctc.c
  * contrib/hbct/ctmath.h
  * contrib/hbct/ctmath2.c
  * contrib/hbct/ctpad.c
  * contrib/hbct/ctstr.c
  * contrib/hbct/datetime.c
  * contrib/hbct/dattime2.c
  * contrib/hbct/exponent.c
  * contrib/hbct/files.c
  * contrib/hbct/finan.c
  * contrib/hbct/justify.c
  * contrib/hbct/num1.c
  * contrib/hbct/numat.c
  * contrib/hbct/numcount.c
  * contrib/hbct/pos1.c
  * contrib/hbct/pos2.c
  * contrib/hbct/posdiff.c
  * contrib/hbct/range.c
  * contrib/hbct/relation.c
  * contrib/hbct/remove.c
  * contrib/hbct/replace.c
  * contrib/hbct/strdiff.c
  * contrib/hbct/strswap.c
  * contrib/hbct/tab.c
  * contrib/hbct/token1.c
  * contrib/hbct/token2.c
  * contrib/hbct/trig.c
  * contrib/hbct/wordrepl.c
  * contrib/hbct/wordtoch.c
    * various cleanups
      (using hb_par*def(), drop isbyref checks before
      hb_stor*(), excessive {}, empty lines after {,
      empty lines before }, code in comment, references
      to borland, funcnames without (), added few {}s, 
      minor cleanup/opt in sorting callbacks)

  * utils/hbmk2/hbmk2.prg
    * avoid commented code
2012-11-24 14:28:34 +00:00
Viktor Szakats
5073237092 2012-11-23 20:42 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbct/screen2.c
    + SAYDOWN(): CP translation (UTF-8) support
2012-11-23 19:43:41 +00:00
Przemyslaw Czerpak
9a1f6811b7 2012-11-23 20:15 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/extras/gtwvw/hbgtwvw.h
  * harbour/src/vm/cmdarg.c
    * changed '#ifdef UNICODE' to '#if defined( UNICODE )' for easier
      grepping

  * harbour/contrib/hbwin/hbolesrv.c
    * updated to operate internally on UNICODE strings
2012-11-23 19:15:48 +00:00
Pavel Tsarenko
6ab095d54a 2012-11-23 19:10 UTC+0300 Pavel Tsarenko (tpe2 at mail.ru)
* contrib/hbct/screen1.c
    * added codepage translation in ScreenMix and SayScreen functions
  * contrib/hbmisc/numtxtru.prg
    * small enhacement
2012-11-23 17:11:16 +00:00
Viktor Szakats
bd3dbbac9f 2012-11-23 17:46 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbnf/aredit.prg
  * contrib/hbnf/popadder.prg
    % eliminated NextKey() calls
      Please review me
    % use HB_KEYSETLAST()

  * contrib/xhb/tcgi.prg
  * contrib/xhb/thtm.prg
  * contrib/xhb/traceprg.prg
    * cleanups
2012-11-23 16:47:47 +00:00