Commit Graph

1543 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
Przemyslaw Czerpak
ef950a4a13 2012-11-22 17:16 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/dbedit.prg
    ! fixed infinite loop introduced in my recent modification
2012-11-22 16:17:34 +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
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
Przemyslaw Czerpak
7c97a3ea8b 2012-11-21 19:06 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/vm/cmdarg.c
    ! fixed GetModuleFileName() usage
2012-11-21 18:07:48 +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
555b341fa2 2012-11-21 16:20 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbsqlit3/core.c
  * contrib/rddsql/sqlbase.c
  * extras/gtwvw/gtwvwd.c
  * src/rtl/gtsln/mousesln.c
  * src/vm/classes.c
    * deleted excessive ';' line closing operators
2012-11-21 15:22:24 +00:00
Viktor Szakats
0329bd5d94 2012-11-21 13:12 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/common/hbver.c
  * src/compiler/hbpcode.c
  * src/pp/hbpp.c
  * src/pp/ppcore.c
  * src/rdd/dbf1.c
  * src/rdd/dbfcdx/dbfcdx1.c
  * src/rdd/wafunc.c
  * src/rtl/gttrm/gttrm.c
  * src/rtl/mlcfunc.c
  * src/vm/hvm.c
  * src/vm/itemapi.c
    * cleaned empty loops to be:
       for( ... )
          ;
      or
       while( ... )
          ;
      Please use this from now on. It's also what uncrsustify will 
      do and it's well greppable and readble.
      (I didn't change yet where ';' is in the same line as while() 
      and for(), and will let uncrustify do this in a future pass)

  * contrib/hbmisc/spd.c
    * minor
2012-11-21 12:15:44 +00:00
Viktor Szakats
9c50617dbe 2012-11-21 01:07 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + implemented theoretically correct solution to extract
      linker output _while_ displaying it. It means that
      missing function hinting feature doesn't require
      a second pass to the linker anymore.
    ; Please test on all platforms.
    ; For those two people interested, it will create output like this:
      ---
      hbmk2: Hint: Add option 'hbct.hbc' for missing function(s): CharMirr()
      hbmk2: Hint: Add option 'hbusb.hbc' for missing function(s): libusb_exit()
      hbmk2: Hint: Add option 'hbsms.hbc' for missing function(s): smsctx_PIN()
      hbmk2: Error: Referenced, missing, but unknown function(s): NOTANYWHERE()
      ---

  * extras/httpsrv/uhttpd.prg
    ! fixed some code for unicode
    % fixed to not call FCLOSE() on a HB_PROCESSOPEN() handle
    * use F_ERROR instead of -1 literal
    * commented code converted to #if 0/#endif guarded one

  * src/rtl/hbprocfn.c
    * formatting

  * tests/fixcase.hb
    * new extension exceptions
2012-11-21 00:16:52 +00:00
Viktor Szakats
ba3ed238e1 2012-11-21 00:14 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/gtwvg/gtwgud.c
  * contrib/gtwvg/gtwvgd.c
  * contrib/gtwvg/wvgcore.c
  * contrib/gtwvg/wvgcuig.c
  * contrib/gtwvg/wvgutils.c
  * contrib/gtwvg/wvgwin.c
  * contrib/gtwvg/wvgwing.c
  * src/rtl/gtwvt/gtwvt.c
    % deleted extraneous {} block operators
2012-11-20 23:15:36 +00:00
Przemyslaw Czerpak
7c2af71ff9 2012-11-20 17:44 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/vm/cmdarg.c
    ! fixed buffer overflow
    ! added protection against GPF if hb_cmdargBaseProgName() is called
      and there are no parameters initialized
    * use macros to allocate system memory in MS-Windows builds

  * harbour/src/vm/fm.c
    * changed s_fInitedFM initialization when memory statistic is enabled
      to avoid infinite recursion and GPF is some initialization function
      tries to allocate memory
2012-11-20 16:44:28 +00:00
Przemyslaw Czerpak
fb225be171 2012-11-20 11:59 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/vm/cmdarg.c
    ! fixed typo in my previous commit
2012-11-20 10:59:34 +00:00
Viktor Szakats
735a76584d 2012-11-20 11:46 UTC+0100 Viktor Szakats (harbour syenar.net)
* tests/fixcase.hb
    * some binaries excluded

  * src/rtl/dbedit.prg
  * src/rtl/getsys.prg
  * src/rtl/tgetlist.prg
    ! fixcase fixes

  * src/vm/cmdarg.c
    ! double ';'
    ! uncrustify fixes
2012-11-20 10:48:25 +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
f867f7349a 2012-11-20 03:08 UTC+0100 Firstname Lastname (me domain.net)
* contrib/hbgd/gdwrp.c
    * minor cleanup

  * src/rtl/gtsln/Makefile
    * reverted prev for inclusion in gtsln.h itself
2012-11-20 02:09:32 +00:00
Viktor Szakats
fcb0529a28 2012-11-20 02:09 UTC+0100 Firstname Lastname (me domain.net)
* bin/commit.hb
    ! fixed for *nix systems

  * contrib/hbodbc/tests/testodbc.prg
    + added test for double opening

  * ChangeLog
    % moved copyright notice to end of file
    + added change markup quick reference to header

  * doc/howtorep.txt
    * synced wording with above

  * extras/hbxlsxml/tests/example.prg
    * do not use WITH OBJECT in its current form

  * src/rtl/gtsln/Makefile
    + added option needed for AIX. Reported by Luiz.

  * utils/hbmk2/hbmk2.prg
    * minor change in wording in help
    + added help note about incompatibility of Clipper binary objects/libs

  * tests/fixcase.hb
    % one exception removed
    + some others documented

  * contrib/gtwvg/tests/_activex.prg
  * contrib/gtwvg/tests/_tbrowse.prg
  * contrib/gtwvg/tests/_utils.prg
  * contrib/gtwvg/tests/demowvg.prg
  * contrib/gtwvg/tests/demowvg1.prg
  * contrib/xhb/trpccli.prg
  * utils/hbtest/rt_math.prg
    * rerun after removing one exception permanently,
      another temporarily.
2012-11-20 01:15:47 +00:00
Viktor Szakats
ceb5386de5 2012-11-18 12:46 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/pp/ppcore.c
  * src/pp/pplib.c
    * some uncrustify formattings applied

  * tests/testbrw.prg
  * website/samples/testbrw.prg.html
    * cleanup

  * website/menu/harbour-menu.js
    ! fixed menu links to work when used under a subdir

  * website/samples/array16.prg.html
  * website/samples/arreval.prg.html
  * website/samples/begin.prg.html
  * website/samples/byref.prg.html
  * website/samples/codebl.prg.html
  * website/samples/codebloc.prg.html
  * website/samples/dates3.prg.html
  * website/samples/foreach.prg.html
  * website/samples/hello.prg.html
  * website/samples/initexit.prg.html
  * website/samples/longdev.prg.html
  * website/samples/mousetst.prg.html
  * website/samples/onidle.prg.html
  * website/samples/osshell.prg.html
  * website/samples/parseini.prg.html
  * website/samples/switch.prg.html
  * website/samples/testbrdb.prg.html
  * website/samples/testbrw.prg.html
  * website/samples/testhtml.prg.html
  * website/samples/testidle.prg.html
  * website/samples/tstmacro.prg.html
    * enabled light mode to disable gutter, so now
      the code can be copy pasted easily
2012-11-18 11:51:17 +00:00
Viktor Szakats
87f6974b74 2012-11-18 02:02 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbgd/tests/test_out.prg
  * contrib/hbmisc/spd.c
  * contrib/hbmysql/diff-en.txt
  * contrib/hbmysql/diff-es.txt
  * contrib/hbmysql/tmysql.prg
  * contrib/hbnf/tests/datecnfg.prg
  * contrib/xhb/decode.prg
  * contrib/xhb/hbcomprs.prg
  * contrib/xhb/hbcrypt.c
  * contrib/xhb/hblog.prg
  * contrib/xhb/hblognet.prg
  * extras/gfspell/spellc.c
  * src/rdd/usrrdd/rdds/arrayrdd.prg
  * src/rdd/wacore.c
  * tests/server.prg
  * tests/switch.prg
  * tests/testrdd2.prg
  * website/samples/switch.prg.html
    * misc cleanups
2012-11-18 01:03:38 +00:00
Viktor Szakats
e9ca3f1b80 2012-11-17 19:55 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rtl/hbjson.c
    ! applied patch supplied by Oscar Hernandez Suarez
      in sf.net #3587899. Test code at
        https://groups.google.com/d/topic/harbour-devel/CyLxxmmJZRY/discussion
    ! fixed formatting
    ; Mindaugas, please review it.
2012-11-17 18:59:04 +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
Viktor Szakats
8138c588af 2012-11-16 14:01 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rtl/gtwvt/gtwvt.c
  * src/rtl/gtwvt/gtwvt.h
    ! made gfx drawing functions work again by disabling
      compositing on the first drawing call

  * contrib/hbodbc/hbodbc.hbp
    + enabled automatic MM after Przemek's changes.
      For me however, both odbcdemo.prg and testodbc.prg
      GPFs on exit. Maybe it's related to SQLDisconnect() 
      calls?

  * contrib/hbodbc/odbc.c
    ! SQLALLOCENV() after my prev change to use ODBC 3 APIs
      to call some weird API to avoid an error.

  * contrib/hbodbc/tests/testodbc.prg
  * contrib/hbodbc/todbc.prg
    * disabled manual memory management hacks on
      prg level

  * contrib/rddsql/hbrddsql.h
  * contrib/sddfb/sddfb.c
    ! uncrustified

  * doc/howtorep.txt
    + added reference to commit.hb

  * contrib/gtwvg/class.prg
  * contrib/gtwvg/gtwvg.hbx
  * contrib/gtwvg/menubar.prg
  * contrib/gtwvg/paint.prg
  * contrib/gtwvg/syswnd.prg
    ! fixed few casing and where it was used

  * extras/gtwvw/gtwvw.hbx
  * extras/gtwvw/wvt2wvw.ch
    ! fixed few casing and where it was used

  * contrib/hbgd/gd.ch
    * minor
2012-11-16 13:07:22 +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
9d85da054a 2012-11-15 13:02 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbformat/hbfmtcls.prg
    + added new TODO to add space between '!'
      operator and single (= not parenthesised) arguments.

  * contrib/hbfimage/fi_wrp.c
    * minor

  * contrib/hbodbc/odbc.c
    ! fixed to build under ODBC 1.x, 2.x
    ! fixed to use ODBC 3.x functions instead of 
      deprecated functions.
    * minor cleanups to prev

  * contrib/sddodbc/sddodbc.c
    ! fixed to build under ODBC 1.x, 2.x

  * README
    + added note that hbrun scripts are started 
      in UTF-8 mode.
    + added command lines for formatting C and PRG sources
    * minor cleanups

  * contrib/hbnf/doc/en/cint86.txt
  * contrib/hbnf/ftmenuto.ch
  * contrib/xhb/html.ch
  * contrib/xhb/htmlform.ch
  * extras/gtwvw/docs/funclist.txt
  * extras/gtwvw/docs/gtwvw.txt
  * extras/gtwvw/docs/whatsnew.txt
  * extras/gtwvw/gtwvwd.c
  * extras/gtwvw/tests/ebtest7.prg
  * extras/gtwvw/tests/prog0.prg
  * extras/gtwvw/tests/prog1.prg
  * extras/gtwvw/tests/prog2.prg
  * extras/gtwvw/tests/wvwtest9.prg
  * src/rtl/achoice.prg
  * src/vm/thread.c
  * website/samples/testcgi.prg.html
  * website/samples/testhtml.prg.html
  * website/third-party.html
    * lowercased (or deleted) references to
      source filenames.
2012-11-15 12:08:55 +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
60f5dfecfb 2012-11-14 03:11 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rtl/hbdef.c
    ! HB_DEFAULT(): consider date and timestamp types
      interchangable.
    % HB_DEFAULT(): applied optimization from Przemek,
      so now a hb_pcount() call is saved.
2012-11-14 02:15:23 +00:00
Viktor Szakats
8cde45726e 2012-11-14 00:46 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbodbc/hbodbc.hbp
  * contrib/hbodbc/odbc.c
  * contrib/hbodbc/todbc.prg
  * contrib/hbodbc/tests/odbccall.prg
  * contrib/hbodbc/tests/odbcdemo.prg
  * contrib/hbodbc/tests/testodbc.prg
    + implemented typed pointers. Automatic memory
      management is not enabled yet, as it suffers
      from the same problem in its current form as
      f.e. HBQT. I hope someone can solve this,
      maybe it could be a good and simple example
      for how to solve such problems in general.
      Memory management code is guarded with
         _HBODBC_AUTO_MM_
      both on .prg and .c level. Also in test code.
    % cleanups to TODBC() class to not use a temp
      variable to pass object vars by reference
    * other minor .prg level cleanups

  * src/rtl/hbdef.c
    ! fixed HB_DEFAULT() to use high-level Harbour types
      for type comparison, so f.e. memo and string types
      are considered the same, just like float, integer, long
      subtypes of numerics. Many thanks to
      Francesco (Saverio Giudice) for the report.
2012-11-13 23:59:18 +00:00
Viktor Szakats
2aa3c558ce 2012-11-13 03:03 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbfimage/fi_winfu.c
    * missed to include it in one of the recent entries:
      FI_LOADFROMMEM() has been renamed to FI_LOADFROMMEMORY()
      to be in sync with original FreeImage function name.
      Update your apps accordingly. INCOMPATIBLE.

  * contrib/hbfimage/tests/fitest.prg
    ! synced with above lib change

  * contrib/hbfimage/fi_winfu.c
  * contrib/hbfimage/fi_wrp.c
  * contrib/hbgd/gdwrp.c
  * contrib/hbgd/gd.prg
    * deleted excessive {} and () operators
    * eliminated split lines where only one char was present in a line
    % replaced RTE generator calls to more compact ones
    % dropped pcount() checks where HB_IS*() checks were
      present anyway
    * merged separate var declarations and initializations in
      wrapper code
    % eliminated local variables where it didn't make code
      less obvious
    % adujsted a few var scopes
    * deleted repetitive comments
    % protected hb_parcx() calls changed to hb_parc()
    ! GDIMAGESTRING(), GDIMAGESTRINGUP(), GDIMAGECHAR(), GDIMAGECHARUP()
      fixed for 1 character long strings. Code tried to retrieve a character
      by using hb_parni() which (purposefully) isn't supported in Harbour.
      The current effect is the same, with negligibly performance
      loss for one long strings.
    % GDIMAGECHAR(), GDIMAGECHARUP() now use C level forwarder.
    % using hb_parnintdef()
    ! fixed typo in RTE message
    % using hb_default() in gd.prg
    % number of LOC, source size (-24KB) and generated binary
      code greatly reduced by the above.

  * src/rtl/tclass.prg
  * src/rtl/tobject.prg
    * commented code changed to #if 0 blocks
    ! some commented code fixed
    * some obsolete comments deleted

  * utils/hbmk2/hbmk2.prg
    + added following options to .hbc files:
        keywords=
        licenses=
        repository=
      all only informational, they do nothing ATM.
2012-11-13 02:04:22 +00:00
Pritpal Bedi
aa9f9e3569 2012-11-10 18:32 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* src/rtl/rat.c
    % Small optimization.
2012-11-11 02:48:06 +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
fdb068c66a 2012-11-09 20:49 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbpgsql/postgres.c
    ! added missing cast causing warning in msvc C mode
      present since 2010-11-21 20:42 UTC+0100

  * contrib/hbct/token2.c
  * src/compiler/harbour.y
  * src/compiler/harbour.yyc
    * deleted unncessary casts
2012-11-09 19:51:37 +00:00
Viktor Szakats
ed422e9606 2012-11-09 19:53 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rtl/hbgtcore.c
    ! indentation to prev

  * src/rtl/sha1.c
    % removed unnecessary parenthesis
2012-11-09 18:54:36 +00:00
Viktor Szakats
829d9ab965 2012-11-09 19:31 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/common/hbprintf.c
  * src/common/hbtrace.c
  * src/compiler/harbour.y
  * src/compiler/hbcmplib.c
  * src/compiler/hbmain.c
  * src/macro/macro.y
  * src/macro/macrolex.c
  * src/pp/ppcore.c
  * src/rdd/dbcmd.c
  * src/rdd/dbffpt/dbffpt1.c
  * src/rdd/hsx/hsx.c
  * src/rtl/cdpapi.c
  * src/rtl/dates.c
  * src/rtl/filebuf.c
  * src/rtl/hbcom.c
  * src/rtl/hbgtcore.c
  * src/rtl/hbi18n1.c
  * src/rtl/hbjson.c
  * src/rtl/hbsocket.c
  * src/rtl/hbstrfmt.c
  * src/rtl/hbznet.c
  * src/vm/classes.c
  * src/vm/fm.c
  * src/vm/hvm.c
  * src/vm/itemapi.c
  * src/vm/macro.c
  * src/vm/set.c
    * applied some non-space formattings and changes 
      to make it format better using uncrustify
2012-11-09 18:39:45 +00:00
Viktor Szakats
6b54d5e45d 2012-11-09 13:08 UTC+0100 Viktor Szakats (vszakats syenar.net)
* contrib/xhb/hbcompat.ch
  * contrib/xhb/htmutil.prg
  * contrib/xhb/stream.prg
  * contrib/xhb/tedit.prg
  * contrib/xhb/tfile.prg
  * contrib/xhb/tframe.prg
  * contrib/xhb/thtm.prg
  * contrib/xhb/trpc.prg
  * contrib/xhb/ttable.prg
  * contrib/xhb/xcstr.prg
  * contrib/xhb/xdbmodst.prg
  * contrib/xhb/xthrow.c
  * extras/httpsrv/modules/cookie.prg
  * extras/httpsrv/modules/info.prg
  * extras/httpsrv/modules/showcounter.prg
  * extras/httpsrv/modules/tableservletdb.prg
  * src/rdd/usrrdd/rdds/arrayrdd.prg
    * cleanups
2012-11-09 12:09:56 +00:00
Viktor Szakats
c429cc56e3 2012-11-09 02:06 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/xhb/xhw32prn.prg
    * missed from prev

  * INSTALL
    * minor

  * src/rtl/base64d.c
    * uncrustify full
2012-11-09 01:09:17 +00:00
Przemyslaw Czerpak
3cba05eca5 2012-11-08 14:59 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/rat.c
    ! fixed HB_RAT() to respect end range in the same way as in HB_AT()
    ; Warnings: 1) It's not backward compatible and may change the behavior
                   of some code which expects that ranges are not strictly
                   respected. If someone uses HB_RAT() with 4-th parameter
                   then he should check if above modification interacts with
                   his code. The modification is significant only if 1-st
                   parameter is longer then 1 character.
                2) xHarbour supports in its RAT() function 3-rd and 4-th
                   parameters but their meaning is reverted then in HB_RAT()
                   and they do not have any range checking so they are used
                   in raw form accessing any memory addresses (even out of
                   process memory area generating GPF in such case).
                   It means that also above fix is not respected and may
                   introduce the same incompatibilities in code which tires
                   to use sth like HB_RAT() with reverted 3-rd and 4-th
                   parameters to emulate xHarbour RAT().

  * harbour/src/rtl/rat.c
    % use 4-th parameter of HB_RAT() function instead of creating temporary
      substring from 2-nd parameter.

  * harbour/contrib/hbtinymt/3rd/tinymt/tinymt.hbx
    * regenerated (removed Id header)
2012-11-08 14:01:25 +00:00
Przemyslaw Czerpak
f959e934b9 2012-11-08 10:52 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/rat.c
    ! fixed HB_RAT() used with 3-rd and/or 4-th parameter and multibyte CPs

  * harbour/contrib/hbct/disk.c
    + enabled NUMDISKL() in OpenWatcom DOS builds
    % extract string length in the same STR API call instead of using
      additional hb_parclen()
    * added real protection for buffer overflow in windows version of
      TRUENAME(). I do not know if it's really necessary but without
      the code which allocates one byte bigger buffer does not make
      any sense.
    ; TOFIX: this code still uses HB_TCHAR_*() macros
2012-11-08 09:52:51 +00:00
Viktor Szakats
1706db4ab5 2012-11-07 12:29 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbformat/hbfuncs.prg
  * utils/hbmk2/hbmk2.prg
    % Use HB_DIRSCAN()

  * src/vm/fm.c
    * applied some more uncrustify fixes
2012-11-07 11:30:50 +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