Commit Graph

28 Commits

Author SHA1 Message Date
Viktor Szakats
81c9b0506c 2010-06-04 15:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/*
    * Deleted 'www.' from harbour-project.org website name.
      (www.harbour-project.org -> harbour-project.org)
2010-06-04 13:32:23 +00:00
Viktor Szakats
7858b4c783 2010-06-04 13:06 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Minor.

  * contrib/hbmysql/hbmysql.hbc
  * contrib/gtalleg/gtalleg.hbc
  * contrib/gtalleg/gtallegs.hbc
  * contrib/hbct/hbct.hbc
  * contrib/sddmy/sddmy.hbc
  * contrib/hbodbc/hbodbc.hbc
  * contrib/xhb/xhb.hbc
  * contrib/sddfb/sddfb.hbc
  * contrib/hbtpathy/hbtpathy.hbc
  * contrib/hbgt/hbgt.hbc
  * contrib/hbsqlit3/hbsqlit3.hbc
  * contrib/hbmzip/hbmzip.hbc
  * contrib/hbblat/hbblat.hbc
  * contrib/hbqt/hbqt.hbc
  * contrib/hbqt/hbqts.hbc
  * contrib/hbfbird/hbfbird.hbc
  * contrib/sddpg/sddpg.hbc
  * contrib/hbziparc/hbziparc.hbc
  * contrib/hbxbp/hbxbp.hbc
  * contrib/hbbz2/hbbz2.hbc
  * contrib/hbblink/hbblink.hbc
  * contrib/hbnf/hbnf.hbc
  * contrib/hbcurl/hbcurl.hbc
  * contrib/hbcurl/hbcurls.hbc
  * contrib/hbmemio/hbmemio.hbc
  * contrib/hbxpp/hbxpp.hbc
  * contrib/hbfship/hbfship.hbc
  * contrib/hbcups/hbcups.hbc
  * contrib/rddbmcdx/hbbmcdx.hbc
  * contrib/hbfoxpro/hbfoxpro.hbc
  * contrib/hbnetio/hbnetio.hbc
  * contrib/rddsql/rddsql.hbc
  * contrib/hbhpdf/hbhpdf.hbc
  * contrib/gtwvg/gtwvg.hbc
  * contrib/hbpgsql/hbpgsql.hbc
  * contrib/hbclipsm/hbclipsm.hbc
  * contrib/rddads/rddads.hbc
  * contrib/rddads/rddads.hbp
  * contrib/sddsqlt3/sddsqlt3.hbc
  * contrib/hbfimage/hbfimage.hbc
  * contrib/sddodbc/sddodbc.hbc
  * contrib/hbgd/hbgd.hbc
  * contrib/hbmisc/hbmisc.hbc
  * contrib/sddoci/sddoci.hbc
  * contrib/hbcomm/hbcomm.hbc
  * contrib/hbtip/hbtipssl.hbc
  * contrib/hbtip/hbtip.hbc
  * contrib/hbcairo/hbcairo.hbc
  * contrib/hbwin/hbwin.hbc
  * contrib/hbssl/hbssls.hbc
  * contrib/hbssl/hbssl.hbc
  * contrib/hbsms/hbsms.hbc
  * examples/ps32/ps32.hbc
  * examples/hbsqlit2/hbsqlit2.hbc
  * examples/gfspell/gfspell.hbc
  * examples/rddado/rddado.hbc
  * examples/hbapollo/hbapollo.hbc
  * examples/hbvpdf/hbvpdf.hbc
  * examples/hbbtree/hbbtree.hbc
  * examples/gtwvw/gtwvw.hbc
    % Replaced libs=<libname> with libs=${hb_name} to avoid repeating 
      the libs own name, if it's the same as the name of the .hbc file.
2010-06-04 11:08:35 +00:00
Viktor Szakats
85fcb91dee 2010-06-03 23:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    * Minor cleanup to previous commits.

  + contrib/hbodbc/hbodbc.hbp
  + contrib/hbsqlit3/hbsqlit3.hbp
  + contrib/hbbz2/hbbz2.hbp
  + contrib/hbhpdf/hbhpdf.hbp
  + contrib/sddsqlt3/sddsqlt3.hbp
  + contrib/sddodbc/sddodbc.hbp
    + Added hbmk2 make files to remaining contribs.

  * contrib/hbmysql/hbmysql.hbp
  * contrib/gtalleg/gtalleg.hbp
  * contrib/sddmy/sddmy.hbp
  * contrib/sddfb/sddfb.hbp
  * contrib/hbmzip/hbmzip.hbp
  * contrib/hbqt/hbqt_common.hbm
  * contrib/hbfbird/hbfbird.hbp
  * contrib/sddpg/sddpg.hbp
  * contrib/hbcurl/hbcurl.hbp
  * contrib/hbcups/hbcups.hbp
  * contrib/hbpgsql/hbpgsql.hbp
  * contrib/rddads/rddads.hbp
  * contrib/hbfimage/hbfimage.hbp
  * contrib/hbgd/hbgd.hbp
  * contrib/sddoci/sddoci.hbp
  * contrib/hbcairo/hbcairo.hbp
  * contrib/hbssl/hbssl.hbp
    + Updated hbmk2 make file dependency detection
      option to latest hbmk2 changes.
2010-06-03 21:57:31 +00:00
Viktor Szakats
10c88f316c 2010-06-01 01:46 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Will now ignore current and host directory when looking
      for system headers (<>) in header dependency finder code.

  + contrib/hbmysql/hbmysql.hbp
  + contrib/sddmy/sddmy.hbp
  + contrib/sddfb/sddfb.hbp
  + contrib/sddpg/sddpg.hbp
  + contrib/hbcups/hbcups.hbp
  + contrib/hbpgsql/hbpgsql.hbp
  + contrib/rddads/rddads.hbp
  + contrib/hbfimage/hbfimage.hbp
  + contrib/hbgd/hbgd.hbp
  + contrib/sddoci/sddoci.hbp
  + contrib/hbcairo/hbcairo.hbp
    + Added new hbmk2 make files.

  * contrib/hbgd/Makefile
    - Deleted some information from cmoment. (now included in INSTALL)

  * contrib/hbcairo/hbcairo.h
    * Formatting.
2010-05-31 23:47:15 +00:00
Viktor Szakats
a98d098119 2010-05-21 11:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdefs.h
    + Added HB_EXTERN macro to eventually replace 'extern' keyword.

  * include/hbstack.h
  * include/hbsocket.h
  * include/hbapicls.h
  * contrib/xhb/hbserv.h
  * contrib/gtwvg/gtwvg.h
  * contrib/hbcairo/hbcairo.h
  * examples/gtwvw/gtwvw.c
  * examples/gtwvw/hbgtwvw.h
    ! Fixed declarations to use 'extern HB_EXPORT' keyword order.
    ! Fixed declarations where 'extern' keyword was missing.

  ; TODO: To fix watcom .dll support 'extern HB_EXPORT <type> <func()>'
          will have to be changed to 'extern <type> HB_EXPORT <func()>'
          or even better to 'HB_EXTERN <type> HB_EXPORT <func()>' to
          also stay future-proof.
2010-05-21 09:47:48 +00:00
Viktor Szakats
88a247ea23 2010-05-12 16:58 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/gtalleg/gtalleg.hbi
  + contrib/hbblat/hbblat.hbi
  + contrib/hbcairo/hbcairo.hbi
  + contrib/hbcurl/hbcurl.hbi
  + contrib/hbfbird/hbfbird.hbi
  + contrib/hbfimage/hbfimage.hbi
  + contrib/hbgd/hbgd.hbi
  + contrib/hbhpdf/hbhpdf.hbi
  + contrib/hbmysql/hbmysql.hbi
  + contrib/hbpgsql/hbpgsql.hbi
  + contrib/hbssl/hbssl.hbi
  + contrib/rddads/rddads.hbi
  + contrib/sddfb/sddfb.hbi
  + contrib/sddmy/sddmy.hbi
  + contrib/sddoci/sddoci.hbi
  + contrib/sddpg/sddpg.hbi
    + Added local import library generation hbmk2 make files
      to each contrib which requires it.

  * config/postinst.prg
    + Changed to use contrib local implib creation hbmk2 scripts to
      create import libraries.
    - Deleted mingw exception for ocilib to use the static library.
      Static lib is definitely better, but if someone would like to
      use it, it should be done locally/manually, just like for any
      other dependency.
    + Solved firebird implib creation hack/exception in contrib
      local .hbi file.
    ; These fix the last "centralization" issues in Harbour make system.
      Still remains documentation problem (everything is in INSTALL),
      and *nix .deb/.rpm centralized solution for contrib dependencies
      and contrib names in general.

  * utils/hbmk2/hbmk2.prg
    + Combining multiple -o options (one with name, one with directory)
      is now supported in -hbimplib mode. This makes it work like in
      other existing modes.
    ! Fixes regarding -o option combining and dir inheritance.
      (beware of regressions here)

  * contrib/gtalleg/gtalleg.hbc
    * Changed to use import library on Windows with an unmodified name
      (containing version).

  * src/rtl/hbcom.c
    ! Fixed one non-ANSI comment.

  * ChangeLog
    + Added two changes missed from prev entry:
      * utils/hbmk2/hbmk2.prg
        + In -hbimplib mode any options are automatically passed to
          import library creation command (so -iflag option is not
          absultely needed)
        - Deleted -mkimplibms option now replaces by generic -iflag
          solution.
    ! Stripped UTF-8 char from a recent entry.
2010-05-12 15:02:01 +00:00
Mindaugas Kavaliauskas
5c0a386a80 2010-04-07 05:55 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbcairo/tests/hellow.c
    * HB_SETCODEPAGE() -> HB_CDPSELECT()
  * harbour/contrib/sddodbc/sddodbc.c
    + BIGINT type support
    * statement handle alloc/free updated to ODBC 3.x API
2010-04-07 02:55:53 +00:00
Mindaugas Kavaliauskas
6db5704744 2010-02-05 01:30 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
+ harbour/contrib/hbcairo/tests/lightning.prg
    + one more simple image generator sample
2010-02-04 23:31:01 +00:00
Mindaugas Kavaliauskas
10ccef2ce0 2010-01-20 14:28 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbcairo/pdf.c
  * harbour/contrib/hbcairo/png.c
    * updated harbour level functions to be available, but return error 
      result, if it is not supported by some version of cairo library
  * harbour/contrib/hbcairo/image.c
    * comment typo
2010-01-20 12:26:19 +00:00
Viktor Szakats
80cd36488b 2010-01-14 04:04 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/binnumx.c
  * contrib/xpp/binnumx.c
  * contrib/hbmisc/stringsx.c
  * contrib/hbtip/utils.c
  * contrib/hbcairo/context.c
  * contrib/hbcairo/core.c
    * ULONG -> HB_SIZE

  * contrib/hbgt/ascposgt.c
    * ULONG -> HB_SIZE
    ! hb_parni() -> hb_parnl()

  * contrib/hbsqlit3/hbsqlit3.c
    ! ULONG -> int (var used in 3rd party interface)

  * contrib/hbmzip/hbmzip.c
    * Formatting.

  * contrib/hbclipsm/num.c
    % hb_retnl() -> hb_retni()
    * ULONG -> HB_SIZE

  * contrib/hbgd/gdwrp.c
    % Deleted few unnecessary ULONG casts.
    ! Fixed win64 problem where file handle was read from hb_parnl()
      instead of hb_parnint().
    ! Fixed 'hb_parnl( 2 ) > -1' code checking for valid file handle
      to 'hb_parnint( 2 ) != FS_ERROR'.
    * ULONG -> HB_SIZE
    % Elmininated few variables.
    * Formatting.

  * contrib/hbmisc/strfmt.c
    * ULONG -> int, HB_SIZE
    * BOOL -> HB_BOOL.
2010-01-14 03:07:23 +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
Mindaugas Kavaliauskas
5ec03c4d97 2009-12-22 02:22 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbcairo/core.c
    * used current GC API to store references between GC blocks
    ! fixed GC block storage
    * added additional protection against using released path in 
      cairo_path_iterator_*()

  * harbour/contrib/hbcairo/text.c
    ! fixed copy-paste typo in cairo_set_font_matrix()
2009-12-22 00:22:33 +00:00
Przemyslaw Czerpak
bd6abe80e1 2009-12-21 22:18 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rdd/wafunc.c
  * harbour/contrib/rddsql/hbrddsql.h
  * harbour/contrib/rddsql/sqlbase.c
    ! casting fod C++ builds

  * harbour/contrib/hbcairo/paths.c
    ! fixed very bad typo which probably cause GPF in function
      CAIRO_GET_CURRENT_POINT()
2009-12-21 21:19:44 +00:00
Viktor Szakats
850cb7aa44 2009-12-15 18:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* package/winuni/RELNOTES
    ! Typo.

  * contrib/hbqt/qtgui/qtguis/Makefile
  * contrib/hbqt/qtcore/qtcores/Makefile
  * contrib/hbqt/hbqts/Makefile
  * contrib/hbqt/qtnetwork/qtnetworks/Makefile
    ! Fixed HB_QT_STATIC=yes mode.

  * contrib/hbclipsm/date.c
    ! Fixed DATEASARRAY() to return empty array instead of { NIL, NIL, NIL }
      if non-date was passed.
    % Optimized DATEASARRAY().

  * contrib/hbcairo/image.c
    ! Fixed two warnings.

  * INSTALL
    + Added CYGWIN= envvar to mingwarm example to suppress useless
      Cygwin warning.
2009-12-15 17:12:19 +00:00
Przemyslaw Czerpak
094aea1ff3 2009-12-09 15:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapilng.h
  + harbour/include/hbmsgreg.h
    + added common for all Harbour lang modules (msg*.c) header file
      with initialization code

  * harbour/src/lang/msgbe866.c
  * harbour/src/lang/msgbewin.c
  * harbour/src/lang/msgbg866.c
  * harbour/src/lang/msgbgiso.c
  * harbour/src/lang/msgbgmik.c
  * harbour/src/lang/msgbgwin.c
  * harbour/src/lang/msgca.c
  * harbour/src/lang/msgcs852.c
  * harbour/src/lang/msgcsiso.c
  * harbour/src/lang/msgcskam.c
  * harbour/src/lang/msgcswin.c
  * harbour/src/lang/msgde.c
  * harbour/src/lang/msgdewin.c
  * harbour/src/lang/msgel.c
  * harbour/src/lang/msgelwin.c
  * harbour/src/lang/msgeo.c
  * harbour/src/lang/msges.c
  * harbour/src/lang/msgeswin.c
  * harbour/src/lang/msgeu.c
  * harbour/src/lang/msgfr.c
  * harbour/src/lang/msggl.c
  * harbour/src/lang/msghe862.c
  * harbour/src/lang/msghewin.c
  * harbour/src/lang/msghr437.c
  * harbour/src/lang/msghr852.c
  * harbour/src/lang/msghriso.c
  * harbour/src/lang/msghrwin.c
  * harbour/src/lang/msghu852.c
  * harbour/src/lang/msghucwi.c
  * harbour/src/lang/msghuiso.c
  * harbour/src/lang/msghuwin.c
  * harbour/src/lang/msgid.c
  * harbour/src/lang/msgis850.c
  * harbour/src/lang/msgit.c
  * harbour/src/lang/msgko.c
  * harbour/src/lang/msgltwin.c
  * harbour/src/lang/msgnl.c
  * harbour/src/lang/msgpl852.c
  * harbour/src/lang/msgpliso.c
  * harbour/src/lang/msgplmaz.c
  * harbour/src/lang/msgplwin.c
  * harbour/src/lang/msgpt.c
  * harbour/src/lang/msgptiso.c
  * harbour/src/lang/msgro.c
  * harbour/src/lang/msgru866.c
  * harbour/src/lang/msgrukoi.c
  * harbour/src/lang/msgruwin.c
  * harbour/src/lang/msgsk852.c
  * harbour/src/lang/msgskiso.c
  * harbour/src/lang/msgskkam.c
  * harbour/src/lang/msgskwin.c
  * harbour/src/lang/msgsl437.c
  * harbour/src/lang/msgsl852.c
  * harbour/src/lang/msgsliso.c
  * harbour/src/lang/msgslwin.c
  * harbour/src/lang/msgsr852.c
  * harbour/src/lang/msgsriso.c
  * harbour/src/lang/msgsrwin.c
  * harbour/src/lang/msg_tpl.c
  * harbour/src/lang/msgtr857.c
  * harbour/src/lang/msgtrwin.c
  * harbour/src/lang/msgua866.c
  * harbour/src/lang/msguados.c
  * harbour/src/lang/msguakoi.c
  * harbour/src/lang/msguawin.c
  * harbour/src/lang/msgzhb5.c
  * harbour/src/lang/msgzhgb.c
    * modified to use initialization code defined in common for all
      lang modules header file.

  * harbour/contrib/gtwvg/wvggui.c
  * harbour/contrib/hbqt/qtgui/QApplication.cpp
  * harbour/contrib/hbqt/qth/QApplication.qth
    * use default GT startup cvode (#include "hbgtreg.h")

  * harbour/include/hbinit.h
  + harbour/include/hbiniseg.h
    * replaced HB_MSC_STARTUP code with more universal HB_DATASEG_STARTUP
    * moved HB_DATASEG_STARTUP code to separate header file to reduce
      modifications in other files when this code has to be changed or
      extended
    + added support for startup code in OpenWatcom C builds. Now we can
      create OpenWatcom Harbour binaries without forcing C++ mode.
      I've tested Linux and Win32 builds and they works correctly.
      Probably similar solution can be used also for other C compilers
      which do not have native interface to define starup code.

  * harbour/src/compiler/genc.c
  * harbour/utils/hbmk2/hbmk2.prg
  * harbour/include/hbcdpreg.h
  * harbour/include/hbgtreg.h
  * harbour/src/rtl/hbregex.c
  * harbour/src/rdd/dbf1.c
  * harbour/src/rdd/dbfcdx/dbfcdx1.c
  * harbour/src/rdd/dbffpt/dbffpt1.c
  * harbour/src/rdd/dbfnsx/dbfnsx1.c
  * harbour/src/rdd/dbfntx/dbfntx1.c
  * harbour/src/rdd/delim1.c
  * harbour/src/rdd/sdf1.c
  * harbour/src/pp/pplib3.c
  * harbour/contrib/rddads/ads1.c
  * harbour/contrib/rddads/adsx.c
  * harbour/contrib/rddsql/sddfb/fbirddd.c
  * harbour/contrib/rddsql/sddmy/mysqldd.c
  * harbour/contrib/rddsql/sddodbc/odbcdd.c
  * harbour/contrib/rddsql/sddpg/pgsqldd.c
  * harbour/contrib/rddsql/sqlbase.c
  * harbour/contrib/rddsql/sqlmix.c
  * harbour/contrib/hbbmcdx/bmdbfcdx.c
  * harbour/contrib/hbmemio/memio.c
  * harbour/contrib/hbnetio/netiocli.c
  * harbour/contrib/hbbtree/hb_btree.c
  * harbour/contrib/hbwin/olecore.c
  * harbour/contrib/hbwin/win_com.c
    * modified to use HB_DATASEG_STARTUP instead of HB_MSC_STARTUP
      Now HB_MSC_STARTUP is local macro used only in hbinit.h.
      Please make MSVC build tests.

  * harbour/contrib/hbmemio/memio.c
    ! declare s_fileFuncs structure as static
    * removed unnecessary code to directly register HB_MEMIO symbol.
      Mindaugas if you need it for some reasons then I can reactivate it
      but I would like to know why it's necessary for you.

  * harbour/src/vm/task.c
    ! added missing {}

  * harbour/src/vm/fm.c
    * locally disabled "unreachable code" warnings for dlmalloc.c
      compilation by OpenWatcom in pure C mode

  * harbour/src/rtl/hbzlibgz.c
    * minor code cleanup

  * harbour/src/rtl/filesys.c
    * pacified OS/2 warnings

  * harbour/contrib/hbcairo/core.c
    ! fixed casting for C++ builds

  * harbour/contrib/hbwin/wapi_winbase.c
    ! fixed casting

  * harbour/src/Makefile
    * changed the order of compiled libraries to improve little bit
      the speed in concurrent (-j<N>) builds
2009-12-09 14:33:48 +00:00
Viktor Szakats
8b29712ae3 2009-12-08 13:39 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbcairo/core.c
    + Enabled HB_USE_ITEM mode which doesn't use Harbour internals.
2009-12-08 12:39:32 +00:00
Viktor Szakats
a3ac4c695e 2009-12-08 11:30 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/hbqt/hbqt_hbqtmymainwindow.cpp
  * contrib/hbqt/hbqt_slots.cpp
  * contrib/hbqt/Makefile
    * MyMainWindow() class moved to separate source file.
    * Deleted commented debug calls.
    * Code formatting.
    ! Fix to call mutex initialization on MyMainWindows creation, 
      to guarantee its present. Anyhow current method is still not 
      safe.
    % Cleaned some casts.
    ; TOFIX: mutex initialization in MyMainWindow.
    ; TOFIX: MyMainWindow is a leakable resource and it _is_
             leaked from hbxbp.

  * contrib/hbxbp/xbpsle.prg
  * contrib/hbxbp/xbplistbox.prg
  * contrib/hbxbp/xbprtf.prg
  * contrib/hbxbp/xbpbrowse.prg
  * contrib/hbxbp/xbpwindow.prg
  * contrib/hbxbp/xbpcombobox.prg
  * contrib/hbxbp/xbppushbutton.prg
  * contrib/hbxbp/xbp.ch
  * contrib/hbxbp/xbptreeview.prg
  * contrib/hbxbp/xbpdialog.prg
  * contrib/hbxbp/xbpspinbutton.prg
  * contrib/hbxbp/xbpgeneric.prg
  * contrib/hbide/hbide.prg
    * :createFromQtPtr() -> hbCreateFromQtPtr()
    ! Fixed few non-Xbase++ public functions to hold the
      hbxbp_ prefix in their names.
      It probably needs further cleanup.
    % Highly optimized ConvertAFact(), now goes by the
      name hbxbp_ConvertAFactFromXBP(). Only one conversion
      was used in code, so I dropped the other, but it can be
      readded similarly if ever needed.
    ! Mutex destroy moved to the end of EXIT PROC, anyway
      it's still not safe and should be solved differently.
      (TOFIX)
    ; TOFIX: hbxbp_SetEventFilter() is passed to several function,
             but this function has no return value.

  * contrib/hbcairo/core.c
    * Minor.
2009-12-08 10:33:21 +00:00
Przemyslaw Czerpak
267d7c11cb 2009-12-08 04:07 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbcairo/core.c
    ! fixed code which operates on GC blocks and make both versions
      (with and without HB_USE_ITEM) working in the same way so thay
      can be easy compared.
2009-12-08 03:08:08 +00:00
Przemyslaw Czerpak
989e532c00 2009-12-04 02:49 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbcairo/util.c
  * harbour/contrib/hbcairo/image.c
  * harbour/contrib/hbcairo/context.c
    ! fixed casting for some more pedantic C++ compilers
2009-12-04 01:50:14 +00:00
Viktor Szakats
4cc92701c0 2009-12-03 20:49 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbcairo/Makefile
    + Added autodetection for MacPorts cairo pkg.
    + Fixed autodetection on *nix systems in general.

  * INSTALL
    + Added cairo package information for Darwin/MacPorts and Ubuntu.

  * contrib/hbqt/qtcore/Makefile
    ! Fixed after last commit.
2009-12-03 19:58:43 +00:00
Mindaugas Kavaliauskas
130ac33424 2009-12-03 19:24 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbcairo/tests/table.prg
    ! use value of returned array instead of parameter by reference
2009-12-03 17:25:42 +00:00
Mindaugas Kavaliauskas
c32cc9088c 2009-12-03 18:56 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbcairo/Makefile
  * harbour/contrib/hbcairo/context.c
  * harbour/contrib/hbcairo/paths.c
  * harbour/contrib/hbcairo/pdf.c
  * harbour/contrib/hbcairo/png.c
  + harbour/contrib/hbcairo/surface.c
  * harbour/contrib/hbcairo/text.c
  + harbour/contrib/hbcairo/transfor.c
  + harbour/contrib/hbcairo/util.c
  * harbour/contrib/hbcairo/hbcairo.ch
    + Added more Cairo functions

  * harbour/contrib/Makefile
    * added hbcairo into contrib compile list
2009-12-03 16:59:36 +00:00
Viktor Szakats
41fb98f2e9 2009-12-01 16:10 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* bin/hb-mkimp.bat
    * Minor.

  * contrib/hbwin/win_dll.c
  * contrib/hbcairo/paths.c
  * contrib/hbcairo/text.c
  * contrib/hbcairo/core.c
  * contrib/hbcairo/Makefile
    * Minor cleanups.
    ! Fixed minor typo.
2009-12-01 15:09:59 +00:00
Mindaugas Kavaliauskas
e4de0530ba 2009-12-01 16:56 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbcairo/context.c
  * harbour/contrib/hbcairo/paths.c
  * harbour/contrib/hbcairo/text.c
  * harbour/contrib/hbcairo/tests/table.prg
    * added some error check. If function parameters are invalid C level 
      functions is not called with invalid (NULL) pointers.
    * changed cairo_text_extent() to return an array of .c structure 
      members instead of returning multiple values using parameters 
      passed by reference. In the future I'll try to follow this way 
      to return structures.
2009-12-01 14:59:28 +00:00
Viktor Szakats
648567c886 2009-12-01 00:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added cairo links.

  * contrib/hbwin/wapi_shellapi.c
    + WAPI_USERISANADMIN() function. Based on xhb's recently added
      OS_ISUSERANADMIN() function by Peter Rees.
      Reformatted, renamed and applied fixes/UNICODE/cleanups, usual stuff.

  * contrib/hbcairo/hbcairo.hbc
    + Changed libs= for *nix system. Not tested for this cairo,
      it comes from my local xhgtk hbmk2 files.
2009-11-30 23:05:44 +00:00
Viktor Szakats
471c91d4ea 2009-11-30 22:19 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Documented HB_WITH_CAIRO setting.

  * bin/hb-mkimp.bat
    + Added HB_BUILD_IMPLIB support for cairo lib.
      I didn't test them.

  * contrib/hbcairo/hbcairo.hbc
    * Changed cairo lib name from 'libcairo-2.0' to 'cairo'
      This is what HB_BUILD_IMPLIB will generate.
    ; TODO: It's the "fun" part of any component adaptation, that
            each build and platform use a different lib naming scheme.
            We should fix this one by one for all platforms.
    ; TODO: Make build tests on each platform/compiler.

  * contrib/hbcairo/Makefile
    + Added cairo component detection.
    - Deleted installation of .h header. It doesn't seem to be 
      one for the public.

  * config/global.mk
    % "De-xmastree"-d one if/else structure.
2009-11-30 21:23:01 +00:00
Mindaugas Kavaliauskas
5e8d08fb5e 2009-11-30 21:51 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbcairo/core.c
  * harbour/contrib/hbcairo/test/fancytxt.prg
    * formatting, deleted development comments
2009-11-30 19:55:34 +00:00
Mindaugas Kavaliauskas
a486531e90 2009-11-30 21:31 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
+ harbour/contrib/hbcairo
  + harbour/contrib/hbcairo/Makefile
  + harbour/contrib/hbcairo/context.c
  + harbour/contrib/hbcairo/core.c
  + harbour/contrib/hbcairo/imgae.c
  + harbour/contrib/hbcairo/paths.c
  + harbour/contrib/hbcairo/pdf.c
  + harbour/contrib/hbcairo/png.c
  + harbour/contrib/hbcairo/text.c
  + harbour/contrib/hbcairo/hbcairo.ch
  + harbour/contrib/hbcairo/hbcairo.h
    + Added Cairo graphics library
    ; It's a 2D graphic library that makes drawing commands platform 
      independent. Supported backends are: memory image, PDF, PNG, PS, 
      Win32 DC, SVG, Quartz, Xlib, started Qt development. I.e., you 
      can forget if you are drawing on screen, printer, PDF, or image
      file from know. GTK and FireFox are only a sample of well-known 
      library/application that uses Cairo as rendering engine.
    ; Webpage: http://cairoprahics.org
    ; Binaries, development files and related packages (ex., libpng) for 
      Windows can be found at http://www.gtk.org/download-windows.html
    ; I've used multiple .c files so store Harbour level functions. 
      Functions are split into source files using help sections of
      original Cairo docs (http://cairographics.org/manual/)
    ; You'll find the full documentation on Cairo webpage. Only a few 
      functions are spesific to Harbour and could not be found in 
      original documentaion. It accesses C language structures of Cairo 
      library. These functions are:
         cairo_path_iterator_create( hPath ) --> hIterator
         cairo_path_iterator_next( hIterator ) --> nType | NIL
         cairo_path_iterator_get_points( hIterator ) --> aPoints
         cairo_path_iterator_set_points( hIterator, aPoints ) --> lOk
    ; Internal Cairo pointers/handlers are implemented using collectible 
      pointers. It is destroyed after is not visible to probram any more.
      Though original functions cairo_*_destroy() are also implemeted for 
      those, who wants to make it code clean.
    ; TOCHECK: GC pointers implementation, HB_USE_ITEM define.
    ; TODO: I've implemted not all functions of Cairo. Actually, the 
      minority, but it's enough to do some fancy things.
    ; TODO: Makefile support. I've completely failed to make a working 
      make system. I can compile library by copying Cairo *.h files into 
      source folder and making .dll import library manualy. I guess 
      Viktor can solve the issues in 3 minutes.

  + harbour/contrib/hbcairo/tests
  + harbour/contrib/hbcairo/tests/hbmk.hbm
  + harbour/contrib/hbcairo/tests/fancytxt.prg
  + harbour/contrib/hbcairo/tests/glyphdbg.prg
  + harbour/contrib/hbcairo/tests/hellow.prg
  + harbour/contrib/hbcairo/tests/table.prg
    + added a few samples to generate .pdf/.png images
    ; NOTE: one of the things that make me to spend 3 days for doing this 
      commit is never ending emails about .pdf library problems on 
      developers mailing list. I'm using Cairo for a few years, I've 
      mentioned it a few time on mailing list, but people does not look
      at it before you do not show the final result. I hope this library 
      will be helpful for many, and test code will show both basic 
      (every day required) and fancy things you can do with Cairo.
2009-11-30 19:33:57 +00:00