Commit Graph

1119 Commits

Author SHA1 Message Date
Viktor Szakats
1ad759fbb5 2011-06-09 22:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtwvt/gtwvt.h
  * src/rtl/gtwvt/gtwvt.c
  * tests/wvtext.prg
    + Massive GTWVT patch from Heinz V. Bergen. Thank you very much.
      Details:
      - fixed Alt-Enter for full screen, will no longer send the
        K_ENTER to the Input queue.
      - HB_K_RESIZE only sent if the Rows/Cols size actually changed.
      - Clicking Maximize (top right corner) button, will maximize window
        and change to Restore button, then clicking Restore button will
        restore the window to its previous size.
      - Dbl-clicking Title-Bar will maximize, then Dbl-Clicking Title
        bar again will restore.
      - Resizing window when in RESIZEMODE_FONT, will dynamically display
        the resulting size changes in real time.
      - All Maximize / Restore / Sizing works in RESIZEMODE_ROWS as would
        be expected.
      - Windows 7, dragging Window (Title-Bar) to top of screen will maximize,
        then dragging maximized window's Title bar down will Restore
        to previous size.
      - Windows 7, dragging Window (Title-Bar) left or right until mouse
        pointer hits the edge of the screen will size and dock to the left
        or right half of the screen, then dragging title bar away from docked
        position will restore the Window to its previous size.
      - Windows 7, resizing top or bottom until edge of screen hit
        (or dbl-clicking) will resize for maximum height. Then dragging
        title bar away will restore to previous size.
      - Before, depending on monitor's resolution, and when using
        Courier New or Terminal font, maximizing would fail due to Font
        metrics being incompatible with the Window's size or maybe due to
        math issues, I was able to resolve by slightly adjusting the Font's
        width or height down and then trying again until successful.
      - Pressing Alt-Enter (when enabled) for full screen mode and then
        pressing Alt-Enter again will restore Window to previous
        non-maximized size.
      - extended GT test app
    ; Please make test and report any experiences on devel list
2011-06-09 20:51:42 +00:00
Viktor Szakats
66fdcc3bbb 2011-05-16 09:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/harbour.hbx
  * src/vm/runner.c
    + HB_HRBGETFUNLIST() -> <aArray>: New function posted to the
      list by Francesco Saverio Giudice
      (NOTE: I changed the name a little bit)

  * tests/gfx.prg
    ! fixed console output. Patch by Tamas Tevesz
    * changed rest of ? commands to outstd()
2011-05-16 07:34:46 +00:00
Viktor Szakats
0aa41ed480 2011-05-01 22:20 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbtip/tests/upld_ftp.prg
  * contrib/rddads/tests/datad.prg
  * contrib/rddads/tests/testmg.prg
    * function main() -> procedure main() + cleanup

  * contrib/rddads/tests/datad.prg
  * contrib/rddads/tests/testmg.prg
  * contrib/rddads/doc/en/adsfuncs.txt
  * contrib/rddads/doc/en/readme.txt
    * formatted (hbformat, manual)
    * fixes

  * src/rtl/gtxwc/gtxwc.h
  * src/rtl/gtxwc/gtxwc.c
  * src/rtl/hbmd5.c
  * contrib/gtwvg/tests/demowvg.prg
  * contrib/gtwvg/tests/wvgdyndialogs.prg
  * contrib/gtwvg/tests/wvgwvtclasses.prg
  * contrib/hbtip/thtml.prg
  * contrib/hbtip/tests/loadhtml.prg
  * tests/server.prg
  * examples/hbvpdf/hbvpdft.prg
    * Using 'harbour' name in outputs and some comments

  * src/rdd/dbcmd.c
    * typo
2011-05-01 20:22:54 +00:00
Przemyslaw Czerpak
aef9468700 2011-04-14 20:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/thread.c
    * renamed hb_criticalCode() to hb_mutexEval()

  * harbour/src/rtl/cdpapi.c
    * added HB_CODEPAGE_ANNOUNCE( UTF8 ) so user can use
         REQUEST HB_CODEPAGE_UTF8
      in PRG code.

  * harbour/tests/big5_gen.prg
    ; added note about characters mapped to U+FFFD REPLACEMENT CHARACTER
      in BIG5.TXT and iconv mapping for the same characters.
2011-04-14 18:20:18 +00:00
Przemyslaw Czerpak
30a8610407 2011-04-13 11:07 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapicdp.h
  * harbour/include/hbcdpreg.h
  * harbour/src/rtl/cdpapi.c
  * harbour/src/rtl/cdpapihb.c
    + added support for user defined character encoding.
      Now it's possible to easy create and register in HVM CPs using any
      encoding so I expected that users interested in adding support for
      some exotic character encoding will create such mapping instead
      of asking for it.
    % moved support for codepages using multibyte characters mapped to
      single unicode values to user defined encoding - it nicely simplify
      the code and eliminate unnecessary overhead in other CPs.
    * allow to chose UTF8 as HVM CP

  * harbour/src/rtl/idle.c
    ! fixed idle mode flag resetting

  * harbour/src/rdd/hbsix/sxutil.c
    ! fixed SX_SLIMFAST() results when nested quoting with (") and (') is
      used

  + harbour/tests/big5_gen.prg
    + added code to generate C source with conversion tables between
      BIG5 and UCS16 using data defined by Unicode, Inc. in BIG5.TXT

  + harbour/src/codepage/cp_utf8.c
    + added alternative UTF8 Harbour CP (UTF8ASC) as an example Harbour
      user defined codapged using multibyte character encoding

  * harbour/src/codepage/Makefile
  + harbour/src/codepage/cp_u16le.c
    + added Harbour codepage using UTF16 little endian encoding

  * harbour/src/codepage/Makefile
  + harbour/src/codepage/big5.c
  + harbour/src/codepage/cp_big5.c
    + added BIG5 Harbour CP. It can be used with programs using Harbour
      STR API with automatic translations.
    ; This CP needs really big translation tables. I added code which
      makes some very simple compression which reduced raw size from
      176100 bytes to 77354 but it's still large 77KB so maybe we should
      think about moving this CP to other Harbour codpage library which
      is not part of harbour shared library harbour*{.dll|.so|.dyn|...}
      Alternatively I can try to reduce static size to about 30KB and
      then build necessary tables dynamically at runtime when they are
      used first time though in such case I will need additional 177KB
      of dynamic memory instead of 77KB of static memory used by current
      code.
2011-04-13 09:07:47 +00:00
Przemyslaw Czerpak
14777609cf 2011-03-26 03:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbproces.c
    ! fixed one HB_TRUE wrongly used instead of TRUE
    * minor simplification

  * harbour/include/hbgtinfo.ch
  * harbour/src/rtl/hbgtcore.c
    + added HB_GTI_VERSION - it returns version information just like
      hb_gtVersion() - usually the same but can be different in some
      multilevel GTs, i.e. when different GT drivers are used locally
      and remotely.

  * harbour/include/inkey.ch
  * harbour/src/rtl/hbgtcore.c
    + added HB_K_CONNECT and HB_K_DISCONNECT inkey codes.
      They can be used to signal that remote terminal is connected or
      diconnected.

  * harbour/tests/gtkeys.prg
    + added HB_K_* keycodes

  * harbour/contrib/hbnetio/netiosrv.c
    * removed unnecessary casting
2011-03-26 02:32:52 +00:00
Przemyslaw Czerpak
a46f493ab8 2011-03-05 15:41 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbexprb.c
    + enabled o:var += <cString> optimization when -ko switch is used
      I added this optimization few years ago but I haven't enabled it
      so far.

  + harbour/tests/speedstr.prg
    + added test code for <exp> += <cString> optimization
      Try this code compiled with -kc switch (disabled += optimization)
      without any -k? switches (default, += optimized for all expressions
      except <obj>:<msg>) and finally with -ko switch (+= optimized for
      all expressions)
      (Warning for larger string non optimized code begins to be _very_
      slow, i.e. for '#define N_LOOP 1000000' it needs fee minutes to
      pass single test)
2011-03-05 14:41:30 +00:00
Viktor Szakats
0d92423b1c 2011-02-28 21:07 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbgtinfo.ch
  * src/rtl/hbgtcore.c
  * src/rtl/gtdos/gtdos.c
  * src/rtl/gtwin/gtwin.c
  * src/rtl/gtxwc/gtxwc.c
  * src/rtl/gtcrs/gtcrs.c
  * src/rtl/gtstd/gtstd.c
  * src/rtl/gttrm/gttrm.c
  * src/rtl/gtos2/gtos2.c
  * src/rtl/gtsln/gtsln.c
  * src/rtl/gtpca/gtpca.c
  * src/rtl/gtwvt/gtwvt.c
  * contrib/hbct/ctwin.c
  * contrib/gtwvg/gtwvg.c
  * contrib/gtwvg/wvggui.c
  * contrib/gtalleg/gtalleg.c
  * contrib/hbrun/hbrun.prg
  * tests/wvt_fs.prg
  * examples/gtwvw/gtwvw.c
    * Renamed HB_GTI_FULLSCREEN to HB_GTI_ISSCREENPOS
      HB_GTI_FULLSCREEN is now deprecated and will be deleted in future
      version of Harbour, use the new name instead.
    * Renamed HB_GTI_FULLSCREEN to HB_GTI_ISFULLSCREEN
      in context of GT window being fullscreen on physical display
      recently added in 2011-02-26 20:07 UTC+0100 Viktor Szakats
    ; If someone has further name suggestions, pls tell.

  * src/rtl/hbgtcore.c
    * Setting defaults for HB_GTI_ISFULLSCREEN and HB_GTI_ALTENTER.
2011-02-28 20:09:19 +00:00
Viktor Szakats
a13f7b1c0c 2011-02-26 20:07 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbgtinfo.ch
  * src/rtl/gtwvt/gtwvt.h
  * src/rtl/gtwvt/gtwvt.c
  + tests/wvt_fs.prg
    + Added ability to switch GTWVT screen into fullscreen. See example
      for usage. Patch by Aleksander Czajczynski. Many thanks!
      Pls test.

  * contrib/hbqt/qtcore/hbqt_pointer.cpp
    ! Fixed bug introed in 2011-02-24 18:03 UTC-0800 Pritpal Bedi
      where char array declaration used runtime size value.
      Replaced with hb_strdup(). In previous commit I've also fixed
      an strcpy() usage. strcpy() is strictly forbidden in Harbour
      codebase. Hopefully it fixes MSVC build failure.
2011-02-26 19:09:48 +00:00
Viktor Szakats
989253ba51 2011-02-17 15:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbrun/hbrun.prg
    + Added GTWVT on win builds.

  * src/rtl/gtcrs/gtcrs.c
    ! Typo in comment.

  * src/rtl/errapi.c
    ! Deleted old TOFIX most pbly not relevant anymore.

  * tests/testid.prg
    ! Deleted old TOFIX and formatting.
2011-02-17 14:02:09 +00:00
Viktor Szakats
709be07f83 2011-02-15 09:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbmk2_qt.hbs
    * Whitespace.

  * include/harbour.hbx
  * src/rtl/hbdoc.prg
  * tests/stripdoc.hbs
    * Added __HBDOC_FILTEROUT( <cFile> ) -> <cFile> internal
      function to strip all NG doc content from a file and
      return the stripped file.

  * contrib/hbide/idedocwriter.prg
    + Use core __HBDOC_TOSOURCE() to generate NG doc source.
      (just build tested)
    ; TOFIX: idedocwriter.prg and ideharbourhelp.prg
             still makes direct reference to NG doc physical
             format. Pls change these to use __HBDOC_* functions.
2011-02-15 08:21:47 +00:00
Viktor Szakats
8ac1677385 2011-02-14 01:04 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbdoc.prg
  * tests/hbdocext.prg
  * tests/hbdoctst.prg
    * Using new core filename handling functions instead of local copies.
2011-02-14 00:05:23 +00:00
Viktor Szakats
ffaf84caa2 2011-02-11 13:30 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/base64d.c
    ! Fixed crash when empty or non-string parameter was passed to HB_BASE64DECODE().

  + tests/base64.prg
    + Added base64 test suite. [Tamas]
2011-02-11 12:31:19 +00:00
Viktor Szakats
c7a2b185d6 2011-01-31 15:48 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/dirdrive.c
    + Added HB_DIRCREATE(), which is same as MAKEDIR() C5.3 function,
      but it's always available, not just when HB_COMPAT_C53 is enabled.
    + Added HB_DIRDELETE(), which is same as DIRREMOVE() C5.3 function,
      but it's always available, not just when HB_COMPAT_C53 is enabled.

   * contrib/hbnetio/tests/netiotst.prg
   * contrib/hbnetio/tests/netiot03.prg
   * contrib/hbfimage/tests/fitest.prg
   * contrib/hbide/idesaveload.prg
   * utils/hbmk2/hbmk2.prg
   * utils/hbrun/hbrun.prg
   * tests/wcecon.prg
   * tests/flink.prg
   * bin/hb3rdpat.hbs
   * examples/hbdoc2/gentpl.prg
     * Replaced MakeDir() with universally available hb_DirCreate().
     ; TODO: same in config/postinst.hbs (delayed to avoid a million
             false bug reports)

  * src/rtl/Makefile
  + src/rtl/hbfilehi.prg
    + Added generic file/dir/path handling functions.
      They are taken from hbmk2 code, added parameter checking,
      did two minor change to DirBuild() to be generic,
      renamed to have HB_ prefix.
      Please note the parameter list and any details are
      subject to change yet, IOW these APIs are not yet finalized:

         hb_cwd() -> <cPath>
         hb_PathNormalize( <cPath> ) -> <cPath>
         hb_PathMakeAbsolute( <cPathRel>, <cPathAbs> ) -> <cPath>
         hb_PathMakeRelative( <cPathBase>, <cPathTarget>, <lForceRelative> ) -> <cPath>
         hb_DirAddPathSep( <cDir> ) -> <cDir>
         hb_DirDelPathSep( <cDir> ) -> <cDir>
         hb_DirBuild( <cDir> ) -> <lSuccess>
         hb_DirUnbuild( <cDir> ) -> <lSuccess>
         hb_FNameDirGet( <cFileName> ) -> <cDir>
         hb_FNameNameGet( <cFileName> ) -> <cName>
         hb_FNameNameExtGet( <cFileName> ) -> <cNameExt>
         hb_FNameExtGet( <cFileName> ) -> <cExt>
         hb_FNameExtDef( <cFileName>, <cDefExt> ) -> <cFileName>
         hb_FNameExtSet( <cFileName>, <cExt> ) -> <cFileName>
         hb_FNameDirExtSet( <cFileName>, <cDirNew>, <cExtNew> ) -> <cFileName>

    ; TODO: Review, clean interface.
    ; TODO: Use these functions in .hbs files, utils, hbide.

  * include/harbour.hbx
    * Updated.

  * utils/hbmk2/hbmk2.prg
    * One internal function renamed.
2011-01-31 14:49:20 +00:00
Viktor Szakats
4ae6f89adf 2011-01-11 01:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbformat/hbformat.prg
    ! Fixed to recognize ENDSWITCH.
    + Added vague TOFIX section. F.e. OTHERWISE is also not recognized,
      and increment/decrement statements have space separator added
      between variable name and operator (i ++), same is true for negative
      literals (- 1).
    * Formatting.

  * tests/gfx.prg
    ! Typo in prev modification.
2011-01-11 00:11:51 +00:00
Viktor Szakats
24aad0db7a 2011-01-10 19:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbformat/hbformat.prg
    * Formatting.
    ! Fixed camelcasing of some function names in formatting code.
    % Optimized when forming long string constants.

  * tests/gfx.prg
    ! Fixed -w3 warning.
    * Formatted.
2011-01-10 18:52:41 +00:00
Viktor Szakats
9edef1b7dd 2010-12-10 15:14 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hblzf/tests/test.prg
  * contrib/hblzf/hblzf.c
  * contrib/hblzf/hblzf.hbp
  + contrib/hblzf/hblzf.ch
    * Re-renamed HB_LZF_*() pure wrapper functions to LZF_*().
    % Deleted unnecessary HB_SIZE casts.
    ! Fixed formatting to Harbour standard in new code.
    ! Added HB_ prefix to locally rolled macros.
    + Moved locally rolled macros to separate .ch file.
    ! Fixed test to use hblzf.ch instead of repeating macro definitions.
    ; TOFIX: errno.h. Replace with HB_LZF_* values?

  * tests/wvtext.prg
    ! Fixed -w3 warnings.
2010-12-10 14:16:07 +00:00
Viktor Szakats
00c09ce91f 2010-12-08 21:53 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/debug/debugger.prg
  * contrib/hbodbc/tests/odbccall.prg
  * contrib/hbblat/tests/blattest.prg
  * contrib/hbgd/gd.prg
  * contrib/hbtip/tests/tipmail.prg
  * examples/rddado/adordd.prg
  * examples/httpsrv/cgifunc.prg
    * Eliminated using WITH OBJECT.
    % Some optimizations, little fixes.

  * tests/omacro.prg
    * Formatting.
2010-12-08 20:54:55 +00:00
Przemyslaw Czerpak
1881948236 2010-12-05 12:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/tests/cpinfo.prg
    * small modification for non latin CPs having first lower letter before
      upper
    * keep signature for generated CP files as "$Id' + "$" to avoid
      automatic replacing by SVN
2010-12-05 11:15:54 +00:00
Przemyslaw Czerpak
3a71036691 2010-12-05 01:04 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapicdp.h
  * harbour/include/hbcdpreg.h
  * harbour/src/rtl/cdpapi.c
  * harbour/tests/cpinfo.prg
    + added support to define CPs using different letter case sorting
      in human readable form. Now it's possible to use:
         // uppers before lowers: ABCDE...abcde...
         #define HB_CP_CSSORT    HB_CDP_CSSORT_UPLO
         // uppers and lowers are mixed: AaBbCcDdEe....
         #define HB_CP_CSSORT    HB_CDP_CSSORT_MIXED
         // ignore case
         #define HB_CP_CSSORT    HB_CDP_CSSORT_IGNORE
2010-12-05 00:04:47 +00:00
Przemyslaw Czerpak
4aed30bd2b 2010-11-18 12:21 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbct/bitnum.c
    ! fixed && operator wrongly used instead of & in function NumMirr()

  * harbour/contrib/rddads/ads1.c
    * removed variable declaration which was hiding other one
      with the same name

  * harbour/src/rtl/hbdyn.c
  * harbour/src/rtl/gtsln/mousesln.c
  * harbour/src/rtl/gtsln/kbsln.c
  * harbour/tests/bldtest/bldtest.c
    ! aded mising ( void ) to declarations of functions
       without parameters ()
2010-11-18 11:22:11 +00:00
Viktor Szakats
5e0daa68f6 2010-11-01 13:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/Makefile
  * src/vm/mainwin.c
  * src/vm/hvm.c
  * src/vm/cmdarg.c
  * src/vm/vmmt/Makefile
  * utils/hbmk2/hbmk2.prg
  * config/global.mk
  * config/cygwin/global.mk
    + Cygwin related patch from Tamas Tevesz.
      - Fixing cygwin dynamic lib name
      - Dynamic lib linking
      - defining __PLATFORM__CYGWIN in cross-platform builds

  * src/rtl/dateshb.c
  + tests/dttest.prg
    + HB_DATETIME() got new, optional nYear, nMonth, nDay, nHour, nMinute, nSecond, nFragment
      parameters. If passed, it will return date or timestamp based on passed parameters
      instead of current timestamp.
      Based on initiative and code by Carlos Bacco. Thank you!

  * contrib/hbsqlit3/hbsqlit3.c
    - Reverted UTF8 patch in 2010-11-01 00:05 UTC+0200.
    + Replaced above solution with transparent one, using
      Str API usage and extended it for all places where UTF8
      strings are expected or returned by sqlite3 API.
      Please test. This clears an old TOFIX.
    + Added TOFIX for raw pointer usage.

  * contrib/hbqt/qtgui/g/QApplication.cpp
  * contrib/hbqt/qtgui/qth/QApplication.qth
    ! Fixed to wrap one declaration in HB_EXTERN_BEGIN/END.
2010-11-01 12:58:15 +00:00
Viktor Szakats
911ba94d9a 2010-09-23 00:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* tests/inline_c.prg
    ! Fixed. (deleted old code not working since 10 years)
2010-09-22 22:07:21 +00:00
Viktor Szakats
eedf422c9d 2010-08-15 19:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/fslink.c
    ! Windows typo, non-UNICODE build.

  * tests/flink.prg
    + HB_FLINKREAD() calls.
2010-08-16 17:29:12 +00:00
Viktor Szakats
abfa725104 2010-08-06 15:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* ChangeLog
  * include/harbour.hbx
  * src/rtl/Makefile
  + src/rtl/libname.prg
  + tests/libname.prg
    + Added HB_LIBNAME( <cDynLibName>[, <cDynLibDir> ] ) -> <cOSDynLibName>
      Serves to convert a raw dynlib name, f.e. "hbct" to OS specific
      notation, by adding platform specific extension, lib name prefix and
      optional directory

  * utils/hbmk2/hbmk2.prg
    ! Fixed dynlib prefix for symbian
2010-08-06 13:16:35 +00:00
Viktor Szakats
a04f40b3d3 2010-07-29 14:38 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/harbour-win.spec
  * package/harbour-wce.spec
  * config/global.mk
  * INSTALL
    * Renamed HB_BIN_COMPILE to HB_HOST_BIN
      (old pending TODO)

  * tests/flink.prg
    + Added comment.
    + Added example to dir symlink.

  * contrib/hbpre.hbm
    + Added comments.

  * config/beos/gcc.mk
  * config/global.mk
  * config/qnx/gcc.mk
  * config/bsd/gcc.mk
  * config/bsd/clang.mk
  * config/bsd/pcc.mk
  * config/wce/mingwarm.mk
  * config/wce/poccarm.mk
  * config/wce/msvcarm.mk
  * config/vxworks/gcc.mk
  * config/vxworks/diab.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
  * config/hpux/gcc.mk
  * config/dos/watcom.mk
  * config/dos/djgpp.mk
  * config/c.mk
  * config/win/xcc.mk
  * config/win/mingw.mk
  * config/win/pocc.mk
  * config/win/bcc.mk
  * config/win/watcom.mk
  * config/win/icc.mk
  * config/win/cygwin.mk
  * config/win/msvc.mk
  * config/linux/watcom.mk
  * config/linux/gcc.mk
  * config/linux/icc.mk
  * config/linux/clang.mk
  * config/linux/sunpro.mk
  * config/rules.mk
  * config/os2/watcom.mk
  * config/os2/gcc.mk
  * config/sunos/gcc.mk
  * config/sunos/sunpro.mk
    * Renamed HB_INC_COMPILE to HB_HOST_INC
      (it's still not precise name, just in sync with HB_HOST_BIN.
      In Harbour there is no difference between headers accross
      the platforms, so they could just be called something more
      neutral. If you have an idea, pls speak up.)
2010-07-29 12:40:41 +00:00
Viktor Szakats
929b57a7e0 2010-07-29 00:36 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/Makefile
  * include/hbapifs.h
  * include/hbextern.ch
  + src/rtl/fslink.c
  + tests/flink.prg
    + Added new C level functions to create file links:

       HB_BOOL hb_fsLink( const char * pszExisting, const char * pszNewFile );
       HB_BOOL hb_fsLinkSym( const char * pszTarget, const char * pszNewFile );

    + Added new Harbour level functions to create file links:

       HB_FLINK( <cExistingFileName>, <cNewFileName> ) -> <nSuccess>
       HB_FLINKSYM( <cTargetFileName>, <cNewFileName> ) -> <nSuccess>

    ; They work on POSIX and Windows Vista/7 systems.

  * src/rtl/fserr.c
    + Mapped Windows error ERROR_PRIVILEGE_NOT_HELD to DOS error 5.
2010-07-28 22:38:23 +00:00
Viktor Szakats
46f7e48f29 2010-07-26 12:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/tests/wvtqt.hbp
  * contrib/hbxbp/tests/wvtqt.hbp
    ! Added missing SVN header.
    % Cleanup.

  * INSTALL
  * contrib/hbpost.hbm
  * config/global.mk
    * Changed HB_BUILD_IMPLIB to HB_INSTALL_IMPLIB to reflect
      new meaning after recent changes. With new build system
      the implibs are always created in lib working dir, and
      this setting only controls whether to copy it to final
      install directory. The default is still 'no'. Setting it
      to yes is only recommended if the installation will be
      used in local environment (3rd party .dlls) only. IOW
      never set this to yes when creating a build for other
      users (f.e. for distribution).
      INCOMPATIBLE if you used this setting, pls change it now.

  * INSTALL
    + Documented HB_STATIC_* options.

  * contrib/make.hbs
    * Updated TODO list.

  * src/debug/debugger.prg
  * src/rtl/dirscan.prg
  * tests/wcecon.prg
  * contrib/xhb/traceprg.prg
  * contrib/hbqt/tests/wvtqt.hbp
  * contrib/hbqt/generator2/hbqtgen2.prg
  * contrib/hbxbp/tests/demoxbp.prg
  * contrib/hbxbp/tests/dialogqt.prg
  * contrib/hbxbp/tests/wvtqt.hbp
  * contrib/hbhpdf/tests/harupdf.prg
  * contrib/gtwvg/tests/wvgtbrowser.prg
  * contrib/gtwvg/tests/wvgwvtclasses.prg
  * contrib/hbtip/tests/dbtohtml.prg
  * contrib/hbtip/mail.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/ideactions.prg
  * contrib/hbide/idetools.prg
  * contrib/hbide/idesources.prg
  * contrib/hbide/hbide.prg
  * examples/uhttpd2/umain.prg
  * examples/hbvpdf/tests/pdf_demo.prg
  * examples/httpsrv/uhttpd.prg
  * examples/httpsrv/cgifunc.prg
  * examples/httpsrv/modules/tableservletdb.prg
  * examples/httpsrv/session.prg
    * HB_OSPATHSEPARATOR() -> HB_PS()
    % Delete temp vars along the way.

  * utils/hbmk2/hbmk2.prg
    + Generalized internals for support for older Harbour and
      xhb versions.
    + Added -hb20 option. (thanks for asking for it so nicely ;)
2010-07-26 10:36:23 +00:00
Viktor Szakats
6b758c4f6d 2010-07-25 10:41 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/xhb/hbcompat.ch
    + Added xhb translations for hb_eol() and hb_ps().

  * contrib/make.hbs
    - Deleted SetCancel().

  * src/debug/tbrwtext.prg
  * src/debug/debugger.prg
  * src/rtl/errsys.prg
  * src/rtl/profiler.prg
  * src/rtl/hbini.prg
  * src/rtl/treport.prg
  * src/rtl/tpersist.prg
  * src/rtl/hbi18n2.prg
  * src/rtl/ttextlin.prg
  * src/rtl/teditor.prg
  * src/rdd/usrrdd/rdds/logrdd.prg
  * tests/hbpptest/hbpptest.prg
  * tests/longstr2.prg
  * tests/cdow.prg
  * tests/output.prg
  * tests/dirtest.prg
  * tests/tstdbi.prg
  * tests/speedold.prg
  * tests/dates3.prg
  * tests/set_test.prg
  * tests/rto_get.prg
  * tests/cpinfo.prg
  * tests/speedtst.prg
  * tests/dates.prg
  * tests/set_num.prg
  * tests/rto_tb.prg
  * tests/testhtml.prg
  * tests/round.prg
  * tests/dates2.prg
  * tests/dates4.prg
  * tests/version.prg
  * tests/seconds.prg
  * tests/gtkeys.prg
  * tests/adirtest.prg
  * include/simpleio.ch
  * include/assert.ch
  * contrib/hbct/tests/tab.prg
  * contrib/hbct/tests/expomant.prg
  * contrib/xhb/traceprg.prg
  * contrib/xhb/hblog.prg
  * contrib/xhb/dumpvar.prg
  * contrib/xhb/dbgfx.prg
  * contrib/xhb/xhberr.prg
  * contrib/xhb/cstruct.prg
  * contrib/hbqt/generator/hbqtgen.prg
  * contrib/hbqt/hbqt_errorsys.prg
  * contrib/hbqt/generator2/hbqtgen2.prg
  * contrib/hbxpp/hbxpp.ch
  * contrib/hbnetio/utils/netiosrv.prg
  * contrib/hbnetio/utils/rpcdemo.hbs
  * contrib/hbnetio/utils/netiocmd.prg
  * contrib/hbpgsql/tests/dbf2pg.prg
  * contrib/hbmisc/tests/readfile.prg
  * contrib/hbmisc/tests/testhbf.prg
  * contrib/hbtip/thtml.prg
  * contrib/hbtip/client.prg
  * contrib/hbwin/tests/testsim.prg
  * contrib/hbwin/tests/testole.prg
  * contrib/hbwin/tests/testsvc.prg
  * contrib/hbssl/tests/bio.prg
  * contrib/hbssl/tests/pem.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/idethemes.prg
  * contrib/hbide/idesaveload.prg
  * contrib/hbide/idedocwriter.prg
  * contrib/hbide/hbide.ch
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/idehome.prg
  * contrib/hbide/ideshortcuts.prg
  * utils/hbformat/hbformat.prg
  * utils/hbmk2/hbmk2.prg
  * utils/hbi18n/hbi18n.prg
  * utils/hbtest/hbtest.prg
  * examples/hbextern/hbextern.prg
  * examples/uhttpd2/umain.prg
  * examples/guestbk/inifiles.prg
  * examples/guestbk/testcgi.prg
  * examples/httpsrv/uhttpd.prg
  * examples/hscript/hscript.prg
    * hb_osnewline() -> hb_eol()
      (deleting temp variables and temp pp macros used in the past
      to workaround the long typing of the old function name)
    * Some formatting along the way in tests dir.

  * src/rtl/errsys.prg
    - Deleted usage of ISNIL(). It's a quite pointless macro.

  * src/rtl/errsys.prg
  * src/rtl/listbox.prg
  * src/rtl/profiler.prg
  * src/rtl/treport.prg
  * src/rtl/tpersist.prg
  * src/rtl/tgetlist.prg
  * src/rtl/teditor.prg
    % DO CASE -> SWITCH

  * src/rtl/alert.prg
    * Replaced DEFAULT TO with simple NIL check.

  * src/compiler/gencc.c
    * Formatting of generated code.

  * contrib/hbide/ideedit.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/idethemes.prg
  * contrib/hbide/idesaveload.prg
  * contrib/hbide/idedocwriter.prg
  * contrib/hbide/hbide.ch
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/idehome.prg
  * contrib/hbide/ideshortcuts.prg
    * hb_osPathSeparator() (and static variable) -> hb_ps()
2010-07-25 08:45:50 +00:00
Viktor Szakats
317974e472 2010-07-17 08:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* tests/hbdoctst.prg
    + Updated to use __HBDOC_SAVEHBD().
2010-07-17 06:50:55 +00:00
Viktor Szakats
03ca82e16f 2010-07-15 17:10 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbpost.hbm
    ! Fixed issue where prg flags were interpreted as
      implib tool flags when building *.hbi files via
      make.hbs. Caused problems for bcc, watcom and some
      rarer other cases.

  * config/beos/gcc.mk
  * config/qnx/gcc.mk
  * config/bsd/gcc.mk
  * config/bsd/clang.mk
  * config/bsd/pcc.mk
  * config/wce/mingwarm.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
  * config/hpux/gcc.mk
  * config/win/mingw.mk
  * config/win/cygwin.mk
  * config/linux/gcc.mk
  * config/linux/icc.mk
  * config/linux/clang.mk
  * config/linux/sunpro.mk
  * config/os2/gcc.mk
  * config/sunos/gcc.mk
  * config/sunos/sunpro.mk
    % Using 'LD = $(CC)' instead of duplicating the
      'CC = ' line with identical value.

  * contrib/hbqt/THbQtUI.prg
    * Minor.

  * tests/hbdocext.prg
    ! Minor portability.
2010-07-15 15:15:29 +00:00
Viktor Szakats
343f1caba4 2010-07-14 19:23 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
    ! Fix for paint bug typo. Report/patch by Antonio Linares.

  * src/rtl/hbdoc.prg
    ! __HBDOC_FROMSOURCE(): added parameter validation.

  * tests/stripdoc.hbs
    ! Fixed -w3 warning.

  * contrib/gtwvg/wvgwin.c
  * contrib/gtwvg/wvgsink.c
  * contrib/gtwvg/wvgwing.c
  * contrib/hbwin/hbwinole.h
  * contrib/hbwin/win_shell.c
  * contrib/hbwin/olecore.c
  * contrib/hbwin/hbolesrv.c
    + Applied patch sent by Tamas Tevesz, targeting to change
      OLE code to use MS supplied macros to access certain
      structure elements. Also contains tweaks to NONAMELESSUNION
      Windows mess.
      "the attached is take two to use ole api accessors instead of
       hard-coded member names which may or may not be present anyway."
    ; Plus some casing adjusments in macro variable names.

  * contrib/gtwvg/gtwvg.c
  * contrib/gtwvg/wvggui.c
  * contrib/gtwvg/wvgwin.c
    % Deleted ( HWND ) casts from MS Windows-defined constants.
      Still when using plain MS defined constant, msvc will
      show some warnings when compiled in C mode:
         gtwvg.c(3594) : warning C4306: 'type cast' : conversion from 'int' to 'HWND' of greater size
      Couldn't find a way to defeat it.

  * contrib/gtwvg/gtwvg.h
  * contrib/gtwvg/wvggui.h
    + Upped IE version we are building against to 0x0500.
      This avoids some plain C mode msvc warnings.

  * contrib/gtwvg/wvgwing.c
    + Added ( HB_PTRDIFF ) cast to newly activated code
      after making above change.
2010-07-14 17:25:34 +00:00
Viktor Szakats
9e9e5129f8 2010-07-14 14:41 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbextern.ch
  * src/rtl/hbdoc.prg
    + Added __HBDOC_FROMSOURCE( <cStream> ) -> <aEntry>

  + tests/stripdoc.hbs
    + Strips NFDOC/HBDOC from .c/.prg sources.

  + tests/hbdocext.prg
    + Extracts NFDOC/HBDOC from source code.

  * contrib/hbct/bitnum.c
  * contrib/hbct/strdiff.c
  * contrib/hbct/token2.c
  * contrib/hbct/charlist.c
  * contrib/hbct/ctnet.c
  * contrib/hbct/charonly.c
  * contrib/hbct/atadjust.c
  * contrib/hbct/ctmath.c
  * contrib/hbct/ctset.c
  * contrib/hbct/ctwin.c
  + contrib/hbct/doc
  + contrib/hbct/doc/en
  + contrib/hbct/doc/en/strdiff.txt
  + contrib/hbct/doc/en/token1.txt
  + contrib/hbct/doc/en/token2.txt
  + contrib/hbct/doc/en/keyset.txt
  + contrib/hbct/doc/en/ct.txt
  + contrib/hbct/doc/en/charmirr.txt
  + contrib/hbct/doc/en/ctc.txt
  + contrib/hbct/doc/en/charlist.txt
  + contrib/hbct/doc/en/charlihb.txt
  + contrib/hbct/doc/en/relation.txt
  + contrib/hbct/doc/en/atadjust.txt
  + contrib/hbct/doc/en/charonly.txt
  + contrib/hbct/doc/en/ctmath.txt
  + contrib/hbct/doc/en/atnum.txt
  + contrib/hbct/doc/en/numconv.txt
  + contrib/hbct/doc/en/charsort.txt
  + contrib/hbct/doc/en/count.txt
  + contrib/hbct/doc/en/posdiff.txt
  + contrib/hbct/doc/en/ftoc.txt
  + contrib/hbct/doc/en/charmix.txt
  + contrib/hbct/doc/en/charevod.txt
  + contrib/hbct/doc/en/finan.txt
  + contrib/hbct/doc/en/range.txt
  + contrib/hbct/doc/en/wordrepl.txt
  + contrib/hbct/doc/en/charrepl.txt
  + contrib/hbct/doc/en/exponent.txt
  + contrib/hbct/doc/en/addascii.txt
  + contrib/hbct/doc/en/ctmath2.txt
  + contrib/hbct/doc/en/strswap.txt
  + contrib/hbct/doc/en/trig.txt
  + contrib/hbct/doc/en/tab.txt
  + contrib/hbct/doc/en/video.txt
  + contrib/hbct/doc/en/charswap.txt
  + contrib/hbct/doc/en/dattime2.txt
  + contrib/hbct/doc/en/dattime3.txt
  + contrib/hbct/doc/en/replace.txt
  + contrib/hbct/doc/en/charop.txt
  + contrib/hbct/doc/en/misc1.txt
  + contrib/hbct/doc/en/asciisum.txt
  + contrib/hbct/doc/en/color.txt
  + contrib/hbct/doc/en/charone.txt
  + contrib/hbct/doc/en/num1.txt
  + contrib/hbct/doc/en/pos1.txt
  + contrib/hbct/doc/en/pos2.txt
  + contrib/hbct/doc/en/numat.txt
  + contrib/hbct/doc/en/charophb.txt
  + contrib/hbct/doc/en/atrepl.txt
  + contrib/hbct/doc/en/ascpos.txt
  + contrib/hbct/doc/en/wordtoch.txt
  + contrib/hbct/doc/en/ctpad.txt
  + contrib/hbct/doc/en/datetime.txt
  + contrib/hbct/doc/en/print.txt
  + contrib/hbct/doc/en/justify.txt
  + contrib/hbct/doc/en/remove.txt
  + contrib/hbct/doc/en/ctstr.txt
  + contrib/hbct/doc/en/screen1.txt
    + Moved embedded docs to separate files.

  * contrib/hbct/charsort.c
  * contrib/hbct/ftoc.c
  * contrib/hbct/charmix.c
  * contrib/hbct/charevod.c
  * contrib/hbct/wordrepl.c
  * contrib/hbct/exponent.c
  * contrib/hbct/charrepl.c
  * contrib/hbct/files.c
  * contrib/hbct/strswap.c
  * contrib/hbct/trig.c
  * contrib/hbct/video.c
  * contrib/hbct/charswap.c
  * contrib/hbct/dattime3.c
  * contrib/hbct/charop.c
  * contrib/hbct/ct.prg
  * contrib/hbct/cursor.c
  * contrib/hbct/misc2.c
  * contrib/hbct/color.c
  * contrib/hbct/charone.c
  * contrib/hbct/num1.c
  * contrib/hbct/pos1.c
  * contrib/hbct/ctcom1.c
  * contrib/hbct/charophb.c
  * contrib/hbct/ascpos.c
  * contrib/hbct/numconv.prg
  * contrib/hbct/ctstr.c
  * contrib/hbct/screen1.c
  * contrib/hbct/token1.c
  * contrib/hbct/keyset.c
  * contrib/hbct/charmirr.c
  * contrib/hbct/ctc.c
  * contrib/hbct/ctwfunc.c
  * contrib/hbct/charlihb.c
  * contrib/hbct/relation.c
  * contrib/hbct/setlast.c
  * contrib/hbct/atnum.c
  * contrib/hbct/count.c
  * contrib/hbct/disk.c
  * contrib/hbct/posdiff.c
  * contrib/hbct/finan.c
  * contrib/hbct/range.c
  * contrib/hbct/addascii.c
  * contrib/hbct/ctmath2.c
  * contrib/hbct/tab.c
  * contrib/hbct/dattime2.c
  * contrib/hbct/replace.c
  * contrib/hbct/misc1.c
  * contrib/hbct/asciisum.c
  * contrib/hbct/pos2.c
  * contrib/hbct/numat.c
  * contrib/hbct/fcopy.prg
  * contrib/hbct/atrepl.c
  * contrib/hbct/ctcom2.c
  * contrib/hbct/wordtoch.c
  * contrib/hbct/ctpad.c
  * contrib/hbct/datetime.c
  * contrib/hbct/print.c
  * contrib/hbct/justify.c
  * contrib/hbct/remove.c
    - Stripped NFDOC/HBDOC from source code.

  + contrib/hbnf/doc
  + contrib/hbnf/doc/en
  + contrib/hbnf/doc/en/acctmnth.txt
  + contrib/hbnf/doc/en/savearr.txt
  + contrib/hbnf/doc/en/rand1.txt
  + contrib/hbnf/doc/en/madd.txt
  + contrib/hbnf/doc/en/dispmsg.txt
  + contrib/hbnf/doc/en/numlock.txt
  + contrib/hbnf/doc/en/mouse1.txt
  + contrib/hbnf/doc/en/settime.txt
  + contrib/hbnf/doc/en/restsets.txt
  + contrib/hbnf/doc/en/page.txt
  + contrib/hbnf/doc/en/prtscr.txt
  + contrib/hbnf/doc/en/color2n.txt
  + contrib/hbnf/doc/en/byt2bit.txt
  + contrib/hbnf/doc/en/month.txt
  + contrib/hbnf/doc/en/byt2hex.txt
  + contrib/hbnf/doc/en/findith.txt
  + contrib/hbnf/doc/en/at2.txt
  + contrib/hbnf/doc/en/acctweek.txt
  + contrib/hbnf/doc/en/gcd.txt
  + contrib/hbnf/doc/en/poke.txt
  + contrib/hbnf/doc/en/pegs.txt
  + contrib/hbnf/doc/en/min2dhm.txt
  + contrib/hbnf/doc/en/acctqtr.txt
  + contrib/hbnf/doc/en/dosver.txt
  + contrib/hbnf/doc/en/mkdir.txt
  + contrib/hbnf/doc/en/nooccur.txt
  + contrib/hbnf/doc/en/dayofyr.txt
  + contrib/hbnf/doc/en/metaph.txt
  + contrib/hbnf/doc/en/menu1.txt
  + contrib/hbnf/doc/en/byteand.txt
  + contrib/hbnf/doc/en/setlastk.txt
  + contrib/hbnf/doc/en/sqzn.txt
  + contrib/hbnf/doc/en/bytexor.txt
  + contrib/hbnf/doc/en/workdays.txt
  + contrib/hbnf/doc/en/byteor.txt
  + contrib/hbnf/doc/en/asum.txt
  + contrib/hbnf/doc/en/sleep.txt
  + contrib/hbnf/doc/en/wda.txt
  + contrib/hbnf/doc/en/aavg.txt
  + contrib/hbnf/doc/en/woy.txt
  + contrib/hbnf/doc/en/alt.txt
  + contrib/hbnf/doc/en/any2any.txt
  + contrib/hbnf/doc/en/adessort.txt
  + contrib/hbnf/doc/en/setdate.txt
  + contrib/hbnf/doc/en/netpv.txt
  + contrib/hbnf/doc/en/amedian.txt
  + contrib/hbnf/doc/en/blink.txt
  + contrib/hbnf/doc/en/ctrl.txt
  + contrib/hbnf/doc/en/vertmenu.txt
  + contrib/hbnf/doc/en/qtr.txt
  + contrib/hbnf/doc/en/linked.txt
  + contrib/hbnf/doc/en/aredit.txt
  + contrib/hbnf/doc/en/shift.txt
  + contrib/hbnf/doc/en/fttext.txt
  + contrib/hbnf/doc/en/xbox.txt
  + contrib/hbnf/doc/en/ftround.txt
  + contrib/hbnf/doc/en/hex2dec.txt
  + contrib/hbnf/doc/en/nwuid.txt
  + contrib/hbnf/doc/en/dectobin.txt
  + contrib/hbnf/doc/en/chdir.txt
  + contrib/hbnf/doc/en/bitset.txt
  + contrib/hbnf/doc/en/aemaxlen.txt
  + contrib/hbnf/doc/en/nwlstat.txt
  + contrib/hbnf/doc/en/invclr.txt
  + contrib/hbnf/doc/en/popadder.txt
  + contrib/hbnf/doc/en/lastday.txt
  + contrib/hbnf/doc/en/dispc.txt
  + contrib/hbnf/doc/en/ftattr.txt
  + contrib/hbnf/doc/en/tempfile.txt
  + contrib/hbnf/doc/en/diskfunc.txt
  + contrib/hbnf/doc/en/stod.txt
  + contrib/hbnf/doc/en/scregion.txt
  + contrib/hbnf/doc/en/mouse2.txt
  + contrib/hbnf/doc/en/d2e.txt
  + contrib/hbnf/doc/en/kspeed.txt
  + contrib/hbnf/doc/en/descendn.txt
  + contrib/hbnf/doc/en/pickday.txt
  + contrib/hbnf/doc/en/firstday.txt
  + contrib/hbnf/doc/en/daytobow.txt
  + contrib/hbnf/doc/en/getenvrn.txt
  + contrib/hbnf/doc/en/anomatch.txt
  + contrib/hbnf/doc/en/menutonf.txt
  + contrib/hbnf/doc/en/pvid.txt
  + contrib/hbnf/doc/en/proper.txt
  + contrib/hbnf/doc/en/isbiton.txt
  + contrib/hbnf/doc/en/isbit.txt
  + contrib/hbnf/doc/en/cntryset.txt
  + contrib/hbnf/doc/en/datecnfg.txt
  + contrib/hbnf/doc/en/caplock.txt
  + contrib/hbnf/doc/en/easter.txt
  + contrib/hbnf/doc/en/bytenot.txt
  + contrib/hbnf/doc/en/ftisprn.txt
  + contrib/hbnf/doc/en/setkeys.txt
  + contrib/hbnf/doc/en/ntow.txt
  + contrib/hbnf/doc/en/aeminlen.txt
  + contrib/hbnf/doc/en/floptst.txt
  + contrib/hbnf/doc/en/pchr.txt
  + contrib/hbnf/doc/en/savesets.txt
  + contrib/hbnf/doc/en/tbwhile.txt
  + contrib/hbnf/doc/en/year.txt
  + contrib/hbnf/doc/en/calendar.txt
  + contrib/hbnf/doc/en/e2d.txt
  + contrib/hbnf/doc/en/sysmem.txt
  + contrib/hbnf/doc/en/elapsed.txt
  + contrib/hbnf/doc/en/n2color.txt
  + contrib/hbnf/doc/en/bitclr.txt
  + contrib/hbnf/doc/en/eltime.txt
  + contrib/hbnf/doc/en/putkey.txt
  + contrib/hbnf/doc/en/aading.txt
  + contrib/hbnf/doc/en/dfile.txt
  + contrib/hbnf/doc/en/elapmil.txt
  + contrib/hbnf/doc/en/pending.txt
  + contrib/hbnf/doc/en/peek.txt
  + contrib/hbnf/doc/en/clrsel.txt
  + contrib/hbnf/doc/en/ontick.txt
  + contrib/hbnf/doc/en/acctyear.txt
  + contrib/hbnf/doc/en/byteneg.txt
  + contrib/hbnf/doc/en/isshare.txt
  + contrib/hbnf/doc/en/sinkey.txt
  + contrib/hbnf/doc/en/iamidle.txt
  + contrib/hbnf/doc/en/ftidle.txt
  + contrib/hbnf/doc/en/rmdir.txt
  + contrib/hbnf/doc/en/scancode.txt
  + contrib/hbnf/doc/en/vidmode.txt
  + contrib/hbnf/doc/en/origin.txt
  + contrib/hbnf/doc/en/nwsem.txt
  + contrib/hbnf/doc/en/acctadj.txt
  + contrib/hbnf/doc/en/week.txt
  + contrib/hbnf/doc/en/vidcur.txt
  + contrib/hbnf/doc/en/readme.txt
  + contrib/hbnf/doc/en/prtesc.txt
  + contrib/hbnf/doc/en/miltime.txt
    + Moved embedded docs to separate files.

  * contrib/hbnf/kspeed.c
  * contrib/hbnf/iamidle.c
  * contrib/hbnf/miltime.prg
  * contrib/hbnf/mouse1.prg
  * contrib/hbnf/setkeys.c
  * contrib/hbnf/origin.c
  * contrib/hbnf/chdir.c
  * contrib/hbnf/hex2dec.prg
  * contrib/hbnf/mouse2.prg
  * contrib/hbnf/ftisprn.c
  * contrib/hbnf/putkey.c
  * contrib/hbnf/floptst.prg
  * contrib/hbnf/mkdir.c
  * contrib/hbnf/rmdir.c
  * contrib/hbnf/setlastk.c
    ! Fixed NFDOC formatting.
    ; TODO: Strip docs.
2010-07-14 12:48:39 +00:00
Viktor Szakats
62ec573bbf 2010-07-14 11:46 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbapi.h
  * src/common/Makefile
  + src/common/hbstrbm.c
    + Added hb_strAtTBM() which provides fast text search using
      Turbo Boyer-Moore(-Crochemore) algorithm. The interface is
      the same as hb_strAt().
      HB_AT()/AT() could use it beyond some haystack sizes to
      speed up the results.

  + contrib/hbqt/tests/testbrow.prg
    + Added useful browse example implemented using QT.

  * tests/utf8at.prg
    + Changed to not use high chars.
2010-07-14 09:47:43 +00:00
Viktor Szakats
ec5c6619dc 2010-07-14 10:10 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbapicdp.h
  * src/rtl/cdpapi.c
  * src/rtl/cdpapihb.c
  + tests/utf8at.prg
    + Added hb_cdpUTF8StringAt()
    ; Patch by Carlos Bacco. Many thanks!

  * include/hbextern.ch
  * include/hbapicdp.h
  * src/rtl/cdpapi.c
  * src/rtl/cdpapihb.c
    ; my modifications to above patch:
    - Using HB_BOOL instead of int for flag value.
    % HB_UTF8AT(), HB_UTF8RAT() optimized to use hb_param(),
      plus optimized out variables.
    ! HB_UTF8AT(), HB_UTF8RAT() fixed 'nEnd < nStart' case.
    ! Some formatting.
    + Added new functions to hbextern.ch.

  * tests/utf8at.prg
    * Changed to use UTF8 string as base.
    * Avoiding "OEM" and "ANSI" Microsoft misleading terms,
      using standard CP names instead.
    ! Using HB_TRANSLATE() to convert between CPs (instead
      of non-portable, Windows-only HB_OEMTOANSI()/HB_ANSITOOEM()
      functions).
    * Formatting.
    * Using '?' instead of QOUT(), plus added simpleio.ch to
      allow redirection of output.

  * contrib/make.hbs
    * Minor step to make dependency evaluation and automatic
      sorting of components for build.

  * utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
    + Added -vcshead support for Monotone version control
      software.
    % Cleaned and optimized "in dir" C compiler run mode.
      (currently used by mingw)
    ! Fixed "in dir" C compiler run mode when using -jobs=
      option for multithreaded builds.
    % Little optimization to --hbinfo option.
2010-07-14 08:14:32 +00:00
Viktor Szakats
2b388f083b 2010-07-13 08:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ tests/hbmk.hbm
    + Added hbmk2 automatic configuration to set warning level to 3.

  * tests/hbdoctst.prg
    * Minor.

  * contrib/hbdoc2/hbdoc2.hbp
    + Added output name.

  * contrib/hbnetio/utils/hbnetio.hbp
    * Commented -DHB_EXTERN option.

  * contrib/hbwin/win_shell.c
    ! Patch by Tamas Tevesz to fix compilation on newer (>= 0x621)
      Borland compiler versions.
2010-07-13 06:56:45 +00:00
Pritpal Bedi
cf1d90c7de 2010-07-12 12:44 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* tests/hbdoctst.prg
    + Added missing "directry.ch" header.
2010-07-12 19:47:27 +00:00
Viktor Szakats
96e069c19e 2010-07-12 18:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbextern.ch
  * src/rtl/Makefile
  + src/rtl/hbdoc.prg
    + Added __HBDOC_LOADDIR() internal RTL function to read
      NFDOC formatted documentation source directories into
      memory. The result will be a list of hashes which contain
      the raw content of doc files. The function does format
      validation (but not content) and add all agreed-on metadata
      to the hashes.
      It's a start and I hope others can join to create new
      layers of function for below functionality:
         - doc content validation
         - pre-formatting
         - output generators
      The goal is to avoid local solutions and standardize
      the format.

  + tests/hbdoctst.prg
    + Added small test app which will find and parse all
      documentation inside the Harbour source tree and
      save them in .hbd (serialized doc hash) format.
      Such .hdb files can be generated by the build process
      in the future, so tools like HBIDE can use the content
      to display intellisense or built-in help.
    ; TODO: HBQT doc/html should be removed as it's 
            hbdoc tools' job to convert HBDOC source 
            format to html or whatever else format needed.

  * harbour.spec
  * debian/rules
  - doc/man
  + src/pp/hbpp.1
  + src/main/harbour.1
  + utils/hbmk2/hbmk2.1
  + utils/hbtest/hbtest.1
  + utils/hbrun/hbrun.1
    * Moved man doc files to their own component dirs.

  * doc/Makefile
  * doc/en/Makefile
  + doc/clipper.txt
  - doc/en/clipper.txt
    * Moved non-NFDOC formatted doc file to doc dir.

  * doc/en/Makefile
    ! Fixed missing 1stread.txt

  * doc/en/hb_apigt.txt
  * doc/en/hbinet.txt
  * doc/en/tbrowse.txt
  * doc/en/hb_apifs.txt
    ! Fixed NFDOC non-standard entries.

  * bin/hbxpatch.hbs
    ! Fixed detecting dirs. (could cause errors only in rare cases)

  * contrib/hbdoc2/tmplates.prg
    * Formatting.
2010-07-12 16:47:24 +00:00
Viktor Szakats
5e35488ccc 2010-06-17 15:37 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* tests/wvtext.prg
    * Updates. Formatting. Show msgbox when MT is not present.

  * contrib/hbxbp/Makefile
    + Enabled for mingw64.

  * contrib/hbxpp/xppop.prg
  * contrib/hbxpp/xppopc.c
    + Added Xbase++ compatible operator overloading for $ on arrays.
2010-06-17 13:37:58 +00:00
Viktor Szakats
02b3147fd5 2010-06-17 00:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* tests/wvtext.prg
    + Extended with tests for row resize.
    + Added visual feedback for resize event.

  * config/global.mk
    ! Typo after last changes making HB_BUILD_PKG ineffective.
  * INSTALL
    * Minor.
2010-06-16 22:19:48 +00:00
Viktor Szakats
5ae08a0e0e 2010-06-12 14:11 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/set.c
    * Reset default value to "hb_out.log".

  + mpkg_nightly.sh
    + Added script to generate nightly sources.
    ; TODO: Upload nightlies to sf.net.
    ; TODO: Change nightly filenames to match our normal source releases.
    ; TOFIX: Current .zip nighly has wrong (*nix) EOLs. This has to be
             changed to CRLF.

  * INSTALL
    * Changed nightly script URLs to point to sf.net file area.
    ! Minor fix to bug tracker address.

  * contrib/xhb/regexrpl.prg
  * contrib/hbtip/httpcli.prg
  * contrib/hbtip/mail.prg
    ! Fixed to use EMPTY() on HB_REGEX[ALL]() return
      value instead of NIL check.
      Required after recent change in HB_REGEX*()
      return values in no-match case.

  * contrib/hbcurl/hbcurl.c
  * contrib/hbcurl/hbcurl.ch
    + Added support to download-to/upload-from file handle.

  * contrib/hbqt/qtgui/Makefile
  * contrib/hbqt/qtcore/Makefile
  * contrib/hbqt/Makefile
  * contrib/hbqt/gtqtc/Makefile
  * contrib/hbqt/qtnetwork/Makefile
    ! Fixed to not build separate HBQT libs for static
      linkage for non-win/wce targets.

  * package/mpkg_win.nsi
  * package/winuni/mpkg_win_uni.nsi
    * Changed to use 'Harbour Project' as folder name in registry.
      (instead of 'Harbour'). Just to be consistent.

  * package/winuni/mpkg_win_uni.nsi
    + Add major.minor version number to registry folder names.
      This allows multiple major versions of Harbour to be installed
      in parallel.

  * contrib/xhb/ttable.prg
    % '&("{||" + c + "}")' -> HB_MACROBLOCK()

  * contrib/xhb/trpccli.prg
  * contrib/xhb/hblognet.prg
  * contrib/xhb/xcstr.prg
  * contrib/xhb/tedit.prg
  * contrib/xhb/xdbmodst.prg
  * contrib/xhb/trpc.prg
  * contrib/xhb/thtm.prg
  * contrib/xhb/dumpvar.prg
  * contrib/xhb/xhbmt.prg
  * contrib/xhb/xhberr.prg
  * contrib/xhb/ttable.prg
  * contrib/xhb/txml.prg
    * '.NOT.' -> '!'
    % ValType( x ) == "Y" -> IS*()
    * Some other basic formatting and cleanup.

  * src/rtl/hbini.prg
  * examples/httpsrv/session.prg
    * Formatting.

  * tests/db_brows.prg
  * tests/server.prg
  * tests/testrdd2.prg
  * tests/setkeys.prg
  * contrib/hbtip/tests/tiptest.prg
  * contrib/hbtip/tests/loadhtml.prg
  * examples/hbsqlit2/tests/hbsqlite.prg
  * examples/gtwvw/tests/wvwtest9.prg
  * examples/gtwvw/tests/ebtest7.prg
    * '.NOT.' -> '!'
2010-06-12 12:15:59 +00:00
Viktor Szakats
45a114e471 2010-06-03 18:17 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* tests/testsha1.prg
  * tests/longdev.prg
  * tests/clsccast.prg
  * tests/cmphello.prg
  * tests/clsicast.prg
  * tests/testop.prg
  * tests/clsscast.prg
  * tests/objarr.prg
  * tests/rddtest/rddmktst.prg
  * tests/rddtest/adscl52.prg
  * tests/rddtest/adscl53.prg
  * tests/rddtest/ntxcl52.prg
  * tests/rddtest/ntxcl53.prg
  * tests/rddtest/cdxcl52.prg
  * tests/rddtest/rddtst.prg
  * tests/rddtest/cdxcl53.prg
  * tests/transtst.prg
  * tests/output.prg
  * tests/ac_test2.prg
  * tests/clsscope.prg
  * tests/dosshell.prg
  * tests/sbartest.prg
  * tests/speedold.prg
  * tests/sdf_test.prg
  * tests/wcecon.prg
  * tests/debugtst.prg
  * tests/testdyn.c
  * tests/multiarg.prg
  * tests/fornext.prg
  * tests/hbinline.prg
  * tests/foreach2.prg
  * tests/objasign.prg
  * tests/scroll.prg
  * tests/inherit.prg
  * tests/rto_get.prg
  * tests/boxtst2.prg
  * tests/inkeytst.prg
  * tests/overload.prg
  * tests/cpinfo.prg
  * tests/gtwin.prg
  * tests/mt/mttest08.prg
  * tests/mt/mttest09.prg
  * tests/mt/mttest01.prg
  * tests/mt/mttest10.prg
  * tests/mt/mttest02.prg
  * tests/mt/mttest11.prg
  * tests/mt/mttest03.prg
  * tests/mt/mttest12.prg
  * tests/mt/mttest04.prg
  * tests/mt/mttest05.prg
  * tests/mt/mttest06.prg
  * tests/mt/mttest07.prg
  * tests/speedtst.prg
  * tests/testsha2.prg
  * tests/hsxtest.prg
  * tests/arrayidx.prg
  * tests/clsnv.prg
  * tests/rto_tb.prg
  * tests/gtchars.prg
  * tests/disptest.prg
  * tests/funcarr.prg
  * tests/testhtml.prg
  * tests/readhrb.prg
  * tests/tstcolor.prg
  * tests/gtxfnt.prg
  * tests/devtest.prg
  * tests/aliaslck.prg
  * tests/stripem.prg
  * tests/dynobj.prg
  * tests/tb1.prg
  * tests/round.prg
  * tests/longstr.prg
  * tests/testdyn.prg
  * tests/testdyn1.prg
  * tests/delimtst.prg
  * tests/tstdspac.prg
  * tests/version.prg
  * tests/setkeys.prg
  * tests/gtcolors.prg
  * tests/destruct.prg
  * tests/seconds.prg
  * tests/gtkeys.prg
  * tests/usrrdd/exarr.prg
  * doc/en/diskspac.txt
  * doc/en/string.txt
  * doc/en/rdd.txt
  * doc/en/hashes.txt
  * doc/en/hb_apigt.txt
  * doc/en/rddord.txt
  * doc/en/hb_api.txt
  * doc/en/hb_date.txt
  * doc/en/math.txt
  * doc/en/hb_vm.txt
  * doc/en/treport.txt
  * doc/en/terminal.txt
  * doc/en/hb_apiln.txt
  * doc/en/dir.txt
  * doc/en/command.txt
  * doc/en/rddmisc.txt
  * doc/en/errsys.txt
  * doc/en/nation.txt
  * doc/en/var.txt
  * doc/en/dbstrux.txt
  * doc/en/datetime.txt
  * doc/en/memo.txt
  * doc/en/tgetlist.txt
  * doc/en/tlabel.txt
  * doc/en/1stread.txt
  * doc/en/hb_set.txt
  * doc/en/hb_compa.txt
  * doc/en/hb_apier.txt
  * doc/en/hbinet.txt
  * doc/en/hb_macro.txt
  * doc/en/array.txt
  * doc/en/hb_apiit.txt
  * doc/en/rdddb.txt
  * doc/en/dbsdf.txt
  * doc/en/hvm.txt
  * doc/en/input.txt
  * doc/en/dbdelim.txt
  * doc/en/browse.txt
  * doc/en/menu.txt
  * doc/en/hb_apird.txt
  * doc/en/hb_apifs.txt
  * doc/en/file.txt
  * doc/en/lang.txt
  * doc/en/objfunc.txt
  * doc/en/eval.txt
  * doc/en/binnum.txt
  * doc/en/tclass.txt
  * doc/en/misc.txt
  * doc/en/set.txt
  * doc/en/readme.txt
  * doc/man/harbour.1
  * doc/man/hbmk2.1
  * doc/man/hbpp.1
  * doc/man/hbtest.1
  * doc/man/hbrun.1
  * examples/hbextern/hbextern.prg
  * examples/pp/pp.c
  * examples/pp/hbpragma.c
  * examples/pp/hbppcore.c
  * examples/pp/hbppcomp.c
  * examples/pp/hbpptbl.c
  * examples/pp/hbppdef.h
  * examples/superlib/hbsuper.prg
  * examples/hbsqlit2/hbsqlit2.ch
  * examples/misc/mankala.prg
  * examples/misc/guess.prg
  * examples/rddado/adordd.prg
  * examples/rddado/adordd.ch
  * examples/hbapollo/apollo.ch
  * examples/hbapollo/apollo.c
  * examples/hbapollo/apollo1.prg
  * examples/hbdoc2/gentpl.prg
  * examples/hbdoc2/gentxt.prg
  * examples/hbdoc2/tmplates.prg
  * examples/hbdoc2/genxml.prg
  * examples/hbdoc2/genhtml.prg
  * examples/hbdoc2/hbdoc2.prg
  * examples/hbdoc2/hbdoc2.ch
  * examples/guestbk/guestbk.prg
  * examples/httpsrv/uhttpd.ini
  * examples/httpsrv/uhttpd.prg
  * examples/httpsrv/cookie.prg
  * examples/httpsrv/cgifunc.prg
  * examples/httpsrv/session.prg
  * examples/terminal/trm_cli.prg
  * examples/terminal/terminal.prg
  * examples/terminal/trm_srv.prg
  * examples/terminal/trm_app.prg
  * examples/hbbtree/hb_btree.h
  * examples/hbbtree/hb_btree.ch
  * examples/hbbtree/hb_btree.c
  * examples/hbbtree/tbtree.prg
  * examples/hscript/hscript.prg
  * examples/hscript/dir.hs
  * examples/hscript/multiply.hs
  * examples/hscript/ugly.hs
  * examples/hscript/hello.hs
  * examples/gtwvw/hbole.h
  * examples/gtwvw/wvwdraw.c
  * examples/gtwvw/wvwmenu.c
  * examples/gtwvw/gtwvw.c
  * examples/gtwvw/wvwstbar.c
  * examples/gtwvw/wvwcheck.c
  * examples/gtwvw/wvwfuncs.c
  * examples/gtwvw/wvwpush.c
  * examples/gtwvw/wvwedit.c
  * examples/gtwvw/wvwtbar.c
  * examples/gtwvw/hbgtwvw.h
    * Deleted 'www.' from harbour-project.org website name.
      (www.harbour-project.org -> harbour-project.org)
2010-06-03 16:23:36 +00:00
Viktor Szakats
76661d1f00 2010-05-15 15:10 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* tests/wvtext.prg
    + Updated according to latest changes, now using simple INKEY()
      method to receive special GT event.
    + Added reaction to 'lostfocus' event.
    + Added better demonstration for lost/got focus events.
    - Deleted GTWVG dependent elements, to adhere to core/contrib
      separation rule.
2010-05-15 13:14:26 +00:00
Viktor Szakats
7665582530 2010-05-13 10:01 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* tests/test.prg
    ! Implemented missing function.

  * package/winuni/RELNOTES
    * upx 3.04 -> 3.05

  * contrib/hbct/ctcom1.c
    * Minor formatting.
2010-05-13 08:01:33 +00:00
Viktor Szakats
d84091f774 2010-04-14 13:49 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- tests/testcgi.prg
    - Deleted.
2010-04-14 11:49:37 +00:00
Viktor Szakats
20d027baaf 2010-04-06 15:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* tests/mt/mttest09.prg
    ! Fixed to use native core function instead of XPP wrapper.
      Thanks to Rafa for reporting it.
2010-04-06 13:02:26 +00:00
Przemyslaw Czerpak
9ec9384fa5 2010-04-01 16:44 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtwin/gtwin.c
  * harbour/src/rtl/gtwvt/gtwvt.h
  * harbour/src/rtl/gtwvt/gtwvt.c
    * modified to use in UNICODE builds current HVM CP if user
      has not set display CP using HB_SETTERMCP() or HB_SETDISPCP()

  * harbour/src/rtl/gtwvt/gtwvt.h
  * harbour/src/rtl/gtwvt/gtwvt.c
    * eliminated most of HB_TCHAR_*() translations
    % optimized setting SelectCopy menu item name to avoid unnecessary
      memory allocation and to use hb_str*() API
    ! allow to set window title before displaying the window
      (HB_GTI_WINTITLE)
    % use hb_str*() API for window title setting
    ! removed redundant window title setting just after creating new window
    ! pass pointer to HB_GTWVT structure as lpParam in CreateWindow()
      function to allow WM_CREATE message processing and early window
      handle registration

  * harbour/tests/cpinfo.prg
    * added HB_SETTERMCP() setting

  * harbour/examples/gtwvw/tests/cbtest1.prg
  * harbour/examples/gtwvw/tests/cbtest6.prg
  * harbour/examples/gtwvw/tests/ebtest7.prg
    * small cleanup to compile with Harbour
2010-04-01 14:44:19 +00:00
Viktor Szakats
e3933c2f25 2010-03-22 02:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
- tests/bnch_win.bat
    - Deleted benchmarking aid.
2010-03-22 01:53:11 +00:00
Przemyslaw Czerpak
7da18ea3dc 2010-03-04 11:06 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbcompdf.h
  * harbour/src/vm/macro.c
    % changed HB_PCODE_INFO structure to eliminate one memory allocation
      in macro compiler

  * harbour/include/hbapi.h
  * harbour/include/hbvm.h
  * harbour/src/vm/codebloc.c
  * harbour/src/vm/itemapi.c
  * harbour/src/vm/hvm.c
    * changed second parameter in hb_codeblockGet*() function to 'int'
    * merged codeblock execution context setting into one function
      hb_vmDoBlock() and removed hb_codeblockEvaluate()
    + added new internal function hb_vmEval()

  * harbour/src/vm/arrays.c
    % use hb_vmEval()

  * harbour/src/macro/macrolex.c
    * added missing const to maro text declaration

  * harbour/tests/speedtst.prg
    ! fixed to work with CLIP and xHarbour after we changed
      SECONDSCPU() to HB_SECONDSCPU() - all these compilers and FlagShip
      have SECONDSCPU() function
2010-03-04 10:06:32 +00:00
Viktor Szakats
6fba6b8a05 2010-02-26 23:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/tget.prg
  * tests/rto_get.prg
    ! Fixed to convert input to uppercase for "Y" picture mask.
    + Added regression test for this case.
2010-02-26 22:19:52 +00:00