Commit Graph

8 Commits

Author SHA1 Message Date
Viktor Szakats
ed16ce5c67 2010-06-14 20:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/minizip/minizip.dif
  * external/minizip/ioapi.h
    + Update for MS-DOS from Tamas Tevesz.

  - contrib/hbqt/qth/QSyntaxHighlighter.qth
    - Deleted to try to fix the SVN update breakage caused by 
      deleting a file and readding it in the same commit on a 
      Windows machine.

  * config/qnx/libs.mk
    + Added x11 libs. QNX supports it, though not the ancient 
      release I have.
2010-06-14 18:45:50 +00:00
Viktor Szakats
816a0f7390 2010-06-10 21:41 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/minizip/minizip.dif
    * Updated. Patch sent by Tamas Tevesz.

  * 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
  * external/zlib/inffast.h
  * external/zlib/inffixed.h
  * external/zlib/deflate.c
  * external/zlib/zlib.h
  * external/zlib/gzclose.c
  * external/zlib/zutil.c
  * external/zlib/gzlib.c
  * external/zlib/deflate.h
  * external/zlib/gzread.c
  * external/zlib/zutil.h
  * external/zlib/crc32.c
  * external/zlib/inftrees.c
  * external/zlib/crc32.h
  * external/zlib/trees.c
  * external/zlib/inflate.c
  * external/zlib/uncompr.c
  * external/zlib/zconf.h
  * external/zlib/inftrees.h
  * external/zlib/trees.h
  * external/zlib/inflate.h
  * external/zlib/gzguts.h
  * external/zlib/inffast.c
  * external/zlib/gzwrite.c
  * external/zlib/compress.c
  * external/zlib/adler32.c
  * external/zlib/infback.c
  * external/png/pngrio.c
  * external/png/pngerror.c
  * external/png/pngconf.h
  * external/png/pngwrite.c
  * external/png/pngset.c
  * external/png/pngpread.c
  * external/png/pngwtran.c
  * external/png/pngwio.c
  * external/png/pngrutil.c
  * external/png/pngwutil.c
  * external/png/pngread.c
  * external/png/pngmem.c
  * external/png/pngget.c
  * external/png/png.c
  * external/png/png.h
  * external/png/pngpriv.h
  * external/png/pngrtran.c
  * external/png/pngtrans.c
  * external/jpeg/jdatadst.c
  * external/jpeg/jmemansi.c
  * external/jpeg/jchuff.c
  * external/jpeg/jdtrans.c
  * external/jpeg/wrtarga.c
  * external/jpeg/jmemmac.c
  * external/jpeg/transupp.c
  * external/jpeg/jcparam.c
  * external/jpeg/transupp.h
  * external/jpeg/jquant1.c
  * external/jpeg/jaricom.c
  * external/jpeg/rdswitch.c
  * external/jpeg/wrjpgcom.c
  * external/jpeg/jccolor.c
  * external/jpeg/jmemmgr.c
  * external/jpeg/jcmarker.c
  * external/jpeg/jcsample.c
  * external/jpeg/jdsample.c
  * external/jpeg/jdmarker.c
  * external/jpeg/jfdctflt.c
  * external/jpeg/jmorecfg.h
  * external/jpeg/rdcolmap.c
  * external/jpeg/jinclude.h
  * external/jpeg/jidctflt.c
  * external/jpeg/jctrans.c
  * external/jpeg/jpegint.h
  * external/jpeg/rdrle.c
  * external/jpeg/jutils.c
  * external/jpeg/jcprepct.c
  * external/jpeg/jdinput.c
  * external/jpeg/jpeglib.h
  * external/jpeg/rdppm.c
  * external/jpeg/rdtarga.c
  * external/jpeg/jdarith.c
  * external/jpeg/jcmainct.c
  * external/jpeg/jdmainct.c
  * external/jpeg/jcapimin.c
  * external/jpeg/jdpostct.c
  * external/jpeg/wrrle.c
  * external/jpeg/rdgif.c
  * external/jpeg/jdapimin.c
  * external/jpeg/jmemsys.h
  * external/jpeg/jcdctmgr.c
  * external/jpeg/jddctmgr.c
  * external/jpeg/cdjpeg.h
  * external/jpeg/jerror.c
  * external/jpeg/rdbmp.c
  * external/jpeg/wrppm.c
  * external/jpeg/jdhuff.c
  * external/jpeg/jfdctfst.c
  * external/jpeg/jcmaster.c
  * external/jpeg/jerror.h
  * external/jpeg/jdmaster.c
  * external/jpeg/jidctfst.c
  * external/jpeg/jmemnobs.c
  * external/jpeg/wrgif.c
  * external/jpeg/jcinit.c
  * external/jpeg/jcarith.c
  * external/jpeg/jquant2.c
  * external/jpeg/wrbmp.c
  * external/jpeg/jdct.h
  * external/jpeg/jmemname.c
  * external/jpeg/jdatasrc.c
  * external/jpeg/jmemdos.c
  * external/jpeg/jcapistd.c
  * external/jpeg/jdapistd.c
  * external/jpeg/jversion.h
  * external/jpeg/jfdctint.c
  * external/jpeg/cderror.h
  * external/jpeg/jidctint.c
  * external/jpeg/jdmerge.c
  * external/jpeg/jccoefct.c
  * external/jpeg/jdcoefct.c
  * external/jpeg/jcomapi.c
  * external/jpeg/jconfig.h
  * external/jpeg/jdcolor.c
  * external/bzip2/blocksor.c
  * external/bzip2/decompre.c
  * external/bzip2/crctable.c
  * external/bzip2/bzlib.c
  * external/bzip2/huffman.c
  * external/bzip2/bzlib.h
  * external/bzip2/randtabl.c
  * external/bzip2/bzlib_pr.h
  * external/bzip2/compress.c
  * external/libhpdf/hpdfpags.h
  * external/libhpdf/hpdffdfb.c
  * external/libhpdf/hpdfxref.c
  * external/libhpdf/hpdfextg.c
  * external/libhpdf/hpdfcons.h
  * external/libhpdf/hpdfencc.c
  * external/libhpdf/hpdffdfj.c
  * external/libhpdf/hpdfextg.h
  * external/libhpdf/hpdffdfn.c
  * external/libhpdf/hpdfstre.c
  * external/libhpdf/hpdfenck.c
  * external/libhpdf/hpdffdf1.c
  * external/libhpdf/hpdfstri.c
  * external/libhpdf/hpdfstre.h
  * external/libhpdf/hpdffdft.c
  * external/libhpdf/hpdfoutl.c
  * external/libhpdf/hpdfenco.c
  * external/libhpdf/hpdfecyd.c
  * external/libhpdf/hpdfimap.c
  * external/libhpdf/hpdfoutl.h
  * external/libhpdf/hpdfenco.h
  * external/libhpdf/hpdffond.h
  * external/libhpdf/hpdfency.h
  * external/libhpdf/hpdffon1.c
  * external/libhpdf/hpdffont.c
  * external/libhpdf/hpdfcata.c
  * external/libhpdf/hpdffont.h
  * external/libhpdf/hpdfcata.h
  * external/libhpdf/hpdfutil.c
  * external/libhpdf/hpdfutil.h
  * external/libhpdf/hpdfreal.c
  * external/libhpdf/hpdfdict.c
  * external/libhpdf/hpdfdocp.c
  * external/libhpdf/hpdfarra.c
  * external/libhpdf/hpdfconf.h
  * external/libhpdf/hpdfanno.c
  * external/libhpdf/hpdfinfo.c
  * external/libhpdf/hpdfgsta.c
  * external/libhpdf/hpdfdest.c
  * external/libhpdf/hpdfanno.h
  * external/libhpdf/hpdfinfo.h
  * external/libhpdf/hpdfnumb.c
  * external/libhpdf/hpdffdfc.c
  * external/libhpdf/hpdfgsta.h
  * external/libhpdf/hpdfdest.h
  * external/libhpdf/hpdfdoc.c
  * external/libhpdf/hpdferro.c
  * external/libhpdf/hpdffdfi.c
  * external/libhpdf/hpdfbina.c
  * external/libhpdf/hpdffdfk.c
  * external/libhpdf/hpdfdoc.h
  * external/libhpdf/hpdflist.c
  * external/libhpdf/hpdferro.h
  * external/libhpdf/hpdfimag.c
  * external/libhpdf/hpdfencj.c
  * external/libhpdf/hpdfecy.c
  * external/libhpdf/hpdflist.h
  * external/libhpdf/hpdfimag.h
  * external/libhpdf/hpdfencn.c
  * external/libhpdf/hpdffonc.c
  * external/libhpdf/hpdfu3d.c
  * external/libhpdf/hpdfencr.h
  * external/libhpdf/hpdffdf.c
  * external/libhpdf/hpdfu3d.h
  * external/libhpdf/hpdfmmgr.c
  * external/libhpdf/hpdfcfg.h
  * external/libhpdf/hpdfmmgr.h
  * external/libhpdf/hpdfnull.c
  * external/libhpdf/hpdffott.c
  * external/libhpdf/hpdfpage.c
  * external/libhpdf/hpdfobje.c
  * external/libhpdf/hpdfname.c
  * external/libhpdf/hpdfpage.h
  * external/libhpdf/hpdf.h
  * external/libhpdf/hpdfobje.h
  * external/libhpdf/hpdfvers.h
  * external/libhpdf/hpdfpago.c
  * external/libhpdf/hpdftype.h
  * external/libhpdf/hpdfpags.c
  * external/libhpdf/hpdfbool.c
  * external/pcre/pcre.h
  * external/pcre/pcrevutf.c
  * external/pcre/pcreexec.c
  * external/pcre/pcretryf.c
  * external/pcre/pcreconf.c
  * external/pcre/pcreinal.h
  * external/pcre/pcretabs.c
  * external/pcre/pcredfa.c
  * external/pcre/pcreinfo.c
  * external/pcre/pcrever.c
  * external/pcre/pcremktb.c
  * external/pcre/pcrecomp.c
  * external/pcre/config.h
  * external/pcre/pcrenewl.c
  * external/pcre/pcrexcls.c
  * external/pcre/pcreucd.c
  * external/pcre/chartabs.c
  * external/pcre/pcreoutf.c
  * external/pcre/pcreprni.h
  * external/pcre/pcreget.c
  * external/pcre/pcrerefc.c
  * external/pcre/pcrestud.c
  * external/pcre/pcrefinf.c
  * external/pcre/ucp.h
  * external/pcre/pcreglob.c
    - Deleted svn:keywords SVN prop.
    ; NOTE: As a rule svn:keywords should never be used on foreign sources
            stored inside Harbour repository.
2010-06-10 19:46:29 +00:00
Viktor Szakats
b0c8a35e2d 2010-06-06 22:29 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/minizip/ioapi.h
    ! Fixed for watcom compilers (turned off 64-bit file IO)
2010-06-06 20:29:42 +00:00
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