Commit Graph

15904 Commits

Author SHA1 Message Date
Viktor Szakats
a78f123db5 2011-02-06 10:36 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbct/keysec.prg
  * contrib/hbct/keytime.prg
    ! Fixed KEYSEC() and KEYTIME() functions to work.
      They used xhb specific __KEYBOARD() extension, now 
      swapped for HB_KEYPUT().
      Reported by Georgewf.
    ! Fixed KEYSEC() to work around midnight.
    * Formatting.
2011-02-06 09:39:16 +00:00
Viktor Szakats
40a3e1d9e4 2011-02-06 03:04 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnetio/utils/hbnetio/netiosrv.prg
  * contrib/hbnetio/utils/hbnetio/netiocon.prg
    + Implemented notifications to management clients about 
      server side event, curently connection/disconnections.
      Quite many TODOs are left, and since the console client 
      is ST yet, the display of server events is done after 
      processing a console command.
      F.e. a GUI client can use such information to refresh
      list of clients.

  * contrib/hbnetio/utils/hbnetioq/netiosrq.prg
    * Cleanups.
2011-02-06 02:05:09 +00:00
Viktor Szakats
7fbf89cde2 2011-02-05 23:19 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnetio/utils/hbnetioq/netiosrq.prg
    * Roughly reworked to act as management client UI.
      I didn't touch any GUI logic.
    + Accept server port and password in ini file, which
      is now named 'hbnetioq.exe.config'. This can also
      be extended and fine tuned at will.
    ; To test, run it like the console client, f.e.:
         hbnetio -adminpass=toptopsecret
         hbnetioq -pass=toptopsecret
    ; NOTE: Only one RPC call is implemented, pls fill the rest,
            plus some periodic refresh would have to implemented
            for the browse. Pls see
               contrib/hbnetio/utils/hbnetio/netiocon.prg
            for possible RPC commands and returned values.
2011-02-05 22:19:35 +00:00
Viktor Szakats
0c7e4dc9b5 2011-02-05 22:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    ! Fixed recent regression: build hbx only for hblib/hbdyn projects.

  * contrib/hbrunext/pullext.prg
  * contrib/hbrunext/hbrunext.hbp
    * Internal rename.

  * contrib/hbwin/hbwin.hbx
  * contrib/hbmemio/hbmemio.hbx
  * contrib/hbct/hbct.hbx
    * Refreshed. (comment only)
2011-02-05 21:26:57 +00:00
Viktor Szakats
52ed8f5ab7 2011-02-05 22:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/3rd/zlib/Makefile
    ! Fixed to export symbols with bcc.

  * src/3rd/png/pngerror.c
  * src/3rd/png/pngconf.h
  * src/3rd/png/pngwrite.c
  * src/3rd/png/pngset.c
  * src/3rd/png/pngpread.c
  * src/3rd/png/LICENSE
  * src/3rd/png/png.dif
  * src/3rd/png/pngrutil.c
  * src/3rd/png/pnglconf.h
  * src/3rd/png/pngread.c
  * src/3rd/png/pngmem.c
  * src/3rd/png/png.c
  * src/3rd/png/pngget.c
  * src/3rd/png/png.h
  * src/3rd/png/pngpriv.h
  * src/3rd/png/pngrtran.c
  * src/3rd/png/pngtrans.c
  * src/3rd/png/Makefile
    + Updated to 1.5.1 (from 1.5.0) [Tamas]
2011-02-05 21:11:56 +00:00
Viktor Szakats
33781293af 2011-02-05 18:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* examples/gtwvw/wvwfuncs.c
    * Renamed WIN_RECTANGLE() to WVW_RECTANGLE()
    * Renamed WIN_SETBKMODE() to WVW_SETBKMODE()
    - Deleted WIN_LOWORD()
    - Deleted WIN_HIWORD()
    ; INCOMPATIBILITY: If you used WIN_RECTANGLE() or WIN_SETBKMODE() 
                       specifically from GTWVW, change these calls to 
                       the neww WVW_*() versions.
                       If you used WIN_LOWORD() or WIN_HIWORD(), 
                       link hbwin lib (hbwin.hbc) to your app.

  * contrib/*/*.hbx
    * Regenerated.
2011-02-05 17:29:58 +00:00
Viktor Szakats
1c0f6467db 2011-02-05 17:51 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbssl/ssl.c
    ! Suppressed msvc warning.
    ! Fixed build error in bcc.
    ; Both regression after 2011-02-03 01:44 UTC+0100 Viktor Szakats

  * config/postinst.hbs
  - config/hbextern.hbs
    * Merged hbextern.hbs into postinst.hbs.
2011-02-05 16:52:44 +00:00
Viktor Szakats
726d8cf249 2011-02-05 16:56 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbbz2/hbbz2.hbp
    ! Fix to prev.

  * contrib/hbbz2/hbbz2.hbx
  * contrib/hbxpp/hbxpp.hbx
    * Updated.
2011-02-05 15:57:36 +00:00
Viktor Szakats
775f8ef05a 2011-02-05 16:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    + Updated to use hbmk2 to create hbx files.

  * contrib/3rd/sqlite3/sqlite3.hbc
    * Fix for Minix. From Tamas.

  * contrib/hbblink/hbblink.hbx
    * Updated.

  * utils/hbmk2/hbmk2.prg
    * Refinements in hbx related console feedback.
2011-02-05 15:53:17 +00:00
Viktor Szakats
54e339c0af 2011-02-05 14:02 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbplist
    + Added hbrunext to contrib list, so it's now built for everyone.
    ; It also builds nicely using full shared mode (on win platform
      with '-env:__HB_DYN__=_dll -shared' options). .exe is 1MB with
      mingw.
      But, there is one catch, harbourmt.dll and harbour.dll are mixed 
      (mt pulled by hbrunexp, st pulled by contrib dlls),
      which is tricky business. What's best solution for this? (Obviously,
      building both ST and MT versions of all .dlls doesn't seem like
      a very good idea)

  * utils/hbmk2/hbmk2.prg
  * utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.es_PE.po
    + Added 'requests=' command to .hbc files.

  * utils/hbrun/hbrun.prg
    + Added my name to copyright banner.
2011-02-05 13:04:57 +00:00
Viktor Szakats
ce27a5ef5d 2011-02-05 13:41 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbbz2/hbbz2.hbp
  + contrib/hbbz2/hbbz2.hbx
  - contrib/hbbz2/hbbz2.c
  + contrib/hbbz2/core.c
    * Renamed sources.
    + Added .hbx file.
    ; NOTE: BTW I'm not sure it's very good to name all main .c files 
            in wrapper libs as 'core.c', so if anyone have better idea, 
            pls shout.
2011-02-05 12:42:00 +00:00
Viktor Szakats
371c238bf6 2011-02-05 12:51 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmxml/hbmxml.hbp
  - contrib/hbmxml/hbmxml.c
  + contrib/hbmxml/core.c
  - contrib/hbmxml/hbmxmlp.prg
  + contrib/hbmxml/format.prg
  - contrib/hbmxml/hbmxmlx.prg
  * contrib/hblzf/hblzf.hbp
  - contrib/hblzf/hblzf.c
  + contrib/hblzf/core.c
  - contrib/hblzf/hblzfx.prg
  * contrib/hbxdiff/hbxdiff.hbp
  - contrib/hbxdiff/hbxdiff.c
  + contrib/hbxdiff/core.c
  - contrib/hbxdiff/hbxdiffx.prg
  * contrib/hbexpat/hbexpat.hbp
  * contrib/hbexpat/hbexpat.hbx
  - contrib/hbexpat/hbexpat.c
  + contrib/hbexpat/core.c
  - contrib/hbexpat/hbexpatc.c
  + contrib/hbexpat/internal.c
  - contrib/hbexpat/hbexpatp.prg
  + contrib/hbexpat/unitable.prg
  - contrib/hbexpat/hbexpatx.prg
    * Renamed sources.
    % Optimized to use .hbx files directly without extra puller source.

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

  * contrib/hblzf/3rd/liblzf/lzf.hbp
    - Deleted commented line.
2011-02-05 11:52:16 +00:00
Viktor Szakats
41b30322cf 2011-02-05 11:31 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmzip/hbmzip.hbp
  + contrib/hbmzip/hbmzip.hbx
  - contrib/hbmzip/hbmzip.c
  + contrib/hbmzip/mzip.c
  * contrib/hbmemio/hbmemio.hbp
  + contrib/hbmemio/hbmemio.hbx
  * contrib/hbzebra/hbzebra.hbp
  + contrib/hbzebra/hbzebra.hbx
    + Added .hbx files and included them in .hbp.
    * Renamed sources with colliding (with .hbx) names.

  * contrib/hbrunext/hbrunext.hbp
  * contrib/hbrunext/pullext.prg
    + Added hbmzip and hbmemio.

  * contrib/hbgt/hbgt.hbx
  * contrib/hbsms/hbsms.hbx
  * contrib/hbnf/hbnf.hbx
  * contrib/hbclipsm/hbclipsm.hbx
  * contrib/hbcomm/hbcomm.hbx
    * Regenerated.
2011-02-05 10:32:50 +00:00
Viktor Szakats
05864cbb94 2011-02-05 11:04 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/examples/contribf.hbc
    ! Updated rddbm name.

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

  * contrib/hbgt/hbgt.hbp
  + contrib/hbgt/hbgt.hbx
  * contrib/hbblink/hbblink.hbp
  + contrib/hbblink/hbblink.hbx
  * contrib/hbsms/hbsms.hbp
  + contrib/hbsms/hbsms.hbx
  - contrib/hbsms/hbsms.prg
  + contrib/hbsms/sms.prg
  * contrib/hbtpathy/hbtpathy.hbp
  + contrib/hbtpathy/hbtpathy.hbx
  * contrib/hbnf/hbnf.hbp
  + contrib/hbnf/hbnf.hbx
  * contrib/hbfship/hbfship.hbp
  + contrib/hbfship/hbfship.hbx
  * contrib/hbfoxpro/hbfoxpro.hbp
  + contrib/hbfoxpro/hbfoxpro.hbx
  * contrib/hbhpdf/hbhpdf.hbp
  + contrib/hbhpdf/hbhpdf.hbx
  * contrib/hbclipsm/hbclipsm.hbp
  + contrib/hbclipsm/hbclipsm.hbx
  * contrib/hbmisc/hbmisc.hbp
  + contrib/hbmisc/hbmisc.hbx
  + contrib/hbcomm/hbcomm.hbx
  * contrib/hbcomm/hbcomm.hbp
  - contrib/hbcomm/hbcomm.prg
  + contrib/hbcomm/comm.prg
    + Added .hbx files and included them in .hbp.
    * Renamed sources with colliding (with .hbx) names.
2011-02-05 10:05:46 +00:00
Viktor Szakats
c5c12623f0 2011-02-05 10:46 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmxml/hbmxml.hbp
  * contrib/hblzf/hblzf.hbp
  * contrib/hbxdiff/hbxdiff.hbp
  * contrib/hbwin/hbwin.hbp
  * contrib/hbexpat/hbexpat.hbp
    + Added missing -instfile for .hbx.
2011-02-05 09:46:47 +00:00
Viktor Szakats
eafb6f595d 2011-02-05 10:42 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Add -D__HBEXTREQ__ whenever an .hbx module is present in a project.

  * contrib/hbpost.hbm
    - Delete manual -D__HBEXTREQ__. Now automatic.
2011-02-05 09:43:16 +00:00
Viktor Szakats
e7a4f9d9af 2011-02-05 10:15 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
- contrib/hbct/ctextern.prg
  * contrib/hbct/hbct.hbp
  - contrib/hbxbp/hbxbpext.prg
  * contrib/hbxbp/hbxbp.hbp
  - contrib/hbwin/hbwinext.prg
  * contrib/hbwin/hbwin.hbp
  * contrib/hbqt/qtgui/hbqtgui.hbm
  - contrib/hbqt/qtgui/hbqt_extern.prg
  * contrib/hbqt/qtwebkit/hbqtwebkit.hbm
  - contrib/hbqt/qtwebkit/hbqt_extern.prg
  - contrib/hbqt/qtcore/hbqt_extern.prg
  * contrib/hbqt/qtcore/hbqtcore.hbm
  - contrib/hbqt/qtnetwork/hbqt_extern.prg
  * contrib/hbqt/qtnetwork/hbqtnetwork.hbm
  - contrib/hbqt/qtuitools/hbqt_extern.prg
  * contrib/hbqt/qtuitools/hbqtuitools.hbm
  - contrib/hbqt/qscintilla/hbqt_extern.prg
  * contrib/hbqt/qscintilla/hbqscintilla.hbm
  - contrib/hbqt/qtdesigner/hbqt_extern.prg
  * contrib/hbqt/qtdesigner/hbqtdesigner.hbm
  - contrib/rddads/adsextrn.prg
  * contrib/rddads/rddads.hbp
  - contrib/hbgd/gdextern.prg
  * contrib/hbgd/hbgd.hbp
    % Deleted separate puller modules and added .hbx to the project directly.
    ; TODO: Some wrapper projects have the name already used for .c files, 
            so .hbx cannot be directly included ATM.
    ; TODO: Move -D__HBEXTREQ__ to local .hbp files so they kick in in stdalone mode too.
            Or maybe hbmk2 should always define it, if there is an .hbx file included 
            in a project, after all it can generate these .hbx files, too.

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

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

  * contrib/hbpost.hbm
    + Define __HBEXTREQ__

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

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

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

  ; TODO: Optimize out extern puller .prgs.
2011-02-05 08:22:50 +00:00
Viktor Szakats
e03f938fbd 2011-02-04 18:54 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbrunext/pullext.prg
    + copyright header.
2011-02-04 17:54:46 +00:00
Viktor Szakats
2e27f33285 2011-02-04 18:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added -request= option to force linking any custom function/procedure 
      to target executable.

  * contrib/hbrunext/hbrunext.hbp
    * Replaced small hack using -main= to force linking, with -request= option.
2011-02-04 17:27:14 +00:00
Viktor Szakats
af415cb329 2011-02-04 18:14 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/hbrunext
  + contrib/hbrunext/hbrunext.hbp
  + contrib/hbrunext/pullext.prg
    + Added new hbrun clone named 'hbrunext', which is able to
      include any of the contribs.
      Currently it links with hbct, hbexpat and hbwin.
2011-02-04 17:14:47 +00:00
Viktor Szakats
85f507bf05 2011-02-04 17:59 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/hbwin.hbp
  + contrib/hbwin/hbwinext.prg
  + contrib/hbwin/hbwin.hbx
    + Added extern puller logic for hbwin.
      To pull it, use: REQUEST __HBEXTERN__HBWIN__ in the main 
      app module.
2011-02-04 17:00:09 +00:00
Viktor Szakats
b461346e66 2011-02-04 15:59 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbsqlit3/hbsqlit3.c
    ! Fixed recent additions to always define Harbour level
      functions and return dummy value if low-level functionality
      is not available in an actual build:
         SQLITE3_ENABLE_LOAD_EXTENSION()
         SQLITE3_TABLE_COLUMN_METADATA()
         SQLITE3_COLUMN_DATABASE_NAME()
         SQLITE3_COLUMN_TABLE_NAME()
         SQLITE3_COLUMN_ORIGIN_NAME()
2011-02-04 15:00:03 +00:00
Viktor Szakats
a9e9453769 2011-02-03 01:44 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbssl/hbssl.hbp
  * contrib/hbssl/hbssl.hbm
  * contrib/hbssl/ssl.c
    ! Implemented special OpenSSL requirement when using OpenSSL
      as a .dll under win, for version 0.9.8 and above.
    ! http://www.openssl.org/support/faq.html#PROG2
    ; NOTE: SSL_INIT() must be called by the user application
            for this to work.

  * contrib/hbssl/tests/bio.prg
  * contrib/hbssl/tests/encode.prg
  * contrib/hbssl/tests/digest.prg
  * contrib/hbssl/tests/crypt.prg
  * contrib/hbssl/tests/pem.prg
    + Call SSL_INIT()

  * contrib/hbssl/pem.c
    ! PEM_READ_BIO_*() functions fixed to not require a second
      parameter (a password callback or string).

  * contrib/3rd/sqlite3/sqlite3.c
  + contrib/3rd/sqlite3/sqlite3.dif
  * contrib/3rd/sqlite3/sqlite3.hbp
    ! make sqlite3 work in minix.
      Patch by Tamas.
    ; NOTE: I'd be good to submit this mod upstream. It might 
            be nasty to rediff this code. [vszakats]
2011-02-04 00:45:00 +00:00
Viktor Szakats
4d140dc2d6 2011-02-03 22:43 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/harbour.hbx
  * src/rtl/hbfilehi.prg
    * Renames in new path/fn handling functions.
      * HB_FNAMEDIRGET()     -> HB_FNAMEDIR()
      * HB_FNAMENAMEGET()    -> HB_FNAMENAME()
      * HB_FNAMENAMEEXTGET() -> HB_FNAMENAMEEXT()
      * HB_FNAMEEXTGET()     -> HB_FNAMEEXT()
      * HB_FNAMEEXTDEF()     -> HB_FNAMEEXTSETDEF()

  ; Patch from Tamas:

  * src/rtl/hbcom.c
    + adds minix serial device names to hbcom

  * utils/hbmk2/hbmk2.prg
    ! Fixed RTE regression in previous recent minix patch.

  * config/dos/djgpp.mk
    ! Applied previous C++ gcc flag patch also to djgpp.
2011-02-03 21:44:01 +00:00
Viktor Szakats
e974cbc2fc 2011-02-03 18:16 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbsocket.c
  * contrib/xhb/xhb.hbp
  * contrib/3rd/sqlite3/sqlite3.hbp
  * contrib/hbmzip/3rd/minizip/minizip.dif
  * contrib/hbmzip/3rd/minizip/ioapi.h
  * INSTALL
    ; Further Minix patch from Tamas:
    * contains small touchups to src/rtl/hbsocket.c to bring the previous
      modifications in line with the rest, plus typo fixes
    * disables contrib/xhb until minix gets the features needed
    * disables contrib/3rd/sqlite3, pending investigation
    * makes contrib/hbmzip work
    * adds some notes to INSTALL
2011-02-03 17:17:27 +00:00
Viktor Szakats
132069d802 2011-02-03 18:13 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
  * config/beos/gcc.mk
  * config/qnx/gcc.mk
  * config/bsd/gcc.mk
  * config/wce/mingwarm.mk
  * config/vxworks/gcc.mk
  * config/minix/gcc.mk
  * config/darwin/gcc.mk
  * config/hpux/gcc.mk
  * config/win/mingw.mk
  * config/linux/gcc.mk
  * config/cygwin/gcc.mk
  * config/symbian/gcc.mk
  * config/os2/gcc.mk
  * config/sunos/gcc.mk
    ! Separate -Wimplicit-int and -Wimplicit-function-declaration 
      so that they are added to cflags only when not in cpp mode.
    ; Patch by Tamas.
2011-02-03 17:14:19 +00:00
Viktor Szakats
530f92449e 2011-02-03 13:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/harbour.hbx
  * src/rtl/hbfilehi.prg
    * HB_PATHMAKEABSOLUTE() swapped two input parameters. Now: ( <PathAbs>, <PathRel> )
    * HB_PATHMAKEABSOLUTE() renamed to HB_PATHJOIN()
    * HB_PATHMAKERELATIVE() 3rd (<lForceRelative>) parameter default changed to .T.
    * HB_PATHMAKERELATIVE() renamed to HB_PATHRELATIVIZE()
    * HB_DIRADDPATHSEP() renamed to HB_DIRSEPADD()
    * HB_DIRDELPATHSEP() renamed to HB_DIRSEPDEL()
    ; HB_PATHNORMALIZE() name finalized

  * contrib/hbide/idemisc.prg
    - Deleted unused hbmk2_PathMakeRelative()
2011-02-03 12:58:47 +00:00
Przemyslaw Czerpak
a504a1e2c9 2011-02-03 13:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbsocket.c
    * added workaround to pacify warning in some winsock header files
      defining SOCKET as signed integer
2011-02-03 12:32:36 +00:00
Przemyslaw Czerpak
395a186e0a 2011-02-03 12:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rdd/dbf1.c
    ! fixed DBI_ENCRYPT to use previously set password if no new one
      is given

  * harbour/src/rdd/hbsix/sxtable.c
    ! fixed wrong parameter checking in SX_SETPASS()
    ! removed wrong comment about optional parameter in SX_DBFENCRYPT()

  * harbour/src/vm/cmdarg.c
    ! added missing OS CP conversion in HB_ARGV()

  * harbour/contrib/hbct/ctmisc.prg
    * use HB_PROGNAME() instead of HB_ARGV( 0 ) in EXENAME()

  * harbour/contrib/hbnetio/readme.txt
    ! fixed two typos in description
2011-02-03 11:31:00 +00:00
Viktor Szakats
3f0fe45d21 2011-02-03 12:27 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/3rd/pcre/Makefile
    ! Disabled inttypes.h also for msvcarm.
      Pls test.
2011-02-03 11:28:39 +00:00
Viktor Szakats
cac8327c29 2011-02-03 09:47 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
  * INSTALL
    + Minix additions.

  * config/global.mk
    ! Added missing 'else' after prev.
2011-02-03 08:47:48 +00:00
Viktor Szakats
93e1f182c4 2011-02-03 09:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbthread.h
  * include/hbdefs.h
  * include/hbsetup.h
  * include/hbatomic.h
  * include/hbfloat.h
  * src/vm/task.c
  * src/common/hbgete.c
  * src/common/hbver.c
  * src/common/hbprintf.c
  * src/rtl/gtcrs/gtcrs.h
  * src/rtl/hbsocket.c
  * utils/hbmk2/hbmk2.prg
  * config/detplat.mk
  * config/global.mk
  * config/detect.mk
  + config/minix
  + config/minix/libs.mk
  + config/minix/gcc.mk
  + config/minix/ack.mk
  + config/minix/global.mk
    + Added Harbour port for minix 3 operating system.
    ; Created by Tamas Tevesz. Many thanks!
2011-02-03 08:20:28 +00:00
Viktor Szakats
aa022c97e0 2011-02-02 22:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
- examples/hbextern
    - Deleted hbextern generator tool. Long time not used and
      now replaced by HB_REBUILD_EXTERN=yes Harbour build option,
      and hbmk2 -hbx= option.
2011-02-02 21:21:48 +00:00
Viktor Szakats
9a1aa13d58 2011-02-02 22:15 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* package/harbour.spec
  * config/postinst.hbs
  - bin/hbmk2l2d.hbs
    - Deleted now obsolete workaround tool. Use HB_BUILD_CONTRIB_DYN=yes 
      instead.
2011-02-02 21:16:19 +00:00
Viktor Szakats
6ef5fd19a8 2011-02-02 22:08 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/postinst.hbs
    * MAKEDIR() -> HB_DIRCREATE().
      Warning: Make a 'make clean' _before_ updating to this revision.
               Or, do a fresh checkout and build that.
               Or, do a clean rebuild twice.
               (otherwise plain 'make clean' will end with an error)

  - examples/pp
    - Deleted obsolete PP code.

  ; NOTE: Now that HB_BUILD_CONTRIB_DYN=yes works pretty much
          okay on both win and linux, I will delete this
          tool meant as a temporary workaround for those
          requiring dynamic versions of Harbour libs:
            bin/hbmk2l2d.hbs
          If you need it, make a copy of it locally, though
          most pbly nobody ever used this.
2011-02-02 21:10:15 +00:00
Viktor Szakats
58dff21164 2011-02-02 18:14 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added -manifest= hbmk2 option for -hbexe/-hbdyn targets on
      Windows platform. (all compilers supported)
      Pls test.
    ; To generate manifests with -hbdyn and pocc/msvc compilers,
      use -dflag=-manifest (or any other manifest related options
      their linker support)
    ; TOFIX: bcc's resource compiler doesn't work in -inc mode.
2011-02-02 17:16:12 +00:00
Viktor Szakats
803e501a35 2011-02-02 11:15 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added "nCOMPVer" variable for hbmk2 plugins. This returns
      C Compiler version, which currently gives results for 
      mingw and msvc.
2011-02-02 10:18:27 +00:00
Viktor Szakats
fc4e4dc590 2011-02-02 11:08 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* package/winuni/mpkg_win_uni.bat
    + Redirect stderr too, into the log file.
2011-02-02 10:09:25 +00:00
Viktor Szakats
00650581a7 2011-02-02 02:22 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/3rd/sqlite3/sqlite3.c
  * contrib/3rd/sqlite3/sqlite3.h
  * contrib/3rd/sqlite3/sqlite3.hbp
    + Updated to 3.7.5 (from 3.7.4)
    ; Patch by Tamas.
2011-02-02 01:22:24 +00:00
Viktor Szakats
a1f1d76db6 2011-02-01 23:08 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt_common.hbc
  * contrib/hbqt/hbqt_common.hbm
  - contrib/hbqt/hbqt_hbmk2_plugin.hbs
  + contrib/hbqt/hbmk2_qt.hbs
    * Renamed HBQT hbmk2 plugin to have a short name.
      Just blind step to help DJGPP get around the long filename
      problems and head into a dead end.
2011-02-01 22:09:16 +00:00
Viktor Szakats
bf983e550f 2011-02-01 22:42 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/hbwin.hbp
  + contrib/hbwin/oleuuid.c
    ! Fixed linking Harbour OLE functions when using watcom
      compiler. It also caused build errors with HB_BUILD_CONTRIB_DYN=yes.
      Many thanks to Andi for suggesting the solution.

  * contrib/xhb/hbsyslog.c
    * Guard cleanup. Patch from Tamas.
2011-02-01 21:43:00 +00:00
Viktor Szakats
03acef5e8c 2011-02-01 22:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbodbc/odbc.c
    ! Added workaround for OpenWatcom (1.9) missing an entry for
      SQLSetStmtAttr() function's wide version (SQLSetStmtAttrW), 
      while it has it properly present in the header.
      The workaround will disable UNICODE for hbodbc lib when
      built for win/watcom.
      [ I'd appreciate if someone could report this problem
      upstream. ]
2011-02-01 21:06:23 +00:00
Viktor Szakats
80ac81c146 2011-02-01 20:24 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnetio/utils/hbnetioq/netiosrq.prg
    ! Fixed casing in #include lines.
      Please remember that case-sensitive file systems exist.
      Patch by Tamas.
2011-02-01 19:24:40 +00:00
Viktor Szakats
6e59779eea 2011-02-01 19:05 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Implemented experimental link script for mingw compilers with
      -hbdyn targets. If it works out it can be extended to -hbexe
      outputs, too. With further work it can be extended for os2 and
      dos platforms. I will only do this if someone actually
      reports such problems and can do tests.
    ; Please retest mingw build with HBQT contrib enabled, long HB_BUILD_NAME,
      and HB_BUILD_CONTRIB_DYN=yes, and also normal cases.
2011-02-01 18:09:40 +00:00
Viktor Szakats
3d8f0d9b7d 2011-02-01 17:31 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Adding clib3s lib to system lib list for win/watcom when
      in -hbdyn mode. This is to fix link errors of 3rd (non-Harbour)
      dynamic libs in HB_BUILD_CONTRIB_DYN=yes mode.
      I have no idea why it's needed, so please extended or tweak
      this fix if you have a better understanding of it.
      (maybe the lib should be add for all platforms, or for
      all link modes, etc)

  * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp
    + Enabled for win/watcom. I don't know since when it builds and
      what fixed it, so it's possible it's still broken with older
      watcom verions. Now it builds fine with 1.9.

  ; TOFIX: watcom still has problems with missing externals when
           building hbwin dll:
              Error! E2028: IID_IDispatch is an undefined reference
              Error! E2028: IID_IOleObject is an undefined reference
              Error! E2028: IID_IUnknown is an undefined reference
              Error! E2028: GUID_NULL is an undefined reference
              Error! E2028: IID_IProvideClassInfo2 is an undefined reference
              Error! E2028: IID_IProvideClassInfo is an undefined reference
              Error! E2028: IID_IConnectionPointContainer is an undefined reference
              Error! E2028: IID_IEnumVARIANT is an undefined reference
           gtwvg dll:
              Error! E2028: IID_IPicture is an undefined reference
           and hbodbc dll:
              Error! E2028: _SQLSetStmtAttrW@16 is an undefined reference
           Any idea?
2011-02-01 16:35:32 +00:00
Viktor Szakats
c9521fc9a7 2011-02-01 16:59 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/3rd/zlib/Makefile
    ! Deleted ugly pocc64 workaround for zlib dynamic build.
      This should fix link errors when using HB_BUILD_CONTRIB_DYN=yes.
2011-02-01 16:00:23 +00:00
Viktor Szakats
0938c26a1e 2011-02-01 16:06 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp
    ! Fixed to build with pocc after recent png update.

  * src/rtl/hbfilehi.prg
    * Comments.
2011-02-01 15:07:13 +00:00
Viktor Szakats
0d27bb4634 2011-02-01 14:39 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnetio/utils/hbnetio/netiosrv.prg
  * contrib/hbnetio/utils/hbnetio/netiocon.prg
    + Added GPL license.

  * contrib/hbnetio/utils/hbnetioq/netiosrq.prg
    + Added GPL license. (once the server code is 
      deleted and only the UI remains, this should 
      be updated)
2011-02-01 13:40:00 +00:00
Viktor Szakats
b8ce859936 2011-02-01 11:36 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    ! Fixed to not define _HB_BUILD_ when doing a custom build 
      (explicitly passed .hbp file) in stdalone mode.

  * contrib/hbnetio/utils/hbnetio/netiosrv.prg
    + Enabled keepsort on the saved configuration hash.

  * contrib/hbhpdf/harupdf.c
    - Deleted wrapper to HPDF_PDFA_GENERATEID(), what rather seems 
      an internal function.
    * Tweaked previous fix to HPDF_PDFA_SETPDFACONFORMANCE(), so that 
      now it's included in dynamic builds, just returning dummy result.
      Still a pending TOFIX though, as it's not right that dynamic 
      and static version of the same lib works differently. Any tips 
      which way to choose? It would be great asking libharu developers 
      about whether HPDF_PDFA_SetPDFAConformance() is meant as a 
      public function.
2011-02-01 10:36:36 +00:00