Commit Graph

920 Commits

Author SHA1 Message Date
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
Przemyslaw Czerpak
395a186e0a 2011-02-03 12:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rdd/dbf1.c
    ! fixed DBI_ENCRYPT to use previously set password if no new one
      is given

  * harbour/src/rdd/hbsix/sxtable.c
    ! fixed wrong parameter checking in SX_SETPASS()
    ! removed wrong comment about optional parameter in SX_DBFENCRYPT()

  * harbour/src/vm/cmdarg.c
    ! added missing OS CP conversion in HB_ARGV()

  * harbour/contrib/hbct/ctmisc.prg
    * use HB_PROGNAME() instead of HB_ARGV( 0 ) in EXENAME()

  * harbour/contrib/hbnetio/readme.txt
    ! fixed two typos in description
2011-02-03 11:31:00 +00:00
Viktor Szakats
3f0fe45d21 2011-02-03 12:27 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/3rd/pcre/Makefile
    ! Disabled inttypes.h also for msvcarm.
      Pls test.
2011-02-03 11:28:39 +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
c9521fc9a7 2011-02-01 16:59 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/3rd/zlib/Makefile
    ! Deleted ugly pocc64 workaround for zlib dynamic build.
      This should fix link errors when using HB_BUILD_CONTRIB_DYN=yes.
2011-02-01 16:00:23 +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
Przemyslaw Czerpak
0e49bea8f9 2011-01-31 00:54 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/pp/ppcore.c
    ! fixed to not strip path in .d dependencies list for files included
      from -I<directories>

  * harbour/utils/hbmk2/hbmk2.prg
    % do not use FindHeader() for dependencies list extracted from .d
      files - they should contain full paths so it's not necessary
2011-01-30 23:54:38 +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
7caf68b601 2011-01-27 07:29 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rdd/wacore.c
    % minor optimization

  * harbour/src/rdd/usrrdd/usrrdd.c
    + extended USRRDD_ID() to accept RDD name as parameter

  * harbour/src/rdd/usrrdd/rdds/arrayrdd.prg
  * harbour/src/rdd/usrrdd/rdds/logrdd.prg
    ! fixed to not use:
         ( AScan( RDDLIST( RDT_FULL ), "ARRAYRDD" ) - 1 )
      to extract RDD ID.
      In theory it could work if RDDLIST( 0 ) is used instead
      of RDDLIST( RDT_FULL ) anyhow it's much more efficient to
      simply store RDD ID in static variable inside *_GETFUNCTABLE()
      function
2011-01-27 06:29:31 +00:00
Przemyslaw Czerpak
6e1a0844d2 2011-01-27 00:22 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbcompdf.h
  * harbour/src/compiler/hbmain.c
    * save and restore compiler settings when separated .prg files are
      compiled as different modules. Files compiled as single module
      (i.e. by .clp files, #included, added by DO ... [WITH ...], etc.)
      are still compiled using the same settings inheriting any modifications
      introduced by #pragma. It's intentional behavior.
2011-01-26 23:22:54 +00:00
Przemyslaw Czerpak
f3259b2cab 2011-01-26 23:56 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbpp.h
  * harbour/src/pp/ppcore.c
    ! added resetting some internal PP states in hb_pp_reset()
2011-01-26 22:56:48 +00:00
Przemyslaw Czerpak
3444dfc907 2011-01-26 19:08 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/pp/hbpp.c
    * modified syntax info to keep output well formatted for 80 columns
  * harbour/src/pp/hbpp.1
    * updated

  * harbour/src/rdd/dbf1.c
  * harbour/src/rdd/delim1.c
  * harbour/src/rdd/sdf1.c
  * harbour/contrib/rddsql/sqlbase.c
    ! added protection against GPF when wrong field index is passed to
      {GET|PUT}VALUE[FILE]() methods
2011-01-26 18:08:34 +00:00
Przemyslaw Czerpak
a05a2ec496 2011-01-25 16:54 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/itemapi.c
    * do not clear parameter when NULL item is passed to
      hb_itemParamStore*() functions

  * harbour/contrib/hbnetio/netiosrv.c
  * harbour/contrib/hbnetio/readme.txt
    - removed NETIO_SRVSOCKET()

  * harbour/ChangeLog
    * marked TODO as DONE
2011-01-25 15:54:46 +00:00
Przemyslaw Czerpak
1a44f58622 2011-01-25 14:19 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapiitm.h
  * harbour/src/vm/itemapi.c
    + added new C function hb_itemParamStoreRelease()
    * modified hb_itemParamStore*() functions to accept NULL items

  + harbour/contrib/hbnetio/hbnetio.ch
  * harbour/contrib/hbnetio/netio.h
  * harbour/contrib/hbnetio/netiosrv.c
  * harbour/contrib/hbnetio/readme.txt
    + extended NETIO_SRVSTATUS() function so now it can be used to
      extract some additional information about connection socket:
         NETIO_SRVSTATUS( <pConnectionSocket>
                          [, <nStreamID> | <nSrvInfo>, @<xData> ] )
                  -> <nStatus>
      <nSrvInfo> can be:
         NETIO_SRVINFO_FILESCOUNT
         NETIO_SRVINFO_BYTESSENT
         NETIO_SRVINFO_BYTESRECEIVED
         NETIO_SRVINFO_PEERADDRES

    ; TODO: please eliminate NETIO_SRVSOCKET() from any code using it.
            It's too danger so I'll remove this function from HBNETIO soon.
            NETIO_SRVOPENFILESCOUNT() is also redundant now and can be
            replaced by:
               NETIO_SRVSTATUS( pConnSock, NETIO_SRVINFO_FILESCOUNT, @nCount )
            so it can be removed too.
2011-01-25 13:19:32 +00:00
Przemyslaw Czerpak
a5d1bcaee7 2011-01-24 23:12 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbcomp.h
  * harbour/src/compiler/cmdcheck.c
  * harbour/src/compiler/hbmain.c
  * harbour/src/compiler/hbusage.c
    - removed some old unused declarations and code

  * harbour/src/main/harbour.1
    * updated
2011-01-24 22:12:58 +00:00
Przemyslaw Czerpak
8761be1d95 2011-01-18 22:27 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbexpra.c
  * harbour/include/hbexprb.c
  * harbour/src/common/expropt1.c
    ! fixed codeblock parameter processing in EVAL() call inside codeblock
      when -kc compiler switch is used
    ! fixed potential modification of constant string

  + harbour/contrib/hbfship/users.c
    + added new FlagShip compatible functions:
         USERSMAX() -> <nMaxUsers> (1024)
      (1024 is returned by unlimited FS version)
2011-01-18 21:28:01 +00:00
Viktor Szakats
196dbfea24 2011-01-18 17:51 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hblzf/hblzf.c
    * Reformatted by uncrustify (nothing serious).

  * contrib/hbfship/index.c
    ! Fixed double assignment reported by bcc.

  * src/3rd/jpeg/Makefile
  * src/3rd/jpeg/jcmarker.c
  * src/3rd/jpeg/jpeglib.h
  * src/3rd/jpeg/jpeg.dif
  * src/3rd/jpeg/jcmaster.c
  * src/3rd/jpeg/jversion.h
  * src/3rd/jpeg/README
    + Updated to 8c. Patch from Tamas. Thanks!
2011-01-18 16:52:10 +00:00
Viktor Szakats
d932539f5c 2011-01-15 18:34 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/3rd/pcre/pcre.h
  * src/3rd/pcre/pcre.dif
  * src/3rd/pcre/config.h
  * src/3rd/pcre/Makefile
    + Upgraded PCRE to 8.12. (it's a no-op regarding the lib itself)
    ; Patch by Tamas. Thanks!
2011-01-15 17:35:20 +00:00
Przemyslaw Czerpak
a59b602a04 2011-01-15 17:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapi.h
  * harbour/src/vm/cmdarg.c
    ! use 'void *' instead of HANDLE in hb_winmainArgInit() parameters
2011-01-15 16:50:25 +00:00
Przemyslaw Czerpak
82df9ab45a 2011-01-15 12:07 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapi.h
  * harbour/include/hbwmain.c
  * harbour/src/vm/cmdarg.c
    * moved declaration of hb_winmainArgInit() to header file

  * harbour/contrib/hbmxml/3rd/minixml/mxml_fil.c
  * harbour/contrib/hbmxml/3rd/minixml/mxml.h
    ! fixed to compile with WinCE builds
    ; I cannot regenerate .diff file because
         ../../../../bin/hb3rdpat.hbs -rediff
      generates RT error:
         Error BASE/1123  Argument error: HB_ATOKENS
         Called from HB_ATOKENS(0)
         Called from URL_GETFILENAME(810)
         Called from FETCHANDEXTRACT(673)
         Called from MAIN(412)
      Sorry, probably I'm missing sth what was already discussed
      but I was not able to follow all post on the list in last
      weeks so I would like to ask Viktor or Tamas for the help.
2011-01-15 11:08:03 +00:00
Viktor Szakats
f211a162b1 2011-01-15 10:43 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbwmain.c
  * src/vm/cmdarg.c
    ! Fixed missing declaration for hb_winmainArgInit()
    ! Fixed missing HB_EXTERN_* from around hb_winmainArgInit() declaration.
    ; Patches from Andi. Thank you.
    * Added HB_EXPORT to the declaration in hbwmain.c.
2011-01-15 09:43:57 +00:00
Przemyslaw Czerpak
c0b28bd5da 2011-01-15 01:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbcomp.h
    * do not inherit in macrocompiler -z compile time switch when -kc is
      also used

  * harbour/src/common/expropt2.c
    * disable logical expression optimization (reduction) in macrocompiler
      when -kc compile time switch is used.

  * harbour/config/beos/gcc.mk
  * harbour/config/qnx/gcc.mk
  * harbour/config/bsd/gcc.mk
  * harbour/config/wce/mingwarm.mk
  * harbour/config/vxworks/gcc.mk
  * harbour/config/hpux/gcc.mk
  * harbour/config/darwin/gcc.mk
  * harbour/config/dos/djgpp.mk
  * harbour/config/win/mingw.mk
  * harbour/config/linux/gcc.mk
  * harbour/config/cygwin/gcc.mk
  * harbour/config/symbian/gcc.mk
  * harbour/config/os2/gcc.mk
  * harbour/config/sunos/gcc.mk
  * harbour/utils/hbmk2/hbmk2.prg
    * enable some important warnings in GCC builds using -W<name>... instead
      of -Wall and -Wno-<name>... for warning level set to low.
      It should help in backward compatibility with some older GCC versions.
2011-01-15 00:15:42 +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
Viktor Szakats
c3c1f244d4 2011-01-12 00:07 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbexpat/hbexpat.c
  * contrib/hbcurl/hbcurl.c
  * contrib/hbssl/ssl.c
  * contrib/hbssl/pem.c
  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
    * Changed to use hb_evalBlock()/hb_evalBlock1()/hb_evalBlock0()
      instead of hb_vmEvalBlockV().

  * src/vm/eval.c
    ! Minor in comment.

  * contrib/hbqt/qtcore/hbqt_hbqevents.cpp
    * Formatting.
2011-01-11 23:11: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
Viktor Szakats
bf553da79a 2011-01-10 13:36 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/3rd/png/Makefile
    + Added special hack for pocc family of compilers to make
      it build png 1.5.x. This should be fixed in png code.
2011-01-10 12:36:41 +00:00
Viktor Szakats
74d4f9eec6 2011-01-10 12:02 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/3rd/png/Makefile
    - Do not set PNG_NO_SETJMP anymore.
    % Minor opt in condition check for PNG_NO_SNPRINTF.
2011-01-10 11:02:30 +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
Viktor Szakats
56869aeb8d 2011-01-08 16:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
+ src/3rd/png/png.dif
  * src/3rd/png/Makefile
    + Added new .dif for png to cover recent local changes.

  * src/3rd/jpeg/jpeg.dif
  * src/3rd/jpeg/README
    ! Minor fix to .dif.

  ; Both patches sent by Tamas.
2011-01-08 15:25:44 +00:00
Viktor Szakats
f9a58a4deb 2011-01-08 13:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/3rd/png/pnglconf.h
    ! Fix for watcom compilers. Patch by Tamas.

  * contrib/hbmxml/hbmxmlp.prg
    % Optimized out local variables.

  * ChangeLog
    ! Fixed missing credit for Tamas in 2011-01-07 18:30 UTC+0200 Petr Chornyj
2011-01-08 12:53:19 +00:00
Przemyslaw Czerpak
efe66864a4 2011-01-08 13:38 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/dlmalloc.c
  * harbour/contrib/xhb/win32prn.ch
  * harbour/contrib/rddbm/bmdbfx.c
  * harbour/contrib/hbxdiff/hbxdiff.ch
  * harbour/contrib/hbmisc/nconvert.prg
  * harbour/contrib/hbssl/bio.c
    * replaced TABs with SPACEs
2011-01-08 12:39:08 +00:00
Viktor Szakats
67b0a66438 2011-01-08 12:31 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
+ src/3rd/png/pngdebug.h
  + src/3rd/png/pnginfo.h
  + src/3rd/png/pngstru.h
  + src/3rd/png/pnglconf.h
    + Added file for png 1.5.
2011-01-08 11:32:29 +00:00
Viktor Szakats
3e7243e8e5 2011-01-08 12:07 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/3rd/png/pngerror.c
  * src/3rd/png/pngrio.c
  * src/3rd/png/pngwrite.c
  * src/3rd/png/pngconf.h
  * src/3rd/png/pngwtran.c
  * src/3rd/png/pngpread.c
  * src/3rd/png/pngset.c
  * src/3rd/png/LICENSE
  * src/3rd/png/pngwio.c
  * src/3rd/png/pngrutil.c
  * src/3rd/png/pngwutil.c
  * src/3rd/png/pngread.c
  * src/3rd/png/pngmem.c
  * src/3rd/png/png.c
  * src/3rd/png/pngget.c
  * src/3rd/png/png.h
  * src/3rd/png/pngpriv.h
  * src/3rd/png/pngrtran.c
  * src/3rd/png/pngtrans.c
  * src/3rd/png/Makefile
    * libpng update to 1.5 (from 1.4)
    ; Patch by Tamas Tevesz. Thanks very much!
2011-01-08 11:08:21 +00:00
Viktor Szakats
6efb55a2c1 2011-01-08 11:40 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/cmdarg.c
    * Formatting.

  * package/winuni/mpkg_win_uni.nsi
    + Added TOFIX to recent HBIDE shortcut addition.
      It should only be there if HBIDE component was selected.
    - Disabled HBIDE icon until a proper solution is found.

  * contrib/hbct/ctnet.c
    ! NETRMTNAME(): Fixed along the patch sent by vbdasc.
      Please test it.

  * contrib/hbmxml/3rd/minixml/config.h
    ! Space at EOL.
2011-01-08 10:41:31 +00:00