Commit Graph

18260 Commits

Author SHA1 Message Date
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
Przemyslaw Czerpak
6f5d5a964c 2012-11-23 17:14 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/contrib/xhb/xhbtedit.prg
  * harbour/contrib/hbmysql/tsqlbrw.prg
  * harbour/contrib/hbodbc/browodbc.prg
    % eliminated NextKey() calls
    ; TOFIX: BrowseODBC() just like dbEdit() ignore setKey() actions
             If key is pressed during stabilization faze. I think it's
             implementation problem not intentional decision and it
             should be fixed - there is nothing worse then application
             which ignores some keystrokes if user types to fast ;)
             I'd like to ask authors of above code to check it.
    ; I haven't touched xhb/xhbmemo.prg - it makes some hacks with
      keyboard polling so it's serious chance I would break sth.
2012-11-23 16:15:09 +00:00
Viktor Szakats
8e384fcbb0 2012-11-23 16:22 UTC+0100 Viktor Szakats (harbour syenar.net)
* website/js/shBrushHarbour.js
    % limited the number of known functions to non-internal
      core ones and which are more often used
2012-11-23 15:24:24 +00:00
Viktor Szakats
9536bad91a 2012-11-23 15:26 UTC+0100 Viktor Szakats (harbour syenar.net)
* include/hbwinuni.h
    + new HB_WINAPI_KERNEL32_DLL() macro to get kernel32.dll
      regardless of UNICODE or non-UNICODE mode

  * contrib/hbwin/wapi_winbase.c
  * src/rtl/diskspac.c
  * src/rtl/disksphb.c
    % use HB_WINAPI_KERNEL32_DLL() macro
    ! fixed a non-UNICODE bug that slipped in previous commit

  * src/rtl/direct.c
    * made it format well using uncrustify

  * src/vm/asort.c
  * src/vm/memvars.c
    * cleanups
2012-11-23 14:28:51 +00:00
Viktor Szakats
ef46ac3a3a 2012-11-23 14:07 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbfbird/firebird.c
  * contrib/hbmisc/hb_f.c
  * contrib/hbpgsql/hbpgsql.h
  * contrib/hbpgsql/postgres.c
  * contrib/hbpgsql/rddcopy.c
  * contrib/hbsqlit3/core.c
  * contrib/hbtip/encurlc.c
    * various code cleanups and minor fixes
      (var scopes, excessive {}, commented code,
      bad formatting, uncrustify friendliness, 
      while( HB_TRUE ), missing HB_EXTERN*, missing 
      HB_EXPORT, missing header self-guard, etc)

  + contrib/hbmisc/dates.c
  - contrib/hbmisc/dates2.c
  * contrib/hbmisc/hbmisc.hbp
    * renamed
2012-11-23 13:11:52 +00:00
Viktor Szakats
39998b8b97 2012-11-23 12:50 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/xhb/hbcompat.h
    + added compatibility macros from xhb repository
      (untested)
    * formatting

  * contrib/xhb/hbdll.ch
  * contrib/xhb/htmlform.ch
  * contrib/xhb/ttable.ch
  * contrib/hbamf/amfdec.c
  * contrib/hbamf/amfenc.c
  * contrib/hbamf/hbamf.hbc
    * formatting, converted commented code to #if 0/#endif 
      blocks, removed excessive {} blocks

  * contrib/hbnf/aredit.prg
  * contrib/hbnf/popadder.prg
    * added two TODOs to avoid NextKey()
    ; NextKey() is also used in these files:
        hbct/keysec.prg
        hbmysql/tsqlbrw.prg
        hbodbc/browodbc.prg
        hbodbc/browodbc.prg
        xhb/xhbmemo.prg
        xhb/xhbtedit.prg
    ; Przemek, if you see this, would you mind doing it
      where it's possible to avoid?

  * contrib/hbnf/calendar.prg
    * minor cleanups

  * contrib/xhb/xhbfunc.c
  * src/rtl/philes.c
    * deprecated HB_OSPATHSEPARATOR() with HB_LEGACY_LEVEL4 (after
      next release). Use HB_PS() instead.
      HB_OSPATHSEPARATOR() will continue to live as an xhb compatibility
      function after that.
2012-11-23 11:56:36 +00:00
Viktor Szakats
b1ecda1a55 2012-11-23 00:17 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/xhb/xhbfunc.c
  * src/rtl/console.c
    * deprecated HB_OSNEWLINE() with HB_LEGACY_LEVEL4 (after
      next release). Use HB_EOL() instead.
      HB_OSNEWLINE() will continue to live as an xhb compatibility
      function after that.

  * utils/hbmk2/hbmk2.prg
    * minor cleanup to prev
2012-11-23 02:09:33 +00:00
Viktor Szakats
61a4e1ca92 2012-11-22 19:16 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbsqlit3/core.c
    ! fixed sqlite_prepare() to convert strings to UTF-8
      Patch by Marcelo Faria. Many thanks.
2012-11-22 18:17:31 +00:00