Commit Graph

18230 Commits

Author SHA1 Message Date
Viktor Szakats
c34a2948ed 2012-11-26 14:43 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/xhb/xhberr.prg
    % optimized hb_macroBlock() calls to __dynsN2Sym() calls.
      Thanks Przemek for the tip.

  * src/rdd/hbsix/sxcompat.prg
    % sx_VFGet(): restored macro evaluation, for speed
2012-11-26 13:47:38 +00:00
Viktor Szakats
5b5f79db68 2012-11-26 12:20 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbwin/hbwin.ch
    ! added HB_ prefix to win defines

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  * contrib/hbnf/calendar.prg
    * minor cleanups

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

  * utils/hbmk2/hbmk2.prg
    * minor cleanup to prev
2012-11-23 02:09:33 +00:00
Viktor Szakats
61a4e1ca92 2012-11-22 19:16 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbsqlit3/core.c
    ! fixed sqlite_prepare() to convert strings to UTF-8
      Patch by Marcelo Faria. Many thanks.
2012-11-22 18:17:31 +00:00
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
92b2af9bba 2012-11-22 18:46 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbct/doc/en/atadjust.txt
  * contrib/hbct/doc/en/color.txt
  * contrib/hbct/doc/en/count.txt
  * contrib/hbct/doc/en/ct.txt
  * contrib/hbct/doc/en/ctc.txt
  * contrib/hbct/doc/en/ctmath.txt
  * contrib/hbct/doc/en/ctstr.txt
  * contrib/hbct/doc/en/datetime.txt
  * contrib/hbct/doc/en/dattime2.txt
  * contrib/hbct/doc/en/dattime3.txt
  * contrib/hbct/doc/en/exponent.txt
  * contrib/hbct/doc/en/trig.txt
  * contrib/hbgt/doc/en/hbgt.txt
  * contrib/hbmisc/doc/en/ht_class.txt
  * contrib/rddads/doc/en/adsfuncs.txt
  * doc/en/command.txt
  * doc/en/dbdelim.txt
  * doc/en/dbsdf.txt
  * doc/en/dbstrux.txt
  * doc/en/eval.txt
  * doc/en/file.txt
  * doc/en/hashes.txt
  * doc/en/hbinet.txt
  * doc/en/hvm.txt
  * doc/en/lang.txt
  * doc/en/memo.txt
  * doc/en/memvar.txt
  * doc/en/misc.txt
  * doc/en/rddmisc.txt
  * doc/en/rddord.txt
  * doc/en/sayget.txt
  * doc/en/set.txt
  * doc/en/string.txt
  * doc/en/tbrowse.txt
  * doc/en/terminal.txt
  * doc/en/var.txt
    % cleaned $TESTS$ doc sections
2012-11-22 17:49:34 +00:00
Przemyslaw Czerpak
d3b17faf0e 2012-11-22 18:09 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/contrib/hbwin/hbwin.hbx
  * harbour/contrib/hbwin/wapi_winbase.c
    + added new function:
      wapi_GetVolumeInformation( <cRootPath>, @<cVolumeName>, @<nSerial>,
                                 @<nMaxComponentLength>, @<nFileSystemFlags>,
                                 @<cFileSystemName> ) -> <lSuccess>
2012-11-22 17:09:31 +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
43399132a7 2012-11-22 16:55 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + added support for .hbc autofind in contrib and addons 
      dir, even if the .hbc names isn't the same as the 
      contrib name. This can be used to autofind secondary 
      supplementary or alternative .hbc files automatically 
      on all platforms.

  * contrib/hbwin/tests/olesrv1.hbp
  * contrib/hbwin/tests/olesrv2.hbp
  * contrib/hbwin/tests/olesrv3.hbp
  * contrib/hbwin/tests/olesrv4.hbp
    % deleted relative paths from .hbc references to 
      supplementary .hbc file. They will now be autofound.
2012-11-22 15:57:32 +00:00
Viktor Szakats
79613d440a 2012-11-22 16:34 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbwin/tests/olesrv1.hbp
  * contrib/hbwin/tests/olesrv2.hbp
  * contrib/hbwin/tests/olesrv3.hbp
  * contrib/hbwin/tests/olesrv4.hbp
    ! fixed references to hbolsrv.hbc that went wrong
      in 2012-03-03 15:33 UTC+0100. These cannot be autofound
      yet, so relative dir reference is required.
2012-11-22 15:36:31 +00:00
Alexey Myronenko
6e9277e273 2012-11-22 16:20 UTC+0200 Alexey Myronenko (m.oleksa/at/ukr.net)
* doc/en/string.txt
    * doc corrected for hb_RAt() and RAt()
    + section $TESTS$ for hb_RAt() added
2012-11-22 14:24:29 +00:00
Viktor Szakats
b12cca9f02 2012-11-22 13:07 UTC+0100 Viktor Szakats (harbour syenar.net)
- extras/gtwvw/tests/wvwtest9.hbp
  - extras/gtwvw/tests/wvwtest9.mft
  - extras/gtwvw/tests/wvwtest9.rc
    % deleted manifest that seems unnecessary
2012-11-22 12:08:15 +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
2d7bdce204 2012-11-21 19:52 UTC+0100 Viktor Szakats (harbour syenar.net)
* website/index.html
    ! corrected link to .7z nightly package.
      Thanks to M. Ronaldo for report.
2012-11-21 18:53:37 +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
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
66e541e8ae 2012-11-21 15:36 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbwin/win_regc.c
    % merged UNICODE/non-UNICODE branch by using sizeof().
      Checkme.

  * contrib/hbzebra/datamtrx.c
    * minor formatting

  * contrib/xhb/freadlin.c
    * deleted excessive ()
2012-11-21 14:37:40 +00:00
Viktor Szakats
91f4eceed8 2012-11-21 15:05 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbzebra/code128.c
  * contrib/hbzebra/pdf417.c
    * for(); -> 
      for()
         ;

  * package/winuni/RELNOTES
    * FreeImage updated version
2012-11-21 14:06:16 +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
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
8c2f741334 2012-11-21 03:35 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbtip/mail.prg
    ! fixed regression in r18462 where casing of class name 
      in a string got accidentally converted to natural.
      Many thanks to Itamar Lins for the find.
2012-11-21 02:42:24 +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
Viktor Szakats
b6f1b15455 2012-11-20 23:45 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/gtwvg/wvgutils.c
    ! fixed to use HB_OS_WIN_CE macro to detect WinCE, not
      some the arbitrary __WINCE__
    ! fixed functions unsupported on WinCE to return the
      same type when as on Windows
2012-11-20 22:48:32 +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
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
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
Viktor Szakats
6367987565 2012-11-20 16:32 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbct/tests/*.prg
  * contrib/hbnetio/tests/*.prg
  * contrib/hbwin/tests/dlg.prg
  * contrib/hbwin/tests/oletst1.prg
  * contrib/hbwin/tests/oletst2.prg
  * contrib/hbwin/tests/oletst3.prg
  * contrib/hbwin/tests/oletst4.prg
  * contrib/hbwin/tests/pdfcreat.prg
  * contrib/hbwin/tests/testdir.prg
  * contrib/hbwin/tests/testole.prg
  * contrib/hbwin/tests/testprn2.prg
  * contrib/hbwin/tests/testprn3.prg
  * contrib/hbwin/tests/testprn4.prg
  * contrib/hbwin/tests/testrpc.prg
  * contrib/hbwin/tests/testwmtx.prg
    + added #require directives
      (only needed when hbrun doesn't have these loaded
      by default)
    ! hbct tests now allow again to run under Clipper
2012-11-20 15:39:43 +00:00
Viktor Szakats
d5b8921e96 2012-11-20 12:57 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbtpathy/hbtpathy.hbp
  * contrib/hbtpathy/telepath.prg
  + contrib/hbtpathy/tp_idle.prg
    ! TP_IDLE() moved to a separate source file to
      make it possible to override it from user code.
      This function is documented as a callback.
2012-11-20 11:59:18 +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