Commit Graph

973 Commits

Author SHA1 Message Date
Przemyslaw Czerpak
f9823284df 2011-02-28 21:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbpp.h
  * harbour/include/hbapilng.h
  * harbour/include/hbapi.h
  * harbour/include/hbcomp.h
  * harbour/src/pp/pplib.c
  * harbour/src/pp/ppcore.c
  * harbour/src/common/hbstr.c
  * harbour/src/rtl/sha2.c
  * harbour/src/rtl/hbinet.c
  * harbour/src/compiler/ppcomp.c
  * harbour/src/compiler/hbfunchk.c
  * harbour/src/compiler/hbgenerr.c
  * harbour/contrib/hbtip/utils.c
    % added missing const to some variable declarations so they can be
      stored in readonly segments

  * harbour/doc/xhb-diff.txt
    ! fixed few typos
2011-02-28 20:43:05 +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
d26fa9bb12 2011-02-28 14:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbsocket.c
    ! Added hb_socketGetHostName() stub when HB_SOCKET_OFF.

  * contrib/hbrun/hbrun.hbp
    + Linking in hbpmcom on dos platform. [Tamas]
2011-02-28 13:02:14 +00:00
Viktor Szakats
a56c3ecac5 2011-02-28 08:50 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtcore/hbqt_pointer.cpp
  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
  * contrib/hbqt/qtcore/hbqt_init.cpp
    + Patch from Francesco. (more slot callbacks + minor formatting patches of mine)

  * src/rtl/gtwvt/gtwvt.h
  * src/rtl/gtwvt/gtwvt.c
    * Minors.
2011-02-28 07:50:42 +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
a9df1ad291 2011-02-24 22:40 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/fscopy.c
    ! HB_USHORT -> HB_SIZE after recent mod.
2011-02-24 21:41:21 +00:00
Viktor Szakats
124dbb123a 2011-02-22 22:17 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/fscopy.c
    ! Use hb_fsReadLarge()/hb_fsWriteLarge().
    + Added TODO to use hb_fileExtOpen().
    ! Deleted FXO_DEFAULTS after carefully checking there is no
      more "extra" feature of hb_fsExtOpen() enabled in this specific
      scenario.
2011-02-22 21:18:17 +00:00
Viktor Szakats
3db8ee700c 2011-02-22 18:06 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/fscopy.c
    * Restored open mode. Still waiting for proper fix.
    * Upped buffer to 65536.

  * config/qnx/gcc.mk
  * config/bsd/gcc.mk
  * config/bsd/clang.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
  * config/linux/gcc.mk
  * config/linux/clang.mk
  * config/dyn.mk
  * config/cygwin/gcc.mk
  * config/symbian/gcc.mk
    * Renamed DYN_FILE2/DYN_NAME2 to DYN_FILE/NAME_NVR.
      (NVR for 'versionless')
2011-02-22 17:09:50 +00:00
Viktor Szakats
7b2883a9e3 2011-02-22 16:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/dynlib/2nd/Makefile
  * src/dynlib/Makefile
  * config/none.mk
  * config/vxworks/gcc.mk
  * config/vxworks/diab.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
  * config/linux/gcc.mk
  * config/dyn.mk
  * config/os2/gcc.mk
    * DYNNAME2 -> DYNNAME
2011-02-22 15:01:39 +00:00
Viktor Szakats
788ed22d93 2011-02-22 15:53 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/dynlib/2nd/Makefile
  * src/dynlib/Makefile
  * config/none.mk
  * config/dyn.mk
    % Dropped DYNNAME. Now using DYNNAME2 only.
    % Dropped HB_DYNLIB_NAME*. Now using HB_DYNLIB_BASE* only.
    ; TODO: Rename DYNNAME2 to DYNNAME, rename HB_DYNLIB_BASE* to HB_DYNLIB_NAME*.
2011-02-22 14:55:12 +00:00
Mindaugas Kavaliauskas
8054719cd8 2011-02-22 14:20 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/src/rtl/fscopy.c
    * rewrote using hb_fsOpen()/hb_fsCreate() as requested by Viktor
2011-02-22 12:21:22 +00:00
Viktor Szakats
251a3a00ee 2011-02-22 13:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/postinst.hbs
  * config/global.mk
  * config/bin.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
  * config/linux/gcc.mk
  * config/dyn.mk
  * config/os2/gcc.mk
    * Trying to cleanup the harbour dynlib name situation.
      Here's the plan (which is similar to what's used in contrib area):
         win, wce: harbour-21[-subtype][.dll/.lib]
         dos, os2: harbour[.dll|.???]
         darwin:
            libharbour.2.1.0.dylib
            libharbour.2.1.dylib -> (symlink) [compatibility level]
            libharbour.dylib -> (symlink)
         *nix:
            # libharbour.s?.2.1.0
            # libharbour.s?.2.1 -> (symlink) [soname]
            # libharbour.s? -> (symlink)
    ; It's possible it's broken now. Pls test linux/gcc and darwin.
      'install' was not tested.
    ; TODO: Clean variable usage, there is some redundancy, plus
            some places where current solution is not generic, f.e.
            using HB_VER_*, HB_DYNLIB_BASE vs. HB_DYNLIB_NAME, etc.

  * harbour/src/rtl/fscopy.c
    * Reverted 2011-02-22 12:27 UTC+0200 Mindaugas Kavaliauskas
      which made behavior inconsistent with rest of similar
      functions like FERASE(), FRENAME(), which also don't throw
      RTE if bad parameter is passed, but return FERROR()
      and failure instead.
      Also restored _SET_DEFAULT handling to not create a special case
      compared to __COPYFILE() behavior, ia. some features like
      FXO_SHARELOCK are still enabled while FXO_DEFAULT is not).
      Pls rewrite it using hb_fsOpen()/hb_fsCreate() if that behavior
      bothers you.
2011-02-22 12:13:08 +00:00
Mindaugas Kavaliauskas
899023ede0 2011-02-22 12:27 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/src/rtl/fscopy.c
    * added runtime error for HB_FCOPY() bad param types only
    * made a function HB_FCOPY() a pure file system function 
      does not dependent on _SET_DEFAULT setting
    ; File open mode is not altered a avoid any influence on OS/2 
      behaviour if source and destination files are the same (see 
      ChangeLog entry at 2009-11-24 16:57). I guess, hb_fsExpOpen() 
      still can be changed to hb_fsOpen() with FO_EXCLUSIVE, 
      FO_CREAT, and FO_TRUNC but I'm unable to test it, so, I leave 
      current code.
2011-02-22 10:27:49 +00:00
Viktor Szakats
45bb463f06 2011-02-21 20:15 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/fscopy.c
    * Reverted my recent changes.
    ; Pls read past ChangeLog entries as to why this function
      is implementet the way it is make changes which don't break
      f.e. OS/2. Not throwing an RTE from this function is
      intentional.
    * Added parantheses to recent patch to hb_fsCopy().
2011-02-21 19:17:07 +00:00
Viktor Szakats
056e778977 2011-02-21 18:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/fscopy.c
    ! Fixed missing header in prev.
    ! Fixed to check empty value of parameters properly.
2011-02-21 17:25:43 +00:00
Viktor Szakats
743a53e052 2011-02-21 16:40 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/fscopy.c
    ! HB_FCOPY(): RTE when either of the parameters is not string.
    - Deleted FXO_DEFAULTS from open flags, so HB_FCOPY() and hb_fsCopy()
      don't depend on _SET_DEFAULT setting anymore.
2011-02-21 15:41:53 +00:00
Mindaugas Kavaliauskas
60e70eb29b 2011-02-21 16:28 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbwin/axcore.c
    * return NIL instead of runtime error if failed to obtain 
      connection point
    ; Please test
  * harbour/src/rtl/fscopy.c
    * added error check for read operation
2011-02-21 14:29:54 +00:00
Viktor Szakats
79d4a781a4 2011-02-21 13:59 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/filesys.c
    + fs_win_set_drive(): Setting SEM_FAILCRITICALERRORS before
      SetCurrentDirectory() call to avoid screen msg in some error
      scenarios. Thanks to vbdasc (final patch has two modifications,
      so pls retest it).
    + hb_fsChDir(): Applied similar logic as above.
    * Using FALSE instead of 0 in both function above.

  * contrib/hbssl/evppkey.c
    * Comment.
2011-02-21 13:00:55 +00:00
Viktor Szakats
b92e1176bd 2011-02-20 01:54 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/compiler/gencc.c
    ! Fixed typos in 2011-02-15 13:39 UTC+0100 Przemyslaw Czerpak
      breaking strlarge and strhidden VM ops.
2011-02-20 00:54:43 +00:00
Przemyslaw Czerpak
6156673ff3 2011-02-19 15:41 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbsocket.c
    ! added missing casting for C++ mode
2011-02-19 14:41:49 +00:00
Viktor Szakats
18e94d4e59 2011-02-19 09:27 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/Makefile
  + src/rtl/hbfilehc.c
  * src/rtl/hbfilehi.prg
    % Rewritten high-level HB_FNAME*() functions in C.
2011-02-19 08:28:16 +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
e4be7fd9c0 2011-02-17 13:57 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/achoice.prg
    + Added TOFIX.

  * src/rtl/hbrandom.c
    ! Fixed type and initialization of a variable.

  * utils/hbmk2/hbmk2.prg
    * Formatting.
2011-02-17 12:57:57 +00:00
Viktor Szakats
2b78d2754b 2011-02-17 10:28 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbrandom.c
    ! Typo in comment. [Tamas]
    + Enabled using DBL_EPSILON in hb_random_num() on Windows
      platform, except bcc, which - according to the comment
      from original author - has some problems with this value.

  * package/harb_win.rc
  * contrib/hbrun/hbrun.rc
    * Modified manifest inclusion to be friendly with all Windows
      compilers (ie. not break them with their own headers and
      predefined macro definitions).
2011-02-17 09:29:13 +00:00
Przemyslaw Czerpak
cdde182682 2011-02-15 20:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbthread.h
  * harbour/src/vm/hvm.c
  * harbour/src/vm/thread.c
    * on main thread exit unlock all main thread PRG mutexes before other
      thread terminates and EXIT functions are executed.
    * wake-up all thread waiting on subscribe operation when main thread
      is terminated.
2011-02-15 19:55:35 +00:00
Przemyslaw Czerpak
6685b34dcb 2011-02-15 13:39 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/compiler/gencc.c
    * added workaround for C compilers which cannot compile very long
      strings. This hack is not enabled by default and can be enabled
      by __HB_CSTRING_SIZE_MAX[=<maxsize>] macro (by default <maxsize>
      is 4KB).
2011-02-15 12:39:12 +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
Przemyslaw Czerpak
a3d538cae5 2011-02-15 00:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapicls.h
  * harbour/src/vm/classes.c
    + added new C function
         HB_SIZE hb_clsGetVarIndex( HB_USHORT uiClass, PHB_DYNS pVarSym );
      which can be used as hack to speedup accessing some object instance
      variables
2011-02-14 23:48:59 +00:00
Mindaugas Kavaliauskas
517e64cf64 2011-02-14 23:30 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/src/vm/classes.c
    ! fixed typo
2011-02-14 21:30:49 +00:00
Przemyslaw Czerpak
11654224c1 2011-02-14 19:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbclass.ch
    + added some class(y) compatible commands for delegated messages

  * harbour/include/hboo.ch
  * harbour/src/vm/classes.c
  * harbour/src/rtl/tclass.prg
    * native support for delegated messages - work in progress

  * harbour/src/rtl/hbsocket.c
    ! fixed error checking to eliminate possible error code overload

  * harbour/ChangeLog
    * marked old TODO as [DONE]
2011-02-14 18:48:59 +00:00
Viktor Szakats
f9dbe711f3 2011-02-14 17:19 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbfilehi.prg
    ! Silly cut&paste typo causing major problem in some cases
      in HB_PATHNORMALIZE(). (in 2011-02-11 12:04 UTC+0100 Viktor Szakats)
      Thanks Teo for reporting the darwin/gcc problem it caused.
2011-02-14 16:20:26 +00:00
Viktor Szakats
6be6a26381 2011-02-14 11:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbdoc.prg
    * Minor fix to not add padding when content line is empty.

  * doc/en/1stread.txt
  * contrib/hbnf/doc/en/numlock.txt
  * contrib/hbnf/doc/en/mouse1.txt
  * contrib/hbnf/doc/en/mkdir.txt
  * contrib/hbnf/doc/en/menu1.txt
  * contrib/hbnf/doc/en/byteor.txt
  * contrib/hbnf/doc/en/mouse2.txt
  * contrib/hbnf/doc/en/clrsel.txt
  * contrib/hbnf/doc/en/rmdir.txt
  * contrib/hbnf/doc/en/scancode.txt
    ! Fixed unaligned content lines.

  * doc/en/*.txt
    ! Restored.
2011-02-14 10:28:37 +00:00
Viktor Szakats
73bdced7d3 2011-02-14 10:20 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbdoc.prg
    + Added logic to detect in which column the actual 
      content starts and read it accordingly.
      It uses the first content line as a base, so if 
      that one is wrong, the content will be read wrongly 
      and such NG sources should be fixed manually.
    * On output it will always start content in column 8 (base 1).

  * contrib/hbmysql/mysql.c
    ! MYSQL_REAL_ESCAPE_STRING() fixed taking wrong params.
      Reported by Bacco, thanks!

  * contrib/hbrun/pullext.prg
  * contrib/hbrun/hbrun.prg
  * contrib/hbrun/plugins.prg
  * contrib/hbrun/headers.prg
    * Formatting.
2011-02-14 09:21:22 +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
0703b5799d 2011-02-13 13:43 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
  * src/dynlib/Makefile
  + src/dynlib/2nd
  + src/dynlib/2nd/Makefile
    * Changed so that _HB_BUILD_DYN_ST=yes now creates a separate,
      secondary dll in ST mode, called harbourst/harbours.
2011-02-13 12:47:03 +00:00
Pritpal Bedi
b1aa6936e2 2011-02-12 12:59 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* src/rtl/browse.prg
    ! Reversed some of the changes in previous commit.
      Still I am trying to understand how a record can be 
      edited without RLock() ( only for lAppend == TRUE, it is OK ).
2011-02-12 21:02:59 +00:00
Przemyslaw Czerpak
3e1909f6bc 2011-02-12 19:02 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbsocket.c
     * added HB_HAS_GETHOSTBYADDR to control access to gethostbyname()
       function
     * added alternative implementation of hb_socketGetHostName()
       function when gethostbyname() is not available
2011-02-12 18:02:31 +00:00
Pritpal Bedi
fd375eb577 2011-02-11 14:27 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* src/rtl/browse.prg
    % Optimized. On some RDD some points were a killer.
2011-02-11 22:30:12 +00:00
Viktor Szakats
31f4547614 2011-02-11 19:27 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/base64d.c
    ! Err...
2011-02-11 18:27:27 +00:00
Viktor Szakats
3aea6dfbdc 2011-02-11 19:24 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/base64d.c
    ! Fixed TOFIX to handle too large result. Now it will RTE.
      Please check me.

  * src/rtl/hbrandom.c
    * Formatting.

  * src/rtl/space.c
    * Fixed commented call.
2011-02-11 18:24:49 +00:00
Przemyslaw Czerpak
84c23a8dcc 2011-02-11 14:46 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/base64d.c
    ! fixed destination buffer size calculation - it was too small
    ! fixed to work with platform/compilers where 'char' is unsigned type.
      Please NEVER use 'char' type in math calculation without explicit
      'signed' or 'unsigned' specifier. On some platforms (i,e. MIPS Linux
      ports or in all OpenWatcom builds) 'char' is unsigned type. I once
      cleaned whole code and fixed all wrong places. I do not want to
      repeat it - sometimes is hard to locate problematic places.
    ! fixed index to ASCII decode table verification - '{' was accepted
      as valid base64 char.
      BTW this code works only on ASCII based machines. It's not the
      one code with such limitation in Harbour SVN anyhow it would be
      good to mark such limitation - maybe someone will want to port
      Harbour to some IBM mainframe machines.
    % removed redundant code
2011-02-11 13:46:16 +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
a12d2503d0 2011-02-11 12:04 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbfilehi.prg
    ! Fixed HB_PATHNORMALIZE() recent change to strip double pathseps.
      It was slashing ending pathsep too, which caused hbmk2 env detection
      to die and not find libs.
      NOTE: HB_PATHNORMALIZE() got very inefficient after this addition,
            so if I may chose to restore stable versions from hbmk2 code.
    ; There are at least two remaining bugs in recent changes.
2011-02-11 11:05:24 +00:00
Viktor Szakats
af945f7b1f 2011-02-11 07:48 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Readded REQUEST HB_FSETATTR. It was used in conditional 
      code, so it was not linked on *nix builds, causing 
      failure to run postinst.hbs.

  * src/rtl/hbrandom.c
    * Minor formatting.
2011-02-11 06:48:27 +00:00
Viktor Szakats
d09ba62c09 2011-02-11 00:10 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/base64d.c
    ! HB_BASE64DECODE(): Forgot to return sized buffer in recently 
      added C version of this function.
    ; Please review and/or stree-test this function.
2011-02-10 23:11:16 +00:00
Viktor Szakats
1db06691e5 2011-02-10 21:50 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/dynlib/Makefile
  * config/postinst.hbs
  * config/global.mk
  * config/bin.mk
    * Cleaned up names after previous change.
2011-02-10 20:51:49 +00:00
Viktor Szakats
64eec33e40 2011-02-10 19:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
- src/dynlib/mt
  * src/dynlib/Makefile
  * src/vm/maindllp/dllpcode.c
  * package/winuni/mpkg_win_uni.bat
  * package/winuni/mpkg_win_uni.nsi
  * utils/hbmk2/hbmk2.prg
  * config/postinst.hbs
  * config/global.mk
  * config/bin.mk
    * Changed to have only one harbour dll, and this one with MT support.
      This means the old MT mode dll named harbourmt/harbourm is no more
      and the old ST mode dll vanished also. This will result in much 
      cleaner layout of Harbour binary tree, smaller distribution size, 
      and unambigous dll tree when linking an app with dll multiple 
      components (f.e. contribs).
      If someone wants to build an ST mode harbour dll, she can use the 
      internal build-time option: _HB_BUILD_DYN_ST=yes
    ; Please test.

    ; TODO: Do a final cleanup on internal variable names to not have "ST" in them.
2011-02-10 18:21:32 +00:00
Przemyslaw Czerpak
59b05913ea 2011-02-08 14:36 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/tbrowse.prg
    ! set default minimal number of visible rows to ::rowpos() when
      ::configure() method is called - clipper compatibility fix.
2011-02-08 13:36:59 +00:00
Przemyslaw Czerpak
ccd1b81241 2011-02-08 09:02 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtwvt/gtwvt.c
    * redefine [GS]etWindowLongPtr() -> [GS]etWindowLong() in one place only
      Please verify it with MSC builds.
2011-02-08 08:02:46 +00:00
Viktor Szakats
0a54752987 2011-02-08 00:56 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/common/hbverdsp.c
    + Instead of adding "(UNICODE)" marker in build info for UNICODE 
      builds, now it will add "(WINANSI)" for non-UNICODE builds.

  * contrib/hbnetio/utils/hbnetio/netiosrv.prg
    * Using more hb_StrFormat()

  * contrib/hbnetio/utils/hbnetio/netiocon.prg
    * Tweak to one cmd help.

  * utils/hbrun/hbrun.prg
    * Formatting.
2011-02-07 23:58:47 +00:00