Commit Graph

24 Commits

Author SHA1 Message Date
Viktor Szakats
5e35488ccc 2010-06-17 15:37 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* tests/wvtext.prg
    * Updates. Formatting. Show msgbox when MT is not present.

  * contrib/hbxbp/Makefile
    + Enabled for mingw64.

  * contrib/hbxpp/xppop.prg
  * contrib/hbxpp/xppopc.c
    + Added Xbase++ compatible operator overloading for $ on arrays.
2010-06-17 13:37:58 +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
Przemyslaw Czerpak
2976201710 2010-06-03 09:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/xhb/trpc.prg
  * harbour/contrib/xhb/trpccli.prg
    ! fixed xhb_StartThread() -> StartThread()

  * harbour/contrib/xhb/xhbgt.c
    ! removed unnecessary wrapper to CT3 SETLASTKEY() function

  * harbour/contrib/hbnf/ftisprn.c
    ! fixed HB_ISPRINT() -> HB_ISPRINTER()

  * harbour/contrib/hbxpp/tbrowsex.prg
    ! added missing _TBR_COORD() definition
    ; TOFIX: this code uses _MAXFREEZE() function which do not exists so
             it cannot be linked with any application
2010-06-03 07:47:37 +00:00
Viktor Szakats
151783447a 2010-06-01 00:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/hbct/hbct.hbp
  + contrib/xhb/xhb.hbp
  + contrib/hbtpathy/hbtpathy.hbp
  + contrib/hbgt/hbgt.hbp
  + contrib/hbziparc/hbziparc.hbp
  + contrib/hbxpp/hbxpp.hbp
  + contrib/rddbmcdx/hbbmcdx.hbp
  + contrib/hbfoxpro/hbfoxpro.hbp
  + contrib/hbfoxpro/hbfoxpro.hbc
  + contrib/rddsql/rddsql.hbp
  + contrib/hbclipsm/hbclipsm.hbp
    + Added new hbmk2 make files.

  * contrib/hbfoxpro/hbfoxpro.ch
    + Added copyright holder names.
2010-05-31 22:52:21 +00:00
Przemyslaw Czerpak
18c1893d52 2010-05-31 18:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbxpp/binnumx.c
    ! fixed typo in W2BIN() function - problem reported by Bicahi Esgici
      on harbour-user list. Thx.
2010-05-31 16:05:54 +00:00
Viktor Szakats
08886857bc 2010-03-12 14:07 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnf/fttext.c
    + Added FT_FWRITELN().
    * Converted FT_FWRITEL() to be a wrapper for FT_FWRITELN().

  * contrib/hbxpp/thfuncx.prg
    * Formatting.
2010-03-12 13:08:29 +00:00
Viktor Szakats
f336783532 2010-03-11 08:33 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbxpp/dmlb.ch
    + Added comment that header is also used by C code.

  * contrib/gtwvg/gtwvg.c
  * contrib/gtwvg/gtwvg.h
    ! Partial revert of previous revert:
      There was no reason to revert macro names, so
      I kept these in sync with the rest of Harbour,
      only colors are kept as non-MS-DOS compatible.
    ; TOFIX: Palette indexing.

  * examples/hbdoc2/gentxt.prg
    ! Fixed to previous fix to rather delete unused
      parameter in definition, than addig it to
      declaration and mark it as unused.
2010-03-11 07:34:06 +00:00
Viktor Szakats
c2cca3c6cc 2010-03-10 11:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbxpp/Makefile
    ! Added dmlb.ch.

  * contrib/hbxpp/hbxppext.ch
    ! Added WORKSPACELIST().
2010-03-10 10:55:26 +00:00
Przemyslaw Czerpak
c6a878051b 2010-03-10 10:04 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapirdd.h
  * harbour/src/rdd/wacore.c
    + added hb_rddDetachedList() C function

  * harbour/contrib/hbxpp/Makefile
  + harbour/contrib/hbxpp/dmlb.ch
  + harbour/contrib/hbxpp/wafuncx.c
    + added xBase++ compatible PRG function:
         WorkSpaceList( [<nWorkSpace>] ) -> <aAliasName>
2010-03-10 09:04:23 +00:00
Przemyslaw Czerpak
27998d5d67 2010-03-02 18:39 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbxpp/hbxpp.ch
    + added TEXT INTO <varname> [WRAP [<cEOL>]] [TRIMMED]

  * harbour/contrib/hbct/atrepl.c
    ! fixed in two places buffer overflow.
      Many thanks to Alexandr Okhotnikov for the information
    % code optimized to use hb_reclen_buffer() in all cases when new buffer
      is dynamically allocated.
    * small code simplification and change prefix of HB_SIZE variables from
      's' to 'n'
2010-03-02 17:40:11 +00:00
Viktor Szakats
ce72edafe3 2010-02-26 11:13 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbxpp/Makefile
  + contrib/hbxpp/thread.ch
  * contrib/hbxpp/tthreadx.prg
    + Added thread.ch compatibility header.
    ! Fixed QUIT_* constants to be the same as in real XPP,
      also moved them to header.
2010-02-26 10:13:31 +00:00
Viktor Szakats
043a74384e 2010-02-26 00:22 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbxpp/xppop.prg
  * contrib/hbxpp/xppopc.c
    ! Restored stupport for negative indexes in 'string[ n ]' syntax.
    * Two reported RTE made XPP compatible regarding 'string[ n ]' syntax.
      Left marked as TODO. I hope one day an XPP user will complete them.
    ! Fixed names of an internal function to not be the same as in xhb lib.
2010-02-25 23:24:10 +00:00
Viktor Szakats
e0392d950d 2010-02-25 20:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/gtwvg/gtwvg.c
  * contrib/gtwvg/gtwvg.h
    * Synced color RGB values with GTWVT.

  * contrib/hbgd/hbgd.hbc
    ! Fixed to reference hbct lib. hbgd requires it for
      some math functions.

  * contrib/hbxpp/Makefile
  * contrib/hbxpp/hbxpp.ch
  + contrib/hbxpp/xppopc.c
  + contrib/hbxpp/xppop.prg
  + contrib/hbxpp/tests/opover.prg
    + Added support for 'string[ n ]' syntax.
      Note, you have to #include "hbxpp.ch" to activate it.
      (of course you can pick the logic and copy it to app
      code, it's only two lines)
      (copied and adapted from existing xhb lib implementation)

  * contrib/xhb/xhbmsgs.c
    ! Fixed HB_LONG -> HB_ISIZ

  * contrib/hbxpp/hbxppext.ch
    * Updated.
2010-02-25 19:55:19 +00:00
Przemyslaw Czerpak
bda62b8d16 2010-02-25 14:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbxpp/tthreadx.prg
    + added paramter validation in THREAD:setInterval() and
      THREAD:setStartTime()
    + added support for THREAD:startTime
    * updated TODO notes
2010-02-25 13:32:21 +00:00
Viktor Szakats
dfb423aeb9 2010-02-25 13:41 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdefs.h
    + Added HB_FUNC_TRANSLATE() macro to replace this logic:
      'HB_FUNC_EXTERN( original_func_name ); HB_FUNC( func_name ) { HB_FUNC_EXEC( original_func_name ); }'

  * contrib/hbxpp/pvalue.c
  * contrib/hbfship/pvalue.c
    % Using HB_FUNC_TRANSLATE().
2010-02-25 12:41:23 +00:00
Viktor Szakats
08377bbdd8 2010-02-25 11:08 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbextern.ch
    ! Added __QUITCANCEL.

  * contrib/hbxpp/Makefile
  + contrib/hbxpp/pvaluex.c
  * contrib/hbfship/Makefile
  + contrib/hbfship/pvalue.c
    + Added function PVALUE() to both Xbase++ and FlagShip lib.

  * contrib/hbxpp/Makefile
  * contrib/hbxpp/hbxpp.ch
  * contrib/hbxpp/idlex.c
  - contrib/hbxpp/sleepx.prg
    * Renamed already existing XPP_SLEEP() to SLEEP().
    - Deleted translation from SLEEP() to XPP_SLEEP() hbxpp.ch.
    - Deleted recently added .prg implementation of SLEEP().

  * contrib/hbqt/qtgui/QWidget.cpp
  * contrib/hbqt/qtcore/TQChar.prg
    * Regenerated.
2010-02-25 10:11:07 +00:00
Przemyslaw Czerpak
835a921991 2010-02-25 08:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/hvm.c
    + added internal PRG function __QUITCANCEL()

  * harbour/contrib/hbxpp/Makefile
  + harbour/contrib/hbxpp/sleepx.prg
    + added xbase++ compatible prg function SLEEP( <nHSeconds> ) -> NIL

  * harbour/contrib/hbxpp/tthreadx.prg
    ! renamed TTHREAD class to THREAD and TSIGNAL to SIGNAL - I had to
      wrongly understood xbase++ documentation sent to the least.
    ! made THREAD:threadSelf() method exported
    + added full support for THREAD:QUIT( [<xResult>] [,<nRestart>] )
    ! initialize THREAD:startCount and ThreadObject() value before executing
      THREAD:atStart[()] method and codeblock
    % simplified emulation of xbase++ like behavior of THREAD:atStart[()]
      and THREAD:atEnd[()], in such context it's not necessary to use
      __ClsMsgType()
    % simplified THREAD:execute() method calling
    + added proper THREAD:deltaTime setting
    ! do not use THREAD:startTime to store thread start time
    ! fixed thread restarting when THREAD:interval is set to use
      calculated THREAD:deltaTime instead of fixed delay defined
      by THREAD:interval
2010-02-25 07:40:37 +00:00
Viktor Szakats
ec3d1fce89 2010-02-24 10:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbxpp/Makefile
  + contrib/hbxpp/runshell.prg
    + Added RUNSHELL()

  * src/rtl/hbproces.c
  * contrib/hbxpp/dll.ch
    * Formatting.
2010-02-24 09:04:21 +00:00
Maurilio Longo
1870c5c65c 2010-02-23 17:40 UTC+0100 Maurilio Longo (maurilio.longo@libero.it)
* source/contrib/hbxpp/tthreadx.prg
     ! while waiting for ::interval to expire, ::active has to be .T.
2010-02-23 16:42:42 +00:00
Maurilio Longo
c88a85428e 2010-02-23 14:25 UTC+0100 Maurilio Longo (maurilio.longo@libero.it)
* source/contrib/hbxpp/tthreadx.prg
     * changed ::start() method to execute ::atStart/::atEnd methods/codeblocks
       when present.
     * changed ::threadID() from method to iVar
     ! ::startCount should be incremented at every execution
     * ::threadSelf() method moved to HIDDEN section
2010-02-23 13:29:29 +00:00
Viktor Szakats
9e7515cfd0 2010-02-21 20:58 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbxpp/hbxpp.ch
    + Added AADD() 3rd parameter emulation.
      (untested)
2010-02-21 19:59:22 +00:00
Przemyslaw Czerpak
87cff88914 2010-02-20 18:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/task.c
    ! fixed casting for C++ builds

  * harbour/src/lang/msges.c
    ! added hack for Solaris builds where ES is macro
      TODDO: sync names of lang and corresponding code modules.

  * harbour/src/vm/dynlibhb.c
    * pacified warning

  * harbour/contrib/xpp/xppextrn.ch
  * harbour/contrib/xpp/dbcmdx.c
  * harbour/include/hbextern.ch
  * harbour/src/rdd/dbcmd53.c
    ! moved ordWildSeek() from XPP to HBRDD library.
      I have no idea if XPP has such function or if it's or not
      compatible with ORDWILDSEEK() functions I created for [x]Harbour
    * disable ordCount() and ordWildSeek() functions when HB_CLP_STRICT
      macro is set

  * harbour/include/hbsocket.ch
    + added macro values interface info flags: HB_SOCKET_IFF_*
    + added macro values for interface info array indexes: HB_SOCKET_IFINFO_*

  * harbour/include/hbsocket.h
  * harbour/src/rtl/hbsocket.c
    + added new C function:
         PHB_ITEM hb_socketGetIFaces( int af, HB_BOOL fNoAliases );
      it returns array with existing interfaces description.
      This code was added for non MS-Windows based platforms only.
      Support for MS-Windows has to be added yet.
      Some platforms may not fill all fields in the returned array.
      When some fields are not supported by platform or interface then
      they can contain NIL value.
      On some platforms this code can effectively work only with IP4
      interfaces and IP6 ones will need different implementation.
      TODO: add support for alternative long interface introduced in some
            new systems using 'struct lifreq' with SIOCGLIF* ioctls instead
            of 'struct ifreq' and SIOCGIF*
      TODO: add support for extracting hardware addreses (i.e. ethernet
            macaddresses) for systems which do not support SIOCGIFHWADDR.

      Please test this code with OS2 using OpenWatcom and GCC (old and
      new socket API). I enabled HB_HAS_SOCKADDR_SA_LEN in OS2 builds.
      OpenWatocm OS2 header files have such fields but I do know if it's
      also present in GCC socket API.

  * harbour/include/hbextern.ch
  * harbour/src/rtl/hbinet.c
    + added new PRG function:
         hb_inetIfInfo( [<lNoAliases>] [, <nAddrFamily>] ) -> <aInfo>
      <lNoAliases> is .F. by default so aliases are included
      <nAddrFamily> is HB_SOCKET_AF_INET by default
      <aInfo> is an array in which each entry is also array with the
      following fields:
         HB_SOCKET_IFINFO_FAMILY    1     // adress family
         HB_SOCKET_IFINFO_NAME      2     // interface name
         HB_SOCKET_IFINFO_FLAGS     3     // flags HB_SOCKET_IFF_*
         HB_SOCKET_IFINFO_ADDR      4     // interface address
         HB_SOCKET_IFINFO_NETMASK   5     // subnetmask
         HB_SOCKET_IFINFO_BROADCAST 6     // broadcast address
         HB_SOCKET_IFINFO_P2PADDR   7     // point-to-point address
         HB_SOCKET_IFINFO_HWADDR    8     // hardware address

      Please use this code on different non MS-Windows platforms:

            proc main( noAlias )
               local iface
               ? os(), version()
               ? "interfaces:"
               for each iface in hb_inetIfInfo( !empty( noAlias ), 0 )
                  ? hb_valToExp( iface )
               next
               ?
            return

      and check if it returns correct information about available
      interfaces.
2010-02-20 17:07:00 +00:00
Viktor Szakats
fb8f347420 2010-02-20 13:02 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/Makefile
  - contrib/xpp
  + contrib/hbxpp
  * contrib/hbxpp/Makefile
  - contrib/hbxpp/xpp.hbc
  + contrib/hbxpp/hbxpp.hbc
  - contrib/hbxpp/xppextrn.ch
  + contrib/hbxpp/hbxppext.ch
  - contrib/hbxpp/xpp.ch
  + contrib/hbxpp/hbxpp.ch
  * contrib/hbxpp/tests/hbmk.hbm
  * utils/hbmk2/examples/contribf.hbc
    * Renamed 'xpp' lib to 'hbxpp'. Final name.
2010-02-20 12:03:26 +00:00