Commit Graph

189 Commits

Author SHA1 Message Date
Viktor Szakats
4546506b8f 2010-07-05 19:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmysql/hbmysql.hbp
  * contrib/hbct/hbct.hbp
  * contrib/hbodbc/hbodbc.hbp
  * contrib/xhb/xhb.hbp
  * contrib/hbtpathy/hbtpathy.hbp
  * contrib/hbsqlit3/hbsqlit3.hbp
  * contrib/hbmzip/hbmzip.hbp
  * contrib/hbblat/hbblat.hbp
  * contrib/hbqt/gtqtc/gtqtc.hbp
  * contrib/hbqt/hbqt.hbp
  * contrib/hbxbp/hbxbp.hbp
  * contrib/hbbz2/hbbz2.hbp
  * contrib/hbblink/hbblink.hbp
  * contrib/hbnf/hbnf.hbp
  * contrib/hbcurl/hbcurl.hbp
  * contrib/hbxpp/hbxpp.hbp
  * contrib/hbfoxpro/hbfoxpro.hbp
  * contrib/rddsql/rddsql.hbp
  * contrib/hbhpdf/hbhpdf.hbp
  * contrib/gtwvg/gtwvg.hbp
  * contrib/hbpgsql/hbpgsql.hbp
  * contrib/hbclipsm/hbclipsm.hbp
  * contrib/rddads/rddads.hbp
  * contrib/hbfimage/hbfimage.hbp
  * contrib/hbgd/hbgd.hbp
  * contrib/hbtip/hbtip.hbp
  * contrib/hbcairo/hbcairo.hbp
  * contrib/hbwin/hbwin.hbp
  * contrib/hbssl/hbssl.hbp
  * examples/ps32/ps32.hbp
  * examples/hbsqlit2/hbsqlit2.hbp
  * examples/gfspell/gfspell.hbp
  * examples/rddado/rddado.hbp
  * examples/hbvpdf/hbvpdf.hbp
  * examples/hbbtree/hbbtree.hbp
    + -instfile updated with header file group.
2010-07-05 17:20:50 +00:00
Viktor Szakats
f406d9075c 2010-07-05 19:12 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + -clean will now delete the target for -hbdyn, -hblib and default
      -hbexe modes. .bak is also deleted for -hblib mode.
      Probably more autogenerated extensions will have to be deleted
      here to become in sync with globsh.mk.
    + Extended -instfile and -instpath support to also accept
      a file group prefix. This way multiple set of files can be
      copied to a set of target directories.
    ; TODO: Change all -instfile options to point to 'inc' group.
    + dos/djgpp will now use -gstabs+ for debug mode instead of -g.
      Following change made in GNU Make system by Tamas.

  * contrib/makefile.hbs
    + Reworked the way GNU Make operations are mapped to hbmk2
      actions. F.e. 'clean install' needs special attention as
      plain clean cannot be done because
    + Added hbblat to limited set of test contribs.
    + Better isolation and preparation of hbmk2 configuration.
    + Cleanups to dynamic lib creation from contribs.
    + Added experimental support to install headers similarly
      as GNU Make does.

  * Makefile
    ! Fixed to reverse order and dependency of contrib and utils
      trees in clean without install mode. In pure clean mode,
      the contribs need to be traversed first, because hbrun and
      hbmk2 are required for this task.

  * Makefile
  * contrib/Makefile
    + Will now inform about missing hbrun and .hbs scripts not
      run because of it.

  * examples/hbapollo/hbapollo.hbp
    * -instfile updated with header file group.

  * src/rtl/hbproces.c
    ! Fixed some unused variable warnings experienced with poccarm.

  ; Patches from Tamas Tevesz:

  * config/dos/djgpp.mk
    + debug switch changed to -gstabs+ from -g. Following this:
      http://www.delorie.com/djgpp//mail-archives/thread.cgi?msg=djgpp-workers/2002/05/29/06:33:31&mode=frames

  * bin/hbxpatch.hbs
    * Updated after latest changes. Thanks!

  * src/common/hbver.c
    ! Fix for pcc detection.

  * src/rtl/gtdos/gtdos.c
  * src/rtl/hbproces.c
    ! MS-DOS fixes for TRACE() messages.
2010-07-05 17:14:21 +00:00
Viktor Szakats
4b671e29a3 2010-07-05 03:39 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
    + Added -instfile= option, instfiles= .hbc option and hbmk2 plugin
      API to add new files to the list of files to be copied to
      -instpath= targets. This option makes it possible to install
      extra files along the target lib or exe itself, f.e. headers
      or other supplementary files. This option only works for
      -instpath= options which point to a dir (not a file).

  * contrib/gtwvg/gtwvg.hbp
  * contrib/hbblat/hbblat.hbp
  * contrib/hbblink/hbblink.hbp
  * contrib/hbbz2/hbbz2.hbp
  * contrib/hbcairo/hbcairo.hbp
  * contrib/hbclipsm/hbclipsm.hbp
  * contrib/hbct/hbct.hbp
  * contrib/hbcurl/hbcurl.hbp
  * contrib/hbfimage/hbfimage.hbp
  * contrib/hbfoxpro/hbfoxpro.hbp
  * contrib/hbgd/hbgd.hbp
  * contrib/hbhpdf/hbhpdf.hbp
  * contrib/hbmysql/hbmysql.hbp
  * contrib/hbmzip/hbmzip.hbp
  * contrib/hbnf/hbnf.hbp
  * contrib/hbodbc/hbodbc.hbp
  * contrib/hbpgsql/hbpgsql.hbp
  * contrib/hbqt/gtqtc/gtqtc.hbp
  * contrib/hbqt/hbqt.hbp
  * contrib/hbsqlit3/hbsqlit3.hbp
  * contrib/hbssl/hbssl.hbp
  * contrib/hbtip/hbtip.hbp
  * contrib/hbtpathy/hbtpathy.hbp
  * contrib/hbwin/hbwin.hbp
  * contrib/hbxbp/hbxbp.hbp
  * contrib/hbxpp/hbxpp.hbp
  * contrib/rddads/rddads.hbp
  * contrib/rddsql/rddsql.hbp
  * contrib/xhb/xhb.hbp
    + Added -instfile= options for headers installed by Makefile.
    ; TODO: Make copying of headers to central dir unnecessary on
            *nix platforms as well.

  * contrib/makefile.hbs
    * Updated TODOs.

  * contrib/hbqt/gtqtc/gtqtc.hbp
    % Deleted -pi= option.

  * contrib/hbqt/gtqtc/gtqtcs/Makefile
    * Not needed to install headers from secondary (static) Makefile.

  * examples/gfspell/gfspell.hbp
  * examples/gtwvw/gtwvw.hbp
  * examples/hbapollo/hbapollo.hbp
  * examples/hbbtree/hbbtree.hbp
  * examples/hbdoc2/hbdoc2.hbp
  * examples/hbextern/hbextern.hbp
  * examples/hbsqlit2/hbsqlit2.hbp
  * examples/hbvpdf/hbvpdf.hbp
  * examples/ps32/ps32.hbp
  * examples/rddado/rddado.hbp
  * examples/superlib/superlib.hbp
    + Added -instfile= options for headers installed by Makefile.
    + Added -w option where missing.
    - Deleted -q0, -l where present.
    + Synced output setup with contribs.
    ! Added hbxpp.hbc reference for ps32.
    + Added dependency detection for hbsqlit2, hbapollo.
    ! hbdoc2 GT changed to GTCGI.

  ; Now the contrib and examples .hbp files are completely on the same 
    feature level.
2010-07-05 01:42:08 +00:00
Jacek Kubica
fd0f00b0c9 2010-07-04 21:25 UTC+0200 Jacek Kubica (kubica@wssk.wroc.pl)
* examples/httpsrv/modules/tableservletdb.prg
    ! Fixed: mismatch errpr in two methods declaration
2010-07-04 21:51:32 +00:00
Massimo Belgrano
46a8ab7241 small typo posted by Jacek Kubica
IF hb_socketGerError() should be IF hb_socketGetError() ...
2010-07-04 16:16:12 +00:00
Viktor Szakats
34911319a4 2010-06-28 00:49 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/gtalleg/gtalleg.hbp
  * contrib/gtwvg/gtwvg.hbp
  * contrib/hbblat/hbblat.hbp
  * contrib/hbblink/hbblink.hbp
  * contrib/hbbz2/hbbz2.hbp
  * contrib/hbcairo/hbcairo.hbp
  * contrib/hbclipsm/hbclipsm.hbp
  * contrib/hbcomm/hbcomm.hbp
  * contrib/hbct/hbct.hbp
  * contrib/hbcups/hbcups.hbp
  * contrib/hbcurl/hbcurl.hbp
  * contrib/hbfbird/hbfbird.hbp
  * contrib/hbfimage/hbfimage.hbp
  * contrib/hbfoxpro/hbfoxpro.hbp
  * contrib/hbfship/hbfship.hbp
  * contrib/hbgd/hbgd.hbp
  * contrib/hbgt/hbgt.hbp
  * contrib/hbhpdf/hbhpdf.hbp
  * contrib/hbmemio/hbmemio.hbp
  * contrib/hbmisc/hbmisc.hbp
  * contrib/hbmysql/hbmysql.hbp
  * contrib/hbmzip/hbmzip.hbp
  * contrib/hbnetio/hbnetio.hbp
  * contrib/hbnf/hbnf.hbp
  * contrib/hbodbc/hbodbc.hbp
  * contrib/hbpgsql/hbpgsql.hbp
  * contrib/hbqt/hbqt_common.hbm
  * contrib/hbsms/hbsms.hbp
  * contrib/hbsqlit3/hbsqlit3.hbp
  * contrib/hbssl/hbssl.hbp
  * contrib/hbtip/hbtip.hbp
  * contrib/hbtpathy/hbtpathy.hbp
  * contrib/hbwin/hbwin.hbp
  * contrib/hbxbp/hbxbp.hbp
  * contrib/hbxpp/hbxpp.hbp
  * contrib/hbziparc/hbziparc.hbp
  * contrib/rddads/rddads.hbp
  * contrib/rddbmcdx/hbbmcdx.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
  * contrib/xhb/xhb.hbp
  * examples/hbbtree/hbbtree.hbp
    - Deleted -nohbc option. No longer needed/supported.
2010-06-27 22:51:57 +00:00
Viktor Szakats
54fcea9393 2010-06-28 00:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
  * config/postinst.prg
    + Changed the way default .hbc search paths are setup. Now
      instead of being speficied by hbmk.cfg, they are hard-coded
      into hbmk2: contrib, addons. This makes these
      search paths work even whithout 'install' build phase.
      Pls note that 'examples' fell out of the std search path list.
    - hbmk2 will _no longer_ automatically process .hbc files in
      current directory. This concept was causing more trouble
      than good, as it turned out. Also removed -nohbc option,
      which has now lost its meaning.
    ; TODO: Rename hbmk.cfg to hbmk.hbc to have a standard
            extension.
    ; TODO: To solve the search path issue on *nix dir structures.
            Currently the search paths are:
               bin/../contrib/, bin/../addons/
    ; TODO: Delete -nohbc options from all hbmk2 project files.
    ; TODO: Delete paths from .hbc references (possibly after 
            solving the *nix search path arrangement issue)

  * package/winuni/mpkg_win_uni_extra_copy.bat
  * package/winuni/mpkg_win_uni.bat
  * package/winuni/mpkg_win_uni.nsi
    * Renamed hbrun-x64-dll.exe -> hbrun-dll-x64.exe

  * examples/rddado/rddado.hbc
    ! Fixed .hbc reference path. Thanks to Itamar for reporting it.
2010-06-27 22:26:56 +00:00
Viktor Szakats
47323d29c2 2010-06-26 13:14 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/makefile.prg
    + Added new control script which is meant to orchestrate
      building contribs, both libs and utils, with clean/install
      support and option for extra lib/bin addons. It's also
      possible to build dynamic version of the libs.

  * examples/rddado/adordd.prg
    * Cleanups.

  * examples/rddado/rddado.hbp
    + Added -w3 option.

  * contrib/gtalleg/gtallegs/Makefile
  * contrib/gtalleg/gtallegs.hbp
    ! Disabled static build for everything except msvc and pocc.

  * contrib/gtalleg/gtallegs.hbc
    ! Added libdir for static lib.

  + contrib/gtalleg/tests/test.prg
    + Added simple test app.
2010-06-26 11:18:02 +00:00
Viktor Szakats
aacd4f0ecb 2010-06-26 10:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtwvt/gtwvt.c
    + SETMODE() will now support automatic resizing of font to make
      requested dimensions fit on the screen, when HB_GTI_RESIZABLE
      is enabled. (Previously in such case SETMODE() returned .F.)
      Please test/review it.

  * examples/rddado/tests/test.mdb
    ! Updated with newly generated one. Seems this file "rots" while
      left sitting there on SVN, this is probably the 3rd time I'm
      doing this, just to make it open. [ or maybe the file format
      required by ADO changes constantly with OS updates/upgrades? ]

  * examples/rddado/tests/access1.prg
    ! Deleted debug code leftover.
    * Minor cleanups

  * examples/rddado/tests/access2.prg
    + Added date column
    ! Fixed LOCATE command filter argument. It was not working
      since the initial committer added it, because the filter
      string used Harbour syntax, while it requires ADO (SQL-like)
      syntax. RDDADO will make a very basic attempt to help in
      that conversion, but f.e. aliased field names (and many
      others) will break it. So: use ADO filter syntax until
      this gets properly resolved.
    * Minor cleanups

  * examples/rddado/rddado.hbc
    ! Added missing libpath option.

  * utils/hbmk2/hbmk2.prg
    + Added '-quiet-' option to turn off -quiet switch.
      (note that -quiet will also force off -info, so after
      -quiet- you also want to use a -info option to reverse
      that)
2010-06-26 08:32:23 +00:00
Viktor Szakats
d442c6fee9 2010-06-20 11:06 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/cmdarg.c
  * src/common/hbffind.c
  * src/common/hbtrace.c
  * src/common/hbfsapi.c
  * src/common/hbhash.c
  * src/rtl/setkey.c
  * src/compiler/hbmain.c
  * src/compiler/hbcmplib.c
  * src/compiler/harbour.yyc
  * src/compiler/harbour.y
  * include/hbapi.h
  * contrib/hbmemio/memio.c
  * contrib/hbhpdf/harupdf.c
  * contrib/hbpgsql/postgres.c
  * examples/pp/hbppcore.c
  * examples/pp/hbppcomp.c
    * Deleted unnecessary '( void * )' casts.
      Pls Check me.
2010-06-20 09:09:08 +00:00
Viktor Szakats
5ae08a0e0e 2010-06-12 14:11 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/set.c
    * Reset default value to "hb_out.log".

  + mpkg_nightly.sh
    + Added script to generate nightly sources.
    ; TODO: Upload nightlies to sf.net.
    ; TODO: Change nightly filenames to match our normal source releases.
    ; TOFIX: Current .zip nighly has wrong (*nix) EOLs. This has to be
             changed to CRLF.

  * INSTALL
    * Changed nightly script URLs to point to sf.net file area.
    ! Minor fix to bug tracker address.

  * contrib/xhb/regexrpl.prg
  * contrib/hbtip/httpcli.prg
  * contrib/hbtip/mail.prg
    ! Fixed to use EMPTY() on HB_REGEX[ALL]() return
      value instead of NIL check.
      Required after recent change in HB_REGEX*()
      return values in no-match case.

  * contrib/hbcurl/hbcurl.c
  * contrib/hbcurl/hbcurl.ch
    + Added support to download-to/upload-from file handle.

  * contrib/hbqt/qtgui/Makefile
  * contrib/hbqt/qtcore/Makefile
  * contrib/hbqt/Makefile
  * contrib/hbqt/gtqtc/Makefile
  * contrib/hbqt/qtnetwork/Makefile
    ! Fixed to not build separate HBQT libs for static
      linkage for non-win/wce targets.

  * package/mpkg_win.nsi
  * package/winuni/mpkg_win_uni.nsi
    * Changed to use 'Harbour Project' as folder name in registry.
      (instead of 'Harbour'). Just to be consistent.

  * package/winuni/mpkg_win_uni.nsi
    + Add major.minor version number to registry folder names.
      This allows multiple major versions of Harbour to be installed
      in parallel.

  * contrib/xhb/ttable.prg
    % '&("{||" + c + "}")' -> HB_MACROBLOCK()

  * contrib/xhb/trpccli.prg
  * contrib/xhb/hblognet.prg
  * contrib/xhb/xcstr.prg
  * contrib/xhb/tedit.prg
  * contrib/xhb/xdbmodst.prg
  * contrib/xhb/trpc.prg
  * contrib/xhb/thtm.prg
  * contrib/xhb/dumpvar.prg
  * contrib/xhb/xhbmt.prg
  * contrib/xhb/xhberr.prg
  * contrib/xhb/ttable.prg
  * contrib/xhb/txml.prg
    * '.NOT.' -> '!'
    % ValType( x ) == "Y" -> IS*()
    * Some other basic formatting and cleanup.

  * src/rtl/hbini.prg
  * examples/httpsrv/session.prg
    * Formatting.

  * tests/db_brows.prg
  * tests/server.prg
  * tests/testrdd2.prg
  * tests/setkeys.prg
  * contrib/hbtip/tests/tiptest.prg
  * contrib/hbtip/tests/loadhtml.prg
  * examples/hbsqlit2/tests/hbsqlite.prg
  * examples/gtwvw/tests/wvwtest9.prg
  * examples/gtwvw/tests/ebtest7.prg
    * '.NOT.' -> '!'
2010-06-12 12:15:59 +00:00
Mindaugas Kavaliauskas
508e2ec93f 2010-06-10 19:12 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/examples/httpsrv/uhttpd.prg
  * harbour/examples/uhttpd2/umain.prg
    * optimized hb_socketRecv() calls
    * optimized (removed) hb_socketSelect() calls, current API
      has timeout parameter and make things simple

  * harbour/examples/commouse/commouse.prg
    ! fixed error reporting (missing hb_comGetError()) parameter

  * harbour/include/hbsocket.ch
    * adjusted comment text

  * harbour/contrib/hbtpathy/telepath.prg
    ! fixed missing nTimeout parameter in tp_send()

  * harbour/source/rtl/hbcomhb.c
    ! fixed typo in hb_comSend()
    ! fixed hb_storni() paramter order bugs
2010-06-10 16:12:39 +00:00
Viktor Szakats
129a3ccdaf 2010-06-10 09:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    ! Reverted one optimization from yesterday's late
      night programming jam session.

  * contrib/hbqt/hbqt_base.cpp
    * Renamed HBQT_ISQTSTATICLINKED() to HBQT_ISSTATICLINK().
      (enough to have one 'QT' in the name)

  * config/win/bcc.mk
    + More changes targeting bcc support under WINE scenario.
    ; Here it now works "out of the box"

  * INSTALL
    + Added example for win/bcc build under WINE.
      (kudos go to Tamas Tevesz for the setup example)
    + Added win/bcc to supported cross(ish)-builds.

  * examples/httpsrv/uhttpd.prg
    ! Fixed bogus newlines in RTE ALERT() windows.
2010-06-10 07:44:15 +00:00
Viktor Szakats
b602644e09 2010-06-10 00:03 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* examples/uhttpd2/umain.prg
  * examples/uhttpd2/uhttpd2.hbp
  - examples/uhttpd2/socket.c
    + Changed to use core SOCKET API.

  * examples/uhttpd2/run.prg
    + Displays port it listens on.

  * examples/httpsrv/uhttpd.prg
    + Using hbsocket.ch constant instead of local one.
2010-06-09 22:04:01 +00:00
Viktor Szakats
ea7e1d15b9 2010-06-09 23:38 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbsocket.ch
    + Added address info array positions.

  * src/rtl/hbsockhb.c
    - Deleted spaces @ EOL.

  * contrib/hbtpathy/telepath.prg
  * contrib/hbcomm/tests/test.prg
  * contrib/hbcomm/hbcomm.prg
  * contrib/hbsms/hbsms.prg
    ! Fixed HB_COMRECV() which requires a preallocated string
      to be passed.
      (no testing done, please review me, I'm almost sure I've
      made mistakes here)

  * examples/httpsrv/uhttpd.hbp
  * examples/httpsrv/uhttpd.prg
  - examples/httpsrv/socket.c
    + Changed to use new natic SOCKET API.
2010-06-09 21:38:32 +00:00
Mindaugas Kavaliauskas
ff58339996 2010-06-09 18:42 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/examples/commouse/commouse.prg
    * added $id$
2010-06-09 15:43:10 +00:00
Mindaugas Kavaliauskas
f6ad555233 2010-06-09 18:37 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
+ harbour/src/rtl/hbcomhb.c
  * harnour/src/rtl/Makefile
  * harbour/include/hbextern.ch
    + added wrapper functions for Serial communication port API
      The list of exported functions is:
        HB_COMCLOSE( nPort )  --> lSuccess
        HB_COMDISCARDCHAR( nPort, nChar | cChar ) --> lSuccess
        HB_COMERRORCHAR( nPort, nChar | cChar ) --> lSuccess
        HB_COMFLOWCHARS( nPort, nXONchar | cXONchar, nXOFFchar | cXOFFchar ) --> lSuccess
        HB_COMFLOWCONTROL( nPort, @iValue, nFlow ) --> lSuccess
        HB_COMFLOWSET( nPort, nFlow ) --> lSuccess
        HB_COMFLUSH( nPort, [ nType = HB_COM_IOFLUSH ] ) --> lSuccess
        HB_COMGETDEVICE( nPort )  --> cDeviceName
        HB_COMGETERROR( nPort ) --> nError
        HB_COMGETOSERROR( nPort ) --> nError
        HB_COMINIT( nPort, nBaud, cParity, nSize, nStop ) --> lSuccess
        HB_COMINPUTCOUNT( nPort ) --> nCount
        HB_COMINPUTSTATE( nPort ) --> nState
        HB_COMLASTNUM() --> nLastPortNumber
        HB_COMLSR( nPort, @nValue ) --> lSuccess
        HB_COMMCR( nPort, @nValue, nClear, nSet ) --> lSuccess
        HB_COMMSR( nPort, @nValue ) --> lSuccess
        HB_COMOPEN( nPort ) --> lSuccess
        HB_COMOUTPUTCOUNT( nPort ) --> nCount
        HB_COMOUTPUTSTATE( nPort ) --> nState
        HB_COMSENDBREAK( nPort, [ nDuration = 50 ] ) --> lSuccess
        HB_COMSETDEVICE( nPort, cDeviceName ) --> lSuccess
        HB_COMRECV( nPort, @cBuffer, [ nLen = LEN( cBuffer ) ], [ nTimeout = 0 ] ) --> nBytesRecv
        HB_COMSEND( nPort, cBuffer, [ nLen = LEN( cBuffer ) ], [ nTimeout = 0 ] ) --> nBytesSent

  + harbour/include/hbcom.ch
  * harbour/include/hbapicom.h
    * moved HB_COM_* constants to .ch file

  + harbour/examples/commouse
  + harbour/examples/commouse/commouse.prg
    + sample application to decode and display COM port mouse data.
      Two types of mouse protocol is supported. You just need to 
      find COM port mouse! :) 

  * harbour/src/rtl/hbcom.c
    ! fixed timeouts on Windows platform (thanks Przemek!)
2010-06-09 15:37:23 +00:00
Mindaugas Kavaliauskas
02651dc13a 2010-06-09 15:37 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/src/rtl/hbsockhb.c
    * changed return values of some functions: nSuccess to lSuccess
    * HB_SOCKET_PF_* changed to HB_SOCKET_AF_*
    - hb_parnintdef() (moved to extend.c)
    ! some bug fixes
    ! some typo in documentation

  * harbour/examples/udpds/udpds.prg
    * sychronized with hb_socket*() changes
    * changed server thread exit condition (proposed by Przemek)

  * harbour/include/hbapi.h
  * harbour/src/vm/extend.c
    + hb_parnintdef()
2010-06-09 12:42:08 +00:00
Viktor Szakats
c853e5052d 2010-06-08 21:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbextern.ch
    + Added new HB_SOCKET*() functions.

  * config/postinst.prg
    ! Fixed to exclude whole extra shared binary creation for 
      all platforms except win/wce/os2.

  + examples/udpds/udpds.hbp
    + Added hbmk2 make file.
2010-06-08 19:23:12 +00:00
Mindaugas Kavaliauskas
b9836e09ef 2010-06-08 21:54 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
+ harbour/src/rtl/hbsockhb.c
    + added wrapper functions for Harbour socket API
      The list of exported functions is:
        HB_SOCKETGETERROR() --> nSocketError
        HB_SOCKETGETOSERROR() --> nOSError 
        HB_SOCKETERRORSTRING( [ nSocketErrror = hb_socketGetError() ] ) --> cError
        HB_SOCKETGETSOCKNAME( hSocket ) --> aAddr | NIL
        HB_SOCKETGETPEERNAME( hSocket ) --> aAddr | NIL
        HB_SOCKETOPEN( [ nDomain = HB_SOCKET_PF_INET ] , [ nType = HB_SOCKET_PT_STREAM ], [ nProtocol = 0 ] ) --> hSocket
        HB_SOCKETCLOSE( hSocket ) --> nSuccess
        HB_SOCKETSHUTDOWN( hSocket, [ nMode = HB_SOCKET_SHUT_RDWR ] ) --> nSuccess
        HB_SOCKETBIND( hSocket, aAddr ) --> nSuccess
        HB_SOCKETLISTEN( hSocket, [ iQueueLen = 10 ] ) --> nSuccess
        HB_SOCKETACCEPT( hSocket, [ @aAddr ], [ nTimeout = FOREVER ] ) --> nSuccess
        HB_SOCKETCONNECT( hSocket, aAddr, [ nTimeout = FOREVER ] ) --> nSuccess
        HB_SOCKETSEND( hSocket, cBuffer, [ nLen = LEN( cBuffer ) ], [ nFlags = 0 ], [ nTimeout = FOREVER ] ) --> nBytesSent
        HB_SOCKETSENDTO( hSocket, cBuffer, [ nLen = LEN( cBuffer ) ], [ nFlags = 0 ], aAddr, [ nTimeout = FOREVER ] ) --> nBytesSent
        HB_SOCKETRECV( hSocket, @cBuffer, [ nLen = LEN( cBuffer ) ], [ nFlags = 0 ], [ nTimeout = FOREVER ] ) --> nBytesRecv
        HB_SOCKETRECVFROM( hSocket, @cBuffer, [ nLen = LEN( cBuffer ) ], [ nFlags = 0 ], @aAddr, [ nTimeout = FOREVER ] ) --> nBytesRecv
        HB_SOCKETSETBLOCKINGIO( hSocket, lValue ) --> nSuccess
        HB_SOCKETSETNODELAY( hSocket, lValue ) --> nSuccess
        HB_SOCKETSETREUSEADDR( hSocket, lValue ) --> nSuccess
        HB_SOCKETSETKEEPALIVE( hSocket, lValue ) --> nSuccess
        HB_SOCKETSETBROADCAST( hSocket, lValue ) --> nSuccess
        HB_SOCKETSETSNDBUFSIZE( hSocket, nValue ) --> nSuccess
        HB_SOCKETSETRCVBUFSIZE( hSocket, nValue ) --> nSuccess
        HB_SOCKETGETSNDBUFSIZE( hSocket, @nValue ) --> nSuccess
        HB_SOCKETGETRCVBUFSIZE( hSocket, @nValue ) --> nSuccess
        HB_SOCKETSETMULTICAST( hSocket,  cAddr ) --> nSuccess
        HB_SOCKETSELECTREAD( hSocket,  [ nTimeout = FOREVER ] ) --> nRet
        HB_SOCKETSELECTWRITE( hSocket,  [ nTimeout = FOREVER ] ) --> nRet
        HB_SOCKETSELECTWRITEEX( hSocket,  [ nTimeout = FOREVER ] ) --> nRet
        HB_SOCKETSELECT( aRead, lSetRead, aWrite, lSetWrite, aExcep, lSetExcep, [ nTimeout = FOREVER ] ) --> nRet
        HB_SOCKETRESOLVEINETADDR( cAddr, nPort ) --> aAddr | NIL
        HB_SOCKETRESOLVEADDR( cAddr, [ nFamily = HB_SOCKET_AF_INET ] ) --> cResolved
        HB_SOCKETGETHOSTS( cAddr, [ nFamily = HB_SOCKET_AF_INET ] ) --> aHosts
        HB_SOCKETGETIFACES( [ nFamily ], [ lNoAliases ] ) --> aIfaces

  + harbour/examples/udpds
  + harbour/examples/udpds/udpds.prg
    + added UDP Discovery Server sample

      This module demonstrates a simple UDP Discovery Server
     
      If you run some service on the network (ex., netio), you need to
      know server IP address and configure client to connect to this
      address. UDPDS helps client to find server address (or addresses
      of multiple servers) on local network. UDPDS should be run in
      parallel to real server (ex., netio). Server part of UDPDS uses
      threads, so, it should be compiled in MT mode.
     
      Server functions:
        UDPDS_Start( nPort, cName [, cVersion ] ) --> hServer
        UDPDS_Stop( hServer ) 
        
      Client function:
        UDPDS_Find( nPort, cName ) --> { {"ip_addr_1", "version_1"}, ... }

    ; Please add .hbc, .hbp files, if it is required. This module requires 
      only a standard harbour runtime library and MT VM.
2010-06-08 18:54:58 +00:00
Viktor Szakats
310cf196a2 2010-06-07 13:22 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtgui/gtgui.c
  * src/rtl/gtwin/gtwin.c
  * src/rtl/gtwvt/gtwvt.c
  * contrib/gtwvg/gtwvg.c
  * contrib/gtwvg/wvggui.c
  * examples/gtwvw/gtwvw.c
    + Will now put to clipboard and request from clipboard UNICODE
      text in UNICODE (default) mode. This should fix CP conversion 
      problems experienced in non-UNICODE mode (more in a separate 
      bug report).
      Please review me.
2010-06-07 11:23:34 +00:00
Viktor Szakats
0338672fa7 2010-06-05 14:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/postinst.prg
    ! Fixed to use platform native pathseps in few remaining places.

  * examples/uhttpd2/socket.c
  * examples/httpsrv/socket.c
    + Added copyright header.
2010-06-05 12:26:00 +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
45a114e471 2010-06-03 18:17 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* tests/testsha1.prg
  * tests/longdev.prg
  * tests/clsccast.prg
  * tests/cmphello.prg
  * tests/clsicast.prg
  * tests/testop.prg
  * tests/clsscast.prg
  * tests/objarr.prg
  * tests/rddtest/rddmktst.prg
  * tests/rddtest/adscl52.prg
  * tests/rddtest/adscl53.prg
  * tests/rddtest/ntxcl52.prg
  * tests/rddtest/ntxcl53.prg
  * tests/rddtest/cdxcl52.prg
  * tests/rddtest/rddtst.prg
  * tests/rddtest/cdxcl53.prg
  * tests/transtst.prg
  * tests/output.prg
  * tests/ac_test2.prg
  * tests/clsscope.prg
  * tests/dosshell.prg
  * tests/sbartest.prg
  * tests/speedold.prg
  * tests/sdf_test.prg
  * tests/wcecon.prg
  * tests/debugtst.prg
  * tests/testdyn.c
  * tests/multiarg.prg
  * tests/fornext.prg
  * tests/hbinline.prg
  * tests/foreach2.prg
  * tests/objasign.prg
  * tests/scroll.prg
  * tests/inherit.prg
  * tests/rto_get.prg
  * tests/boxtst2.prg
  * tests/inkeytst.prg
  * tests/overload.prg
  * tests/cpinfo.prg
  * tests/gtwin.prg
  * tests/mt/mttest08.prg
  * tests/mt/mttest09.prg
  * tests/mt/mttest01.prg
  * tests/mt/mttest10.prg
  * tests/mt/mttest02.prg
  * tests/mt/mttest11.prg
  * tests/mt/mttest03.prg
  * tests/mt/mttest12.prg
  * tests/mt/mttest04.prg
  * tests/mt/mttest05.prg
  * tests/mt/mttest06.prg
  * tests/mt/mttest07.prg
  * tests/speedtst.prg
  * tests/testsha2.prg
  * tests/hsxtest.prg
  * tests/arrayidx.prg
  * tests/clsnv.prg
  * tests/rto_tb.prg
  * tests/gtchars.prg
  * tests/disptest.prg
  * tests/funcarr.prg
  * tests/testhtml.prg
  * tests/readhrb.prg
  * tests/tstcolor.prg
  * tests/gtxfnt.prg
  * tests/devtest.prg
  * tests/aliaslck.prg
  * tests/stripem.prg
  * tests/dynobj.prg
  * tests/tb1.prg
  * tests/round.prg
  * tests/longstr.prg
  * tests/testdyn.prg
  * tests/testdyn1.prg
  * tests/delimtst.prg
  * tests/tstdspac.prg
  * tests/version.prg
  * tests/setkeys.prg
  * tests/gtcolors.prg
  * tests/destruct.prg
  * tests/seconds.prg
  * tests/gtkeys.prg
  * tests/usrrdd/exarr.prg
  * doc/en/diskspac.txt
  * doc/en/string.txt
  * doc/en/rdd.txt
  * doc/en/hashes.txt
  * doc/en/hb_apigt.txt
  * doc/en/rddord.txt
  * doc/en/hb_api.txt
  * doc/en/hb_date.txt
  * doc/en/math.txt
  * doc/en/hb_vm.txt
  * doc/en/treport.txt
  * doc/en/terminal.txt
  * doc/en/hb_apiln.txt
  * doc/en/dir.txt
  * doc/en/command.txt
  * doc/en/rddmisc.txt
  * doc/en/errsys.txt
  * doc/en/nation.txt
  * doc/en/var.txt
  * doc/en/dbstrux.txt
  * doc/en/datetime.txt
  * doc/en/memo.txt
  * doc/en/tgetlist.txt
  * doc/en/tlabel.txt
  * doc/en/1stread.txt
  * doc/en/hb_set.txt
  * doc/en/hb_compa.txt
  * doc/en/hb_apier.txt
  * doc/en/hbinet.txt
  * doc/en/hb_macro.txt
  * doc/en/array.txt
  * doc/en/hb_apiit.txt
  * doc/en/rdddb.txt
  * doc/en/dbsdf.txt
  * doc/en/hvm.txt
  * doc/en/input.txt
  * doc/en/dbdelim.txt
  * doc/en/browse.txt
  * doc/en/menu.txt
  * doc/en/hb_apird.txt
  * doc/en/hb_apifs.txt
  * doc/en/file.txt
  * doc/en/lang.txt
  * doc/en/objfunc.txt
  * doc/en/eval.txt
  * doc/en/binnum.txt
  * doc/en/tclass.txt
  * doc/en/misc.txt
  * doc/en/set.txt
  * doc/en/readme.txt
  * doc/man/harbour.1
  * doc/man/hbmk2.1
  * doc/man/hbpp.1
  * doc/man/hbtest.1
  * doc/man/hbrun.1
  * examples/hbextern/hbextern.prg
  * examples/pp/pp.c
  * examples/pp/hbpragma.c
  * examples/pp/hbppcore.c
  * examples/pp/hbppcomp.c
  * examples/pp/hbpptbl.c
  * examples/pp/hbppdef.h
  * examples/superlib/hbsuper.prg
  * examples/hbsqlit2/hbsqlit2.ch
  * examples/misc/mankala.prg
  * examples/misc/guess.prg
  * examples/rddado/adordd.prg
  * examples/rddado/adordd.ch
  * examples/hbapollo/apollo.ch
  * examples/hbapollo/apollo.c
  * examples/hbapollo/apollo1.prg
  * examples/hbdoc2/gentpl.prg
  * examples/hbdoc2/gentxt.prg
  * examples/hbdoc2/tmplates.prg
  * examples/hbdoc2/genxml.prg
  * examples/hbdoc2/genhtml.prg
  * examples/hbdoc2/hbdoc2.prg
  * examples/hbdoc2/hbdoc2.ch
  * examples/guestbk/guestbk.prg
  * examples/httpsrv/uhttpd.ini
  * examples/httpsrv/uhttpd.prg
  * examples/httpsrv/cookie.prg
  * examples/httpsrv/cgifunc.prg
  * examples/httpsrv/session.prg
  * examples/terminal/trm_cli.prg
  * examples/terminal/terminal.prg
  * examples/terminal/trm_srv.prg
  * examples/terminal/trm_app.prg
  * examples/hbbtree/hb_btree.h
  * examples/hbbtree/hb_btree.ch
  * examples/hbbtree/hb_btree.c
  * examples/hbbtree/tbtree.prg
  * examples/hscript/hscript.prg
  * examples/hscript/dir.hs
  * examples/hscript/multiply.hs
  * examples/hscript/ugly.hs
  * examples/hscript/hello.hs
  * examples/gtwvw/hbole.h
  * examples/gtwvw/wvwdraw.c
  * examples/gtwvw/wvwmenu.c
  * examples/gtwvw/gtwvw.c
  * examples/gtwvw/wvwstbar.c
  * examples/gtwvw/wvwcheck.c
  * examples/gtwvw/wvwfuncs.c
  * examples/gtwvw/wvwpush.c
  * examples/gtwvw/wvwedit.c
  * examples/gtwvw/wvwtbar.c
  * examples/gtwvw/hbgtwvw.h
    * Deleted 'www.' from harbour-project.org website name.
      (www.harbour-project.org -> harbour-project.org)
2010-06-03 16:23:36 +00:00
Viktor Szakats
0e9cdc27e5 2010-06-03 18:03 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/winuni/RELNOTES
    * Updated.

  * harbour.spec
  * doc/dirstruc.txt
  * utils/hbmk2/examples/contribf.hbc
  * contrib/Makefile
  - contrib/hbbtree
  + examples/hbbtree
  - examples/hbbtree/Makefile
    * hbbtree move to example section as told in a recent
      changelog entry. This contrib has long time unfixed
      file-format portability problems, plus it's really
      more of a good example code than lib for end-users.
2010-06-03 16:05:36 +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
fd6c16eced 2010-05-21 11:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* examples/gtwvw/gtwvw.c
  * examples/gtwvw/hbgtwvw.h
    * HB_EXPORT cleanup.
2010-05-21 09:59:42 +00:00
Viktor Szakats
a98d098119 2010-05-21 11:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdefs.h
    + Added HB_EXTERN macro to eventually replace 'extern' keyword.

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

  ; TODO: To fix watcom .dll support 'extern HB_EXPORT <type> <func()>'
          will have to be changed to 'extern <type> HB_EXPORT <func()>'
          or even better to 'HB_EXTERN <type> HB_EXPORT <func()>' to
          also stay future-proof.
2010-05-21 09:47:48 +00:00
Viktor Szakats
9adb84e258 2010-05-09 00:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added Ubuntu 10.4 as tested version.

  * include/common.ch
    + Added HB_HMERGE_* constant for HB_HMERGE() function.

  * package/winuni/mpkg_win_uni_extra_copy.bat
    * Commented line not necessary for official mingw build.

  * contrib/hbsqlit3/tests/hooks.prg
  * contrib/hbsqlit3/tests/authoriz.prg
  * contrib/hbsqlit3/tests/backup.prg
    + Added missing '()'s from :__enum* accesses.

  * config/win/mingw.mk
    ! Fixed after last minute change breaking it when HB_COMPILER_VER 
      is not set.

  * examples/httpsrv/uhttpd.prg
    % Replaced 'var:__enumValue()' with 'var' in FOR EACH loops.
2010-05-08 22:57:30 +00:00
Przemyslaw Czerpak
ee2d00f19a 2010-04-29 10:51 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/strapi.c
  * harbour/include/hbapistr.h
    + added new C function hb_wstrnlen()

  * harbour/include/hbdefs.h
  * harbour/src/common/hbwin.c
    ! fixed possible buffer overflows in hb_mb*() and hb_wc*() functions
    * removed danger hb_mb*() and hb_wc*() functions which were wrongly
      used in core code and corresponding HB_TCHAR_*() macros
    + added hb_mbntowccpy() function and HB_TCHAR_COPYTO() macro
      it always sets trailing 0 after passed buffer just like hb_strncpy()
    + added hb_wcntombcpy() function and HB_TCHAR_COPYFROM() macro
      it always sets trailing 0 after passed buffer just like hb_strncpy()

  * harbour/src/rtl/gtclip.c
    ! fixed wrongly calculated size of string extracted from clipboard
      (when unicode string was in clipboard then number of unicode characters
      were used instead of number of multibyte ones)
    ! added protection against possible memory corruption if some external
      process sets clipboard text without trailing 0
    * changed hb_gt_winapi_[sg]etClipboard() functions parameters to use
      PHB_ITEM as buffer
    Question to windows users: different Win GTs use different encoding
    for the clipboard buffer. Maybe you want to normalize it?

  * harbour/src/vm/cmdarg.c
  * harbour/src/vm/extrap.c
  * harbour/src/common/hbgete.c
  * harbour/src/common/hbffind.c
  * harbour/src/common/hbtrace.c
  * harbour/src/rtl/gtwin/gtwin.c
  * harbour/src/rtl/fstemp.c
  * harbour/src/rtl/filesys.c
  * harbour/src/rtl/gtgui/gtgui.c
  * harbour/src/rtl/gtwvt/gtwvt.c
  * harbour/include/hbgtcore.h
  * harbour/include/hbapistr.h
  * harbour/include/hbwmain.c
  * harbour/contrib/gtwvg/gtwvg.c
  * harbour/contrib/gtwvg/wvggui.c
  * harbour/contrib/gtwvg/wvgcuig.c
  * harbour/contrib/gtwvg/wvgutils.c
  * harbour/contrib/gtwvg/wvgcore.c
  * harbour/contrib/gtwvg/wvgwing.c
  * harbour/examples/gtwvw/gtwvw.c
    ! fixed possible buffer overflows and GPF traps due to wrongly used
      HB_TCHAR_*() macros and/or corresponding hb_mb*()/hb_wc*() functions
      Seems that some problems were potentially exploited even in non UNICODE
      builds.
2010-04-29 08:51:41 +00:00
Viktor Szakats
1ae435b74b 2010-04-24 10:41 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ examples/ps32
  + examples/ps32/ps32.hbp
  + examples/ps32/ps32.hbc
  + examples/ps32/ps32.dif
  + examples/ps32/readme.txt
  + examples/ps32/tests
  + examples/ps32/tests/hbmk.hbm
    + Added necessary files to use PageScript32 with Harbour.
      (it's a payware product, so if anyone has any slight 
      aversion to this, or the small .dif poses even the 
      slightest chance of copyright issue, pls tell and I'll 
      delete the whole stuff.)
      BTW, ideally someone should post this patch to the 
      authors of the library, after all it's their interest 
      to make it work with Harbour. The patch is very simple.
2010-04-24 08:42:59 +00:00
Przemyslaw Czerpak
9ec9384fa5 2010-04-01 16:44 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtwin/gtwin.c
  * harbour/src/rtl/gtwvt/gtwvt.h
  * harbour/src/rtl/gtwvt/gtwvt.c
    * modified to use in UNICODE builds current HVM CP if user
      has not set display CP using HB_SETTERMCP() or HB_SETDISPCP()

  * harbour/src/rtl/gtwvt/gtwvt.h
  * harbour/src/rtl/gtwvt/gtwvt.c
    * eliminated most of HB_TCHAR_*() translations
    % optimized setting SelectCopy menu item name to avoid unnecessary
      memory allocation and to use hb_str*() API
    ! allow to set window title before displaying the window
      (HB_GTI_WINTITLE)
    % use hb_str*() API for window title setting
    ! removed redundant window title setting just after creating new window
    ! pass pointer to HB_GTWVT structure as lpParam in CreateWindow()
      function to allow WM_CREATE message processing and early window
      handle registration

  * harbour/tests/cpinfo.prg
    * added HB_SETTERMCP() setting

  * harbour/examples/gtwvw/tests/cbtest1.prg
  * harbour/examples/gtwvw/tests/cbtest6.prg
  * harbour/examples/gtwvw/tests/ebtest7.prg
    * small cleanup to compile with Harbour
2010-04-01 14:44:19 +00:00
Viktor Szakats
506e43ffda 2010-03-22 10:36 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added -trace support to -mkimplib option.
    * Variables renamed in new code.

  - examples/hbdoc
  - examples/hbmsql
    - Deleted two obsolete components:
      - hbmsql is not available freely anymore and was not tested
        or update since many years. Check hbmysql and hbsqlit3 for
        alternatives.
      - hbdoc was superceded by hbdoc2.
2010-03-22 09:37:36 +00:00
Viktor Szakats
575ece20a6 2010-03-11 18:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbtoken.c
    * Marked function below with HB_LEGACY_LEVEL3:
        __STRTOKEN():      change it to equivalent HB_TOKENGET()
        __STRTKPTR():      change it to equivalent HB_TOKENPTR()
        __STRTOKENCOUNT(): change it to equivalent HB_TOKENCOUNT()

  * contrib/hbmysql/tmysql.prg
    + Added ::nPort variable to TMYSQLSERVER class.
    * Formatting.

  * contrib/hbmysql/tmysql.prg
  * examples/hbmsql/tmsql.prg
    ! __STRTOKEN() -> HB_TOKENGET()

  * contrib/hbmysql/tsqlbrw.prg
    * Formatting.
2010-03-11 17:29:38 +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
Pritpal Bedi
327be5be73 2010-03-10 20:04 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* examples/hbdoc2/genhtml.prg
  * examples/hbdoc2/gentxt.prg
  * examples/hbdoc2/tmplates.prg
    ! Matched method definition and body.
2010-03-11 04:07:31 +00:00
Viktor Szakats
feb9517ee2 2010-03-08 00:09 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbapi.h
  * src/common/hbver.c
    + Added hb_iswin2k() low-level function to detect
      if running under Windows 2000 or newer.

  * include/hbextern.ch
  * src/rtl/version.c
    + Added HB_OSISWIN2K() .prg level function.

  * src/rtl/gtwin/gtwin.c
  * src/rtl/gtwvt/gtwvt.c
  * contrib/gtwvg/gtwvg.c
  * contrib/gtwvg/wvggui.c
  * examples/gtwvw/gtwvw.c
  * contrib/hbwin/win_prn2.c
  * contrib/hbwin/win_prn3.c
    % Changed to use hb_iswin*() API instead of implementing
      version detection locally.

  * contrib/hbmysql/mysql.c
  * contrib/hbpgsql/postgres.c
    + Added my partial copyright.

  * contrib/hbpgsql/tests/tstpgrdd.prg
    * Formatting.

  * contrib/hbpgsql/postgres.c
    ! Fixed to define all .prg level functions regardless
      of pgsql lib it's built against. They return
      permanent failure in this case.
    ! Fixed PQCREATETRACE() to return NULL pointer instead
      of NIL for static builds.
    ! PQFREECANCEL() marked with HB_LEGACY_LEVEL3.

  * contrib/hbwin/win_os.prg
    + Using HB_OSISWIN2K() core API.

  * contrib/hbide/ideprojmanager.prg
    * Minor alignment.
2010-03-07 23:11:09 +00:00
Viktor Szakats
ef0f510518 2010-03-04 13:08 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* examples/gtwvw/wvwcheck.c
  * examples/gtwvw/wvwedit.c
  * examples/gtwvw/hbgtwvw.h
    ! Added not terribly elegant (local) fix to missing 'hb_hInstance'
      link time errors. Not tested besides successful lib build.
2010-03-04 12:09:05 +00:00
Viktor Szakats
5a773e089a 2010-03-03 01:58 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmisc/Makefile
  + contrib/hbmisc/hbeditc.c
  + contrib/hbmisc/hbedit.prg
  + contrib/hbmisc/tests/sample.txt
  + contrib/hbmisc/tests/testedit.prg
  - examples/pe/sample.txt
  - examples/pe/editorlo.c
  - examples/pe/pe.prg
  - examples/pe/pe.hbp
  - examples/pe/editorhi.prg
    * Editor implementation moved to hbmisc lib.
2010-03-03 01:02:16 +00:00
Viktor Szakats
2cf87c3d7a 2010-03-03 01:54 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
- examples/pe/license.txt
  + examples/pe/sample.txt
  * examples/pe/pe.prg
    * Renamed sample file.

  * examples/pe/editorlo.c
  - examples/pe/readme.txt
    * Moved readme content inside the source as comment.
2010-03-03 00:55:13 +00:00
Viktor Szakats
ca0685d44a 2010-03-03 01:51 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* examples/pe/editorlo.c
  * examples/pe/pe.prg
  * examples/pe/editorhi.prg
  * examples/pe/readme.txt
    + Further cleanups (some types, unused code).
    % Minor optimization.
    * Deleted one completed (old) TOFIX item.
2010-03-03 00:52:16 +00:00
Viktor Szakats
be1d955b6d 2010-03-03 01:22 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* examples/pe/editorlo.c
  * examples/pe/editorhi.prg
    + Cleaned internal layout (which was speed optimized for
      286 computer-era) to use GC collected objects rather
      than various levels of static variables and additional
      logic to handle parallel editor objects. Now the code
      is fully reentrant.
    * Renamed variables.
    ! Fixed potential GPFs along the way.
    ; TODO:
        - Clean to use ANSI C and Harbour APIs only. (this is pbly okay)
        - Clean to use safe Harbour string API functions instead of unsafe ANSI C ones.
        - Clean type usage.
        - Fix to support other EOL types than CRLF.
        - etc.

  * examples/pe/pe.prg
    ! Typo in prev.
2010-03-03 00:22:28 +00:00
Viktor Szakats
54e5e9b639 2010-03-02 23:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* examples/pe/editorlo.c
  * examples/pe/pe.prg
  * examples/pe/editorhi.prg
    * Formatting/cleanups.
2010-03-02 22:55:47 +00:00
Viktor Szakats
69b7bafcf5 2010-03-02 23:31 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* examples/pe/editorlo.c
    ; Started to level this code to Harbour standards.
    * Changed to use native Harbour C level API instead of Clipper
      compatibility one.
    - Delete old inactive code for standalone Habrourless build.
    * Cleaned several warnings.
    ! Fixed one potential GPF.
    ! Fixed one potential memory corruption.
    + Formatting.
2010-03-02 22:31:55 +00:00
Viktor Szakats
dfee94a1bc 2010-02-23 20:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* examples/hbdoc2/hbdoc2.prg
    ! Synced doc language subdir with recent changes.
      Thanks to Qatan for pointing it out.

  * include/hbwince.h
    * Formatting.
2010-02-23 19:53:31 +00:00
Viktor Szakats
d93eb500c9 2010-02-22 14:43 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/extrap.c
  * src/vm/dynlibhb.c
  * src/common/hbgete.c
  * src/common/hbffind.c
  * src/common/hbver.c
  * src/rtl/filesys.c
  * src/rtl/diskspac.c
  * src/rtl/gtos2/gtos2.c
  * src/rtl/cputime.c
  * src/rtl/disksphb.c
  * include/hbthread.h
  * contrib/hbmzip/hbmzip.c
    ! Fixed to setup all OS/2 INCL_* constants and
      to #include os2.h by themselves, and not to rely
      on Harbour headers to do this job for them.
    ; TODO: Do the same for dos.h.

  * doc/hdr_tpl.txt
    - Deleted local changelog.
    ! Fixes to .prg function docs
    + Update copyright year to 2010.
    + Added fact that $SEEALSO$ should be comma separated.
    + Added .c function example (far from perfect)

  * examples/hbdoc2/tmplates.prg
  * doc/hdr_tpl.txt
    + Added $VERSION$ tag. (pls update HBIDE. We haven't finalized
      the format yet, to it's little bit premature to create
      new and new parsers/generators for it yet)

  * include/hbdefs.h
    ! Fixed to not unconditionally include OS/2 headers with
      an arbitrary selection of INCL_ macros.
      Now OS/2 headers will only be included if legacy types
      are requested (off by default), and no INCL_ macros
      are defined. This latter change may affect 3rd party
      code written for OS/2, so I'm marking it INCOMPATIBLE.

  * contrib/hbqt/generator/hbqtgen.prg
  * contrib/hbqt/hbqt.h
    * Changed to #include hbapi.h from hbqt.h. It needs it,
      so this is the clean way. Changed generator to leave
      out hbapi.h from each source file and refer to hbqt.h
      only. (untested)
    + Added logic to #include OS/2 headers with some INCL_
      macros defined, to make QT on OS/2 happy. (copied them
      from the dev. list)
    ; TODO: Regenerate HBQT sources.

  * utils/hbtest/hbtest.prg
    ! Cleaned old problem reported by Chen. It seems like
      a feature which was never finished, and it's not even
      hugely needed, so I deleted it.

  * config/global.mk
    + Will now provide HB_COMP_PATH_PUB value for os2-gcc, os2-gccomf
      compilers. This value can be used to manually form ld.exe
      command line.
      (NOTE: This may be deleted in the future, when sorting
      out line-length limit problems for these compilers.
2010-02-22 13:45:07 +00:00
Viktor Szakats
a88c663d0c 2010-02-20 22:09 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* debian/dirs
  * doc/en/Makefile
  * harbour.spec
    ! "en-EN" -> "en"

  - examples/hbdoc/examples
    - Deleted outdated docs.
2010-02-20 21:12:11 +00:00
Viktor Szakats
bb40624dbe 2010-02-20 21:19 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
+ doc/en
  - doc/en-EN
  - contrib/hbgt/doc/en-EN
  + contrib/hbgt/doc/en
  - contrib/hbziparc/doc/en-EN
  + contrib/hbziparc/doc/en
  - contrib/rddads/doc/en-EN
  + contrib/rddads/doc/en
  - contrib/hbgd/doc/en-EN
  + contrib/hbgd/doc/en
  - contrib/hbmisc/doc/en-EN
  + contrib/hbmisc/doc/en
  - contrib/hbbtree/doc/en-EN
  + contrib/hbbtree/doc/en
  - examples/hbdoc/examples/core_en
  + examples/hbdoc/examples/en
  - examples/hbdoc/examples/core_es
  + examples/hbdoc/examples/es
    * Renamed to use IETF complient language ID.

  - examples/hbdoc/examples/hbmisc
    - Deleted.

  * utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
    ! Fixed to not use "en-EN" language code, but plain "en".

  * examples/hbdoc2/hbdoc2.prg
    * "en-en" -> "en"
2010-02-20 20:20:24 +00:00
Viktor Szakats
a352ff57ce 2010-02-20 15:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/philes.c
  * include/hbextern.ch
    + Added HB_CURDRIVE(). Similar to Xbase++ CURDRIVE(), but
      always provided by Harbour core.

  * utils/hbmk2/hbmk2.prg
    - Deleted mapping from hb_CurDrive() to CurDrive().

  * examples/httpsrv/uhttpd.prg
  * examples/httpsrv/modules/tableservletdb.prg
  * examples/gtwvw/tests/wvwtest9.prg
    * Changed to use hb_CurDrive() which is always available in
      Harbour core, instead of Xbase++ specific CurDrive().
2010-02-20 14:56:27 +00:00
Viktor Szakats
3f1bca920e 2010-02-20 12:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/common/hbverdsp.c
  * include/hbsetup.ch
  * contrib/xhb/xhbver.prg
    - Deleted HB_COMPAT_VO, HB_COMPAT_DBASE, HB_COMPAT_CLIP as build-time 
      options. They were not used, and in the future these should be 
      implemented as addon libraries.

  * INSTALL
    * Minor terminogology adjustment.

  * examples/hbdoc2/tmplates.prg
  * examples/hbdoc2/hbdoc2.prg
    - Deleted special handling of FlagShip functions.
2010-02-20 11:01:36 +00:00