Commit Graph

116 Commits

Author SHA1 Message Date
Przemyslaw Czerpak
9d13008427 2010-05-12 02:26 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/external/minizip/ioapi.h
    ! fixed FreeBSD and HAIKU builds

  * harbour/src/rtl/fserr.c
    * added translation for EPERM

  * harbour/include/Makefile
  + harbour/include/hbapicom.h
  * harbour/src/rtl/Makefile
  + harbour/src/rtl/hbcom.c
    + added Harbour multiplatform serial port C API (hb_com*() functions).
      implemented code for *nixes, MS-Windows and OS2. DOS is not supported
      yet. Please make test on different platforms.
    ; few notes about this code:
      termios (*nix) based builds:
         - reading LSR is not supported
         - duration in break signal is fixed (at least 0.25 seconds, and not
           more that 0.5 seconds)
         - DTR/DSR hardware flow control is not supported
         - setting error character is not supported
         - discard card is supported only on few platforms
         - checking input/output flow state is not supported
         - if some platforms do not support some termio extensions then
           compile time warnings TODO_* should be generated.
      MS-Windows builds:
         - discard card is not supported
      OS2 builds:
         - checking for input flow state is not supported
         - discard card is not supported
      In all builds not all RS-232 hardware flags/state are available.
      OS2 build supports most of them,

      This code needs to be extensively tested. I wrote it without any
      serious tests. Especially OS2 builds should be verified by OS2
      users. I wrote this port using only documentation which OS2 API
      available in the Internet.

      DOS is not supported yet though it's possible to compile termio code
      for *nixes with DJGPP. Anyhow it would be very nice if we can add
      our own DOS serial port code. I would like to ask if any of you
      has low level serial port code in C for DOS (i.e. used with Clipper)
      and can send it to us so we can use it with Harbour. I have my
      own serial port library for Clipper but it's written in assembler
      and it's much wider then sth what we need so it cannot be easy
      adopted for Harbour.

  * harbour/contrib/hbct/Makefile
  + harbour/contrib/hbct/ctcom1.c
  + harbour/contrib/hbct/ctcom.ch
  + harbour/contrib/hbct/ctcom2.c
    + added CT3 compatible COM_*() functions.
    + added CT3 compatible XMOBLOCK(), XMOCHECK(), ZEROINSERT() and
      ZEROREMOVE() functions.
    + added new CT COM function:
         COM_DEVNAME( <nComPort> [, <cNewName> ] ) -> <cPrevName>
      which can be used to specify device name for given port in modern
      systems which do not give direct hardware access for the process.
    ; few notes about CT3 COM_*() functions in Harbour.
      In COM_OPEN() only 1-st parameter is significant, input/output buffer
      sizes and trap mode parameters are ignored. In modern OS-es such
      functionality is controlled by OS and usually buffered read/write
      is always enabled. The sizes of IO buffers can be used only as
      suggested IO buffer size for OS in some systems. It's possible that
      these additional parameters will be used in DOS builds in the future.
      COM_READ() does not support 2-nd parameter <lNoDelete>. It can be
      implemented but because we do not have direct access to OS buffers
      then we will have to emulate it ourselves what is rather inefficient.
      Anyhow I can implement it if users think it's critical.
      In COM_CRC() I fixed few CT3 bugs so it's not bug compatible with CT3,
      i.e. it works correctly for 8 bit and smaller polynomials instead of
      returning 0 or supports much larger polynomials up to 64bits.
      For 16/17 bit polynomials it gives the same results as CT3 so for most
      common usage it should be binary compatible with CT3.
      In ZEROREMOVE() I fixed decoding some wrong CCITT strings which does
      not have trailing 0 so it returns empty string "" for such corrupted
      data. If someone needs original CT3 behavior for some broken code then
      is can be enabled by HB_CT3_ZEROREMOVE_BUG macro.

      I haven't implemented few functions.
      COM_GETIO(), COM_SETIO(), COM_GETIRQ(), COM_SETIRQ() are not portable
      and can be implemented only for really few platforms, i.e. for DOS
      when/if we add support for serial ports to Harbour DOS builds.
      Similar functionality for all other platforms gives our new function
      COM_DEVNAME().
      COM_KEY(), COM_SKEY() and COM_EVENT() are also not implemented.
      To make them well we should add support for asynchronous events to HVM
      and such extension is still unavailable. Some simulation can be
      implemented using idle tasks but this can be done also by final
      Harbour users so I decided to not make it.

      Please test it - I've never used CT3 COM_*() API with Clipper.

  * harbour/contrib/hbct/dummy.c
    * removed dummy CT3 serial communication functions
    ; such files with dummy functions introduces very serious problems for
      user code because they do not respect original module granularity
      effectively breaking overloading only chosen functions so it breaks
      also some real Clipper code.
2010-05-12 00:27:04 +00:00
Viktor Szakats
23ab5fb10b 2010-04-26 21:12 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/minizip/unzip.c
    + Enabled encryption on unzip. For some reason original 
      developers permanently disabled it.
2010-04-26 19:12:45 +00:00
Viktor Szakats
9e62d217a0 2010-04-22 19:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/minizip/ioapi.h
    ! Added darwin-specific workaround to disable 64-bit
      file API calls (like fopen64()). These don't exist on darwin.
2010-04-22 17:40:41 +00:00
Viktor Szakats
6be47185fd 2010-04-22 11:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- external/libpng
  + external/png
  * external/png/Makefile
  * external/libhpdf/Makefile
  * external/Makefile
  * harbour.spec
  * contrib/hbhpdf/hbhpdf.hbc
  * contrib/hbwin/hbwin.hbc
    * Renamed locally hosted libpng lib name from 'libpng'
      to 'png'.
      This way Harbour shifts to the *nix naming and syncs
      better with these systems. On Windows the "most official"
      binary builds still use 'libpng', so if someone uses them
      instead of locally hosted version (which is not very likely)
      the .hbc files shipped with Harbour should be edited
      accordingly. This change also satisfies past request from
      some users.
    ; NOTE: INCOMPATIBLE, pls change lib name 'libpng' to 'png'
            for all platforms in your make files.

  * contrib/hbhpdf/tests/harupdf.prg
    * Indentation.
    * Formatting.

  * external/minizip/readme.txt
    * Deleted paths from filenames.
2010-04-22 09:04:05 +00:00
Viktor Szakats
9b4831cf63 2010-04-22 00:24 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Minor updates to tool links and information.

  * INSTALL
  * external/Makefile
  + external/minizip
  + external/minizip/Makefile
  + external/minizip/readme.txt
  + external/minizip/minizip.dif
  + external/minizip/ioapi.c
  + external/minizip/zip.c
  + external/minizip/unzip.c
  + external/minizip/ioapi.h
  + external/minizip/crypt.h
  + external/minizip/zip.h
  + external/minizip/unzip.h
  * contrib/hbmzip/Makefile
  * contrib/hbmzip/hbmzip.hbc
  * contrib/hbmzip/readme.txt
  - contrib/hbmzip/minizip.dif
  - contrib/hbmzip/ioapi.c
  - contrib/hbmzip/zip.c
  - contrib/hbmzip/unzip.c
  - contrib/hbmzip/crypt.h
  - contrib/hbmzip/ioapi.h
  - contrib/hbmzip/zip.h
  - contrib/hbmzip/unzip.h
    * Moved embedded external code from hbmzip library to
      separate, locally hosted library inside the 'external'
      directory. This way we keep all external code under this
      directory. This change also makes it possible to use
      custom version of this external library, via the
      HB_WITH_MINIZIP envvar.
      NOTE: Everyone using hbmzip, must now add 'minizip'
            to their lib list. (INCOMPATIBLE)
2010-04-21 22:26:46 +00:00
Przemyslaw Czerpak
fe77740954 2010-04-15 08:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtos2/gtos2.c
    * small cleanup in TONE code

  * harbour/include/hbvmpub.h
    * removed old and unused macros

  * harbour/external/jpeg/Makefile
    ! added Missing HAVE_PROTOTYPES declaration

  * harbour/src/rtl/hbzlib.c
  * harbour/contrib/hbbz2/hbbz2.c
    * added redundant initialization to pacify MSVC warnings

  * harbour/external/pcre/pcrefinf.c
    * casting to pacify warning

  * harbour/src/macro/macro.yyc
  * harbour/src/macro/macro.yyh
  * harbour/src/compiler/harbour.yyc
  * harbour/src/compiler/harbour.yyh
    * regenerated using bison with some additional patches to pacify
      MSVC warning
2010-04-15 06:16:46 +00:00
Viktor Szakats
2b5e574b09 2010-04-13 12:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/wce/poccarm.mk
  * config/dos/watcom.mk
  * config/win/xcc.mk
  * config/win/pocc.mk
  * config/win/bcc.mk
  * config/win/watcom.mk
  * config/linux/watcom.mk
  * config/os2/watcom.mk
    * Changed to not forcefully turn off warnings in some targets.
      (so HB_BUILD_WARN=no is now equivalent to hbmk2 -warn=def)
    ; NOTE: This will result in some new warnings in /external
            dir since for above compilers I've now upped the
            warning level from nothing to the default level.

  * external/zlib/Makefile
    * Changed to not set Harbour level warnings for this
      external component (in sync with all the others).
2010-04-13 10:20:35 +00:00
Viktor Szakats
325d9186de 2010-04-12 21:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/zlib/zlib.dif
  * contrib/hbmzip/minizip.dif
    * Updated .difs.

  + external/libhpdf/libhpdf.dif
    + Added new .dif.

  * contrib/hbide/ideprojmanager.prg
    % Deleted -hbcmp when creating .ppo. It was unnecessary since
      later -hbraw mode is selected.
2010-04-12 19:46:50 +00:00
Przemyslaw Czerpak
7bb2ea4ae5 2010-04-12 21:11 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/external/zlib/deflate.c
  * harbour/external/zlib/gzread.c
    * pacified warnings
  * harbour/external/zlib/zutil.h
    ! fixed to compile with XCC
  * harbour/external/zlib/zconf.h
    ! removed wrongly added #if 0 / #endif
  * harbour/external/zlib/gzguts.h
    ! added missing header files to fix _ALL_ builds
  * harbour/external/zlib/Makefile
    * reenabled warnings - it's very danger to pacify warnings in such way
      what recent ZLIB update clearly shows - it was seriously broken in all
      builds due to missing header files with valid function declarations
      but the problem was fully hidden because C++ mode and warnings were
      disabled so no problem was reported at compile time.
      Please also remember that many of Windows compilers does not fully
      support pure ANSI C function declaration so this new library may
      not work as expected.

  * harbour/external/libhpdf/hpdfcfg.h
    ! removed setting for all platforms HAVE_UNISTD_H
      this file was generated by autoconf on platform which has <unistd.h>
      but we cannot leave it because it will break all code which uses
      standard autoconf settings like HAVE_UNISTD_H and is compiled
      on platform where <unistd.h> is not available

  * harbour/contrib/hbmzip/ioapi.c
    ! fixed to include ioapi.h before any other header files - it uses
      some feature macros which have to be set before including standard
      C files
  * harbour/contrib/hbmzip/ioapi.h
    ! removed from feature set macros setting of internal __USE_* ones
    ! do not set _LARGEFILE64_SOURCE in DOS and OS2 - macro with the same
      name is used by new ZLIB 1.2.4 for explicit 64 bit gzip API.
  * harbour/contrib/hbmzip/hbmzip.c
    ! fixed old typos in type of return value in hb_zipfileParam() and
      hb_unzipfileParam()

   NOTE: I haven't tested if this new mzip/zlib 64 bit file IO support
         works. It's even possible that previously working code in 64 bit
         platforms (except Win64 on all other 64 bit platforms 'long' is
         64bit integer) stopped to work so please make real tests.
2010-04-12 19:11:35 +00:00
Viktor Szakats
094521bd25 2010-04-11 09:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/pcre/Makefile
    ! Fixed to compile 8.02 with msvc and bcc.

  * package/winuni/RELNOTES
    * Updated external package versions.
2010-04-11 07:25:49 +00:00
Viktor Szakats
5823faadb1 2010-04-10 10:13 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/zlib/zlib.dif
  * external/zlib/zconf.h
    ! Tweak to make it build with BCC (when this specific
      constant is defined, f.e. by libharu).

  * external/pcre/Makefile
    ! Tweak to make 8.02 work with BCC.
    ; NOTE: BCC is seemingly not tested/used by any important
            external projects. If it goes like this, I will stop
            doing these updates and leave them to real BCC users.
            It's going against the flow.

  * config/postinst.prg
    * /V2 -> -V2 to make *nix shells happy.
2010-04-10 08:18:05 +00:00
Viktor Szakats
239732c3ff 2010-04-09 14:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/jpeg/jidctflt.c
  * external/jpeg/jcapimin.c
  * external/jpeg/jddctmgr.c
  * external/jpeg/rdbmp.c
  * external/jpeg/jcmaster.c
  * external/jpeg/jversion.h
  * external/jpeg/README
  * external/jpeg/link.txt
    + Updated to 8a (from 8)
2010-04-09 12:52:54 +00:00
Viktor Szakats
ef31d353f5 2010-04-09 14:43 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/zlib/Makefile
  * external/zlib/zlib.dif
    * Forcing C mode for zlib to avoid lots of local patches
      making it compile in C++ mode.

  * external/zlib/deflate.c
  * external/zlib/zutil.c
  + external/zlib/gzlib.c
  - external/zlib/gzio.c
  * external/zlib/deflate.h
  + external/zlib/gzread.c
  * external/zlib/zutil.h
  * external/zlib/crc32.c
  * external/zlib/trees.c
  * external/zlib/zconf.h
  * external/zlib/inffast.c
  * external/zlib/compress.c
  + external/zlib/gzwrite.c
  * external/zlib/Makefile
  * external/zlib/zlib.h
  + external/zlib/gzclose.c
  * external/zlib/inftrees.c
  * external/zlib/inflate.c
  * external/zlib/uncompr.c
  * external/zlib/inftrees.h
  * external/zlib/inflate.h
  + external/zlib/gzguts.h
  * external/zlib/adler32.c
  * external/zlib/infback.c
    + Updated to 1.2.4 (from 1.2.3)

  * external/zlib/zlib.dif
    * Updated. Pls double check me, it's possible I've missed
      some patches while manually repatching new sources.
2010-04-09 12:44:20 +00:00
Viktor Szakats
c6fef6e5c5 2010-04-09 14:04 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/sqlite3/sqlite3.c
  * external/sqlite3/sqlite3.h
    + Updated to 3.6.23.1 (from 3.6.23)

  * external/pcre/pcreexec.c
  * external/pcre/pcre.h
  * external/pcre/pcreinal.h
  * external/pcre/pcretabs.c
  * external/pcre/pcredfa.c
  * external/pcre/pcrecomp.c
  * external/pcre/config.h
  * external/pcre/pcreucd.c
  * external/pcre/pcreprni.h
  * external/pcre/ucp.h
  * external/pcre/pcreglob.c
    + Updated to 8.02 (from 8.01)
2010-04-09 12:08:27 +00:00
Viktor Szakats
9efec46787 2010-04-02 09:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ config/ren_sfn.prg
  - external/bzip2/cnv_hb2o.bat
  - external/bzip2/cnv_o2hb.bat
  + external/bzip2/ren_sfn.txt
  - external/libhpdf/cnv_o2hb.bat
  - external/libhpdf/cnv_hb2o.bat
  + external/libhpdf/ren_sfn.txt
  - external/pcre/cnv_o2hb.bat
  - external/pcre/cnv_hb2o.bat
  + external/pcre/ren_sfn.txt
    + Replaced .bat method for converting long filenames to
      short ones to a .prg script and simple text input file.
      Also much of the logic is automatized.

  * src/rtl/gtwvt/gtwvt.c
    * Minor in old comment.

  * INSTALL
    - Deleted no more relevant restriction with HB_BUILD_PKG.

  * contrib/hbwin/wapi_winuser.c
  * contrib/hbwin/hbwin.ch
    + Added WAPI_SETWINDOWPOS() + relevant constants.
    + Added WIN_WS_* constants.
    + Added WAPI_ISICONIC(), WAPI_ISZOOMED().

  * contrib/hbwin/tests/testax.prg
    ! Fixed to compile without warning.
    * Using hbwin.ch.
2010-04-02 07:41:59 +00:00
Viktor Szakats
b387963fad 2010-03-18 13:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    ! Fixed Debian bzip2 package name.

  * external/bzip2/Makefile
  * contrib/hbbzip2/hbbzip2.hbc
    * Changed local bzip2 lib name to match regular name used on *nix systems.

  * external/zlib/Makefile
    * Formatting.

  * contrib/hbmzip/Makefile
    ! Minor fix.
2010-03-18 12:30:42 +00:00
Viktor Szakats
09adc56c2a 2010-03-17 00:32 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added bzip2 information. (not fully complete, it also 
      needs to be added to .spec files like zlib)

  - external/bzip2/bzip2.dif
  - external/bzip2/bzip2.c
  * external/bzip2/cnv_hb2o.bat
  * external/bzip2/cnv_o2hb.bat
  * external/bzip2/Makefile
    - Deleted accindentally included bzip2 tool.

  + contrib/hbbzip2/tests
  + contrib/hbbzip2/tests/hbmk.hbm
  + contrib/hbbzip2/tests/test.prg
    + Added little test code.

  + contrib/hbbzip2/hbbzip2.hbc
    + Added .hbc file.

  * contrib/hbbzip2/hbbzip2.ch
    + Added 'it's also used by C code' comment.
2010-03-16 23:34:33 +00:00
Viktor Szakats
5f0aba0845 2010-03-15 21:54 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * external/Makefile
    - Deleted "HB_EXTERNALLIBS=no" option. Blindly disabling
      all external libs can break the build process.
2010-03-15 20:58:45 +00:00
Viktor Szakats
ad7229c78a 2010-03-15 21:31 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* external/bzip2/Makefile
  * external/bzip2/bzip2.dif
  * external/bzip2/bzip2.c
    + Added patch to make it compile on dos and os2/watcom.
      Thanks to Przemek.
2010-03-15 20:32:35 +00:00
Viktor Szakats
6fb5b677b4 2010-03-15 16:49 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
+ external/bzip2/bzip2.dif
    + Added .dif file.
2010-03-15 15:50:00 +00:00
Przemyslaw Czerpak
897dda6c79 2010-03-15 12:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbstack.h
    * minor cleanup

  * harbour/external/bzip2/bzip2.c
    ! fixed to compile on platforms which do not accept "\" as path delimiter
2010-03-15 11:32:16 +00:00
Viktor Szakats
0805949c20 2010-03-11 12:33 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* external/sqlite3/sqlite3.c
  * external/sqlite3/sqlite3.h
    + sqlite upgraded to 3.6.23 (from 3.6.22)

  * INSTALL
    + Added one more real-life example for unnecessary 
      envvars (HB_DIR).
2010-03-11 11:34:41 +00:00
Viktor Szakats
082671ac6f 2010-03-05 23:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* external/pcre/Makefile
    - Disabled stdint.h for all targets to make some Harbour
      supported legacy compilers happy which don't support it
      (f.e. bcc 5.5)
2010-03-05 22:18:56 +00:00
Viktor Szakats
8a8ae50ff3 2010-03-05 21:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* external/Makefile
    + Added bzip2.

  * external/bzip2/Makefile
    ! Fixed to avoid stupid BCC tlib warning by enabling
      "case-sensitive library" option.

  * config/global.mk
  * config/beos/gcc.mk
  * config/bsd/gcc.mk
  * config/wce/mingwarm.mk
  * config/wce/poccarm.mk
  * config/wce/msvcarm.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
  * config/hpux/gcc.mk
  * config/dos/djgpp.mk
  * config/common/watcom.mk
  * config/win/xcc.mk
  * config/win/mingw.mk
  * config/win/pocc.mk
  * config/win/bcc.mk
  * config/win/icc.mk
  * config/win/cygwin.mk
  * config/win/msvc.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
    + Added support for HB_AFLAGS. Only bcc needs it ATM.
2010-03-05 20:21:44 +00:00
Viktor Szakats
1a9fe1279d 2010-03-05 18:51 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmysql/hbmysql.hbc
  * contrib/rddsql/sddmy/sddmy.hbc
    ! Fixed library name for Linux platforms.
      I hope it also works for other *nix systems.
      (On darwin/macports it doesn't because they placed
      the lib in a subdir, but at least the lib name is
      right)

  + external/bzip2
  + external/bzip2/LICENSE
  + external/bzip2/Makefile
  + external/bzip2/cnv_hb2o.bat
  + external/bzip2/cnv_o2hb.bat
  + external/bzip2/blocksor.c
  + external/bzip2/bzip2.c
  + external/bzip2/bzlib.c
  + external/bzip2/compress.c
  + external/bzip2/crctable.c
  + external/bzip2/decompre.c
  + external/bzip2/huffman.c
  + external/bzip2/randtabl.c
  + external/bzip2/bzlib.h
  + external/bzip2/bzlib_pr.h
    + Add locally hosted bzip2 library. Experimental, we
      don't use it yet. Will be deleted if of no use, or
      not portable enough. ATM OS/2, DOS and WCE targets
      are not supported.

  * external/pcre/pcre.dif
    - Deleted not more required local patch, since
      we're not using legacy (Windows) types anymore
      in Harbour.

  * external/pcre/pcre.h
  * external/pcre/pcreexec.c
  * external/pcre/pcreinal.h
  * external/pcre/pcredfa.c
  * external/pcre/pcrecomp.c
  * external/pcre/config.h
  * external/pcre/LICENCE
  * external/pcre/pcreprni.h
  * external/pcre/pcrestud.c
    + Updated to 8.0.1 (from 8.0.0)

  * external/libpng/pngrio.c
  * external/libpng/pngconf.h
  * external/libpng/pngwrite.c
  * external/libpng/pngset.c
  * external/libpng/pngpread.c
  * external/libpng/pngwtran.c
  * external/libpng/LICENSE
  * external/libpng/pngrutil.c
  * external/libpng/pngwutil.c
  * external/libpng/pngread.c
  * external/libpng/pngmem.c
  * external/libpng/pngget.c
  * external/libpng/png.c
  * external/libpng/png.h
  * external/libpng/pngpriv.h
  * external/libpng/pngrtran.c
    + Updated to 1.4.1 (from 1.4.0)
2010-03-05 17:54:42 +00:00
Viktor Szakats
7d27c68ba2 2010-02-18 19:58 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* external/jpeg/Makefile
    ! Added jpeg option to make it build with poccarm.
2010-02-18 18:59:04 +00:00
Viktor Szakats
cd83e94235 2010-02-16 11:13 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbthread.h
  * src/vm/fm.c
    ! Tweaks to allow msvcarm 2003 build.

  * src/vm/maindllp/dllpcode.c
  * src/vm/maindllh.c
    ! Deleted (AFAIK unnecessary) HB_EXPORT to make msvcarm 2003 happy.

  * src/common/hbgete.c
  * src/rtl/net.c
    ! Fixed missing #include hbwince.h.

  * external/sqlite3/Makefile
    - Disabled for msvcarm 2003.

  * contrib/gtalleg/Makefile
    - Disabled for msvcarm.

  * contrib/hbodbc/Makefile
  * contrib/rddsql/sddodbc/Makefile
    ! Do not force sql.h header for msvcarm 2003.

  * contrib/rddbmcdx/hbbmcdx.h
    ! Fixed HB_EXTERN placement to make msvcarm 2003 happy.

  * contrib/hbct/ctnet.c
  * contrib/xhb/hbsyslog.c
  * contrib/xhb/hbserv.c
  * contrib/hbtpathy/tpwin.c
  * contrib/hbnf/getenvrn.c
  * contrib/hbwin/wapi_winuser.c
  * contrib/hbwin/olecore.c
  * contrib/hbwin/win_dlg.c
    ! Fixed to make them compile on msvcarm 2003.

  * config/wce/msvcarm.mk
  * utils/hbmk2/hbmk2.prg
    ! Fixed warning option for msvcarm 2003.

  * utils/hbmk2/hbmk2.prg
    ! Fixed type causing RTE with msvcarm targets.

  ; NOTE: hbcurl doesn't build with msvcarm 2003, so either
          don't enable it, or experiment with HB_USER_CFLAGS=-U_WIN32_WCE
          hack. The problem lies somewhere in libcurl headers,
          not Harbour code.
2010-02-16 10:14:24 +00:00
Viktor Szakats
b34b0d084e 2010-02-11 13:12 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* external/libhpdf/Makefile
    * Suppressing 'deprecated' warnings in libharu code until it
      gets updated for libpng 1.4.
2010-02-11 12:12:51 +00:00
Przemyslaw Czerpak
2d9d7ffffb 2010-02-03 15:01 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbct/video.c
    * pacified DJGPP warning

  * harbour/external/jpeg/Makefile
    * define HAVE_STDLIB_H - it's necessary for exit() function used in
      jerror.c
2010-02-03 14:01:55 +00:00
Viktor Szakats
c00a4ce387 2010-01-28 04:23 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * external/Makefile
  * contrib/Makefile
    + Added build option to exclude specific list of contrib/external 
      libraries using syntax: 'HB_CONTRIBLIBS=no lib1 lib2 libn'
2010-01-28 03:24:37 +00:00
Viktor Szakats
802d623d4b 2010-01-26 20:33 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* harbour.spec
  * INSTALL
  * external/Makefile
  + external/jpeg
  + external/jpeg/README
  + external/jpeg/link.txt
  + external/jpeg/Makefile
  + external/jpeg/cderror.h
  + external/jpeg/cdjpeg.h
  + external/jpeg/jaricom.c
  + external/jpeg/jcapimin.c
  + external/jpeg/jcapistd.c
  + external/jpeg/jcarith.c
  + external/jpeg/jccoefct.c
  + external/jpeg/jccolor.c
  + external/jpeg/jcdctmgr.c
  + external/jpeg/jchuff.c
  + external/jpeg/jcinit.c
  + external/jpeg/jcmainct.c
  + external/jpeg/jcmarker.c
  + external/jpeg/jcmaster.c
  + external/jpeg/jcomapi.c
  + external/jpeg/jconfig.h
  + external/jpeg/jcparam.c
  + external/jpeg/jcprepct.c
  + external/jpeg/jctrans.c
  + external/jpeg/jcsample.c
  + external/jpeg/jdapimin.c
  + external/jpeg/jdapistd.c
  + external/jpeg/jdarith.c
  + external/jpeg/jdatadst.c
  + external/jpeg/jdatasrc.c
  + external/jpeg/jdcoefct.c
  + external/jpeg/jdcolor.c
  + external/jpeg/jdct.h
  + external/jpeg/jddctmgr.c
  + external/jpeg/jdhuff.c
  + external/jpeg/jdinput.c
  + external/jpeg/jdmainct.c
  + external/jpeg/jdmarker.c
  + external/jpeg/jdmaster.c
  + external/jpeg/jdmerge.c
  + external/jpeg/jdpostct.c
  + external/jpeg/jdsample.c
  + external/jpeg/jdtrans.c
  + external/jpeg/jerror.c
  + external/jpeg/jerror.h
  + external/jpeg/jfdctflt.c
  + external/jpeg/jfdctfst.c
  + external/jpeg/jfdctint.c
  + external/jpeg/jidctflt.c
  + external/jpeg/jidctfst.c
  + external/jpeg/jidctint.c
  + external/jpeg/jinclude.h
  + external/jpeg/jmemansi.c
  + external/jpeg/jmemdos.c
  + external/jpeg/jmemmac.c
  + external/jpeg/jmemmgr.c
  + external/jpeg/jmemname.c
  + external/jpeg/jmemnobs.c
  + external/jpeg/jmemsys.h
  + external/jpeg/jmorecfg.h
  + external/jpeg/jpegint.h
  + external/jpeg/jpeglib.h
  + external/jpeg/jquant1.c
  + external/jpeg/jquant2.c
  + external/jpeg/jutils.c
  + external/jpeg/jversion.h
  + external/jpeg/rdbmp.c
  + external/jpeg/rdcolmap.c
  + external/jpeg/rdgif.c
  + external/jpeg/rdppm.c
  + external/jpeg/rdrle.c
  + external/jpeg/rdswitch.c
  + external/jpeg/rdtarga.c
  + external/jpeg/transupp.c
  + external/jpeg/transupp.h
  + external/jpeg/wrbmp.c
  + external/jpeg/wrgif.c
  + external/jpeg/wrjpgcom.c
  + external/jpeg/wrppm.c
  + external/jpeg/wrrle.c
  + external/jpeg/wrtarga.c
    + Added JPEG lib v8.
2010-01-26 19:38:16 +00:00
Viktor Szakats
b704a9d436 2010-01-16 15:28 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* external/libpng/LICENSE
  * external/libpng/Makefile
  * external/libpng/png.c
  * external/libpng/png.h
  * external/libpng/pngrio.c
  * external/libpng/pngerror.c
  * external/libpng/pngconf.h
  * external/libpng/pngwrite.c
  * external/libpng/pngset.c
  * external/libpng/pngpread.c
  * external/libpng/pngwtran.c
  * external/libpng/pngwio.c
  * external/libpng/pngrutil.c
  * external/libpng/pngwutil.c
  * external/libpng/pngread.c
  * external/libpng/pngmem.c
  * external/libpng/pngget.c
  * external/libpng/pngrtran.c
  * external/libpng/pngtrans.c
  - external/libpng/pngvcrd.c
  - external/libpng/pnggccrd.c
  + external/libpng/pngpriv.h
    * Updated to 1.4.0 (from 1.2.40)

  * external/libpng/Makefile
    + Added -DPNG_NO_SETJMP for watcom builds to prevent these errors
      from happening:
         wcc386   -zq -bt=nt -bm -w0 -6s -fp6 -onaehtr -s -ei -zp4 -zt0 -oi -i. -i..\..\..\..\..\include -IF:\work\harbour\harbour\external\zlib -DUSE_FAR_KEYWORD -fo=pngread.obj  ..\..\..\pngread.c
         ..\..\..\pngread.c(86): Error! E1071: Type of parameter 2 does not agree with previous definition
         ..\..\..\pngread.c(86): Note! N2003: source conversion type is 'void (__watcall *)(unsigned int __p1[],int __p2)'
         ..\..\..\pngread.c(86): Note! N2004: target conversion type is 'void (__cdecl *)(unsigned int __p1[],int __p2)'
         wcc386   -zq -bt=nt -bm -w0 -6s -fp6 -onaehtr -s -ei -zp4 -zt0 -oi -i. -i..\..\..\..\..\include  -IF:\work\harbour\harbour\external\zlib  -fo=pngwrite.obj  ..\.
         .\..\pngwrite.c
         ..\..\..\pngwrite.c(507): Error! E1071: Type of parameter 2 does not agree with previous definition
         ..\..\..\pngwrite.c(507): Note! N2003: source conversion type is 'void (__watcall *)(unsigned int __p1[],int __p2)'
         ..\..\..\pngwrite.c(507): Note! N2004: target conversion type is 'void (__cdecl *)(unsigned int __p1[],int __p2)'

  * external/sqlite3/sqlite3.c
  * external/sqlite3/sqlite3.h
    + sqlite upgraded to 3.6.22 (from 3.6.21)
2010-01-16 14:45:52 +00:00
Viktor Szakats
83877f7a7b 2009-12-22 23:10 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* doc/whatsnew.txt
    ! Fixed date of 2.0.0 release.
      [TOMERGE 2.0]

  * external/sqlite3/sqlite3.c
  * external/sqlite3/sqlite3.h
    + sqlite upgraded to 3.6.21 (from 3.6.20)
2009-12-22 22:11:48 +00:00
Viktor Szakats
0ea8f9c2cb 2009-12-22 01:44 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* external/pcre/Makefile
    ! Forcing C mode for this external component, which is
      mainly tested and developed for C compiler.
      Currently sunpro has problems in C++ mode due to little
      bug in current PCRE code. Reported to author here:
         http://bugs.exim.org/show_bug.cgi?id=939

  * utils/hbmk2/hbmk2.prg
    * Minor formatting.

  * contrib/hbcairo/core.c
    * Using HB_TRUE/HB_FALSE instead of 1/0.
2009-12-22 00:46:56 +00:00
Przemyslaw Czerpak
51a5487cb8 2009-12-12 01:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/strapi.c
  * harbour/include/hbapistr.h
    + added new functions:
         hb_itemPutStr(), hb_itemPutStrUTF8(), hb_itemPutStrU16(),
         hb_arrayGetStr(), hb_arrayGetStrUTF8(), hb_arrayGetStrU16(),
         hb_arraySetStrLen(), hb_arraySetStrLenUTF8(), hb_arraySetStrLenU16(),
         hb_arraySetStr(), hb_arraySetStrUTF8(), hb_arraySetStrU16(),

  * harbour/include/hbwinuni.h
    * removed unnecessary and danger casting in UNICODE version of
      HB_RETSTR(), HB_RETSTRLEN(), HB_STORSTR() and HB_STORSTRLEN() macros
    * modify HB_ARRAYSETSTR() and HB_ARRAYSETSTRLEN() macros to use new
      STR API functions

  * harbour/external/Makefile
    * modified the order of compiled libraries for better performance in
      parallel compilation (-j<N>)
2009-12-12 00:43:01 +00:00
Viktor Szakats
935fdfc158 2009-12-07 10:14 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* external/libpng/pngerror.c
  * external/libpng/pngrio.c
  * external/libpng/pngwrite.c
  * external/libpng/pngconf.h
  * external/libpng/pngwtran.c
  * external/libpng/pngpread.c
  * external/libpng/pngset.c
  * external/libpng/LICENSE
  * external/libpng/pngwio.c
  * external/libpng/pngrutil.c
  * external/libpng/pngwutil.c
  * external/libpng/pngread.c
  * external/libpng/pngmem.c
  * external/libpng/png.c
  * external/libpng/pngget.c
  * external/libpng/pnggccrd.c
  * external/libpng/png.h
  * external/libpng/pngrtran.c
  * external/libpng/pngtrans.c
    ! Reverted to 1.2.40 (from 1.2.41)
      Due to this regression:
      ---
      wcc386   -zq -bt=nt -bm -w0 -3s -i. -i../../../../../include -d2 -DHB_TR_LEVEL_DEBUG  -I/home/ice/w/xhb/hbci/harbour-build/external/zlib  -fo=pngmem.obj  ../../../pngmem.c
      ../../../pngmem.c(447): Error! E1057: Modifiers disagree with previous definition of 'png_calloc'
      ../../../pngmem.c(447): Note! I2002: 'png_calloc' defined in: ../../../png.h(3754)
      ---
2009-12-07 09:15:59 +00:00
Viktor Szakats
66792cd024 2009-12-07 02:58 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbwince.h
    + Added following macros to help transitioning to new method
      of CP conversion when interfacing with Windows API (both UNICODE
      and non-UNICODE):
         HB_PARSTR( n, h, len )
         HB_RETSTR( str )
         HB_RETSTRLEN( str, len )
         HB_STORSTR( str, n )
         HB_STORSTRLEN( str, len, n )
    ; The goal is to replace HB_TCHAR_*() macros and hb_osEncodeCP()
      call with above ones. This will allow to use any CPs (even UTF8)
      on the .prg level and transparently interface with Windows
      with proper CP translation.
      We will probably need a few more macros to store strings in
      array elements f.e., but this is enough for a start.

  * contrib/hbwin/wapi_shellapi.c
    + Experimental: WAPI_SHELLEXECUTE() converted to use above new
      macros. It results in much cleaner code.
      Minor incompatibility: 3rd parameter is now passed as-is, so
      if non-string is passed it gets passed to Windows as NULL,
      which isn't a valid input parameter.
    ; NOTE: Probably it will useful to have HB_PARSTRDEF() which also
            accepts a default value to be used when non-string
            parameter was passed. (to replace old hb_parcx() calls).
            Is it possible to add such function or any other ways to solve that?
    ; TOFIX: I'm getting this warning:
               warning: implicit declaration of function 'hb_setGetOSCP'
             and it's probably too late, but I couldn't find a way to
             include hbset.h without errors or with least side-effects.
             Przemek, could you help?

  * contrib/hbwin/win_prn1.c
    * Formatting.

  * src/rdd/dbcmd.c
  * src/rdd/wafunc.c
    + Moved recently implemented codepage defaulting logic (_SET_DBCODEPAGE)
      to lower lever functions.
      Please review me.

  * external/libpng/pngrio.c
  * external/libpng/pngerror.c
  * external/libpng/pngconf.h
  * external/libpng/pngwrite.c
  * external/libpng/pngset.c
  * external/libpng/pngpread.c
  * external/libpng/pngwtran.c
  * external/libpng/LICENSE
  * external/libpng/pngwio.c
  * external/libpng/pngrutil.c
  * external/libpng/pngwutil.c
  * external/libpng/pngread.c
  * external/libpng/pngmem.c
  * external/libpng/png.c
  * external/libpng/pngget.c
  * external/libpng/pnggccrd.c
  * external/libpng/png.h
  * external/libpng/pngrtran.c
  * external/libpng/pngtrans.c
    * Updated to 1.2.41 (from 1.2.40)
2009-12-07 02:17:37 +00:00
Viktor Szakats
9b030085bd 2009-12-02 20:04 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* external/libpng/Makefile
    * Forcing C mode for libpng.
      It has some C++ bugs (in WINCE mode).
      Please retest.
2009-12-02 19:05:19 +00:00
Viktor Szakats
61415bf57f 2009-11-30 11:51 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * bin/hb-mkimp.bat
  * contrib/hbqt/hbqt.hbc
  * contrib/hbqt/hbqts.hbc
  * contrib/gtqtc/gtqtcs.hbc
  * contrib/gtqtc/gtqtc.hbc
  * utils/hbmk2/examples/xhgtk.hbc
  * config/global.mk
    + Eliminated HB_DIR_* envvar requirement to find required 3rd
      party component libs.
      This means that it's now enough to only set HB_WITH_* envvars
      to enable HB_BUILD_IMPLIB.
      This should make configuration a lot simpler, and this clears
      the last pending TODO in this area.
      HB_INC_* won't work this way, so please start to migrate to
      HB_WITH_* envvars, the values should stay the same.

  * external/pcre/cnv_o2hb.bat
  * external/pcre/cnv_hb2o.bat
    * Updated comment.
2009-11-30 10:53:51 +00:00
Viktor Szakats
5d048d2d74 2009-11-17 01:23 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/gtwvg/Makefile
  * external/libpng/Makefile
    % Streamlined platform/compiler filtering logic plus more 
      precise skip reason.
2009-11-17 00:24:27 +00:00
Viktor Szakats
70513cee86 2009-11-14 16:15 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* external/sqlite3/sqlite3.c
  * external/sqlite3/sqlite3.h
    + sqlite upgraded to 3.6.20 (from 3.6.18)
2009-11-14 15:16:35 +00:00
Viktor Szakats
89df92219b 2009-10-20 22:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/pcre/pcretryf.c
  * external/pcre/pcre.h
  * external/pcre/pcreexec.c
  * external/pcre/pcreinal.h
  * external/pcre/pcredfa.c
  * external/pcre/pcrecomp.c
  * external/pcre/config.h
  * external/pcre/LICENCE
  * external/pcre/pcreucd.c
  * external/pcre/pcreprni.h
  * external/pcre/pcrestud.c
  * external/pcre/pcrefinf.c
    + Updated pcre to 8.0 (from 7.9)

  * external/pcre/cnv_o2hb.bat
  * external/pcre/cnv_hb2o.bat
    ! Minor fix.
2009-10-20 20:41:05 +00:00
Viktor Szakats
64bb552abd 2009-09-21 12:41 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/libpng/LICENSE
    ! Missed one file from prev.
2009-09-21 10:42:53 +00:00
Viktor Szakats
6093e8c3ba 2009-09-21 12:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/libpng/pngconf.h
  * external/libpng/pngset.c
  * external/libpng/pngwutil.c
  * external/libpng/png.c
  * external/libpng/png.h
    * Updated to 1.2.40 (from 1.2.39)
2009-09-21 10:40:57 +00:00
Viktor Szakats
f7e2480bcc 2009-09-20 15:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/pcre/config.h
    * Restored original only differing in whitespace.

  - external/pcre/ChangeLog
    - Deleted. Content is obsolete.

  + external/pcre/pcre.dif
    + Added .dif file.

  * config/darwin/gcc.mk
  * config/darwin/clang.mk
  * config/darwin/icc.mk
    + Finished dylib link generation for darwin.
2009-09-20 13:33:58 +00:00
Viktor Szakats
9fa44e70c9 2009-09-19 14:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/zlib/zlib.dif
  * external/sqlite3/sqlite3.dif
    ! Set native EOL props. This one is indeed required.
2009-09-19 12:01:41 +00:00
Viktor Szakats
1cf7576111 2009-09-19 11:26 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/sqlite3/sqlite3.c
  * external/sqlite3/sqlite3.dif
  * external/sqlite3/sqlite3.h
    + sqlite upgraded to 3.6.18 (from 3.6.17)

  * external/sqlite3/Makefile
    + Enabled for mingwarm. Now it compiles with only one warning.

  * utils/hbmk2/hbmk2.prg
    + Added 'fossil' version control system support to -vcshead option.
2009-09-19 09:27:32 +00:00
Viktor Szakats
7de8f43897 2009-09-19 10:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* debian/rules
    % Minor Makefile optimizations. I hope this is right.

  * INSTALL
    + Readded alternative package for curl on debian.

  + external/zlib/zlib.dif
  + external/sqlite3/sqlite3.dif
    + Added .dif files for local patches to locally hosted
      3rd party code. Pls update these when modifying original
      source locally.
    ; NOTE: I intentionally didn't add svn props to these files.

  * external/sqlite3/Makefile
    ! Typo in comment.
2009-09-19 08:16:54 +00:00
Przemyslaw Czerpak
99502fdaf7 2009-09-19 07:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
    * updated for OpenBSD builds

  * harbour/external/sqlite3/sqlite3.c
    ! casting
2009-09-19 05:47:14 +00:00
Viktor Szakats
cdf2d3ced6 2009-09-18 12:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* ChangeLog
    ! Typos.

  * source/rtl/hbsocket.c
    ! Applied patch for BEOS/HAIKU by Tamas Tevesz.

  * contrib/hbtip/sendmail.prg
    ! Fixed to append CRLF instead of hb_osNewLine() to e-mail body.
      Patch submitted by Lorenzo Fiorini.
      NOTE: This fix is surely valid, I'll apply further fixes as we
            manage to find out more on the bigger picture.

  * contrib/hbtip/mail.prg
    ! Applied a few patches from mail.prg sent by Gerald Drouillard:
      - Using :setBody() from :New() instead of replicating (little bit
        different) logic.
      - "Content-Length" deleted from generated e-mail text.
      - Added parameter list to METHOD declaration for :setHeader().
    * Minor formatting.

  * config/beos/libs.mk
    + Applied patch from Tamas Tevesz changing 'socket' lib to 'network' for BEOS/HAIKU.

  * utils/hbmk2/hbmk2.prg
    + Done the same for hbmk2 (changed 'socket' lib to 'network' for BEOS/HAIKU).

  * config/detfun.mk
    + Changed to avoid duplicate component detection lines in verbose output.
      (_DET_OPT_VERB=very|yes - not yet documented)
      (note this needs absolute paths to be used when referring to internal
      components in _DET_INC_DEFP/_DET_INC_LOCL)

  * external/sqlite3/Makefile
  * external/libhpdf/Makefile
  * external/libpng/Makefile
  * contrib/hbsqlit3/Makefile
  * contrib/hbhpdf/Makefile
    + Changed to use absolute paths when referring to locally hosted components
      in _DET_INC_LOCL variables.
2009-09-18 10:35:17 +00:00