Commit Graph

18222 Commits

Author SHA1 Message Date
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
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
471223897b 2012-11-20 11:02 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/ChangeLog
    ! restored ChangeLog entry removed by my script in last commit,
      sorry and thanks to Viktor for the info.
    ! cleaned some c&p typos in my last chglog entry
2012-11-20 10:02:53 +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
8aa4ff9d39 2012-11-20 04:09 UTC+0100 Viktor Szakats (harbour syenar.net)
* ChangeLog
    ! fixed name in recent entries. and configured hbcommit.hb
      locally in yet another env.
2012-11-20 03:11:04 +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
d6f541097f 2012-11-20 02:18 UTC+0100 Firstname Lastname (me domain.net)
* ChangeLog
  * doc/howtorep.txt
    * minors to prev
2012-11-20 01:20:06 +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
e6cac4e8a3 2012-11-18 13:27 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbodbc/hbodbc.hbx
  * contrib/hbodbc/odbc.c
    - Deleted SQLBINDPARAMETER(). Thus resolving the TOFIX,
      and after reading more about this function, it serves
      to bind stmt parameter to C memory buffers, where those
      bindings remain active for the lifetime of the stmt or
      the next call to this function. Such behavior is not so
      much useful for high level languages, and it'd be quite
      complicated to solve (f.e. by keeping an array or hash
      around, attached to the stmt handle) compared to what 
      it offers. Anyways, if someone feels like giving it a 
      go, pls do.
2012-11-18 12:33:09 +00:00