Commit Graph

2945 Commits

Author SHA1 Message Date
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
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
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
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
89e8018140 2012-11-22 19:07 UTC+0100 Viktor Szakats (harbour syenar.net)
* include/hbwinuni.h
    + added HB_WINAPI_FUNCTION_NAME() macro to form a WinAPI
      function name as a string (for dynamic calls)
      Thanks to Mindaugas for the idea.

  * contrib/hbwin/wapi_winbase.c
  * contrib/hbwin/wapi_wingdi_font.c
  * contrib/hbwin/win_prn2.c
  * contrib/hbwin/win_prn3.c
  * contrib/hbwin/win_rpc.c
  * src/rtl/diskspac.c
  * src/rtl/disksphb.c
  * src/rtl/fslink.c
    % eliminated few UNICODE build-time branches by using
      new HB_WINAPI_FUNCTION_NAME() macro
2012-11-22 18:11:50 +00:00
Viktor Szakats
385cc9f0fb 2012-11-22 12:46 UTC+0100 Viktor Szakats (harbour syenar.net)
* include/hbvmpub.h
  * src/vm/hvm.c
  * src/vm/macro.c
  * src/vm/memvars.c
    % deleted synonym type HB_DYNS_PTR (change it to PHB_DYNS)
      INCOMPATIBLE
2012-11-22 11:50:33 +00:00
Viktor Szakats
e686d70a00 2012-11-22 12:39 UTC+0100 Viktor Szakats (harbour syenar.net)
* include/hbapifs.h
    % deleted type HB_FNAME_PTR (change it to PHB_FNAME)
      INCOMPATIBLE

  * include/hbapi.h
    % deleted internal type HB_EXTREF_PTR (synonym of PHB_EXTREF)
2012-11-22 11:42:00 +00:00
Viktor Szakats
3dfa652ae9 2012-11-22 11:27 UTC+0100 Viktor Szakats (harbour syenar.net)
+ src/codepage/cp_gbk.c
  + src/codepage/gbk.c
  * src/codepage/Makefile
  * include/hbcpage.hbx
    + added GBK CP.
      GBK is an extension of the GB2312 character set for simplified Chinese
      characters, used in the People's Republic of China. GBK encoding support
      for Simplified Chinese, while fully contained BIG5. Microsoft implemented
      GBK in Windows 95 and Windows NT 3.51 as Code Page 936.
      Thanks to Wang Dongming for the two new source files.
      Please review/test it.

  * src/rtl/langcomp.prg
    ! use GBK CP instead of BIG5 for legacy CP "ZHGB"

  * extras/httpsrv/session.prg
    * cleanup
2012-11-22 10:38:16 +00:00
Viktor Szakats
543eb4f760 2012-11-21 17:50 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rdd/hsx/hsx.c
  * src/rtl/gtxwc/gtxwc.c
  * src/vm/classes.c
  * src/vm/dynsym.c
  * src/vm/garbage.c
    * modified macros to act like functions, whether
      mapped to noop or noop code. These code parts
      will now not confuse code formatters.
      The generated code is indentical (tested under 
      mingw, and to some extent on msvc and bcc)

  * include/hbtrace.h
    * minor
2012-11-21 17:05:30 +00:00
Viktor Szakats
edf37e7247 2012-11-21 15:55 UTC+0100 Viktor Szakats (harbour syenar.net)
* include/hbtrace.h
    ! fixed empty HB_TRACE() definitions to be 'do {} while( 0 )'
      as suggested by Przemek.

  * contrib/hbsqlit3/core.c
  * contrib/hbwin/axcore.c
  * contrib/hbzebra/datamtrx.c
  * contrib/hbzebra/qrcode.c
  * contrib/rddads/ads1.c
  * contrib/rddads/adsfunc.c
    * deleted {} block where HB_TRACE() was the only
      call made from the the block. It's now unnecessary.

  * contrib/hbzebra/codabar.c
  * contrib/hbzebra/code11.c
  * contrib/hbzebra/code128.c
  * contrib/hbzebra/code39.c
  * contrib/hbzebra/code93.c
  * contrib/hbzebra/core.c
  * contrib/hbzebra/datamtrx.c
  * contrib/hbzebra/eanupc.c
  * contrib/hbzebra/itf.c
  * contrib/hbzebra/msi.c
  * contrib/hbzebra/pdf417.c
  * contrib/hbzebra/qrcode.c
    * deleted few more unnecessary {} from single statement
      blocks
2012-11-21 15:04:03 +00:00
Viktor Szakats
033d73d53c 2012-11-21 12:34 UTC+0100 Viktor Szakats (harbour syenar.net)
* ChangeLog
    * made decision how to clean empty loop code
      (it's bar ';' char, indented in next line)

  * include/hbtrace.h
    * inactive HB_TRACE() macro will now translate to
      empty {} block, so there is no need to manually
      do that when used alone in an 'else' branch for example.
      Checkme.

  * contrib/hbwin/win_svc.c
    % deleted {} braces from around HB_TRACE() calls

  * utils/hbmk2/hbmk2.prg
    ! fixed hb_processOpen() results to be displayed at
      once to avoid cutting potential UTF-8 (or other multibyte)
      output from tools to be cut in the middle of character.

  * contrib/hbct/charone.c
  * contrib/hbct/charop.c
  * contrib/hbct/token1.c
  * contrib/hbct/token2.c
    * deleted {} ending comments

  * contrib/hbmysql/tmysql.prg
  * contrib/hbmysql/tsqlbrw.prg
    * deleted change tracking comments. 'blame' functionality
      and repo history should be enough
2012-11-21 11:41:03 +00:00
Viktor Szakats
fd4c468bcc 2012-11-20 18:19 UTC+0100 Viktor Szakats (harbour syenar.net)
* include/hbexprb.c
    ! corrected indentation
2012-11-20 17:23:41 +00:00
Viktor Szakats
a07ef040e3 2012-11-20 17:05 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbwin/tests/testsvc.prg
    + added some lines to test parameter passing

  * include/hbdefs.h
    * deprecated HB_TCHAR_*() macros with HB_LEGACY_LEVEL4
      Everyone pls move on to Str API calls and hbwinuni.h 
      macros.

  * include/hbexpra.c
  * include/hbexprb.c
  * include/hbwmain.c
    * applied uncrustify fixes
2012-11-20 16:07:26 +00:00
Przemyslaw Czerpak
409c2acaa1 2012-11-20 05:05 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbdefs.h
  * harbour/src/common/hbwin.c
    + added new C function hb_wctomblen()

  * harbour/include/hbapi.h
  * harbour/src/vm/cmdarg.c
    + added new C functions hb_winmainArgVBuild() and hb_winmainArgVFree()
      These functions are available only in MS-Windows builds and they
      use GetCommandLine() and GetModuleFileName() to build argument list.
    * updated to operate on MS-Windows unicode buffers if possible.

  * harbour/src/vm/hvm.c
    * initialize MS-Windows application startup parameters in hb_vmInit()
    * free MS-Windows application startup parameters in hb_vmQuit()

  * harbour/include/hbwmain.c
    * do not build argument list HB_VM_STARTUP mode - leave this job to
      new functions

  * harbour/src/rtl/teditor.prg
  * harbour/src/rtl/memoedit.prg
    % do eliminated NextKey() calls to avoid unnecessary key polling
      It also fixes key dropping in small typeahead buffers.

  * harbour/src/rtl/dbedit.prg
    % do eliminated NextKey() calls to avoid unnecessary key polling

  * harbour/src/rtl/getsys.prg
  * harbour/src/rtl/tgetlist.prg
    ! fixed active loops (100% CPU usage)

  * harbour/src/rtl/gtsln/gtsln.h
    ! define REAL_UNIX_SYSTEM in AIX builds - thanks to Luiz Rafael Culik
      for the information

  * harbour/src/rtl/achoice.prg
    % replaced Empty( NextKey() ) with NextKey() == 0

  * harbour/src/rtl/gtsln/gtsln.h
    ! define REAL_UNIX_SYSTEM in AIX builds - thanks to Luiz Rafael Culik
      for the information

  * harbour/src/rtl/hbinet.c
    * uese hb_parni()/hb_retni() instead of hb_parnl()/hb_retnl() for int
      values

  * harbour/src/rtl/hbgtcore.c
    ! comment cleanup

  * harbour/contrib/hbwin/win_svc.c
    ! eliminated HB_TCHAR_* macros
2012-11-20 04:06:27 +00:00
Viktor Szakats
ab5ebeef3d 2012-11-17 13:52 UTC+0100 Viktor Szakats (vszakats syenar.net)
* contrib/hbct/doc/en/charonly.txt
  * contrib/hbct/doc/en/ctmath2.txt
  * doc/en/hashes.txt
  * doc/en/misc.txt
    ! added missing '()' from the end of function names

  * include/harbour.hbx
    ! fixed casing of Dbf()

  * tests/fixcase.hb
    + added exceptions fixed manually last time

  * doc/en/rdddb.txt
  * doc/en/rddmisc.txt
  * tests/newrdd.prg
    * rerun fixcase.hb
2012-11-17 12:53:46 +00:00
Viktor Szakats
31135713b8 2012-11-16 16:06 UTC+0100 Viktor Szakats (vszakats syenar.net)
* contrib/gtwvg/class.prg
  * contrib/gtwvg/paint.prg
  * contrib/gtwvg/parthdlr.prg
  * contrib/gtwvg/statbar.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
  * contrib/gtwvg/toolbar.prg
  * contrib/gtwvg/wnd.prg
  * contrib/hbamf/issues.txt
  * contrib/hbamf/readme.txt
  * contrib/hbblink/hbblink.ch
  * contrib/hbct/ct.ch
  * contrib/hbct/ctcom.ch
  * contrib/hbct/ctrand.prg
  * contrib/hbct/cttime.prg
  * contrib/hbct/doc/en/addascii.txt
  * contrib/hbct/doc/en/ctmath2.txt
  * contrib/hbct/doc/en/ctstr.txt
  * contrib/hbct/doc/en/dattime2.txt
  * contrib/hbct/doc/en/finan.txt
  * contrib/hbct/doc/en/ftoc.txt
  * contrib/hbct/doc/en/misc1.txt
  * contrib/hbct/doc/en/trig.txt
  * contrib/hbct/fcopy.prg
  * contrib/hbct/getinfo.prg
  * contrib/hbct/getinput.prg
  * contrib/hbct/getsecrt.prg
  * contrib/hbct/keysave.prg
  * contrib/hbct/keysec.prg
  * contrib/hbct/keytime.prg
  * contrib/hbct/readme.txt
  * contrib/hbct/screen3.prg
  * contrib/hbct/scrmark.prg
  * contrib/hbct/showtime.prg
  * contrib/hbct/tempfile.prg
  * contrib/hbformat/utils/hbformat.prg
  * contrib/hbfship/isdb.prg
  * contrib/hbgd/gdimage.prg
  * contrib/hbgd/tests/gdtestcl.prg
  * contrib/hbgd/tests/test_out.prg
  * contrib/hbgd/tests/tostring.prg
  * contrib/hbgt/doc/en/hbgt.txt
  * contrib/hbgt/tests/test.prg
  * contrib/hbhpdf/tests/harupdf.prg
  * contrib/hbhttpd/tests/carts.dbf
  * contrib/hbhttpd/tests/items.dbf
  * contrib/hbhttpd/tests/users.dbf
  * contrib/hbmisc/doc/en/dates2.txt
  * contrib/hbmisc/fcomma.prg
  * contrib/hbmisc/stringp.prg
  * contrib/hbmisc/tests/testhbf.prg
  * contrib/hbmisc/udpds.prg
  * contrib/hbmxml/tests/custom.prg
  * contrib/hbmysql/diff-en.txt
  * contrib/hbmysql/diff-es.txt
  * contrib/hbmysql/tmysql.prg
  * contrib/hbnetio/netiomt.prg
  * contrib/hbnetio/utils/hbnetio/netiomgm.hb
  * contrib/hbnf/adapter.prg
  * contrib/hbnf/aredit.prg
  * contrib/hbnf/clrsel.prg
  * contrib/hbnf/default.prg
  * contrib/hbnf/dispmsg.prg
  * contrib/hbnf/floptst.prg
  * contrib/hbnf/ftint86.ch
  * contrib/hbnf/ftmenuto.ch
  * contrib/hbnf/lastday.prg
  * contrib/hbnf/linked.prg
  * contrib/hbnf/menuto.prg
  * contrib/hbnf/metaph.prg
  * contrib/hbnf/nwsem.prg
  * contrib/hbnf/ontick.prg
  * contrib/hbnf/pegs.prg
  * contrib/hbnf/popadder.prg
  * contrib/hbnf/savesets.prg
  * contrib/hbnf/sinkey.prg
  * contrib/hbnf/tbwhile.prg
  * contrib/hbnf/tempfile.prg
  * contrib/hbnf/vidcur.prg
  * contrib/hbnf/video2.prg
  * contrib/hbnf/woy.prg
  * contrib/hbodbc/tests/testodbc.prg
  * contrib/hbodbc/todbc.prg
  * contrib/hbpgsql/postgres.ch
  * contrib/hbtip/encoder.prg
  * contrib/hbtip/thtml.prg
  * contrib/hbtpathy/tests/testtp.prg
  * contrib/hbwin/tests/dlg.prg
  * contrib/hbwin/tests/olesrv1.prg
  * contrib/hbwin/tests/olesrv3.prg
  * contrib/hbwin/tests/olesrv4.prg
  * contrib/hbwin/tests/oletst4.prg
  * contrib/hbwin/tests/testprn.prg
  * contrib/hbwin/win_tbmp.prg
  * contrib/hbxpp/browdbx.prg
  * contrib/hbxpp/runshell.prg
  * contrib/hbxpp/tthreadx.prg
  * contrib/hbxpp/typefilx.prg
  * contrib/hbxpp/xppop.prg
  * contrib/rddads/doc/en/adsfuncs.txt
  * contrib/rddads/doc/en/readme.txt
  * contrib/rddads/tests/datad.prg
  * contrib/rddsql/readme.txt
  * contrib/xhb/cstruct.prg
  * contrib/xhb/dirrec.prg
  * contrib/xhb/diskhb.prg
  * contrib/xhb/hbcompat.ch
  * contrib/xhb/hbcomprs.prg
  * contrib/xhb/hterrsys.prg
  * contrib/xhb/htjlist.prg
  * contrib/xhb/htmutil.prg
  * contrib/xhb/stream.prg
  * contrib/xhb/tcgi.prg
  * contrib/xhb/thtm.prg
  * contrib/xhb/ttable.prg
  * contrib/xhb/txml.prg
  * contrib/xhb/xcstr.prg
  * contrib/xhb/xhberr.prg
  * contrib/xhb/xhbmemo.prg
  * contrib/xhb/xhbtedit.prg
  * contrib/xhb/xhbver.prg
  * doc/cmpopt.txt
  * extras/gfspell/spell.ng
  * extras/gfspell/spell.prg
  * extras/gfspell/words.dbf
  * extras/gtwvw/docs/funclist.txt
  * extras/gtwvw/docs/whatsnew.txt
  * extras/gtwvw/tests/_wvwmous.prg
  * extras/gtwvw/tests/cbtest6.prg
  * extras/gtwvw/tests/drawimg.prg
  * extras/gtwvw/tests/ebtest7.prg
  * extras/gtwvw/tests/inpfocus.prg
  * extras/gtwvw/tests/maximize.prg
  * extras/gtwvw/tests/prog0.prg
  * extras/gtwvw/tests/prog1.prg
  * extras/gtwvw/tests/prog2.prg
  * extras/gtwvw/tests/wvwtest9.prg
  * extras/gtwvw/wvt2wvw.ch
  * extras/guestbk/guestbk.prg
  * extras/hbdoc/tmplates.prg
  * extras/hbvpdf/core.prg
  * extras/httpsrv/cgifunc.prg
  * extras/httpsrv/cookie.prg
  * extras/httpsrv/session.prg
  * extras/httpsrv/uhttpd.prg
  * extras/rddado/adordd.ch
  * extras/rddado/adordd.prg
  * include/set.ch
  * src/debug/debugger.prg
  * src/rdd/dbfuncs.prg
  * src/rdd/dbjoin.prg
  * src/rdd/dblist.prg
  * src/rdd/dbsort.prg
  * src/rdd/dbstrux.prg
  * src/rdd/dbstruxu.prg
  * src/rdd/dbtotal.prg
  * src/rdd/dbupdat.prg
  * src/rdd/hbsix/sxcompat.prg
  * src/rdd/hbsix/sxini.prg
  * src/rdd/hbsix/sxtrig.prg
  * src/rdd/usrrdd/rdds/arrayrdd.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/altd.prg
  * src/rtl/browdb.prg
  * src/rtl/dbedit.prg
  * src/rtl/devoutp.prg
  * src/rtl/dircmd.prg
  * src/rtl/hbi18n2.prg
  * src/rtl/input.prg
  * src/rtl/libname.prg
  * src/rtl/listbox.prg
  * src/rtl/memvarbl.prg
  * src/rtl/radiobhb.prg
  * src/rtl/readkey.prg
  * src/rtl/readvar.prg
  * src/rtl/setfunc.prg
  * src/rtl/setta.prg
  * src/rtl/tbrowse.prg
  * src/rtl/teditor.prg
  * src/rtl/text.prg
  * src/rtl/tget.prg
  * src/rtl/tgetlist.prg
  * src/rtl/tobject.prg
  * src/rtl/typefile.prg
  * src/rtl/valtoexp.prg
  * src/rtl/wait.prg
  * src/vm/harbinit.prg
  * tests/ac_test.prg
  * tests/ac_test2.prg
  * tests/adirtest.prg
  * tests/aliaslck.prg
  * tests/bldtest/bldtest.c
  * tests/clsnv.prg
  * tests/codebl.prg
  * tests/debugtst.prg
  * tests/devtest.prg
  * tests/disptest.prg
  * tests/gtcolors.prg
  * tests/gtkeys.prg
  * tests/gtwin.prg
  * tests/gtxfnt.prg
  * tests/inkeytst.prg
  * tests/linecont.prg
  * tests/mathtest.prg
  * tests/memvar.prg
  * tests/newrdd.prg
  * tests/output.prg
  * tests/readhrb.prg
  * tests/seconds.prg
  * tests/set_test.prg
  * tests/tb1.prg
  * tests/testdyn.prg
  * tests/testdyn1.prg
  * tests/testhrb.prg
  * tests/testhtml.prg
  * tests/testidle.prg
  * tests/testpre.prg
  * tests/testrdd2.prg
  * tests/testsha1.prg
  * tests/teststr.prg
  * tests/ticktime.prg
  * tests/transtst.prg
  * tests/tstcolor.prg
  * tests/tstdbi.prg
  * tests/tstmacro.prg
  * tests/uc16_gen.prg
  * tests/usrrdd/exarr.prg
  * tests/usrrdd/exlog.prg
  * tests/utf8at.prg
  * tests/version.prg
  * tests/videotst.prg
  * tests/vidtest.prg
  * tests/wvtext.prg
  * utils/hbmk2/hbmk2.prg
  * utils/hbtest/hbtest.prg
  * utils/hbtest/rt_class.prg
  * utils/hbtest/rt_date.prg
  * utils/hbtest/rt_hvm.prg
  * utils/hbtest/rt_hvma.prg
  * 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
    * run case fixer script on all non-C file
      except some certain files, which I routinely
      skip when formatting.
    * minor manual cleanups along the way
2012-11-16 15:23:20 +00:00
Przemyslaw Czerpak
710c40b8a7 2012-11-16 09:39 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbapi.h
  * harbour/src/vm/cmdarg.c
    ! fixed to compile without UNICODE macro
    + added new C functions: hb_cmdargBaseProgName(), hb_cmdargPushArgs()
    * marked places which needs TCHAR conversions in MS-Windows builds

  * harbour/src/vm/hvm.c
    * use hb_cmdargPushArgs()

  * harbour/src/rtl/hbproces.c
    ! fixed to compile without UNICODE macro

  * harbour/src/rtl/gtxwc/gtxwc.c
    * modified code to set window title to always operate on UTF8 values
    * use hb_cmdargBaseProgName()

  * harbour/src/rtl/gtwvt/gtwvt.c
  * harbour/contrib/gtwvg/gtwgud.c
  * harbour/contrib/gtwvg/gtwvgd.c
  * harbour/contrib/gtalleg/gtalleg.c
  * harbour/extras/gtwvw/gtwvwd.c
    * use hb_cmdargBaseProgName()

  * harbour/contrib/hbodbc/odbc.c
    ! keep references to parent handles in sub-handles pointer structures
    ; please make real life tests if it works correctly
2012-11-16 08:39:35 +00:00
Viktor Szakats
fb3e0e9490 2012-11-14 04:49 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rtl/achoice.prg
  * src/rtl/alert.prg
  * src/rtl/hbfilehi.prg
  * src/rtl/hbi18n2.prg
  * src/rtl/hbini.prg
  * src/rtl/listbox.prg
  * src/rtl/memoedit.prg
  * src/rtl/memvarhb.prg
  * src/rtl/menuto.prg
  * src/rtl/objfunc.prg
  * src/rtl/profiler.prg
  * src/rtl/radiobtn.prg
  * src/rtl/tbrowse.prg
  * src/rtl/teditor.prg
  * src/rtl/tgetlist.prg
  * src/rtl/tmenuitm.prg
  * src/rtl/tobject.prg
  * src/rtl/typefile.prg
    * use HB_DEFAULT() instead of 'IF ! HB_IS*()'

  * include/harbour.hbx
    ! fixed one casing being wrong

  * contrib/hbmisc/stringp.prg
  * contrib/xhb/ttable.prg
  * contrib/xhb/xcstr.prg
  * tests/debugtst.prg
    ! fixed above casing where it got wrongly formatted
2012-11-14 03:52:53 +00:00
Viktor Szakats
e8113d9075 2012-11-13 14:28 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbfimage/fi_winfu.c
  * contrib/hbfimage/fi_wrp.c
  * contrib/hbgd/gdwrp.c
    * cleanups

  * include/hbzlib.ch
    ! missing 'also used in C code' comment
    * formatting
2012-11-13 13:28:58 +00:00
Przemyslaw Czerpak
06167bb04b 2012-11-12 16:35 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbexpra.c
    ! fixed recently added error in macrocompiler mode
2012-11-12 15:35:50 +00:00
Przemyslaw Czerpak
767d9dfa1d 2012-11-12 15:15 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbexpra.c
    * indenting

  * harbour/package/harbour.spec
    ! fixed ssl library detection

  * harbour/contrib/hbnetio/netiosrv.c
    ! fixed parameters numbers in NETIO_COMPRESS()

  * harbour/config/linux/libs.mk
  * harbour/config/bin.mk
    ! use pthread in linked library list if shared linking is enabled
    ! do not strip system libraries in shared mode - some systems
      (i.e. RH7.3) needs pthread to be given at link time to create
      correct MT programs and now harbour shared library is only in MT.
2012-11-12 14:15:42 +00:00
Przemyslaw Czerpak
079aa5c078 2012-11-12 14:08 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbexpra.c
    + added compile time error for GETs with complex macros
2012-11-12 13:08:47 +00:00
Viktor Szakats
3f4cf28f68 2012-11-10 20:55 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rtl/hbgtcore.c
    * changed HB_GTI_COMPATBUFFER default to be Clipper
      compatible. INCOMPATIBLE compared to 3.2 versions,
      but restores the compatibility with previous ones
      and Clipper. Applications using Unicode, must now 
      manually change these buffers to be Unicode 
      compatible using:
         #include "hbgtinfo.ch"
         hb_gtInfo( HB_GTI_COMPATBUFFER, .F. )

  * include/assert.ch
  * include/hbclass.ch
  * contrib/rddads/ads.ch
  * contrib/xhb/hbdll.ch
  * contrib/xhb/hblog.ch
  * contrib/xhb/ttable.ch
    ! use 'END' instead of 'ENDIF' consistently
      in command translated code. (most of these
      is result of recent regression)

  * contrib/gtwvg/class.prg
  * contrib/gtwvg/combobox.prg
  * contrib/gtwvg/crt.prg
  * contrib/gtwvg/menubar.prg
  * contrib/gtwvg/statbar.prg
  * contrib/gtwvg/static.prg
  * contrib/gtwvg/syswnd.prg
  * contrib/gtwvg/tests/_modal.prg
  * contrib/gtwvg/wnd.prg
  * contrib/hbgd/tests/test_out.prg
  * contrib/hbmysql/tmysql.prg
  * contrib/xhb/decode.prg
  * contrib/xhb/xhbtedit.prg
  * extras/hbdoc/hbdoc.prg
  * extras/httpsrv/cgifunc.prg
  * extras/httpsrv/session.prg
    % deleted excessive parenthesis
    ! fixed some '- 1' to '-1' in older hbformatted
      code

  * extras/gtwvw/tests/_wvwmous.prg
  * extras/gtwvw/tests/wvt2wvw.ch
  * extras/hbvpdf/core.prg
  * extras/httpsrv/uhttpd.prg
  * extras/rddado/adordd.ch
  * include/hbsix.ch
    * minor cleanups
2012-11-10 20:04:37 +00:00
Viktor Szakats
031003a8c9 2012-11-08 18:01 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbnf/any2any.prg
  * contrib/hbnf/d2e.prg
    ! Fixed wrongly cased local macros after last formatting.
      These macro names collided with function names used in
      other libs. I gave these macros a unique name to avoid that.
      Based on Andi Jahja's patch. Thank you.

  * include/*.ch
    * formatting (except std.ch)

  * contrib/xhb/hbcompat.ch
    ! minor fix to prev

  * include/harbour.hbx
    ! minor fix

  * contrib/gtwvg/hbgtwvg.ch
  * contrib/hbblink/hbblink.ch
  * contrib/hbcairo/hbcairo.ch
  * contrib/hbct/ct.ch
  * contrib/hbct/ctdisk.ch
  * contrib/hbct/ctvideo.ch
  * contrib/hbfimage/freeimag.ch
  * contrib/hbmxml/hbmxml.ch
  * contrib/hbnf/any2any.prg
  * contrib/hbnf/d2e.prg
  * contrib/hbtip/thtml.ch
  * contrib/hbtip/tip.ch
  * contrib/hbxpp/hbxpp.ch
  * contrib/hbzebra/hbzebra.ch
  * contrib/xhb/hbcompat.ch
  * contrib/xhb/hbdll.ch
  * contrib/xhb/hblog.ch
  * contrib/xhb/ttable.ch
  * extras/hbdoc/hbdoc.ch
  * extras/hbvpdf/hbvpdf.ch
  * utils/hbtest/rt_init.ch
    * minor cleanups/formatting
2012-11-08 17:05:01 +00:00
Viktor Szakats
3bb2070d79 2012-11-07 16:55 UTC+0100 Viktor Szakats (harbour syenar.net)
* config/postinst.hb
  * utils/hbmk2/hbmk2.prg
    % do not generate SVN ID comments into .hbx files

  * contrib/gtwvg/gtwvg.hbx
  * contrib/hbamf/hbamf.hbx
  * contrib/hbblat/hbblat.hbx
  * contrib/hbblink/hbblink.hbx
  * contrib/hbbz2/hbbz2.hbx
  * contrib/hbcairo/hbcairo.hbx
  * contrib/hbcomm/hbcomm.hbx
  * contrib/hbct/hbct.hbx
  * contrib/hbcups/hbcups.hbx
  * contrib/hbcurl/hbcurl.hbx
  * contrib/hbexpat/hbexpat.hbx
  * contrib/hbfbird/hbfbird.hbx
  * contrib/hbfimage/hbfimage.hbx
  * contrib/hbformat/hbformat.hbx
  * contrib/hbfoxpro/hbfoxpro.hbx
  * contrib/hbfship/hbfship.hbx
  * contrib/hbgd/hbgd.hbx
  * contrib/hbgs/hbgs.hbx
  * contrib/hbgt/hbgt.hbx
  * contrib/hbhpdf/hbhpdf.hbx
  * contrib/hbhttpd/hbhttpd.hbx
  * contrib/hblzf/hblzf.hbx
  * contrib/hbmagic/hbmagic.hbx
  * contrib/hbmemio/hbmemio.hbx
  * contrib/hbmisc/hbmisc.hbx
  * contrib/hbmlzo/hbmlzo.hbx
  * contrib/hbmxml/hbmxml.hbx
  * contrib/hbmysql/hbmysql.hbx
  * contrib/hbmzip/hbmzip.hbx
  * contrib/hbnetio/hbnetio.hbx
  * contrib/hbnf/hbnf.hbx
  * contrib/hbodbc/hbodbc.hbx
  * contrib/hboslib/hboslib.hbx
  * contrib/hbpgsql/hbpgsql.hbx
  * contrib/hbsms/hbsms.hbx
  * contrib/hbsqlit3/hbsqlit3.hbx
  * contrib/hbssl/hbssl.hbx
  * contrib/hbtinymt/hbtinymt.hbx
  * contrib/hbtip/hbtip.hbx
  * contrib/hbtpathy/hbtpathy.hbx
  * contrib/hbunix/hbunix.hbx
  * contrib/hbwin/hbwin.hbx
  * contrib/hbxdiff/hbxdiff.hbx
  * contrib/hbxpp/hbxpp.hbx
  * contrib/hbzebra/hbzebra.hbx
  * contrib/hbziparc/hbziparc.hbx
  * contrib/rddads/rddads.hbx
  * contrib/xhb/xhb.hbx
  * extras/gtwvw/gtwvw.hbx
  * extras/hbusb/hbusb.hbx
  * extras/hbvpdf/hbvpdf.hbx
  * extras/hbxlsxml/hbxlsxml.hbx
  * include/harbour.hbx
  * include/hbcpage.hbx
  * include/hblang.hbx
  * include/hbscalar.hbx
  * include/hbusrrdd.hbx
    * deleted SVN ID comments
2012-11-07 16:01:33 +00:00
Viktor Szakats
d34ee4d3f1 2012-11-07 11:59 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rtl/dirscan.prg
    + HB_DIRSCAN(): more strict check on parameters to avoid RTEs
    % HB_DIRSCAN(): minor optimizations

  * bin/find.hb
    % Use HB_DIRSCAN()

  * include/harbour.hbx
  * src/rtl/hbfilehi.prg
    + added HB_DIRSEPTOOS( <cDir> ) -> <cDirWithNativeDirSeps>

  * bin/find.hb
  * config/postinst.hb
  * contrib/make.hb
    * Use HB_DIRSEPTOOS() instead of locally rolled copy
2012-11-07 11:03:53 +00:00
Viktor Szakats
2f285ca6c2 2012-11-05 12:32 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbamf/tests/tstendin.prg
  * contrib/hbblat/blatcls.prg
  * contrib/hbct/tests/ctwtest.prg
  * contrib/hbct/tests/token2.prg
  * contrib/hbhttpd/readme.txt
  * contrib/hbhttpd/widgets.prg
  * contrib/hbmisc/fileread.prg
  * contrib/hbmisc/hbedit.prg
  * contrib/hbmysql/diff-en.txt
  * contrib/hbmysql/diff-es.txt
  * contrib/hbmysql/tests/dbf2mysq.prg
  * contrib/hbmysql/tmysql.prg
  * contrib/hbmysql/tsqlbrw.prg
  * contrib/hbnetio/tests/netiot03.prg
  * contrib/hbnetio/tests/netiotst.prg
  * contrib/hbnf/doc/en/fttext.txt
  * contrib/hbodbc/browodbc.prg
  * contrib/hbodbc/tests/odbcdemo.prg
  * contrib/hbodbc/todbc.prg
  * contrib/hbtip/ftpcli.prg
  * contrib/hbwin/tests/olesrv1.prg
  * contrib/rddads/ads.ch
  * contrib/rddsql/readme.txt
  * contrib/sddodbc/tests/test2.prg
  * contrib/xhb/dbf2txt.c
  * contrib/xhb/hbcompat.ch
  * contrib/xhb/hblog.prg
  * contrib/xhb/html.ch
  * contrib/xhb/tfile.prg
  * contrib/xhb/tframe.prg
  * contrib/xhb/ttable.prg
  * ChangeLog
  * doc/en/dbdelim.txt
  * doc/en/dbsdf.txt
  * doc/en/rdddb.txt
  * doc/en/terminal.txt
  * extras/gtwvw/tests/wvt2wvw.ch
  * extras/httpsrv/cookie.prg
  * extras/httpsrv/modules/tableservletdb.prg
  * extras/rddado/adordd.ch
  * extras/rddado/adordd.prg
  * include/assert.ch
  * include/hbsix.ch
  * src/debug/dbgbrwsr.prg
  * src/debug/dbgtinp.prg
  * src/rdd/*.prg
  * src/rtl/*.prg
  * tests/*.prg
  * tests/rddtest/rddtst.prg
  * tests/usrrdd/exarr.prg
  * tests/usrrdd/exfcm.prg
  * utils/hbtest/hbtest.prg
    * more minor
2012-11-05 11:37:36 +00:00
Viktor Szakats
df2b7a9ebd 2012-10-31 13:25 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/harbour.hbx
    * fixes/changes to some function names

  * config/hb_c.cfg
    + updated to do better vertical aligment in
      structs, var declarations and assignments
    ; TODO: move this to /bin folder and add to 'install'-ed
            file list, rename to 'harbour.ucf'

  * src/debug/*.prg
  * src/rdd/*.prg
  * src/rdd/hbsix/*.prg
  * src/rdd/usrrdd/rdds/*.prg
  * src/rtl/*.prg
  * src/vm/*.prg
  * utils/hbi18n/hbi18n.prg
  * utils/hbmk2/hbmk2.prg
  * utils/hbmk2/examples/*.hb
  * contrib/hbblat/blatcls.prg
  * contrib/gtwvg/*.prg
  * contrib/gtwvg/tests/*.prg
  * contrib/hbblink/*.prg
  * contrib/hbcairo/tests/*.prg
  * contrib/hbcomm/*.prg
  * contrib/hbcomm/tests/*.prg
  * contrib/hbcups/tests/*.prg
  * contrib/hbcurl/tests/*.prg
  * contrib/hbexpat/*.prg
  * contrib/hbexpat/tests/*.prg
  * contrib/hbfbird/*.prg
  * contrib/hbfbird/tests/*.prg
  * contrib/hbfoxpro/*.prg
  * contrib/hbfship/*.prg
  * contrib/hbgd/*.prg
  * contrib/hbgd/tests/*.prg
  * contrib/hbgs/tests/*.prg
  * contrib/hbhpdf/*.prg
  * contrib/hbhpdf/tests/*.prg
  * contrib/hbhttpd/*.prg
  * contrib/hbhttpd/tests/*.prg
  * contrib/hblzf/tests/*.prg
  * contrib/hbmagic/tests/*.prg
  * contrib/hbmisc/*.prg
  * contrib/hbmisc/tests/*.prg
  * contrib/hbct/*.prg
  * contrib/hbct/tests/*.prg
  * contrib/hbmlzo/tests/*.prg
  * contrib/hbmxml/*.prg
  * contrib/hbmxml/tests/*.prg
  * contrib/hbmysql/*.prg
  * contrib/hbmysql/tests/*.prg
  * contrib/hboslib/*.prg
  * contrib/hbsms/*.prg
  * contrib/hbtinymt/tests/*.prg
  * contrib/hbtpathy/*.prg
  * contrib/hbtpathy/tests/*.prg
  * contrib/hbunix/tests/*.prg
  * contrib/hbxdiff/tests/*.prg
  * contrib/hbzebra/tests/*.prg
  * contrib/hbziparc/*.prg
  * contrib/hbziparc/tests/*.prg
  * contrib/rddads/*.prg
  * contrib/rddads/tests/*.prg
  * contrib/hbodbc/*.prg
  * contrib/hbodbc/tests/*.prg
  * contrib/hbpgsql/*.prg
  * contrib/hbpgsql/tests/*.prg
  * contrib/hbsqlit3/*.prg
  * contrib/hbsqlit3/tests/*.prg
  * contrib/hbwin/*.prg
  * contrib/hbwin/tests/*.prg
  * contrib/hbxpp/*.prg
  * contrib/hbxpp/tests/*.prg
  * contrib/hbxhb/*.prg
  * contrib/hbxhb/tests/*.prg
  * contrib/hbnetio/*.prg
  * contrib/hbnetio/utils/hbnetio/*.hb
  * contrib/hbnetio/utils/hbnetio/*.prg
  * contrib/hbtip/*.prg
  * contrib/hbtip/tests/*.prg
  * tests/usrrdd/*.prg
  * tests/funcarr.prg
  * extras/gfspell/spell.prg
  * extras/gtwvw/tests/*.prg
  * extras/guestbk/*.prg
  * extras/hbdoc/*.prg
  * extras/rddado/*.prg
  * extras/rddado/tests/*.prg
  * extras/hbxlsxml/*.prg
  * extras/httpsrv/*.prg
  * extras/httpsrv/modules/*.prg
  * extras/hbsuper/*.prg
  * extras/hbvpdf/*.prg
  * extras/hbvpdf/tests/*.prg
  * tests/*.prg (except some which are well formatted but in different/fast-typing style)
  * tests/*.hb
  * bin/*.hb
  * contrib/*.hb
  * config/*.hb
    * some manual formatting to better be able to verify
      changes made by hbformat and be friendlier with hbformat.
    * most files reformatted with hbformat using Maurizio's
      patch, with mostly minor manual corrections and verification.
      All hbformat changes for revised one-by-one.
    ! __DIR(): fixed to be unicode compatible
    ! __hbdoc_ToSource(): make sure to not generate line ending
      spaces in output.
    + hbmk2/hbrun: HBMK_WITH_GTXWC built-time option to include
      GTXWC. Useful for hbrun.
    * hbct tests: change to not use [] as string delimiter
    + added full prototypes to Array class declaration

  ; NOTE: Only these were not or not fully formatted:
          contrib/hbnetio/tests/*.prg
          tests/hbpptest/*.prg
          tests/mt/*.prg
          tests/multifnc/*.prg
          tests/rddtest/*.prg
          utils/hbmk2/hbmk2.prg (for the most part)
          src/rtl/tbrowse.prg (for the most part)
          utils/hbtest/*.prg
          *.ch, *.c, *.h

  * src/rtl/cdpapihb.c
  * src/rtl/hbadler.c
  * src/rtl/hbsocket.c
  * src/rtl/sha1.c
  * src/vm/classes.c
  * src/vm/dynsym.c
  * src/vm/garbage.c
  * src/debug/dbgentry.c
    * do not end macros with ';' to avoid uncrustify warning
      and wrong formatting as a consequence

  * src/compiler/cmdcheck.c
    * minor changes for uncrustify-friendliness

  * contrib/hbformat/utils/hbfmtcls.prg
  * contrib/hbformat/utils/hbformat.prg
    % optimizations in hbformat.prg
    ! fixed mask/filename handling to be
      multiplatform in hbformat.prg
    + added 'HBXList=' hbformat.ini parameter allowing
      to add any .hbx file for proper function name
      casing.
    ! fixed progress bar to display correctly

  * tests/speedstr.prg
    ! fixed to run as intended in unicode code
    * hbformatted

  - contrib/hbwin/tests/dlg.xml
  * contrib/hbwin/tests/dlg.rc
  - extras/gtwvw/tests/wvwtest9.xml
  + extras/gtwvw/tests/wvwtest9.mft
  * extras/gtwvw/tests/wvwtest9.rc
    * renamed manifest to have .mft extension
    % deleted unnecessary manifest
    * "Win32 API" -> "Windows API"
    ! deleted CPU arch from manifest

  * package/harb_win.mft
    * formatting

  * src/common/hbver.c
    + added version detection for win 8 and win server 2012
    * minor formatting/code cleanup

  * tests/gfx.prg
    * updated to run in script mode.
    ; TOFIX: it doesn't draw anything with GTWVT

  * tests/gfx.prg
  * tests/gtwin.prg
  * tests/gtxfnt.prg
  * tests/wvt_fs.prg
  * tests/wvtext.prg
    + support for GTXWC when run as script

  * doc/en/*.txt
  * contrib/hbct/doc/en/*.txt
  * contrib/hbgd/doc/en/*.txt
  * contrib/hbgt/doc/en/*.txt
  * contrib/hbmisc/doc/en/*.txt
  * contrib/hbnf/doc/en/*.txt
  * contrib/hbziparc/doc/en/*.txt
  * contrib/rddads/doc/en/*.txt
    ! fixed few broken tags reported by Carlos
    % deleted line ending spaces
    * some minor formatting

  * contrib/hbnf/*.c
  * contrib/hbnf/*.h
  * extras/gfspell/spellc.c
    * uncrustified with updated hb_c.cfg

  * contrib/hbnf/*.prg
  * contrib/hbnf/tests/*.prg
    * hbformatted with Mauriozo's patch.
    * a few manual corrections (avoiding #translates, using hb_ColorIndex())
      in general and to make hbformat happy.

  + contrib/hbnf/tests/menuto.prg
    + added sample code for MENU TO (adatped from docs)

  - src/rdd/dbfntx/dbfntx0.prg
    - deleted unused file with no enabled code in it

  * contrib/hbtip/tests/dbtohtml.prg
  * contrib/hbtip/tests/loadhtml.prg
  * contrib/hbtip/tests/tipmmail.prg
    * minor cleanups

  * contrib/hbtip/thtml.prg
    ! fixed typo due to s&r
    % use hb_memowrit()

  * src/rtl/tbrowse.prg
    * conditional code sorted to be hbformat friendly
    * some formatting

  * INSTALL
  * package/harbour.rb
  * package/mpkg_src_nightly.sh
  * package/mpkg_win_nightly.bat
  * package/updt_web_nightly.sh
  * website/changelog.html
  * website/faq/harbour17.html
  * website/faq/harbour27.html
  * website/index.html
  * website/menu/harbour-menu.js
    * updated repository URL to new sf.net one

  * tests/function.cfm
  * contrib/hbhttpd/tests/tpl/_main.tpl
  * contrib/hbtip/tests/tipmmail.prg
  * website/faq/*.html
  * website/samples/*.html
    * use utf-8 in html and email

  * contrib/hbrun/hbrun.hbp
    + support for HBMK_WITH_GTXWC

  * tests/rto_get.prg
  * tests/onidle.prg
  * tests/mousetst.prg
  * tests/wcecon.prg
  * tests/vmasort.prg
  - contrib/hbnf/tests/metaph.prg
    * minor cleanups

  * contrib/hbmysql/tests/test.prg
  * contrib/hbmysql/tests/dbf2mysq.prg
    % minor optimization, deleted outdated comment/line

  * src/compiler/harbour.yyc
  * src/compiler/harbour.y
    * minor formatting
2012-10-31 13:04:01 +00:00
Przemyslaw Czerpak
c94b8e5f39 2012-10-24 20:31 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/compiler/complex.c
    ! fixed lexer to correctly recognize ::msg as FOR iterator

  * harbour/include/hbexprb.c
    ! fixed compile time GPF in code like:
         QOut( @1-VAR )
2012-10-24 18:31:44 +00:00
Przemyslaw Czerpak
845658b407 2012-10-24 15:35 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbexprb.c
    ! fixed typo in function IDs.
      HB_I18N_NGETTEXT_STRICT() and HB_I18N_NGETTEXT_NOOP() were not
      recognized as i18n gettext functions

  * harbour/doc/cmpopt.txt
    ! fixed HB_I18N_NGETTEXT_NOOP*() syntax used in examples

  * harbour/src/common/expropt2.c
  * harbour/doc/cmpopt.txt
    + added compile time optimizations for expressions like
         <exp> =  <lVal>
         <exp> == <lVal>
         <exp> != <lVal>
         <lVal> =  <exp>
         <lVal> == <exp>
         <lVal> != <exp>
      They are reduced to <exp> or !<exp>. Because it may disable
      some runtime errors so it's not Clipper compatible optimization
      and is enabled when -ko compiler switch is used.

  * harbour/src/compiler/hbgenerr.c
    ! do not generate some warnings like:
         Meaningless use of expression '%s'
      when -w harbour compiler option is not used

  * harbour/src/rtl/gtxwc/gtxwc.c
    ! indenting
2012-10-24 13:36:24 +00:00
Viktor Szakats
6fe841c614 2012-10-23 23:33 UTC+0200 Viktor Szakats (harbour syenar.net)
* config/detect.mk
  * contrib/hbct/print.c
  * contrib/hbnf/fttext.c
  * contrib/hbnf/n2color.c
  * contrib/hbnf/tests/clrsel.prg
  * contrib/hbnf/tests/menu1.prg
  * contrib/hbwin/win_tprn.prg
  * doc/en/browse.txt
  * doc/en/compiler.txt
  * doc/en/file.txt
  * doc/en/garbage.txt
  * doc/en/gtslang.txt
  * doc/en/idle.txt
  * doc/en/memo.txt
  * doc/en/misc.txt
  * doc/en/setmode.txt
  * doc/en/string.txt
  * doc/en/terminal.txt
  * doc/gtapi.txt
  * doc/tracing.txt
  * include/filesys.api
  * include/hbapifs.h
  * include/hbsetup.h
  * package/mpkg_win.nsi
  * package/winuni/RELNOTES
  * src/codepage/*.c
  * src/common/hbffind.c
  * src/rtl/gete.c
  * src/rtl/hbgtcore.c
  * src/rtl/isprint.c
  * src/rtl/net.c
  * src/rtl/run.c
  * src/rtl/tlabel.prg
  * src/rtl/treport.prg
  * src/vm/dynsym.c
  * tests/stripem.prg
  * tests/tstgtapi.c
    * various platform related doc cleanups
2012-10-23 21:42:07 +00:00
Viktor Szakats
bd2db96eb1 2012-10-23 14:48 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/xhb/hbcompat.ch
  * include/harbour.hbx
  * src/debug/debugger.prg
  * src/rtl/achoice.prg
  * src/rtl/inkey.c
  * src/rtl/memoedit.prg
    + added HB_KEYSETLAST() which is the successor of
      HB_SETLASTKEY() but renamed to put it into the
      right namespace. HB_SETLASTKEY() is deprecated
      and will disappear after the second major release.

  * utils/hbmk2/hbmk2.prg
    + added interactive keyboard functions to trigger
      full screen UI in scripts

  * contrib/hbct/tests/*.prg
    % deleted #include "ct.ch" where it's not used
    ! added #require "ct.ch" where ct.ch is #included

  * contrib/hbct/tests/csetarge.prg
    % CLS not needed anymore to force interactive UI

  * contrib/hbfbird/firebird.c
    ! typo in comment

  * contrib/hbct/tests/math.prg
    * minor
2012-10-23 12:54:45 +00:00
Przemyslaw Czerpak
76686c179b 2012-10-23 12:01 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbvm.h
  * harbour/src/vm/hvm.c
  * harbour/src/vm/runner.c
    * use deferred function mechanism for overloaded function symbols.
      It allows to unload HRB modules without leaving dummy references.
2012-10-23 10:02:34 +00:00
Viktor Szakats
8b99be0d50 2012-10-20 23:31 UTC+0200 Viktor Szakats (harbour syenar.net)
* config/postinst.hb
  * utils/hbmk2/hbmk2.prg
    % avoid lines and padding in autogenerated .hbx file comments

  * include/hblang.hbx
    ! fixed to exclude legacy language modules that missed
      the generic wildcard filter

  * */*.hbx
    * regenerated

  * src/rtl/langapi.c
    * deleted unnecessary comment
2012-10-20 21:38:31 +00:00
Viktor Szakats
f5837235c8 2012-10-18 20:59 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbmisc/hb_f.c
    ! fixed clang warning

  * contrib/hbzebra/datamtrx.c
    ! applied patch from Mindaugas, fixing literal truncation
      warning on MSVC. Thank you.

  * include/harbour.hbx
  * src/rtl/mouse53.c
    + added HB_MGETBOUNDS( /* @ */ nTop, /* @ */ nLeft, /* @ */ nBotton, /* @ */ nRight ) -> NIL

  * contrib/hbnf/hbnf.hbx
  * contrib/hbnf/mouse.c
  * contrib/hbnf/mouse1.prg
    * all possible MS-DOS specific mouse handling
      functions rewritten in Harbour using core mouse API.
      Now the included sample more or less work.
      There are still two important functions (FT_MBUT*())
      that are MS-DOS specific and don't work. Have no
      idea yet how to rewrite these in multiplatform way,
      they work in very MS-DOS specific way.
    ! fixed few bugs along the way. Maybe introduced new
      ones. It doesn't help that NF functions (sometimes?)
      use X for vertical and Y for horizontal position.

  * contrib/hbnf/tests/mouse1.prg
    % turn cursor off to avoid excessive flicker

  * contrib/hbnf/fttext.c
  * contrib/hbnf/tests/metaph.prg
  * contrib/hbnf/tests/prtesc.prg
  * extras/gtwvw/docs/funclist.txt
    * formatting (mostly fighting long separator lines still)

  * src/rtl/mousehb.c
    % use HB_FUNC_TRANSLATE()
2012-10-18 19:07:01 +00:00
Viktor Szakats
61c2f3b43d 2012-10-16 16:50 UTC+0200 Viktor Szakats (harbour syenar.net)
- contrib/hbnf/dosver.prg
  - contrib/hbnf/isshare.prg
  - contrib/hbnf/mouse2.prg
  - contrib/hbnf/page.prg
  - contrib/hbnf/vidmode.prg
  * contrib/hbnf/at2.prg
  * contrib/hbnf/blink.prg
  * contrib/hbnf/byteneg.prg
  * contrib/hbnf/cntryset.prg
  * contrib/hbnf/d2e.prg
  * contrib/hbnf/diskfunc.prg
  * contrib/hbnf/dispc.c
  * contrib/hbnf/elapmil.prg
  * contrib/hbnf/elapsed.prg
  * contrib/hbnf/findith.prg
  * contrib/hbnf/floptst.prg
  * contrib/hbnf/ftint86.c
  * contrib/hbnf/ftint86.ch
  * contrib/hbnf/getver.c
  * contrib/hbnf/getvid.c
  * contrib/hbnf/hbnf.hbp
  * contrib/hbnf/hbnf.hbx
  * contrib/hbnf/hex2dec.prg
  * contrib/hbnf/madd.prg
  * contrib/hbnf/menu1.prg
  * contrib/hbnf/mouse.c
  * contrib/hbnf/mouse1.prg
  * contrib/hbnf/nooccur.prg
  * contrib/hbnf/nwlstat.prg
  * contrib/hbnf/nwsem.prg
  * contrib/hbnf/nwuid.prg
  * contrib/hbnf/rand1.prg
  * contrib/hbnf/savearr.prg
  * contrib/hbnf/scregion.prg
  * contrib/hbnf/sinkey.prg
  * contrib/hbnf/sleep.prg
  * contrib/hbnf/tempfile.prg
    ! FT_MBUTPRS() fixed RTE
    ! fixed FT_DSKFREE(), also made it work on platform w/o drive letters
    ! fixed FT_DSKSIZE(), also made it work on platform w/o drive letters
    ! fixed FT_DOSVER() to return string type on all platforms
    + rewritten functions to use HB_BIT*() and hex number handling functions
    + rewritten FT_SLEEP() to use hb_idleSleep() internally
    % dispc.c rewritten to use hb_gtRectSize( 0, 0, 0, 0, &nSize ) to find
      out cell size and cleaned code to adapt with minimal redundancy
    % optimized out several .prg level stubs
    % using SWITCH, hb_default(), hb_ntos() in some more places
    * removed some unuseful macros
    * minor formatting
    + fixed warnings and errors and enabled mouse1.prg
    % deleted outdated and duplicate mouse2.prg
    % deleted lots of MS-DOS specific commented code
    ! deleted #include for stdlib.h and string.h

  * include/hbapigt.h
  * src/rtl/gtapi.c
    - deleted just added hb_gtIsCompatBuffer().
      It's better to use hb_gtRectSize( 0, 0, 0, 0, &nSize ) for this purpose.

  * contrib/hbformat/hbfmtcls.prg
    * minor formatting
2012-10-16 14:52:35 +00:00
Viktor Szakats
459925ed8c 2012-10-15 19:51 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/hbapigt.h
  * src/rtl/gtapi.c
    + added HB_BOOL hb_gtCompatBuffer() to return the status
      of HB_GTI_COMPATBUFFER setting.
      BTW, shouldn't the default setting be changed to be
      Clipper compatible?

  * contrib/hbnf/dispc.c
    + added support for the now default HB_GTI_COMPATBUFFER == .F. mode.
    % exit char string is now internally converted to a keycode list.
    * use HB_UCHAR (was char) for buffer cells.
    * TOFIX changed for support for input file encoding and
      translating this to unicode when putting to screen.

  * contrib/hbnf/dfile.prg
    + FT_DFSETUP() 9th parameter got a Harbour extension by
      enabling an old low-level feature to be able to pass
      list of exist chars as array of numerics. This is unicode
      compatible.

  * contrib/hbnf/tests/dfile.prg
    + Pass array of numerics to FT_DFSETUP() function, which
      make K_F3 exit key work.
    + Display keyboard as number and as char in unicode compatible way.

  * utils/hbmk2/hbmk2.prg
    * explicitly turn off HB_GTI_COMPATBUFFER for scripts
      to not depend on Harbour default
2012-10-15 17:54:44 +00:00
Viktor Szakats
796887cd1e 2012-10-14 22:43 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbnf/dispc.c
    ! static vars moved to a structure and that structure
      moved to TSD so it's now MT compatible.

  * contrib/hbnf/datecnfg.prg
    % FT_DATECNFG() do not set _SET_DATEFORMAT internally

  * contrib/hbnf/pegs.prg
    + doesn't use THREAD STATIC anymore, but reentrant code

  * contrib/hbnf/savearr.prg
    + do not use PRIVATE var.
    * TOFIX added. This code only works with CENTURY OFF
      and the on-disk format is dependent on _SET_DATEFORMAT.

  * contrib/hbnf/woy.prg
    % FT_WOY()/FT_DOY(): optimized out legacy hacks dealing
      with century handling and CTOD() usage.

  * contrib/hbnf/year.prg
    * avoided one internal CTOD() call.
    % do not set _SET_DATEFORMAT internally

  * contrib/hbnf/dfile.prg
    * use fileio.ch constant

  * contrib/hbnf/tests/calendar.prg
  * contrib/hbnf/tests/datecnfg.prg
  * contrib/hbnf/tests/menu1.prg
  * contrib/hbnf/tests/savearr.prg
  * contrib/hbnf/tests/setdate.prg
  * contrib/hbnf/tests/tbwhile.prg
  * contrib/hbnf/tests/wda.prg
  * contrib/hbnf/tests/workdays.prg
  * contrib/hbnf/tests/woy.prg
    ! avoid using CTOD() (use date type and STOD() instead)
    + SET CENTURY ON where dates are displayed
    + hb_langSelect( "EN" ) where output has language
      dependent strings
    + TOFIX added where NF code is incompatible with CENTURY ON (and RTEs)
    + use LOCAL instead of MEMVAR

  * contrib/gtwvg/hbgtwvg.ch
  * include/hbgtinfo.ch
    * Marked deprecated and unused HB_GTE_* constants with
      HB_LEGACY_LEVEL4. INCOMPATIBLE. Use locally defined
      constants for these or HB_K_* constants from inkey.ch
      or hbgtwvg.ch if you use contrib/GTWVG.

  * contrib/hbnf/doc/en/acctadj.txt
  * contrib/hbnf/doc/en/acctmnth.txt
  * contrib/hbnf/doc/en/acctqtr.txt
  * contrib/hbnf/doc/en/acctweek.txt
  * contrib/hbnf/doc/en/acctyear.txt
  * contrib/hbnf/doc/en/dayofyr.txt
  * contrib/hbnf/doc/en/daytobow.txt
  * contrib/hbnf/doc/en/elapsed.txt
  * contrib/hbnf/doc/en/firstday.txt
  * contrib/hbnf/doc/en/lastday.txt
  * contrib/hbnf/doc/en/madd.txt
  * contrib/hbnf/doc/en/month.txt
  * contrib/hbnf/doc/en/qtr.txt
  * contrib/hbnf/doc/en/savearr.txt
  * contrib/hbnf/doc/en/setdate.txt
  * contrib/hbnf/doc/en/stod.txt
  * contrib/hbnf/doc/en/wda.txt
  * contrib/hbnf/doc/en/week.txt
  * contrib/hbnf/doc/en/workdays.txt
  * contrib/hbnf/doc/en/woy.txt
  * contrib/hbnf/doc/en/year.txt
    ! use STOD() instead of setting dependent (and not Y2K compatible)
      CTOD()
2012-10-14 20:53:59 +00:00
Viktor Szakats
6ae6c60b2f 2012-10-12 17:25 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbmysql/utils/dbf2mysq.prg
    * formatting. for some reason hbformat misses to
      uppercase one specific FOR/NEXT loop.

  * contrib/hbnf/menu1.prg
  * contrib/hbnf/pegs.prg
  * contrib/hbnf/vertmenu.prg
  * extras/gtwvw/tests/prog0.prg
  * extras/gtwvw/tests/prog1.prg
  * extras/gtwvw/tests/prog2.prg
  * tests/db_brows.prg
  * tests/onidle.prg
  * tests/scroll.prg
  * tests/testbrw.prg
    % replaced DEVPOS()/DEVOUT() with HB_DISPOUTAT()/SETPOS()
      calls

  * include/harbour.hbx
  * contrib/hbnf/aredit.prg
  * contrib/hbnf/tbwhile.prg
  * extras/gtwvw/tests/prog0
  * extras/gtwvw/tests/prog1
  * extras/gtwvw/tests/prog2
  * extras/gtwvw/tests/wvwtest9
  * tests/brwpos.prg
  * tests/tb1.prg
  * tests/testbrw.prg
    ! fixed some function names wrongly camelcased

  * src/rtl/profiler.prg
    * formatted
    + added parameter list to METHOD declarations

  * tests/testprof.prg
    * replaced with copy embedded in src/rtl/profiler.prg
    * formatted

  * tests/wcecon.prg
    ! unicode fix
2012-10-12 15:26:58 +00:00
Viktor Szakats
bc745c3b75 2012-10-07 22:49 UTC+0200 Viktor Szakats (vszakats syenar.net)
* contrib/hbhttpd/readme.txt
  * doc/dirstruc.txt
  * doc/xhb-diff.txt
  * include/hbapi.h
  * INSTALL
  * NEWS
  * src/common/hbver.c
  * src/main/harbour.c
  * src/pp/hbpp.c
  * src/rtl/version.c
  * src/vm/cmdarg.c
    * Avoiding the word "SVN" (use 'source repository',
      'repository' or 'repo' for short)
    * Added new names that don't refer to SVN:
      C level:
      - hb_verRevision()           (was: hb_verSvnID())
      - hb_verChangeLogID()        (was: hb_verSvnChangeLogID())
      - hb_verChangeLogLastEntry() (was: hb_verSvnLastEntry())
      .prg level:
      - HB_VER_REVID built-in macro (was: HB_VER_SVNID)
    ; Old functions/macros will be deleted after next major
      revision, start using the new names until then.
2012-10-07 20:54:02 +00:00
Przemyslaw Czerpak
d4f903942a 2012-10-07 14:40 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbcomp.h
  * harbour/src/compiler/hbmain.c
  * harbour/src/compiler/hbstripl.c
    % eliminate repeated HB_P_LINE pcodes bound by unconditional jump
      This optimization is not enabled when debug mode (-b) is used.

  * harbour/include/hberrors.h
  * harbour/src/compiler/hbgenerr.c
  * harbour/src/compiler/harbour.y
  * harbour/src/compiler/harbour.yyc
    + added new compile time error: "Duplicate case value"
2012-10-07 12:41:26 +00:00
Viktor Szakats
6176bff43f 2012-10-04 02:11 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbct/doc/en/dattime3.txt
  * contrib/hbfbird/readme.txt
  * contrib/hbnf/color2n.c
  * contrib/hbziparc/doc/en/hbziparc.txt
  * doc/en/idle.txt
  * doc/gtapi.txt
  * doc/howtosvn.txt
  * extras/httpsrv/uhttpd.prg
  * src/lang/es.c
  * tests/flink.prg
    * reviewed platform specific parts a minor corrections made.

  * include/hbcompdf.h
    % deleted HB_LANG_OBJ32 enum
2012-10-04 00:13:27 +00:00
Viktor Szakats
86a0b18c71 2012-10-04 01:04 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/harbour.hbx
  * src/rtl/hbdoc.prg
  * tests/hbdoctst.prg
    + added __hbdoc_DirLastModified( <cDir> ) -> <tLastModified>
      function that returns last modification timestamp for a
      given NF doc root directory. It returns empty date if the 
      directory doesn't exist or is empty.
      It can be used to decide whether to update .hbd files f.e. 
      in an hbmk2 plugin that builds .hbd files automatically.
2012-10-03 23:07:48 +00:00
Przemyslaw Czerpak
2f2cd60a56 2012-10-03 11:15 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbapifs.h
  * harbour/src/rtl/filesys.c
    + added two new C functions:
         HB_BOOL hb_fsGetCWD( char * pszBuffer, HB_SIZE nSize );
         HB_BOOL hb_fsSetCWD( const char * pszDirName );
    * synced some parameters names with declarations in header

  * harbour/src/rtl/hbfilehi.prg
  * harbour/src/rtl/philes.c
    * rewritten HB_CWD() function in C
    ! fixed to HB_CWD() work with UNC path in MS-Windows and other
      systems using drive letters
    + added support for setting new working directory (and drive)
      by HB_CWD( <cNewWD> )
2012-10-03 09:16:06 +00:00
Viktor Szakats
450a2e891e 2012-10-01 22:23 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/box.ch
  * include/button.ch
    + added Unicode compatible macros for drawing strings

  * contrib/hbmisc/hbedit.prg
  * contrib/hbmisc/stringp.prg
  * contrib/hbmisc/twirler.prg
  * contrib/hbmisc/hbmisc.hbx
    * formatted using hbformat and manually
    * DEFAULT() made STATIC. It was colliding with xhb
      after latest changes. INCOMPATIBLE. Use HB_DEFAULT()
      instead.
    ! DEFAULT() fixed using != on strings
2012-10-01 20:24:50 +00:00
Viktor Szakats
fca19513ca 2012-10-01 19:13 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/harbour.hbx
  * src/rtl/Makefile
  + src/rtl/cdpbox.prg
    + added HB_UTF8TOSTRBOX( <cUTF8String> ) -> <cStringEncodedIn_GT_BOXCP>
      It's needed because HB_UTF8TOSTR() will convert to main CP,
      but box drawing CP can be setup differently with HB_GTI_BOXCP,
      that function call will take that into account.

  * contrib/hbnf/aredit.prg
  * contrib/hbnf/clrsel.prg
  * contrib/hbnf/dispmsg.prg
  * contrib/hbnf/menu1.prg
  * contrib/hbnf/pegs.prg
  * contrib/hbnf/pickday.prg
  * contrib/hbnf/popadder.prg
  * contrib/hbnf/tbwhile.prg
  * contrib/hbnf/vertmenu.prg
  * tests/db_brows.prg
  * tests/gtchars.prg
  * tests/testbrw.prg
  * extras/gtwvw/tests/prog0.prg
  * extras/gtwvw/tests/prog1.prg
  * extras/gtwvw/tests/prog2.prg
    ! fixed drawing chars to display properly regardless of HB_GTI_BOXCP
      setting.
    ! some related minor fixes

  * tests/tb1.prg
    ! fixed to compile and build using Clipper after recent 
      UTF8 compatibility updates (not tested though)

  ; TOFIX: Pad*() function handle 3rd parameter as binary string,
           so it doesn't work properly in UTF8 mode.
2012-10-01 17:15:48 +00:00
Viktor Szakats
f16b5cf107 2012-09-30 12:15 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/harbour.hbx
  * src/rtl/Makefile
  + src/rtl/savebuff.prg
    + added few helper functions to work on savescreen buffers
      __XSaveGetChar( <cSaveScreen>, <nPos> ) -> <cChar>
      __XSaveGetColor( <cSaveScreen>, <nPos> ) -> <nColor>
      __XSaveGetAttr( <cSaveScreen>, <nPos> ) -> <nAttr>

  * contrib/hbnf/datecnfg.prg
    % minor optimization
    ! fixed to not use != on string

  * contrib/hbnf/dispmsg.prg
    % deleted unnecessary header

  * contrib/hbnf/ftround.prg
    * formatting

  * contrib/hbnf/popadder.prg
    ! fixed parts that directly manipulated savescreen buffers
    ! use HB_SHADOW() instead of locally rolled solutions that
      manipulates savescreen buffers

  * contrib/hbnf/tests/aredit.prg
  * contrib/hbnf/tests/calendar.prg
  * contrib/hbnf/tests/clrsel.prg
  * contrib/hbnf/tests/d2e.prg
  * contrib/hbnf/tests/dispmsg.prg
  * contrib/hbnf/tests/menu1.prg
  * contrib/hbnf/tests/popadder.prg
    ! fixed missing headers
2012-09-30 10:17:43 +00:00
Viktor Szakats
cc825da61a 2012-09-30 00:41 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/button.ch
    * changed file mime-type to UTF8
    + added UTF8 equivalent of CP437 encoded CHR() calls
      in comments.
2012-09-29 22:42:26 +00:00
Viktor Szakats
daf086733d 2012-09-28 18:17 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/box.ch
  * src/rtl/browse.prg
  * src/rtl/radiogrp.prg
  * src/rtl/checkbox.prg
  * src/rtl/dbedit.prg
  * src/rtl/listbox.prg
  * src/rtl/scrollbr.prg
  * src/rtl/tmenuitm.prg
    * changed file mime-type to UTF8
    + added UTF8 equivalent of CP437 encoded CHR() calls
      in comments.
    + use box.ch in radiogrp instead of locally defining 
      the same strings
2012-09-28 16:22:54 +00:00