Commit Graph

38 Commits

Author SHA1 Message Date
Viktor Szakats
6b8d24f6d7 2012-07-20 07:07 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/gtwvg/gtwvg.c
  * contrib/gtwvg/wvggui.c
  * contrib/hbcairo/context.c
  * contrib/hbhpdf/core.c
  * contrib/hbnf/n2color.c
  * contrib/hbpgsql/rddcopy.c
  * contrib/hbzebra/eanupc.c
  * contrib/hbzebra/itf.c
  * contrib/hbzebra/msi.c
  * contrib/rddads/adsx.c
  * contrib/sddfb/sddfb.c
  * contrib/sddmy/sddmy.c
  * contrib/sddpg/sddpg.c
  * examples/hbapollo/replace.c
  * examples/hbapollo/use.c
  * src/rdd/dbfnsx/dbfnsx1.c
  * src/rdd/wafunc.c
  * src/rtl/gtgui/gtgui.c
  * src/rtl/gtos2/gtos2.c
  * src/rtl/gtpca/gtpca.c
  * src/rtl/gtsln/keytrans.c
  * src/rtl/gtsln/mousesln.c
  * src/rtl/gtstd/gtstd.c
  * src/rtl/gtxwc/gtxwc.c
  * src/vm/estack.c
  * src/vm/garbage.c
  * src/vm/itemapi.c
  * tests/bldtest/bldtest.c
    * minor formatting errors (whitespace)

  * contrib/rddsql/sqlbase.c
  * contrib/rddsql/sqlmix.c
    * larger commented code blocks disabled by #if 0

  * contrib/xhb/txtline.c
  * contrib/hbqt/qtgui/hbqt_hbqgraphicsscene.cpp
  * contrib/rddsql/sqlbase.c
  * contrib/rddsql/sqlmix.c
    * uncrustified
2012-07-20 05:11:51 +00:00
Viktor Szakats
2934968133 2012-06-10 16:43 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbziparc/ziparc.prg
    ! fixed using old IS*() macro w/o common.ch

  * contrib/hbziparc/tests/unzipa.prg
  * contrib/hbziparc/tests/zipa.prg
    + added #require directives

  * contrib/hbgd/tests/animgif.prg
  * contrib/hbgd/tests/antialia.prg
  * contrib/hbgd/tests/barms.prg
  * contrib/hbgd/tests/bartest.prg
  * contrib/hbgd/tests/counter.prg
  * contrib/hbgd/tests/gdtest.prg
  * contrib/hbgd/tests/gdtestcl.prg
  * contrib/hbgd/tests/test_out.prg
  * contrib/hbgd/tests/testdpi.prg
  * contrib/hbgd/tests/tostring.prg
  * contrib/hbgd/tests/tpoly.prg
  * examples/httpsrv/modules/showcounter.prg
    * cleanups and fixes (replaced ISDIRECTORY() xhb function,
      fixed Windows dir detection, added simpleio.ch)

  * contrib/hbzebra/tests/testcair.prg
  * contrib/hbzebra/tests/testhpdf.prg
  * contrib/hbzebra/tests/testwin.prg
  * contrib/rddads/tests/datad.prg
  * contrib/rddads/tests/testmg.prg
    + added #require directives for testing

  * contrib/hbfoxpro/misc.prg
  * contrib/hbnf/clrsel.prg
  * contrib/hbnf/menu1.prg
  * contrib/hbnf/metaph.prg
  * src/rtl/hbi18n2.prg
  * utils/hbtest/rt_str.prg
    * formatting (to help a grep case)
2012-06-10 14:48:22 +00:00
Viktor Szakats
50650e8d5b 2012-03-03 15:33 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbmysql/tests/hbmk.hbm
  * contrib/hbct/tests/hbmk.hbm
  * contrib/hbgs/tests/hbmk.hbm
  * contrib/hbmxml/tests/hbmk.hbm
  * contrib/hbmzip/tests/hbmk.hbm
  * contrib/hbunix/tests/hbmk.hbm
  * contrib/sddpg/tests/hbmk.hbm
  * contrib/hbziparc/tests/hbmk.hbm
  * contrib/hbxbp/tests/hbmk.hbm
  * contrib/hblzf/tests/hbmk.hbm
  * contrib/hbxdiff/tests/hbmk.hbm
  * contrib/hbcurl/tests/hbmk.hbm
  * contrib/hbnetio/tests/hbmk.hbm
  * contrib/rddsql/tests/hbmk.hbm
  * contrib/hbmlzo/tests/hbmk.hbm
  * contrib/hbhttpd/tests/hbmk.hbm
  * contrib/gtwvg/tests/hbmk.hbm
  * contrib/hbpgsql/tests/hbmk.hbm
  * contrib/sddsqlt3/tests/hbmk.hbm
  * contrib/hbwin/tests/olesrv1.hbp
  * contrib/hbwin/tests/olesrv2.hbp
  * contrib/hbwin/tests/olesrv3.hbp
  * contrib/hbwin/tests/olesrv4.hbp
  * contrib/hbwin/tests/hbmk.hbm
  * contrib/hbsms/tests/hbmk.hbm
  * contrib/hbzebra/tests/hbmk.hbm
  * contrib/gtalleg/tests/hbmk.hbm
  * contrib/sddmy/tests/hbmk.hbm
  * contrib/xhb/tests/hbmk.hbm
  * contrib/hbodbc/tests/hbmk.hbm
  * contrib/sddfb/tests/hbmk.hbm
  * contrib/hbtpathy/tests/hbmk.hbm
  * contrib/hbsqlit3/tests/hbmk.hbm
  * contrib/hbmagic/tests/hbmk.hbm
  * contrib/hbexpat/tests/hbmk.hbm
  * contrib/hbblat/tests/hbmk.hbm
  * contrib/hbqt/tests/hbmk.hbm
  * contrib/hbfbird/tests/hbmk.hbm
  * contrib/hbbz2/tests/hbmk.hbm
  * contrib/hbnf/tests/hbmk.hbm
  * contrib/hbmemio/tests/hbmk.hbm
  * contrib/hbxpp/tests/hbmk.hbm
  * contrib/hbcups/tests/hbmk.hbm
  * contrib/hbhpdf/tests/hbmk.hbm
  * contrib/rddads/tests/hbmk.hbm
  * contrib/hbfimage/tests/hbmk.hbm
  * contrib/sddodbc/tests/hbmk.hbm
  * contrib/hbgd/tests/hbmk.hbm
  * contrib/hbmisc/tests/hbmk.hbm
  * contrib/sddoci/tests/hbmk.hbm
  * contrib/hbcomm/tests/hbmk.hbm
  * contrib/hbtip/tests/hbmk.hbm
  * contrib/hbcairo/tests/hbmk.hbm
  * contrib/hbssl/tests/hbmk.hbm
    % deleted relative paths from .hbc references
2012-03-03 14:36:00 +00:00
Przemyslaw Czerpak
f3ec4bbc7c 2012-02-20 16:25 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/3rd/zlib/gzlib.c
    ! do not use _lseeki64 in MinGWCE builds - such function does not
      exists in CTRL

  * harbour/contrib/3rd/sqlite3/sqlite3.c
    ! fixed declaration of 64bit integer constant value in WinCE builds
    ; TOFIX: in WInCE builds the following error is generated:
                implicit declaration of function 'osUnlockFileEx'
             and of course such functions does not exists (it's internal
             SQLITE3 macro)

  * harbour/contrib/3rd/sqlite3/sqlite3.hbp
    ! fixed declaration of _WIN32_WCE macro - it should be set to
      WinCE API version number.

  * harbour/contrib/3rd/sqlite3/sqlite3.dif
    * rediffed with ../../../bin/hb3rdpat.hbs -rediff

  * harbour/contrib/hbzebra/qrcode.c
    * pacified warning
2012-02-20 15:25:25 +00:00
Viktor Szakats
1b4008723b 2012-01-06 16:13 UTC+0100 Viktor Szakats (harbour syenar.net)
* ChangeLog
  * (whole tree)
    * changed e-mail address
2012-01-06 15:28:23 +00:00
Przemyslaw Czerpak
13e3088d0d 2011-12-29 16:17 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/contrib/gtwvg/gtwvg.h
    ! added missing 'void * hText' member to HB_GOBJS struct
    ! changed 'LPTSTR lpText' to 'LPCTSTR lpText' in HB_GOBJS struct

  * harbour/contrib/gtwvg/gtwvg.h
    ! fixed old code not updated to follow recent Pritpal modifications

  * harbour/contrib/hbzebra/qrcode.c
    ! pacified GCC warnings
2011-12-29 15:17:44 +00:00
Viktor Szakats
7ad3481808 2011-12-24 03:32 UTC+0100 Viktor Szakats (harbour syenar.hu)
* ChangeLog
  * (whole tree)
    * removed obsolete antispam measure from my e-mail address
2011-12-24 02:47:24 +00:00
Viktor Szakats
09d74f0f44 2011-12-23 19:12 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbzebra/tests/testwin.prg
  * contrib/hbzebra/tests/testcair.prg
  * contrib/hbzebra/tests/testhpdf.prg
    ! indenting
    * casing
2011-12-23 18:16:00 +00:00
Mindaugas Kavaliauskas
256ca1b83c 2011-12-23 18:00 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
+ contrib/hbzebra/qrcode.c
  * contrib/hbzebra/hbzebra.ch
  * contrib/hbzebra/hbzebra.hbp
  * contrib/hbzebra/hbzebra.hbx
    + QR Code
    ; Christmas gift for Harbour project :)
    ; TODO: encoding optimisation using mode switching

  * contrib/hbzebra/hbzebra.h
  * contrib/hbzebra/core.c
    + hb_bitbuffer_buffer(), hb_bitbuffer_not(), hb_bitbuffer_cat_int_rev()
    * formatting

  * contrib/hbzebra/tests/testcair.prg
  * contrib/hbzebra/tests/testhpdf.prg
  * contrib/hbzebra/tests/testwin.prg
    * updated to include QR Code

  * contrib/hbzebra/datamtrx.c
    * minor modification: code text support
2011-12-23 16:00:44 +00:00
Viktor Szakats
bb2889df1f 2011-02-06 15:22 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/hbblat/hbblat.hbx
  + contrib/hbcairo/hbcairo.hbx
  + contrib/hbcups/hbcups.hbx
  + contrib/hbcurl/hbcurl.hbx
  + contrib/hbfbird/hbfbird.hbx
  + contrib/hbfimage/hbfimage.hbx
  + contrib/hbformat/hbformat.hbx
  + contrib/hbhttpd/hbhttpd.hbx
  + contrib/hbmagic/hbmagic.hbx
  + contrib/hbmysql/hbmysql.hbx
  + contrib/hbodbc/hbodbc.hbx
  + contrib/hbpgsql/hbpgsql.hbx
  + contrib/hbsqlit3/hbsqlit3.hbx
  + contrib/hbssl/hbssl.hbx
  + contrib/hbtip/hbtip.hbx
  + contrib/hbziparc/hbziparc.hbx
  * contrib/hbblat/hbblat.hbp
  * contrib/hbcairo/hbcairo.hbp
  * contrib/hbcups/hbcups.hbp
  * contrib/hbcurl/hbcurl.hbm
  * contrib/hbfbird/hbfbird.hbp
  * contrib/hbfimage/hbfimage.hbp
  * contrib/hbformat/hbformat.hbp
  * contrib/hbhttpd/hbhttpd.hbp
  * contrib/hbmagic/hbmagic.hbp
  * contrib/hbmysql/hbmysql.hbp
  * contrib/hbodbc/hbodbc.hbp
  * contrib/hbpgsql/hbpgsql.hbp
  * contrib/hbsqlit3/hbsqlit3.hbp
  * contrib/hbssl/hbssl.hbm
  * contrib/hbtip/hbtip.hbm
  * contrib/hbziparc/hbziparc.hbp
    + Added .hbx files for remaining projects.
      (except sdd and rdd ones, this is to be decided)

  * contrib/gtalleg/gtalleg.hbm
  * contrib/gtwvg/gtwvg.hbp
    ! Fixed to not generate dynamic version of them.
      (there is no point, plus gtwvg didn't build as dll anyway)

  * contrib/hbclipsm/hbclipsm.hbx
  * contrib/hbcomm/hbcomm.hbx
  * contrib/hbfoxpro/hbfoxpro.hbx
  * contrib/hbfship/hbfship.hbx
  * contrib/hbgd/hbgd.hbx
  * contrib/hbgt/hbgt.hbx
  * contrib/hbhpdf/hbhpdf.hbx
  * contrib/hbmisc/hbmisc.hbx
  * contrib/hbnf/hbnf.hbx
  * contrib/hbqt/qtcore/hbqtcore.hbx
  * contrib/hbqt/qtdesigner/hbqtdesigner.hbx
  * contrib/hbqt/qtgui/hbqtgui.hbx
  * contrib/hbqt/qtnetwork/hbqtnetwork.hbx
  * contrib/hbqt/qtuitools/hbqtuitools.hbx
  * contrib/hbqt/qtwebkit/hbqtwebkit.hbx
  * contrib/hbsms/hbsms.hbx
  * contrib/hbtpathy/hbtpathy.hbx
  * contrib/hbxbp/hbxbp.hbx
  * contrib/hbzebra/hbzebra.hbx
  * contrib/rddads/rddads.hbx
  * contrib/xhb/xhb.hbx
    * Refreshed.
2011-02-06 14:23:53 +00:00
Viktor Szakats
41b30322cf 2011-02-05 11:31 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmzip/hbmzip.hbp
  + contrib/hbmzip/hbmzip.hbx
  - contrib/hbmzip/hbmzip.c
  + contrib/hbmzip/mzip.c
  * contrib/hbmemio/hbmemio.hbp
  + contrib/hbmemio/hbmemio.hbx
  * contrib/hbzebra/hbzebra.hbp
  + contrib/hbzebra/hbzebra.hbx
    + Added .hbx files and included them in .hbp.
    * Renamed sources with colliding (with .hbx) names.

  * contrib/hbrunext/hbrunext.hbp
  * contrib/hbrunext/pullext.prg
    + Added hbmzip and hbmemio.

  * contrib/hbgt/hbgt.hbx
  * contrib/hbsms/hbsms.hbx
  * contrib/hbnf/hbnf.hbx
  * contrib/hbclipsm/hbclipsm.hbx
  * contrib/hbcomm/hbcomm.hbx
    * Regenerated.
2011-02-05 10:32:50 +00:00
Viktor Szakats
56d874481b 2011-01-13 19:44 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbexpat/tests/test.prg
  * contrib/hbexpat/tests/tohash.prg
    * Tweaked to find example xml file out of the box.

  * contrib/hbexpat/hbexpat.c
  * contrib/hbcurl/hbcurl.c
  * contrib/hbssl/ssl.c
  * contrib/hbssl/pem.c
    % Using hb_vmPush*() functions instead of less efficient
      hb_evalBlock*().
      Calls requiring UTF8 conversion were not optimized.

  * contrib/hbzebra/coredraw.c
    ! Fixed to use HB_DEFAULT_DECIMALS instead of hard coded 2.

  * contrib/hbmxml/hbmxml.c
    ! Fixed to use hb_itemPutC() instead of hb_itemPutCConst().
      (use the latter for 'static const' strings only)
2011-01-13 18:50:23 +00:00
Mindaugas Kavaliauskas
7ff7dd1703 2010-11-18 14:42 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
+ harbour/include/hbjson.h
    + added missing include file

  * harbour/include/hbjson.c
    * deleted comment line. It is no valid for current code

  * harbour/src/codepage/Makefile
  + harbour/src/codepage/cplt775.c
    + added Lithuanian CP-775 (DOS) codepage support

  * harbour/contrib/hbzebra/code39.c
    * removed unused commented code
2010-11-18 12:42:54 +00:00
Przemyslaw Czerpak
44bf92b7e6 2010-11-17 12:19 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbzebra/pdf417.c
  * harbour/contrib/hbzebra/code128.c
  * harbour/contrib/hbzebra/eanupc.c
  * harbour/contrib/hbzebra/code11.c
  * harbour/contrib/hbzebra/itf.c
  * harbour/contrib/hbzebra/datamtrx.c
  * harbour/contrib/hbzebra/code39.c
  * harbour/contrib/hbzebra/code93.c
  * harbour/contrib/hbzebra/codabar.c
    % added const to all static table declarations and updated
      code to use const pointers to them. Please remember that
      memory regions declared as const can be better optimized
      by compiler during compilation and on some machines also
      on runtime because can be located in readonly area which
      is cached in more efficient way.
    ! fixed some non const declarations for pure "..." strings
2010-11-17 11:19:59 +00:00
Viktor Szakats
1d5c47d3d2 2010-11-13 19:56 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbzebra/tests/testhpdf.prg
    * Fixed wrong drawing of 2D barcodes (Mindaugas).
    * Using HPDF_Page_GetHeight() instead of hardcoded page height (Tamas).
    ! Delete .pdf before creating it.
    * Synced caller code with cairo test.

  * contrib/hbzebra/tests/testwin.prg
    ! Minor formatting.
2010-11-13 18:57:30 +00:00
Mindaugas Kavaliauskas
021ceb9306 2010-11-13 04:48 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbzebra/datamtrx.c
    + added support for full 0..255 range character encoding. We are still
      using ASCII encode mode only.
2010-11-13 02:50:05 +00:00
Mindaugas Kavaliauskas
9b78cd4a89 2010-11-13 04:28 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbzebra/datamtrx.c
    ! fixed typo
2010-11-13 02:30:14 +00:00
Mindaugas Kavaliauskas
50590c9d8c 2010-11-13 00:58 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbzebra/datamtrx.c
  * harbour/contrib/hbzebra/pdf417.c
  * harbour/contrib/hbzebra/code128.c
    * attempt to pacify MSVC warnings
2010-11-12 22:59:33 +00:00
Viktor Szakats
1005890842 2010-11-12 23:41 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbzebra/pdf417.c
  * contrib/hbzebra/datamtrx.c
    ! Silenced msvc warnings.
    ; TOFIX: These remaining ones:
         ..\hbzebra\datamtrx.c(452) : warning C4309: '=' : truncation of constant value
         ..\hbzebra\pdf417.c(1230) : warning C4701: potentially uninitialized local variable 'coef' used
         ..\hbzebra\code128.c(265) : warning C4701: potentially uninitialized local variable 'iCodeSet' used

  * contrib/hbzebra/tests/testcair.prg
    * Synced with other tests to use SWITCH/CASE.

  * contrib/hbzebra/tests/testwin.prg
  * contrib/hbzebra/tests/testhpdf.prg
    + Added DATAMATRIX tests. Nice!
2010-11-12 22:41:58 +00:00
Mindaugas Kavaliauskas
1630a4e374 2010-11-13 00:05 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
+ harbour/contrib/hbzebra/datamtrx.c
  * harbour/contrib/hbzebra/hbzebra.hbp
  * harbour/contrib/hbzebra/hbzebra.ch
    + added DataMatrix 2D barcode support
    ; implemented ASCII encoding only. This is enough for most real 
      life applications, but it is only a minor part of available 
      codeword encodings. I just unable to implement without docs. 
      Reverse engineering of black and white dots take a lot of time
      for 2D barcodes, so I've dropped this idea. If someone has 
      full ISO/IEC 16022:2006 specification, I can implement the rest.

  * harbour/contrib/hbzebra/tests/testcair.prg
    + added DataMatrix test
    ; Please, add it to other backend tests

  * harbour/contrib/hbzebra/core.c
    * changed bitbuffer logic a little

  * harbour/contrib/hbzebra/pdf417.c
    * comment added
    * small cleanup
2010-11-12 22:05:45 +00:00
Viktor Szakats
087f460fcd 2010-11-12 12:41 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbzebra/tests/testhpdf.prg
    ! Cleaned up output order. Patch thanks to Tamas.
2010-11-12 13:41:33 +00:00
Mindaugas Kavaliauskas
e2c01b7622 2010-11-12 04:35 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbzebra/code39.c
  * harbour/contrib/hbzebra/eanupc.c
    ! fixed errors
2010-11-12 02:35:12 +00:00
Viktor Szakats
e3934dfeca 2010-11-12 01:57 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* package/winuni/mpkg_win_uni.bat
    ! Fixed to install all .hbc files inside the contrib
      dir structure. This is needed because now they exist
      also under '3rd' dirs, referenced from contrib .hbc files.
      (lightly tested, will find out with next nightly)

  * contrib/hbzebra/hbzebra.hbc
    ! Deleted no more needed reference to hbcairo.hbc
2010-11-12 00:59:49 +00:00
Viktor Szakats
b8dc506033 2010-11-11 23:44 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbzebra/tests/testwin.prg
    * Trying to figure what's best way to round off coordinates
      to the stupid integers the winapi requires. Patch it further 
      if you know better.

  * bin/hb3rdpat.hbs
    + Clarification to help text, by Tamas.
2010-11-11 22:45:28 +00:00
Viktor Szakats
a8a6533a18 2010-11-11 22:44 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbzebra/coredraw.c
    + Added protection against NULL pCallback pointer.

  * contrib/hbzebra/tests/testwin.prg
  * contrib/hbzebra/tests/testcair.prg
  * contrib/hbzebra/tests/testhpdf.prg
    * Minor formatting.

  - contrib/hbzebra/d_cairo.c
  * contrib/hbzebra/hbzebra.hbp
    - Deleted cairo specific backend.
2010-11-11 21:45:36 +00:00
Mindaugas Kavaliauskas
bfa4a7496d 2010-11-11 23:05 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbzebra/drawcore.c
    ! added missing include
  * harbour/ChangeLog
    ! fixed error in previous commit log
2010-11-11 21:05:03 +00:00
Mindaugas Kavaliauskas
2118caf5be 2010-11-11 21:30 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbzebra/hbzebra.ch
  * harbour/contrib/hbzebra/hbzebra.h
  * harbour/contrib/hbzebra/hbzebra.hbp
  + harbour/contrib/hbzebra/pdf417.c
    + added two-dimensional PDF417 barcode support
      HB_ZEBRA_PDF417( cData, [ nFlags ] [, nDataColumns ] ) --> hZebra

    ; This requires testing on real scanners. F.e., some internet online 
      PDF417 decoders does not allow encoding mode switching from numeric 
      to text. Though I see no reason to be this prohibited by 
      specification.

  * harbour/contrib/hbzebra/drawcore.c
    + implemented 2D barcode drawing
    * changed argument error logic to generate RTE from Harbour level

  * harbour/contrib/hbzebra/testcair.prg
  * harbour/contrib/hbzebra/testhpdf.prg
  * harbour/contrib/hbzebra/testwin.prg
    * included new barcode into test samples
2010-11-11 19:32:33 +00:00
Viktor Szakats
efc3299ae9 2010-11-10 18:50 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbzebra/hbzebra.hbp
  - contrib/hbzebra/d_gen.c
  + contrib/hbzebra/coredraw.c
    * Renamed.

  * contrib/hbzebra/tests/testhpdf.prg
    ! Fixed to use HPDF_PAGE_FILL().

  * contrib/hbzebra/hbzebra.hbp
  - contrib/hbzebra/d_win.c
  - contrib/hbzebra/d_hpdf.c
    - Deleted specialized drawing backend from HBZEBRA.
    ; TODO: Delete also cairo backend.
2010-11-10 17:50:35 +00:00
Viktor Szakats
8624f2d15a 2010-11-10 18:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbzebra/code39.c
    ! Pacified remaining msvc warnings/error. Please review me & test.
2010-11-10 17:22:12 +00:00
Mindaugas Kavaliauskas
1aa52c0105 2010-11-10 19:12 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* 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
    * pacified warning
2010-11-10 17:13:17 +00:00
Viktor Szakats
51ddd618ad 2010-11-10 15:40 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbzebra/d_gen.c
    + Implemented C level callback interface.
    + .prg level codeblock callback interface reimplemented on above
      generic layer.
    ; So now there is a pure C level callback mechanism and the
      .prg level HB_ZEBRA_DRAW() builds upon this.

  * contrib/hbzebra/d_hpdf.c
    ! Silenced msvc warning.
2010-11-10 14:41:24 +00:00
Viktor Szakats
29674e8b3c 2010-11-10 14:58 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbzebra/hbzebra.ch
  * contrib/hbzebra/hbzebra.hbp
  + contrib/hbzebra/d_gen.c
    + Added generic HB_ZEBRA_DRAW() drawing function. It
      needs a codeblock accepting x, y, width, height parameters.

  * contrib/hbzebra/tests/testcair.prg
  * contrib/hbzebra/tests/testhpdf.prg
  * contrib/hbzebra/tests/testwin.prg
    + Reimplemented using generic HB_ZEBRA_DRAW() function and
      simple callbacks.

  * contrib/hbzebra/hbzebra.ch
    + Added 'used by C code' note.
2010-11-10 14:03:05 +00:00
Viktor Szakats
f87f0646de 2010-11-10 13:08 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbzebra/hbzebra.hbp
  - contrib/hbzebra/cairo.c
  + contrib/hbzebra/d_cairo.c
  - contrib/hbzebra/tests/test1.prg
  + contrib/hbzebra/tests/testcair.prg
    * Renames.
2010-11-10 12:09:26 +00:00
Viktor Szakats
f675856f4a 2010-11-10 13:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbzebra/hbzebra.hbp
  + contrib/hbzebra/d_hpdf.c
  + contrib/hbzebra/d_win.c
  + contrib/hbzebra/tests/testhpdf.prg
  + contrib/hbzebra/tests/testwin.prg
    + Added Windows DC renderer
    + Added libharu renderer
    ; TODO: rework current rendering solution. Thinking about
            callback based solution, to give it a smoother layout.
            Current system has too much interdependencies and 
            too much redundancy even in renderer "plugins".

  * utils/hbmk2/hbmk2.prg
    + Readded PathNormalize() calls missed after prev modif.
2010-11-10 12:06:28 +00:00
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
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
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