Commit Graph

68 Commits

Author SHA1 Message Date
Viktor Szakats
a2c4a6c4ab 2012-07-09 22:00 UTC+0200 Viktor Szakats (harbour syenar.net)
+ .gitignore
    + added .gitignore file. experimental.

  * utils/hbmk2/hbmk2.prg
    + -hbx= without parameter will now disable .hbx generation
      instead of being a noop
    * minor formatting

  * contrib/3rd/sqlite3/sqlite3.hbp
  * contrib/gtalleg/gtalleg.hbm
  * contrib/gtwvg/gtwvg.hbp
  * contrib/hbbz2/3rd/bz2/bz2.hbp
  * contrib/hbexpat/3rd/expat/expat.hbp
  * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp
  * contrib/hbhttpd/hbhttpds.hbp
  * contrib/hblzf/3rd/liblzf/lzf.hbp
  * contrib/hbmlzo/3rd/minilzo/minilzo.hbp
  * contrib/hbmxml/3rd/minixml/mxml.hbp
  * contrib/hbmzip/3rd/minizip/minizip.hbp
  * contrib/hbqt/gtqtc/gtqtc.hbm
  * contrib/hbtip/hbtipssl.hbp
  * contrib/rddbm/rddbm.hbp
  * contrib/rddsql/rddsql.hbp
  * contrib/sddfb/sddfb.hbp
  * contrib/sddmy/sddmy.hbp
  * contrib/sddoci/sddoci.hbp
  * contrib/sddodbc/sddodbc.hbp
  * contrib/sddpg/sddpg.hbp
  * contrib/sddsqlt3/sddsqlt3.hbp
    % make sure not to create .hbx files we're not using anyway

  * contrib/hbqt/gtqtc/gtqtc.hbp
    * minor formatting
2012-07-09 20:04:18 +00:00
Viktor Szakats
84f5afb216 2012-06-11 21:06 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbtpathy/telepath.prg
    * using hb_default() instead of rolling it manually

  * contrib/gtwvg/tests/wvgactivex.prg
  * contrib/gtwvg/tests/wvgmodal.prg
  * contrib/hbhttpd/core.prg
  * contrib/hbhttpd/log.prg
  * contrib/hbide/hbqreportsmanager.prg
  * contrib/hbide/hbqtoolbar.prg
  * contrib/hbide/idebrowse.prg
  * contrib/hbide/ideconsole.prg
  * contrib/hbide/idedict.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/idefindreplace.prg
  * contrib/hbide/ideharbourhelp.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/ideshortcuts.prg
  * contrib/hbide/idesources.prg
  * contrib/hbide/idestylesheets.prg
  * contrib/hbide/idethemes.prg
  * contrib/hbide/idetools.prg
  * contrib/hbide/ideuisrcmanager.prg
  * contrib/hbmagic/hbmagis.prg
  * contrib/hbmxml/tests/custom.prg
  * contrib/hbnetio/utils/hbnetio/netiomgm.prg
  * contrib/hbnetio/utils/hbnetio/netiosrv.prg
  * contrib/hbnf/menutonf.prg
  * contrib/hbnf/ontick.prg
  * contrib/hboslib/core.prg
  * contrib/hbqt/tests/cls_dbstruct.prg
  * contrib/hbqt/tests/demoqt.prg
  * contrib/hbxbp/tests/xbpqtc.prg
  * contrib/xhb/stream.prg
  * contrib/xhb/xhbole.prg
  * examples/hbxlsxml/xlsxml_s.prg
  * examples/hbxlsxml/xlsxml_y.prg
  * examples/hbxlsxml/xlsxml.prg
  * tests/parseini.prg
    * formatting HB_IS*() calls
    ! using HB_ISSTRING() instead of HB_ISCHAR() on .prg level

  * utils/hbmk2/hbmk2.prg
    ! minor typo on help screen
2012-06-11 19:09:28 +00:00
Viktor Szakats
5633f2b4f3 2012-06-05 00:18 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib\hbblat\tests\blatcmd.prg
  * contrib\hbblat\tests\blattest.prg
  * contrib\hbct\tests\datetime.prg
  * contrib\hbcurl\tests\ftp_uldl.prg
  * contrib\hbfimage\tests\fitest.prg
  * contrib\hbformat\hbfmtcls.prg
  * contrib\hbformat\utils\hbformat.prg
  * contrib\hbfoxpro\dll.prg
  * contrib\hbgd\gd.prg
  * contrib\hbgd\gdbarcod.prg
  * contrib\hbgd\tests\animgif.prg
  * contrib\hbgd\tests\antialia.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\hbmagic\tests\hbmagit.prg
  * contrib\hbmisc\fcomma.prg
  * contrib\hbmxml\tests\testmxml.prg
  * contrib\hbmysql\tsqlbrw.prg
  * contrib\hbnf\menu1.prg
  * contrib\hbnf\pegs.prg
  * contrib\hbnf\popadder.prg
  * contrib\hbnf\savesets.prg
  * contrib\hbnf\tempfile.prg
  * contrib\hbpgsql\tests\cache.prg
  * contrib\hbpgsql\tests\dbf2pg.prg
  * contrib\hbpgsql\tests\simple.prg
  * contrib\hbpgsql\tests\stress.prg
  * contrib\hbqt\qtgui\hbqt_errorsys.prg
  * contrib\hbsms\tests\send.prg
  * contrib\hbsqlit3\hdbcsqlt.prg
  * contrib\hbsqlit3\tests\authoriz.prg
  * contrib\hbsqlit3\tests\backup.prg
  * contrib\hbsqlit3\tests\hdbctest.prg
  * contrib\hbsqlit3\tests\hooks.prg
  * contrib\hbtip\cgi.prg
  * contrib\hbtip\client.prg
  * contrib\hbtip\ftpcli.prg
  * contrib\hbtip\httpcli.prg
  * contrib\hbtip\sessid.prg
  * contrib\hbtip\tests\dnldftp.prg
  * contrib\hbtip\tests\gmail.prg
  * contrib\hbtip\tests\upld_ftp.prg
  * contrib\hbwin\tests\dlg.prg
  * contrib\hbwin\tests\testsvc.prg
  * contrib\hbwin\win_tcom.prg
  * contrib\hbxpp\tgetx.prg
  * contrib\hbxpp\xppop.prg
  * contrib\hbziparc\ziparc.prg
  * examples\hbbtree\tbtree.prg
  * examples\httpsrv\modules\info.prg
  * examples\httpsrv\modules\testajax.prg
  * examples\rddado\adordd.prg
  * examples\terminal\terminal.prg
  * src\rdd\usrrdd\rdds\arrayrdd.prg
  * src\rdd\usrrdd\rdds\logrdd.prg
  * src\rtl\achoice.prg
  * src\rtl\radiogrp.prg
  * src\rtl\tclass.prg
  * tests\usrrdd\exlog.prg
    * using HB_DEFAULT() instead of DEFAULT ... TO ...
    % deleted '#include "common.ch"' where possible
    ; please pay attention to places where multiple values are
      accepted and DEFAULT applied. It's possible some of these
      might have been slipped my attention and converted to
      HB_DEFAULT(), causing regression.

  * src/rdd/usrrdd/rdds/arrayrdd.prg
    ! typos in recent mods
2012-06-04 22:21:59 +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
adfda22381 2011-07-16 14:49 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmxml/3rd/minixml/config.h
    ! fixed redefinition of snprintf and vsnprintf macros (upstream bugs)
      (apparent in msvc/msvc64 builds)
2011-07-16 12:50:14 +00:00
Viktor Szakats
42a68ed7da 2011-06-08 00:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* examples/superlib/superlib.hbp
  * examples/ps32/ps32.hbp
  * examples/gfspell/gfspell.hbp
  * examples/rddado/rddado.hbp
  * examples/hbapollo/hbapollo.hbp
  * examples/hbvpdf/hbvpdf.hbp
  * examples/hbbtree/hbbtree.hbp
  * examples/hbbtree/hbbtree.hbc
  * examples/gtwvw/gtwvw.hbp
  * examples/gtwvw/gtwvw.hbc
    ! synced libpaths in .hbp and .hbc files. it also means multitarget support

  * contrib/hbmxml/3rd/minixml/config.h
    ! fixed redefinition of strdup() macro (upstream bug) [Tamas Tevesz]
2011-06-07 22:29:10 +00:00
Viktor Szakats
89cad21d1e 2011-05-20 15:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbexpat/hbexpat.ch
    + added constants for attr array element positions
  * contrib/hbexpat/tests/test.prg
  * contrib/hbexpat/tests/tohash.prg
    + using them

  * contrib/hbmxml/3rd/minixml/mxml.hbp
  * contrib/hbmzip/hbmzip.hbp
    * C std-level related tweaks [Tamas Tevesz]
2011-05-20 13:52:06 +00:00
Viktor Szakats
d2163a54bf 2011-04-27 17:46 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmxml/3rd/minixml/config.h
    ! yet another bcc problem. my last after the last.
      anyone to pick up fixing bcc bugs?

  * config/detect.mk
    - exclude slang/curses/x11 for android

  * contrib/hbct/strdiff.c
  * contrib/hbct/dattime3.c
    * uncrustified

  * contrib/hbct/misc2.c
  * contrib/hbct/token1.c
  * contrib/hbct/print.c
    * formatted
2011-04-27 15:47:10 +00:00
Viktor Szakats
7b3c518a60 2011-04-21 10:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/harbour.hbx
  * include/hbapi.h
  * src/common/hbver.c
  * src/rtl/version.c
    + hb_verHostCPU() to return CPU architecture the host OS
      is running under. (long time TODO)
      It may or may not give precise answer depending on 
      target OS. For win, it works as exptected.
    + HB_OSCPU() -> <cCPU> same for .prg level apps.

  * contrib/hbmxml/3rd/minixml/mxml_str.c
    ! Ultimate isdigit() fix. [Tamas Tevesz]
2011-04-21 08:36:15 +00:00
Viktor Szakats
83e92f91d8 2011-04-21 01:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmxml/3rd/minixml/mxml.hbp
  * contrib/hbmxml/3rd/minixml/mxml_str.c
    ! Fixed isdigit() warning which was result of missing
      mxml header. [Tamas Tevesz]

  + contrib/hbcurl/hbcurlt1.ch
  + contrib/hbcurl/core_t1.c
    + Implemented new way of using HB_CURLOPT_HTTPPOST, now
      all meaningful values are supported in any order and
      combination. See:
           http://curl.haxx.se/libcurl/c/curl_formadd.html
      The patch is heavily based on patch/implementation submitted
      by Benjamin Jacobs, many thanks for it. Final patch
      includes some rework, simplification, compile and
      other fixes, plus formatting with uncrustify. Please
      make sure to test/review this version as I didn't do
      any functional tests, just build ones.
      Sample code:
         curl_easy_setopt( curl, HB_CURLOPT_HTTPPOST, { ;
             { HB_CURLFORM_COPYNAME, "nparam1", ;
               HB_CURLFORM_COPYCONTENTS, "value1" }, ;
             { HB_CURLFORM_COPYNAME, "nparam2", ;
               HB_CURLFORM_COPYCONTENTS, "value" }, ;
             { HB_CURLFORM_COPYNAME, "fileparam", ;
               HB_CURLFORM_FILE, filename } } )
      WARNING: This implementation is INCOMPATIBLE with the
               previous one.
      TOFIX: Current implementation does allow to create GPFs because
             it allows .prg code manually pass buffer sizes. This must
             be fixed and buffer length should always be automatically
             taken from Harbour item. This will require more sophisticated
             code to build the low-level array (f.e. size calculation).
             Benjamin, can you look at it?
      NOTE: I'm uploading this unfinished code as new temp files,
            because SVN doesn't support light branching, so this poor man's
            solution is left to manage it.
2011-04-20 23:01:14 +00:00
Viktor Szakats
633e5c2614 2011-04-20 21:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmxml/3rd/minixml/mxml.hbp
  * contrib/hbmxml/3rd/minixml/config.h
    * Testing without HAVE_SNPRINTF/HAVE_VSNPRINTF in ANSI C89 mode.

  * utils/hbmk2/hbmk2.prg
    + Added '-cflag+=' experimental option which works like
      -cflag=, but it adds the custom flag _after_ C flags
      added internally by hbmk2. This allows for some better fine
      tuning (f.e. see rddads.hbp). Another possbility would
      have been to move all user flags after internal ones,
      but this could make it easy to break builds, and it
      would also make cflags behave differently than the rest,
      so I decided to add this new syntax.
    + Some step to support hbmk2 options to control C/C++ dialect.
    % Minor optimization in formed C compiler and linker cmdlines.

  * contrib/rddads/rddads.hbp
    ! Fixed gcc option to disable stupid warning caused
      by sloppy #pragma usage in ACE header.
      Also changed to use '-cflag+=' to make it work.
      At last!
2011-04-20 19:06:32 +00:00
Viktor Szakats
1f8210ec6e 2011-04-20 17:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmxml/3rd/minixml/config.h
    * -> -std=gnu89. Details in comment.

  * contrib/hbunix/hbunix.hbp
    * -> -std=gnu89.

  * contrib/xhb/hbserv.c
    * formatting.

  * contrib/hbmxml/tests/testmxml.prg
    ! Fix. [Tamas Tevesz]
2011-04-20 15:55:49 +00:00
Viktor Szakats
0d53430d2c 2011-04-20 13:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmxml/hbmxml.hbp
  * contrib/hbmxml/3rd/minixml/mxml.hbp
  * contrib/hbmxml/3rd/minixml/config.h
    + Disabled HAVE_STRDUP so now it's using its own implementation
      and it's ANSI C89 compliant.
2011-04-20 11:19:33 +00:00
Viktor Szakats
609bc45771 2011-04-20 13:13 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmxml/hbmxml.hbp
  * contrib/hbmxml/3rd/minixml/mxml.hbp
  * contrib/hbmzip/3rd/minizip/minizip.hbp
  * contrib/gtalleg/gtalleg.hbm
  * contrib/hbbz2/3rd/bz2/bz2.hbp
  * contrib/rddads/rddads.hbp
  * contrib/hbfimage/hbfimage.hbp
  * contrib/hbpre.hbm
  * contrib/hbssl/hbssl.hbm
    ! -std=c90 -> -std=c89, -std=gnu90 -> -std=gnu89
      Some gcc builds have problem with c90.
2011-04-20 11:14:15 +00:00
Viktor Szakats
d552b5476b 2011-04-20 11:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + -depincpath= now supports multiple paths separated by ';'
      (on all platforms)

  * contrib/3rd/sqlite3/sqlite3.hbp
    ! Fixed wrong hbmk2 filter expression.

  * contrib/hbmzip/3rd/minizip/minizip.hbp
  * contrib/rddads/rddads.hbp
  * contrib/hbpre.hbm
    * -std=c89/gnu89 -> -std=c90/gnu90. same, but gcc recommends the latter.

  * contrib/hbhpdf/core.c
  * contrib/rddsql/sqlmix.c
    ! Fixed C++ comments.

  * contrib/hbmxml/hbmxml.hbp
  * contrib/hbmxml/3rd/minixml/mxml.hbp
    ! -std=gnu90 for strdup()

  * contrib/hbbz2/3rd/bz2/bz2.hbp
  * contrib/hbssl/hbssl.hbm
    ! -std=gnu90 for fileno

  * contrib/hbfimage/hbfimage.hbp
  * contrib/gtalleg/gtalleg.hbm
    ! -std=gnu90 for 3rd party headers.

  * contrib/hbbz2/3rd/bz2/bz2.hbp
    % Enabled BZ_STRICT_ANSI. This effectively disanled bzdopen(),
      so if anyone needs it, speak up.

  * contrib/hbqt/hbqt_common.hbm
    ! Temp hack to override -std option for C++.
2011-04-20 09:27:44 +00:00
Viktor Szakats
583afbcdf4 2011-03-28 12:13 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbgs/core.c
    ! Fixed C++ warning.

  * contrib/hbmxml/3rd/minixml/mxml.hbp
  * contrib/hbmxml/3rd/minixml/mxml_fil.c
  * contrib/hbmxml/3rd/minixml/mxml_nod.c
  - contrib/hbmxml/3rd/minixml/minixml.dif
    * Updated.

  ; Patches from Tamas Tevesz.
2011-03-28 10:14:12 +00:00
Viktor Szakats
d6991ca8ca 2011-03-11 01:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbmk2_qt.hbs
    % Deleted now unnecessary .prg wrapper generation logic.
    * Moved .qth processing to "pre_c" phase.
    ! Deleted HB_FUNC_EXTERN for constructor now declared locally.
    ! Added constructor to symbol table.

  * contrib/3rd/sqlite3/sqlite3.hbp
  * contrib/hbbz2/3rd/bz2/bz2.hbp
  * contrib/hbexpat/3rd/expat/expat.hbp
  * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp
  * contrib/hblzf/3rd/liblzf/lzf.hbp
  * contrib/hbmlzo/3rd/minilzo/minilzo.hbp
  * contrib/hbmzip/3rd/minizip/minizip.hbp
  * contrib/hbmxml/3rd/minixml/mxml.hbp
  * contrib/hbxdiff/3rd/libxdiff/xdiff.hbp
    + Added -pic option to 3rd party libs. This switch will
      make them use -pic when creating their static libs,
      which allows to link them to contrib dynlibs when
      using HB_BUILD_CONTRIB_DYN=yes.

  * contrib/hbwin/tests/dlg.prg
    * Minor formatting.
2011-03-11 00:28:04 +00:00
Viktor Szakats
824c86f7e6 2011-02-09 16:56 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmysql/hbmysql.hbc
  * contrib/hbct/hbct.hbc
  * contrib/hbgt/hbgt.hbc
  * contrib/hbmxml/hbmxml.hbc
  * contrib/make.hbs
  * contrib/hbmzip/hbmzip.hbc
  * contrib/hbunix/hbunix.hbc
  * contrib/sddpg/sddpg.hbc
  * contrib/hbziparc/hbziparc.hbc
  * contrib/hbxbp/hbxbp.hbc
  * contrib/hblzf/hblzf.hbc
  * contrib/hbblink/hbblink.hbc
  * contrib/hbxdiff/hbxdiff.hbc
  * contrib/hbcurl/hbcurl.hbc
  * contrib/hbnetio/hbnetio.hbc
  * contrib/rddsql/rddsql.hbc
  * contrib/hbhttpd/hbhttpd.hbc
  * contrib/gtwvg/gtwvg.hbc
  * contrib/hbpgsql/hbpgsql.hbc
  * contrib/sddsqlt3/sddsqlt3.hbc
  * contrib/hbformat/hbformat.hbc
  * contrib/hbwin/hbwin.hbc
  * contrib/hbsms/hbsms.hbc
  * contrib/gtalleg/gtalleg.hbc
  * contrib/sddmy/sddmy.hbc
  * contrib/hbodbc/hbodbc.hbc
  * contrib/xhb/xhb.hbc
  * contrib/sddfb/sddfb.hbc
  * contrib/hbtpathy/hbtpathy.hbc
  * contrib/rddbm/rddbm.hbc
  * contrib/hbsqlit3/hbsqlit3.hbc
  * contrib/hbmagic/hbmagic.hbc
  * contrib/hbexpat/hbexpat.hbc
  * contrib/hbblat/hbblat.hbc
  * contrib/hbqt/qtgui/hbqtgui.hbc
  * contrib/hbqt/qtwebkit/hbqtwebkit.hbc
  * contrib/hbqt/qtcore/hbqtcore.hbc
  * contrib/hbqt/qtnetwork/hbqtnetwork.hbc
  * contrib/hbqt/qtuitools/hbqtuitools.hbc
  * contrib/hbqt/qscintilla/hbqscintilla.hbc
  * contrib/hbqt/qtdesigner/hbqtdesigner.hbc
  * contrib/hbfbird/hbfbird.hbc
  * contrib/hbbz2/hbbz2.hbc
  * contrib/hbnf/hbnf.hbc
  * contrib/hbmemio/hbmemio.hbc
  * contrib/hbxpp/hbxpp.hbc
  * contrib/hbfship/hbfship.hbc
  * contrib/hbcups/hbcups.hbc
  * contrib/hbfoxpro/hbfoxpro.hbc
  * contrib/hbhpdf/hbhpdf.hbc
  * contrib/hbclipsm/hbclipsm.hbc
  * contrib/rddads/rddads.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/hbssl/hbssl.hbc
    * Renamed __HB_DYN__ to _HB_DYNSUFF
    + Added _HB_DYNPREF

  * contrib/hbcairo/hbcairo.hbc
    ! Fixed libname when _HB_DYNPREF is set.

  * contrib/hbqt/qtgui/hbqtgui.hbc
  * contrib/hbqt/qtwebkit/hbqtwebkit.hbc
  * contrib/hbqt/qtcore/hbqtcore.hbc
  * contrib/hbqt/qtnetwork/hbqtnetwork.hbc
  * contrib/hbqt/qtuitools/hbqtuitools.hbc
  * contrib/hbqt/qscintilla/hbqscintilla.hbc
  * contrib/hbqt/qtdesigner/hbqtdesigner.hbc
    ! Fixed linux static mode when _HB_DYNPREF is set
    * Changed to use ${hb_name} instead of explicit libname
2011-02-09 15:58:45 +00:00
Viktor Szakats
c05dd197d9 2011-02-09 13:47 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmxml/3rd/minixml/mxml.hbp
  * contrib/3rd/sqlite3/sqlite3.hbp
  * contrib/hbmzip/3rd/minizip/minizip.hbp
  * contrib/hblzf/3rd/liblzf/lzf.hbp
  * contrib/hbxdiff/3rd/libxdiff/xdiff.hbp
  * contrib/hbexpat/3rd/expat/expat.hbp
  * contrib/hbbz2/3rd/bz2/bz2.hbp
  * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp
    ! Do not create dynamic version of 3rd party dependencies hosted 
      locally. It should fix some problems on *nix builds with 
      HB_BUILD_CONTRIB_DYN=yes.

  * contrib/hbrun/hbrun.hbp
    + -o option.

  * utils/hbmk2/hbmk2.prg
    + Added dynlib dir + prefix to --hbinfo output.
2011-02-09 12:47:35 +00:00
Viktor Szakats
393940b3af 2011-02-07 10:19 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmxml/hbmxml.hbx
  * contrib/hbexpat/hbexpat.hbx
  * contrib/hbcomm/hbcomm.hbx
    * Removed duplicates using clean build.
2011-02-07 09:20:06 +00:00
Viktor Szakats
33781293af 2011-02-05 18:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* examples/gtwvw/wvwfuncs.c
    * Renamed WIN_RECTANGLE() to WVW_RECTANGLE()
    * Renamed WIN_SETBKMODE() to WVW_SETBKMODE()
    - Deleted WIN_LOWORD()
    - Deleted WIN_HIWORD()
    ; INCOMPATIBILITY: If you used WIN_RECTANGLE() or WIN_SETBKMODE() 
                       specifically from GTWVW, change these calls to 
                       the neww WVW_*() versions.
                       If you used WIN_LOWORD() or WIN_HIWORD(), 
                       link hbwin lib (hbwin.hbc) to your app.

  * contrib/*/*.hbx
    * Regenerated.
2011-02-05 17:29:58 +00:00
Viktor Szakats
371c238bf6 2011-02-05 12:51 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmxml/hbmxml.hbp
  - contrib/hbmxml/hbmxml.c
  + contrib/hbmxml/core.c
  - contrib/hbmxml/hbmxmlp.prg
  + contrib/hbmxml/format.prg
  - contrib/hbmxml/hbmxmlx.prg
  * contrib/hblzf/hblzf.hbp
  - contrib/hblzf/hblzf.c
  + contrib/hblzf/core.c
  - contrib/hblzf/hblzfx.prg
  * contrib/hbxdiff/hbxdiff.hbp
  - contrib/hbxdiff/hbxdiff.c
  + contrib/hbxdiff/core.c
  - contrib/hbxdiff/hbxdiffx.prg
  * contrib/hbexpat/hbexpat.hbp
  * contrib/hbexpat/hbexpat.hbx
  - contrib/hbexpat/hbexpat.c
  + contrib/hbexpat/core.c
  - contrib/hbexpat/hbexpatc.c
  + contrib/hbexpat/internal.c
  - contrib/hbexpat/hbexpatp.prg
  + contrib/hbexpat/unitable.prg
  - contrib/hbexpat/hbexpatx.prg
    * Renamed sources.
    % Optimized to use .hbx files directly without extra puller source.

  * contrib/hblzf/core.c
    ! Fixed dependence on <errno.h> which broke certain targets, 
      f.e. msvcarm. BTW errnos are not set by lzf lib anyways, 
      due to default configuration.
    ! Fixed to always set 3rd parameter in HB_LZF_DECOMPRESS().
      Pls review.

  * contrib/hblzf/3rd/liblzf/lzf.hbp
    - Deleted commented line.
2011-02-05 11:52:16 +00:00
Viktor Szakats
05864cbb94 2011-02-05 11:04 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/examples/contribf.hbc
    ! Updated rddbm name.

  * contrib/hbmxml/hbmxmlx.prg
  * contrib/hblzf/hblzfx.prg
  * contrib/hbxdiff/hbxdiffx.prg
  * contrib/hbexpat/hbexpatx.prg
    + Added manual #define __HBEXTREQ__

  * contrib/hbgt/hbgt.hbp
  + contrib/hbgt/hbgt.hbx
  * contrib/hbblink/hbblink.hbp
  + contrib/hbblink/hbblink.hbx
  * contrib/hbsms/hbsms.hbp
  + contrib/hbsms/hbsms.hbx
  - contrib/hbsms/hbsms.prg
  + contrib/hbsms/sms.prg
  * contrib/hbtpathy/hbtpathy.hbp
  + contrib/hbtpathy/hbtpathy.hbx
  * contrib/hbnf/hbnf.hbp
  + contrib/hbnf/hbnf.hbx
  * contrib/hbfship/hbfship.hbp
  + contrib/hbfship/hbfship.hbx
  * contrib/hbfoxpro/hbfoxpro.hbp
  + contrib/hbfoxpro/hbfoxpro.hbx
  * contrib/hbhpdf/hbhpdf.hbp
  + contrib/hbhpdf/hbhpdf.hbx
  * contrib/hbclipsm/hbclipsm.hbp
  + contrib/hbclipsm/hbclipsm.hbx
  * contrib/hbmisc/hbmisc.hbp
  + contrib/hbmisc/hbmisc.hbx
  + contrib/hbcomm/hbcomm.hbx
  * contrib/hbcomm/hbcomm.hbp
  - contrib/hbcomm/hbcomm.prg
  + contrib/hbcomm/comm.prg
    + Added .hbx files and included them in .hbp.
    * Renamed sources with colliding (with .hbx) names.
2011-02-05 10:05:46 +00:00
Viktor Szakats
c5c12623f0 2011-02-05 10:46 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmxml/hbmxml.hbp
  * contrib/hblzf/hblzf.hbp
  * contrib/hbxdiff/hbxdiff.hbp
  * contrib/hbwin/hbwin.hbp
  * contrib/hbexpat/hbexpat.hbp
    + Added missing -instfile for .hbx.
2011-02-05 09:46:47 +00:00
Viktor Szakats
e7a4f9d9af 2011-02-05 10:15 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
- contrib/hbct/ctextern.prg
  * contrib/hbct/hbct.hbp
  - contrib/hbxbp/hbxbpext.prg
  * contrib/hbxbp/hbxbp.hbp
  - contrib/hbwin/hbwinext.prg
  * contrib/hbwin/hbwin.hbp
  * contrib/hbqt/qtgui/hbqtgui.hbm
  - contrib/hbqt/qtgui/hbqt_extern.prg
  * contrib/hbqt/qtwebkit/hbqtwebkit.hbm
  - contrib/hbqt/qtwebkit/hbqt_extern.prg
  - contrib/hbqt/qtcore/hbqt_extern.prg
  * contrib/hbqt/qtcore/hbqtcore.hbm
  - contrib/hbqt/qtnetwork/hbqt_extern.prg
  * contrib/hbqt/qtnetwork/hbqtnetwork.hbm
  - contrib/hbqt/qtuitools/hbqt_extern.prg
  * contrib/hbqt/qtuitools/hbqtuitools.hbm
  - contrib/hbqt/qscintilla/hbqt_extern.prg
  * contrib/hbqt/qscintilla/hbqscintilla.hbm
  - contrib/hbqt/qtdesigner/hbqt_extern.prg
  * contrib/hbqt/qtdesigner/hbqtdesigner.hbm
  - contrib/rddads/adsextrn.prg
  * contrib/rddads/rddads.hbp
  - contrib/hbgd/gdextern.prg
  * contrib/hbgd/hbgd.hbp
    % Deleted separate puller modules and added .hbx to the project directly.
    ; TODO: Some wrapper projects have the name already used for .c files, 
            so .hbx cannot be directly included ATM.
    ; TODO: Move -D__HBEXTREQ__ to local .hbp files so they kick in in stdalone mode too.
            Or maybe hbmk2 should always define it, if there is an .hbx file included 
            in a project, after all it can generate these .hbx files, too.

  * contrib/hbmxml/hbmxmlx.prg
  * contrib/hblzf/hblzfx.prg
  * contrib/hbxdiff/hbxdiffx.prg
  * contrib/hbexpat/hbexpatx.prg
    % Deleted some lines no more necessary.

  * contrib/xhb/xhb.hbp
  * contrib/hbxpp/hbxpp.hbp
    + Added .hbx puller to projects.
2011-02-05 09:16:09 +00:00
Viktor Szakats
3e640f36a4 2011-02-05 09:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
  * config/hbextern.hbs
    + Now generates code which makes it possible to use __HBEXTREQ__
      macro to compile .hbx as extern puller module. So no extra
      .prg is needed for that.

  * contrib/hbpost.hbm
    + Define __HBEXTREQ__

  * contrib/hbunix/hbunix.hbp
  + contrib/hbunix/hbunix.hbx
    + Added extern puller (now without extra .prg)

  * contrib/hbrunext/pullext.prg
  * contrib/hbrunext/hbrunext.hbp
    + Added hbunix for *nix builds.

  * contrib/hbct/hbct.hbx
  * contrib/hbmxml/hbmxml.hbx
  * contrib/hbxbp/hbxbp.hbx
  * contrib/hblzf/hblzf.hbx
  * contrib/hbxdiff/hbxdiff.hbx
  * contrib/hbwin/hbwin.hbx
  * contrib/xhb/xhb.hbx
  * contrib/hbexpat/hbexpat.hbx
  * contrib/hbqt/qtgui/hbqtgui.hbx
  * contrib/hbqt/qtwebkit/hbqtwebkit.hbx
  * contrib/hbqt/qtcore/hbqtcore.hbx
  * contrib/hbqt/qtnetwork/hbqtnetwork.hbx
  * contrib/hbqt/qtuitools/hbqtuitools.hbx
  * contrib/hbqt/qtdesigner/hbqtdesigner.hbx
  * contrib/hbxpp/hbxpp.hbx
  * contrib/rddads/rddads.hbx
  * contrib/hbgd/hbgd.hbx
    * Regenerated.

  ; TODO: Optimize out extern puller .prgs.
2011-02-05 08:22:50 +00:00
Viktor Szakats
655adbdf10 2011-01-31 00:06 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/3rd/sqlite3/sqlite3.hbc
  * contrib/hbmxml/3rd/minixml/mxml.hbc
  * contrib/hbmzip/3rd/minizip/minizip.hbc
  * contrib/hbexpat/3rd/expat/expat.hbc
  * contrib/hblzf/3rd/liblzf/lzf.hbc
  * contrib/hbbz2/3rd/bz2/bz2.hbc
  * contrib/hbxdiff/3rd/libxdiff/xdiff.hbc
  * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbc
    ! Fixed linking in HB_BUILD_CONTRIB_DYN=yes mode.

  * contrib/hbexpat/hbexpat.hbp
    ! Fixed linking in HB_BUILD_CONTRIB_DYN=yes mode with
      certain win compilers (f.e. msvc).

  * ChangeLog
    * Corrected information about recently fixed HBQT problem.
2011-01-30 23:09:11 +00:00
Viktor Szakats
fa950fae9c 2011-01-23 10:23 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Minor typo in help text.

  * utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.es_PE.po
    + Updated from source.

  * contrib/hbmxml/tests/rem.xml
  * contrib/hbmxml/tests/rem_err.xml
    ! Added missing EOL @ EOF.

  * contrib/hbunix/hbposix.h
    + Added generic macro to accept both logical and numeric type for
      boolean-like input parameters.

  * contrib/hbunix/tests/testdmn.prg
  * contrib/hbunix/daemon.c
    + UNIX_DAEMON(): Changed to accept numeric value for logical parameters.
    + UNIX_DAEMON(): Changed to return numeric value.
    ; Patch by Tamas.
2011-01-23 09:24:47 +00:00
Viktor Szakats
d43bb8058f 2011-01-21 09:59 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/hbposix/tests/testdmn.prg
  * contrib/hbposix/hbposix.hbp
  + contrib/hbposix/daemon.c
    + Added HB_POSIX_DAEMON( lNoChdir, lNoClose ) --> lResult

  * contrib/hbmxml/hbmxmlp.prg
  * contrib/hbmagic/hbmagis.prg
  * contrib/hbmagic/tests/hbmagit.prg
  * contrib/hbmagic/hbmagic.c
    ! Minor fix to copyright line.

  ; Patch from Tamas. Thank you!

  * contrib/hbposix/tests/testdmn.prg
  * contrib/hbposix/daemon.c
    * Renamed POSIX_DAEMON() to HB_POSIX_DAEMON() to reflect 
      fact that it implement higher level posix functionality 
      (as opposed to being a direct wrapper to posix function 
      names 'deamon()')
2011-01-21 09:00:49 +00:00
Przemyslaw Czerpak
7263e28508 2011-01-21 07:04 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbmxml/hbmxml.c
    % optimization - moved hb_itemNew()/hb_itemRelease() outside for()
      loop
2011-01-21 06:04:51 +00:00
Viktor Szakats
68cd610785 2011-01-20 18:48 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmxml/hbmxml.hbx
    ! Updated.

  * contrib/hblzf/hblzf.hbp
  + contrib/hblzf/hblzf.hbx
  + contrib/hblzf/hblzfx.prg
  * contrib/hbxdiff/hbxdiff.hbp
  + contrib/hbxdiff/hbxdiff.hbx
  + contrib/hbxdiff/hbxdiffx.prg
    + Added extern puller parts.
2011-01-20 17:48:37 +00:00
Przemyslaw Czerpak
19515c4899 2011-01-20 11:37 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbmxml/hbmxml.c
    ! redesigned to use mxml_node reference counters - it should fix
      all problems with memory leak and accessing freed memory which
      where in our wrapper.
    ! fixed few typos and possible GPF I've found
    ! modified mxmlDelete() wrapper to respect reference counter
      It means that it cannot call mxmlDelete() MXML function directly.
    - removed mxmlRelease() and mxmlRetain() PRG wrappers

  * harbour/contrib/hbmxml/3rd/minixml/mxml_fil.c
    ! fixed double mxml_node releasing

  * harbour/contrib/hbmxml/3rd/minixml/mxml_nod.c
    ! fixed mxmlDelete() to respect reference counters

    ; TODO: There are still two problems but inside MXML library.
      1. memory leak in testmxml rem_err.xml
        The leak is inside MXML function and have to be fixed by author
        (I do not want to change this code too deeply). Here is valgrind
        report:
            (88 direct, 1 indirect) bytes in 1 blocks are definitely lost
            at 0x4C234E7: calloc ()
            by 0x40ABF9: mxml_new (mxml_nod.c:758)
            by 0x40AE39: mxmlNewText (mxml_nod.c:547)
            by 0x407421: mxml_load_data (mxml_fil.c:1585)
            by 0x404E50: HB_FUN_MXMLLOADFILE (hbmxml.c:794)
            by 0x50A9FF6: hb_vmProc (hvm.c:5795)
            by 0x5086104: hb_vmExecute (hvm.c:1655)
            by 0x50A9FF6: hb_vmProc (hvm.c:5795)
            by 0x50ADC12: main (mainstd.c:96)
      2. Index functions in MXML library does not update reference counters.
         It means that it's possible to create index then remove nodes and
         access such nodes extracting their addresses from the index.
         It's the only one place I know when user can make sth wrong with
         memory using just modified HBMXML wrapper and it cannot be fixed
         without modifications in MXML library.

    Please test it.
2011-01-20 10:37:50 +00:00
Viktor Szakats
4b0cc74746 2011-01-17 23:02 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmxml/hbmxml.c
    * Reformatted with uncrustify.
2011-01-17 22:03:13 +00:00
Przemyslaw Czerpak
7475dd345b 2011-01-17 22:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbmxml/hbmxml.c
    ! fixed hb_strdup() wrongly used instead of strdup()
      Thanks to Petr for the information.
    * modified MXMLSAVESTRING() to follow recent Viktor modifications in
      MXMLSAVEALLOCSTRING() and not strip trailing EOL
2011-01-17 21:55:19 +00:00
Viktor Szakats
d985080994 2011-01-17 20:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmxml/hbmxml.c
    % In MXMLSAVEALLOCSTRING() strdup()-ed buffer passed directly
      to hb_retclen_buffer() replaced with plain hb_retclen() call.
      hb_retclen_buffer() is to be used only if there is already
      an allocated buffer to pass as is.
    ! MXMLSAVEALLOCSTRING() modified to not remove EOLs from
      buffers received from minixml lib. Reason two-fold: 1. hbmxml
      libs job is to be as transparent as possible, so it should not
      tamper with the contents 2. Do not make any assumptions about
      the size of EOL, which was 1, but now it can be 2 on certain
      platforms.
    ; Please review and test. There is no test code for this
      call, so I only did build tests.

  * contrib/hbfoxpro/hbfoxpro.hbp
  + contrib/hbfoxpro/misc.prg
    + Added very humble attempt to emulate SYS(). I'm no FoxPro user
      and don't have any facility to make tests against real FoxPro.
      Please fix and extend as you deem necessary.

  * bin/hb3rdpat.hbs
    + Changed tool detection to only require what's really to be
      used in a certain session.
    + Added detection to more tools.
    ; Thanks Tamas for the patch session.
2011-01-17 19:55:54 +00:00
Viktor Szakats
d7d0cffbd7 2011-01-17 12:38 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmxml/3rd/minixml/mxml.hbp
  * contrib/hbmxml/3rd/minixml/mxml_fil.c
    + Patched libmxml code to create native CRLF EOL on win/dos/os2 platforms.
2011-01-17 11:39:44 +00:00
Przemyslaw Czerpak
a085926636 2011-01-17 12:14 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbmxml/hbmxml.c
    * use hb_parstr_utf8() instead of hb_parc() in custom_save_cb()
2011-01-17 11:14:31 +00:00
Viktor Szakats
9eb980c479 2011-01-16 23:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmxml/tests/testmxml.prg
    ! Reverted 2011-01-17 00:05 UTC+0200 Petr Chornyj.
      It's wrong solution, it makes the output non-portable.
    ; TOFIX: Change LF to CRLF in libmxml for a proper fix.
2011-01-16 22:31:06 +00:00
Petr Chornyj
a26fe95871 2011-01-17 00:05 UTC+0200 Petr Chornyj (myorg63 at mail.ru)
* contrib/hbmxml/hbmxml.c
    ! Fixed warning reported by bcc55 in mxmlNewCustom() 
  * contrib/hbmxml/tests/testmxml.prg
    * Changed whitespace_cb() to respect official mxml test result
      f.e. hb_eol() -> e"\n"
2011-01-16 22:07:42 +00:00
Przemyslaw Czerpak
784f6c6564 2011-01-16 17:06 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbmxml/hbmxml.c
    % optimized user callback calls
    * declare all helper functions as static - all public functions
      except HB_FUNC() ones should be declared in .h files
      If it's not necessary the please do not declare functions as public.
      It's much easier to update the code when developers know that it's
      use only locally and not accessed from some other or user code.
2011-01-16 16:06:33 +00:00
Przemyslaw Czerpak
c1d017ea15 2011-01-16 16:46 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbmxml/hbmxml.c
    ! fixed C&P typo in previous commit
2011-01-16 15:47:03 +00:00
Przemyslaw Czerpak
cb8cfe1f4f 2011-01-16 16:11 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbmxml/hbmxml.c
    ! fixed MXMLSAVESTRING() to correctly shrink destination buffer.
      Please test.
    * small code simplification
2011-01-16 15:11:22 +00:00
Petr Chornyj
0853196a9d 2011-01-16 00:40 UTC+0200 Petr Chornyj (myorg63 at mail.ru)
* contrib/hbmxml/hbmxml.c
    + Added experimental hb_mxmlGetAttrsCount(), hb_mxmlGetAttrs(), 
      hb_mxmlGetAttrsArray()
    ; WARNING: can be changed or even removed after final 2.7 miniXML release
2011-01-15 22:37:37 +00:00
Petr Chornyj
1c2abbd058 2011-01-15 22:00 UTC+0200 Petr Chornyj (myorg63 at mail.ru)
* contrib/hbmxml/hbmxml.c
    ! Fixed mxmlIndexDelete(), simplified mxmlSaveString() 
  - contrib/hbmxml/tests/test.prg
    - removed as unnecessary
  * contrib/hbmxml/tests/testmxml.prg
    * minor typo in comment
2011-01-15 19:56:32 +00:00
Przemyslaw Czerpak
2b7384befc 2011-01-15 13:47 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbmxml/hbmxml.c
    ! fixed using released strings
    ! added missing callback item clearing
    ! release previous callback items in MXMLSETERRORCALLBACK() and
      MXMLSETCUSTOMHANDLERS() - it fixes memory leak in repeated calls
      and allows to free all items used by codeblock callbacks before
      application/thread exit.
    ; small note about TSD functions:
         hb_stackGetTSD() always returns non NULL pointer, on first call
         it allocates and initialize new structure. It's not necessary to
         check if return value is not NULL.
         hb_stackTestTSD() return NULL if TSD structure is not allocated
         yet by current thread, otherwise it returns this structure.
         Newly allocated TSD structures are cleared so it's not necessary
         to clear their members inside init functions. In such case init
         functions can be ignored (set to NULL in HB_TSD_NEW().
         I know that on some platforms NULL can be represented as non
         0 value anyhow current Harbour code is not ready to work with
         such platforms and needs a lot of modifications to adopt it
         to such condition. I do not expect that anyone will try to
         make such port in the future.
    ; QUESTION: why custom_save_cb() uses hb_parc() instead of 
                hb_parstr_utf8()?
    ; QUESTION2: what TODO in MXMLDELETE() means?
2011-01-15 12:48:01 +00:00
Przemyslaw Czerpak
82df9ab45a 2011-01-15 12:07 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapi.h
  * harbour/include/hbwmain.c
  * harbour/src/vm/cmdarg.c
    * moved declaration of hb_winmainArgInit() to header file

  * harbour/contrib/hbmxml/3rd/minixml/mxml_fil.c
  * harbour/contrib/hbmxml/3rd/minixml/mxml.h
    ! fixed to compile with WinCE builds
    ; I cannot regenerate .diff file because
         ../../../../bin/hb3rdpat.hbs -rediff
      generates RT error:
         Error BASE/1123  Argument error: HB_ATOKENS
         Called from HB_ATOKENS(0)
         Called from URL_GETFILENAME(810)
         Called from FETCHANDEXTRACT(673)
         Called from MAIN(412)
      Sorry, probably I'm missing sth what was already discussed
      but I was not able to follow all post on the list in last
      weeks so I would like to ask Viktor or Tamas for the help.
2011-01-15 11:08:03 +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
Viktor Szakats
b9fb99bd54 2011-01-12 02:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmxml/hbmxml.c
    + Enabled function pointer support with new PHB_ITEM based
      callback system.
    ! MXMLSETERRORCALLBACK() fixed to reset error handler to NULL
      if wrong (or no) parameter is passed.
    ! Replaced hb_vmProc() with hb_vmSend().
    ! Fixed some missed locations still using dynsyms directly.

  * contrib/hbmxml/tests/custom.prg
  * contrib/hbmxml/tests/testmxml.prg
  * contrib/hbmxml/tests/reminder.prg
    * Switched back to use function pointers.

  * contrib/hbsqlit3/hbsqlit3.c
  * contrib/hbxdiff/hbxdiff.c
    * Renamed variables to reflect recent changes.
2011-01-12 01:04:42 +00:00
Viktor Szakats
205594c2e6 2011-01-12 01:13 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmxml/hbmxml.c
    + First round to switch to supporting codeblocks and storing
      callback information in PHB_ITEM instead of PHB_DYNS. For some 
      reason I couldn't figure, reminder.prg fails after this modification.
      Please verify.
    + Added TOFIX to severe buffer handling problem in all MXMLSAVE*() 
      functions. Buffer is returned from save_cb() callback after 
      it's freed.

  * contrib/hbmxml/tests/custom.prg
  * contrib/hbmxml/tests/testmxml.prg
  * contrib/hbmxml/tests/reminder.prg
    * Changed to use codeblock callbacks.
      (later some examples might be readded for function pointers,
      it's simple s&r)
    * Some formatting. Deleted line spaces @ EOL.
    ; NOTE: f.e. testmxml.prg fails instantly. It failed the same 
            way before this commit.
2011-01-12 00:13:53 +00:00
Viktor Szakats
4fa468eb9d 2011-01-11 23:06 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmxml/tests/reminder.prg
  * contrib/hbmxml/tests/test.prg
    ! Fixed warnings and errors preventing these
      tests from building.

  * contrib/hbexpat/hbexpat.c
  * contrib/hbcurl/hbcurl.c
  * contrib/hbssl/ssl.c
  * contrib/hbssl/pem.c
    + Added support also for function pointers where codeblocks
      were accepted. Please test it.
      NOTE: It was easy change because PHB_ITEM was already
            used to store the callback value and official Eval API
            was used to call the callbacks.

  * contrib/hbssl/tests/pem.prg
    + Added example for function pointer callback.

  * contrib/hbssl/pem.c
    % Minor optimization.
2011-01-11 22:07:02 +00:00