Commit Graph

815 Commits

Author SHA1 Message Date
Przemyslaw Czerpak
51652b4892 2010-11-09 16:39 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/classes.c
    ! fixed typo: uiClass -> s_uiClasses

  * harbour/src/common/hbver.c
    ! fixed typo: missing ;
2010-11-09 15:39:33 +00:00
Viktor Szakats
b9cc575e8c 2010-11-09 14:56 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/common/hbver.c
    + Added support for hb_iswin*() and HB_OSISWIN*() functions
      on MS-DOS platforms.
      Please test them.
    ; TODO: Detection of 2K and Vista isn't currently implemented,
            but can be added if someone knows how to detect them.
2010-11-09 14:00:44 +00:00
Przemyslaw Czerpak
49e0b8e4e0 2010-11-09 10:47 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rdd/sdf1.c
    ! fixed bug in SDF import procedure - many thanks
      to Enrico Maria Giordano for reporting the problem
      and to Vicente Guerra for locating the reason
      BTW fix committed to xHarbour may work but it's not correct,
      I suggest to update it.

  * harbour/src/rtl/hbdyn.c
  * harbour/src/rtl/hbsocket.c
  * harbour/src/rdd/dbfnsx/dbfnsx1.c
  * harbour/src/rdd/dbfcdx/dbfcdx1.c
  * harbour/src/rdd/dbffpt/dbffpt1.c
  * harbour/contrib/hbct/bitnum.c
  * harbour/contrib/hbwin/olecore.c
    * pacified some of MSVC6 warnings reported by Andi

  * harbour/utils/Makefile
    * added internal/developers build switch
2010-11-09 09:47:51 +00:00
Viktor Szakats
ec301342b7 2010-11-09 10:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbdyn.c
    ! Added casts to silence msvc6 warnings.
2010-11-09 09:01:42 +00:00
Przemyslaw Czerpak
ceffdd839d 2010-11-09 01:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/Makefile
    % small optimization in concurrent build (-j GNU make switch) dependency
2010-11-09 00:17:45 +00:00
Przemyslaw Czerpak
d5c7c499b5 2010-11-08 23:37 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbcompdf.h
  * harbour/include/hbexprb.c
  * harbour/src/common/expropt1.c
    + added protection against pushing series of parameters on HVM
      stack by hb_arrayToParams() function used in wrong contects,
      i.e.:
         var := hb_arrayToParams( { 1, 2, 3 } )
      Possible TODO: add compile time warning in such case.

  * harbour/contrib/hbexpat/3rd/expat/_hbconf.h
  * harbour/contrib/hbexpat/3rd/expat/expat.hbp
  * harbour/contrib/hbexpat/3rd/expat/xmltok.c
  * harbour/contrib/hbexpat/3rd/expat/xmlrole.c
  * harbour/contrib/hbexpat/3rd/expat/xmlparse.c
    * updated to define endian setting using information from hbdefs.h

  * harbour/contrib/hbexpat/3rd/expat/xmltok.c
   ! added missing members in structure initializations
2010-11-08 22:37:26 +00:00
Viktor Szakats
7022118152 2010-11-07 18:15 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
- external/zlib
  - external/png
  - external/jpeg
  - external/hbpmcom
  - external/pcre
  - external/Makefile
  + src/3rd
  + src/3rd/zlib
  * src/3rd/zlib/Makefile
  + src/3rd/png
  * src/3rd/png/Makefile
  + src/3rd/hbpmcom
  * src/3rd/hbpmcom/Makefile
  + src/3rd/jpeg
  * src/3rd/jpeg/Makefile
  + src/3rd/pcre
  * src/3rd/pcre/Makefile
  + src/3rd/Makefile
    * Moved /external to /src/3rd
    ; This way all core components reside in core.
    ; NOTE: png, jpeg are not referenced by core components,
            so they may be moved to contrib area in the future.

  * config/detect.mk
  * Makefile
  * src/Makefile
  * src/rtl/hbcom.c
  * contrib/hbmzip/hbmzip.hbp
  * contrib/hbmzip/3rd/minizip/minizip.hbp
  * contrib/hbhpdf/hbhpdf.hbp
  * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp
  * contrib/hbhpdf/3rd/libhpdf/hpdf.h
  * contrib/hbwin/hbwin.hbp
    * Updated to reflect above change.
    ; NOTE: Now -j builds can be optimized to better overlap with 
            3rd component builds. Please do it in src/Makefile.

  * contrib/hbplist
    * Updated.
2010-11-07 17:17:05 +00:00
Viktor Szakats
575b574c53 2010-11-07 15:58 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/version.c
    + HB_VERSION( HB_VERSION_PLATFORM ) changed to use hb_verPlatformMacro().
      This means it will now supported recently added platforms.
    ; NOTE: For consistency, __PLATFORM__WINDOWS should pbly be changed to __PLATFORM__WIN,
            and __PLATFORM__WINCE to __PLATFORM__WCE.

  * utils/hbmk2/hbmk2.prg
    + Added HB_HOST_PLAT macro, returning: hb_Version( HB_VERSION_PLATFORM )
    + Added HB_HOST_PLAT_UNIX macro.
    ! Fixed cygwin to be detected as cross target platform.
    ! Few cygwin related TOFIX-es cleared.

  * external/Makefile
  - external/sqlite3
  + contrib/3rd
  + contrib/3rd/sqlite3
  * contrib/3rd/sqlite3/sqlite3.hbc
  + contrib/3rd/sqlite3/sqlite3.hbp
  - contrib/3rd/sqlite3/Makefile
    * Moved sqlite3 foreign code to contrib/3rd dir from
      global 3rd party code dir.
    + Migrated remaining platform tweaks from Makefile to sqlite3.hbp
      Bumps are expected, pls test.

  * contrib/hbsqlit3/hbsqlit3.hbp
  * contrib/sddsqlt3/sddsqlt3.hbp
    * Changed sqlite3 position.
    + Added sqlite3 reference.
    ; Please note that after above changes sqlite3 will only be built
      if required.

  * src/common/hbver.c
    * Formatting.
2010-11-07 15:02:55 +00:00
Viktor Szakats
99a99c0a16 2010-11-06 23:12 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gete.c
    % Optimized out memory allocation on non-dos/os2 platforms.

  + contrib/hbexpat/3rd/expat/_hbconf.h
    + Added config file placeholder. Not yet used and empty.

  * contrib/hbqt/hbqt_hbmk2_plugin.hbs
    * Formatting.
    % More StrTran() minor opt.

  * utils/hbmk2/hbmk2.prg
  * config/linux/gcc.mk
  * config/linux/icc.mk
  * config/linux/clang.mk
    * -fpic -> -fPIC for linux dynamic libs.
    ; From Tamas.

  * INSTALL
    + Added expat related information.
2010-11-06 22:13:28 +00:00
Viktor Szakats
2fc69d4894 2010-11-05 12:59 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbvm.h
  * src/vm/hvm.c
    + Added hb_vmPushPointerGC().

  * contrib/hbqt/qtcore/hbqt_init.cpp
    + Added experimental (not activated) code example to pass GC collected 
      pointer back from callbacks. This is just intermediate step, as it 
      should return .prg level class, but at least some room for leaks 
      can be avoided this way, plus the pointer type is identifiable.
      Based on code posted to list by Pritpal.
2010-11-05 12:00:28 +00:00
Viktor Szakats
97bc5b9ea3 2010-11-05 00:58 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/cygwin/gcc.mk
  * include/hbwmain.c
  * src/vm/Makefile
  * src/vm/mainwin.c
  * src/vm/hvm.c
  * src/vm/cmdarg.c
  * src/vm/mainstd.c
  * utils/hbmk2/hbmk2.prg
    + Finalizing cygwin/gcc entry point.
    ; Patch by Tamas.
    + Added hbmainstd for shared cygwin/gcc builds.

  * utils/hbrun/hbrun.hbp
    + Enabled header inclusion also in hbmk2 make file.
2010-11-04 23:59:06 +00:00
Viktor Szakats
47952c23b3 2010-11-04 22:44 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbjson.c
  * src/rtl/hblpp.c
    ! Silenced msvc64 warnings.

  * utils/hbrun/hbrun.prg
    * Moved creation of header hash to separate function.
    + Added HBRUN_NOHEAD envver to disable embedded headers.
      Any non-empty value will have this effect.

  * utils/hbrun/Makefile
    + Enabled embedded headers.

  * contrib/make.hbs
  * config/postinst.hbs
  * bin/hbxpatch.hbs
    ! Resolved TOFIX notes: now the headers can be used
      just like in any .prg, and no need to locally #define
      core constants.
      Also hbqt_hbmk2_plugin.hbs should work now in stdalone 
      mode, with all the OOP code.
2010-11-04 21:46:37 +00:00
Viktor Szakats
086c8cba68 2010-11-04 21:33 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    * MS-DOS LFN vs. SFN next guess: deleted hack when loading
      plugin.

  * include/hbwmain.c
  * src/vm/cmdarg.c
  * config/bin.mk
    * Cygwin main entry patch from Tamas.

  * INSTALL
    + Added note that all settings are case sensitive.
      Not that those would read it who would need to.
2010-11-04 20:34:47 +00:00
Przemyslaw Czerpak
2432e2f5d3 2010-11-04 20:27 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbpp.h
  * harbour/include/hbcomp.h
  * harbour/src/pp/ppcore.c
  * harbour/src/main/harbour.c
  * harbour/src/compiler/hbmain.c
  * harbour/src/compiler/ppcomp.c
  * harbour/src/compiler/hbcmplib.c
    * added support for setting hash array as container for included
      files in HB_COMPILE*() functions.

  * harbour/utils/hbrun/hbrun.prg
    + added optional support for embedding all core header files
      into final HBRUN executable file. It can be enabled by
      compilation with HBRUN_WITH_HEADERS macro.

  * harbour/contrib/hbsqlit3/hbsqlit3.c
    ! removed non standard C construction
    % push function parameters directly on HVM stack
2010-11-04 19:28:05 +00:00
Przemyslaw Czerpak
73ba6d20a6 2010-11-04 13:06 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/cdpapi.c
    + added internal macro for developers making tests with C compilers
      which can make some character translations in compiler strings.
      This macro (__HB_IGNORE_CP_ERRORS) disables 9994 internal error.
      ("Harbour CP (%s) initialization failure").
      It should not be used in production builds.
2010-11-04 12:06:29 +00:00
Viktor Szakats
3179ac92bf 2010-11-04 05:02 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbwmain.c
  * src/vm/cmdarg.c
    + Cygwin HB_PROGNAME()/HB_ARGV(0) patch from Tamas.

  * src/rtl/hbcom.c
    * Cygwin related comment added. Patch by Tamas.

  * hbqt/qtgui/qth/*.qth
  * hbqt/qtwebkit/qth/*.qth
  * hbqt/qtcore/qth/*.qth
  * hbqt/qtnetwork/qth/*.qth
  * hbqt/qscintilla/qth/*.qth
  * hbqt/qtuitools/qth/*.qth
  * hbqt/qtdesigner/qth/*.qth
    % Harbour license text changed to a one-liner reference to
      COPYING file. Copyright message kept as is.
      Overal .qth file size dropped to half.
    ! Deleted multiple empty lines at EOL.
2010-11-04 04:19:36 +00:00
Viktor Szakats
a7710b224d 2010-11-03 29:59 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/harbour.hbx
  * src/rtl/dateshb.c
    + Added HB_DATE( [<nYear>, <nMonth>, <nDay>] ) -> <dDate>
      If called without options, it returns current date, just like DATE().
    * Changed HB_DATETIME() to work like above except for timestamps.

  * contrib/hbqt/hbqt_all.hbp
    - Deleted wrong MS-DOS fix.

  * contrib/hbqt/utils/hbqtgen.prg
    % Optimized to not read each input file twice.

  * contrib/hbqt/hbqt_hbmk2_plugin.hbs
    + Added #include "hbclass.ch". After 2010-11-03 23:28 UTC+0100
      it works as expect. Thanks a lot Przemek!
      Header dir is setup correctly now by hbmk2, so hbmk2 plugins
      can safely use Harbour headers. (in hbmk2 context the headers
      should be present anyway, so this is square)
2010-11-03 23:00:35 +00:00
Przemyslaw Czerpak
9ec18ba4a0 2010-11-03 23:28 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/compiler/hbmain.c
    + allow to use -p* switches in HB_COMPILEFROMBUF()

  * harbour/src/compiler/harbour.y
    + accept
         #line <num>
      directive without file name. It can be usable in some cases
      and it also resolves the problem reported by Viktor when
      we compile file without any name, i.e. using HB_COMPILEFROMBUF()
      function.

  * harbour/src/compiler/harbour.yyc
    * regenerated
2010-11-03 22:28:55 +00:00
Przemyslaw Czerpak
f0de048177 2010-11-03 23:24 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/Makefile
    + added missing hblpp.ch file

  * harbour/src/pp/ppcore.c
    % removed redundant fBinary paramater from hb_pp_pragmaStreamFile()
2010-11-03 22:24:18 +00:00
Przemyslaw Czerpak
8521154cfb 2010-11-03 19:36 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/compiler/hbmain.c
    ! fixed very old bug which can be exploited in some seldom cases,
      i.e. the one reported by Viktor using HBRUN.
2010-11-03 18:36:50 +00:00
Viktor Szakats
79b266ca4f 2010-11-03 19:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    * Using _APPMAIN() instead of MAIN() as entry function, to be
      friendly with plugins using MAIN().
    * Commented test code added for hbrun integration.
    + Added popular package handler's lib and include directory
      to bsd builds' default setup.
    * Added comments describint which such directory belongs to which package
      system (darwin, bsd)
    + Plugins will now be called with Harbour header directory properly setup,
      so it's possible to use headers in them.

  * include/hbclass.ch
    - Deleted some lines which were active when __HARBOUR__ is not defined.
      As I understand this is Harbour-only header, so __HARBOUR__ is always
      to be defined. Please speak up if you know what it was for.
      It was added here: 2006-10-04 02:30 UTC+0200

  * src/pp/hbpp.c
    + Support for -e option which lets override the name of the
      public entry function in generated PP rules .c file.

  * contrib/hbqt/hbqt_hbmk2_plugin.hbs
    + Some provisions to handle .qth files.

  * INSTALL
    * https links changed to http for win nightly pkgs.
2010-11-03 18:03:03 +00:00
Przemyslaw Czerpak
329ca84269 2010-11-02 15:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbstack.h
    * minor improvement in #include "hbthread.h" condition

  * harbour/external/minizip/ioapi.h
  * harbour/external/png/Makefile
  * harbour/src/common/hbffind.c
  * harbour/src/rtl/hbsocket.c
    * updated to compile with DMC
2010-11-02 14:43:05 +00:00
Viktor Szakats
8cc76097c5 2010-11-02 14:35 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gete.c
    % Deleted very old code to satisfy Borland C++ getenv()
      requirement, and which turned out to be a mere Borland
      documentation error (confirmed by Borland).
      Thanks to Tamas Tevesz for getting to end of this and
      the patch.

  * utils/hbmk2/hbmk2.prg
    * Formatting.

  * ChangeLog
    ! Fixed bloody daylight saving timezone in recent commits.
2010-11-02 13:36:07 +00:00
Viktor Szakats
241e472652 2010-11-01 22:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/pp/ppcore.c
    ! Fixed regression in 2010-11-01 16:42 UTC+0200.
      Forgot to set value for __PLATFORM__* macros.
      INCOMPATIBLE: So far the value returned by __PLATFORM__*
                    macros were the version part from the string
                    also returned by OS(), but only in non-cross
                    platform situations. Now they are defined
                    without any value, which means now the returned 
                    value is consistent regardless of build-situation
                    and OS version. If you relied on this feature, 
                    change your code to extract OS version from value 
                    return by OS() function.

  * src/vm/mainwin.c
    % Do not include windows header.

  * src/vm/cmdarg.c
    - Undone some (innocent) part of patch in 2010-11-01 13:53 UTC+0200.

  * INSTALL
    * Moved around cygwin inside example section.
2010-11-01 21:59:18 +00:00
Viktor Szakats
ab28161da8 2010-11-01 16:42 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbapi.h
  * src/common/hbver.c
    + Added hb_verPlatformMacro(), which returns string as it appears
      in __PLATFORM__* macro.
      This function will have to be extended for each new platform
      Harbour is getting ported to.

  * src/pp/ppcore.c
    ! Changed to use hb_verPlatformMacro() value to form __PLATFORM__*
      macro, instead of using hb_verPlatform(), which offers no
      guarantee for the value on *nix systems and it's was hack
      on other platforms too (f.e. it got messed up when Windows
      version string was changed to show "wine" at the beginning
      of the human readable platform string).
    % Made forming of __PLATFORM__* macros simpler, using hb_snprintf().
    ! Now WINCE builds of pp will also defined __PLATFORM__WINDOWS.

  ; Please review/test.
2010-11-01 15:44:47 +00:00
Viktor Szakats
5e0daa68f6 2010-11-01 13:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/Makefile
  * src/vm/mainwin.c
  * src/vm/hvm.c
  * src/vm/cmdarg.c
  * src/vm/vmmt/Makefile
  * utils/hbmk2/hbmk2.prg
  * config/global.mk
  * config/cygwin/global.mk
    + Cygwin related patch from Tamas Tevesz.
      - Fixing cygwin dynamic lib name
      - Dynamic lib linking
      - defining __PLATFORM__CYGWIN in cross-platform builds

  * src/rtl/dateshb.c
  + tests/dttest.prg
    + HB_DATETIME() got new, optional nYear, nMonth, nDay, nHour, nMinute, nSecond, nFragment
      parameters. If passed, it will return date or timestamp based on passed parameters
      instead of current timestamp.
      Based on initiative and code by Carlos Bacco. Thank you!

  * contrib/hbsqlit3/hbsqlit3.c
    - Reverted UTF8 patch in 2010-11-01 00:05 UTC+0200.
    + Replaced above solution with transparent one, using
      Str API usage and extended it for all places where UTF8
      strings are expected or returned by sqlite3 API.
      Please test. This clears an old TOFIX.
    + Added TOFIX for raw pointer usage.

  * contrib/hbqt/qtgui/g/QApplication.cpp
  * contrib/hbqt/qtgui/qth/QApplication.qth
    ! Fixed to wrap one declaration in HB_EXTERN_BEGIN/END.
2010-11-01 12:58:15 +00:00
Petr Chornyj
0353de304c 2010-10-31 22:50 UTC+0200 Petr Chornyj (myorg63 at mail.ru)
* harbour/src/rtl/hbinet.c
    ! HB_INETSERVER fixed to use parameters properly
      Syntax of HB_INETSERVER is
      hb_inetSrver( nPort, [pSocket | NIL], [cBindAddr], [nListenLimit] )
2010-10-31 20:53:09 +00:00
Przemyslaw Czerpak
4acf8c4c16 2010-10-29 14:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbcom.c
    * added patches created by Tamas TEVESZ
      and default port name for AIX
2010-10-29 12:50:19 +00:00
Viktor Szakats
df3b848bf6 2010-10-29 10:22 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hb_io.h
  * include/hbthread.h
  * include/hbsetup.h
  * src/vm/thread.c
  * src/vm/dynlibhb.c
  * src/common/hbgete.c
  * src/common/hbprintf.c
  * src/rtl/gttrm/Makefile
  * src/rtl/hbsocket.c
  * src/rtl/filesys.c
  * src/rtl/hbcom.c
  * config/global.mk
  - config/win/cygwin.mk
  + config/cygwin
  + config/cygwin/libs.mk
  + config/cygwin/gcc.mk
  + config/cygwin/global.mk
    + Applied cygwin patch from Tamas Tevesz.
      The goal is to migrate win/cygwin to cygwin/gcc, IOW to make cygwin
      a distinct platform (which is primarily unixy with option to access 
      winapi) as it should be.
      Changes made by me compared to original patch:
        - Fixed to HB_HOST_PLAT stay 'win'. Cygwin is not a host platform.
        - Fixed to set HB_COMPILER to gcc and HB_PLATFORM to cygwin when cygwin
          is detected on win platform.
        - Consequently some changes in global.mk could be dropped.
        - Deleted hbcom patches not related to cygwin.
        - Removed hbmk2 patch until we solve the 'plat $ 'cygwin' problem.
2010-10-29 08:24:01 +00:00
Viktor Szakats
738356ea9b 2010-10-28 23:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtcore/hbqt_misc.prg
    + Changed to not RTE when disconnecting not-connected
      event. It will instead return .F. now.
      To be consistent with slots in this regard.
    * Undone previous optimization after realizing that
      events and slots low-functiona return different error codes.
      It didn't cause any harm with current system though.

  * contrib/hbqt/qtcore/hbqt_hbqevents.cpp
    % Optimized hb_snprintf() calls.

  * contrib/hbqt/qtcore/hbqt_hbqevents.cpp
  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
    * Formatting.

  * src/common/hbver.c
    * Name of SPARC adjusted. Thanks to Tamas Tevesz.
2010-10-28 21:52:34 +00:00
Przemyslaw Czerpak
9f25c8f605 2010-10-28 12:44 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rdd/dbstrux.prg
  * harbour/contrib/hbtip/sendmail.prg
    * minor formatting
2010-10-28 10:45:14 +00:00
Przemyslaw Czerpak
2ae8ae991d 2010-10-27 18:51 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/ChangeLog
    - removed wrong ChangeLog entry committed unintentionally with previous
      commit

  * harbour/src/rdd/hbsix/sxcompat.prg
    ! fixed very old typo
2010-10-27 16:52:00 +00:00
Przemyslaw Czerpak
00cc4427ea 2010-10-27 18:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rdd/dbcmd.c
    * modified FIELDGET() and FIELDPUT() to accept
      also field name (not only field index)
      just like DBFILEGET() and DBFILEPUT()
    * modified HB_FIELDLEN(), HB_FIELDDEC(), HB_FIELDTYPE() to accept
      also field name (not only field index)

  * harbour/contrib/hbfship/hbfship.hbp
  + harbour/contrib/hbfship/fldarr.prg
  + harbour/contrib/hbfship/isdb.prg
  + harbour/contrib/hbfship/isfunc.c
  + harbour/contrib/hbfship/isbegseq.c
  + harbour/contrib/hbfship/flddeci.c
    + added FlagShip compatible functions:
         FieldGetArr( [ <nRecNo> ] ) -> <aFieldValues>
         FieldPutArr( <aFieldValues> [, <nRecNo> ] ) -> <lSuccess>
         IsDbExcl() -> <lExclusive>
         IsDbFlock() -> <lFLocked>
         IsDbRLock( [ <xRec> ] ) -> <lLocked>
         IsFunction( <cName> ) -> <lExists>
         IsBegSeq() -> <lResult>
         FieldDeci( <cFieldName> | <nFieldPos> ) -> <nDecimals>

  * harbour/contrib/hbwin/axcore.c
    * minor cleanup - replaced some 0 values with S_OK macro
2010-10-27 16:30:54 +00:00
Viktor Szakats
872abe845b 2010-10-27 05:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gete.c
    % Optimization to GETENV()/HB_GETENV(). Patch by Tamas Tevesz.
    + Added more details to comment on why it's needed to strip '='
      part from envvar name.

  * contrib/hbqt/tests/demoqt.prg
  * contrib/hbqt/tests/dialogqt.prg
  * contrib/hbqt/tests/testqaim.prg
    ! Fixed external files' references to use executable's
      directory as a base, instead of current dir.

  * contrib/hbhpdf/harupdf.c
    ! HPDF_Page_CreateStampAnnot(): Fixed wrongly passed 3rd parameter.

  * contrib/hbssl/evpmd.c
    ! EVP_SIGNFINAL(): Fixed wrong returned buffer size.

  * config/postinst.hbs
    * Implemented GetEnv() caching, based on patch sent by
      Tamas Tevesz and further optimized.
2010-10-27 03:23:49 +00:00
Przemyslaw Czerpak
5afc7f78ad 2010-10-25 17:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbjson.c
    * modified the if() condition to pacify some compiler warnings
2010-10-25 15:20:28 +00:00
Przemyslaw Czerpak
b762a398eb 2010-10-25 15:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbstrfmt.c
    + added support for 'x' and 'X' specifiers in hb_strFormat() function
2010-10-25 13:21:18 +00:00
Przemyslaw Czerpak
90f2f097ef 2010-10-23 08:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbcom.c
    ! fixed path to PMCOM header files
2010-10-23 06:20:58 +00:00
Mindaugas Kavaliauskas
8d19033374 2010-10-24 02:21 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/rtl/hbjson.c
    + added support for date and timestamp type encoding
2010-10-22 23:23:19 +00:00
Mindaugas Kavaliauskas
c7c5d14460 2010-10-24 02:10 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/rtl/hbjson.c
    + added human readable JSON encoding support
        char * hb_jsonEncode( PHB_ITEM pValue, HB_SIZE * pnLen, HB_BOOL fHuman );
        hb_jsonEncode( xValue [, lHuman = .F. ] ) --> cJSON
    ! removed UTF8 encoding from JSON functions. These function should 
      return/accept data in VM codepage, just like any other string 
      function. If JSON string is to be stored as some binary stream 
      (ex., file), HB_StrToUTF8() should be applied on the hb_jsonEncode() 
      result. This conversion removal fixes code when returned JSON string is used 
      not as a binary stream. Ex.:
        oIE:document:getElementById("data_div"):innerHtml := hb_jsonEncode(xValue)
2010-10-22 23:10:37 +00:00
Mindaugas Kavaliauskas
a6e74ed2b9 2010-10-23 21:15 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
- harbour/include/hbnsctp.ch
  - harbour/include/hbnsctp.h
  - harbour/src/rtl/hbnsctp.c
  - harbour/src/rtl/hbnsctph.c
  + harbour/include/hblpp.ch
  + harbour/include/hblpp.h
  + harbour/src/rtl/hblpp.c
  + harbour/src/rtl/hblpphb.c
  * harbour/src/rtl/Makefile
    * NSCTP -> LPP
2010-10-22 18:16:35 +00:00
Przemyslaw Czerpak
6dc33b15c3 2010-10-22 15:09 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/external/Makefile
  + harbour/external/hbpmcom
  + harbour/external/hbpmcom/Makefile
  + harbour/external/hbpmcom/wrap_ow.c
  + harbour/external/hbpmcom/com.c
  + harbour/external/hbpmcom/irq.h
  + harbour/external/hbpmcom/irq_ow.c
  + harbour/external/hbpmcom/irq_g.c
  + harbour/external/hbpmcom/com.h
  + harbour/external/hbpmcom/wrap_g.sx
  + harbour/external/hbpmcom/irqwrap.h
  + harbour/external/hbpmcom/doc
  + harbour/external/hbpmcom/doc/readme.txt
  + harbour/external/hbpmcom/doc/com.txt
    + added PMCOM library - RS-232 DOS communication library by Peter Marinov.
      The original PMCOM 1.0 library has not been updated for very long
      time and this code is quite strongly modified so I haven't tried to
      generate any .diff files. I do not think it will be possible to make
      autoamtic merege with newwer version (if any appears).
      This is also the reason I decided to use HBPMCOM name instead of
      PMCOM to avoid potential conflicts with some local versions of
      this library.
      TODO: add support for flow control - now flow control functions are
            dummy and do not enable any handshaking.

  * harbour/src/rtl/hbcom.c
  * harbour/config/dos/watcom.mk
  * harbour/config/dos/djgpp.mk
    + added support for serial port in DOS builds (hb_com*() PRG and C API)
      using HBPMCOM library.
2010-10-22 13:09:55 +00:00
Przemyslaw Czerpak
5e85f8e844 2010-10-22 14:29 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/fm.c
    * added workaround for some compiler which defines FORCEINLINE
      macro with 'extern' keyword (i.e. some MinGW versions).

  * harbour/contrib/rddads/rddads.h
    * added workaround for some MinGW versions which do not understand
      _declspec() but only __declspec()
2010-10-22 12:29:53 +00:00
Przemyslaw Czerpak
ef2d74889f 2010-10-22 11:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtwvt/gtwvt.c
    ! use ERROR_CLASS_ALREADY_EXISTS instead of hardcoded 1410 value
    * allow to use GTWVT in programs linked as non GUI ones
      (console programs)
2010-10-22 09:24:34 +00:00
Mindaugas Kavaliauskas
9e0d85ce43 2010-10-21 19:05 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/src/rtl/hbnsctph.c
    * changes to make compilers happy
2010-10-21 16:05:31 +00:00
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
a095d3da49 2010-10-20 16:29 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/common/hbtrace.c
    ! fixed to not overwrite user trace settings with default or
      environment configuration on 1-st call to hb_tr_level()/
      hb_tracelevel() function
2010-10-20 14:29:50 +00:00
Przemyslaw Czerpak
6b368c695b 2010-10-18 21:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/debug/dbgwa.prg
    ! added missing REQUEST FIELDGET
    + added support for timestamp, hash and NIL values which
      can be extracted from fields in some RDDs
2010-10-18 19:35:24 +00:00
Przemyslaw Czerpak
bd381db5d2 2010-10-18 12:18 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/compiler/hbmain.c
    ! reset function and class declaration between compiling files included
      by SET PROCEDUR TO <name> or DO <name> [ WITH <args,...> ]
      This behavior is synced with PP rules resetting.

  * harbour/contrib/xhb/xhb.hbp
    + added two .ch files

  * harbour/contrib/hbct/hbct.hbx
    * regenerated with LF EOL.
      I think that these files should be declared in SVN as using native
      EOLs
2010-10-18 10:18:38 +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