Commit Graph

15381 Commits

Author SHA1 Message Date
Viktor Szakats
6c38bc986d 2010-11-09 17:16 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbexpat/hbexpat.hbp
    ! Deleted reference to non-existing header.

  * contrib/hbzebra/hbzebra.hbp
    * My latest change formatted differently.

  * contrib/hbzebra/tests/test1.prg
    + Added SVN ID.
2010-11-09 16:17:31 +00:00
Mindaugas Kavaliauskas
14400d94a0 2010-11-09 18:00 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbzebra/code128.c
    * pacified warning
2010-11-09 16:00:56 +00:00
Przemyslaw Czerpak
51652b4892 2010-11-09 16:39 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/classes.c
    ! fixed typo: uiClass -> s_uiClasses

  * harbour/src/common/hbver.c
    ! fixed typo: missing ;
2010-11-09 15:39:33 +00:00
Viktor Szakats
483a3c868e 2010-11-09 15:13 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbplist
    + Enabled hbzebra.

  * contrib/hbzebra/hbzebra.hbp
    + Added optional cairo dependency.
    + Enabled cairo dependent components if cairo is detected.
    - Deleted hard-coded reference to cairo lib.
    + Adjusted reference to hbcairo.hbc.

  * contrib/hbzebra/itf.c
  * contrib/hbzebra/codabar.c
    * Silenced three warnings.
    ; TOFIX: Remains one: 
             ../../../../../contrib/hbzebra/code128.c: In function 'hb_zebra_create_code128':
             ../../../../../contrib/hbzebra/code128.c:316:19: warning: suggest parentheses around '&&' within '||'

  * contrib/hbzebra/core.c
    ! Replaced hbcairo.h header reference with hbstack.h

  * contrib/hbzebra/cairo.c
  * contrib/hbzebra/hbzebra.hbc
    ! Added EOL at EOF.
    * Indenting.
2010-11-09 14:13:54 +00:00
Viktor Szakats
b9cc575e8c 2010-11-09 14:56 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/common/hbver.c
    + Added support for hb_iswin*() and HB_OSISWIN*() functions
      on MS-DOS platforms.
      Please test them.
    ; TODO: Detection of 2K and Vista isn't currently implemented,
            but can be added if someone knows how to detect them.
2010-11-09 14:00:44 +00:00
Mindaugas Kavaliauskas
986e945874 2010-11-09 15:20 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
+ harbour/contrib/hbzebra
  + harbour/contrib/hbzebra/hbzebra.ch
  + harbour/contrib/hbzebra/hbzebra.h
  + harbour/contrib/hbzebra/core.c
  + harbour/contrib/hbzebra/codabar.c
  + harbour/contrib/hbzebra/code11.c
  + harbour/contrib/hbzebra/code128.c
  + harbour/contrib/hbzebra/code39.c
  + harbour/contrib/hbzebra/code93.c
  + harbour/contrib/hbzebra/eanupc.c
  + harbour/contrib/hbzebra/itf.c
  + harbour/contrib/hbzebra/msi.c
  + harbour/contrib/hbzebra/hbzebra.hbc
  + harbour/contrib/hbzebra/hbzebra.hbp
    + added barcode library. It supports these types of barcodes: EAN-13, 
      EAN-8, UPC-A, UPC-E, Code 128, Code 93, Code 39, Code 11, Codabar, 
      Interleave 2 of 5 (ITF), MSI.
         Library has both C and Harbour level API functions. GC pointers 
      are used to store Zebra structures in Harbour items.
         Current impementation has Cairo draw backend only. Draw A different 
      backends can be added
      Harbour level API:
         hb_zebra_create_<type>( cCode [, nFlags ] ) --> hZebra
         hb_zebra_destroy( hZebra )
         hb_zebra_geterror( hCairo ) --> nError
         hb_zebra_getcode( hCairo ) --> cPrintableCode
         hb_zebra_draw_cairo( hZebra, hCairo, nX, nY, nLineWidth, nHeight [, nFlags ] ) --> hZebra

  + harbour/contrib/hbzebra/tests
  + harbour/contrib/hbzebra/tests/test1.prg
  + harbour/contrib/hbzebra/tests/hbmk.hbm
    + added test app to generate barcodes. Creates .pdf and .png output,
      uses Cairo backend to draw barcode

    ; TODO: (my todo list with low priority)
      - 2-digit and 5-digit supplemental barcodes for EAN13
      - draw EAN, UPC barcode in native format
      - 2D barcode support
      - PDF417

    ; If someone has real scanner it would be nice to do tests and get feedback. 

    ; I guess I've implemented Code 128 encoding (code set selection, etc) that 
      generates the optimal (shortest) barcode. If someone can find a sample of 
      barcode that encodes the same data and is shorter than hbzebra's barcode, 
      please inform me.

    ; Make system is not working and a requires to be fixed by someone! 
      This library has properties that possibly could not be solved in current 
      make implementation. It can have multiple draw backends: Cairo, Win32 GDI,
      GD, ASCII art, libharu, etc. These depends on system and installed 
      packages. I do not know howto put all backends into the same hbzebra 
      library. A separate library for each backend seems to be wasteful way to 
      solve a problem, because draw backend implements only one function (a few
      more functions should be implemented to support EAN/UPC native draw, some
      2D barcodes, but backend code size is small).
2010-11-09 13:22:33 +00:00
Viktor Szakats
7fcd91a2ac 2010-11-09 13:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt_hbmk2_plugin.hbs
    % Normalizing doc .txt files.

  * INSTALL
    * Made TDM again the recommended mingw compiler, as apparently
      official version 4.5.0-1 has a random crash bug (in dbfnsx.c 
      usually).
      WARNING: TDM 4.5.1 has another bug, which prevent it from
               working, so stick with 4.5.0, DWARF2 build recommended.
      WARNING2: TDM 4.5.0 installation might be tricky. Read devel list.

  * contrib/hbhpdf/harupdf.c
    ! More fixes by Saulius Zrelskis, in recently added libharu
      wrappers.

  * package/winuni/RELNOTES
    * Updated C compiler name.
2010-11-09 12:53:11 +00:00
Przemyslaw Czerpak
0b8fd99286 2010-11-09 12:52 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbexpat/hbexpatc.c
  * harbour/contrib/hbexpat/hbexpatp.prg
  * harbour/contrib/hbexpat/hbexpat.hbp
  * harbour/contrib/hbexpat/hbexpat.ch
  * harbour/contrib/hbexpat/hbexpat.hbc
  * harbour/contrib/hbexpat/hbexpat.c
  * harbour/contrib/hbqt/tests/testres.prg
  * harbour/contrib/hbqt/qtuitools/hbqtuitools.hbm
  * harbour/contrib/hbqt/qtuitools/hbqtuitools.hbp
  * harbour/contrib/hbqt/qtuitools/hbqtuitools.hbc
    ! fixed hardcoded CRLF EOLs and set svn:eol-style=native

  * harbour/contrib/xhb/xhbarrex.c
  * harbour/contrib/hbexpat/hbexpatc.c
  * harbour/contrib/hbexpat/hbexpatp.prg
  * harbour/contrib/hbexpat/hbexpat.hbp
  * harbour/contrib/hbexpat/hbexpat.ch
  * harbour/contrib/hbexpat/hbexpat.hbc
  * harbour/contrib/hbexpat/hbexpat.c
  * harbour/contrib/hbqt/qtgui/hbqt_hbqabstractitemmodel.cpp
  * harbour/contrib/hbqt/qtgui/hbqt_init.cpp
  * harbour/contrib/hbqt/qtgui/hbqt_hbqabstractitemmodel.h
  * harbour/contrib/hbqt/qtgui/hbqt_hbqgraphicsscene.cpp
  * harbour/contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.cpp
  * harbour/contrib/hbqt/qtgui/hbqt_hbqgraphicsscene.h
  * harbour/contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.h
  * harbour/contrib/hbqt/qtwebkit/hbqtwebkit.hbm
  * harbour/contrib/hbqt/qtwebkit/hbqtwebkit.hbp
  * harbour/contrib/hbqt/qtcore/hbqt_hbqstring.cpp
  * harbour/contrib/hbqt/qtcore/hbqt_init.cpp
  * harbour/contrib/hbqt/qtcore/hbqt_hbqstring.h
  * harbour/contrib/hbqt/qtnetwork/hbqt_init.cpp
  * harbour/contrib/hbqt/tests/testres.prg
  * harbour/contrib/hbqt/tests/wvtqt.hbp
  * harbour/contrib/hbqt/tests/wvtqt.prg
  * harbour/contrib/hbqt/qtuitools/hbqtuitools.hbm
  * harbour/contrib/hbqt/qtuitools/hbqtuitools.hbp
  * harbour/contrib/hbqt/qtuitools/hbqtuitools.hbc
  * harbour/contrib/hbqt/qtdesigner/hbqtdesigner.hbm
  * harbour/contrib/hbqt/qtdesigner/hbqtdesigner.hbp
  * harbour/contrib/hbfship/fldarr.prg
  * harbour/contrib/hbfship/isbegseq.c
  * harbour/contrib/hbfship/isfunc.c
  * harbour/contrib/hbfship/isdb.prg
  * harbour/contrib/hbfship/flddeci.c
    * set svn:keywords="Author Date Id Revision"
2010-11-09 11:53:06 +00:00
Viktor Szakats
8d2f89774c 2010-11-09 11:14 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbhpdf/harupdf.c
    ! Applied patch from Saulius Zrelskis, fixing non-uppercased
      HB_FUNC names in newly added wrapper functions.
2010-11-09 10:16:49 +00:00
Przemyslaw Czerpak
49e0b8e4e0 2010-11-09 10:47 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rdd/sdf1.c
    ! fixed bug in SDF import procedure - many thanks
      to Enrico Maria Giordano for reporting the problem
      and to Vicente Guerra for locating the reason
      BTW fix committed to xHarbour may work but it's not correct,
      I suggest to update it.

  * harbour/src/rtl/hbdyn.c
  * harbour/src/rtl/hbsocket.c
  * harbour/src/rdd/dbfnsx/dbfnsx1.c
  * harbour/src/rdd/dbfcdx/dbfcdx1.c
  * harbour/src/rdd/dbffpt/dbffpt1.c
  * harbour/contrib/hbct/bitnum.c
  * harbour/contrib/hbwin/olecore.c
    * pacified some of MSVC6 warnings reported by Andi

  * harbour/utils/Makefile
    * added internal/developers build switch
2010-11-09 09:47:51 +00:00
Viktor Szakats
ec301342b7 2010-11-09 10:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbdyn.c
    ! Added casts to silence msvc6 warnings.
2010-11-09 09:01:42 +00:00
Viktor Szakats
369874debf 2010-11-09 02:27 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt_hbmk2_plugin.hbs
    - Deleted debug lines.

  * contrib/hbqt/qtwebkit/hbqtwebkit.hbm
  * contrib/hbqt/hbqt_common.hbm
    + Added -deppkgname= to dependency checks.

  * config/global.mk
  * config/cygwin/gcc.mk
    * minor cygwin dyn fixes
      From Tamas.
2010-11-09 01:31:43 +00:00
Viktor Szakats
d58646b8f8 2010-11-09 01:40 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/hbexpat/3rd/expat/expat.dif
  * contrib/hbexpat/3rd/expat/expat.hbp
    + Added .dif file.

  * contrib/hbhpdf/3rd/libhpdf/libhpdf.dif
    * Updated .dif file.

  ; NOTE: Previous failures were caused by .hbs extension being 
          associated with hbrun and I relied on this when running 
          hb3rdpat.hbs. It wouldn't work this way, and I experienced 
          various unexpected behavior in such case with other scripts 
          too in the past. So moral of the story, always use 
          'hbrun <name>.hbs', at least on Windows.
2010-11-09 00:41:02 +00:00
Przemyslaw Czerpak
ceffdd839d 2010-11-09 01:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/Makefile
    % small optimization in concurrent build (-j GNU make switch) dependency
2010-11-09 00:17:45 +00:00
Przemyslaw Czerpak
d5c7c499b5 2010-11-08 23:37 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbcompdf.h
  * harbour/include/hbexprb.c
  * harbour/src/common/expropt1.c
    + added protection against pushing series of parameters on HVM
      stack by hb_arrayToParams() function used in wrong contects,
      i.e.:
         var := hb_arrayToParams( { 1, 2, 3 } )
      Possible TODO: add compile time warning in such case.

  * harbour/contrib/hbexpat/3rd/expat/_hbconf.h
  * harbour/contrib/hbexpat/3rd/expat/expat.hbp
  * harbour/contrib/hbexpat/3rd/expat/xmltok.c
  * harbour/contrib/hbexpat/3rd/expat/xmlrole.c
  * harbour/contrib/hbexpat/3rd/expat/xmlparse.c
    * updated to define endian setting using information from hbdefs.h

  * harbour/contrib/hbexpat/3rd/expat/xmltok.c
   ! added missing members in structure initializations
2010-11-08 22:37:26 +00:00
Viktor Szakats
89308c197d 2010-11-08 22:28 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbexpat/3rd/expat/expat.hbp
    + *nix support.

  * contrib/hbqt/qtwebkit/hbqtwebkit.hbm
  * contrib/hbqt/hbqt_common.hbm
    + bsd support.

  ; Along the patch by Tamas.
2010-11-08 21:28:39 +00:00
Viktor Szakats
c69ba47c03 2010-11-08 12:40 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp
    ! Fixed to enable win-specific dynamic lib related option 
      only on win platform.

  * doc/xhb-diff.txt
    ! Minor typo.
2010-11-08 11:41:03 +00:00
Przemyslaw Czerpak
a73bbdb1e3 2010-11-08 12:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/xhb/xhb.hbp
  * harbour/contrib/xhb/xhb.hbx
  + harbour/contrib/xhb/xhbarrex.c
    + added ASIZEALLOC(), ALENALLOC() xHarbour functions
      In Harbour they are in practice useless because we are using
      dynamic array preallocation not static one as in xHarbour.

  * harbour/doc/xhb-diff.txt
    + added information about HB_ARRAYTOPARAMS() function
2010-11-08 11:21:00 +00:00
Viktor Szakats
794fc365d1 2010-11-08 11:17 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt_hbmk2_plugin.hbs
    ! Do not apply HB_QTPOSTFIX to rcc tool.

  * utils/hbmk2/hbmk2.prg
    + Added two potential TOFIXes. I'd be grateful is something 
      could get to the end of them.
2010-11-08 10:17:35 +00:00
Viktor Szakats
999382fba9 2010-11-08 01:38 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmysql/hbmysql.hbp
  * contrib/gtalleg/gtalleg.hbm
  * contrib/sddmy/sddmy.hbp
  * contrib/hbodbc/hbodbc.hbp
  * contrib/sddfb/sddfb.hbp
  * contrib/hbsqlit3/hbsqlit3.hbp
  * contrib/hbmzip/hbmzip.hbp
  * contrib/hbmzip/3rd/minizip/minizip.hbp
  * contrib/hbexpat/hbexpat.hbp
  * contrib/hbqt/hbqt_common.hbm
  * contrib/hbfbird/hbfbird.hbp
  * contrib/sddpg/sddpg.hbp
  * contrib/hbbz2/hbbz2.hbp
  * contrib/hbcurl/hbcurl.hbm
  * contrib/hbcups/hbcups.hbp
  * contrib/hbhpdf/hbhpdf.hbp
  * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp
  * contrib/hbpgsql/hbpgsql.hbp
  * contrib/sddsqlt3/sddsqlt3.hbp
  * contrib/hbfimage/hbfimage.hbp
  * contrib/sddodbc/sddodbc.hbp
  * contrib/hbgd/hbgd.hbp
  * contrib/sddoci/sddoci.hbp
  * contrib/hbcairo/hbcairo.hbp
  * contrib/hbwin/hbwin.hbp
  * contrib/hbssl/hbssl.hbm
  * config/detfun.mk
  * config/global.mk
  * INSTALL
    * HB_BUILD_EXTDEF -> HB_BUILD_3RDEXT
2010-11-08 00:40:00 +00:00
Viktor Szakats
798841c195 2010-11-08 01:28 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* package/harbour.spec
    ! Fixed messed accents.
    ; QUESTION: Can we switch this file to UTF-8? It contains 
                translations to multiple different languages, 
                so current state is already not very optimal.
                Anyone?

  * ChangeLog
    + Added TODO to prev. (HB_BUILD_EXTDEF -> HB_BUILD_3RDEXT)
2010-11-08 00:29:36 +00:00
Viktor Szakats
e55c31bd69 2010-11-08 01:23 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/examples/contrib.hbc
  * utils/hbmk2/hbmk2.prg
  * config/detfun.mk
  * config/detect.mk
  * INSTALL
    * Terminology cleanup: "external code" -> "3rd party code"

  - bin/hbxpatch.hbs
  + bin/hb3rdpat.hbs
  * config/postinst.hbs
  * package/harbour.spec
    * Renamed hbxpatch.hbs to hb3rdpat.hbs to reflect terminology
      cleanup ("external code" -> "3rd party code")

  * utils/hbmk2/examples/contrib.hbc
  * utils/hbmk2/examples/contribf.hbc
  * utils/hbmk2/examples/oohg.hbc
    * Using .hbc files.

  * contrib/hbssl/ssl.c
    + SSL_GET_READ_AHEAD() function enabled. Made it a dummy
      for bcc, where it for some reason creates unresolved
      external when referencing the corresponding openssl API.
2010-11-08 00:24:36 +00:00
Viktor Szakats
21a17c901f 2010-11-07 20:28 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + HB_HAS_<name> hbmk2 macro is now defined, in case a given
      dependency gets detected.
    + HB_HAS_<name>_LOCAL hbmk2 macro is now defined, in case a
      given dependency gets detected on a local path.
    + Added -depfinish=<name> option which will tell hbmk2 to
      not expect any more <name> related dependency information,
      and do the detection right there while processing options.
      Combined with above macros, now it's possible to use
      filters based dependency detection results.

  * contrib/hbsqlit3/hbsqlit3.hbp
  * contrib/hbmzip/hbmzip.hbp
  * contrib/hbexpat/hbexpat.hbp
  * contrib/hbbz2/hbbz2.hbp
  * contrib/hbhpdf/hbhpdf.hbp
  * contrib/sddsqlt3/sddsqlt3.hbp
    + By using above hbmk2 feature, now the locally hosted
      dependency won't be referenced (and thus won't be built)
      if the dependency is detected on a user supplied or
      system path.
      This effectively restores previous behavior (before
      moving 3rd party libs to hbmk2 build system / contrib
      area), and f.e. if a Linux user has sqlite3 installed
      as a system package, the locally hosted version won't
      be built.

  * contrib/hbexpat/3rd/expat/expat.hbp
    * expat locally hosted sources are now not excluded from
      *nix builds, and they will be used if it's not installed
      as a system package.
2010-11-07 19:29:42 +00:00
Viktor Szakats
5468e70e8a 2010-11-07 18:36 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    - Deleted completed TODO.

  * contrib/hbhpdf/hbhpdf.hbp
    ! Updated libharu source location after latest changes.
2010-11-07 17:36:50 +00:00
Viktor Szakats
a33dbe783a 2010-11-07 18:28 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
- external
    - Deleted.
2010-11-07 17:28:30 +00:00
Viktor Szakats
7022118152 2010-11-07 18:15 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
- external/zlib
  - external/png
  - external/jpeg
  - external/hbpmcom
  - external/pcre
  - external/Makefile
  + src/3rd
  + src/3rd/zlib
  * src/3rd/zlib/Makefile
  + src/3rd/png
  * src/3rd/png/Makefile
  + src/3rd/hbpmcom
  * src/3rd/hbpmcom/Makefile
  + src/3rd/jpeg
  * src/3rd/jpeg/Makefile
  + src/3rd/pcre
  * src/3rd/pcre/Makefile
  + src/3rd/Makefile
    * Moved /external to /src/3rd
    ; This way all core components reside in core.
    ; NOTE: png, jpeg are not referenced by core components,
            so they may be moved to contrib area in the future.

  * config/detect.mk
  * Makefile
  * src/Makefile
  * src/rtl/hbcom.c
  * contrib/hbmzip/hbmzip.hbp
  * contrib/hbmzip/3rd/minizip/minizip.hbp
  * contrib/hbhpdf/hbhpdf.hbp
  * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp
  * contrib/hbhpdf/3rd/libhpdf/hpdf.h
  * contrib/hbwin/hbwin.hbp
    * Updated to reflect above change.
    ; NOTE: Now -j builds can be optimized to better overlap with 
            3rd component builds. Please do it in src/Makefile.

  * contrib/hbplist
    * Updated.
2010-11-07 17:17:05 +00:00
Viktor Szakats
08c1bf8970 2010-11-07 17:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
- contrib/hbbz2/3rd/bz2/Makefile
    - Deleted.
2010-11-07 16:26:06 +00:00
Viktor Szakats
e83eeb99c2 2010-11-07 17:24 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbbz2/hbbz2.hbp
  * contrib/hbbz2/hbbz2.hbc
    * Modified for new 3rd source location.

  * external/Makefile
  - external/bzip2
  + contrib/hbbz2/3rd
  + contrib/hbbz2/3rd/bz2
  - contrib/hbbz2/3rd/bz2/bzip2.hbc
  + contrib/hbbz2/3rd/bz2/bz2.hbc
  - contrib/hbbz2/3rd/bz2/bzip2.hbp
  + contrib/hbbz2/3rd/bz2/bz2.hbp
    * Moved to contrib local dir.
    * Renamed to bz2 to match lib name.

  - contrib/hbhpdf/3rd/libhpdf/Makefile
    - Deleted.
2010-11-07 16:24:57 +00:00
Viktor Szakats
855b43fd69 2010-11-07 17:12 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbhpdf/hbhpdf.hbp
  * contrib/hbhpdf/hbhpdf.hbc

  * contrib/hbexpat/3rd/expat/expat.hbc
    ! Fixed for 'HB_BUILD_CONTRIB_DYN=yes'

  * external/Makefile
  - external/libhpdf
  + contrib/hbhpdf/3rd
  + contrib/hbhpdf/3rd/libhpdf
  * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbc
  * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp
    * Moved to contrib local dir.
    + Added support for 'HB_BUILD_CONTRIB_DYN=yes'

  * contrib/hbhpdf/3rd/libhpdf/hpdf.h
    ! Fixed for dynamic build.
    ; TODO: Regenerate .dif. For me it restored original copy for some reason :(

  * contrib/hbsqlit3/hbsqlit3.hbc
  * contrib/sddsqlt3/sddsqlt3.hbc
    * Using .hbc file for 3rd party lib.

  * contrib/3rd/sqlite3/sqlite3.hbp
  * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp
  * contrib/hbmzip/3rd/minizip/minizip.hbp
  * contrib/hbexpat/3rd/expat/expat.hbp
    ! Changed -warn=no to -warn=low, which is equivalent to 'HB_BUILD_WARN := no'
      in Makefile.
2010-11-07 16:14:20 +00:00
Viktor Szakats
dd3feac85e 2010-11-07 16:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
- external/sqlite3
    * Wrestle with svn and its bl$dy tree conflicts.
2010-11-07 15:04:30 +00:00
Viktor Szakats
575b574c53 2010-11-07 15:58 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/version.c
    + HB_VERSION( HB_VERSION_PLATFORM ) changed to use hb_verPlatformMacro().
      This means it will now supported recently added platforms.
    ; NOTE: For consistency, __PLATFORM__WINDOWS should pbly be changed to __PLATFORM__WIN,
            and __PLATFORM__WINCE to __PLATFORM__WCE.

  * utils/hbmk2/hbmk2.prg
    + Added HB_HOST_PLAT macro, returning: hb_Version( HB_VERSION_PLATFORM )
    + Added HB_HOST_PLAT_UNIX macro.
    ! Fixed cygwin to be detected as cross target platform.
    ! Few cygwin related TOFIX-es cleared.

  * external/Makefile
  - external/sqlite3
  + contrib/3rd
  + contrib/3rd/sqlite3
  * contrib/3rd/sqlite3/sqlite3.hbc
  + contrib/3rd/sqlite3/sqlite3.hbp
  - contrib/3rd/sqlite3/Makefile
    * Moved sqlite3 foreign code to contrib/3rd dir from
      global 3rd party code dir.
    + Migrated remaining platform tweaks from Makefile to sqlite3.hbp
      Bumps are expected, pls test.

  * contrib/hbsqlit3/hbsqlit3.hbp
  * contrib/sddsqlt3/sddsqlt3.hbp
    * Changed sqlite3 position.
    + Added sqlite3 reference.
    ; Please note that after above changes sqlite3 will only be built
      if required.

  * src/common/hbver.c
    * Formatting.
2010-11-07 15:02:55 +00:00
Viktor Szakats
58de824eb2 2010-11-07 13:49 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    * Changed the way target selection (-hblib, -hbdyn*, -hbexe, etc)
      options are handled. So far the last one specified remained
      active, now the first one specified will stay active.
      IOW: 'hbmk2 -hbdyn mylib.hbp' will result in dynamic lib target,
           even if mylib.hbp contains -hblib option.
    ; Beware of some regressions or incompatibility with certain
      build configs.

  * contrib/hbpost.hbm
  * contrib/hbpre.hbm
    * Moved -hbdyn option to hbpre.hbm. This makes it possible
      for .hbp files to act differently when built as dynamic lib.
    ; Such will be required for 

  * external/libhpdf/libhpdf.hbp
    * Cleared TOFIX after above changes.

  * contrib/hbplist
  * contrib/hbmzip/hbmzip.hbp
  * contrib/hbmzip/hbmzip.hbc
  - external/minizip
  + contrib/hbmzip/3rd
  + contrib/hbmzip/3rd/minizip
  * contrib/hbmzip/3rd/minizip/minizip.hbc
  * contrib/hbmzip/3rd/minizip/minizip.hbp
  - contrib/hbmzip/3rd/minizip/Makefile
    * Moved minizip dir under the contrib that uses it.
    ; Please test.
2010-11-07 12:50:38 +00:00
Viktor Szakats
7b4935ec01 2010-11-07 12:57 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* external/sqlite3/sqlite3.hbp
  * external/sqlite3/Makefile
    + Added -DSQLITE_OMIT_DEPRECATED as suggested by Petr.
      Shaves off a few Ks from sqlite3 lib size.

  * contrib/hbodbc/tests/testodbc.prg
    * Formatting.

  * config/hbextern.hbs
    * cygwin update.

  * bin/hbmk2l2d.hbs
    ! Added missing #endif
    * Changed guard.

  * INSTALL
    * Updated hbmk2 examples about using libs/packages.
2010-11-07 11:57:46 +00:00
Viktor Szakats
9624a94fd7 2010-11-07 01:40 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbodbc/tests/testodbc.prg
  * contrib/hbodbc/odbc.c
    ! Two minor corrections to prev.
2010-11-07 00:41:11 +00:00
Viktor Szakats
3273cb1bb3 2010-11-07 01:33 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbodbc/odbc.c
    ! SQLERROR(): Fixed to accept handle as pointer (not as number).
    ! SQLERROR(): Fixed returned cErrorMsg using proper length.
    ! SQLERROR(): Fixed to initialize 'out' parameters.
    + Added SQLGETDIAGREC( <nHandleType>, <hHandle>, <nRecNumber>, @<cSQLState>, @<nError>, @<cErrorMsg> ) -> <nResult>

  * contrib/hbodbc/sql.ch
    * Added self-guard
    * Enclosed negative constant values in parents.
    + Added SQL_HANDLE_* constants.

  * contrib/hbodbc/tests/odbcdemo.prg
  * contrib/hbodbc/tests/odbccall.prg
  * contrib/hbodbc/tests/testodbc.prg
    * Added "simpleio.ch"
    * Formatting.
    ! Changed locally rolled WITH OBJECT emulation with real WITH OBJECT syntax.
    + Added SQLERROR() and SQLGETDIAGREC() test calls.
2010-11-07 00:34:02 +00:00
Viktor Szakats
9b31a920d7 2010-11-06 23:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Little clarification to '2. HOW TO DO A PARTIAL [RE]BUILD' 
      section.
2010-11-06 22:26:26 +00:00
Viktor Szakats
99a99c0a16 2010-11-06 23:12 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gete.c
    % Optimized out memory allocation on non-dos/os2 platforms.

  + contrib/hbexpat/3rd/expat/_hbconf.h
    + Added config file placeholder. Not yet used and empty.

  * contrib/hbqt/hbqt_hbmk2_plugin.hbs
    * Formatting.
    % More StrTran() minor opt.

  * utils/hbmk2/hbmk2.prg
  * config/linux/gcc.mk
  * config/linux/icc.mk
  * config/linux/clang.mk
    * -fpic -> -fPIC for linux dynamic libs.
    ; From Tamas.

  * INSTALL
    + Added expat related information.
2010-11-06 22:13:28 +00:00
Viktor Szakats
eb53924a77 2010-11-06 14:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbexpat/hbexpat.c
    ! Added missing 'enum' keyword to just added cast.

  ; Patches from Tamas:

  * utils/hbmk2/hbmk2.prg
    + cygwin is pic by default

  * bin/hbxpatch.hbs
    + report all missing tools in one go
2010-11-06 13:20:18 +00:00
Viktor Szakats
df1b77773e 2010-11-05 20:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Reworded two sentences where HB_COMPILER/HB_PLATFORM 
      is explained.
    * Changed the order of settings to reflect importance.
      HB_INSTALL_PREFIX is first, HB_USER_* are second.
    - Deleted HB_INSTALL_??? envvars from list of documented 
      settings.
2010-11-05 19:26:24 +00:00
Viktor Szakats
05d539d3f5 2010-11-05 20:02 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbexpat/hbexpat.c
    ! Cast for C++.

  * contrib/hbexpat/tests/test.prg
  * contrib/hbexpat/tests/tohash.prg
    * HB_OSNEWLINE() -> HB_EOL()
2010-11-05 19:02:44 +00:00
Viktor Szakats
31d0d15e4d 2010-11-05 19:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed bad typo in watcom platform redetection. win was misdetected
      as dos. (this fixes expat watcom build)
    + Added experimental -depcontrol=<name>:strict:/opt/mingw/include
      option, which will make the given path the only one where header
      detection is done.

  * contrib/hbexpat/3rd/expat/expat.hbp
    ! Deleted unnecessary input files.
    ! Fixed os2 build by setting HAVE_MEMMOVE.
2010-11-05 18:22:39 +00:00
Viktor Szakats
64bcbcbe28 2010-11-05 18:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbexpat/hbexpat.hbp
  * contrib/hbexpat/hbexpat.hbc
  - contrib/hbexpat/expat
  + contrib/hbexpat/3rd
  + contrib/hbexpat/3rd/expat
    * Moved expat 3rd party code under '3rd' dir.

  * contrib/hbexpat/hbexpat.hbp
  + contrib/hbexpat/hbexpat.hbx
  + contrib/hbexpat/hbexpatx.prg
    + Added .hbx and extern puller harness.
2010-11-05 17:15:16 +00:00
Viktor Szakats
944ff18cfd 2010-11-05 16:38 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbexpat/hbexpat.hbp
    ! Minor typo.

  * contrib/hbexpat/tests/tohash.prg
    - Deleted json dump.

  * utils/hbrun/hbrun.prg
    * Minor change to make it easier to update header list.
2010-11-05 15:38:37 +00:00
Viktor Szakats
9cdb89624f 2010-11-05 15:58 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbexpat/expat/expat.hbp
  * contrib/hbexpat/hbexpat.hbp
  * contrib/hbexpat/hbexpat.hbc
    * Minor cleanups.

  * contrib/hbexpat/tests/tohash.prg
    + Added HB_HKEEPORDER( , .T. )

  * external/Makefile
  * config/global.mk
  * INSTALL
    - Deleted central option to control external lib building:
         HB_EXTERNALLIBS
    ! Also deleted one reference to HB_EXTERNAL_ADDONS, which has
      been removed earlier.

  + external/minizip/minizip.hbp
  + external/minizip/minizip.hbc
  + external/sqlite3/sqlite3.hbc
  + external/sqlite3/sqlite3.hbp
  + external/bzip2/bzip2.hbc
  + external/bzip2/bzip2.hbp
  + external/libhpdf/libhpdf.hbc
  + external/libhpdf/libhpdf.hbp
    + Added experimental hbmk2 make files for 
      foreign code which is used solely by contribs.
2010-11-05 14:59:11 +00:00
Viktor Szakats
7bd55a6158 2010-11-05 14:54 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    ! Don't pickup dependencies with long-filename on MS-DOS hosts.
      Please test.

  * contrib/hbplist
    ! Added missing dependency comment.

  * contrib/rddads/rddads.h
    ! Fixed mingw warnings after recent change. Now _declspec
      is only defined for mingw, if it isn't already. Pls review me.

  * utils/hbmk2/hbmk2.prg
    * Formatting.
2010-11-05 13:55:57 +00:00
Viktor Szakats
1748d6f378 2010-11-05 14:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt_hbmk2_plugin.hbs
    + Added support for converting multiple input .qth files to
      generated source/doc.

  - contrib/hbqt/tests/hbqtgen.prg
    - Deleted initial generator tools. Its code now lives in
      hbqt_hbmk2_plugin.hbs script/plugin.

  * contrib/hbplist
    * Added comment.

  * utils/hbmk2/hbmk2.prg
    % Minor opt.
2010-11-05 13:26:49 +00:00
Viktor Szakats
06b7fe5ac0 2010-11-05 13:41 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/hbexpat
  + contrib/hbexpat/hbexpat.c
  + contrib/hbexpat/hbexpatc.c
  + contrib/hbexpat/hbexpatp.prg
  + contrib/hbexpat/hbexpat.ch
  + contrib/hbexpat/hbexpat.hbp
  + contrib/hbexpat/hbexpat.hbc
  + contrib/hbexpat/tests
  + contrib/hbexpat/tests/hbmk.hbm
  + contrib/hbexpat/tests/test.prg
  + contrib/hbexpat/tests/tohash.prg
    + Added Harbour bindings for expat XML parser lib.
    ; Test contains XML to hash conversion. It's very nice,
      small and complete, callback-based parser:
         http://expat.sourceforge.net/
         http://www.xml.com/pub/a/1999/09/expat/index.html
         http://www.xml.com/lpt/a/47

  + contrib/hbexpat/expat
  + contrib/hbexpat/expat/expat.hbp
  + contrib/hbexpat/expat/expat.hbc
  + contrib/hbexpat/expat/COPYING
  + contrib/hbexpat/expat/amigacon.h
  + contrib/hbexpat/expat/ascii.h
  + contrib/hbexpat/expat/asciitab.h
  + contrib/hbexpat/expat/expat.h
  + contrib/hbexpat/expat/expat_ex.h
  + contrib/hbexpat/expat/iasciita.h
  + contrib/hbexpat/expat/internal.h
  + contrib/hbexpat/expat/latin1ta.h
  + contrib/hbexpat/expat/macconfi.h
  + contrib/hbexpat/expat/nametab.h
  + contrib/hbexpat/expat/utf8tab.h
  + contrib/hbexpat/expat/winconfi.h
  + contrib/hbexpat/expat/xmlparse.c
  + contrib/hbexpat/expat/xmlrole.c
  + contrib/hbexpat/expat/xmlrole.h
  + contrib/hbexpat/expat/xmltok.c
  + contrib/hbexpat/expat/xmltok.h
  + contrib/hbexpat/expat/xmltok_i.c
  + contrib/hbexpat/expat/xmltok_i.h
  + contrib/hbexpat/expat/xmltok_n.c
    + Added expat as foreign code. It's ANSI C with MIT license.
      It's first example of adding foreign code in the contrib
      domain, using hbmk2 as build tool. It's also configured to work
      with hbxpatch.hbs.
    ; Please test, I bet MS-DOS builds are broken, and I didn't
      make tests with OS/2 and WinCE either, plus with some
      C compilers. Should build fine though with mingw[64], msvc[64],
      pocc[64], bcc.
    ; TOFIX: Watcom build is broken. Any takers?

  * contrib/hbplist
    + Enabled hbexpat.

  * utils/hbmk2/hbmk2.prg
    ! Minor fix.
2010-11-05 12:46:16 +00:00
Viktor Szakats
2fc69d4894 2010-11-05 12:59 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbvm.h
  * src/vm/hvm.c
    + Added hb_vmPushPointerGC().

  * contrib/hbqt/qtcore/hbqt_init.cpp
    + Added experimental (not activated) code example to pass GC collected 
      pointer back from callbacks. This is just intermediate step, as it 
      should return .prg level class, but at least some room for leaks 
      can be avoided this way, plus the pointer type is identifiable.
      Based on code posted to list by Pritpal.
2010-11-05 12:00:28 +00:00
Viktor Szakats
97bc5b9ea3 2010-11-05 00:58 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/cygwin/gcc.mk
  * include/hbwmain.c
  * src/vm/Makefile
  * src/vm/mainwin.c
  * src/vm/hvm.c
  * src/vm/cmdarg.c
  * src/vm/mainstd.c
  * utils/hbmk2/hbmk2.prg
    + Finalizing cygwin/gcc entry point.
    ; Patch by Tamas.
    + Added hbmainstd for shared cygwin/gcc builds.

  * utils/hbrun/hbrun.hbp
    + Enabled header inclusion also in hbmk2 make file.
2010-11-04 23:59:06 +00:00
Viktor Szakats
47952c23b3 2010-11-04 22:44 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbjson.c
  * src/rtl/hblpp.c
    ! Silenced msvc64 warnings.

  * utils/hbrun/hbrun.prg
    * Moved creation of header hash to separate function.
    + Added HBRUN_NOHEAD envver to disable embedded headers.
      Any non-empty value will have this effect.

  * utils/hbrun/Makefile
    + Enabled embedded headers.

  * contrib/make.hbs
  * config/postinst.hbs
  * bin/hbxpatch.hbs
    ! Resolved TOFIX notes: now the headers can be used
      just like in any .prg, and no need to locally #define
      core constants.
      Also hbqt_hbmk2_plugin.hbs should work now in stdalone 
      mode, with all the OOP code.
2010-11-04 21:46:37 +00:00