Commit Graph

548 Commits

Author SHA1 Message Date
Viktor Szakats
23dd5b134d 2010-06-19 09:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/runner.c
    ! Minor to prev.

  * include/hbapi.h
  * src/vm/extend.c
    + Added hb_parnsize(), hb_retnsize(), hb_stornsize() functions.
    ; NOTE: These should be used in place of hb_parnl(), hb_retnl(),
            hb_stornl() when passing HB_SIZE types.
    ; TODO: Use them all accross Harbour if they are correct and
            after being finalized.

  * src/vm/itemapi.c
    + Added hb_itemGetNSize(), hb_itemPutNSize() functions.
    * DATETIME stuff in hb_itemGetNL() marked as HB_LEGACY_LEVEL3.
    ; QUESTION: It's marked as to be deleted in the TODO, so maybe we should
                rather delete it.

  * include/hbapiitm.h
  * src/rtl/filesys.c
    + hb_fsReadAt(), hb_fsWriteAt(): Added support for Win64 HB_SIZE.
    ; QUESTION: I assume these functions have the purpose of being
                atomic seek + read without moving the file pointer,
                which means current modification isn't safe. How
                can this be solved given Windows doesn't seem to have
                64-bit read/write API calls?
    ! Fixed old copy-paste typos in Windows OVERLAPPED initialization,
      where the lines were ended with command instead of semicolon,
      they didn't cause any harm though in their former location.
    % Reverted a minor change from prev commit to make it
      possibly a little bit faster, like it was before.

  * src/rtl/hbzlib.c
    + Added casts (at external interface calls) and other fixes to
      make it build for Win64 without warnings.

  * src/rdd/dbfntx/dbfntx1.c
  * src/rdd/dbfnsx/dbfnsx1.c
  * src/rdd/dbfcdx/dbfcdx1.c
  * src/rdd/dbffpt/dbffpt1.c
  * contrib/rddbmcdx/bmdbfcdx.c
    * HB_ULONG -> HB_SIZE where appropriate to avoid Win64 errors
      and some warnings. I'm still not comfortable to touch this
      code, but it could certainly need a type cleanup.

  * include/hbdefs.h
    + Added HB_PFS macro which holds the printf() format string
      for HB_SIZE value.
    ; TODO: Use it all accross Harbour.

  * contrib/hbmysql/mysql.c
  * contrib/sddmy/sddmy.c
  * contrib/hbmzip/hbmzip.c
  * contrib/hbcurl/hbcurl.c
  * contrib/hbhpdf/harupdf.c
  * contrib/hbpgsql/postgres.c
  * contrib/rddads/adsfunc.c
  * contrib/rddads/ads1.c
  * contrib/hbfimage/fi_wrp.c
  * contrib/sddodbc/sddodbc.c
  * contrib/hbgd/gdwrp.c
  * contrib/hbwin/wapi_wingdi.c
  * contrib/hbwin/wapi_winbase.c
  * contrib/hbwin/wapi_winuser.c
  * contrib/hbwin/win_bmp.c
  * contrib/hbwin/win_prn1.c
  * contrib/hbwin/win_regc.c
  * contrib/hbssl/evpciph.c
  * contrib/hbssl/ssl.c
  * contrib/hbssl/bio.c
  * contrib/hbssl/sslctx.c
  * contrib/hbssl/evpenc.c
  * contrib/hbssl/pem.c
  * contrib/hbssl/rand.c
  * contrib/hbssl/evp.c
    + Added necessary casts at external component boundaries to
      make Win64 builds warning-free.

  * contrib/hbct/ctstrfil.c
    + HB_ISIZ -> HB_FOFFSET, hb_fsSeek() usage, other type cleanup
      to handle file offsets correctly.

  * contrib/xhb/hbnxs.h
  * contrib/xhb/hbcrypt.c
    ! Fixed warnings for Win64.

  * contrib/hbwin/win_prn3.c
  * contrib/xhb/dbf2txt.c
  * contrib/xhb/fparse.c
    * int -> HB_ISIZ for Win64.

  * contrib/xhb/freadlin.c
    * hb_fsSeek() -> hb_fsSeekLarge().

  * contrib/sddfb/sddfb.c
    * Minor type cleanup to make Win64 warning-free.

  * contrib/hbsqlit3/hbsqlit3.c
    + Added necessary casts at external interface calls.
    % Deleted one dummy operation from SQLITE3_FILE_TO_BUFF().

  * contrib/rddsql/sqlmix.c
  * contrib/rddads/adsx.c
    * HB_ULONG -> HB_SIZE.

  * contrib/gtwvg/gtwvg.c
  * contrib/gtwvg/wvggui.c
  * contrib/gtwvg/wvgcuig.c
  * contrib/gtwvg/wvgwin.c
  * contrib/gtwvg/wvgutils.c
  * contrib/gtwvg/wvgcore.c
    ! int -> HB_ISIZ/HB_SIZE
    + Added necessary casts at external component boundaries to
      make Win64 warning-free.

  * contrib/rddads/ads1.c
    * HB_ULONG -> HB_SIZE

  * contrib/hbtip/utils.c
    * int -> HB_ISIZ
    ! Fixed to use HB_FOFFSET type to save/restore file position.

  * ChangeLog
    + Added missing item to previous log entry:
      ! Fixed hb_fsCurDirBuff() for Win64.

  ; It's quite large commit, nevertheless I'd highly appreciate
    peer review, and certainly there will be places which need
    better or different solution for Win64.
2010-06-19 08:05:24 +00:00
Viktor Szakats
f145ef4c80 2010-06-18 11:58 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdefs.h
    ! Fixed one intentional typo I put in to test legacy types.

  * src/compiler/hbmain.c
  * src/compiler/genhrb.c
  * src/compiler/gencc.c
  * src/compiler/hbcmplib.c
  * include/hbcomp.h
  * include/hbcompdf.h
    * HB_ULONG -> HB_SIZE, where I could find out from warnings.
    + Added parameter names to some function declarations where they
      were missing.
    ; Przemek, please check me. I feel I will mess this up if continuing
      beyond this point, so I'd appreciate if you could take a look at
      HB_ULONG to HB_SIZE conversion from an intrinsic perspective,
      there seem to be places where it needs further tweaks to get us
      full Win64 support. [ I've also intentionally left this area
      more or less intact when doing the previous pass of conversion. ]
    ; There are places where simple 'int' is used, while it should be
      HB_SIZE (or maybe size_t? in some places).
    ; Also, Win64 conversion will need some more work f.e. in filesys.c
      where WinAPI file I/O functions can't accept a 64-bit value.
      First I will report these and if they seem complicated I'll
      revert to HB_SIZE = HB_ULONG for Win64 in the being.

  * src/compiler/hbgenerr.c
    * Formatting.

  * src/pp/ppcore.c
  * src/vm/strapi.c
  * src/vm/debug.c
  * src/vm/itemapi.c
  * src/vm/cmdarg.c
  * src/vm/set.c
  * src/debug/dbgentry.c
  * src/common/hbgete.c
  * src/common/hbstr.c
  * src/common/strwild.c
  * src/nortl/nortl.c
  * src/rtl/lennum.c
  * src/rtl/strmatch.c
  * src/rtl/gtstd/gtstd.c
  * src/rtl/hbstrfmt.c
  * src/rtl/transfrm.c
  * src/rtl/gtcgi/gtcgi.c
  * src/rtl/direct.c
  * src/rtl/filesys.c
  * src/rtl/console.c
  * src/rtl/hbgtcore.c
  * src/rtl/cdpapi.c
  * src/rtl/mlcfunc.c
  * src/rtl/itemseri.c
  * src/rtl/gtpca/gtpca.c
  * src/rtl/trace.c
  * src/rtl/samples.c
  * src/rtl/gete.c
  * src/rdd/workarea.c
  * src/rdd/hsx/hsx.c
  * src/rdd/hbsix/sxsem.c
  * src/rdd/hbsix/sxfname.c
  * contrib/hbct/tab.c
  * contrib/xhb/dbf2txt.c
  * contrib/xhb/datesxhb.c
  * contrib/xhb/dbgfxc.c
  * contrib/hbmzip/hbmzip.c
  * contrib/hbnf/fttext.c
  * contrib/hbnetio/netiocli.c
  * contrib/hbpgsql/postgres.c
  * contrib/hbclipsm/num.c
  * contrib/rddads/ads1.c
  * contrib/sddsqlt3/sddsqlt3.c
  * contrib/hbfimage/fi_wrp.c
  * contrib/sddodbc/sddodbc.c
  * contrib/sddoci/sddoci.c
  * contrib/hbwin/win_svc.c
  * contrib/hbwin/win_prn2.c
    * '( HB_SIZE ) strlen(' -> 'strlen('
2010-06-18 10:03:44 +00:00
Viktor Szakats
b50ea8e77e 2010-06-16 21:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/extend.api
  * include/hbapi.h
    + Disabled IS*() macros when HB_LEGACY_TYPES_OFF is defined
      (default when building Harbour)

  * src/pp/pplib.c
  * src/rtl/hbregex.c
  * src/rtl/dateshb.c
  * contrib/xhb/xhbfunc.c
  * contrib/rddads/rddads.h
    ! Fixed IS*() -> HB_IS*()

  * src/rtl/hbregex.c
  * contrib/hbmysql/mysql.c
  * contrib/xhb/xhbsave.c
  * contrib/hbmzip/hbmzip.c
  * contrib/hbfbird/firebird.c
  * contrib/hbnetio/netiosrv.c
  * contrib/rddads/rddads.h
  * contrib/rddads/adsmgmnt.c
  * contrib/rddads/adsfunc.c
  * contrib/hbmisc/hb_f.c
  * contrib/hbmisc/ffind.c
  * contrib/hbwin/win_com.c
  * contrib/hbwin/wapi_shellapi.c
  * contrib/hbssl/bio.c
  * contrib/hbssl/hbssl.c
  * contrib/hbssl/sslctx.c
    % Optimized to use hb_parn*def() calls instead of inline-if expression
      (where default value is constant or simple variable).

  * INSTALL
    + valgrind is available for darwin-amd64 (in 1.6 devel tree, yet).
2010-06-16 19:10:22 +00:00
Viktor Szakats
b88202cabe 2010-06-15 18:43 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * config/global.mk
  * config/detfun.mk
  * config/detect.mk
  * external/sqlite3/Makefile
  * external/png/Makefile
  * external/jpeg/Makefile
  * external/bzip2/Makefile
  * external/libhpdf/Makefile
  * contrib/hbsqlit3/Makefile
  * contrib/hbmzip/Makefile
  * contrib/hbbz2/Makefile
  * contrib/hbhpdf/Makefile
  * contrib/sddsqlt3/Makefile
  * contrib/hbwin/Makefile
    + Added HB_ROOT variable which can be used to specify Harbour
      source tree root as an absolute directory, when using
      older than 3.81 GNU Make version (f.e. on QNX).
    + Changed the way locally hosted source directories are
      specified for detection function, in order to support
      HB_ROOT functionality.
2010-06-15 16:44:38 +00:00
Przemyslaw Czerpak
73a06f6c8f 2010-06-15 12:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbdefs.h
  * harbour/include/hbvmpub.h
  * harbour/src/common/expropt1.c
  * harbour/src/common/expropt2.c
  * harbour/src/common/hbstr.c
  * harbour/src/compiler/gencc.c
  * harbour/src/vm/hvm.c
  * harbour/src/vm/itemapi.c
  * harbour/src/vm/task.c
  * harbour/src/rtl/abs.c
  * harbour/src/rtl/hbdyn.c
  * harbour/src/rdd/dbsql.c
  * harbour/contrib/hbwin/olecore.c
  * harbour/contrib/sddoci/sddoci.c
  * harbour/contrib/sddsqlt3/sddsqlt3.c
    * renamed HB_LONG_{MIN,MAX} to HB_VMLONG_{MIN,MAX} and
      HB_INT_{MIN,MAX} to HB_VMINT_{MIN,MAX} to not confuse users
      after renaming HB_LONG to HB_MAXINT and LONG to HB_LONG.
      They could expect that HB_LONG_{MIN,MAX} are for HB_LONG type.
2010-06-15 10:00:45 +00:00
Xavi
a5469097e7 2010-06-08 14:08 UTC+0200 Xavi (jarabal/at/gmail.com)
* contrib/gtwvg/gtwvg.h
  * contrib/gtwvg/wvggui.h
  * contrib/hbwin/win_shell.c
    ! Fixed MinGW-w64 cross compiler detection with the recommended "official" method.
      MinGW-w64 can also compile for x86, in this case are the same built-in macros.
2010-06-08 12:10:53 +00:00
Xavi
fbbfd76c41 2010-06-05 17:45 UTC+0200 Xavi (jarabal/at/gmail.com)
* contrib/hbwin/win_shell.c
    + Added protection to typedef SHNAMEMAPPING, LPSHNAMEMAPPING for MINGW64.
      MinGW-W64 provides these definitions and cause error when building hbwin.
2010-06-05 15:47:53 +00:00
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
85ede0ab14 2010-05-31 13:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/hbwin/tests/oletst2.vbs
  + contrib/hbwin/tests/oletst2.js
    + Added vbscript and jscript test code.

  * contrib/hbwin/tests/oletst3.bas
    ! Fixed SVN props.
2010-05-31 11:25:39 +00:00
Przemyslaw Czerpak
668034cc39 2010-05-31 10:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/maindllp/dllpcode.c
  * harbour/src/vm/procaddr.c
  * harbour/src/common/funcid.c
  * harbour/src/rtl/hbinetz.c
  * harbour/src/rtl/hbcom.c
  * harbour/include/hbapicom.h
  * harbour/contrib/hbct/ctcom1.c
  * harbour/contrib/hbct/ctcom.ch
  * harbour/contrib/hbct/ctcom2.c
  * harbour/contrib/xhb/xhbhasha.c
  * harbour/contrib/xhb/xhw32prn.prg
  * harbour/contrib/hbqt/qtgui/HBQTextBlockUserData.cpp
  * harbour/contrib/hbqt/qtgui/QStackedWidget.cpp
  * harbour/contrib/hbqt/qtgui/QTextList.cpp
  * harbour/contrib/hbqt/qtgui/THBQSyntaxHighlighter.prg
  * harbour/contrib/hbqt/qtgui/THBQPlainTextEdit.prg
  * harbour/contrib/hbqt/qtgui/HBQSyntaxHighlighter.cpp
  * harbour/contrib/hbqt/qtgui/HBQPlainTextEdit.cpp
  * harbour/contrib/hbqt/qtgui/TQPlainTextDocumentLayout.prg
  * harbour/contrib/hbqt/qtgui/TQTextList.prg
  * harbour/contrib/hbqt/qtgui/THBQTableView.prg
  * harbour/contrib/hbqt/qtgui/QPlainTextDocumentLayout.cpp
  * harbour/contrib/hbqt/qtgui/TQPaintEngine.prg
  * harbour/contrib/hbqt/qtgui/HBQTableView.cpp
  * harbour/contrib/hbqt/qtgui/QPaintEngine.cpp
  * harbour/contrib/hbqt/qtgui/TQStackedWidget.prg
  * harbour/contrib/hbqt/qtgui/filelist.mk
  * harbour/contrib/hbqt/qtgui/HBQMainWindow.cpp
  * harbour/contrib/hbqt/qtgui/TQMdiArea.prg
  * harbour/contrib/hbqt/qtgui/QMdiSubWindow.cpp
  * harbour/contrib/hbqt/qtgui/QMdiArea.cpp
  * harbour/contrib/hbqt/qtgui/THBQMainWindow.prg
  * harbour/contrib/hbqt/qtgui/TQMdiSubWindow.prg
  * harbour/contrib/hbqt/qtgui/THBQTextBlockUserData.prg
  * harbour/contrib/hbqt/qtcore/HBSlots.cpp
  * harbour/contrib/hbqt/qtcore/THBEvents.prg
  * harbour/contrib/hbqt/qtcore/THBDbfModel.prg
  * harbour/contrib/hbqt/qtcore/TQBuffer.prg
  * harbour/contrib/hbqt/qtcore/THBSlots.prg
  * harbour/contrib/hbqt/qtcore/HBEvents.cpp
  * harbour/contrib/hbqt/qtcore/HBDbfModel.cpp
  * harbour/contrib/hbqt/qtcore/QBuffer.cpp
  * harbour/contrib/hbqt/doc/en/class_qtabbar.txt
  * harbour/contrib/hbqt/doc/en/class_qfontdatabase.txt
  * harbour/contrib/hbqt/doc/en/class_qstyleoptionmenuitem.txt
  * harbour/contrib/hbqt/doc/en/class_qapplication.txt
  * harbour/contrib/hbqt/doc/en/class_qmatrix.txt
  * harbour/contrib/hbqt/doc/en/class_qabstractslider.txt
  * harbour/contrib/hbqt/doc/en/class_qtextdecoder.txt
  * harbour/contrib/hbqt/doc/en/class_qlcdnumber.txt
  * harbour/contrib/hbqt/doc/en/class_qtextoption.txt
  * harbour/contrib/hbqt/doc/en/class_qcolor.txt
  * harbour/contrib/hbqt/doc/en/class_qtextlist.txt
  * harbour/contrib/hbqt/doc/en/class_qtextboundaryfinder.txt
  * harbour/contrib/hbqt/doc/en/class_qstyleoptioncombobox.txt
  * harbour/contrib/hbqt/doc/en/class_qslider.txt
  * harbour/contrib/hbqt/doc/en/class_qitemselectionmodel.txt
  * harbour/contrib/hbqt/doc/en/class_qconicalgradient.txt
  * harbour/contrib/hbqt/doc/en/class_qcompleter.txt
  * harbour/contrib/hbqt/doc/en/class_qstyleoptionspinbox.txt
  * harbour/contrib/hbqt/doc/en/class_qstyleoptionslider.txt
  * harbour/contrib/hbqt/doc/en/class_qwizardpage.txt
  * harbour/contrib/hbqt/doc/en/class_qpixmap.txt
  * harbour/contrib/hbqt/doc/en/class_qwebsettings.txt
  * harbour/contrib/hbqt/doc/en/class_qstyleoptionprogressbar.txt
  * harbour/contrib/hbqt/doc/en/class_qinputcontext.txt
  * harbour/contrib/hbqt/doc/en/class_qplaintextdocumentlayout.txt
  * harbour/contrib/hbqt/doc/en/class_qdial.txt
  * harbour/contrib/hbqt/doc/en/class_qeventloop.txt
  * harbour/contrib/hbqt/doc/en/class_qpagesetupdialog.txt
  * harbour/contrib/hbqt/doc/en/class_qstyleditemdelegate.txt
  * harbour/contrib/hbqt/doc/en/class_qinputdialog.txt
  * harbour/contrib/hbqt/doc/en/class_qkeysequence.txt
  * harbour/contrib/hbqt/doc/en/class_qtableview.txt
  * harbour/contrib/hbqt/doc/en/class_qregion.txt
  * harbour/contrib/hbqt/doc/en/class_qmenubar.txt
  * harbour/contrib/hbqt/doc/en/class_qactiongroup.txt
  * harbour/contrib/hbqt/doc/en/class_qtextcharformat.txt
  * harbour/contrib/hbqt/doc/en/class_qmessagebox.txt
  * harbour/contrib/hbqt/doc/en/class_qtime.txt
  * harbour/contrib/hbqt/doc/en/class_qthread.txt
  * harbour/contrib/hbqt/doc/en/class_qtextinlineobject.txt
  * harbour/contrib/hbqt/doc/en/class_qtransform.txt
  * harbour/contrib/hbqt/doc/en/class_qpushbutton.txt
  * harbour/contrib/hbqt/doc/en/class_qcontextmenuevent.txt
  * harbour/contrib/hbqt/doc/en/class_qsessionmanager.txt
  * harbour/contrib/hbqt/doc/en/class_qtimer.txt
  * harbour/contrib/hbqt/doc/en/class_qtextcodec.txt
  * harbour/contrib/hbqt/doc/en/class_qprintengine.txt
  * harbour/contrib/hbqt/doc/en/class_qpen.txt
  * harbour/contrib/hbqt/doc/en/class_qstyleoptiontoolbutton.txt
  * harbour/contrib/hbqt/doc/en/class_qprogressdialog.txt
  * harbour/contrib/hbqt/doc/en/class_qkeyevent.txt
  * harbour/contrib/hbqt/doc/en/class_qtextformat.txt
  * harbour/contrib/hbqt/doc/en/class_qpalette.txt
  * harbour/contrib/hbqt/doc/en/class_qpainter.txt
  * harbour/contrib/hbqt/doc/en/class_qnetworkrequest.txt
  * harbour/contrib/hbqt/doc/en/class_qstyleoptionframe.txt
  * harbour/contrib/hbqt/doc/en/class_hbdbfmodel.txt
  * harbour/contrib/hbqt/doc/en/class_qstyleoptionfocusrect.txt
  * harbour/contrib/hbqt/doc/en/class_qaction.txt
  * harbour/contrib/hbqt/doc/en/class_qfontinfo.txt
  * harbour/contrib/hbqt/doc/en/class_qimage.txt
  * harbour/contrib/hbqt/doc/en/class_qstylepainter.txt
  * harbour/contrib/hbqt/doc/en/class_qwidget.txt
  * harbour/contrib/hbqt/doc/en/class_qabstractproxymodel.txt
  * harbour/contrib/hbqt/doc/en/class_qbuttongroup.txt
  * harbour/contrib/hbqt/doc/en/class_qtranslator.txt
  * harbour/contrib/hbqt/doc/en/class_qspaceritem.txt
  * harbour/contrib/hbqt/doc/en/class_qsystemtrayicon.txt
  * harbour/contrib/hbqt/doc/en/class_qpolygonf.txt
  * harbour/contrib/hbqt/doc/en/class_qcolordialog.txt
  * harbour/contrib/hbqt/doc/en/class_qlistwidgetitem.txt
  * harbour/contrib/hbqt/doc/en/class_qfiledialog.txt
  * harbour/contrib/hbqt/doc/en/class_qclipboard.txt
  * harbour/contrib/hbqt/doc/en/class_qfontcombobox.txt
  * harbour/contrib/hbqt/doc/en/class_qtextstream.txt
  * harbour/contrib/hbqt/doc/en/class_qstyleoptiontoolbox.txt
  * harbour/contrib/hbqt/doc/en/class_qstyleoptiontabbarbase.txt
  * harbour/contrib/hbqt/doc/en/class_qformlayout.txt
  * harbour/contrib/hbqt/doc/en/class_qmdiarea.txt
  * harbour/contrib/hbqt/doc/en/class_qlist.txt
  * harbour/contrib/hbqt/doc/en/class_qdate.txt
  * harbour/contrib/hbqt/doc/en/class_qcursor.txt
  * harbour/contrib/hbqt/doc/en/class_qlayout.txt
  * harbour/contrib/hbqt/doc/en/class_qsignalmapper.txt
  * harbour/contrib/hbqt/doc/en/class_qtextdocument.txt
  * harbour/contrib/hbqt/doc/en/class_qtextbrowser.txt
  * harbour/contrib/hbqt/doc/en/class_qmodelindex.txt
  * harbour/contrib/hbqt/doc/en/class_qtablewidget.txt
  * harbour/contrib/hbqt/doc/en/class_qpointf.txt
  * harbour/contrib/hbqt/doc/en/class_qpaintengine.txt
  * harbour/contrib/hbqt/doc/en/class_qbytearray.txt
  * harbour/contrib/hbqt/doc/en/class_qrectf.txt
  * harbour/contrib/hbqt/doc/en/class_qfontmetricsf.txt
  * harbour/contrib/hbqt/doc/en/class_quiloader.txt
  * harbour/contrib/hbqt/doc/en/class_qfont.txt
  * harbour/contrib/hbqt/doc/en/class_qtextdocumentfragment.txt
  * harbour/contrib/hbqt/doc/en/class_qtextframeformat.txt
  * harbour/contrib/hbqt/doc/en/class_qtextblockformat.txt
  * harbour/contrib/hbqt/doc/en/class_qabstractscrollarea.txt
  * harbour/contrib/hbqt/doc/en/class_qstyleoptiontoolbar.txt
  * harbour/contrib/hbqt/doc/en/class_qcoreapplication.txt
  * harbour/contrib/hbqt/doc/en/class_qimagewriter.txt
  * harbour/contrib/hbqt/doc/en/class_qscrollarea.txt
  * harbour/contrib/hbqt/doc/en/class_qpaintdevice.txt
  * harbour/contrib/hbqt/doc/en/class_qlayoutitem.txt
  * harbour/contrib/hbqt/doc/en/class_qrect.txt
  * harbour/contrib/hbqt/doc/en/class_qfontmetrics.txt
  * harbour/contrib/hbqt/doc/en/class_qabstractitemmodel.txt
  * harbour/contrib/hbqt/doc/en/class_qdragmoveevent.txt
  * harbour/contrib/hbqt/doc/en/class_qtextfragment.txt
  * harbour/contrib/hbqt/doc/en/class_qbuffer.txt
  * harbour/contrib/hbqt/doc/en/class_qwebpage.txt
  * harbour/contrib/hbqt/doc/en/class_qprintdialog.txt
  * harbour/contrib/hbqt/doc/en/class_qbitmap.txt
  * harbour/contrib/hbqt/doc/en/class_qdoublespinbox.txt
  * harbour/contrib/hbqt/doc/en/class_qspinbox.txt
  * harbour/contrib/hbqt/doc/en/class_qlatin1char.txt
  * harbour/contrib/hbqt/doc/en/class_qhttpheader.txt
  * harbour/contrib/hbqt/doc/en/class_qvariant.txt
  * harbour/contrib/hbqt/doc/en/class_qitemselection.txt
  * harbour/contrib/hbqt/doc/en/class_qsyntaxhighlighter.txt
  * harbour/contrib/hbqt/doc/en/class_qimagereader.txt
  * harbour/contrib/hbqt/doc/en/class_qobject.txt
  * harbour/contrib/hbqt/doc/en/class_qwebhistoryitem.txt
  * harbour/contrib/hbqt/doc/en/class_qtreewidgetitem.txt
  * harbour/contrib/hbqt/doc/en/class_qgridlayout.txt
  * harbour/contrib/hbqt/doc/en/class_qvalidator.txt
  * harbour/contrib/hbqt/doc/en/class_qtextlength.txt
  * harbour/contrib/hbqt/doc/en/class_qiodevice.txt
  * harbour/contrib/hbqt/doc/en/class_qlinef.txt
  * harbour/contrib/hbqt/doc/en/class_qstyleoptiondockwidget.txt
  * harbour/contrib/hbqt/doc/en/class_qhttprequestheader.txt
  * harbour/contrib/hbqt/doc/en/class_qresizeevent.txt
  * harbour/contrib/hbqt/doc/en/class_qgroupbox.txt
  * harbour/contrib/hbqt/doc/en/class_qpicture.txt
  * harbour/contrib/hbqt/doc/en/class_qpaintevent.txt
  * harbour/contrib/hbqt/doc/en/class_qstyleoptiontab.txt
  * harbour/contrib/hbqt/doc/en/class_qsizef.txt
  * harbour/contrib/hbqt/doc/en/class_qstackedwidget.txt
  * harbour/contrib/hbqt/doc/en/class_qwebpluginfactory.txt
  * harbour/contrib/hbqt/doc/en/class_qdatastream.txt
  * harbour/contrib/hbqt/doc/en/class_qfontdialog.txt
  * harbour/contrib/hbqt/doc/en/class_qstylefactory.txt
  * harbour/contrib/hbqt/doc/en/class_hbqplaintextedit.txt
  * harbour/contrib/hbqt/doc/en/class_qmouseevent.txt
  * harbour/contrib/hbqt/doc/en/class_qdatetime.txt
  * harbour/contrib/hbqt/doc/en/class_hbqtextblockuserdata.txt
  * harbour/contrib/hbqt/doc/en/class_qwheelevent.txt
  * harbour/contrib/hbqt/doc/en/class_qabstractitemdelegate.txt
  * harbour/contrib/hbqt/doc/en/class_qfocusevent.txt
  * harbour/contrib/hbqt/doc/en/class_qwidgetaction.txt
  * harbour/contrib/hbqt/doc/en/class_qstringlistmodel.txt
  * harbour/contrib/hbqt/doc/en/class_qtoolbox.txt
  * harbour/contrib/hbqt/doc/en/class_qcheckbox.txt
  * harbour/contrib/hbqt/doc/en/class_qwebframe.txt
  * harbour/contrib/hbqt/doc/en/class_qsound.txt
  * harbour/contrib/hbqt/doc/en/class_qstyleoption.txt
  * harbour/contrib/hbqt/doc/en/class_qpoint.txt
  * harbour/contrib/hbqt/doc/en/class_qftp.txt
  * harbour/contrib/hbqt/doc/en/class_qerrormessage.txt
  * harbour/contrib/hbqt/doc/en/class_qdirmodel.txt
  * harbour/contrib/hbqt/doc/en/class_qsettings.txt
  * harbour/contrib/hbqt/doc/en/class_qabstractprintdialog.txt
  * harbour/contrib/hbqt/doc/en/class_qurl.txt
  * harbour/contrib/hbqt/doc/en/class_qstringlist.txt
  * harbour/contrib/hbqt/doc/en/class_qdatetimeedit.txt
  * harbour/contrib/hbqt/doc/en/class_qstyleoptionviewitem.txt
  * harbour/contrib/hbqt/doc/en/class_qfileiconprovider.txt
  * harbour/contrib/hbqt/doc/en/class_qfilesystemmodel.txt
  * harbour/contrib/hbqt/doc/en/class_qabstractspinbox.txt
  * harbour/contrib/hbqt/doc/en/class_qmoveevent.txt
  * harbour/contrib/hbqt/doc/en/class_qtoolbutton.txt
  * harbour/contrib/hbqt/doc/en/class_qfile.txt
  * harbour/contrib/hbqt/doc/en/class_qlistwidget.txt
  * harbour/contrib/hbqt/doc/en/class_qmovie.txt
  * harbour/contrib/hbqt/doc/en/class_qstyleoptiontitlebar.txt
  * harbour/contrib/hbqt/doc/en/class_qevent.txt
  * harbour/contrib/hbqt/doc/en/class_qtextlayout.txt
  * harbour/contrib/hbqt/doc/en/class_qtextcursor.txt
  * harbour/contrib/hbqt/doc/en/class_qpolygon.txt
  * harbour/contrib/hbqt/doc/en/class_qtreeview.txt
  * harbour/contrib/hbqt/doc/en/class_qtextline.txt
  * harbour/contrib/hbqt/doc/en/class_qwizard.txt
  * harbour/contrib/hbqt/doc/en/class_qtoolbar.txt
  * harbour/contrib/hbqt/doc/en/class_qtextitem.txt
  * harbour/contrib/hbqt/doc/en/class_qabstracttextdocumentlayout.txt
  * harbour/contrib/hbqt/doc/en/class_qsplitter.txt
  * harbour/contrib/hbqt/doc/en/class_qwebsecurityorigin.txt
  * harbour/contrib/hbqt/doc/en/class_qstandarditem.txt
  * harbour/contrib/hbqt/doc/en/class_hbqsyntaxhighlighter.txt
  * harbour/contrib/hbqt/doc/en/class_qlatin1string.txt
  * harbour/contrib/hbqt/doc/en/class_qheaderview.txt
  * harbour/contrib/hbqt/doc/en/class_qtextencoder.txt
  * harbour/contrib/hbqt/doc/en/class_qsplashscreen.txt
  * harbour/contrib/hbqt/doc/en/class_qsizepolicy.txt
  * harbour/contrib/hbqt/doc/en/class_qfocusframe.txt
  * harbour/contrib/hbqt/doc/en/class_hbslots.txt
  * harbour/contrib/hbqt/doc/en/class_hbevents.txt
  * harbour/contrib/hbqt/doc/en/class_qlineedit.txt
  * harbour/contrib/hbqt/doc/en/class_qlocale.txt
  * harbour/contrib/hbqt/doc/en/class_qtextimageformat.txt
  * harbour/contrib/hbqt/doc/en/class_qstandarditemmodel.txt
  * harbour/contrib/hbqt/doc/en/class_qstyleoptionsizegrip.txt
  * harbour/contrib/hbqt/doc/en/class_qdropevent.txt
  * harbour/contrib/hbqt/doc/en/class_qcombobox.txt
  * harbour/contrib/hbqt/doc/en/class_qsize.txt
  * harbour/contrib/hbqt/doc/en/class_qchar.txt
  * harbour/contrib/hbqt/doc/en/class_qtablewidgetselectionrange.txt
  * harbour/contrib/hbqt/doc/en/class_qplaintextedit.txt
  * harbour/contrib/hbqt/doc/en/class_qstyleoptiongroupbox.txt
  * harbour/contrib/hbqt/doc/en/class_qtextdocumentwriter.txt
  * harbour/contrib/hbqt/doc/en/class_qabstractlistmodel.txt
  * harbour/contrib/hbqt/doc/en/class_qprinter.txt
  * harbour/contrib/hbqt/doc/en/class_qframe.txt
  * harbour/contrib/hbqt/doc/en/class_qfileinfo.txt
  * harbour/contrib/hbqt/doc/en/class_qgradient.txt
  * harbour/contrib/hbqt/doc/en/class_qstyleoptiontabwidgetframe.txt
  * harbour/contrib/hbqt/doc/en/class_qinputevent.txt
  * harbour/contrib/hbqt/doc/en/class_qstyleoptionheader.txt
  * harbour/contrib/hbqt/doc/en/class_qwidgetitem.txt
  * harbour/contrib/hbqt/doc/en/class_qtexttableformat.txt
  * harbour/contrib/hbqt/doc/en/class_qradialgradient.txt
  * harbour/contrib/hbqt/doc/en/class_qtextobject.txt
  * harbour/contrib/hbqt/doc/en/class_qmdisubwindow.txt
  * harbour/contrib/hbqt/doc/en/class_qabstractitemview.txt
  * harbour/contrib/hbqt/doc/en/class_qboxlayout.txt
  * harbour/contrib/hbqt/doc/en/class_qresource.txt
  * harbour/contrib/hbqt/doc/en/class_qlineargradient.txt
  * harbour/contrib/hbqt/doc/en/class_qtextlistformat.txt
  * harbour/contrib/hbqt/doc/en/class_qwebhistory.txt
  * harbour/contrib/hbqt/doc/en/class_qtextframe.txt
  * harbour/contrib/hbqt/doc/en/class_qtextblock.txt
  * harbour/contrib/hbqt/doc/en/class_qinputmethodevent.txt
  * harbour/contrib/hbqt/doc/en/class_qtreewidget.txt
  * harbour/contrib/hbqt/doc/en/class_qmenu.txt
  * harbour/contrib/hbqt/doc/en/class_qstatusbar.txt
  * harbour/contrib/hbqt/doc/en/class_qtabwidget.txt
  * harbour/contrib/hbqt/doc/en/class_qtablewidgetitem.txt
  * harbour/contrib/hbqt/doc/en/class_qdesktopwidget.txt
  * harbour/contrib/hbqt/doc/en/class_qprintpreviewdialog.txt
  * harbour/contrib/hbqt/doc/en/class_qdir.txt
  * harbour/contrib/hbqt/doc/en/class_qpainterpath.txt
  * harbour/contrib/hbqt/doc/en/class_qwebhittestresult.txt
  * harbour/contrib/hbqt/doc/en/class_qline.txt
  * harbour/contrib/hbqt/doc/en/class_qicon.txt
  * harbour/contrib/hbqt/doc/en/class_qprogressbar.txt
  * harbour/contrib/hbqt/doc/en/class_qtextedit.txt
  * harbour/contrib/hbqt/doc/en/class_qregexp.txt
  * harbour/contrib/hbqt/doc/en/class_qhelpevent.txt
  * harbour/contrib/hbqt/doc/en/class_qabstracttablemodel.txt
  * harbour/contrib/hbqt/doc/en/class_qdialog.txt
  * harbour/contrib/hbqt/doc/en/class_qabstractbutton.txt
  * harbour/contrib/hbqt/doc/en/class_qstyle.txt
  * harbour/contrib/hbqt/doc/en/class_qlistview.txt
  * harbour/contrib/hbqt/doc/en/class_qhttpresponseheader.txt
  * harbour/contrib/hbqt/doc/en/class_qwebview.txt
  * harbour/contrib/hbqt/doc/en/class_qmainwindow.txt
  * harbour/contrib/hbqt/doc/en/class_qbitarray.txt
  * harbour/contrib/hbqt/doc/en/class_qcalendarwidget.txt
  * harbour/contrib/hbqt/doc/en/class_qprocess.txt
  * harbour/contrib/hbqt/doc/en/class_qhttp.txt
  * harbour/contrib/hbqt/doc/en/class_qlabel.txt
  * harbour/contrib/hbqt/doc/en/class_qwebhistoryinterface.txt
  * harbour/contrib/hbqt/doc/en/class_qstyleoptioncomplex.txt
  * harbour/contrib/hbqt/doc/en/class_qmimedata.txt
  * harbour/contrib/hbqt/doc/en/class_qbrush.txt
  * harbour/contrib/hbqt/doc/en/class_qdockwidget.txt
  * harbour/contrib/hbqt/doc/en/class_qstyleoptionbutton.txt
  * harbour/contrib/hbqt/doc/en/class_qcommandlinkbutton.txt
  * harbour/contrib/hbqt/THbQtUI.prg
  * harbour/contrib/hbqt/hbqt_hbqplaintextedit.h
  * harbour/contrib/hbqt/hbqscintilla/QsciCommand.cpp
  * harbour/contrib/hbqt/hbqscintilla/QsciDocument.cpp
  * harbour/contrib/hbqt/hbqscintilla/QsciLexer.cpp
  * harbour/contrib/hbqt/hbqscintilla/hbqscintilla.hbp
  * harbour/contrib/hbqt/hbqscintilla/TQsciCommandSet.prg
  * harbour/contrib/hbqt/hbqscintilla/THBQsciScintilla.prg
  * harbour/contrib/hbqt/hbqscintilla/QsciAPIs.cpp
  * harbour/contrib/hbqt/hbqscintilla/QsciLexerFlagship.cpp
  * harbour/contrib/hbqt/hbqscintilla/QsciStyle.cpp
  * harbour/contrib/hbqt/hbqscintilla/TQsciStyledText.prg
  * harbour/contrib/hbqt/hbqscintilla/doc/en/class_qsciapis.txt
  * harbour/contrib/hbqt/hbqscintilla/doc/en/class_qscilexerflagship.txt
  * harbour/contrib/hbqt/hbqscintilla/doc/en/class_qscicommand.txt
  * harbour/contrib/hbqt/hbqscintilla/doc/en/class_qscilexer.txt
  * harbour/contrib/hbqt/hbqscintilla/doc/en/class_qsciabstractapis.txt
  * harbour/contrib/hbqt/hbqscintilla/doc/en/class_qscistyle.txt
  * harbour/contrib/hbqt/hbqscintilla/doc/en/class_qscilexercpp.txt
  * harbour/contrib/hbqt/hbqscintilla/doc/en/class_qsciscintilla.txt
  * harbour/contrib/hbqt/hbqscintilla/doc/en/class_qscistyledtext.txt
  * harbour/contrib/hbqt/hbqscintilla/doc/en/class_qscicommandset.txt
  * harbour/contrib/hbqt/hbqscintilla/TQsciDocument.prg
  * harbour/contrib/hbqt/hbqscintilla/TQsciCommand.prg
  * harbour/contrib/hbqt/hbqscintilla/TQsciLexer.prg
  * harbour/contrib/hbqt/hbqscintilla/hbqt_hbqsciscintilla.h
  * harbour/contrib/hbqt/hbqscintilla/QsciAbstractAPIs.cpp
  * harbour/contrib/hbqt/hbqscintilla/QsciLexerCPP.cpp
  * harbour/contrib/hbqt/hbqscintilla/QsciScintilla.cpp
  * harbour/contrib/hbqt/hbqscintilla/TQsciAPIs.prg
  * harbour/contrib/hbqt/hbqscintilla/TQsciLexerFlagship.prg
  * harbour/contrib/hbqt/hbqscintilla/TQsciStyle.prg
  * harbour/contrib/hbqt/hbqscintilla/QsciCommandSet.cpp
  * harbour/contrib/hbqt/hbqscintilla/hbqt_garbage.h
  * harbour/contrib/hbqt/hbqscintilla/HBQsciScintilla.cpp
  * harbour/contrib/hbqt/hbqscintilla/hbqt_local.h
  * harbour/contrib/hbqt/hbqscintilla/hbqscintilla.ch
  * harbour/contrib/hbqt/hbqscintilla/QsciStyledText.cpp
  * harbour/contrib/hbqt/hbqscintilla/hbqt_hbqsciscintilla.cpp
  * harbour/contrib/hbqt/hbqscintilla/TQsciAbstractAPIs.prg
  * harbour/contrib/hbqt/hbqscintilla/TQsciLexerCPP.prg
  * harbour/contrib/hbqt/hbqscintilla/TQsciScintilla.prg
  * harbour/contrib/hbqt/qtnetwork/filelist.mk
  * harbour/contrib/hbqt/hbqt_hbqplaintextedit.cpp
  * harbour/contrib/hbxbp/xbpclipboard.prg
  * harbour/contrib/hbxbp/hbpprocess.prg
  * harbour/contrib/hbxbp/xbpgra.prg
  * harbour/contrib/hbbz2/hbbz2.ch
  * harbour/contrib/hbbz2/hbbz2.c
  * harbour/contrib/hbbz2/Makefile
  * harbour/contrib/hbblink/hbblink.hbc
  * harbour/contrib/hbblink/Makefile
  * harbour/contrib/hbxpp/dmlb.ch
  * harbour/contrib/hbxpp/wafuncx.c
  * harbour/contrib/hbnetio/tests/netiot03.prg
  * harbour/contrib/hbnetio/readme.txt
  * harbour/contrib/gtwvg/tests/wvgtbrowser.prg
  * harbour/contrib/gtwvg/tests/wvgcuigdialog.prg
  * harbour/contrib/gtwvg/tests/wvgutilities.prg
  * harbour/contrib/gtwvg/tests/wvgqt.prg
  * harbour/contrib/gtwvg/tests/wvgxbp.prg
  * harbour/contrib/gtwvg/tests/wvgmodal.prg
  * harbour/contrib/gtwvg/tests/wvgdyndialogs.prg
  * harbour/contrib/gtwvg/tests/wvgwvtclasses.prg
  * harbour/contrib/gtwvg/tests/wvgactivex.prg
  * harbour/contrib/sddsqlt3/tests/test1.prg
  * harbour/contrib/hbwin/tests/oletst1.prg
  * harbour/contrib/hbwin/tests/oletst2.prg
  * harbour/contrib/hbwin/tests/oletst3.prg
  * harbour/contrib/hbwin/tests/oletst4.prg
  * harbour/contrib/hbwin/tests/olesrv4.hbp
  * harbour/contrib/hbwin/tests/olesrv1.prg
  * harbour/contrib/hbwin/tests/olesrv2.prg
  * harbour/contrib/hbwin/tests/olesrv3.prg
  * harbour/contrib/hbwin/tests/olesrv4.prg
  * harbour/contrib/hbwin/tests/oletst4.hbp
  * harbour/contrib/hbwin/win_shell.c
  * harbour/contrib/hbwin/hbolesrv.c
  * harbour/contrib/hbide/ideharbourhelp.prg
  * harbour/contrib/hbide/ideplugins.prg
  * harbour/contrib/hbide/ideedit.prg
  * harbour/contrib/hbide/idewizard.prg
  * harbour/contrib/hbide/ideskeletons.prg
  * harbour/contrib/hbide/idefunctions.prg
  * harbour/contrib/hbide/plugins/savebackup.prg
  * harbour/contrib/hbide/ideenviron.prg
  * harbour/contrib/hbide/idehome.prg
  * harbour/contrib/hbide/ideshortcuts.prg
  * harbour/contrib/hbide/idetools.prg
  * harbour/contrib/hbide/idedocwriter.prg
  * harbour/contrib/hbsms/tests/send.prg
  * harbour/contrib/hbsms/tests/hbmk.hbm
  * harbour/contrib/hbsms/hbsms.prg
  * harbour/contrib/hbsms/hbsms.hbc
  * harbour/contrib/hbsms/Makefile
  * harbour/config/linux/open64.mk
    ! added missing SVN keywords and/or eol-style attributes
    ! converted some hard coded LFCR to native EOLs
2010-05-31 08:26:06 +00:00
Przemyslaw Czerpak
05db043943 2010-05-29 10:29 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/olecore.c
    ! fixed old bug in passing parameters by reference to OLE objects
      (they were cleared in reverted order so half of the complex variants
      were cleared before coping to HVM items)

  + harbour/contrib/hbwin/tests/oletst4.prg
  + harbour/contrib/hbwin/tests/olesrv4.hbp
  + harbour/contrib/hbwin/tests/olesrv4.prg
  + harbour/contrib/hbwin/tests/oletst4.hbp
    + added  example of OLE server returning to client HVM objects as
      OLE object and also some other values using parameters passed by
      reference with client code.
      Remember about registering the server by 'regsvr32 olesrv2.dll'
      before testing the client code.
2010-05-29 08:30:15 +00:00
Viktor Szakats
f17f4e7d66 2010-05-29 04:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed silly variable initialization bug after last commit.

  * contrib/hbwin/wapi_shellapi.c
    ! Fixed WAPI_SHELLEXECUTE() having HB_PARSTRDEF() one 
      position off.

  * examples/rddado/tests/access1.prg
    * Minor update. Still doesn't work.
2010-05-29 02:28:37 +00:00
Viktor Szakats
6d74dd1da0 2010-05-28 17:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/common/hbver.c
    + Fine tuned SunPro version detection.
      Patch submitted by Tamas Tevesz.

  * contrib/hbwin/win_shell.c
  * contrib/hbwin/tests/testcopy.prg
    ! WIN_SHFILEOPERATION() fixed after initial upload.
    + Added more test code.
2010-05-28 15:32:31 +00:00
Viktor Szakats
74ab6485b5 2010-05-28 08:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/hbolesrv.hbc
  * utils/hbmk2/hbmk2.prg
    * Renamed ${hb_filename} macro to ${hb_self}.

  * contrib/hbcomm/hbcomm.prg
    ! Typo in comment.
2010-05-28 06:19:26 +00:00
Viktor Szakats
90d09ead2d 2010-05-28 08:13 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added ${hb_filename} macro.
    + "hbexe", "hblib", "hbdyn", "hbdynvm", "hbimplib" can now
      be used as filter keywords to detect target type.

  * contrib/hbwin/hbolesrv.hbc
    + Will now show warning message if not used together with
      -hbdynvm option.
    + Will will now be ignored if not used together with
      -hbdynvm option.
    ; Tried to add hbolesrv.c as direct source 'sources=hbolesrv.c',
      but it requires this source (+ headers) to be distributed along
      the binaries, plus it didn't resolve the watcom issue, so
      I dropped it.
2010-05-28 06:14:11 +00:00
Viktor Szakats
b84610cd83 2010-05-27 20:23 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmisc/calldll.prg
    + HB_DYNCALL1() will now cut the number of parameters
      according to passed nCount parameter, just to mimic
      exact behavior of original function.

  + contrib/hbmisc/tests/testcall.prg
    + Added test code for CALLDLL32() and HB_DYNCALL1().

  * contrib/hbwin/tests/testcopy.prg
    * Copyright year.
2010-05-27 18:24:19 +00:00
Viktor Szakats
2ab63e0ccf 2010-05-27 19:57 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmisc/Makefile
  + contrib/hbmisc/calldll.prg
    + Added CALLDLL compatibility API interface:
        CALLDLL32(), HB_DYNACALL1(), STRPTR(), PTRSTR(), UNLOADALLDLL().
    ; Lightly tested, it's based on core .dll functions, so it may only
      need easy tweaking. Notice that this API support all platforms,
      not just 32-bit Windows.
      The original library is found in MINIGUI f.e.

  * contrib/hbwin/win_shell.c
    * Minor formatting.
2010-05-27 17:58:50 +00:00
Viktor Szakats
79e3859e34 2010-05-27 19:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/wapi_wingdi.c
  * contrib/hbwin/hbolesrv.c
    ! Fixed for msvcarm.

  * contrib/hbwin/hbwin.ch
  * contrib/hbwin/win_shell.c
  + contrib/hbwin/tests/testcopy.prg
    + Added:
      WIN_SHFileOperation( [<hWnd>], [<nFunction>], [<cFrom>|<aFrom>], [<cTo>|<aTo>],
                           [<nFlags>], [<@lAnyOperationAborted>],
                           [<aNameMappings>], [<cProgressTitle>] ) -> <nResult>
    ; Przemek, if you have some time pls review s_StringList()
      function which I adapted from similar function in win_dlg.c,
      but it might not be perfect. '<s1><\0><s2><\0><\0>' format
      is required by this SHFileOperation() Windows function.
2010-05-27 17:27:23 +00:00
Przemyslaw Czerpak
5867684987 2010-05-27 19:08 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/hbolesrv.c
    % improved the performance and reduced memory usage by using hash
      array with strict assign order for message names to number translation
      in OLE objects accepting any message names
2010-05-27 17:08:44 +00:00
Przemyslaw Czerpak
67251071d1 2010-05-26 22:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/hbwinole.h
  * harbour/contrib/hbwin/olecore.c
    * modified hb_oleVariantUpdate() parameters
    + added automatic conversion of HVM objects to OLE objects for
      for parameters passed by reference to Harbour OLE server methods.

  * harbour/contrib/hbwin/hbolesrv.c
    + added automatic conversion of HVM objects to OLE objects for
      memvars redirected to OLE instance variables.
    ! fixed typo
2010-05-26 20:55:13 +00:00
Viktor Szakats
3477164a0e 2010-05-26 16:32 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbapifs.h
    + Added some more HB_EXPORT flags. Pls check me.

  * contrib/hbwin/hbolesrv.hbc
    + Added reference to hbwin.hbc, so that it can be used 
      standalone accompanied by -hbdynvm option to create 
      OLE servers easily: 'hbmk2 -hbdynvm hbolesrv.hbc ...'

  * contrib/hbwin/hbolesrv-watcom.def
    ! Fixed comments to watcom format.

  * utils/hbmk2/hbmk2.prg
    ! Fixed RTE when parsing certain rarer Windows file types 
      in sources= directive in .hbc files in *nix hbmk2 builds.
      (could only kick in when using hbmk2 under *nix to cross 
      compile for Windows). Thanks Przemek for the report.
    - Deleted doubly added support for .def file parsing in sources=
      directive.
2010-05-26 14:32:41 +00:00
Viktor Szakats
544c2be725 2010-05-26 12:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/hbolesrv-mingw.def
  * contrib/hbwin/hbolesrv.def
  * contrib/hbwin/hbolesrv-watcom.def
    ! Added SVN props.
2010-05-26 10:08:01 +00:00
Przemyslaw Czerpak
66b0a1b53f 2010-05-26 11:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/hbwinole.h
    ! fixed typo in added extern declarations

  * harbour/contrib/hbwin/hbwinole.h
  * harbour/contrib/hbwin/axcore.c
  * harbour/contrib/hbwin/olecore.c
  * harbour/contrib/hbwin/hbolesrv.c
    + added support for automatic conversion of HVM objects returned by
      Harbour OLE server methods to OLE objects.
      Please test. I cannot make any tests now.
    ; TODO: if it works then update this code to create some more general
            version.
2010-05-26 09:20:00 +00:00
Viktor Szakats
c0614c33ad 2010-05-26 11:08 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/hbwinole.h
    + Added missing 'extern' to HB_EXPORT declarations.
2010-05-26 09:10:59 +00:00
Viktor Szakats
06e8ad1f32 2010-05-26 01:54 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/hbolesrv.def
  * contrib/hbwin/hbolesrv-mgw.def
  * contrib/hbwin/hbolesrv-ow.def
    ! Added PRIVATE to DllRegisterServer and DllUnregisterServer.
      (to pacify msvc warning)

  * contrib/hbwin/hbolesrv.hbc
  - contrib/hbwin/hbolesrv-mgw.def
  + contrib/hbwin/hbolesrv-mingw.def
  - contrib/hbwin/hbolesrv-ow.def
  + contrib/hbwin/hbolesrv-watcom.def
    * Renamed to use well-known compiler IDs.
2010-05-25 23:55:13 +00:00
Viktor Szakats
25aa9855a5 2010-05-26 01:43 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbapi.h
    ! Added HB_EXPORT to hb_memvarGet() and hb_memvarSetValue()
      used by new OLE server code in hbwin when created -shared
      OLE server .dlls.

  + contrib/hbwin/hbolesrv.hbc
    + Added .hbc file to help creating OLE servers.

  * contrib/hbwin/tests/olesrv1.hbp
  * contrib/hbwin/tests/olesrv2.hbp
  * contrib/hbwin/tests/olesrv3.hbp
    % Changed to use hbolesrv.hbc.
    - Deleted '-static' option to also allow to build -shared
      OLE servers. (I tested them OK)

  * contrib/hbwin/tests/olesrv2.prg
    + Tweak to allow case-insensitive access of OLE functions.

  * utils/hbmk2/hbmk2.prg
    + Added support for .def files in source= .hbc line.
2010-05-25 23:44:42 +00:00
Viktor Szakats
11ad9802c7 2010-05-26 00:36 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/tests/oletst2.prg
    ! Fixed little typo causing asyncronity with one server msg.
2010-05-25 22:37:11 +00:00
Viktor Szakats
38224e4dac 2010-05-26 00:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/tests/oletst1.hbp
  * contrib/hbwin/tests/olesrv1.hbp
  * contrib/hbwin/tests/oletst2.hbp
  * contrib/hbwin/tests/olesrv2.hbp
  * contrib/hbwin/tests/oletst3.hbp
  * contrib/hbwin/tests/olesrv3.hbp
    * Changed to reference .hbp files instead of libs.
    % Deleted redundant settings already supplied
      by .hbm files. (if the goal is to make them
      current dir independent, we can add a simple
      @hbmk.hbm reference to them)

  * contrib/hbwin/hbolesrv-mgw.def
  * contrib/hbwin/hbolesrv.def
  * contrib/hbwin/hbolesrv-ow.def
    + Added SVN ID as comments.
      (I hope watcom supports it, if not pls tell)
    ; TODO: We should somehow merge these into one .def,
            even if it requires some extra hbmk2 "magic".

  * contrib/hbwin/tests/oletst1.hbp
  * contrib/hbwin/tests/olesrv1.hbp
  * contrib/hbwin/tests/oletst2.hbp
  * contrib/hbwin/tests/olesrv2.hbp
  * contrib/hbwin/tests/oletst3.hbp
  * contrib/hbwin/tests/olesrv3.hbp
  * contrib/hbwin/hbolesrv-mgw.def
  * contrib/hbwin/hbolesrv.def
  * contrib/hbwin/hbolesrv-ow.def
    + Added SVN props.
2010-05-25 22:23:11 +00:00
Przemyslaw Czerpak
77ae9b90ec 2010-05-26 00:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/Makefile
  + harbour/contrib/hbwin/hbolesrv.c
    + added inproc OLE server implementation. It allows to create OLE/ACTIVEX
      COM server in Harbour. Such OLE server allows can be used by programs
      written in any languages supporting OLE automation (also in other
      Harbour applications)
      User ole server code should be linked as DLL which later can be
      register in MS-Windows by regsvr32.exe program, i.e.:
         regsvr32 myolesrv.dll
      The OLE server code should contain DLLMAIN() PRG function which
      is executed just after loading OLE inproc DLL server as server from
      other application and also by regsrv32.exe during registration and
      unregistration procedure. It has to initialize at least OLE server
      ID and name usinf WIN_OleServerInit().
    + added new PRG function which intitialize OLE server:
      WIN_OleServerInit( <cClassID>, <cServerName>, ;
                         [ <hAction> | <oAction> | <bAction> | <sAction> ], ;
                         [ <lHashClone> | <lAcceptAll> ] ) -> <lServerActive>
      <cClassID> is registered OLE server class GUID

      <cServerName> is OLE server class name

      <hAction> is optional parameter with hash array containing messages
      and instance variables used by OLE server. The keys in hash array
      are strings with message names and values are actions. Codeblock
      and symbol items means that given message is a method call and
      any other value means that it's variable.
      By default the same hash array is shared between all objects
      created by registered server. It's important when hash array
      contains values which are neither codeblock nor symbol items
      so they are not used as method but rather as instance variables
      because such instance variables are shared between OLE objects.
      Setting 4-th parameter <lHashClone> to .T. causes that each
      objects receives it's own copy of <hAction> item so instance
      variables inside hash array are also local to OLE object.
      Alternatively programmer can use <bAction> or <sAction> to create
      seprate copy of hash array for each object, i.e.:
         bAction := {|| hb_hClone( hValue ) }
      When hash array contains symbol item (@funcName()) then when it's
      executed by OLE object message it's possible to access the hash
      array bound with given OLE object using QSelf() function. It maybe
      useful if hash array contains instance variables and programmer
      wants to access them.
      Please remember that using hash array which was initialized to keep
      original assign order by HB_HKEEPORDER( <hAction>, .T. ) before
      adding its items you can define strict message numbers (DISPIDs), i.e.:
         hAction := {=>}
         HB_HKEEPORDER( hAction, .T. )
         hAction[ "OPEN" ]  := @myole_open()     // DISPID=1
         hAction[ "CLOSE" ] := @myole_close()    // DISPID=2
         hAction[ "SAVE" ]  := @myole_save()     // DISPID=3
         hAction[ "LOAD" ]  := @myole_load()     // DISPID=4
         hAction[ "PRINT" ] := @myole_print()    // DISPID=5
      (see example in olesrv2.prg)

      <oAction> is optional parameter with Harbour object which is used
      as base for all newly created OLE objects. All messages (method and
      instance variables) supported explicitly by <oAction> object (except
      ONERROR message redirecting) are inherited by OLE objects. Each
      newly created OLE object uses the same <oAction> object so its
      instance variables are shared between all of them. If programmer
      wants to create separate Harbour object for each OLE object then
      he should use <bAction> or <sAction>, i.e.:
            bAction := {|| myClass():new() }

      <bAction> is optional parameter with codeblock executed when new
      OLE object is created. It should return hash array or Harbour object
      which will be used as base for newly created OLE object.

      <sAction> is optional parameter with function symbol. This function
      is executed when new OLE object is created and should return hash
      array or Harbour object which is used as base for newly created
      OLE object.

      If the 3-rd parameter is <oAction>, <bAction> or <sAction> then
      it's possible to also set 4-th parameter <lAcceptAll> to .T. and
      in such case <xAction> parameter is used in different way. Newly
      created OLE object accepts any massage names invoking for each
      of them EVAL() message which is sent to <xAction> with OLE message
      name inserted as the 1-st item to OLE object parameters.
      It allows to create OLE server which will accept unknown messages
      redirecting them to some other code, i.e.:
         if netio_connect( cServer,,, cPasswd )
            WIN_OleServerInit( cClassID, cServerName, @netio_funcExec(), .T. )
         endif
      initialize OLE server which redirects all messages to default netio
      connection establish by netio_connect().

      If 3-rd parameter is not given then all HVM functions becomes
      OLE methods and HVM memvars (public and private variables) are
      OLE object instance variables so they are shared with all OLE
      objects created by this interface. It works just like xHarbour.com
      OLE server described at
      http://xharbour.com/index.asp?page=add_on_oleserver&show_sub=7&show_i=1

    ; TODO: add support for MT RPC servers. Current implementation cannot
            be safely used in MT programs creating OLE objects and executing
            their methods simultaneously in different threads without
            additional user code which will serialize these operations.
    ; TODO: replace message handler API in WIN_AxGetControl()/
            __AxRegisterHandler() which uses only fixed method IDs
            and do not support method names with above one so user
            can easy create activex controls which support message
            names. This modificaiton will force updating user and 3-rd
            party code but IMO should be done. Current interface is
            simply too much limited to keep it.
    ; Possible TODO: add support for user defined fixed message numbers
                     (DISPIDs) which are not continuous small numbers so
                     users cannot easy use hash arrays with strict order.
                     Is such functionality necessary? Can someone with
                     ActiveX experience say sth about it?
                     Above implementation has undocumented feature:
                     it supports hash arrays with keys using numbers only
                     which can be used like in __AxRegisterHandler() but
                     I haven't decided yet I should keep, extend or remove
                     such functionality.

    Please make real life test.
    I do not have any practice with MS-Windows and OLE and most of above
    code I wrote using only documentation so I'm very interesting in real
    test results and user opinions about it. If some important functionality
    is missing then please inform me about it.
    BTW There are some 3-rd party activex implementation for [x]Harbour, i.e.
    xharbour.com or FiveWin ones. Maybe someone familiar with them can create
    PRG compatibility layer for Harbour. I cannot do that myself because I
    do not know that products and their PRG API used in OLE/COM/ActiveX
    implementations but if someone can describe it then I can help in such
    implementation.

  + harbour/contrib/hbwin/hbolesrv.def
  + harbour/contrib/hbwin/hbolesrv-mgw.def
  + harbour/contrib/hbwin/hbolesrv-ow.def
    + added .DEF link files which are necessary to correctly export
      inproc OLE server DLL functions. It's possible that other compilers
      or even different versions of the same compilers may use different
      a little bit different .DEF files. I tested above with BCC5.5,
      MinGW 3.4.5 and OpenWatcom 1.8.

  + harbour/contrib/hbwin/test/olesrv1.prg
  + harbour/contrib/hbwin/test/olesrv1.hbp
  + harbour/contrib/hbwin/test/oletst1.prg
  + harbour/contrib/hbwin/test/oletst1.hbp
    + added example of NETIO-RPC OLE server code with Harbour (PRG) client.
      This server redirects all messages sent to its OLE objects to remote
      HBNETIO server as function calls. It understands the following
      messages:
         CONNECT()    - creates connection to the server, parameters like in
                        NETIO_CONNECT() and NETIO_GETCONNECTION() functions
         DISCONNECT() - closes current connection
         PROCEXISTS() - works like NETIO_PROCEXISTS()
         PROCEXEC()   - works like NETIO_PROCEXEC()
         PROCEXECW()  - works like NETIO_PROCEXECW()
         FUNCEXEC()   - works like NETIO_FUNCEXEC()
      All other messages are redirected directly to RPS server as function
      calls.
      CONNECT() message should be executed by client to create
      connection to the server. Each NETIO-RPC OLE object uses its own
      connection which should be initialized. If CONNECT() is executed
      more then once the current connection is closed.
      DISCONNECT() is executed automatically when OLE object is destroyed
      so it's not necessary to call it explicitly.
      Please use hbmk2 and olesrv1.hbp to compile OLE server. OLE inproc
      servers have to export some DLL entry functions which are defined
      in .def files which have to be passed to linker.
      Before client code can be tested the server has to be registered.
      The server can be registered in given MS-Windows system using
      regsvr32.exe command. To register the server use:
         regsvr32 olesrv1.dll
      and to unregister:
         regsvr32 /u olesrv1.dll

  + harbour/contrib/hbwin/test/olesrv2.prg
  + harbour/contrib/hbwin/test/olesrv2.hbp
  + harbour/contrib/hbwin/test/oletst2.prg
  + harbour/contrib/hbwin/test/oletst2.hbp
    + added very simple example of OLE server using hash array with
      strict item order (associative hash array) to define OLE objects
      with fixed message numbers (DISPIDs)
      Remember about registering the server by 'regsvr32 olesrv2.dll'

  + harbour/contrib/hbwin/test/olesrv3.prg
  + harbour/contrib/hbwin/test/olesrv3.hbp
  + harbour/contrib/hbwin/test/oletst3.prg
  + harbour/contrib/hbwin/test/oletst3.hbp
  + harbour/contrib/hbwin/test/oletst3.bas
    + added example of OLE server code with Harbour (PRG)
      and Visual Basic (BAS) clients.
      This server redirects all messages sent to its OLE objects to HVM
      functions and messages to HVM memver (public and private) variables
      This server should work as xHarbour.com OLE servers described at:
      http://xharbour.com/index.asp?page=add_on_oleserver&show_sub=7&show_i=1
      The server and clients code are nearly the same so users can easy
      compare them.
      Remember about registering the server by 'regsvr32 olesrv2.dll'
2010-05-25 22:04:04 +00:00
Viktor Szakats
0120d2f7e6 2010-05-25 19:57 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/wapi_winuser.c
  * contrib/hbwin/hbwin.ch
    + Added WAPI_MESSAGEBEEP()
    + Added MB_* constants.

  * contrib/hbwin/hbwin.ch
    ! Fixed some comments.

  * contrib/hbwin/win_svc.c
    + strlen() cast.
2010-05-25 17:57:30 +00:00
Viktor Szakats
79ba9da837 2010-05-25 15:01 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/tobject.prg
  * src/rtl/tpersist.prg
  * src/rtl/memoedit.prg
  * src/rtl/teditor.prg
  * contrib/hbmysql/tmysql.prg
  * contrib/hbmysql/tsqlbrw.prg
  * contrib/hbodbc/todbc.prg
  * contrib/hbfbird/tfirebrd.prg
  * contrib/hbpgsql/tpostgre.prg
  * contrib/hbmisc/hbedit.prg
  * contrib/hbtip/smtpcli.prg
  * contrib/hbtip/mail.prg
  * contrib/hbwin/win_reg.prg
  * contrib/hbwin/win_os.prg
  * contrib/hbwin/win_tprn.prg
  * contrib/hbwin/wce_sim.prg
    ! Fixed to check for proper type instead of using
      'DEFAULT ... TO'

  * contrib/hbct/ct.prg
    % EXIT/INIT FUNCTION -> EXIT/INIT PROCEDURE
2010-05-25 13:04:58 +00:00
Przemyslaw Czerpak
91cf12d405 2010-05-25 13:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapi.h
  * harbour/src/vm/hashes.c
  * harbour/src/vm/hashfunc.c
    + added support for keeping strict assign order in hash arrays. It's
      enabled optionally by setting HB_HASH_KEEPORDER hash array flag.
      It gives the same functionality as associative arrays in xHarbour
      (enabled by HSETAACOMPATIBILITY()) but this implementation is
      internally completely different. It does not introduce linear
      scan in add operation so enabling it should not reduce the
      performance in this operation. It can even improve it on some
      hardware reducing number of memory bytes which have to be moved.
      Only delete operation will force linear index scan. The most
      important in this implementation is that it does not need any
      additional functions like HAA*() in xHarbour. Just simply all
      existing functions operating on position indexes like HB_HPOS(),
      HB_HKEYAT(), HB_HVALUEAT(), HB_HPAIRAT(), HB_HDELAT(), HB_HSCAN()
      use as index natural order in which items were added to hash array.
      Also HB_HKEYS(), HB_HVALUES() and FOR EACH iterations respect it.
    + added new PRG functions
         HB_HKEEPORDER( <hValue> [, <lNewSetting> ] ) -> <lPrevSetting>
         HB_HSETORDER( <hValue> [, <lNewSetting> ] ) -> <hValue>
      which cam be used to enable/disable strict order in hash array.
      Enabling strict order for non empty hash arrays accept the order
      created after sorting existing item not the original assign order.
      Disabling strict order for non empty hash arrays may change the
      items order.
    ; TODO: add translation for xHarbour's HAA*() functions to hbcompat.ch
            and/or xhb library.

  * harbour/contrib/hbnetio/netiocli.c
  * harbour/contrib/hbnetio/netiosrv.c
    % reenabled TCP_NODELAY on client and server side
      I had to be really tired when I was making tests and I mixed
      hb_socketSetNoDelay() with hb_socketSetBlockingIO().
      Thanks to Aleksander Czajczynski who noticed the delay in his
      tests.

  * harbour/contrib/hbwin/olecore.c
    * minor cleanup
2010-05-25 11:20:34 +00:00
Przemyslaw Czerpak
3f4fbb20d7 2010-05-22 13:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/olecore.c
    * minor modification in hb_oleDispInvoke() function
2010-05-22 11:41:38 +00:00
Viktor Szakats
55af9daf4b 2010-05-21 08:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_svc.c
    + WIN_SERVICEINSTALL(): Extended to accept 3rd parameter
      for the full filename of the service executable. This
      makes it possible to install other .exes not just self.
2010-05-21 06:52:49 +00:00
Przemyslaw Czerpak
54b5e1564a 2010-05-20 19:49 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rdd/dbf1.c
    * minor cleanup

  * harbour/include/hbapi.h
    + added new macro HB_IS_EVALITEM() - returns true for items which can
      understand EVAL message i.e. CODEBLOCK and SYMBOL items.

  * harbour/contrib/hbwin/axcore.c
  * harbour/contrib/hbwin/olecore.c
  * harbour/contrib/hbwin/hbwinole.h
    * modified hb_oleDispInvoke() function to accept as additional
      parameter pointer to HVM item instead of pointer to DISPID.
      Such version is more universal.
2010-05-20 17:50:09 +00:00
Przemyslaw Czerpak
7bc8a8c506 2010-05-18 18:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/win_svc.c
    ! fixed compilation with compilers which disable winsvc.h
      if WIN32_LEAN_AND_MEAN is set, i.e. POCC and XCC
2010-05-18 16:54:37 +00:00
Przemyslaw Czerpak
8c8aadfc3b 2010-05-18 02:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbvm.h
  * harbour/src/vm/hvm.c
    + added new C function hb_vmIsActive()

  * harbour/src/rtl/memvarhb.prg
    ! fixed procedure returning value
    ! store only simple variables in HB_MVSAVE() just like __MSAVE()
      Possible extension: add option to store also NIL, arrays, hashes
      and maybe object variables.
    ! restore variables in HB_MVRESTORE() as private ones just like
      __MVRESTORE()

  * harbour/contrib/hbwin/oleinit.c
  * harbour/contrib/hbwin/olecore.c
    * updated to compile and link in WinCE builds. Now code using OLE
      can be linked with MinGWCE builds without any errors but I have
      no idea if it works. Can someone check it?
2010-05-18 00:42:51 +00:00
Viktor Szakats
7bcb7dd307 2010-05-16 19:01 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/postinst.prg
    + Added new experimental envvar:
         HB_BUILD_ADDONS=prj1.hbp prj2.hbp prjn.hbp
      Harbour build process will initiate the build of the passed 
      .hbp files at 'install' phase.
    % Simplification to other hbmk2 invocation commands.

  * contrib/hbwin/win_svc.c
    ! Fixed to set running status only if entry function 
      is valid and able to reenter HVM.
    + Added trace message when entry function cannot be found.
2010-05-16 17:06:07 +00:00
Viktor Szakats
1276155cea 2010-05-16 11:12 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_svc.c
    ! Fixed callback definitions to be the ones required by Windows.
    ! Fixed main service entry callback to use TCHAR rather than simple char.
    + Added support to pass service launch parameters to Harbour entry
      function.

  * contrib/hbwin/tests/testsvc.prg
    + Added code to demonstrate parameter passing feature.
2010-05-16 09:13:16 +00:00
Viktor Szakats
cd2bf669a6 2010-05-16 01:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/tests/testsvc.prg
    ! Minor adjustment.
2010-05-15 23:28:28 +00:00
Viktor Szakats
5f14347dd5 2010-05-16 00:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/Makefile
  - contrib/hbwin/win_srv.c
  + contrib/hbwin/win_svc.c
  - contrib/hbwin/tests/testsrv.prg
  + contrib/hbwin/tests/testsvc.prg
    * Renamed files ('svc' slightly better describes services
      than 'srv' which can be 'server').
2010-05-15 22:58:07 +00:00
Viktor Szakats
d288ba1031 2010-05-16 00:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_srv.c
  * contrib/hbwin/tests/testsrv.prg
    * Cleaned list of header files.
    * Synced static string buffer sizes with allowed maximums
      and appropriate macro.
2010-05-15 22:50:20 +00:00
Viktor Szakats
3c73aae543 2010-05-16 00:38 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_srv.c
    * Renamed more variables.
    * Moved around hb_strfree() calls to fully avoid the possibility
      of freeing string pointers still assigned inside Windows
      structures.
    ! WIN_SERVICESTART() fixed to set last error.

  * contrib/hbwin/tests/testsrv.prg
    ! Fixed to have the default action called
      when started without parameter. Required
      to make it start when started as service.
    + Test service changed to create a file in
      a predictable place (next to .exe) and
      fill that with output. Made sure that file is
      readable by other processes.
    * Cleaned service ID/description.

  ; I've made successful test with current code.
2010-05-15 22:39:41 +00:00
Viktor Szakats
669d479980 2010-05-16 00:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_srv.c
    ! Fixed static variable types and usage.
    ! Fixed wrongly used string types.
    ! Fixed storing temporary pointers to static variables.
      Making a copy of the strings instead.
    % Deleted unnecessary function declarations.
    % Using HB_SIZEOFARRAY() instead of repeating size.
    ! Fixed variable names to reflect type.
    ; These fixed previously found errors.

  * contrib/hbwin/tests/testsrv.prg
    * Replaced ALERT() with '?'.
    ! Fixed to use HB_TR_ALWAYS to avoid Harbour warning.
    % FUNCTION -> PROCEDURE
2010-05-15 22:03:53 +00:00
Viktor Szakats
7b9478df7e 2010-05-15 22:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* doc/howtosvn.txt
    * More clearing up.

  * contrib/hbwin/win_srv.c
    ! Fixed one TOFIX which was result of s&r on my part.
    ; TOFIX remaining:
      ---
      ../../../win_srv.c: In function 'hbwin_SrvFunction':
      ../../../win_srv.c:102:4: warning: passing argument 1 of 'RegisterServiceCtrlHandlerW' from incompatible pointer type
      f:\devl\mingw-450\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winsvc.h:234:40: note: expected 'LPCWSTR' but argument is of type 'char *'
      ../../../win_srv.c: In function 'HB_FUN_WIN_SERVICESTART':
      ../../../win_srv.c:279:21: warning: assignment from incompatible pointer type
      ../../../win_srv.c:280:21: warning: assignment from incompatible pointer type
      ---
2010-05-15 20:21:32 +00:00
Viktor Szakats
b3a0de3416 2010-05-15 21:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* doc/howtosvn.txt
    + Made it more clear that 'Chr(36)' should be replaced by '$'.

  * ChangeLog
    ! Stripped accented char. Pls keep all files in 7-bit mode.

  * contrib/hbwin/hbwin.ch
  * contrib/hbwin/win_srv.c
  * contrib/hbwin/tests/testsrv.prg
    ! Cleanup fixes:
      ! Fixed missing SVN props (pls see howtosvn.txt and my e-mail today about them)
      ! Fixed SVN header
      ! Stripped accented char.
      ! Deleted <windows.h>.
      ! Tabs converted to spaces.
      ! Fixed indentation and formatting.
      % Optimized code to have less redundancy.
      ! Fixed name of static vars.
      % Made callbacks static.
      ! Fixed hbwin.ch constants to have WIN_ prefix.
      ! Fixed references to unknown functions in test code.
      % Test code reworked to have user selectable modes via cmdline parameter.
      ! Fixed to define all functions also in WinCE mode, but
        with dummy functionality.
      ! Fixed memory potential leak in WIN_SERVICEDELETE().
      ! Added some casts.
      % Variables declarations moved to inner scopes.
    ; TOFIX:
        - UNICODE build problem in hbwin_SrvFunction().
        - possible memory corruption in WIN_SERVICESTART()?
        - 'implicit declaration of function 'Sets_ServiceStatus'' in hbwin_SrvFunction().
        ; All the above are shown as mingw warnings.
2010-05-15 19:31:19 +00:00
Jose Luis Capel
b8324adfec 2010-05-15 20:02 UTC+0200 José Luis Capel (jlcapel at hotmail . com)
+ contrib/hbwin/win_srv.c
   + contrib/hbwin/tests/testsrv.prg
   * contrib/hbwin/hbwin.ch
   * contrib/hbwin/Makefile
     + Basical support for running a harbour application as a windows server.  
       See tests/testsrv.prg.
2010-05-15 18:25:31 +00:00
Przemyslaw Czerpak
b5bf98ef0f 2010-05-15 20:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/olecore.c
    ! added protection against possible buffer overflow when more then
      32 parameters is passed by reference from foreign code - thank to
      Mindaugas for locating the problem.
2010-05-15 18:02:33 +00:00
Przemyslaw Czerpak
1b39f1e55c 2010-05-15 10:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/hbwinole.h
  * harbour/contrib/hbwin/olecore.c
    + added new C function hb_oleDispInvoke()

  * harbour/contrib/hbwin/axcore.c
    * use hb_oleDispInvoke() - please test if activex controls still work
      correctly
2010-05-15 08:32:36 +00:00