Commit Graph

531 Commits

Author SHA1 Message Date
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
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
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
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
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
cae0a25d90 2011-02-07 22:46 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/3rd/zlib/Makefile
    ! Fixed pocc64 related change in 2011-02-01 16:59 UTC+0100 Viktor Szakats
      Which broke zlib in harbour dll on all win platforms.

      Unfortunately pocc64 is broken (6.5 even) due to bugs in the compiler,
      so I _very strongly suggest_ to take out pocc64 from tests,
      but at least not use HB_BUILD_CONTRIB_DYN=yes, when building
      it.

  * src/rtl/base64d.c
    * Copyright header tweak.
2011-02-07 21:46:30 +00:00
Przemyslaw Czerpak
649b7d02d5 2011-02-07 14:43 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gttrm/gttrm.c
    ! fixed typo in key escape sequence

  * harbour/include/hbsocket.h
  * harbour/src/rtl/hbsocket.c
    + added new C function:
         char * hb_socketGetHostName( const void * pSockAddr, unsigned len );

  * harbour/src/rtl/hbsockhb.c
    + added new PRG function:
         HB_SOCKETGETHOSTNAME( <aAddr> ) --> <cHostName>
2011-02-07 13:43:38 +00:00
Viktor Szakats
4d140dc2d6 2011-02-03 22:43 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/harbour.hbx
  * src/rtl/hbfilehi.prg
    * Renames in new path/fn handling functions.
      * HB_FNAMEDIRGET()     -> HB_FNAMEDIR()
      * HB_FNAMENAMEGET()    -> HB_FNAMENAME()
      * HB_FNAMENAMEEXTGET() -> HB_FNAMENAMEEXT()
      * HB_FNAMEEXTGET()     -> HB_FNAMEEXT()
      * HB_FNAMEEXTDEF()     -> HB_FNAMEEXTSETDEF()

  ; Patch from Tamas:

  * src/rtl/hbcom.c
    + adds minix serial device names to hbcom

  * utils/hbmk2/hbmk2.prg
    ! Fixed RTE regression in previous recent minix patch.

  * config/dos/djgpp.mk
    ! Applied previous C++ gcc flag patch also to djgpp.
2011-02-03 21:44:01 +00:00
Viktor Szakats
e974cbc2fc 2011-02-03 18:16 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbsocket.c
  * contrib/xhb/xhb.hbp
  * contrib/3rd/sqlite3/sqlite3.hbp
  * contrib/hbmzip/3rd/minizip/minizip.dif
  * contrib/hbmzip/3rd/minizip/ioapi.h
  * INSTALL
    ; Further Minix patch from Tamas:
    * contains small touchups to src/rtl/hbsocket.c to bring the previous
      modifications in line with the rest, plus typo fixes
    * disables contrib/xhb until minix gets the features needed
    * disables contrib/3rd/sqlite3, pending investigation
    * makes contrib/hbmzip work
    * adds some notes to INSTALL
2011-02-03 17:17:27 +00:00
Viktor Szakats
530f92449e 2011-02-03 13:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/harbour.hbx
  * src/rtl/hbfilehi.prg
    * HB_PATHMAKEABSOLUTE() swapped two input parameters. Now: ( <PathAbs>, <PathRel> )
    * HB_PATHMAKEABSOLUTE() renamed to HB_PATHJOIN()
    * HB_PATHMAKERELATIVE() 3rd (<lForceRelative>) parameter default changed to .T.
    * HB_PATHMAKERELATIVE() renamed to HB_PATHRELATIVIZE()
    * HB_DIRADDPATHSEP() renamed to HB_DIRSEPADD()
    * HB_DIRDELPATHSEP() renamed to HB_DIRSEPDEL()
    ; HB_PATHNORMALIZE() name finalized

  * contrib/hbide/idemisc.prg
    - Deleted unused hbmk2_PathMakeRelative()
2011-02-03 12:58:47 +00:00
Przemyslaw Czerpak
a504a1e2c9 2011-02-03 13:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbsocket.c
    * added workaround to pacify warning in some winsock header files
      defining SOCKET as signed integer
2011-02-03 12:32:36 +00:00
Viktor Szakats
93e1f182c4 2011-02-03 09:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbthread.h
  * include/hbdefs.h
  * include/hbsetup.h
  * include/hbatomic.h
  * include/hbfloat.h
  * src/vm/task.c
  * src/common/hbgete.c
  * src/common/hbver.c
  * src/common/hbprintf.c
  * src/rtl/gtcrs/gtcrs.h
  * src/rtl/hbsocket.c
  * utils/hbmk2/hbmk2.prg
  * config/detplat.mk
  * config/global.mk
  * config/detect.mk
  + config/minix
  + config/minix/libs.mk
  + config/minix/gcc.mk
  + config/minix/ack.mk
  + config/minix/global.mk
    + Added Harbour port for minix 3 operating system.
    ; Created by Tamas Tevesz. Many thanks!
2011-02-03 08:20:28 +00:00
Viktor Szakats
0938c26a1e 2011-02-01 16:06 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp
    ! Fixed to build with pocc after recent png update.

  * src/rtl/hbfilehi.prg
    * Comments.
2011-02-01 15:07:13 +00:00
Przemyslaw Czerpak
0469427295 2011-02-01 03:34 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/hashfunc.c
  * harbour/src/vm/hashes.c
    * moved HB_HASH_RESORT setting to avoid potential problems when some
      3-rd party code didn't set it correctly.

  * harbour/src/rtl/itemseri.c
    ! fixed restoring hash arrays with strict order - they were not resorted
2011-02-01 02:34:25 +00:00
Viktor Szakats
b96ebc81ea 2011-01-31 22:50 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbfilehi.prg
    + PATHNORMALIZE(): Will now strip double pathseps, except the 
      UNC root ones. I hope. Pls make tests.
2011-01-31 21:51:02 +00:00
Viktor Szakats
a0e44fe17f 2011-01-31 22:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/harbour.hbx
  * src/rtl/hbfilehi.prg
    ! HB_DIRADDPATHSEP() fixed to not add pathsep to plain dirspec.
    ! HB_DIRDELPATHSEP() fixed to not remove double pathspec from UNC root.
    ! Fixed to work if HB_OSDRIVESEPARATOR()'s length is not 1:
      HB_PATHMAKERELATIVE(), HB_DIRUNBUILD(), HB_DIRDELPATHSEP().
      (QUESTION: is this a valid possibility, or is this over-design?)
    + Added TODO to HB_CWD() to also be able to change dir.
      This will require adding Harbour versions of DIRCHANGE() and
      DISKCHANGE(), or moving the implementation to C level.
      (possibly the latter)
    - Deleted HB_FNAMEDIREXTSET(). Doesn't satisfy a general need.
2011-01-31 21:29:51 +00:00
Viktor Szakats
f3f1d04f80 2011-01-31 16:14 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbfilehi.prg
    % Minor optimization, cleanups.

  * contrib/hbide/idemisc.prg
  * contrib/hbide/ideprojmanager.prg
    * Cleaned PathProc() to have the name PathMakeAbsolute().
      Deleted duplicate copies under different names.
2011-01-31 15:14:54 +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
396ad654d2 2011-01-31 00:59 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnetio/utils/hbnetio/netiosrv.prg
    + Added client address filtering engine for both data and
      management interface. It will do quick match against
      IP, then wildcard match against IP, then quick host name match,
      wildcard hostname match. Block filter has priority over
      allow filter. It's possible to control via management RPC,
      console UI not yet extended to use it. A lot of other
      TODO is quickly generated by this feature, f.e. making
      settings persistent, supporting IP subnet masks, etc.
      I didn't test this at all, pls do.

  * src/rtl/strmatch.c
    ! Typo in comment.
2011-01-31 00:00:27 +00:00
Viktor Szakats
3742c1f6f6 2011-01-30 20:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/Makefile
  - src/rtl/base64.prg
  + src/rtl/base64d.c
    + Replaced HB_BASE64DECODE() with an optimized C implementation.
      The core code is borrowed from libb64 project
      (http://sourceforge.net/projects/libb64) and has been places
      to public domain by author Chris Venter.
      I've reformatted the code and made some minor modifications.
      I had used the Harbour license for the whole file.
      This code is 50-100 times faster than old Harbour code doing
      the same job. Please review it, especially the buffer size
      calculation.
      BTW the C code uses a unique trick called 'Duff's device'.
2011-01-30 19:00:54 +00:00
Viktor Szakats
fd56026109 2011-01-30 15:36 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/listbox.prg
    ! LISTBOX(): Fixed RTE (and 5.3 incompatibility) when 
      non-logical/non-NIL type is passed as 5th parameter.
      This makes the ListBox() example included in 5.3 NG behave 
      exactly the same in Harbour as in C5.3. (Yes, the 
      example passes wrong parameter, plus it has a compiler 
      stopping typo, and it still RTEs even after the fix, 
      so better find some better example.)
2011-01-30 14:39:55 +00:00
Viktor Szakats
8a16d1405a 2011-01-30 00:27 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/listbox.prg
    ! Fixed casing in some words in license gone wrong in a very 
      old reformatting session.
2011-01-29 23:28:17 +00:00
Viktor Szakats
045014a57f 2011-01-30 00:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/listbox.prg
    ! _LISTBOX_(): Fixed very old bug (can't access ViewVC ATM, but around ~r7550)
      causing incompatibility with C5.3 regarding IsOpen initial value. It was
      wrongly initialized by parameter what is now correctly renamed to lScrollBar.
      Was wrongly named lIsOpen before this fix.
    % Don't pass default style value to ScrollBar()
2011-01-29 23:22:39 +00:00
Viktor Szakats
8874af4808 2011-01-29 16:33 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/einstvar.prg
  * src/rtl/einstv52.prg
    * Fixed to use manifest constants. Two more.
2011-01-29 15:33:49 +00:00
Viktor Szakats
3572482250 2011-01-29 16:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/listbox.prg
    * Internal var renamed to reflect its type.

  * src/rtl/einstvar.prg
  * src/rtl/einstv52.prg
    * Fixed to use manifest constants.

  * utils/hbrun/hbrun.prg
    ! Fixed to allow case-insensitive match for headers on 
      non-*nix platforms.
2011-01-29 15:26:56 +00:00
Viktor Szakats
888e666f9c 2011-01-27 10:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/tget.prg
    * Formatting.

  * contrib/hbnetio/utils/netiosrv/netiocui.prg
    + Added some SETs.
2011-01-27 09:22:02 +00:00
Przemyslaw Czerpak
5110687827 2011-01-13 10:44 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/stuff.c
    * minor modification which should pacify warnings in some compilers

  * harbour/src/rtl/gtgui/gtgui.c
    * removed unnecessary assignment to pacify BCC warning

  * harbour/contrib/hbxdiff/hbxdiff.c
    ! fixed file handle to pointer casting - on some platforms/C compilers
      old code could cause compile time warnings or even errors
2011-01-13 09:44:53 +00:00
Przemyslaw Czerpak
eff6876f82 2011-01-10 22:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtgui/gtgui.c
    * use MB_ABORTRETRYIGNORE instead of MB_RETRYCANCEL only when defined
      by default and program is executed in W2K or newer Windows version
2011-01-10 21:35:54 +00:00
Przemyslaw Czerpak
13b7273d44 2011-01-10 20:02 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtgui/gtgui.c
    + added basic support for redirecting ALERT() to MessageBox() in
      MS-Windows GTGUI builds. Please remember that MessageBox() supports
      only few predefined buttons so it's not possible to show all user
      options. Anyhow it should be enough to present error messages
      generated by default error handler.
2011-01-10 19:03:02 +00:00
Przemyslaw Czerpak
75a272cf20 2011-01-08 19:25 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/filesys.c
    ! fixed function name in HB_TRACE() message

  * harbour/src/rdd/sdf1.c
  * harbour/src/rdd/delim1.c
    * add CHR(26) at the end of COMMA and SDF files only when _SET_EOF is .T.
2011-01-08 18:26:10 +00:00
Przemyslaw Czerpak
cb9a4d5af8 2011-01-08 03:27 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/filesys.c
    + added new macros HB_WIN_IOREAD_LIMIT and HB_WIN_IOWRITE_LIMIT
      They are used to define maximal size of single IO read and
      write operations. In Win64 builds they are set by defauly
      to HB_U32_MAX. It's possible to rebuild Harbour with above
      macros setting some smaller limits.
2011-01-08 02:27:54 +00:00
Przemyslaw Czerpak
2be18a9c27 2011-01-05 10:28 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbproces.c
    ! fixed hb_fsProcessExec() in DOS, OS2 and WinCE builds and 
      hb_fsProcessOpen() in OS2 builds to close handles open for
      stdin, stdout and stderr communication
2011-01-05 09:28:47 +00:00
Przemyslaw Czerpak
1363a5c8fb 2010-12-23 22:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/fieldbl.prg
    ! fixed FieldBLock() and FieldWBLock() to be CA-Cl*pper compatible
      (they should return NIL for field names which are not valid
      identifiers and generate RTE during evaluation if field does
      not exist)
2010-12-23 21:40:45 +00:00
Przemyslaw Czerpak
8f2656c604 2010-12-21 17:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbexprop.h
    * removed unused declaration

  * harbour/src/rtl/filesys.c
    * replaced ULONG_MAX used as 32 bits mask with 0xFFFFFFFF

  * harbour/src/vm/macro.c
  * harbour/src/rdd/dbfcdx/dbfcdx1.c
  * harbour/src/rdd/hsx/hsx.c
  * harbour/src/rdd/dbffpt/dbffpt1.c
    * pacified few MSVC warnings
2010-12-21 16:17:26 +00:00
Przemyslaw Czerpak
058d080c64 2010-12-17 02:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/cdpapi.c
    * removed dummy assignment

  * harbour/src/lang/msgpl852.c
  * harbour/src/lang/msgplmaz.c
  * harbour/src/lang/msgpliso.c
  * harbour/src/lang/msgplwin.c
    ! fixed one message translation

  * harbour/config/dos/watcom.mk
  * harbour/config/win/watcom.mk
  * harbour/config/linux/watcom.mk
  * harbour/config/os2/watcom.mk
    * disable explicitly some Open Watcom warnings in 3rd party code
      which we can safely ignore when HB_BUILD_WARN='no'

  * harbour/utils/hbmk2/hbmk2.prg
    * disable explicitly some Open Watcom warnings in 3rd party code
      which we can safely ignore when warning level is low
2010-12-17 01:00:28 +00:00