Commit Graph

15684 Commits

Author SHA1 Message Date
Viktor Szakats
6aa074cd5b 2011-01-25 15:58 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnetio/utils/netiosrv/netiosrv.prg
    * Eliminated netio_srvSocket() call.
    + Displaying bytes sent and received.
    + Displaying connection status.
    ; TOFIX: NETIO_SRVINFO_PEERADDRESS doesn't seem to work, returning NIL (or nothing),
             it's possible I'm missing something.
2011-01-25 14:58:22 +00:00
Viktor Szakats
9b70178aee 2011-01-25 15:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnetio/utils/netiosrv/netiosrv.hbp
    ! Corrected relative path to hbnetio.hbc

  * contrib/hbnetio/hbnetio.hbc
    ! Added missing incpath option.

  * contrib/hbnetio/hbnetio.ch
  * contrib/hbnetio/netiosrv.c
    ! Typo: NETIO_SRVINFO_PEERADDRES -> NETIO_SRVINFO_PEERADDRESS

  * contrib/hbnetio/netiosrv.c
    - Deleted: NETIO_OPENFILESCOUNT().
    ; TODO: Pls update netiosrq to use the new interface.
            Same for netiosrv. I'll do it in next commit.

  * contrib/hbnetio/hbnetio.ch
    ! Added notice that this .ch file is used also by .c code.
2011-01-25 14:28:48 +00:00
Przemyslaw Czerpak
1a44f58622 2011-01-25 14:19 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapiitm.h
  * harbour/src/vm/itemapi.c
    + added new C function hb_itemParamStoreRelease()
    * modified hb_itemParamStore*() functions to accept NULL items

  + harbour/contrib/hbnetio/hbnetio.ch
  * harbour/contrib/hbnetio/netio.h
  * harbour/contrib/hbnetio/netiosrv.c
  * harbour/contrib/hbnetio/readme.txt
    + extended NETIO_SRVSTATUS() function so now it can be used to
      extract some additional information about connection socket:
         NETIO_SRVSTATUS( <pConnectionSocket>
                          [, <nStreamID> | <nSrvInfo>, @<xData> ] )
                  -> <nStatus>
      <nSrvInfo> can be:
         NETIO_SRVINFO_FILESCOUNT
         NETIO_SRVINFO_BYTESSENT
         NETIO_SRVINFO_BYTESRECEIVED
         NETIO_SRVINFO_PEERADDRES

    ; TODO: please eliminate NETIO_SRVSOCKET() from any code using it.
            It's too danger so I'll remove this function from HBNETIO soon.
            NETIO_SRVOPENFILESCOUNT() is also redundant now and can be
            replaced by:
               NETIO_SRVSTATUS( pConnSock, NETIO_SRVINFO_FILESCOUNT, @nCount )
            so it can be removed too.
2011-01-25 13:19:32 +00:00
Viktor Szakats
eb7c0ce7a4 2011-01-25 12:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnetio/utils/netiosrv/netiosrv.prg
  * contrib/hbnetio/utils/netiosrv/netiocmd.prg
    + Added 'conn' console command to show number of connections
      and show information for all connections. The data includes
      IP and port, time of connection, no. of open files.
      Utilizing some concepts from Pritpal's netiosrq code, but
      rewritten, so new code doesn't use STATIC var, it's
      little bit more efficient. I didn't implement unfinished
      features, like byte counting.
2011-01-25 11:12:31 +00:00
Viktor Szakats
a91043008f 2011-01-25 11:07 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnetio/utils/netiosrq/netiosrq.prg
    ! STATIC var prefix with s_.
2011-01-25 10:08:11 +00:00
Viktor Szakats
d1fea6da08 2011-01-25 10:41 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbplist
  - contrib/hbnetio/utils/netiosrv/hbnetio.hbp
  + contrib/hbnetio/utils/netiosrv/netiosrv.hbp
    * Renamed.

  * contrib/hbnetio/netiosrv.c
    ! Fixed build-stopper typo in this modification:
         2011-01-25 12:41 UTC-0800 Pritpal Bedi
      I'd like to ask developers to _at least_ do _build test_
      before committing to SVN !!!
      Obviously this wasn't done for the above commit.

  - contrib/hbnetio/utils/netiosrq/netiosrvq.prg
  + contrib/hbnetio/utils/netiosrq/netiosrq.prg
  - contrib/hbnetio/utils/netiosrq/netiosrvqt.hbp
  + contrib/hbnetio/utils/netiosrq/netiosrq.hbp
  - contrib/hbnetio/utils/netiosrq/netiosrvq.qrc
  + contrib/hbnetio/utils/netiosrq/netiosrq.qrc
  - contrib/hbnetio/utils/netiosrq/harbour.ico
    ! Fixed inconsistent names.
    - Deleted Windows specific icon file.
    ! Fixed long filenames.
    + Added icon for OS/2.
    ; TOFIX: Build doesn't work due to missing external (CONFIRMBOX).
2011-01-25 09:44:22 +00:00
Viktor Szakats
c498928a81 2011-01-25 10:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbunix/daemon.c
    ! Fixed gcc warning. Patch by Tamas.

  * contrib/hbplist
  - contrib/hbnetio/utils/netiosrvq.prg
  - contrib/hbnetio/utils/harbour.png
  - contrib/hbnetio/utils/fullscreen.png
  - contrib/hbnetio/utils/netiosrvqt.hbp
  - contrib/hbnetio/utils/exit.png
  - contrib/hbnetio/utils/about.png
  - contrib/hbnetio/utils/terminate.png
  - contrib/hbnetio/utils/help.png
  - contrib/hbnetio/utils/harbour.ico
  - contrib/hbnetio/utils/netiosrvq.qrc
  + contrib/hbnetio/utils/netiosrq
  + contrib/hbnetio/utils/netiosrq/netiosrvq.prg
  + contrib/hbnetio/utils/netiosrq/fullscreen.png
  + contrib/hbnetio/utils/netiosrq/harbour.png
  + contrib/hbnetio/utils/netiosrq/netiosrvqt.hbp
  + contrib/hbnetio/utils/netiosrq/harbour.ico
  + contrib/hbnetio/utils/netiosrq/help.png
  + contrib/hbnetio/utils/netiosrq/terminate.png
  + contrib/hbnetio/utils/netiosrq/exit.png
  + contrib/hbnetio/utils/netiosrq/about.png
  + contrib/hbnetio/utils/netiosrq/netiosrvq.qrc
  - contrib/hbnetio/utils/hbnetio.hbp
  - contrib/hbnetio/utils/rpcdemo.hbs
  - contrib/hbnetio/utils/modules.hbp
  - contrib/hbnetio/utils/netiosrv.prg
  - contrib/hbnetio/utils/netiocmd.prg
  + contrib/hbnetio/utils/netiosrv
  + contrib/hbnetio/utils/netiosrv/hbnetio.hbp
  + contrib/hbnetio/utils/netiosrv/modules.hbp
  + contrib/hbnetio/utils/netiosrv/netiosrv.prg
  + contrib/hbnetio/utils/netiosrv/rpcdemo.hbs
  + contrib/hbnetio/utils/netiosrv/netiocmd.prg
    ! Fixed long filenames not allowed area. (more to come)
      Please don't upload long filenames without discussion.
    ! Fixed mixing two multi-file tool source into the same dir.
    ! Fixed to not put Windows specific icon file to non-Windows area.

  * contrib/hbnetio/netiosrv.c
  * contrib/hbnetio/utils/netiosrq/netiosrvq.prg
    * Renamed NETIO_SRVOPENFILES() to NETIO_SRVOPENFILESCOUNT().
      (it doesn't actually return list of file just number of files)
2011-01-25 09:23:41 +00:00
Pritpal Bedi
0647fa4b7d 2011-01-25 12:41 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbxbp/xbp3state.prg
  * contrib/hbxbp/xbpbrowse.prg
  * contrib/hbxbp/xbpcheckbox.prg
  * contrib/hbxbp/xbpdataref.prg
  * contrib/hbxbp/xbplistbox.prg
  * contrib/hbxbp/xbpmenubar.prg
  * contrib/hbxbp/xbpmle.prg
  * contrib/hbxbp/xbpradiobutton.prg
  * contrib/hbxbp/xbpscrollbar.prg
  * contrib/hbxbp/xbpsle.prg
  * contrib/hbxbp/xbpspinbutton.prg
  * contrib/hbxbp/xbptoolbar.prg
  * contrib/hbxbp/xbptreeview.prg
  * contrib/hbxbp/xbpwindow.prg
    ! Renamed: XbpDataRef() => DataRef() to be exact Xbase++ compatible.
    + XbpMenu():popup()

  * contrib/hbnetio/netiosrv.c
    + Added: NETIO_SRVOPENFILES( pConnectionSocket ) -> nFilesOpen

  + contrib/hbnetio/utils/harbour.ico
  + contrib/hbnetio/utils/about.png
  + contrib/hbnetio/utils/exit.png
  + contrib/hbnetio/utils/fullscreen.png
  + contrib/hbnetio/utils/harbour.png
  + contrib/hbnetio/utils/help.png
  + contrib/hbnetio/utils/terminate.png
  + contrib/hbnetio/utils/netiosrvq.qrc
  + contrib/hbnetio/utils/netiosrvq.prg
  + contrib/hbnetio/utils/netiosrvqt.hbp
    + Added: GUI NetIO Server based on hbXBP and hbQT.
             implements : DateTime In, DateTime Out, IP connected from,
                          Port number connected from, number of files open.
             implements : Termination of a particular connection
                          via context menu or toolbar icon.
2011-01-25 08:51:49 +00:00
Przemyslaw Czerpak
a5d1bcaee7 2011-01-24 23:12 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbcomp.h
  * harbour/src/compiler/cmdcheck.c
  * harbour/src/compiler/hbmain.c
  * harbour/src/compiler/hbusage.c
    - removed some old unused declarations and code

  * harbour/src/main/harbour.1
    * updated
2011-01-24 22:12:58 +00:00
Przemyslaw Czerpak
37d5c5b3be 2011-01-23 19:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
- harbour/contrib/hbunix/guids.c
  + harbour/contrib/hbunix/uidgid.c
  * harbour/contrib/hbunix/hbunix.hbp
    * renamed
2011-01-23 18:10:43 +00:00
Viktor Szakats
37999ce922 2011-01-23 17:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbhpdf/harupdf.c
    + Added wrapper for HPDF_UseUTFEncodings().
      It requires 2.3.0 which is not released yet, so it's also not
      the version hosted in Harbour SVN.
2011-01-23 16:27:54 +00:00
Viktor Szakats
fa950fae9c 2011-01-23 10:23 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Minor typo in help text.

  * utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.es_PE.po
    + Updated from source.

  * contrib/hbmxml/tests/rem.xml
  * contrib/hbmxml/tests/rem_err.xml
    ! Added missing EOL @ EOF.

  * contrib/hbunix/hbposix.h
    + Added generic macro to accept both logical and numeric type for
      boolean-like input parameters.

  * contrib/hbunix/tests/testdmn.prg
  * contrib/hbunix/daemon.c
    + UNIX_DAEMON(): Changed to accept numeric value for logical parameters.
    + UNIX_DAEMON(): Changed to return numeric value.
    ; Patch by Tamas.
2011-01-23 09:24:47 +00:00
Viktor Szakats
4b18334560 2011-01-21 16:47 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/hb_c.cfg
    * Changed to align assignments.
    ! Fixed to align case statments like it's done in Harbour.

  * contrib/gtwvg/wvgcuig.c
  * contrib/gtwvg/wvgwin.c
  * contrib/gtwvg/wvgutils.c
  * contrib/gtwvg/wvgcore.c
  * contrib/gtwvg/wvgwing.c
    * Reformatted with uncrustify.
      Results are fantastic with this tool.
2011-01-21 15:47:47 +00:00
Viktor Szakats
f067179880 2011-01-21 16:31 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
- contrib/hbunix/hbposix.hbp
  + contrib/hbunix/hbunix.hbp
  - contrib/hbunix/hbposix.hbc
  + contrib/hbunix/hbunix.hbc
  - contrib/hbunix/hbposix.c
  + contrib/hbunix/posix.c
  * contrib/hbunix/tests/hbmk.hbm
    * Renamed hbposix lib to hbunix. Step 2 of 2.
    ; Please test.

  * contrib/hbunix/daemon.c
  * contrib/hbunix/tests/testdmn.prg
    * Renamed HB_POSIX_DAEMON() to UNIX_DAEMON().
2011-01-21 15:32:46 +00:00
Viktor Szakats
9a1a08e84c 2011-01-21 16:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
- contrib/hbposix
  + contrib/hbunix
  * contrib/hbplist
    * Renaming hbposix lib to more generic hbunix. Step 1 of 2.
2011-01-21 15:27:16 +00:00
Przemyslaw Czerpak
8b7bbecb9d 2011-01-21 10:44 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
+ harbour/contrib/hbposix/hbposix.h
    + added header file for POSIX function wrappers

  * harbour/contrib/hbposix/hbposix.hbp
  + harbour/contrib/hbposix/posixerr.c
    + added C functions to save/restore errno value
    + added POSIX_ERRNO() PRG function

  + harbour/contrib/hbposix/guids.c
    + added POSIX_[GS]ET[E][UG]ID() functions

  * harbour/contrib/hbposix/daemon.c
    * use hbposix.h
    * save errno

  * harbour/contrib/hbposix/hbposix.c
    * use hbposix.h
2011-01-21 09:44:30 +00:00
Viktor Szakats
d43bb8058f 2011-01-21 09:59 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/hbposix/tests/testdmn.prg
  * contrib/hbposix/hbposix.hbp
  + contrib/hbposix/daemon.c
    + Added HB_POSIX_DAEMON( lNoChdir, lNoClose ) --> lResult

  * contrib/hbmxml/hbmxmlp.prg
  * contrib/hbmagic/hbmagis.prg
  * contrib/hbmagic/tests/hbmagit.prg
  * contrib/hbmagic/hbmagic.c
    ! Minor fix to copyright line.

  ; Patch from Tamas. Thank you!

  * contrib/hbposix/tests/testdmn.prg
  * contrib/hbposix/daemon.c
    * Renamed POSIX_DAEMON() to HB_POSIX_DAEMON() to reflect 
      fact that it implement higher level posix functionality 
      (as opposed to being a direct wrapper to posix function 
      names 'deamon()')
2011-01-21 09:00:49 +00:00
Przemyslaw Czerpak
7263e28508 2011-01-21 07:04 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbmxml/hbmxml.c
    % optimization - moved hb_itemNew()/hb_itemRelease() outside for()
      loop
2011-01-21 06:04:51 +00:00
Viktor Szakats
0b27183357 2011-01-21 02:22 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/hb_c.cfg
    + Some more settings.
    * Changed to not wrap lines at column 100. It'd be great 
      feature, though sometimes it makes code less readable.

  * contrib/gtwvg/wvgcuig.c
  * contrib/gtwvg/wvgwin.c
  * contrib/gtwvg/wvgutils.c
  * contrib/gtwvg/wvgcore.c
  * contrib/gtwvg/wvgwing.c
    ! Fixed formatting using uncrustify.

  * contrib/gtwvg/wvggui.c
    * Minor modification to make it not break when autoformatted.

  * contrib/hbmisc/dates2.c
  * contrib/hbtip/encurlc.c
  * contrib/hbwin/win_prn2.c
    % Optimized out HB_ISLOG() calls.
2011-01-21 01:22:58 +00:00
Viktor Szakats
b6117f003d 2011-01-20 20:31 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/c.mk
  * config/rules.mk
    + Added support for Objective C input files (.m)
2011-01-20 19:32:03 +00:00
Viktor Szakats
13c432e920 2011-01-20 19:09 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/hbct/misc4.c
  * contrib/hbct/dummy.c
  * contrib/hbct/hbct.hbp
  * contrib/hbct/hbct.hbx
    + Added two very simple functions ISAT() and TOOLVER().
2011-01-20 18:10:16 +00:00
Viktor Szakats
68cd610785 2011-01-20 18:48 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmxml/hbmxml.hbx
    ! Updated.

  * contrib/hblzf/hblzf.hbp
  + contrib/hblzf/hblzf.hbx
  + contrib/hblzf/hblzfx.prg
  * contrib/hbxdiff/hbxdiff.hbp
  + contrib/hbxdiff/hbxdiff.hbx
  + contrib/hbxdiff/hbxdiffx.prg
    + Added extern puller parts.
2011-01-20 17:48:37 +00:00
Viktor Szakats
076030bc1a 2011-01-20 18:28 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* package/harbour.spec
  * package/harbour-win.spec.in
  * package/harbour-wce.spec.in
  * include/hbver.h
  * config/global.mk
    + Changed version number to:
         2.1.0rc1 (from 2.1.0beta3)
2011-01-20 17:30:41 +00:00
Przemyslaw Czerpak
19515c4899 2011-01-20 11:37 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbmxml/hbmxml.c
    ! redesigned to use mxml_node reference counters - it should fix
      all problems with memory leak and accessing freed memory which
      where in our wrapper.
    ! fixed few typos and possible GPF I've found
    ! modified mxmlDelete() wrapper to respect reference counter
      It means that it cannot call mxmlDelete() MXML function directly.
    - removed mxmlRelease() and mxmlRetain() PRG wrappers

  * harbour/contrib/hbmxml/3rd/minixml/mxml_fil.c
    ! fixed double mxml_node releasing

  * harbour/contrib/hbmxml/3rd/minixml/mxml_nod.c
    ! fixed mxmlDelete() to respect reference counters

    ; TODO: There are still two problems but inside MXML library.
      1. memory leak in testmxml rem_err.xml
        The leak is inside MXML function and have to be fixed by author
        (I do not want to change this code too deeply). Here is valgrind
        report:
            (88 direct, 1 indirect) bytes in 1 blocks are definitely lost
            at 0x4C234E7: calloc ()
            by 0x40ABF9: mxml_new (mxml_nod.c:758)
            by 0x40AE39: mxmlNewText (mxml_nod.c:547)
            by 0x407421: mxml_load_data (mxml_fil.c:1585)
            by 0x404E50: HB_FUN_MXMLLOADFILE (hbmxml.c:794)
            by 0x50A9FF6: hb_vmProc (hvm.c:5795)
            by 0x5086104: hb_vmExecute (hvm.c:1655)
            by 0x50A9FF6: hb_vmProc (hvm.c:5795)
            by 0x50ADC12: main (mainstd.c:96)
      2. Index functions in MXML library does not update reference counters.
         It means that it's possible to create index then remove nodes and
         access such nodes extracting their addresses from the index.
         It's the only one place I know when user can make sth wrong with
         memory using just modified HBMXML wrapper and it cannot be fixed
         without modifications in MXML library.

    Please test it.
2011-01-20 10:37:50 +00:00
Przemyslaw Czerpak
3ecdaafa86 2011-01-19 17:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbnetio/netiomt.prg
    + added 8-th parameter <sSrvFunc> to NETIO_MTSERVER().
      It allows to set own server function which can be used for
      statistic or connection INIT/EXIT code. By default it's
      @netio_server() is used.
      User functions may look like:
         function custom_netio_server( pConnectionSocket )
            register_connection( pConnectionSocket )
            begin sequence
               netio_server( pConnectionSocket )
            finally
               unregister_connection( pConnectionSocket )
            end sequence
         return nil

  * harbour/contrib/hbnetio/netiosrv.c
    + added new server function
         NETIO_SRVSOCKET( <pConnectionSocket> ) -> <pHbSocket>
      <pHbSocket> can be used with Harbour socket functions (hb_socket*())
      Please remember that <pHbSocket> handle can be used only for statistics
      and must not be used for any send/receive operations.

  * harbour/contrib/hbnetio/readme.txt
    * updated

  * harbour/contrib/hbwin/tests/olesrv1.prg
    * modified to return HVM error object as OLE object to the client
      on RTE
2011-01-19 16:06:12 +00:00
Przemyslaw Czerpak
0ebf1ee5cb 2011-01-19 07:21 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbexpra.c
    ! fixed casting for C++ mode
2011-01-19 06:21:37 +00:00
Przemyslaw Czerpak
8761be1d95 2011-01-18 22:27 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbexpra.c
  * harbour/include/hbexprb.c
  * harbour/src/common/expropt1.c
    ! fixed codeblock parameter processing in EVAL() call inside codeblock
      when -kc compiler switch is used
    ! fixed potential modification of constant string

  + harbour/contrib/hbfship/users.c
    + added new FlagShip compatible functions:
         USERSMAX() -> <nMaxUsers> (1024)
      (1024 is returned by unlimited FS version)
2011-01-18 21:28:01 +00:00
Przemyslaw Czerpak
d13589ebec 2011-01-18 18:14 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
+ harbour/contrib/hbfship/dbsetloc.c
  * harbour/contrib/hbfship/hbfship.hbp
    + added new FlagShip compatible function:
         DBSETLOCATE[BLOCK]( <bFor> ) -> <lSet>
2011-01-18 17:14:28 +00:00
Viktor Szakats
196dbfea24 2011-01-18 17:51 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hblzf/hblzf.c
    * Reformatted by uncrustify (nothing serious).

  * contrib/hbfship/index.c
    ! Fixed double assignment reported by bcc.

  * src/3rd/jpeg/Makefile
  * src/3rd/jpeg/jcmarker.c
  * src/3rd/jpeg/jpeglib.h
  * src/3rd/jpeg/jpeg.dif
  * src/3rd/jpeg/jcmaster.c
  * src/3rd/jpeg/jversion.h
  * src/3rd/jpeg/README
    + Updated to 8c. Patch from Tamas. Thanks!
2011-01-18 16:52:10 +00:00
Przemyslaw Czerpak
42b9b1e0ed 2011-01-18 16:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbfship/exec.c
    ! fixed to work with non *nix platforms

  + harbour/contrib/hbfship/index.c
  * harbour/contrib/hbfship/hbfship.hbp
    + added new FlagShip compatible functions:
         INDEXCOUNT() -> <nIndexCount>
         INDEXNAMES() -> <acIndexNames>
2011-01-18 15:32:14 +00:00
Przemyslaw Czerpak
b4c0504576 2011-01-18 14:58 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
+ harbour/contrib/hbfship/exec.c
  * harbour/contrib/hbfship/hbfship.hbp
    + added new FlagShip compatible functions:
         EXECNAME( [ <lFullPath> ] ) -> <cName>
         EXECPIDNUM() -> <nPID>
2011-01-18 13:58:12 +00:00
Przemyslaw Czerpak
1b181eaae2 2011-01-18 12:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbfoxpro/misc.prg
    ! PROCEDURE -> FUNCTION
2011-01-18 11:49:00 +00:00
Przemyslaw Czerpak
15b1f94fd5 2011-01-18 12:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbexprb.c
    ! allow to use variable in parenthesis as lvalue when -kc switch
      is used - Clipper compatibility

  * harbour/contrib/hbfoxpro/misc.prg
    + __FOX_ARRAY( <dims,...> ) which returns array initialized
      with .F. values - it can be used to initialize arrays declared
      using FP syntax

  * harbour/contrib/hbfoxpro/hbfoxpro.ch
    + added some new PP rules for FP array declarations
    + added DISPLAY FIELDS ... command
2011-01-18 11:33:06 +00:00
Viktor Szakats
4b0cc74746 2011-01-17 23:02 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmxml/hbmxml.c
    * Reformatted with uncrustify.
2011-01-17 22:03:13 +00:00
Przemyslaw Czerpak
7475dd345b 2011-01-17 22:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbmxml/hbmxml.c
    ! fixed hb_strdup() wrongly used instead of strdup()
      Thanks to Petr for the information.
    * modified MXMLSAVESTRING() to follow recent Viktor modifications in
      MXMLSAVEALLOCSTRING() and not strip trailing EOL
2011-01-17 21:55:19 +00:00
Viktor Szakats
d985080994 2011-01-17 20:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmxml/hbmxml.c
    % In MXMLSAVEALLOCSTRING() strdup()-ed buffer passed directly
      to hb_retclen_buffer() replaced with plain hb_retclen() call.
      hb_retclen_buffer() is to be used only if there is already
      an allocated buffer to pass as is.
    ! MXMLSAVEALLOCSTRING() modified to not remove EOLs from
      buffers received from minixml lib. Reason two-fold: 1. hbmxml
      libs job is to be as transparent as possible, so it should not
      tamper with the contents 2. Do not make any assumptions about
      the size of EOL, which was 1, but now it can be 2 on certain
      platforms.
    ; Please review and test. There is no test code for this
      call, so I only did build tests.

  * contrib/hbfoxpro/hbfoxpro.hbp
  + contrib/hbfoxpro/misc.prg
    + Added very humble attempt to emulate SYS(). I'm no FoxPro user
      and don't have any facility to make tests against real FoxPro.
      Please fix and extend as you deem necessary.

  * bin/hb3rdpat.hbs
    + Changed tool detection to only require what's really to be
      used in a certain session.
    + Added detection to more tools.
    ; Thanks Tamas for the patch session.
2011-01-17 19:55:54 +00:00
Przemyslaw Czerpak
12280030c9 2011-01-17 19:38 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/ChangeLog
    * added file name missing in my previous ChangeLog entry
2011-01-17 18:38:27 +00:00
Przemyslaw Czerpak
ecf0e526fa 2011-01-17 19:24 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
! allow to assign to variable in parenthesis in compiler when -kc switch
      is used (Clipper compatibility), i.e.:
         (var) := 1
      Please remember that Clipper does not accept such syntax in
      macrocompiler and Harbour replicates this behavior when -kc
      compile time switch is used.
2011-01-17 18:24:50 +00:00
Viktor Szakats
d7d0cffbd7 2011-01-17 12:38 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmxml/3rd/minixml/mxml.hbp
  * contrib/hbmxml/3rd/minixml/mxml_fil.c
    + Patched libmxml code to create native CRLF EOL on win/dos/os2 platforms.
2011-01-17 11:39:44 +00:00
Przemyslaw Czerpak
a085926636 2011-01-17 12:14 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbmxml/hbmxml.c
    * use hb_parstr_utf8() instead of hb_parc() in custom_save_cb()
2011-01-17 11:14:31 +00:00
Viktor Szakats
9eb980c479 2011-01-16 23:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmxml/tests/testmxml.prg
    ! Reverted 2011-01-17 00:05 UTC+0200 Petr Chornyj.
      It's wrong solution, it makes the output non-portable.
    ; TOFIX: Change LF to CRLF in libmxml for a proper fix.
2011-01-16 22:31:06 +00:00
Petr Chornyj
a26fe95871 2011-01-17 00:05 UTC+0200 Petr Chornyj (myorg63 at mail.ru)
* contrib/hbmxml/hbmxml.c
    ! Fixed warning reported by bcc55 in mxmlNewCustom() 
  * contrib/hbmxml/tests/testmxml.prg
    * Changed whitespace_cb() to respect official mxml test result
      f.e. hb_eol() -> e"\n"
2011-01-16 22:07:42 +00:00
Przemyslaw Czerpak
784f6c6564 2011-01-16 17:06 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbmxml/hbmxml.c
    % optimized user callback calls
    * declare all helper functions as static - all public functions
      except HB_FUNC() ones should be declared in .h files
      If it's not necessary the please do not declare functions as public.
      It's much easier to update the code when developers know that it's
      use only locally and not accessed from some other or user code.
2011-01-16 16:06:33 +00:00
Przemyslaw Czerpak
c1d017ea15 2011-01-16 16:46 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbmxml/hbmxml.c
    ! fixed C&P typo in previous commit
2011-01-16 15:47:03 +00:00
Przemyslaw Czerpak
cb8cfe1f4f 2011-01-16 16:11 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbmxml/hbmxml.c
    ! fixed MXMLSAVESTRING() to correctly shrink destination buffer.
      Please test.
    * small code simplification
2011-01-16 15:11:22 +00:00
Przemyslaw Czerpak
959a53bbde 2011-01-16 15:49 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hblzf/hblzf.c
    ! fixed decompress buffer resizing
2011-01-16 14:49:45 +00:00
Petr Chornyj
0853196a9d 2011-01-16 00:40 UTC+0200 Petr Chornyj (myorg63 at mail.ru)
* contrib/hbmxml/hbmxml.c
    + Added experimental hb_mxmlGetAttrsCount(), hb_mxmlGetAttrs(), 
      hb_mxmlGetAttrsArray()
    ; WARNING: can be changed or even removed after final 2.7 miniXML release
2011-01-15 22:37:37 +00:00
Petr Chornyj
1c2abbd058 2011-01-15 22:00 UTC+0200 Petr Chornyj (myorg63 at mail.ru)
* contrib/hbmxml/hbmxml.c
    ! Fixed mxmlIndexDelete(), simplified mxmlSaveString() 
  - contrib/hbmxml/tests/test.prg
    - removed as unnecessary
  * contrib/hbmxml/tests/testmxml.prg
    * minor typo in comment
2011-01-15 19:56:32 +00:00
Viktor Szakats
e259115990 2011-01-15 20:30 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added support for .def input files when creating executable targets.
    ; Please test it.
2011-01-15 19:03:55 +00:00
Viktor Szakats
d932539f5c 2011-01-15 18:34 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/3rd/pcre/pcre.h
  * src/3rd/pcre/pcre.dif
  * src/3rd/pcre/config.h
  * src/3rd/pcre/Makefile
    + Upgraded PCRE to 8.12. (it's a no-op regarding the lib itself)
    ; Patch by Tamas. Thanks!
2011-01-15 17:35:20 +00:00