Commit Graph

19 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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