Commit Graph

15749 Commits

Author SHA1 Message Date
Viktor Szakats
b96ebc81ea 2011-01-31 22:50 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbfilehi.prg
    + PATHNORMALIZE(): Will now strip double pathseps, except the 
      UNC root ones. I hope. Pls make tests.
2011-01-31 21:51:02 +00:00
Viktor Szakats
f35f4e319c 2011-01-31 22:33 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* ChangeLog
    ! Typo in prev.
2011-01-31 21:33:41 +00:00
Viktor Szakats
a0e44fe17f 2011-01-31 22:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/harbour.hbx
  * src/rtl/hbfilehi.prg
    ! HB_DIRADDPATHSEP() fixed to not add pathsep to plain dirspec.
    ! HB_DIRDELPATHSEP() fixed to not remove double pathspec from UNC root.
    ! Fixed to work if HB_OSDRIVESEPARATOR()'s length is not 1:
      HB_PATHMAKERELATIVE(), HB_DIRUNBUILD(), HB_DIRDELPATHSEP().
      (QUESTION: is this a valid possibility, or is this over-design?)
    + Added TODO to HB_CWD() to also be able to change dir.
      This will require adding Harbour versions of DIRCHANGE() and
      DISKCHANGE(), or moving the implementation to C level.
      (possibly the latter)
    - Deleted HB_FNAMEDIREXTSET(). Doesn't satisfy a general need.
2011-01-31 21:29:51 +00:00
Pritpal Bedi
234d80027d 2011-01-31 08:23 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/ideformat.prg
    % Fix to prev commit.
2011-01-31 16:25:24 +00:00
Viktor Szakats
f3f1d04f80 2011-01-31 16:14 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbfilehi.prg
    % Minor optimization, cleanups.

  * contrib/hbide/idemisc.prg
  * contrib/hbide/ideprojmanager.prg
    * Cleaned PathProc() to have the name PathMakeAbsolute().
      Deleted duplicate copies under different names.
2011-01-31 15:14:54 +00:00
Viktor Szakats
c7a2b185d6 2011-01-31 15:48 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/dirdrive.c
    + Added HB_DIRCREATE(), which is same as MAKEDIR() C5.3 function,
      but it's always available, not just when HB_COMPAT_C53 is enabled.
    + Added HB_DIRDELETE(), which is same as DIRREMOVE() C5.3 function,
      but it's always available, not just when HB_COMPAT_C53 is enabled.

   * contrib/hbnetio/tests/netiotst.prg
   * contrib/hbnetio/tests/netiot03.prg
   * contrib/hbfimage/tests/fitest.prg
   * contrib/hbide/idesaveload.prg
   * utils/hbmk2/hbmk2.prg
   * utils/hbrun/hbrun.prg
   * tests/wcecon.prg
   * tests/flink.prg
   * bin/hb3rdpat.hbs
   * examples/hbdoc2/gentpl.prg
     * Replaced MakeDir() with universally available hb_DirCreate().
     ; TODO: same in config/postinst.hbs (delayed to avoid a million
             false bug reports)

  * src/rtl/Makefile
  + src/rtl/hbfilehi.prg
    + Added generic file/dir/path handling functions.
      They are taken from hbmk2 code, added parameter checking,
      did two minor change to DirBuild() to be generic,
      renamed to have HB_ prefix.
      Please note the parameter list and any details are
      subject to change yet, IOW these APIs are not yet finalized:

         hb_cwd() -> <cPath>
         hb_PathNormalize( <cPath> ) -> <cPath>
         hb_PathMakeAbsolute( <cPathRel>, <cPathAbs> ) -> <cPath>
         hb_PathMakeRelative( <cPathBase>, <cPathTarget>, <lForceRelative> ) -> <cPath>
         hb_DirAddPathSep( <cDir> ) -> <cDir>
         hb_DirDelPathSep( <cDir> ) -> <cDir>
         hb_DirBuild( <cDir> ) -> <lSuccess>
         hb_DirUnbuild( <cDir> ) -> <lSuccess>
         hb_FNameDirGet( <cFileName> ) -> <cDir>
         hb_FNameNameGet( <cFileName> ) -> <cName>
         hb_FNameNameExtGet( <cFileName> ) -> <cNameExt>
         hb_FNameExtGet( <cFileName> ) -> <cExt>
         hb_FNameExtDef( <cFileName>, <cDefExt> ) -> <cFileName>
         hb_FNameExtSet( <cFileName>, <cExt> ) -> <cFileName>
         hb_FNameDirExtSet( <cFileName>, <cDirNew>, <cExtNew> ) -> <cFileName>

    ; TODO: Review, clean interface.
    ; TODO: Use these functions in .hbs files, utils, hbide.

  * include/harbour.hbx
    * Updated.

  * utils/hbmk2/hbmk2.prg
    * One internal function renamed.
2011-01-31 14:49:20 +00:00
Viktor Szakats
cae8d16963 2011-01-31 13:38 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbide/idemisc.prg
    ! Applied FN_FromArray() fix to the copy in HBIDE.
    ; QUESTION: Should we make some of these file manipulation
                functions part of core (possibly with
                reorganized names)? These are generally useful, 
                and some of them are not trivial, some others 
                are often used, and all of them generic:
      Some possible candidates from hbmk2:
        hb_pwd()
        PathNormalize( ... )
        PathMakeAbsolute( ... )
        PathMakeRelative( ... )
        PathSepToSelf( ... )
        DirAddPathSep( ... )
        DirDelPathSep( ... )
        DirBuild( ... )
        DirUnbuild( ... )
        FNameDirGet( ... )
        FNameDirExtSet( ... )
        FNameNameGet( ... )
        FNameNameExtGet( ... )
        FNameExtGet( ... )
        FNameExtDef( ... )
        FNameExtSet( ... )
        FNameEscape( ... )
2011-01-31 12:40:04 +00:00
Przemyslaw Czerpak
d3fda49df8 2011-01-31 13:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/utils/hbmk2/hbmk2.prg
    ! small fix in FN_FromArray() which caused that relative paths were
      converted to the root directory, i.e. -workdir=. was not working
      correctly
2011-01-31 12:00:58 +00:00
Viktor Szakats
9528cb877a 2011-01-31 09:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Enabled to use link scripts with msvc compilers, to avoid 
      too long cmdline problems. (experienced when creating 
      qtgui lib in dynamic version (HB_BUILD_CONTRIB_DYN=yes) 
      with HB_BUILD_NAME set to a longer name, so it was quite 
      a stress case and should not cause a problem for most 
      users.)
2011-01-31 08:51:22 +00:00
Pritpal Bedi
7ba6bc0dff 2011-01-30 19:55 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/ideformat.prg
    ! Provided: to view formatted results of select text.
      Now if "Selected Text" checkbox is checked then only 
      selected source is supplied for the formatting.
2011-01-31 03:58:36 +00:00
Pritpal Bedi
2709aa1385 2011-01-30 19:41 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/ideeditor.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/idesaveload.prg
    + Added: .hbp in "Compiler File" types.
             .qrc as "Text Files" type.
    % Rearranged: "Format" option in editing instance's context menu.
2011-01-31 03:50:18 +00:00
Viktor Szakats
8210edac3b 2011-01-31 01:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
+ Added HB_EXPORT flag to these functions: (required by xhb, hbfship)
      hb_stackBaseOffset()
      hb_stackItem()
      hb_stackBaseProcOffset()
      hb_stackGetRecoverBase()
      hb_stackWithObjectOffset()
      hb_memvarSaveInArray()
2011-01-31 00:54:05 +00:00
Viktor Szakats
396ad654d2 2011-01-31 00:59 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnetio/utils/hbnetio/netiosrv.prg
    + Added client address filtering engine for both data and
      management interface. It will do quick match against
      IP, then wildcard match against IP, then quick host name match,
      wildcard hostname match. Block filter has priority over
      allow filter. It's possible to control via management RPC,
      console UI not yet extended to use it. A lot of other
      TODO is quickly generated by this feature, f.e. making
      settings persistent, supporting IP subnet masks, etc.
      I didn't test this at all, pls do.

  * src/rtl/strmatch.c
    ! Typo in comment.
2011-01-31 00:00:27 +00:00
Przemyslaw Czerpak
0e49bea8f9 2011-01-31 00:54 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/pp/ppcore.c
    ! fixed to not strip path in .d dependencies list for files included
      from -I<directories>

  * harbour/utils/hbmk2/hbmk2.prg
    % do not use FindHeader() for dependencies list extracted from .d
      files - they should contain full paths so it's not necessary
2011-01-30 23:54:38 +00:00
Viktor Szakats
655adbdf10 2011-01-31 00:06 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/3rd/sqlite3/sqlite3.hbc
  * contrib/hbmxml/3rd/minixml/mxml.hbc
  * contrib/hbmzip/3rd/minizip/minizip.hbc
  * contrib/hbexpat/3rd/expat/expat.hbc
  * contrib/hblzf/3rd/liblzf/lzf.hbc
  * contrib/hbbz2/3rd/bz2/bz2.hbc
  * contrib/hbxdiff/3rd/libxdiff/xdiff.hbc
  * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbc
    ! Fixed linking in HB_BUILD_CONTRIB_DYN=yes mode.

  * contrib/hbexpat/hbexpat.hbp
    ! Fixed linking in HB_BUILD_CONTRIB_DYN=yes mode with
      certain win compilers (f.e. msvc).

  * ChangeLog
    * Corrected information about recently fixed HBQT problem.
2011-01-30 23:09:11 +00:00
Pritpal Bedi
600de4ff05 2011-01-29 20:35 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbnetio/utils/hbnetioq/hbnetioq.hbp
  + contrib/hbnetio/utils/hbnetioq/manageips.ui
  * contrib/hbnetio/utils/hbnetioq/netiosrq.prg
  * contrib/hbnetio/utils/hbnetioq/netiosrq.qrc
  + contrib/hbnetio/utils/hbnetioq/refresh.png
    + Implemented: activate/deactivate banning IPs from connecting 
      to server. This implementation provides for the -ini=cINIFile 
      command line switch. <cINIFile> contains the info about IPs.
      User-interface to manage activations is via toolbar button 
      which allows to <Add><Delete><Save> IPs and also to flag 
      to activate/deactivate IPs on-the-go.

      TODO: take use of console daemon by separating the user inetrface.
            Hopefully by next week.
2011-01-30 22:39:58 +00:00
Viktor Szakats
3742c1f6f6 2011-01-30 20:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/Makefile
  - src/rtl/base64.prg
  + src/rtl/base64d.c
    + Replaced HB_BASE64DECODE() with an optimized C implementation.
      The core code is borrowed from libb64 project
      (http://sourceforge.net/projects/libb64) and has been places
      to public domain by author Chris Venter.
      I've reformatted the code and made some minor modifications.
      I had used the Harbour license for the whole file.
      This code is 50-100 times faster than old Harbour code doing
      the same job. Please review it, especially the buffer size
      calculation.
      BTW the C code uses a unique trick called 'Duff's device'.
2011-01-30 19:00:54 +00:00
Viktor Szakats
eb1c4c2d89 2011-01-30 18:35 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt_hbmk2_plugin.hbs
    ! Fixed to initialize pText value to avoid GPF when reaching hb_strfree(),
      if non-string parameter is passed instead of string type.
      Pls review, test, etc.

  * contrib/hbide/hbide.hbp
    ! Added static libs required for embedded Harbour compiler.
2011-01-30 17:37:11 +00:00
Viktor Szakats
9d9fd18dfa 2011-01-30 18:09 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddads/rddads.h
    + Detects 10.10.
      BTW 10.10 has finally useful additions.

  * package/winuni/RELNOTES
    * ACE update to 10.10
2011-01-30 17:09:38 +00:00
Viktor Szakats
dfa7d8a708 2011-01-30 16:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbhpdf/harupdf.c
    ! Fixed to build in dynamic mode (HB_BUILD_CONTRIB_DYN=yes).
      Two recently added wrappers (PDF/A related) are not exported 
      from libharu, which may either be a design decision or a bug. 
      Requires further fix once we've found out.
2011-01-30 15:01:51 +00:00
Viktor Szakats
a1dbda51ad 2011-01-30 15:51 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/hbolesrv.c
    ! Fixed doubly defined symbols in HB_BUILD_CONTRIB_DYN=yes.
      'hbmaindllp.lib(dllpcode.obj) : error LNK2005: _DllMain@12 already defined in hbolesrv.obj'
      OLE server code will be left out of the .dll version of hbwin lib, 
      please refine it if needed.
2011-01-30 14:52:42 +00:00
Viktor Szakats
fd56026109 2011-01-30 15:36 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/listbox.prg
    ! LISTBOX(): Fixed RTE (and 5.3 incompatibility) when 
      non-logical/non-NIL type is passed as 5th parameter.
      This makes the ListBox() example included in 5.3 NG behave 
      exactly the same in Harbour as in C5.3. (Yes, the 
      example passes wrong parameter, plus it has a compiler 
      stopping typo, and it still RTEs even after the fix, 
      so better find some better example.)
2011-01-30 14:39:55 +00:00
Viktor Szakats
8a16d1405a 2011-01-30 00:27 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/listbox.prg
    ! Fixed casing in some words in license gone wrong in a very 
      old reformatting session.
2011-01-29 23:28:17 +00:00
Viktor Szakats
045014a57f 2011-01-30 00:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/listbox.prg
    ! _LISTBOX_(): Fixed very old bug (can't access ViewVC ATM, but around ~r7550)
      causing incompatibility with C5.3 regarding IsOpen initial value. It was
      wrongly initialized by parameter what is now correctly renamed to lScrollBar.
      Was wrongly named lIsOpen before this fix.
    % Don't pass default style value to ScrollBar()
2011-01-29 23:22:39 +00:00
Viktor Szakats
f13db9bff6 2011-01-29 20:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
  * utils/hbmk2/hbmk2.*.po
    ! Fixed RTE in FindNewerHeaders() when using autohbc feature.
      (it's regression from around 2010-08-05 15:58 UTC+0200 Viktor Szakats)
    + Added -head=dep option to help.
2011-01-29 19:29:55 +00:00
Przemyslaw Czerpak
e0f6cdda77 2011-01-29 18:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/utils/hbmk2/hbmk2.prg
    ! fixed dependences checking for -head=full and @.clp files
    + added automatic dependencies checking for .prg files using .d
      files generated by harbour compiler (-head=dep)
    ; TODO: extend it for .c files and GCC based compilers
2011-01-29 17:50:40 +00:00
Viktor Szakats
8874af4808 2011-01-29 16:33 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/einstvar.prg
  * src/rtl/einstv52.prg
    * Fixed to use manifest constants. Two more.
2011-01-29 15:33:49 +00:00
Viktor Szakats
3572482250 2011-01-29 16:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/listbox.prg
    * Internal var renamed to reflect its type.

  * src/rtl/einstvar.prg
  * src/rtl/einstv52.prg
    * Fixed to use manifest constants.

  * utils/hbrun/hbrun.prg
    ! Fixed to allow case-insensitive match for headers on 
      non-*nix platforms.
2011-01-29 15:26:56 +00:00
Przemyslaw Czerpak
5e2d58dff3 2011-01-29 14:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/utils/hbmk2/hbmk2.prg
    ! remove .d files from .hbmk working dir when -clean option is used
    ! do not ignore dependencies list read from .d files
    * check dependencies specified by .d files for .c and .o files
      generated from .prg ones
    % some minor optimizations
    ; TOFIX: it's not safe to call FindNewerHeaders() with 3-rd parameter
             set to NIL (RTE) and HBMK2 does it when -autohbc option is used
2011-01-29 13:01:10 +00:00
Viktor Szakats
9bf9f22397 2011-01-29 00:32 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* package/winuni/mpkg_win_uni.bat
  * package/winuni/mpkg_win_uni.nsi
    + Added hbnetio management console to winuni distro.
      (only the 32-bit build, because the 64-bit has no
      advantage at all in case of this thin client app)
2011-01-29 07:11:45 +00:00
Viktor Szakats
965bbf4750 2011-01-29 00:12 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    + Defined _HB_BUILD_=yes to tell .hbp files we're building
      for a Harbour build.

  * contrib/hbnetio/utils/hbnetio/hbnetioc.hbp
  * contrib/hbformat/utils/hbformat.hbp
    + Tweak to not build in -shared mode when directly building
      the .hbp file (and not as part of Harbour build).

  * contrib/hbnetio/utils/hbnetioq/hbnetioq.hbp
  * contrib/hbide/hbide.hbp
    + Added tweak to build in shared mode when building as
      part of Harbour build. This will make the distro size 
      noticeably smaller.

  * contrib/hbnetio/utils/hbnetio/netiosrv.prg
  * contrib/hbnetio/utils/hbnetio/netiocon.prg
    + Show server config feature converted to client-server.
2011-01-28 23:13:55 +00:00
Viktor Szakats
56c37735f7 2011-01-28 23:35 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbplist
    + Added hbnetioc to tools automatically built.
      This is management console for hbnetio deamon.

  * contrib/hbnetio/utils/hbnetio/hbnetioc.hbp
    * Tweak to build hbformat in shared mode for
      win/wce/os2 systems.
2011-01-28 22:38:00 +00:00
Viktor Szakats
f000df1353 2011-01-28 21:41 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.hu_HU.po
    ! Minor fix.

  * utils/hbmk2/hbmk2.prg
    ! Resolved TOFIXes related to cygwin.
    + Added -head=dep option. Nothing fancy, just making room for it.
2011-01-28 20:42:09 +00:00
Viktor Szakats
f07d02c3a0 2011-01-28 11:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Changed to use hb_milliSeconds() to measure build time
      when using -debugtime option. This will now work precisely
      for builds taking more than 1 day.
2011-01-28 10:03:57 +00:00
Viktor Szakats
9cc967e87b 2011-01-28 01:35 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    * Cleaned up Harbour build specific information in generated
      comment.
2011-01-28 00:35:56 +00:00
Viktor Szakats
49a19f18d0 2011-01-28 01:27 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added experimental support for creating extern headers in .hbx.
      It's currently only supported for static libs (-hblib mode),
      and only for gcc based compilers (can be extended to all
      platorms where 'nm' tool is available), msvc, pocc, watcom
      and bcc compilers. Some of these have not been tested.
      The feature implements the same functionality which already
      exists in Harbour build system (enabled with HB_REBUILD_EXTERN=yes),
      but now integrated into hbmk2 and with few minor enhancements.
2011-01-28 00:28:31 +00:00
Viktor Szakats
7a46f701c1 2011-01-27 20:54 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnetio/utils/hbnetio/netiosrv.prg
  * contrib/hbnetio/utils/hbnetio/netiocon.prg
  * contrib/hbnetio/utils/hbnetio/netiocmd.prg
    * Minor cleanups.

  * examples/pp/pp.c
  * examples/pp/hbpragma.c
  * examples/pp/hbppcore.c
  * examples/pp/hbppcomp.c
  * examples/pp/hbppdef.h
    * Reformatted with uncrustify. Still an amazing tool.
2011-01-27 19:54:35 +00:00
Przemyslaw Czerpak
6ad722ca12 2011-01-27 20:46 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/examples/pp/hbppdef.h
  * harbour/examples/pp/hbpragma.c
    * updated to compile with current header files.
2011-01-27 19:46:38 +00:00
Viktor Szakats
4ab21df05c 2011-01-27 14:30 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnetio/utils/hbnetio/hbnetio.hbp
  * contrib/hbnetio/utils/hbnetio/hbnetioc.hbp
  * contrib/hbnetio/utils/hbnetio/netiosrv.prg
  + contrib/hbnetio/utils/hbnetio/netiocon.prg
  - contrib/hbnetio/utils/hbnetio/netiocui.prg
  + contrib/hbnetio/utils/hbnetio/netiocmd.prg
    + Split netiocui.prg into cmdline tool and
      console logic. The latter is now used by both 
      the daemon tool and cmdline tool.
2011-01-27 13:30:44 +00:00
Viktor Szakats
9b10f7e0f3 2011-01-27 13:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbplist
  - contrib/hbnetio/utils/netiosrq
  + contrib/hbnetio/utils/hbnetio
  - contrib/hbnetio/utils/netiosrv
  + contrib/hbnetio/utils/hbnetioq
    * Renaming second pass.
2011-01-27 12:55:29 +00:00
Viktor Szakats
f7381c653d 2011-01-27 13:49 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbplist
  - contrib/hbnetio/utils/netiosrv/netiosrv.hbp
  + contrib/hbnetio/utils/netiosrv/hbnetio.hbp
  - contrib/hbnetio/utils/netiosrv/netiocui.hbp
  + contrib/hbnetio/utils/netiosrv/hbnetioc.hbp
  - contrib/hbnetio/utils/netiosrq/netiosrq.hbp
  + contrib/hbnetio/utils/netiosrq/hbnetioq.hbp
    ! Renamed back to get in sync with installer.
    ; TOFIX: Change hbnetioq to a pure management client without
             embedded server daemon code. Pritpal, can you do it?
    ; TODO: Change hbnetio to be pure server daemon and add separate
            management console tool. Or, it's possible to put the
            console UI in a lib and keeping it included in daemon
            for convenience.
2011-01-27 12:50:02 +00:00
Viktor Szakats
94f676343b 2011-01-27 12:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* ChangeLog
    * Marked TODOs/TOFIXes DONE.
2011-01-27 11:27:36 +00:00
Viktor Szakats
888e666f9c 2011-01-27 10:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/tget.prg
    * Formatting.

  * contrib/hbnetio/utils/netiosrv/netiocui.prg
    + Added some SETs.
2011-01-27 09:22:02 +00:00
Przemyslaw Czerpak
7caf68b601 2011-01-27 07:29 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rdd/wacore.c
    % minor optimization

  * harbour/src/rdd/usrrdd/usrrdd.c
    + extended USRRDD_ID() to accept RDD name as parameter

  * harbour/src/rdd/usrrdd/rdds/arrayrdd.prg
  * harbour/src/rdd/usrrdd/rdds/logrdd.prg
    ! fixed to not use:
         ( AScan( RDDLIST( RDT_FULL ), "ARRAYRDD" ) - 1 )
      to extract RDD ID.
      In theory it could work if RDDLIST( 0 ) is used instead
      of RDDLIST( RDT_FULL ) anyhow it's much more efficient to
      simply store RDD ID in static variable inside *_GETFUNCTABLE()
      function
2011-01-27 06:29:31 +00:00
Viktor Szakats
314a8a3fa5 2011-01-27 01:30 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnetio/utils/netiosrv/netiosrv.prg
  * contrib/hbnetio/utils/netiosrv/netiocui.prg
    + Added 'clientinfo <ip:port>' console command. This will
      display the self-identification variable sent by the client
      to the server on connect. It's fully up to the client what
      this info contains. The command works for both normal
      and management connections.
    + Added 'adminfo' console command to list management client
      connections.
    + Added stream based "cargo" data exchange based on Przemek's
      code, purely as an experiment. Cargo data will be shown
      in connection lists.
    % Optimized out redundant connector code in console UI.
2011-01-27 00:30:26 +00:00
Przemyslaw Czerpak
6e1a0844d2 2011-01-27 00:22 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbcompdf.h
  * harbour/src/compiler/hbmain.c
    * save and restore compiler settings when separated .prg files are
      compiled as different modules. Files compiled as single module
      (i.e. by .clp files, #included, added by DO ... [WITH ...], etc.)
      are still compiled using the same settings inheriting any modifications
      introduced by #pragma. It's intentional behavior.
2011-01-26 23:22:54 +00:00
Przemyslaw Czerpak
f3259b2cab 2011-01-26 23:56 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbpp.h
  * harbour/src/pp/ppcore.c
    ! added resetting some internal PP states in hb_pp_reset()
2011-01-26 22:56:48 +00:00
Viktor Szakats
e5f2b0b9ae 2011-01-26 23:22 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnetio/utils/netiosrv/netiocui.prg
    + Shows server address in prompt when connected.
    + Shows server address when connecting.
2011-01-26 22:23:01 +00:00
Viktor Szakats
4215550198 2011-01-26 23:14 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnetio/utils/netiosrv/netiosrv.prg
  * contrib/hbnetio/utils/netiosrv/netiocui.prg
    + RPC command names changed to begin with "hbnetiomgm_" (instead of "netio_")
    % Using constants for default ip/port and showing them
      dynamically in help screens.
    + Cleaned CUI options now there is simple -addr=<ip[:port]> format
      supported.
    * CUI option -adminpass= renamed to -pass=.
    + CUI now supports disconnect/connect command on the console.
      connect will ask for the password if omitted.
      It also means that console can now be in 'disconnected' state.
      This will be the mode it starts up when no password is
      specced on the cmdline.
2011-01-26 22:15:15 +00:00
Viktor Szakats
738886616f 2011-01-26 20:58 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnetio/utils/netiosrv/netiocui.prg
    * Minor correction in help screen.
2011-01-26 19:59:10 +00:00