Commit Graph

531 Commits

Author SHA1 Message Date
Mindaugas Kavaliauskas
00a36c534a 2010-10-21 14:10 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/src/rtl/hbnsctp.c
    * added type casting and local variable initialization to make some 
      compilers happy
2010-10-21 11:13:26 +00:00
Mindaugas Kavaliauskas
1eb1c40a5c 2010-10-21 03:18 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbmysql/hbmysql.hbp
  * harbour/contrib/sddmy/sddmy.hbp
    * added alternative mysql library path 
  + harbour/include/hbnsctp.ch
  + harbour/include/hbnsctp.h
  * harbour/src/rtl/Makefile
  + harbour/src/rtl/hbnsctp.c
  + harbour/src/rtl/hbnsctph.c
    + added NSCTP (Not Stream Control Transfer Protocol) functions.
      Both C and PRG interfaces functions provided.
    ; Idea, protocol description, name, function description, samples
      are presented at the beginning of hbnsctph.c file. I only put 
      function syntax here to help ChangeLog be a source of 
      documentation:
        hb_nsctpCreate( hSocket ) --> hNSCTP
        hb_nsctpDestroy( hNSTP )
        hb_nsctpError( hNSCTP ) --> nError
        hb_nsctpSetLimit( hNSCTP, nLimit )
        hb_nsctpSend( hNSCTP, cBuf [, nTimeout = FOREVER ] ) --> lSuccess
        hb_nsctpRecv( hNSCTP, @cBuf [, nTimeout = FOREVER ] ) --> lSuccess
        hb_nsctpSendLen( hNSCTP ) --> nBytesSent
        hb_nsctpRecvLen( hNSCTP ) --> nBytesReceived
2010-10-21 00:19:19 +00:00
Przemyslaw Czerpak
36124d47a6 2010-10-14 08:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtstd/gtstd.c
    * updated to compile with WinCE

  * harbour/package/harbour.spec
    * modified to work with new HBMK2 translations

  * harbour/contrib/hbmzip/hbmzip.c
    ! fixed function order

  * harbour/contrib/hbwin/axcore.c
    * include <olectl.h>
    ! fixed buffer sizes in debug function
    * removed trailing spaces and tabs

  * harbour/contrib/hbwin/hbolesrv.c
    * include <tchar.h> - for some compilers which do not make it
      with OLE header files
2010-10-14 06:45:51 +00:00
Mindaugas Kavaliauskas
34fbea1e35 2010-10-13 21:52 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/src/rtl/gtstd/gtstd.c
    * code cleanup to make some compilers happy
2010-10-13 18:53:49 +00:00
Mindaugas Kavaliauskas
96e589a914 2010-10-13 20:00 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbwin/tests/pdfcreat.prg
    ! fixed warning for whose who uses alternatve sample branch #if 0
  * harbour/src/rtl/gtstd/gtstd.c
    ! fixed console input pooling for Windows (you don't need to keep
      a key pressed to run application)
2010-10-13 17:01:09 +00:00
Przemyslaw Czerpak
aabe2c9dab 2010-10-13 13:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gttrm/gttrm.c
    ! added protection against GPF when wrong parameters are
      passed to hb_gtInfo( HB_GTI_ADDKEYMAP, ... )

  * harbour/src/rtl/hbgtcore.c
    ! added protection against GPF when wrong parameters are
      passed to hb_gtAlert()

  * harbour/src/rtl/gtapi.c
    * formatting

  * harbour/src/rtl/cdpapi.c
    ! fixed return value in hb_cdpStrAsU16Len()

  * harbour/src/rdd/dbf1.c
  * harbour/src/rdd/dbffpt/dbffpt1.c
    + added support for UNICODE fields compatible with the one used
      by ADS

  * harbour/contrib/hbxbp/hbxbp.hbx
    + automatically updated

  * harbour/contrib/rddads/ads1.c
    * casting

  * harbour/doc/xhb-diff.txt
    * updated information about PRG level hb_socket*() API
    + added information about serial port support
2010-10-13 11:22:21 +00:00
Przemyslaw Czerpak
9c267b30ca 2010-10-08 11:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbcom.c
    * explicitly set HB_COM_ERR_TIMEOUT and return -1 in all OS-es if
      hb_comSend() or hb_comRecv() writes/reads 0 bytes.
      It should help in creating portable code eliminating OS dependent
      differences.
2010-10-08 09:15:59 +00:00
Przemyslaw Czerpak
2cf025fa75 2010-10-06 20:56 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtwvt/gtwvt.c
    ! fixed possible double font freeing in non UNICODE builds

  * harbour/contrib/hbwin/win_misc.c
    + added prg function WIN_UNICODE() which returns logical value
      indicating if UNICODE macro was used or not
2010-10-06 18:57:05 +00:00
Przemyslaw Czerpak
6ebbfea898 2010-10-04 18:23 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/fstemp.c
    ! fixed typo in my last commit (#elif instead of #if)
      Thanks to Itamar M. Lins Jr. for the info.
2010-10-04 16:23:37 +00:00
Przemyslaw Czerpak
bb14033f3a 2010-10-04 13:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/fstemp.c
    * disabled using tmpnam() in OS2 builds
    % small code cleanup
2010-10-04 11:22:45 +00:00
Przemyslaw Czerpak
b077128a61 2010-09-30 10:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbtrace.h
  * harbour/src/common/hbtrace.c
    + added new C function:
         int hb_tracesysout( int new_sysout )

  * harbour/src/rtl/trace.c
    + added new PRG function:
         HB_TRACESYSOUT( [ <nSysOut> | <lSysOut> ] ) -> <lPrevSysOut>
2010-09-30 08:56:04 +00:00
Przemyslaw Czerpak
a50c4b0baf 2010-09-28 17:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbcom.ch
    + added new error constant value: HB_COM_ERR_IO
  * harbour/src/rtl/hbcom.c
    + added translation for some important OS error code
      in *nix builds
    + added translation ERROR_TIMEOUT -> HB_COM_ERR_TIMEOUT
      in Windows build.
      TODO: check real error codes for it and also for other
            operations like opening the same port more then
            once and add valid translations
    ; TODO: add some basic trnaslation for OS2 error codes.
      HB_COM_ERR_TIMEOUT seems to be most important for portable
      programs.
2010-09-28 15:47:08 +00:00
Przemyslaw Czerpak
885664701c 2010-09-28 09:56 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbcom.c
    ! fixed typo in MS-Windows builds
2010-09-28 07:56:15 +00:00
Przemyslaw Czerpak
61854e0dda 2010-09-28 08:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbcom.ch
    * updated few comments

  * harbour/include/hbapicom.h
  * harbour/src/rtl/hbcom.c
    + added new C function:
         HB_FHANDLE hb_comGetDeviceHandle( int iPort );
    * small cleanup in OS2 flow control setting

  * harbour/src/rtl/hbcomhb.c
    + added new PRG function
         HB_COMGETDEVICEHANDLE( nPort )  --> nHandle | F_ERROR
    * modified HB_COMFLOWCONTROL() to not change existing flow control
      when 3-rd parameter is missing:
         HB_COMFLOWCONTROL( nPort, @nOldFlow [, nNewFlow] ) --> lSuccess

  * harbour/contrib/hbmzip/hbmzip.c
    ! fixed date setting in HB_ZIPFILECREATE()
2010-09-28 06:32:51 +00:00
Przemyslaw Czerpak
67d08334d6 2010-09-27 19:53 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbtrace.h
  * harbour/src/common/hbtrace.c
    + added new C functions:
         int hb_traceflush( int new_flush );
         HB_BOOL hb_tracefile( const char * szFile );

  * harbour/src/rtl/trace.c
    + added new PRG functions:
         HB_TRACEFLUSH( [ <nFlush> | <lFlush> ] ) -> <lPrevFlush>
         HB_TRACEFILE( <cFileName> ) -> <lSetCorrectly>
    * modified PRG function HB_TRACESTATE() to accept logical value as
      parameter and return logical value as reult:
         HB_TRACESTATE( [ <nEnabled> | <lEnabled> ] ) -> <lPrevEnabled>
2010-09-27 17:54:05 +00:00
Przemyslaw Czerpak
2356181a10 2010-09-22 16:52 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapicom.h
  * harbour/src/rtl/hbcom.c
    + added public C function: void hb_comSetError( int iPort, int iError )

  * harbour/src/rtl/hbcomhb.c
    + added PRG function: HB_COMSETERROR( nPort, nError ) --> NIL

  * harbour/src/rtl/hbsocket.c
    * minor formatting

  * harbour/config/doc.mk
  * harbour/config/postinst.hbs
  * harbour/contrib/make.hbs
    * do not install documentation files when HB_INSTALL_DOC=no

  * harbour/config/postinst.hbs
    ! do not install .hbl files for core utils when HB_BUILD_PARTS=lib
    + added support for HB_INSTALL_SCRIPT executed after install step.
      It allows to extract some variables set by our GNU make system,
      i.e. it's used to retrieve HB_CCPREFIX in win/wince .spec files.

  * harbour/package/harbour-win.spec.in
    * use HB_INSTALL_DOC=no to disable DOC file installation
    * generate hb{w|ce}mk2 scripts as wrappers to hbmk2 with cross
      build settings so it can be easy used used by users to create
      Windows/WindowsCE binaries.
      Temporary solution until we will not have something more general.
2010-09-22 14:53:20 +00:00
Viktor Szakats
f3208ac8c4 2010-09-18 10:12 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/ttopbar.prg
    ! Reverted: 2010-09-17 15:49 UTC-0800
2010-09-18 08:13:17 +00:00
Pritpal Bedi
4ddb512005 2010-09-17 15:49 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* src/rtl/ttopbar.prg
    ! Changed: Instance variable <cargo> to SETGET METHOD cargo( xCargo ).
      Request received on SF's bug tracker.
2010-09-17 22:52:41 +00:00
Viktor Szakats
594fa03023 2010-09-15 17:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/utils/hbqtgen.prg
    + Changed HBQT_TYPE_* constants to be crc32 hashes
      derived from component name + type name + "HBQT_TYPE_"
      string to guarantee uniqueness (and to make it
      possible to generate it dynamically).
      [ BTW formerly the base value was derived from
      component name with crc16, and the rest was incremented
      counter dependent on input file order. ]
      Please review hash generation, as it needs to be
      constant for a longer time, and hash method should be
      possible to extend to other IDs, like QT enums.

  * contrib/hbqt/qtgui/g/hbqtgui.h
  * contrib/hbqt/qtwebkit/g/hbqtwebkit.h
  * contrib/hbqt/qtcore/g/hbqtcore.h
  * contrib/hbqt/qtnetwork/g/hbqtnetwork.h
  * contrib/hbqt/qscintilla/g/hbqscintilla.h
  * contrib/hbqt/qtdesigner/g/hbqtdesigner.h
    * Regenerated.

  * src/rtl/inkeyapi.c
  * src/rtl/inkey.c
    ! Copyright comments moved/updated.
2010-09-15 15:51:31 +00:00
Przemyslaw Czerpak
d579e0ca59 2010-09-15 16:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbzlib.c
    ! fixed typo
2010-09-15 14:54:36 +00:00
Mindaugas Kavaliauskas
380597c130 2010-09-13 16:05 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbwin/hbwinole.h
  * harbour/contrib/hbwin/olecore.c
    + implemented WIN_OLEAUTO class overloading
  * harbour/contrib/hbwin/legacy.prg
    - removed "[]" overloading. It's in the core object now.
  * src/rtl/hbjson.c
    ! fixed long long printf format
2010-09-13 13:05:12 +00:00
Przemyslaw Czerpak
eaf56593d0 2010-09-13 11:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbzlib.c
    + added new PRG function:
         HB_GZCOMPRESSBOUND( <cData> | <nDataLen> ) -> <nMaxCompressLen>
    ! fixed compilation with ZLIB versions earlier then 1.2.0 broken by
      missing deflateBound() function which I used recently.
2010-09-13 09:40:53 +00:00
Przemyslaw Czerpak
f35913215a 2010-09-13 09:59 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbzlib.c
    ! added our own version of compressBound() function for
      ZLIB versions 1.2.0 and earlier. It makes HB_ZCOMPRESSBOUND()
      working and fixes code like:
         <cResult> := HB_ZCOMPRESS( <cData> )
    + added new PRG function:
         HB_GZCOMPRESS( <cData>, [<nDstBufLen>|<@cBuffer>], ;
                        [<@nResult>], [<nLevel>] )
               => <cCompressedData> or NIL on Error
      It works like HB_ZCOMPRESS() but uses GZIP instead of ZLIB
      encapsulation for compressed data.
    + added support for GZIP compressed strings to HB_ZUNCOMPRESS() and
      HB_ZUNCOMPRESSLEN() functions so they can be used with data compressed
      by HB_GZCOMPRESS() function or read from .gz files.
2010-09-13 07:59:23 +00:00
Przemyslaw Czerpak
253db45857 2010-09-09 17:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/filesys.c
    * unified hb_fsSeek[Large]() return value when seek operation cannot
      be executed for given file handle. Now it's 0 for all platforms.

  * harbour/include/hbapicls.h
  * harbour/src/vm/classes.c
    + added new public C function
         PHB_SYMB hb_clsFuncSym( HB_USHORT uiClass )
      It returns class function symbol or NULL.

  * harbour/ChangeLog
  * harbour/config/os2/gccomf.mk
  * harbour/include/hbpcode.h
  * harbour/include/hbdebug.ch
  * harbour/include/hbmath.ch
  * harbour/include/hbgfx.ch
  * harbour/src/vm/classes.c
  * harbour/utils/hbmk2/hbmk2.prg
    * removed dummy trailing spaces at EOLs
2010-09-09 15:22:21 +00:00
Viktor Szakats
8b04eb129e 2010-09-08 20:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbjson.c
    * Making some compilers happy.
2010-09-08 18:34:18 +00:00
Viktor Szakats
94a1d97b99 2010-09-08 18:47 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/ttopbar.prg
    ! Added missing cargo instvar.
2010-09-08 16:47:33 +00:00
Mindaugas Kavaliauskas
c3e272aaf1 2010-09-08 18:15 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
+ harbour/src/rtl/hbjson.c
    + added JavaScript Object Notation (JSON) encoder, decoder functions

    ; C level functions:
        char * hb_jsonEncode( PHB_ITEM pValue, HB_SIZE * pnLen );
           pValue  - value to encode;
           pnLen   - if pnLen is not NULL, length of returned buffer is 
                     stored to *pnLen;
           returns pointer to encoded JSON buffer. buffer must be fried 
              by the caller.
      
        HB_SIZE hb_jsonDecode( const char * szSource, PHB_ITEM pValue );
           szSource - JSON source;
           pValue   - item to store decoded value. Item value is 
                      undetermined in case of error;
           returns number of bytes decoded from the buffer. This allows 
              to use the remaining part of the buffer for some other 
              purposes. Returns 0 on error.
    
      Harbour level functions:
        hb_jsonDecode( cJSON, @xValue ) --> nLengthDecoded
        hb_jsonEncode( xValue ) --> cJSON
    
      Note:
        - Harbour types unsupported by JSON (date, timestamp, etc.) are 
          encoded as null values;
        - strings are encoded in UTF-8;
        - JSON encode functions are safe for recursive arrays and hashes. 
          Recursive part of array or hash will be stored as null. JSON 
          encoder still allows to use same structure in the leaves, in 
          this case content will be duplicate. 
          I.e.:
             xI := {1, NIL}
             xI[2] := xI
             ? hb_jsonEncode( xI )  // [1,null]
          but:
             xI := {1, .T.}
             xI := {2, xI, xI}
             ? hb_jsonEncode( xI )  // [2,[1,true],[1,true]]
2010-09-08 15:13:52 +00:00
Przemyslaw Czerpak
cb705d015e 2010-09-08 08:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/config/c.mk
  * harbour/config/rules.mk
    * use .sx file extension instead of .S to avoid problems with
      non case sensitive filesystems

  * harbour/src/rtl/fstemp.c
    ! fixed DOS version of hb_fsTempDir() - tmpnam() may return pure
      file name without path i.e. in OpenWartcom builds
    * accept optionally TEMP, TMP and TMPDIR environment variables in
      DOS and OS2 build looking for directory with temporary files
2010-09-08 06:42:18 +00:00
Viktor Szakats
70544acb28 2010-09-08 00:17 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/sha1.c
  * src/rtl/sha1.h
  * src/rtl/hbsha1hm.c
  * src/rtl/sha2.c
  * src/rtl/sha2.h
  * src/rtl/hbsha2hm.c
  * src/rtl/sha1hmac.c
  * src/rtl/sha1hmac.h
  * src/rtl/hbsha1.c
  * src/rtl/sha2hmac.c
  * src/rtl/sha2hmac.h
  * src/rtl/hbsha2.c
    ! Renamed internal SHA functions to have hb_ prefix to
      avoid colliding with other tools, like OpenSSL.

  * utils/hbmk2/hbmk2.prg
    ! Typos in comment.
2010-09-07 22:17:41 +00:00
Viktor Szakats
abba013e29 2010-08-27 15:49 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbi18n2.prg
  * utils/hbmk2/hbmk2.prg
    + UTF8 BOM logic contained in core. Should fix it for all 
      cases in hbmk2 and hbi18n.
2010-08-27 13:50:20 +00:00
Viktor Szakats
731fb7304f 2010-08-27 15:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbi18n2.prg
    ! __I18N_POTARRAYSAVE() typo in BOM flag default.
2010-08-27 13:33:22 +00:00
Viktor Szakats
79abf55913 2010-08-27 00:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbi18n2.prg
    + __I18N_POTARRAYSAVE(): new lUTF8BOM parameter.

  * utils/hbmk2/hbmk2.prg
    + Retain UTF8 BOM in .po files.
2010-08-26 22:41:55 +00:00
Mindaugas Kavaliauskas
ee5450a5fb 2010-08-27 00:01 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/sddodbc/tests/test2.prg
    ! reverted accidentally changed file in last commit
  * harbour/src/rtl/hbsockhb.c
    + added public functions to use socket GC pointers from other modules:
      HB_SOCKET hb_socketParam( int iParam );
      HB_SOCKET hb_socketItemGet( PHB_ITEM pItem )
      PHB_ITEM  hb_socketItemPut( PHB_ITEM pItem, HB_SOCKET sd );
      void      hb_socketItemClear( PHB_ITEM pItem );
2010-08-26 20:59:54 +00:00
Viktor Szakats
d6ff90787e 2010-08-26 00:36 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbi18n2.prg
    + __I18N_POTARRAYLOAD(): UTF8 BOM support
2010-08-25 22:37:59 +00:00
Viktor Szakats
eedf422c9d 2010-08-15 19:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/fslink.c
    ! Windows typo, non-UNICODE build.

  * tests/flink.prg
    + HB_FLINKREAD() calls.
2010-08-16 17:29:12 +00:00
Viktor Szakats
8433ad7e00 2010-08-15 21:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/fslink.c
    ! Fixed hb_fsLinkRead() on Win Vista/7 for non-links (untested)

  * contrib/make.hbs
    * Comment
2010-08-15 19:04:16 +00:00
Viktor Szakats
549fbec80f 2010-08-08 21:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/harbour.hbx
  * include/hbapifs.h
  * src/rtl/fslink.c
    + Added hb_fsLinkRead() function.
    + Added HB_FLINKREAD() function.
    ; Please review/fix or remove.

  * utils/hbmk2/hbmk2.prg
    + Added -ln= option to specify symlinks to targets.
    + Added ${hb_dynprefix} macro.

  * contrib/hbpost.hbm
    + Enabled creation of versionless and major-minor versioned
      links to dynamic libs.
    + Will create versioned .dll names on win/wce.

  * include/hbapifs.h
  * include/fileio.ch
    + Moved some attr constants to .ch header.

  * contrib/make.hbs
    ! Fixed to propage make control options to container projects.
2010-08-14 18:25:13 +00:00
Przemyslaw Czerpak
a25ebcc070 2010-08-11 17:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/classes.c
    + extended error messages in __CLSINSTSUPER() function to show the name
      of super class which cannot be created

  * harbour/src/rtl/tclass.prg
    * force RTE for superclasses defined using function declared as DYNAMIC
      It should help in locating the problem in wrongly linked code, i.e.
      without some superclasses.
2010-08-11 15:03:44 +00:00
Przemyslaw Czerpak
1e1f6a62ae 2010-08-11 12:28 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/empty.c
    * modified EMPTY() function behavior so now for symbols
      created for functions declared as DYNAMIC it does not
      return .T. but .F. for functions which are registered
      in HVM.
      As side effect above modifications should fix some code
      in RTL and contrib which used !EMPTY() for DYNAMIC function
      symbols.
2010-08-11 10:28:39 +00:00
Viktor Szakats
5a6facdcc2 2010-08-07 11:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    + Generalized the way dynamic lib dependencies are found 
      to make it work on *nix systems, too.

  * include/harbour.hbx
  + src/rtl/libnamec.c
  * src/rtl/libname.prg
  * src/rtl/Makefile
    + Added HB_LIBEXT() and HB_LIBPREFIX() functions.

  * utils/hbmk2/hbmk2.prg
    + Added "platform", "compiler", "cpu", "buildname", "dynsuffix" 
      to --hbinfo returned data.

  * INSTALL
    + Documented HB_BUILD_CONTRIB_DYN setting. The default is
      'no', and if set to 'yes', the build system will create
      dynamic lib versions of the contribs.

  * src/Makefile
  * utils/hbformat/Makefile
  * utils/hbi18n/Makefile
  * utils/hbtest/Makefile
  * config/global.mk
  * config/dos/watcom.mk
  * config/dos/djgpp.mk
  * config/dyn.mk
  * config/rules.mk
  * INSTALL
    * Renamed HB_BUILD_DLL to HB_BUILD_DYN.
2010-08-07 10:00:21 +00:00
Viktor Szakats
abfa725104 2010-08-06 15:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* ChangeLog
  * include/harbour.hbx
  * src/rtl/Makefile
  + src/rtl/libname.prg
  + tests/libname.prg
    + Added HB_LIBNAME( <cDynLibName>[, <cDynLibDir> ] ) -> <cOSDynLibName>
      Serves to convert a raw dynlib name, f.e. "hbct" to OS specific
      notation, by adding platform specific extension, lib name prefix and
      optional directory

  * utils/hbmk2/hbmk2.prg
    ! Fixed dynlib prefix for symbian
2010-08-06 13:16:35 +00:00
Viktor Szakats
4fc311154c 2010-08-06 12:49 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ config/symbian
  + config/symbian/libs.mk
  + config/symbian/gcc.mk
  + config/symbian/global.mk
  * include/hbthread.h
  * include/hbsetup.h
  * src/vm/thread.c
  * src/common/hbtrace.c
  * src/common/hbprintf.c
  * src/rtl/gtstd/gtstd.c
  * src/rtl/gttrm/Makefile
  * src/rtl/hbsocket.c
  * src/rtl/filesys.c
  * src/rtl/diskspac.c
  * src/rtl/hbgtcore.c
  * src/rtl/disksphb.c
  * src/rtl/gtpca/gtpca.c
  * src/rtl/hbproces.c
  * src/rtl/gtsys.c
  * src/rtl/hbcom.c
  * utils/hbmk2/hbmk2.prg
  * config/global.mk
  * INSTALL
    + Rough port to Symbian OS.
      It compiles OK, no exes build and I had to disable hbsocket.c
      due to too many errors.
2010-08-06 10:51:00 +00:00
Viktor Szakats
1f9a151419 2010-08-05 19:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtwin/gtwin.c
    ! Workaround for incomplete pocc6 Windows headers causing 
      compilation error.
2010-08-05 17:40:52 +00:00
Viktor Szakats
b2b189377a 2010-07-30 09:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbsocket.h
  * src/rtl/hbsocket.c
    ! Fixed type in C level function name.

  * src/rtl/hbdoc.prg
    ! Fixed to always use CRLF as EOL in internal doc data.

  * contrib/hbtip/utils.c
    ! HB_BASE64() marked as HB_LEGACY_LEVEL3.
    + Added TIP_CRLF()

  * contrib/hbtip/smtpcli.prg
  * contrib/hbtip/client.prg
  * contrib/hbtip/ftpcli.prg
  * contrib/hbtip/mail.prg
    * Using TIP_CRLF() instead of HB_INETCRLF().

  * config/postinst.hbs
    + More meaningful message when doing 'make install' without 
      HB_INSTALL_PREFIX being set.

  * contrib/hbpost.hbm
    + Added extra protection to not try to install anything when 
      using 'install' without target dir being specified.

  * INSTALL
    * Updated to reflect the optional nature of make 'install' 
      option.
    * Updated to reflect change in HB_INSTALL_PREFIX.
    * {hb_top} HB_INSTALL_PREFIX macro not documented anymore.
2010-07-30 07:56:36 +00:00
Viktor Szakats
9e05179958 2010-07-29 14:12 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbsocket.c
    ! hb_socketBind((): Deleted hb_socketSetReuseAddr() call, 
      which caused that the same addr:port could be opened multiple 
      times on Windows (tested on 7) systems, causing uncertain behavior.
      This is documented MS (mis?)feature.
2010-07-29 12:12:54 +00:00
Viktor Szakats
929b57a7e0 2010-07-29 00:36 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/Makefile
  * include/hbapifs.h
  * include/hbextern.ch
  + src/rtl/fslink.c
  + tests/flink.prg
    + Added new C level functions to create file links:

       HB_BOOL hb_fsLink( const char * pszExisting, const char * pszNewFile );
       HB_BOOL hb_fsLinkSym( const char * pszTarget, const char * pszNewFile );

    + Added new Harbour level functions to create file links:

       HB_FLINK( <cExistingFileName>, <cNewFileName> ) -> <nSuccess>
       HB_FLINKSYM( <cTargetFileName>, <cNewFileName> ) -> <nSuccess>

    ; They work on POSIX and Windows Vista/7 systems.

  * src/rtl/fserr.c
    + Mapped Windows error ERROR_PRIVILEGE_NOT_HELD to DOS error 5.
2010-07-28 22:38:23 +00:00
Viktor Szakats
a29bb9d822 2010-07-26 15:08 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/fscopy.c
    ! Fixed to properly set FERROR() values.

  * contrib/hbnetio/utils/netiosrv.prg
    ! Do not pass the password by reference.
2010-07-26 13:09:19 +00:00
Viktor Szakats
46f7e48f29 2010-07-26 12:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/tests/wvtqt.hbp
  * contrib/hbxbp/tests/wvtqt.hbp
    ! Added missing SVN header.
    % Cleanup.

  * INSTALL
  * contrib/hbpost.hbm
  * config/global.mk
    * Changed HB_BUILD_IMPLIB to HB_INSTALL_IMPLIB to reflect
      new meaning after recent changes. With new build system
      the implibs are always created in lib working dir, and
      this setting only controls whether to copy it to final
      install directory. The default is still 'no'. Setting it
      to yes is only recommended if the installation will be
      used in local environment (3rd party .dlls) only. IOW
      never set this to yes when creating a build for other
      users (f.e. for distribution).
      INCOMPATIBLE if you used this setting, pls change it now.

  * INSTALL
    + Documented HB_STATIC_* options.

  * contrib/make.hbs
    * Updated TODO list.

  * src/debug/debugger.prg
  * src/rtl/dirscan.prg
  * tests/wcecon.prg
  * contrib/xhb/traceprg.prg
  * contrib/hbqt/tests/wvtqt.hbp
  * contrib/hbqt/generator2/hbqtgen2.prg
  * contrib/hbxbp/tests/demoxbp.prg
  * contrib/hbxbp/tests/dialogqt.prg
  * contrib/hbxbp/tests/wvtqt.hbp
  * contrib/hbhpdf/tests/harupdf.prg
  * contrib/gtwvg/tests/wvgtbrowser.prg
  * contrib/gtwvg/tests/wvgwvtclasses.prg
  * contrib/hbtip/tests/dbtohtml.prg
  * contrib/hbtip/mail.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/ideactions.prg
  * contrib/hbide/idetools.prg
  * contrib/hbide/idesources.prg
  * contrib/hbide/hbide.prg
  * examples/uhttpd2/umain.prg
  * examples/hbvpdf/tests/pdf_demo.prg
  * examples/httpsrv/uhttpd.prg
  * examples/httpsrv/cgifunc.prg
  * examples/httpsrv/modules/tableservletdb.prg
  * examples/httpsrv/session.prg
    * HB_OSPATHSEPARATOR() -> HB_PS()
    % Delete temp vars along the way.

  * utils/hbmk2/hbmk2.prg
    + Generalized internals for support for older Harbour and
      xhb versions.
    + Added -hb20 option. (thanks for asking for it so nicely ;)
2010-07-26 10:36:23 +00:00
Viktor Szakats
6b758c4f6d 2010-07-25 10:41 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/xhb/hbcompat.ch
    + Added xhb translations for hb_eol() and hb_ps().

  * contrib/make.hbs
    - Deleted SetCancel().

  * src/debug/tbrwtext.prg
  * src/debug/debugger.prg
  * src/rtl/errsys.prg
  * src/rtl/profiler.prg
  * src/rtl/hbini.prg
  * src/rtl/treport.prg
  * src/rtl/tpersist.prg
  * src/rtl/hbi18n2.prg
  * src/rtl/ttextlin.prg
  * src/rtl/teditor.prg
  * src/rdd/usrrdd/rdds/logrdd.prg
  * tests/hbpptest/hbpptest.prg
  * tests/longstr2.prg
  * tests/cdow.prg
  * tests/output.prg
  * tests/dirtest.prg
  * tests/tstdbi.prg
  * tests/speedold.prg
  * tests/dates3.prg
  * tests/set_test.prg
  * tests/rto_get.prg
  * tests/cpinfo.prg
  * tests/speedtst.prg
  * tests/dates.prg
  * tests/set_num.prg
  * tests/rto_tb.prg
  * tests/testhtml.prg
  * tests/round.prg
  * tests/dates2.prg
  * tests/dates4.prg
  * tests/version.prg
  * tests/seconds.prg
  * tests/gtkeys.prg
  * tests/adirtest.prg
  * include/simpleio.ch
  * include/assert.ch
  * contrib/hbct/tests/tab.prg
  * contrib/hbct/tests/expomant.prg
  * contrib/xhb/traceprg.prg
  * contrib/xhb/hblog.prg
  * contrib/xhb/dumpvar.prg
  * contrib/xhb/dbgfx.prg
  * contrib/xhb/xhberr.prg
  * contrib/xhb/cstruct.prg
  * contrib/hbqt/generator/hbqtgen.prg
  * contrib/hbqt/hbqt_errorsys.prg
  * contrib/hbqt/generator2/hbqtgen2.prg
  * contrib/hbxpp/hbxpp.ch
  * contrib/hbnetio/utils/netiosrv.prg
  * contrib/hbnetio/utils/rpcdemo.hbs
  * contrib/hbnetio/utils/netiocmd.prg
  * contrib/hbpgsql/tests/dbf2pg.prg
  * contrib/hbmisc/tests/readfile.prg
  * contrib/hbmisc/tests/testhbf.prg
  * contrib/hbtip/thtml.prg
  * contrib/hbtip/client.prg
  * contrib/hbwin/tests/testsim.prg
  * contrib/hbwin/tests/testole.prg
  * contrib/hbwin/tests/testsvc.prg
  * contrib/hbssl/tests/bio.prg
  * contrib/hbssl/tests/pem.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/idethemes.prg
  * contrib/hbide/idesaveload.prg
  * contrib/hbide/idedocwriter.prg
  * contrib/hbide/hbide.ch
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/idehome.prg
  * contrib/hbide/ideshortcuts.prg
  * utils/hbformat/hbformat.prg
  * utils/hbmk2/hbmk2.prg
  * utils/hbi18n/hbi18n.prg
  * utils/hbtest/hbtest.prg
  * examples/hbextern/hbextern.prg
  * examples/uhttpd2/umain.prg
  * examples/guestbk/inifiles.prg
  * examples/guestbk/testcgi.prg
  * examples/httpsrv/uhttpd.prg
  * examples/hscript/hscript.prg
    * hb_osnewline() -> hb_eol()
      (deleting temp variables and temp pp macros used in the past
      to workaround the long typing of the old function name)
    * Some formatting along the way in tests dir.

  * src/rtl/errsys.prg
    - Deleted usage of ISNIL(). It's a quite pointless macro.

  * src/rtl/errsys.prg
  * src/rtl/listbox.prg
  * src/rtl/profiler.prg
  * src/rtl/treport.prg
  * src/rtl/tpersist.prg
  * src/rtl/tgetlist.prg
  * src/rtl/teditor.prg
    % DO CASE -> SWITCH

  * src/rtl/alert.prg
    * Replaced DEFAULT TO with simple NIL check.

  * src/compiler/gencc.c
    * Formatting of generated code.

  * contrib/hbide/ideedit.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/idethemes.prg
  * contrib/hbide/idesaveload.prg
  * contrib/hbide/idedocwriter.prg
  * contrib/hbide/hbide.ch
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/idehome.prg
  * contrib/hbide/ideshortcuts.prg
    * hb_osPathSeparator() (and static variable) -> hb_ps()
2010-07-25 08:45:50 +00:00
Viktor Szakats
29bb18fba1 2010-07-22 16:58 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- contrib/hbqt/hbqt_hbdbfmodel.cpp
  * contrib/hbqt/generator/qt45.qtp
  - contrib/hbqt/qth/HBDbfModel.qth
  - contrib/hbqt/qtcore/THBDbfModel.prg
  * contrib/hbqt/qtcore/filelist.hbm
  - contrib/hbqt/qtcore/HBDbfModel.cpp
  - contrib/hbqt/doc/en/class_hbdbfmodel.txt
  * contrib/hbqt/hbqt.h
  - contrib/hbqt/hbqt_hbdbfmodel.h
  * contrib/hbqt/hbqt_garbage.h
  * contrib/hbqt/hbqt.hbm
    - Deleted now obsolete DBFMODEL.

  * src/rtl/gtcrs/gtcrs.h
    * Minor formatting. (from patch by Tamas Tevesz)

  * config/detect.mk
    ! Fixed autodetection of curses under Cygwin.
      Requires Cygwin sh shell to work.
      Patch by Tamas Tevesz.

  * utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
    * Minor.
2010-07-22 14:59:03 +00:00