Commit Graph

185 Commits

Author SHA1 Message Date
Viktor Szakats
f36a5dbd3c 2012-06-15 03:17 UTC+0200 Viktor Szakats (harbour syenar.net)
* bin/3rdpatch.hb
  * contrib/make.hb
    * changed to be executed by hbmk2

  - contrib/hbrun/extdyn.prg
  - contrib/hbrun/hbrun.prg
  - contrib/hbrun/hbrun.rc
  - contrib/hbrun/headers.prg
  - contrib/hbrun/p_ext.hb
  - contrib/hbrun/plugins.prg
  * contrib/hbrun/hbrun.hbp
    % changed to use hbmk2 sources and make file to build hbrun,
      implementing the build method described in previous ChangeLog
      entry. The lost feature is netio management plugin, which
      is now not loaded by default. Plus, since this is a static
      build, dynamic extensions don't work.

  * contrib/make.hb
  * src/pp/ppcore.c
    * deleted reference to hbrun in comment

  * contrib/hbnetio/utils/hbnetio/netiocon.prg
  * contrib/hbnetio/utils/hbnetio/netiomgm.hb
    * __hbrun_plugin() -> __hbshell_plugin()

  * INSTALL
    * minor in previous change
2012-06-15 01:21:55 +00:00
Viktor Szakats
340e351307 2012-06-14 04:00 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbnetio/utils/hbnetio/hbnetio.hbp
  - contrib/hbnetio/utils/hbnetio/netiomgm.prg
  + contrib/hbnetio/utils/hbnetio/netiomgm.hb
    * renamed hbrun/hbmk2 shell plugin code to .hb extension

  * contrib/hbnetio/utils/hbnetio/netiosvc.prg
    ! added missing copyright and SVN ID header

  * utils/hbmk2/hbmk2.prg
    + documented '.' parameter on -help screen.
    ; With this, hbmk2 has all the features of hbrun. Except:
      - it doesn't contain the selection of statically linked
        contribs:
           hbct, hbxpp, hbexpat, hbmemio, hbmzip, hbnetio, hbunix, hbwin
        These can now be loaded on-demand, f.e. by speccing
        them in envvar HB_EXTENSION, from shell prompt or
        #require directive, etc
      - it doesn't contain the 'hbnetio management console' shell
        plugin.
        It now can be loaded by copying /contrib/hbnetio/utils/hbnetio/netiomgm.hb
        to <home>/.harbour/.
      It means hbmk2 can now be used to:
        - convert Harbour source code to various kind of executables/binaries
        - run Harbour source code directly
        - serve as an interactive Harbour prompt/shell.

    ; As a next steps, HB_BUILD_CONTRIB_DYN may be enabled by
      default, hbrun be deleted and hbmk2 renamed to f.e. simply 'hb'.
    ; Needs testing on non-Windows envs
2012-06-14 02:01:21 +00:00
Viktor Szakats
84f5afb216 2012-06-11 21:06 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbtpathy/telepath.prg
    * using hb_default() instead of rolling it manually

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

  * utils/hbmk2/hbmk2.prg
    ! minor typo on help screen
2012-06-11 19:09:28 +00:00
Viktor Szakats
a6fbc56731 2012-06-04 11:28 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbformat/hbfmtcls.prg
    + DispOutAt

  * contrib/hbnetio/utils/hbnetioq/netiosrq.prg
  * contrib/gtwvg/wvgclass.prg
  * contrib/gtwvg/wvgdlg.prg
  * contrib/gtwvg/wvgpaint.prg
  * contrib/gtwvg/wvgtoolb.prg
  * contrib/gtwvg/tests/wvgtbrowser.prg
  * contrib/gtwvg/tests/demoxbp.prg
  * contrib/gtwvg/tests/wvgxbp.prg
  * contrib/gtwvg/tests/wvgactivex.prg
  * contrib/gtwvg/wvgwnd.prg
  * contrib/gtwvg/wvgdatar.prg
  * contrib/gtwvg/wvgsysw.prg
  * contrib/gtwvg/wvgmenub.prg
  * contrib/gtwvg/wvgphdlr.prg
  * contrib/gtwvg/wvgbitmp.prg
  * contrib/gtwvg/wvgstatc.prg
  * contrib/xhb/decode.prg
  * contrib/xhb/ttable.prg
  * contrib/hbide/ideconsole.prg
  * tests/db_brows.prg
  * tests/inkeytst.prg
  * tests/ifinline.prg
  * tests/inifiles.prg
  * tests/test_all.prg
  * tests/fsplit.prg
    * '<>' -> '!=' or '!( == )'
      caught a few _SET_EXACT dependend code too.
2012-06-04 09:30:51 +00:00
Viktor Szakats
c9e121e4ea 2012-05-08 18:20 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbnetio/utils/hbnetio/netiosrv.prg
  * contrib/hbrun/plugins.prg
    - deleted .hbs script support from places where it was 
      unlikely to be used in the wild

  * contrib/hbide/ideplugins.prg
    * changed to support .hb extension for plugins instead of 
      .hbs (plus, same applies as above0
2012-05-08 16:21:26 +00:00
Viktor Szakats
88efc242b2 2012-05-08 17:51 UTC+0200 Viktor Szakats (harbour syenar.net)
* config/postinst.hbs
    * implemented same ASORT() fix as in prev commit by Przemek.
      (it may be important once we modify hbrun/hbmk2 to run 
      scripts under UTF8 CP)

  * contrib/hbnetio/utils/hbnetio/modules.hbp
  - contrib/hbnetio/utils/hbnetio/rpcdemo.hbs
  + contrib/hbnetio/utils/hbnetio/rpcdemo.hb
  - contrib/hbide/plugins/hbide_script_qtgui.hbs
  + contrib/hbide/plugins/hbide_script_qtgui.hb
  - contrib/hbide/plugins/hbide_plugin_savebackup.hbs
  + contrib/hbide/plugins/hbide_plugin_savebackup.hb
  - utils/hbmk2/examples/plug_tpl.hbs
  + utils/hbmk2/examples/plug_tpl.hb
  - tests/stripdoc.hbs
  + tests/stripdoc.hb
    * .hbs -> .hb for Harbour scripts.

  * tests/stripdoc.hb
    + use directry.ch
2012-05-08 15:51:55 +00:00
Viktor Szakats
f5390e31ff 2012-05-04 12:57 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    * .hb? input make files are now considered with UTF8 encoding.
    + enabled full UTF8 CP on *nix systems. EXPERIMENTAL.

  * debian/copyright
  * package/winuni/mpkg_win_uni.nsi
  * utils/hbmk2/hbmk2.prg
  * contrib/hbpost.hbm
  * contrib/hbnetio/utils/hbnetio/modules.hbp
  * contrib/hbnetio/utils/hbnetio/netiosrv.prg
  * contrib/hbqt/hbqt_common.hbm
  * contrib/hbide/ideedit.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/idesaveload.prg
  * contrib/hbrun/hbrun.prg
  * contrib/hbrun/plugins.prg
  * config/postinst.hbs
  * COPYING
    + added support for .hb extension for Harbour scripts.
      I plan to make a full switch to .hb from .hbs.
2012-05-04 10:59:39 +00:00
Viktor Szakats
89b194c0af 2012-05-02 14:02 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbmysql/tsqlbrw.prg
  * contrib/hbct/getsecrt.prg
  * contrib/hbziparc/ziparc.prg
  * contrib/hbblink/blinker.prg
  * contrib/hbnetio/utils/hbnetio/netiosrv.prg
  * contrib/hbhttpd/core.prg
  * contrib/hbhttpd/log.prg
  * contrib/hbwin/win_reg.prg
  * contrib/hbsms/sms.prg
  * contrib/hbcomm/comm.prg
  * contrib/hbtip/log.prg
  * contrib/hbrun/hbrun.prg
    ! updated/fixed for unicode
      (only built-tested)

  * contrib/hbxdiff/hbxdiff.ch
  * contrib/hbblat/blatcls.prg
    * formatting

  ; TOFIX: hb_StrShrink() to work on HVM CP
  ; TOFIX: hbnf, hbtip, xhb, hbide, hbxbp, gtwvg, tests and docs
           for unicode
2012-05-02 12:03:19 +00:00
Viktor Szakats
6429a6ce93 2012-04-19 02:30 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/harbour.hbx
  * contrib/hbnetio/utils/hbnetio/netiosrv.prg
  * contrib/hbrun/hbrun.prg
    ! fixes to prev
2012-04-19 00:32:09 +00:00
Viktor Szakats
b118ac7cdd 2012-04-19 02:23 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/3rd/pcre/Makefile
    + enabled UTF8 support in PCRE (binary size overhead ~150KB)
    + enabled unicode properties support in PCRE (binary size overhead ~50KB)

  * src/rtl/hbregex.c
    + added commented logic to detect UTF8 support in PCRE
      and enable UTF8 mode when the HVM CP is also UTF8. Latter
      logic is missing yet and subject to review.

  * contrib/hbnetio/utils/hbnetio/netiosrv.prg
  * contrib/hbnetio/utils/hbnetio/netiocon.prg
  * contrib/hbnetio/utils/hbnetio/netiomgm.prg
  * contrib/hbrun/hbrun.prg
  * tests/ac_test.prg
  * tests/ac_test2.prg
  * tests/tstmacro.prg
  * tests/tstalias.prg
    * formatted using automatic tools
2012-04-19 00:26:16 +00:00
Viktor Szakats
127a53d197 2012-03-14 02:14 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbqt/tests/ideui.hbp
    ! fixed non-portable local system dependent option.
    * rest cleaned and optimized.

  * contrib/hbqt/hbqt_common.hbm
    - deleted -prgflag=-D_HB_TR_NOALWAYS_

  * contrib/hbxbp/tests/*
  * contrib/hbnetio/utils/hbnetioq/*
  * contrib/hbqt/tests/*
  * contrib/hbhpdf/tests/files/* (except one)
  * contrib/hbgd/tests/imgs_in/*
  * contrib/hbide/resources/*
    % optimized images using ImageOptim (http://imageoptim.com/)
    ; result is 200K smaller hbide executable on all platforms.
2012-03-14 01:24:33 +00:00
Viktor Szakats
50650e8d5b 2012-03-03 15:33 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbmysql/tests/hbmk.hbm
  * contrib/hbct/tests/hbmk.hbm
  * contrib/hbgs/tests/hbmk.hbm
  * contrib/hbmxml/tests/hbmk.hbm
  * contrib/hbmzip/tests/hbmk.hbm
  * contrib/hbunix/tests/hbmk.hbm
  * contrib/sddpg/tests/hbmk.hbm
  * contrib/hbziparc/tests/hbmk.hbm
  * contrib/hbxbp/tests/hbmk.hbm
  * contrib/hblzf/tests/hbmk.hbm
  * contrib/hbxdiff/tests/hbmk.hbm
  * contrib/hbcurl/tests/hbmk.hbm
  * contrib/hbnetio/tests/hbmk.hbm
  * contrib/rddsql/tests/hbmk.hbm
  * contrib/hbmlzo/tests/hbmk.hbm
  * contrib/hbhttpd/tests/hbmk.hbm
  * contrib/gtwvg/tests/hbmk.hbm
  * contrib/hbpgsql/tests/hbmk.hbm
  * contrib/sddsqlt3/tests/hbmk.hbm
  * contrib/hbwin/tests/olesrv1.hbp
  * contrib/hbwin/tests/olesrv2.hbp
  * contrib/hbwin/tests/olesrv3.hbp
  * contrib/hbwin/tests/olesrv4.hbp
  * contrib/hbwin/tests/hbmk.hbm
  * contrib/hbsms/tests/hbmk.hbm
  * contrib/hbzebra/tests/hbmk.hbm
  * contrib/gtalleg/tests/hbmk.hbm
  * contrib/sddmy/tests/hbmk.hbm
  * contrib/xhb/tests/hbmk.hbm
  * contrib/hbodbc/tests/hbmk.hbm
  * contrib/sddfb/tests/hbmk.hbm
  * contrib/hbtpathy/tests/hbmk.hbm
  * contrib/hbsqlit3/tests/hbmk.hbm
  * contrib/hbmagic/tests/hbmk.hbm
  * contrib/hbexpat/tests/hbmk.hbm
  * contrib/hbblat/tests/hbmk.hbm
  * contrib/hbqt/tests/hbmk.hbm
  * contrib/hbfbird/tests/hbmk.hbm
  * contrib/hbbz2/tests/hbmk.hbm
  * contrib/hbnf/tests/hbmk.hbm
  * contrib/hbmemio/tests/hbmk.hbm
  * contrib/hbxpp/tests/hbmk.hbm
  * contrib/hbcups/tests/hbmk.hbm
  * contrib/hbhpdf/tests/hbmk.hbm
  * contrib/rddads/tests/hbmk.hbm
  * contrib/hbfimage/tests/hbmk.hbm
  * contrib/sddodbc/tests/hbmk.hbm
  * contrib/hbgd/tests/hbmk.hbm
  * contrib/hbmisc/tests/hbmk.hbm
  * contrib/sddoci/tests/hbmk.hbm
  * contrib/hbcomm/tests/hbmk.hbm
  * contrib/hbtip/tests/hbmk.hbm
  * contrib/hbcairo/tests/hbmk.hbm
  * contrib/hbssl/tests/hbmk.hbm
    % deleted relative paths from .hbc references
2012-03-03 14:36:00 +00:00
Viktor Szakats
7163bc7d1e 2012-02-28 16:35 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbmysql/utils/hbmk.hbm
  * contrib/hbnetio/utils/hbnetio/hbnetio.hbp
  * contrib/hbnetio/utils/hbnetioq/hbnetioq.hbp
  * contrib/hbformat/utils/hbformat.hbp
    + removed relative path from .hbc references

  * utils/hbmk2/hbmk2.prg
    + show warning when referenced .hbc file could not be found
2012-02-28 15:36:29 +00:00
Viktor Szakats
1b4008723b 2012-01-06 16:13 UTC+0100 Viktor Szakats (harbour syenar.net)
* ChangeLog
  * (whole tree)
    * changed e-mail address
2012-01-06 15:28:23 +00:00
Viktor Szakats
7ad3481808 2011-12-24 03:32 UTC+0100 Viktor Szakats (harbour syenar.hu)
* ChangeLog
  * (whole tree)
    * removed obsolete antispam measure from my e-mail address
2011-12-24 02:47:24 +00:00
Viktor Szakats
eee41e6a0f 2010-12-13 03:33 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/pp/hbpp.c
  * src/compiler/hbusage.c
  * contrib/hbnetio/utils/hbnetio/netiosrv.prg
  * contrib/hbnetio/utils/hbnetio/netiomgm.prg
  * contrib/hbnetio/utils/hbnetioq/netiosrq.prg
  * contrib/hbformat/utils/hbformat.prg
  * contrib/hbide/idethemes.prg
  * contrib/hbrun/hbrun.prg
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
  * utils/hbi18n/hbi18n.prg
  * utils/hbtest/hbtest.prg
  * INSTALL
    * Bumped copyright year to 2012.
2011-12-13 02:35:06 +00:00
Viktor Szakats
930ee4580e 2011-12-13 01:12 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnetio/utils/hbnetio/netiosrv.prg
  * contrib/hbnetio/utils/hbnetio/netiosvc.prg
    + use latest hbwin/wapi capabilities to install service thus
      allowing to change back the default run mode to interactive
    + install service as auto-start
    + added Windows service related option to cmdline help screen
    + display textual error msg on service related errors
    ! minor typo in an error msg
2011-12-13 00:15:18 +00:00
Viktor Szakats
368177fe06 2011-12-12 21:39 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnetio/utils/hbnetio/netiocon.prg
    ! fixed to display generic commands in console help
    + show management console commands in console help
2011-12-12 20:42:44 +00:00
Przemyslaw Czerpak
4bebbd6ac3 2011-06-09 15:31 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapifs.h
  * harbour/src/rtl/filesys.c
    % removed unnecessary PID setting in POSIX file lock function.
    + added new C function:
         int hb_fsLockTest( HB_FHANDLE hFileHandle, HB_FOFFSET nStart,
                            HB_FOFFSET nLength, HB_USHORT uiMode );
      It allows to test file range lock status.
      It returns -1 on error, 0 when lock can be set and value greater
      then 0 if part of given range is locked by other process. In POSIX
      systems this value is PID of current lock owner. In other systems
      it's always 1.
      In uiMode only FLX_SHARED bit is significant.

  * harbour/include/hbapifs.h
  * harbour/src/rtl/filebuf.c
    + added new C function:
         int hb_fileLockTest( PHB_FILE pFile, HB_FOFFSET nStart,
                              HB_FOFFSET nLen, int iType );
      It's redirected to hb_fsLockTest()

  * harbour/contrib/hbnetio/netio.h
  * harbour/contrib/hbnetio/netiocli.c
  * harbour/contrib/hbnetio/netiosrv.c
  * harbour/contrib/hbmemio/memio.c
    + implemented hb_fileLockTest() low level code

  * harbour/include/dbinfo.ch
    + added DBI_LOCKTEST

  * harbour/src/rdd/dbf1.c
    % small code simplification
    + implemented DBI_LOCKTEST
         dbInfo( DBI_LOCKTEST [, <nRecNo> ] ) -> <nStatus>
      returns corresponding results to C level hb_fsLockTest() function.
      If current workarea is already locked then 0 is returned.
      If low level FS is located on POSIX system (accessed directly or by
      HBNETIO) then value greater then 0 is PID of current lock owner.
      If the lock is hold by aliased area or other thread of calling
      process then <nStatus> is current PID. In Other systems 1 is returned
      when lock cannot be set in current workarea.
      If <nRecNo> is given then the test is for RLOCK() otherwise FLOCK()
      operation.
2011-06-09 13:32:19 +00:00
Viktor Szakats
95782b2a31 2011-04-27 00:36 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtcore/hbqt_pointer.cpp
  * contrib/hbqt/qtcore/hbqtcore.hbx
    - deleted HBQT_FINDCHILD(). it used raw pointer. was used by hbqtuitools.
    % deleted unused extern.

  * package/winuni/mpkg_win_uni.bat
  * contrib/hbnetio/utils/hbnetioq/hbnetioq.hbp
  * contrib/hbqt/hbqt.hbc
  * contrib/hbqt/hbqt_all.hbp
  - contrib/hbqt/tests/QtUiTools.txt
  - contrib/hbqt/qtuitools
  - contrib/hbqt/hbqtuitools.hbc
  * contrib/hbide/hbide.hbp
    - deleted dynamic UI loading. it had too many hopeless TOFIXes
      and it required raw pointers. and a lot of bloat.
      Should be reimplemented by loading and processing .ui files
      manually.
2011-04-26 22:37:25 +00:00
Viktor Szakats
443ac3a1ae 2011-04-20 03:43 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + new filter values: lngcpp and lngc. Can be used to
      check forced C++/C mode.

  * contrib/hbmzip/3rd/minizip/ioapi.h
  * contrib/hbmzip/3rd/minizip/zip.h
  * contrib/hbmzip/3rd/minizip/minizip.dif
    ! C++ -> ANSI C comments

  * contrib/hbmzip/3rd/minizip/minizip.hbp
    ! Override c89 mode with gnu89. For f*64() functions.

  * contrib/rddads/rddads.hbp
    ! Override c89 mode with gnu89. ADS headers need it.

  * contrib/hbpre.hbm
    + Forcing c89 mode for GCC family compilers (in non C++ forced mode)
      Results were pretty good and Harbour/3rd party code complies
      very well.

  * contrib/hbunix/hbunix.hbp
  * contrib/hbcurl/hbcurl.hbm
  * contrib/hbnetio/hbnetio.hbp
  * contrib/gtwvg/gtwvg.hbp
  * contrib/hbwin/hbwin.hbp
  * contrib/hbsqlit3/hbsqlit3.hbp
  * contrib/hbexpat/hbexpat.hbp
  * contrib/hbmemio/hbmemio.hbp
    - Deleted just added local c89 mode forcage. Now it's done global.

  * contrib/hbqt/qtgui/hbqtgui.h
    ! Fixed HBQT_TYPE_QIcon redefinintion. Pls check, I didn't rebuild the
      whole package after the mod.
2011-04-20 01:45:35 +00:00
Viktor Szakats
0382ca18a4 2011-04-20 02:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbunix/hbunix.hbp
  * contrib/hbcurl/hbcurl.hbm
  * contrib/hbnetio/hbnetio.hbp
  * contrib/hbnetio/hbnetio.hbx
  * contrib/gtwvg/gtwvg.hbp
  * contrib/hbwin/hbwin.hbp
  * contrib/hbsqlit3/hbsqlit3.hbp
  * contrib/hbexpat/hbexpat.hbp
    + Enabled -std=c89 option when building with any gcc compiler.
      (TOFIX: now GTWVG breaks with error)

      I mean this as an experiment which I'd like to extend
      gradually to whole Harbour as it seems a good way to
      ensure the code being truly ANSI C as we claim it. It 
      can certainly avoid a few unnecessary rounds with 
      committed code problems.

      Now that there are multiple ANSI C standards we may
      want to discuss which level we want to stick with
      (C89/C90, C99, C1X) until then let's assume C89 even though
      not all of Harbour code complies ATM. F.e.:
         ../../../hbprintf.c:543:4: warning: implicit declaration of function 'modfl'
         ../../../hbprintf.c:1146:25: warning: implicit declaration of function 'isfinite'

  * contrib/hbqt/qtgui/hbqt_hbqsyntaxhighlighter.cpp
  * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp
  * contrib/hbqt/qtgui/hbqt_hbqgraphicsscene.cpp
  * contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.cpp
  * contrib/hbqt/qtcore/hbqt_pointer.cpp
  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
    ! Converted C++ style comments to ANSI C.
      Even though it's C++ code it's good to stick with one
      comment style (ANSI C) accross Harbour to avoid getting wrong customs.
      Pls stick to it.
2011-04-20 00:20:49 +00:00
Przemyslaw Czerpak
c079fae074 2011-04-13 17:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbnetio/netiosrv.c
  * harbour/contrib/hbnetio/readme.txt
    + added new server function:
         NETIO_VERIFYCLIENT( <pConnectionSocket> ) -> <lAccepted>
      By default client verification is done inside NETIO_SERVER()
      function but some servers may want to verify client password
      before they execute some expensive initialization code necessary
      for RPC executed from NETIO_SERVER()
2011-04-13 15:19:45 +00:00
Przemyslaw Czerpak
98ae698914 2011-04-01 13:56 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/itemapi.c
    * set NIL to item passed by reference when hb_itemParamStoreForward()
      or hb_itemParamStoreRelease() is called with NULL pItem parameter.

  * harbour/contrib/hbnetio/netiosrv.c
    ! fixed possible memory leak when
         NETIO_SRVSTATUS( ..., NETIO_SRVINFO_PEERADDRESS, ... )
      is called without 3-rd parameter passed by reference

  * harbour/examples/gtwvw/gtwvw.c
    * replaced repeated TONE code with hb_gt_winapi_tone()
    + added MOUSE_GETPOS() method

  * harbour/examples/gtwvw/wvwtbar.c
    ! fixed to compile with Harbour
2011-04-01 11:56:41 +00:00
Przemyslaw Czerpak
14777609cf 2011-03-26 03:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbproces.c
    ! fixed one HB_TRUE wrongly used instead of TRUE
    * minor simplification

  * harbour/include/hbgtinfo.ch
  * harbour/src/rtl/hbgtcore.c
    + added HB_GTI_VERSION - it returns version information just like
      hb_gtVersion() - usually the same but can be different in some
      multilevel GTs, i.e. when different GT drivers are used locally
      and remotely.

  * harbour/include/inkey.ch
  * harbour/src/rtl/hbgtcore.c
    + added HB_K_CONNECT and HB_K_DISCONNECT inkey codes.
      They can be used to signal that remote terminal is connected or
      diconnected.

  * harbour/tests/gtkeys.prg
    + added HB_K_* keycodes

  * harbour/contrib/hbnetio/netiosrv.c
    * removed unnecessary casting
2011-03-26 02:32:52 +00:00
Viktor Szakats
faf75dbc3f 2011-03-09 20:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnetio/utils/hbnetio/hbnetio.hbp
  * contrib/hbnetio/utils/hbnetio/netiosrv.prg
  + contrib/hbnetio/utils/hbnetio/netiosvc.prg
    + hbnetio will act as a service on Windows platform.
      To run it interactively from console, use: 'hbnetio -a'
    ; TOFIX: I'm getting 'error 1067' when starting up the
             service. It get resolved when I build hbnetio in
             -st mode. (I use mingw and did a full rebuild)

  * contrib/rddads/rddads.hbp
    ! Suppressing annoying mingw warning in ace.h.
    ; TOFIX: hbmk2 overrides this ATM.
2011-03-09 19:05:21 +00:00
Pritpal Bedi
b53e573cc2 2011-03-03 14:50 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbnetio/utils/hbnetioq/netiosrq.prg
  * contrib/hbqt/qtuitools/THbQtUILoader.prg
  * contrib/hbxbp/xbpdialog.prg
  * contrib/hbxbp/xbpprinter.prg
    ! Deleted: Q*FromPointer() calls leftovers.
2011-03-03 22:55:51 +00:00
Viktor Szakats
ae0cc750c5 2011-02-20 13:49 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnetio/utils/hbnetio/hbnetio.hbp
  * contrib/hbformat/utils/hbformat.hbp
  * contrib/hbrun/hbrun.hbp
    - Deleted nxcompat (and friends) flags from local .hbp files.
      They are enabled by config/hbpost.hbm, in more precise manner.

  * utils/hbmk2/hbmk2.hbp
  * utils/hbi18n/hbi18n.hbp
  * utils/hbtest/hbtest.hbp
    - Deleted also from here. (These .hbp files are not used
      by core make.)
2011-02-20 12:50:36 +00:00
Viktor Szakats
56c0ad27a6 2011-02-17 00:42 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnetio/utils/hbnetio/hbnetio.hbp
  * contrib/hbrun/plugins.prg
  - contrib/hbnetio/utils/hbnetio/netioeng.prg
  + contrib/hbnetio/utils/hbnetio/netiomgm.prg
    * Renamed.

  - contrib/hbnetio/utils/hbnetio/hbnetioc.hbp
  - contrib/hbnetio/utils/hbnetio/netiocmd.prg
    - Deleted standalone hbnetio management console, now 
      built in hbrun as plugin.
2011-02-16 23:43:18 +00:00
Viktor Szakats
5d3c80c1ce 2011-02-16 22:16 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/hbrun/hbrun.rc
    + Missed from prev commit.
    ! Enable mft/ver features only for msvc, bcc and mingw, the 
      rest will die various deaths.
   
  * package/harb_win.rc
    * Tweak a little to not cause most RC to die.

  * contrib/hbnetio/utils/hbnetio/hbnetio.hbp
  * contrib/hbrun/hbrun.hbp
    * Enabled security options only on win platform.

  * contrib/hbrun/hbrun.hbp
    + Added msvcarm option to avoid fatal compiler error in headers.c.
2011-02-16 21:18:12 +00:00
Viktor Szakats
1c61148f95 2011-02-14 00:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnetio/utils/hbnetio/netioeng.prg
  * contrib/hbrun/hbrun.prg
  * contrib/hbrun/hbrun.hbp
    + netio plugin now supports accepting cmdline parameters
    ! fixed domain handling
    + new 'about' netio command
    + selecting wrong domain will display available options
    * minor tweaks
    + Enabled -head=dep
2011-02-13 23:01:53 +00:00
Viktor Szakats
3d43725e29 2011-02-13 22:42 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbrun/hbrun.prg
  * contrib/hbrun/hbrun.hbp
  + contrib/hbrun/plugins.prg
    + Added plugin support.
    + Added hbnetio management console to hbrun, as plugin.
      Use: "netio.<command> <params>" format to access it.
      Or enter netio command domain with ".netio" and use
      regular netio commands. Exit netio command domain with
      "." command.

  * package/winuni/mpkg_win_uni.bat
  * package/winuni/mpkg_win_uni.nsi
  * contrib/hbplist
    - Stdalone hbnetio management console is not built or
      included in distro anymore. Use hbrun.

  * contrib/hbrun/hbrun.prg
  * contrib/hbrun/hbrun.hbp
  + contrib/hbrun/headers.prg
    * Moved headers to separate file.

  * contrib/hbrun/pullext.prg
    * Minor.

  * contrib/hbnetio/utils/hbnetio/netioeng.prg
  * contrib/hbnetio/utils/hbnetio/netiocon.prg
    * Renamed entry function for console plugin.
2011-02-13 21:45:06 +00:00
Viktor Szakats
dd6e295f82 2011-02-13 19:20 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/hbnetio/utils/hbnetio/netioeng.prg
  * contrib/hbnetio/utils/hbnetio/hbnetio.hbp
  * contrib/hbnetio/utils/hbnetio/hbnetioc.hbp
  * contrib/hbnetio/utils/hbnetio/netiocon.prg
  * contrib/hbnetio/utils/hbnetio/netiocmd.prg
    + netio management client-side command handling moved to 
      a separate module and rewritten to act as a command 
      handler plugin. This makes it possible to move the 
      whole logic inside console hosts, f.e. hbrun.
2011-02-13 18:21:48 +00:00
Viktor Szakats
824c86f7e6 2011-02-09 16:56 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmysql/hbmysql.hbc
  * contrib/hbct/hbct.hbc
  * contrib/hbgt/hbgt.hbc
  * contrib/hbmxml/hbmxml.hbc
  * contrib/make.hbs
  * contrib/hbmzip/hbmzip.hbc
  * contrib/hbunix/hbunix.hbc
  * contrib/sddpg/sddpg.hbc
  * contrib/hbziparc/hbziparc.hbc
  * contrib/hbxbp/hbxbp.hbc
  * contrib/hblzf/hblzf.hbc
  * contrib/hbblink/hbblink.hbc
  * contrib/hbxdiff/hbxdiff.hbc
  * contrib/hbcurl/hbcurl.hbc
  * contrib/hbnetio/hbnetio.hbc
  * contrib/rddsql/rddsql.hbc
  * contrib/hbhttpd/hbhttpd.hbc
  * contrib/gtwvg/gtwvg.hbc
  * contrib/hbpgsql/hbpgsql.hbc
  * contrib/sddsqlt3/sddsqlt3.hbc
  * contrib/hbformat/hbformat.hbc
  * contrib/hbwin/hbwin.hbc
  * contrib/hbsms/hbsms.hbc
  * contrib/gtalleg/gtalleg.hbc
  * contrib/sddmy/sddmy.hbc
  * contrib/hbodbc/hbodbc.hbc
  * contrib/xhb/xhb.hbc
  * contrib/sddfb/sddfb.hbc
  * contrib/hbtpathy/hbtpathy.hbc
  * contrib/rddbm/rddbm.hbc
  * contrib/hbsqlit3/hbsqlit3.hbc
  * contrib/hbmagic/hbmagic.hbc
  * contrib/hbexpat/hbexpat.hbc
  * contrib/hbblat/hbblat.hbc
  * contrib/hbqt/qtgui/hbqtgui.hbc
  * contrib/hbqt/qtwebkit/hbqtwebkit.hbc
  * contrib/hbqt/qtcore/hbqtcore.hbc
  * contrib/hbqt/qtnetwork/hbqtnetwork.hbc
  * contrib/hbqt/qtuitools/hbqtuitools.hbc
  * contrib/hbqt/qscintilla/hbqscintilla.hbc
  * contrib/hbqt/qtdesigner/hbqtdesigner.hbc
  * contrib/hbfbird/hbfbird.hbc
  * contrib/hbbz2/hbbz2.hbc
  * contrib/hbnf/hbnf.hbc
  * contrib/hbmemio/hbmemio.hbc
  * contrib/hbxpp/hbxpp.hbc
  * contrib/hbfship/hbfship.hbc
  * contrib/hbcups/hbcups.hbc
  * contrib/hbfoxpro/hbfoxpro.hbc
  * contrib/hbhpdf/hbhpdf.hbc
  * contrib/hbclipsm/hbclipsm.hbc
  * contrib/rddads/rddads.hbc
  * contrib/hbfimage/hbfimage.hbc
  * contrib/sddodbc/sddodbc.hbc
  * contrib/hbgd/hbgd.hbc
  * contrib/hbmisc/hbmisc.hbc
  * contrib/sddoci/sddoci.hbc
  * contrib/hbcomm/hbcomm.hbc
  * contrib/hbtip/hbtipssl.hbc
  * contrib/hbtip/hbtip.hbc
  * contrib/hbcairo/hbcairo.hbc
  * contrib/hbssl/hbssl.hbc
    * Renamed __HB_DYN__ to _HB_DYNSUFF
    + Added _HB_DYNPREF

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

  * contrib/hbqt/qtgui/hbqtgui.hbc
  * contrib/hbqt/qtwebkit/hbqtwebkit.hbc
  * contrib/hbqt/qtcore/hbqtcore.hbc
  * contrib/hbqt/qtnetwork/hbqtnetwork.hbc
  * contrib/hbqt/qtuitools/hbqtuitools.hbc
  * contrib/hbqt/qscintilla/hbqscintilla.hbc
  * contrib/hbqt/qtdesigner/hbqtdesigner.hbc
    ! Fixed linux static mode when _HB_DYNPREF is set
    * Changed to use ${hb_name} instead of explicit libname
2011-02-09 15:58:45 +00:00
Viktor Szakats
9dd35f9931 2011-02-08 14:50 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnetio/hbnetio.hbp
  + contrib/hbnetio/hbnetio.hbx
    + Added hbx for hbnetio.

  * contrib/hbrunext/pullext.prg
  * contrib/hbrunext/hbrunext.hbp
    + Added hbnetio to hbrunext tool.
2011-02-08 13:51:51 +00:00
Viktor Szakats
9b3f2c7cd3 2011-02-08 13:39 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnetio/utils/hbnetio/netiocon.prg
    + Accepting notification events coming from the server
      in a separate thread, so now they are realtime-ish
      (it's poll). It's little rough around the edges yet.

  * contrib/hbnetio/utils/hbnetio/hbnetioc.hbp
    + Enabled MT mode also for console client.

  * contrib/hbnetio/utils/hbnetio/netiosrv.prg
    + Send out 'shutdown' notifications to mgmnt clients.
2011-02-08 12:43:29 +00:00
Viktor Szakats
19a62d6cf4 2011-02-08 11:05 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* ChangeLog
  * contrib/hbnetio/utils/hbnetio/netiosrv.prg
    ! Set netio root data dir to 'data' subdir by default to
      avoid overwriting anything in the daemon's own
      directory (f.e. its settings)
    ! Set netio root data dir to invalid dir name ("*?:*?:")
      to prevent management clients to create any files
      on server. QUESTION: Is there a better way to prevent 
      RDD I/O redirection for given server session?
2011-02-08 10:06:24 +00:00
Pritpal Bedi
cb70125d53 2011-02-07 17:09 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbnetio/utils/hbnetioq/netiosrq.prg
    ! Enabled: "Stop" a connection, either via toolbar icon or 
      context menu on a connection row in the browser.
    % Fixed: to refresh browser every 3 seconds.
2011-02-08 01:13:07 +00:00
Viktor Szakats
0a54752987 2011-02-08 00:56 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/common/hbverdsp.c
    + Instead of adding "(UNICODE)" marker in build info for UNICODE 
      builds, now it will add "(WINANSI)" for non-UNICODE builds.

  * contrib/hbnetio/utils/hbnetio/netiosrv.prg
    * Using more hb_StrFormat()

  * contrib/hbnetio/utils/hbnetio/netiocon.prg
    * Tweak to one cmd help.

  * utils/hbrun/hbrun.prg
    * Formatting.
2011-02-07 23:58:47 +00:00
Viktor Szakats
ae7292c596 2011-02-08 00:31 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnetio/utils/hbnetio/netiosrv.prg
  * contrib/hbnetio/utils/hbnetio/netiocon.prg
    + Internal enhancements in output creation.

  * INSTALL
    * Minor.
2011-02-07 23:31:39 +00:00
Viktor Szakats
c8336db727 2011-02-07 22:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnetio/utils/hbnetioq/netiosrq.prg
    ! Synced one RPC call with recent change in server.
2011-02-07 21:52:59 +00:00
Pritpal Bedi
61d88fdca7 2011-02-07 13:29 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbnetio/utils/hbnetioq/netiosrq.prg
    ! Ebnabled to get information from netiosrv daemon.
      Currently only connections info. Time interva to refresh 
      browser is 10 seconds currently. Still a lot to be 
      implemented based on latest features of netiosrv daemon.
      A work-in-progress.
2011-02-07 21:34:58 +00:00
Viktor Szakats
cc93259265 2011-02-06 20:22 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnetio/utils/hbnetio/netiosrv.prg
  * contrib/hbnetio/utils/hbnetio/netiocon.prg
    - Deleted filtering on client host name.

  * contrib/hbnetio/utils/hbnetio/netiocon.prg
    ! Fixed RTE when there were no notifications.
2011-02-06 19:23:28 +00:00
Viktor Szakats
4c74c24c52 2011-02-06 14:34 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnetio/utils/hbnetio/netiosrv.prg
    + Reworked and reenabled host name based filtering.
      NOTE: Host name lookup is not implemented for win platforms
            in hbsocket.
2011-02-06 13:34:25 +00:00
Viktor Szakats
c9fece796d 2011-02-06 13:57 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnetio/utils/hbnetio/netiosrv.prg
  * contrib/hbnetio/utils/hbnetio/netiocon.prg
    + Resolved remaining TODOs regarding client notifications.
    + Added automatic deletion of (abnormally) disconnected clients
      from notification list.
    * Commented filter code dealing with host names until we find
      out how to get those from IP.

  * contrib/hbhttpd/core.prg
    ! English translation of one word.

  * contrib/hbformat/hbformat.prg
    ! Added missing ASCAN() from list of functions.
2011-02-06 12:58:09 +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
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
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
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