Commit Graph

2486 Commits

Author SHA1 Message Date
Viktor Szakats
27af8d0dd3 2010-02-24 20:04 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/pp/ppcore.c
  * src/compiler/cmdcheck.c
  * src/compiler/hbusage.c
  * include/hbpp.h
    + Marked "multiline strings" feature as deprecated,
      with HB_LEGACY_LEVEL3.
      It's recommended to fix such code to be compatible
      with Clipper (and other compatible) languages.
         F.e.:
         ---
            cVar := "line 1;
            line 2;
            line 3"
         ---
         to standard:
         --- F.e.:
            cVar := "line 1" +;
            "line 2" +;
            "line 3"
         ---
         or to another Harbour extension:
         ---
            #pragma __cstream|cVar := %s
            line 1
            line 2
            line 3
            ENDTEXT
         ---
      ('+' operator will be optimized out by the compiler,
      so there won't be any performance drop.)

  * utils/hbmk2/hbmk2.prg
    * Formatting.
2010-02-24 19:07:18 +00:00
Viktor Szakats
aede2707a1 2010-02-24 16:10 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/pp/ppcore.c
  * src/compiler/cmdcheck.c
  * src/compiler/hbusage.c
  * include/hbpp.h
  * include/hbsetup.h
    * HB_USER_CFLAGS=-DHB_PP_MULTILINE_STRING feature converted
      to compiler switch '-kl'.
      INCOMPATIBLE. Users needing this feature now can use
      standard Harbour builds by simply adding -kl Harbour
      compiler flag. Old build-time macro is not supported 
      anymore.
2010-02-24 15:11:45 +00:00
Viktor Szakats
dfa37c743b 2010-02-24 14:33 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdefs.h
  * include/hbapigt.h
  * src/rtl/fstemp.c
  * src/rtl/fserr.c
  * src/rtl/filesys.c
  * src/rtl/console.c
  * src/rtl/hbproces.c
    * HB_IO_WIN -> HB_OS_WIN

  * src/rtl/fserr.c
    - Deleted code sections which could only be active
      in 16-bit MS-DOS (MSC and BCC) compilers, or
      never.

  * src/rtl/hbdyn.c
    ! Fixed signedness warning shown by Cygwin.

  * src/rtl/filesys.c
    % Cleaned double inclusion of windows.h.
    ! Fixed for Cygwin. Latest Cygwin allows to enable
      some previously inactivated code sections. Also
      avoiding some new warnings on this target.
    - Deleted code section which is superfluous after
      merging HB_OS_WIN and HB_IO_WIN modes.
    ; TODO: Clean the rest.
    ; TODO: Use native Windows API in the remaining places.

  * include/hbdefs.h
    ! Disabled drive letter for __CYGWIN__.
      Latest version don't define the related
      CRTL functions, so it was giving warnings in
      filesys.c.

  * src/rtl/hbproces.c
    - Deleted code section which was now redundant
      (covering non-HB_IO_WIN && HB_OS_WIN case)

  * contrib/hbwin/win_prn1.c
    * Formatting.

  * src/vm/estack.c
  * src/vm/garbage.c
  * src/vm/fm.c
  * src/vm/thread.c
    + Readded those OS/2 INCL_ macros which were needed
      in C++ mode.
2010-02-24 13:34:10 +00:00
Viktor Szakats
61de922b9c 2010-02-24 10:32 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
- include/hbzlib.h
    - Deleted hbzlib.h (missed from commit: 2010-02-23 09:27 UTC+0100)
2010-02-24 09:32:44 +00:00
Viktor Szakats
dfee94a1bc 2010-02-23 20:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* examples/hbdoc2/hbdoc2.prg
    ! Synced doc language subdir with recent changes.
      Thanks to Qatan for pointing it out.

  * include/hbwince.h
    * Formatting.
2010-02-23 19:53:31 +00:00
Viktor Szakats
ef2727d113 2010-02-23 09:44 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdefs.h
    + <windows.h>/<os2.h> header inclusion (along with HB_OS_WIN_USED
      macro) is now guarded with HB_LEGACY_LEVEL3.

  * include/hbsetup.ch
  * include/hbdefs.h
  * include/clipdefs.h
    + HB_LEGACY_OFF will now turn off legacy types as well.
      This means that HB_LEGACY_TYPES_OFF macro usage
      is now clean.

  * utils/hbmk2/examples/contribf.hbc
    ! hbbmcdx -> rddbmcdx
2010-02-23 08:46:31 +00:00
Viktor Szakats
02af7454a4 2010-02-23 09:27 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/Makefile
    - Deleted hbzlib.h (wrapper for zlib.h)
      (INCOMPATIBLE, if someone used this, should be fixed by 
      replacing hbzlib.h with zlib.h in #include directive)
2010-02-23 08:28:35 +00:00
Viktor Szakats
95fc69a2a6 2010-02-22 20:43 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtwvt/gtwvt.h
  * src/rtl/gtwvt/gtwvt.c
    ! Fixed to use standard VGA RGB values, just like in GTXWC.
    ! Fixed color constant names (no "bright white" anymore).

  * include/hbdefs.h
    % Minor cleanup.
2010-02-22 19:44:36 +00:00
Viktor Szakats
1dd4321de8 2010-02-22 15:06 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdefs.h
    ! Fixed to not #include <dos.h> unconditionally. This should
      be done by specific source code, if needed. INCOMPATIBLE,
      if source code relied on this behavior. From now on it,
      should include dos.h manually.

  * src/vm/thread.c
  * src/common/hbver.c
  * src/rtl/gtdos/gtdos.c
  * src/rtl/isprint.c
  * src/rtl/diskspac.c
  * src/rtl/disksphb.c
  * src/rtl/net.c
  * contrib/hbct/print.c
    ! Fixed to #include <dos.h> manually.

  * src/rtl/fstemp.c
    ! Fixed recent warning for dos targets.

  * contrib/hbct/video.c
    ! Fixed old unused variable warning for dos/watcom targets.

  * INSTALL
    + Documented that OS/2 Warp 4 is supported (instead of generic OS/2).
2010-02-22 14:07:26 +00:00
Viktor Szakats
d93eb500c9 2010-02-22 14:43 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/extrap.c
  * src/vm/dynlibhb.c
  * src/common/hbgete.c
  * src/common/hbffind.c
  * src/common/hbver.c
  * src/rtl/filesys.c
  * src/rtl/diskspac.c
  * src/rtl/gtos2/gtos2.c
  * src/rtl/cputime.c
  * src/rtl/disksphb.c
  * include/hbthread.h
  * contrib/hbmzip/hbmzip.c
    ! Fixed to setup all OS/2 INCL_* constants and
      to #include os2.h by themselves, and not to rely
      on Harbour headers to do this job for them.
    ; TODO: Do the same for dos.h.

  * doc/hdr_tpl.txt
    - Deleted local changelog.
    ! Fixes to .prg function docs
    + Update copyright year to 2010.
    + Added fact that $SEEALSO$ should be comma separated.
    + Added .c function example (far from perfect)

  * examples/hbdoc2/tmplates.prg
  * doc/hdr_tpl.txt
    + Added $VERSION$ tag. (pls update HBIDE. We haven't finalized
      the format yet, to it's little bit premature to create
      new and new parsers/generators for it yet)

  * include/hbdefs.h
    ! Fixed to not unconditionally include OS/2 headers with
      an arbitrary selection of INCL_ macros.
      Now OS/2 headers will only be included if legacy types
      are requested (off by default), and no INCL_ macros
      are defined. This latter change may affect 3rd party
      code written for OS/2, so I'm marking it INCOMPATIBLE.

  * contrib/hbqt/generator/hbqtgen.prg
  * contrib/hbqt/hbqt.h
    * Changed to #include hbapi.h from hbqt.h. It needs it,
      so this is the clean way. Changed generator to leave
      out hbapi.h from each source file and refer to hbqt.h
      only. (untested)
    + Added logic to #include OS/2 headers with some INCL_
      macros defined, to make QT on OS/2 happy. (copied them
      from the dev. list)
    ; TODO: Regenerate HBQT sources.

  * utils/hbtest/hbtest.prg
    ! Cleaned old problem reported by Chen. It seems like
      a feature which was never finished, and it's not even
      hugely needed, so I deleted it.

  * config/global.mk
    + Will now provide HB_COMP_PATH_PUB value for os2-gcc, os2-gccomf
      compilers. This value can be used to manually form ld.exe
      command line.
      (NOTE: This may be deleted in the future, when sorting
      out line-length limit problems for these compilers.
2010-02-22 13:45:07 +00:00
Viktor Szakats
c9de4f1d3a 2010-02-21 15:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbextern.ch
    + Added __CLSMSGTYPE function.

  * config/os2/gcc.mk
    * Changed to use 'ld' tools directly when creating
      Harbour dynamic libraries.
    ; Please test, it's possible that some option have to be 
      deleted, changed, or some system/compiler libs added 
      manually to make it work.
2010-02-21 14:03:38 +00:00
Przemyslaw Czerpak
87cff88914 2010-02-20 18:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/task.c
    ! fixed casting for C++ builds

  * harbour/src/lang/msges.c
    ! added hack for Solaris builds where ES is macro
      TODDO: sync names of lang and corresponding code modules.

  * harbour/src/vm/dynlibhb.c
    * pacified warning

  * harbour/contrib/xpp/xppextrn.ch
  * harbour/contrib/xpp/dbcmdx.c
  * harbour/include/hbextern.ch
  * harbour/src/rdd/dbcmd53.c
    ! moved ordWildSeek() from XPP to HBRDD library.
      I have no idea if XPP has such function or if it's or not
      compatible with ORDWILDSEEK() functions I created for [x]Harbour
    * disable ordCount() and ordWildSeek() functions when HB_CLP_STRICT
      macro is set

  * harbour/include/hbsocket.ch
    + added macro values interface info flags: HB_SOCKET_IFF_*
    + added macro values for interface info array indexes: HB_SOCKET_IFINFO_*

  * harbour/include/hbsocket.h
  * harbour/src/rtl/hbsocket.c
    + added new C function:
         PHB_ITEM hb_socketGetIFaces( int af, HB_BOOL fNoAliases );
      it returns array with existing interfaces description.
      This code was added for non MS-Windows based platforms only.
      Support for MS-Windows has to be added yet.
      Some platforms may not fill all fields in the returned array.
      When some fields are not supported by platform or interface then
      they can contain NIL value.
      On some platforms this code can effectively work only with IP4
      interfaces and IP6 ones will need different implementation.
      TODO: add support for alternative long interface introduced in some
            new systems using 'struct lifreq' with SIOCGLIF* ioctls instead
            of 'struct ifreq' and SIOCGIF*
      TODO: add support for extracting hardware addreses (i.e. ethernet
            macaddresses) for systems which do not support SIOCGIFHWADDR.

      Please test this code with OS2 using OpenWatcom and GCC (old and
      new socket API). I enabled HB_HAS_SOCKADDR_SA_LEN in OS2 builds.
      OpenWatocm OS2 header files have such fields but I do know if it's
      also present in GCC socket API.

  * harbour/include/hbextern.ch
  * harbour/src/rtl/hbinet.c
    + added new PRG function:
         hb_inetIfInfo( [<lNoAliases>] [, <nAddrFamily>] ) -> <aInfo>
      <lNoAliases> is .F. by default so aliases are included
      <nAddrFamily> is HB_SOCKET_AF_INET by default
      <aInfo> is an array in which each entry is also array with the
      following fields:
         HB_SOCKET_IFINFO_FAMILY    1     // adress family
         HB_SOCKET_IFINFO_NAME      2     // interface name
         HB_SOCKET_IFINFO_FLAGS     3     // flags HB_SOCKET_IFF_*
         HB_SOCKET_IFINFO_ADDR      4     // interface address
         HB_SOCKET_IFINFO_NETMASK   5     // subnetmask
         HB_SOCKET_IFINFO_BROADCAST 6     // broadcast address
         HB_SOCKET_IFINFO_P2PADDR   7     // point-to-point address
         HB_SOCKET_IFINFO_HWADDR    8     // hardware address

      Please use this code on different non MS-Windows platforms:

            proc main( noAlias )
               local iface
               ? os(), version()
               ? "interfaces:"
               for each iface in hb_inetIfInfo( !empty( noAlias ), 0 )
                  ? hb_valToExp( iface )
               next
               ?
            return

      and check if it returns correct information about available
      interfaces.
2010-02-20 17:07:00 +00:00
Viktor Szakats
6d9e5bbb8c 2010-02-20 16:39 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/memvars.c
  * src/common/hbverdsp.c
  * doc/whatsnew.txt
  * include/hbsetup.ch
  * utils/hbtest/rt_str.prg
    * "5.3x" -> "5.3b"
2010-02-20 15:39:33 +00:00
Viktor Szakats
a352ff57ce 2010-02-20 15:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/philes.c
  * include/hbextern.ch
    + Added HB_CURDRIVE(). Similar to Xbase++ CURDRIVE(), but
      always provided by Harbour core.

  * utils/hbmk2/hbmk2.prg
    - Deleted mapping from hb_CurDrive() to CurDrive().

  * examples/httpsrv/uhttpd.prg
  * examples/httpsrv/modules/tableservletdb.prg
  * examples/gtwvw/tests/wvwtest9.prg
    * Changed to use hb_CurDrive() which is always available in
      Harbour core, instead of Xbase++ specific CurDrive().
2010-02-20 14:56:27 +00:00
Viktor Szakats
fe38540ca2 2010-02-20 12:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbsetup.ch
  * src/common/hbverdsp.c
    - Deleted HB_COMPAT_FLAGSHIP, HB_COMPAT_FOXPRO.

  * include/hbextern.ch
  * src/rtl/seconds.c
    + Added HB_SECONDSCPU()
      (native Harbour version of FlagShip specific SECONDSCPU())

  * tests/memtst.prg
  * tests/speedold.prg
  * tests/speedtst.prg
  * tests/vidtest.prg
    * Changed to use HB_SECONDSCPU().
    + Added translation from SECONDSCPU() to HB_SECONDSCPU() when
      built for FlagShip (where applicable).

  * include/hbextern.ch
  * src/rtl/Makefile
  - src/rtl/strpeek.c
  - src/rtl/secondfs.c
  * contrib/Makefile
  + contrib/hbfship
  + contrib/hbfship/Makefile
  + contrib/hbfship/hbfship.hbc
  + contrib/hbfship/secondfs.c
  + contrib/hbfship/strpeek.c
    - Moved FlagShip specific function from core to new hbfship lib.
    * Changed SECONDSCPU() to be just a wrapper over core HB_SECONDSCPU().
    ; INCOMPATIBLE: If you used SECONDSCPU() function, change it to
                    HB_SECONDSCPU(), or add hbfship to your lib list.
                    If you used STRPEEK() or STRPOKE() functions,
                    add hbfship to your lib list.

  * utils/hbmk2/examples/contribf.hbc
    + Added hbfship.
2010-02-20 11:57:17 +00:00
Viktor Szakats
3f1bca920e 2010-02-20 12:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/common/hbverdsp.c
  * include/hbsetup.ch
  * contrib/xhb/xhbver.prg
    - Deleted HB_COMPAT_VO, HB_COMPAT_DBASE, HB_COMPAT_CLIP as build-time 
      options. They were not used, and in the future these should be 
      implemented as addon libraries.

  * INSTALL
    * Minor terminogology adjustment.

  * examples/hbdoc2/tmplates.prg
  * examples/hbdoc2/hbdoc2.prg
    - Deleted special handling of FlagShip functions.
2010-02-20 11:01:36 +00:00
Viktor Szakats
f70ea27f20 2010-02-20 11:50 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbextern.ch
  * src/rtl/browdb.prg
  * src/rdd/dbcmd.c
  * contrib/xpp/dbcmdx.c
  * contrib/xpp/browdbx.prg
    + Cleaned the way TBrowseDB() "skipper" function is defined.
      This means that from now on by default the faster, .c
      implementation will be used (now called __DBSKIPPER()).
      The same will be used by xpp lib (via compatibility stub
      called DBSKIPPER()). The .prg implementation (now moved
      in core) will be used when HB_CLP_STRICT is enabled.

  * include/hbextern.ch
    + Added missing HB_DYNCALL().

  * contrib/xpp/xpp.ch
    * Do not #define HB_COMPAT_XPP.
2010-02-20 10:51:51 +00:00
Viktor Szakats
7733350767 2010-02-20 05:12 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/hbziparc/doc
  + contrib/hbziparc/doc/en-EN
  + contrib/hbziparc/doc/en-EN/hbziparc.txt
  * contrib/hbziparc/hbziparc.prg
    + Separated docs from source code.

  * include/memoedit.ch
    * Replaced "#ifdef HB_COMPAT_XPP" with "#ifndef HB_CLP_STRICT".
      Which means we've endorsed these extensions in Harbour,
      and they are always enabled except in strict compatibility
      builds.
      (one remaining occurence)
2010-02-20 04:13:01 +00:00
Viktor Szakats
2da1437ec6 2010-02-20 04:48 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbsetup.ch
  * src/common/hbverdsp.c
    - Deleted HB_COMPAT_XPP option. It's no longer used in Harbour.
      From this point all Xbase++ compatibility functions and core
      classes are implemented in 'xpp' contrib library (name
      tentative). Add it to your lib list, if you need Xbase++
      compatible functions. IOW HB_COMPAT_XPP build time option
      got converted to a app link time option.

  * src/rtl/isprint.c
    - Deleted dirty Xbase++ extension of ISPRINTER(). Now it's
      purely Clipper compatible in default build.
      INCOMPATIBLE. For Xbase++ version, use XPP_ISPRINTER()
      (or HB_ISPRINTER() which is the exact same).

  * src/rtl/tobject.prg
  * src/rtl/transfrm.c
  * src/rtl/memoedit.prg
  * include/memoedit.ch
    * Replaced "#ifdef HB_COMPAT_XPP" with "#ifndef HB_CLP_STRICT".
      Which means we've endorsed these extensions in Harbour,
      and they are always enabled except in strict compatibility
      builds.

  * src/rdd/nulsys/nulsys.c
    - Deleted HB_COMPAT_XPP guarded function.

  * contrib/xhb/xhbver.prg
    * Always return .T. for _HB_COMPAT_XPP in version info.

  * include/box.ch
  * contrib/xpp/xpp.ch
    + Added Xbase++ compatibility box.ch constants from core box.ch.
      INCOMPATIBLE if you use B_THIN or B_FAT box style.

  * utils/hbtest/hbtest.prg
  * examples/hbdoc2/tmplates.prg
  * examples/hbdoc2/hbdoc2.prg
    - Deleted parts dealing with HB_COMPAT_XPP option.
2010-02-20 03:51:10 +00:00
Viktor Szakats
73aa1fd7d5 2010-02-20 04:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
- src/rtl/browdbx.prg
  - src/rtl/mousex.c
  * src/rtl/tbcolumn.prg
  - src/rtl/philesx.c
  * src/rtl/Makefile
  - src/rtl/thfuncx.prg
  - src/rtl/oemansix.c
  - src/rtl/tthreadx.prg
  - src/rtl/tgetx.prg
  - src/rtl/idlex.c
  * src/rtl/browdb.prg
  - src/rtl/typefilx.prg
  - src/rtl/binnumx.c
  * src/rtl/tbrowse.prg
  - src/rdd/dbjoinx.prg
  - src/rdd/dblistx.prg
  - src/rdd/dbtotalx.prg
  - src/rdd/dbstruxx.prg
  - src/rdd/dbsortx.prg
  * src/rdd/Makefile
  - src/rdd/dbcmdx.c
  - src/rdd/dbdetacx.c
  - src/rdd/dbupdatx.prg
  - src/rdd/dbfuncsx.prg
  * include/hbextern.ch
  * contrib/xpp/xppextrn.ch
  * contrib/xpp/binnumx.c
  * contrib/xpp/tthreadx.prg
    * Synced contrib/xpp compatibility lib source with core.
    - Deleted Xbase++ compatibility functions from core.
    ; NOTE: INCOMPATIBLE. If you use Xbase++ function, you should now link 
            xpp lib. (the name of the lib is not yet finalized)
    ; TODO: Clean remaining four HB_COMPAT_XPP guards and delete this 
            build-time option from core.
2010-02-20 03:31:25 +00:00
Viktor Szakats
1dae4e170f 2010-02-20 01:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbsetup.h
    * Changed not to rely on _WIN32_WCE to detect WinCE.

  * config/wce/global.mk
  * utils/hbmk2/hbmk2.prg
    % Changed to not pre-define _WIN32_WCE to any value. This should
      be user choice.

  * contrib/hbfimage/fi_winfu.c
    ! Fixed for WinCE builds. Now only non-WinCE compatible parts
      are disabled and functions keep being defined on .prg level
      regardless.

  * contrib/hbfimage/fi_winfu.c
  * contrib/hbfimage/fi_wrp.c
    % Cleaned logic that guards '_WINDOWS_' definition.

  * contrib/hbwin/win_bmp.c
    ! Fixed to use hexadecimal notation instead of octal, because
      some compilers where getting confused and tried to match these
      with some codepages.

  * contrib/hbwin/win_prn1.c
    ! Fixed for poccarm, because Pelles C (even 6.0) forgets to
      map FONTENUMPROC to FONTENUMPROCW.

  * contrib/hbwin/win_prn3.c
    ! Added some extra WinCE guards to avoid warning for this platform.

  * src/debug/dbgentry.c
    * Formatting.
2010-02-20 00:11:43 +00:00
Viktor Szakats
a891db8053 2010-02-18 16:46 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbsetup.h
    * Cleaned the way WinCE is detected.
      Now looking for UNDER_CE or _WIN32_WCE constants. (was: _WINCE)

  * utils/hbmk2/hbmk2.prg
    * Cleaned the way constants are initialized for WinCE platform. It's also
      means they are now synced with GNU Make build system. This means:
         UNICODE, _WIN32_WCE (to 0x501), UNDER_CE are always defined.
         Secondary CPU macros are defined as needed.
         Removed all the other WinCE related constants.
    + Defining UNDER_CE and _WIN32_WCE for resource compiler for WinCE targets.

  * config/wce/global.mk
  * config/wce/mingwarm.mk
  * config/wce/poccarm.mk
  * config/wce/msvcarm.mk
    * Cleaned the way constants are initialized for WinCE platform.
      - '-D_WIN32_WCE=0x501 -DUNDER_CE' moved to global, so now these will
        be equally defined for all WinCE compilers.
      - Deleted these from msvcarm targets ('-D_WINCE' was apparently used
        by our own hbsetup.h detection code only):
        '-D_WINCE -DCE_ARCH -DWINCE -D_WINDOWS -D_UNICODE -D_UWIN'
      - Deleted this from from poccarm targets:
        '-D_WINCE'
      - Deleted several secondary CPU constants for msvc* targets:
        '-D_ARM_ -DARMV4 -D_ARMV4I_ -Darmv4i -D__arm__'
        '-D_SHX_'
        '-D_MIPS_ -DMIPS_HAS_FPU'
        These are not necessarily true, and not even necessary. I you know
        otherwise, speak up.
      - Kept primary CPU constants:
        '-D_M_*'
      - Kept secondary CPU constants (needed by some inconsistent Windows header files):
        '-DARM', '-DSHx', '-DMIPS', '-D_X86_'

  * config/win/global.mk
    * Cleaned to use 'HB_BUILD_UNICODE' setting to enable UNICODE for non-x86 targets.

  * config/win/msvc.mk
    ! Fixed to respect 'HB_BUILD_UNICODE' user-setting when enabling UNICODE for
      newer MSVC targets. IOW it's now possible to turn off UNICODE for newer
      MSVC targets.

  ; Above should ensure more consistency for different WinCE compilers.
    Closer behavior and more consistent build logs, with less unnecessary options.
2010-02-18 15:47:27 +00:00
Przemyslaw Czerpak
438a7f86b8 2010-02-17 20:11 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbdefs.h
    * use '__int64' instead of 'long long' only in non GCC MS-Windows builds

  * harbour/tests/bldtest/bldtest.c
    * use '__int64' instead of 'long long' only in non GCC MS-Windows builds
    * formatting
2010-02-17 19:11:16 +00:00
Viktor Szakats
3fbb0563c7 2010-02-17 18:02 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdyn.ch
  * src/rtl/hbdyn.c
    + Added support for misc 'options'. Both for return values
      and parameters.
    + Added HB_DYN_OPT_NULLTERM option which will cause that
      buffers passed by reference will return null terminated
      string (thus cutting the rest of the buffer).
    % Implemented macros sent to the list by Przemek. This made
      the source significantly smaller (one quarter of original
      size) and much easier to manage/modify. Thanks!

  * tests/testdyn.prg
    + Added test for zero terminated strings.
    ! Fixed to set UTF16 mode for Windows "WIDE" call.

  * contrib/xpp/dllx.c
    % Minor optimization.
2010-02-17 17:07:20 +00:00
Viktor Szakats
4cffc42648 2010-02-17 11:39 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/common/hbwince.c
  * include/hbwince.h
    ! Added abort() declaration and implementation
      for poccarm and old msvcarm targets.

  * contrib/hbwin/win_bmp.c
    + Enabled for WinCE: WIN_BITMAPDIMENSIONS()

  * contrib/hbwin/win_bmpd.c
    + All functions enabled for WinCE.

  * contrib/hbwin/win_prn1.c
    + WIN_TEXTOUT() changed to always use ExtTextOut() internally,
      so that it work on WinCE. (it's also faster)
    + WIN_CREATEFONT() changed to use CreateFontIndirect() which
      also works for WinCE.

  * contrib/hbwin/wapi_wingdi.c
    + Added WAPI_CREATEFONTINDIRECT(), which always works on both
      Windows and WinCE.

  * contrib/hbwin/win_prn1.c
  * contrib/hbwin/win_prn2.c
  * contrib/hbwin/win_prn3.c
  * contrib/hbwin/wapi_wingdi.c
    + All functions enabled for WinCE. The ones not available
      on WinCE, will return permanent error.

  * contrib/hbwin/legacycd.c
    ! Added missing WinCE header after previous commit.
2010-02-17 10:41:33 +00:00
Viktor Szakats
83bbb7b34d 2010-02-17 03:06 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/fstemp.c
    ! Using hb_fsTempDir() in HB_FTEMPCREATEEX() instead of
      old solution. This should fix it for some non-*nix
      platforms where *nix specific TEMPDIR envvar was used
      to determine temp directory.

  * contrib/hbwin/Makefile
  * include/Makefile
  * src/rtl/Makefile
  - contrib/hbwin/hbdyn.ch
  + include/hbdyn.ch
  - contrib/hbwin/hbdyn.c
  + src/rtl/hbdyn.c
  - contrib/hbwin/win_dllc.c
  + src/rtl/hbdynhb.c
  - contrib/hbwin/tests/testdll.c
  + tests/testdyn.c
  - contrib/hbwin/tests/testdll.prg
  + tests/testdyn.prg
  - contrib/hbwin/tests/testdll1.prg
  + tests/testdyn1.prg
  - contrib/hbwin/hbdyn.h
  * include/hbapi.h
    * Moved dynamic library call related functions to
      core (RTL).
    * Windows specific test code (currently all) guarded
      for platform.
    * Changed default calling convention to cdecl.
      Tests adaptd accordingly.
    * Terminology change: 'dll' -> 'dynamic library'
    ; HB_DYNCALL() is now part of core Harbour, and it's 
      platform independent. It's platform (ABI) dependent though,
      and currently x64 and x86/stdcall/syscall/cdecl 
      is supported and these were tested (except OS/2 syscall).

  * contrib/hbwin/hbwin.h
  * contrib/hbwin/win_misc.c
  * contrib/hbwin/legacycd.c
    * Low level hbwin_getprocaddress() function moved
      to legacy file and made static.

  * contrib/xpp/Makefile
  * contrib/xpp/dllx.c
  * contrib/xpp/xpp.hbc
    + Enabled DLL*() functions for all platforms.
    - Deleted dependence on hbwin library.

  * contrib/xpp/tests/testdll.prg
    * Windows specific parts (currently the whole test) guarded
      for platform.

  * contrib/hbct/Makefile
  - contrib/hbct/diskhb.prg
  * contrib/hbct/disk.c
  * contrib/xhb/Makefile
  + contrib/xhb/diskhb.prg
    * GETVOLINFO() moved from hbct to xhb.

  * ChangeLog
    * Marked some TODO/TOFIX items as DONE.
2010-02-17 02:09:17 +00:00
Viktor Szakats
cd83e94235 2010-02-16 11:13 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbthread.h
  * src/vm/fm.c
    ! Tweaks to allow msvcarm 2003 build.

  * src/vm/maindllp/dllpcode.c
  * src/vm/maindllh.c
    ! Deleted (AFAIK unnecessary) HB_EXPORT to make msvcarm 2003 happy.

  * src/common/hbgete.c
  * src/rtl/net.c
    ! Fixed missing #include hbwince.h.

  * external/sqlite3/Makefile
    - Disabled for msvcarm 2003.

  * contrib/gtalleg/Makefile
    - Disabled for msvcarm.

  * contrib/hbodbc/Makefile
  * contrib/rddsql/sddodbc/Makefile
    ! Do not force sql.h header for msvcarm 2003.

  * contrib/rddbmcdx/hbbmcdx.h
    ! Fixed HB_EXTERN placement to make msvcarm 2003 happy.

  * contrib/hbct/ctnet.c
  * contrib/xhb/hbsyslog.c
  * contrib/xhb/hbserv.c
  * contrib/hbtpathy/tpwin.c
  * contrib/hbnf/getenvrn.c
  * contrib/hbwin/wapi_winuser.c
  * contrib/hbwin/olecore.c
  * contrib/hbwin/win_dlg.c
    ! Fixed to make them compile on msvcarm 2003.

  * config/wce/msvcarm.mk
  * utils/hbmk2/hbmk2.prg
    ! Fixed warning option for msvcarm 2003.

  * utils/hbmk2/hbmk2.prg
    ! Fixed type causing RTE with msvcarm targets.

  ; NOTE: hbcurl doesn't build with msvcarm 2003, so either
          don't enable it, or experiment with HB_USER_CFLAGS=-U_WIN32_WCE
          hack. The problem lies somewhere in libcurl headers,
          not Harbour code.
2010-02-16 10:14:24 +00:00
Przemyslaw Czerpak
b0f4f1f4a1 2010-02-15 10:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbvm.h
  * harbour/src/vm/hvm.c
    + added new C function hb_vmFindFuncSym() which looks for function with
      given name registered in HVM by dynamically loaded library. It looks
      for public function and if public function cannot be located it tries
      to find first static function which has requested name.

  * harbour/include/hbapi.h
  * harbour/src/vm/dynlibhb.c
    + added new C functions to manage dynamic libraries:
         PHB_ITEM hb_libLoad( PHB_ITEM pLibName, PHB_ITEM pArgs );
         HB_BOOL hb_libFree( PHB_ITEM pDynLib );
         void * hb_libHandle( PHB_ITEM pDynLib );
         void * hb_libSymAddr( PHB_ITEM pDynLib, const char * pszSymbol );

  * harbour/include/hbextern.ch
  * harbour/src/vm/dynlibhb.c
    - removed HB_LIBDO() PRG function. If someone used it then please
      use DO() instead
    + added new PRG function:
         HB_LIBGETFUNSYM( <pLibHandle>, <cFuncName> ) -> <sFuncSym> | NIL
      It works in similar way to HB_HRBGETFUNSYM() but it looks for
      PRG function in given library. It tries to find public function
      and if such function does not exists it looks for first static one.
      <pLibHandle> is library handle returned by HB_LIBLOAD()
      <cFuncName> is PRG function name.
      <sFuncSym> is symbol of located function
      If function can be found HB_LIBGETFUNSYM() returns NIL.
      Warning: this function returns only symbols for functions registered
               in HVM when library was loaded. It will not return symbols
               for functions written in C and not explicitly registered
               using own symbol table.
2010-02-15 09:05:58 +00:00
Przemyslaw Czerpak
cdd7cd30db 2010-02-14 15:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbwince.h
    * redirect GetProcAddress() to GetProcAddressA() in WinCE builds.
      ASCII version of GetProcAddress() is supported by WinCE 3.0 and
      later versions.

  * harbour/include/hbdefs.h
    - removed HBTEXT() macro

  * harbour/src/common/hbver.c
  * harbour/src/rtl/diskspac.c
  * harbour/src/rtl/disksphb.c
  * harbour/src/rtl/gtwvt/gtwvt.c
  * harbour/src/vm/extrap.c
  * harbour/src/vm/maindllp/dllpcode.c
  * harbour/contrib/gtwvg/gtwvg.c
  * harbour/contrib/gtwvg/gtwvg.h
  * harbour/contrib/gtwvg/wvgwin.c
  * harbour/contrib/hbwin/wapi_winbase.c
  * harbour/contrib/hbwin/axcore.c
  * harbour/contrib/hbwin/mapi.c
  * harbour/contrib/hbwin/win_prn2.c
  * harbour/contrib/hbwin/win_prn3.c
  * harbour/contrib/hbwin/wapi_shellapi.c
    * eliminated HBTEXT() macro

  * harbour/src/rtl/diskspac.c
  * harbour/src/rtl/disksphb.c
  * harbour/contrib/hbwin/wapi_winbase.c
    % optimized GetProcAddress() calls to store function addresses
      in static variables
2010-02-14 14:18:13 +00:00
Viktor Szakats
eae088abe3 2010-02-14 13:34 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* ChangeLog
    + Added more description to WIN_DLLCALL() function usage.

  * contrib/hbwin/hbdyn.c
    + Type conversion fixes after actual testing.
      Now everything should work except float parameter passing
      on x64 and passing/receiving unsigned longlongs to/from .dlls
      on both x64/x86. I couldn't found how to interact properly
      with HVM in this case.
      Please review remaining TOFIXes.

  + contrib/hbwin/tests/testdll1.prg
  + contrib/hbwin/tests/testdll.c
    + Added code to test parameter passing.

  * contrib/hbwin/legacycd.c
  * contrib/hbwin/win_dll.c
    + Forcing stdcall calling convention. (it's the default yet,
      but this may change to cdecl).

  * contrib/hbwin/win_dll.c
    * bUNICODE -> bWIDE.

  * contrib/hbwin/hbdyn.ch
    + Added comment.

  * include/hbdefs.h
    * Typo in comment.

  * contrib/hbwin/Makefile
    ! Added missing hbdyn.h.

  * utils/hbmk2/hbmk2.prg
    ! Fixed to never add double backslash to output dir.
2010-02-14 12:36:10 +00:00
Viktor Szakats
b41aa9e908 2010-02-12 21:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdefs.h
    * HB_BYTE made a synonym for HB_UCHAR.
      HB_BYTE is only there for convenience, HB_UCHAR is recommended
      for unsigned byte streams.
    * HB_U8 now based on HB_UCHAR.
    ! Fixed UINT64/INT64 left defined in some cases.

  * contrib/hbwin/hbwin.h
  * contrib/hbwin/hbwin.ch
  * contrib/hbwin/tests/testdll.prg
  * contrib/hbwin/win_dll.c
  * contrib/hbwin/legacycd.c
    + Added LONGLONG C types.
    + Added support for user-specifiable parameter types.
      This works now in low-level C dll call function and also
      on high level in HB_DLLCALL().
    + Added support for LONGLONG/int64 integers.
    + Added support for raw strings. (no UNICODE or codepage
      conversion).
    ! Fixed typo in iRetTypeRaw assigment.
    + Added one new test for param type spec test. (pretty bare)
    ! Fixed WAPI_GETPROCADDRESS() to GETPROCADDRESS(). Latter
      has some extra features so we still need it.
    * GETPROCADDRESS() moved back to non-compatibility.
    ; Please review the code. There are some integer conversion
      which might not be proper (& 0xFFFF).

  * utils/hbmk2/hbmk2.prg
    ! Typo in recently added help text.

  * contrib/Makefile
  - contrib/hbbmcdx
  + contrib/rddbmcdx
  * contrib/rddbmcdx/bmdbfcdx.c
  * contrib/rddbmcdx/Makefile
    * Renamed hbbmcdx to rddbmcdx.
    * More cleanup to RDD code. (sync with rddcdx, deleted
      unnecessary lines)
    - Deleted "turbo" functionality. BM_TURBO() is now a dummy.
      AFAIR this isn't safe, and even if it is it should be
      implemented differently, not as a static variable.
2010-02-12 20:02:34 +00:00
Przemyslaw Czerpak
65388ee4af 2010-02-10 12:34 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/pp/Makefile
  * harbour/src/pp/hbpp.c
    ! fixed compilation with HB_DYNLIB macro

  - harbour/src/vm/maindll.c
    - removed unused dummy file

  * harbour/src/vm/Makefile
  * harbour/include/hbapi.h
  + harbour/src/vm/procaddr.c
    + added hb_vmProcAddress() function

  * harbour/include/hbdefs.h
    + added HB_EXPORT_ATTR and HB_IMPORT_ATTR macros - they are always
      defined regardless of HB_DYNLIB macro state

  * harbour/src/vm/maindllh/Makefile
    * disabled HB_DYNLIB

  * harbour/src/vm/maindllp/Makefile
  + harbour/src/vm/maindllp/dllpcode.c
    + added new import library for PCODE DLLs. It contains wrappers for
      hb_vmProcessSymbols() and hb_vmExecute() implemented in a way
      which creates minimal speed overhead.
    + added error reporting (MessageBox()) when redirected functions
      cannot be found.
    + added hb_dllGetProcAddress() C function

  * harbour/include/hbtypes.h
  - harbour/src/vm/maindllp.c
  + harbour/src/vm/maindllp/dllext.c
    * moved old wrappers to some of extended and array API functions
      into separate file
    * updated to use hb_dllGetProcAddress()
    - removed functions which should not be used by user code
    % cleaned, optimized and added error reporting to function wrappers.

    I do not know who chose exported functions but it looks like a
    quite random set which should be extended for real functionality.
    If someone is interested then he can do that. I updated this file
    only for backward compatibility.

   Above modifications allows to use PCODE DLLs with any application
   also static ones using Harbour compiled without exported symbols.
   It's enough to link it with this function:
      HB_EXPORT_ATTR PHB_FUNC dll_hb_vmProcAddress( const char * szFuncName )
      {
         return hb_vmProcAddress( szFuncName );
      }
   The official form of including above function to final binaries is not
   defined yet.
2010-02-10 11:34:42 +00:00
Viktor Szakats
d35a1a4ecd 2010-02-09 21:57 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdefs.h
    + Added more info on HB_SIZE/HB_ISIZ future plans.

  * contrib/hbmemio/memio.c
  * contrib/hbnetio/netiocli.c
    - Deleted ( HB_SIZE ) casts in more obscure places.

  * utils/hbmk2/hbmk2.prg
    + -hbnolib option is now automatically enabled in -hbdyn mode.
      To disable it anyway, -hbnolib- option can be used.
2010-02-09 20:58:31 +00:00
Viktor Szakats
39b4e1f6f8 2010-02-09 14:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbregex.c
    ! Added distinctive error codes to different RTEs.
    % Deleted English strings from error messages.

  * include/clipdefs.h
    ! Fixed for OS/2 after recent changes. (type collision of legacy
      types with OS/2 system types)

  * src/rtl/strxor.c
  * src/rtl/trim.c
  * src/rtl/transfrm.c
  * src/rtl/strzero.c
  * src/rtl/strtran.c
  * src/rtl/strc.c
  * src/rtl/space.c
  * src/rtl/trace.c
  * src/rtl/soundex.c
  * src/rtl/valtostr.c
    * Size variables renamed to have 'n' prefix instead of
      'ul' and 'l'.
2010-02-09 13:27:39 +00:00
Viktor Szakats
02f78e6883 2010-02-09 04:35 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdefs.h
    ! Fixed missing HB_EXTERN_*
2010-02-09 03:35:53 +00:00
Viktor Szakats
d3ab116c3c 2010-02-09 04:30 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdefs.h
    ! Fixed remaining 'LONG' type on 64-bit non-Windows systems.
    ! Indentation fixes.
2010-02-09 03:30:30 +00:00
Viktor Szakats
5cfcb4f323 2010-02-09 03:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/common/Makefile
  * src/common/hbwince.c
  + src/common/hbwin.c
    ! Moved Windows UNICODE helper function into new source,
      leaving WinCE API local emulation into separate source file.

  * include/hbwince.h
    + Now automatically includes windows.h. (since it depends on it)

  * include/hbdefs.h
    - Deleted HB_OS_WIN_USED autodetection. Not needed anymore.
    ! Fixed to not include hbwince.h anymore. It should be included
      directly from source files, where needed.

  * include/hbdefs.h
  * contrib/hbodbc/odbc.c
  * contrib/rddsql/sddodbc/odbcdd.c
    + Always defining HB_TCHAR_*() macros. They will be dummies
      in non-Windows or non-UNICODE builds.

  * include/clipdefs.h
    ! Legacy Clipper types moved to the bottom, because it's
      no longer true that hbapi.h defines their dependent types
      (our legacy ones).

  * contrib/hbwin/win_bmpd.c
  * contrib/hbwin/wapi_wingdi.c
  * contrib/hbwin/win_misc.c
  * contrib/hbwin/wapi_winbase.c
  * contrib/hbwin/wapi_alloc.c
  * contrib/hbwin/wapi_winuser.c
  * contrib/hbwin/hbwin.h
  * contrib/hbwin/hbwinole.h
  * contrib/hbwin/mapi.c
  * contrib/hbwin/wapi_wingdi_font.c
  * contrib/hbwin/olecore.c
  * contrib/hbwin/wce_simc.c
  * contrib/hbwin/wapi_winnls.c
  * contrib/hbwin/win_bmp.c
  * contrib/hbwin/win_com.c
  * contrib/hbwin/Makefile
  * contrib/hbwin/win_regc.c
  * contrib/hbwin/win_prn1.c
  * contrib/hbwin/win_prn2.c
  * contrib/hbwin/win_prn3.c
  * contrib/hbwin/wapi_commctrl.c
  * contrib/hbwin/win_osc.c
  * contrib/hbwin/wce_smsc.c
  * contrib/hbwin/wapi_err.c
  * contrib/hbwin/legacycd.c
  * contrib/hbwin/hbwapi.h
  * contrib/hbwin/wapi_shellapi.c
  * contrib/hbwin/win_dlg.c
  * contrib/hbwin/legacyco.c
  * contrib/hbwin/win_dll.c
  * contrib/hbwin/wapi_winbase_mutex.c
    + Reworked the way windows.h is included and headers
      are organized. New types allow complete control and
      flexibility. Finally.

  * src/vm/mainwin.c
  * src/vm/maindll.c
  * src/vm/maindllh.c
  * src/vm/cmdarg.c
  * src/vm/maindllp.c
  * src/vm/task.c
  * src/vm/fm.c
  * src/vm/extrap.c
  * src/vm/thread.c
  * src/vm/hvmall.c
  * src/vm/dynlibhb.c
  * src/common/hbgete.c
  * src/common/hbffind.c
  * src/common/hbver.c
  * src/common/hbtrace.c
  * src/common/hbfsapi.c
  * src/common/hbdate.c
  * src/rtl/gtwin/gtwin.c
  * src/rtl/fstemp.c
  * src/rtl/gttone.c
  * src/rtl/fserr.c
  * src/rtl/filesys.c
  * src/rtl/lang.c
  * src/rtl/diskspac.c
  * src/rtl/console.c
  * src/rtl/cputime.c
  * src/rtl/gtclip.c
  * src/rtl/oemansi.c
  * src/rtl/disksphb.c
  * src/rtl/net.c
  * src/rtl/gtgui/gtgui.c
  * src/rtl/hbproces.c
  * src/rtl/gtwvt/gtwvt.h
  * src/rtl/gtwvt/gtwvt.c
  * src/rtl/gtkbstat.c
  * contrib/hbct/ctnet.c
  * contrib/hbct/dattime3.c
  * contrib/hbct/disk.c
  * contrib/hbodbc/odbc.c
  * contrib/xhb/hboutdbg.c
  * contrib/xhb/xhberrc.c
  * contrib/xhb/filestat.c
  * contrib/xhb/hbserv.c
  * contrib/hbtpathy/tpwin.c
  * contrib/hbmzip/hbmzip.c
  * contrib/hbqt/hbqt_base.cpp
  * contrib/hbnf/getenvrn.c
  * contrib/rddsql/sddodbc/odbcdd.c
  * contrib/rddads/adsx.c
  * contrib/rddads/adsfunc.c
  * contrib/rddads/rddads.h
  * contrib/rddads/ads1.c
  * contrib/rddads/adsmgmnt.c
  * examples/hbapollo/apollo.c
    + HB_OS_WIN_USED trick replaced with direct windows.h
      inclusion, just like we do for all other OSes.
    + Also inclded hbwince.h in source files which required
      it. Please test it.

  * contrib/hbqt/gtqtc/gtqtc.cpp
    - Deleted commented code to not create false grep hits
      all the time.
2010-02-09 02:58:53 +00:00
Viktor Szakats
e5abaa5fb4 2010-02-09 02:12 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/runner.c
  * src/vm/garbage.c
  * src/vm/classes.c
  * src/rtl/cdpapi.c
  * src/rtl/cdpapihb.c
  * src/rdd/dbcmd.c
  * include/hbapicdp.h
  * include/hbapiitm.h
  * include/hbextern.ch
  * include/hbdefs.h
  * include/hbsetup.h
  * include/hbapi.h
    - Deleted code guarded with (previously disabled) HB_LEGACY_LEVEL2

  * include/rdd.api
  * include/clipdefs.h
    + Permanently enabled HB_LEGACY_LEVEL2 related changes.

  * contrib/xhb/bkgtsks.c
    - Deleted HB_OS_WIN_USED. It wasn't used.

  * include/hbapi.h
  * src/vm/cmdarg.c
    * hb_winmainArgGet() changed to not use Windows types.
      This function is declared in hbapi.h and this header
      shouldn't depend on windows.h.

  * include/hbwince.h
  * include/hbsetup.h
    * HB_OS_HAS_DRIVE_LETTER is now configured in central
      place (hbsetup.h) for WinCE platform also.

  * include/hbwince.h
  * include/hbdefs.h
    * Windows (CE and not-CE) specific declarations moved from
      hbwince.h to hbdefs.h.

  * include/hbdefs.h
    % hbwince.h inclusion now better guarded to not include it
      for non WinCE platforms.
    + HB_OS_WIN_USED macro will now autodetected by checking
      whether windows.h was included before this header.
      This is required for hbwince.h. I don't like it, since
      hbapi.h still depends on windows.h for WinCE platform, 
      which still ties us to unnecessary windows.h inclusion 
      rules. Rather, hbwince.h should be included directly
      by .c files when needed and when HB_OS_WIN_CE is defined.
      After all this our little Windows API implementation 
      for compilers which need it.

  * include/hbdefs.h
  * include/hbwmain.c
    + hb_winmainArgInit() declaration moved to hbwmain.c, the
      only place where this is used.
    * Deleted HB_EXPORT from hb_winmainArgInit. Pls speak up if
      this is wrong. It's possible to move this back to hbdefs.h,
      but parameter types should be changed to ANSI ones.

  * contrib/gtwvg/gtwvg.c
  * contrib/gtwvg/gtwvg.h
  * contrib/gtwvg/wvggui.c
  * contrib/gtwvg/wvgcuig.c
  * contrib/gtwvg/wvggui.h
  * contrib/gtwvg/wvgwin.c
  * contrib/gtwvg/wvgutils.c
  * contrib/gtwvg/wvgcore.c
  * contrib/gtwvg/wvgwing.c
    - Deleted HB_OS_WIN_USED. Now it should work without it.
      windows.h was already included in non-official method, so
      it's now okay also.
2010-02-09 01:13:25 +00:00
Viktor Szakats
328e65a71a 2010-02-09 00:41 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbsetup.ch
    + HB_LEGACY_OFF will also enable HB_LEGACY_TYPES_OFF.

  * contrib/hbfimage/Makefile
  * contrib/hbfimage/fi_winfu.c
  * contrib/hbfimage/fi_wrp.c
    + Forcing HB_LEGACY_TYPES_OFF.
    + Switched to new regular kind of windows.h inclusion.
    + Enabled for *nix platforms. Now it should build w/o problems.

    ; New regular windows.h inclusion goes as follows:
      ---
      /* After #include "hbapi.h", write this: */
      #if defined( HB_OS_WIN )
         #include <windows.h> /* or any other Windows API header you may need, in any valid order or combination. */
      #endif
      ---

      Old hacky method can now be safely deleted:
        '#define HB_OS_WIN_USED' and/or
        '#define HB_OS_WIN32_USED'

  * contrib/hbbtree/hb_btree.c
    ! Cleaned '{};' to be '{}' after prev cleanup (';' -> '{};')

  * doc/whatsnew.txt
    + Added section for version 2.1.0.
2010-02-08 23:42:55 +00:00
Viktor Szakats
7aa6a7611b 2010-02-09 00:13 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/pp/pplib.c
  * src/common/hbprintf.c
  * src/rtl/gtclip.c
  * src/rdd/dbfntx/dbfntx1.c
  * src/rdd/dbfnsx/dbfnsx1.c
  * src/rdd/dbfcdx/dbfcdx1.c
  * src/rdd/dbffpt/dbffpt1.c
  * src/compiler/hbpcode.c
  * include/hbgtcore.h
  * contrib/hbbmcdx/bmdbfcdx.c
  * contrib/hbbtree/hb_btree.h
  * contrib/hbbtree/hb_btree.c
    ! Fixed remaining type conversion problems after doing
      live testing on win/bcc.
      Please test it on other platforms.

  * config/rules.mk
    + Enabled HB_LEGACY_TYPES_OFF on default Harbour
      builds. This is required to keep new type usage
      enforced.
2010-02-08 23:17:09 +00:00
Viktor Szakats
ac38988941 2010-02-08 23:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtwin/gtwin.c
  * include/hbrddcdx.h
  * contrib/hbct/screen2.c
  * contrib/hbct/ct.h
  * contrib/xhb/freadlin.c
  * contrib/gtwvg/gtwvg.h
    ! Cleaned remaining legacy types after verification with grep script.
2010-02-08 22:19:16 +00:00
Viktor Szakats
b1cd0953df 2010-02-08 22:49 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/pp/ppcore.c
  * src/pp/hbpp.c
  * src/vm/macro.c
  * src/vm/runner.c
  * src/vm/estack.c
  * src/vm/itemapi.c
  * src/vm/hvm.c
  * src/vm/cmdarg.c
  * src/vm/maindllp.c
  * src/vm/fm.c
  * src/vm/thread.c
  * src/vm/memvars.c
  * src/vm/eval.c
  * src/vm/extend.c
  * src/vm/classes.c
  * src/debug/dbgentry.c
  * src/common/expropt1.c
  * src/common/expropt2.c
  * src/common/hbhash.c
  * src/nortl/nortl.c
  * src/macro/macrolex.c
  * src/rtl/gtxwc/gtxwc.c
  * src/rtl/gtstd/gtstd.c
  * src/rtl/gtcgi/gtcgi.c
  * src/rtl/errapi.c
  * src/rtl/hbprocfn.c
  * src/rtl/hbsocket.c
  * src/rtl/gtpca/gtpca.c
  * src/rtl/filebuf.c
  * src/rtl/hbproces.c
  * src/rdd/dbfntx/dbfntx1.c
  * src/rdd/dbsql.c
  * src/rdd/hbdbsort.c
  * src/rdd/workarea.c
  * src/rdd/wacore.c
  * src/rdd/sdf1.c
  * src/rdd/dbcmdx.c
  * src/rdd/dbfnsx/dbfnsx1.c
  * src/rdd/dbcmd.c
  * src/rdd/dbfcdx/dbfcdx1.c
  * src/rdd/delim1.c
  * src/rdd/dbf1.c
  * src/rdd/hsx/hsx.c
  * src/rdd/usrrdd/usrrdd.c
  * src/rdd/wafunc.c
  * src/rdd/dbffpt/dbffpt1.c
  * src/rdd/hbsix/sxord.c
  * src/rdd/hbsix/sxfname.c
  * src/rdd/hbsix/sxtable.c
  * src/rdd/hbsix/sxutil.c
  * src/rdd/hbsix/sxcrypt.c
  * src/compiler/ppcomp.c
  * src/compiler/hbmain.c
  * src/compiler/compi18n.c
  * src/compiler/cmdcheck.c
  * src/compiler/hbdbginf.c
  * src/compiler/hbpcode.c
  * src/compiler/genhrb.c
  * src/compiler/hbdead.c
  * src/compiler/complex.c
  * src/compiler/genobj32.c
  * src/compiler/genc.c
  * src/compiler/hbopt.c
  * src/compiler/hbident.c
  * src/compiler/gencc.c
  * src/compiler/hbcmplib.c
  * src/compiler/hblbl.c
  * src/compiler/harbour.yyc
  * src/compiler/harbour.y
  * include/hbpp.h
  * include/hbrdddbf.h
  * include/hbvmpub.h
  * include/hbrddnsx.h
  * include/hbstack.h
  * include/hbgtcore.h
  * include/hbapifs.h
  * include/hbthread.h
  * include/hbdefs.h
  * include/hbmacro.h
  * include/hbinit.h
  * include/hbtypes.h
  * include/hbrddsdf.h
  * include/hbapi.h
  * include/hbapiitm.h
  * include/hbrddntx.h
  * include/hbvm.h
  * include/hbapidbg.h
  * include/hbcomp.h
  * include/hbapirdd.h
  * include/hbcompdf.h
  * include/hbrdddel.h
  * include/hbexpra.c
  * include/hbexprop.h
  * include/hbrddcdx.h
  * include/hbapicls.h
  * include/hbapierr.h
  * include/hbrddfpt.h
  * include/hbhash.h
  * include/hbregex.h
  * include/hbexprb.c
  * contrib/hbct/screen2.c
  * contrib/hbct/token2.c
  * contrib/hbct/dbftools.c
  * contrib/hbct/atadjust.c
  * contrib/hbct/ctwin.c
  * contrib/hbct/files.c
  * contrib/hbct/dattime3.c
  * contrib/hbct/ctstr.c
  * contrib/hbct/screen1.c
  * contrib/hbct/token1.c
  * contrib/hbct/ctc.c
  * contrib/hbct/ct.h
  * contrib/hbct/atnum.c
  * contrib/hbct/asciisum.c
  * contrib/hbct/numat.c
  * contrib/hbct/atrepl.c
  * contrib/xhb/bkgtsks.c
  * contrib/xhb/hbcrypt.c
  * contrib/xhb/fparse.c
  * contrib/xhb/datesxhb.c
  * contrib/xhb/hbnxs.h
  * contrib/hbqt/gtqtc/gtqtc.cpp
  * contrib/xpp/dbcmdx.c
  * contrib/hbnf/dispc.c
  * contrib/hbnf/ftattr.c
  * contrib/hbmemio/memio.c
  * contrib/hbnetio/netiocli.c
  * contrib/rddsql/sddmy/mysqldd.c
  * contrib/rddsql/sddpg/pgsqldd.c
  * contrib/rddsql/sddfb/fbirddd.c
  * contrib/rddsql/sddodbc/odbcdd.c
  * contrib/rddsql/hbrddsql.h
  * contrib/rddsql/sqlbase.c
  * contrib/rddsql/sqlmix.c
  * contrib/rddads/adsx.c
  * contrib/rddads/adsfunc.c
  * contrib/rddads/rddads.h
  * contrib/rddads/ads1.c
  * contrib/rddads/adsmgmnt.c
  * contrib/hbmisc/spd.c
  * contrib/hbtip/utils.c
  * contrib/hbtip/encmthd.c
  * contrib/hbbmcdx/bmdbfcdx.c
  * contrib/hbbmcdx/hbbmcdx.h
  * contrib/hbbtree/hb_btree.h
  * contrib/hbbtree/hb_btree.c
    * ULONG -> HB_ULONG, HB_SIZE
      (except for external (OS) API specific usage)
    * Formatting.

    ; NOTE: I converted ULONG to HB_SIZE where I felt it appropriate,
            but didn't touch compiler, codeblock handling, low-level
            RDD (Set/GetVarLen method) and high-level contrib RDDs, so
            this needs to be cleaned.
            Also there may be cases where I didn't change the whole
            call chain to HB_SIZE.

    ; NOTE: It would be probably worthy to add new types for these purposes:
           - line number (HB_USHORT)
           - record number (HB_ULONG)
           - RDD connection (HB_ULONG)
           - parameter count / stack position / class member positions / etc (HB_USHORT, sometimes HB_ULONG)
           - pcode (HB_BYTE and char)
           - flags / modes (HB_USHORT / HB_ULONG)
           - timers (HB_ULONG, HB_MAXINT)
           - GT API character (HB_USHORT)

    ; REQUESTS:
          - Pls don't over-align variable declarations. It makes
            modification much much slower. Sometimes declarations are
            aligned even if there was only one or two of them in a block.
          - Pls always add variable names in declarations, otherwise the purpose
            of the function is very slow to decipher when looking at it.
          - Keep up the nice formatting according to Harbour standards,
            it makes modifications much much easier.

    ; TODO:
          - Verify with grep script
          - Verify with HB_USER_CFLAGS=-DHB_LEGACY_TYPES_OFF
          - Make HB_LEGACY_TYPES_OFF default for Harbour builds.
          - Tie HB_LEGACY_TYPES_OFF to HB_LEGACY_LEVEL3
          - Replace current windows.h inclusion hack with regular method
          - Delete hacks dealing with former type chaos:
               HB_CLIPPER_INT_ITEMS, HB_DONT_DEFINE_BASIC_TYPES, HB_DONT_DEFINE_BOOL, HB_DONT_DEFINE_BYTE, HB_DONT_DEFINE_LONG
          - Retest hbfimage on *nix, delete hacks
          - Normalize HB_BYTE vs. HB_UCHAR usage
          - Type cleanups, f.e. HB_SIZE vs. HB_ULONG
          - Add new special types (see above)
          - Switch HB_SIZE to signed (big project), and delete HB_ISIZ afterwards.
2010-02-08 21:52:47 +00:00
Przemyslaw Czerpak
42d8c77acc 2010-02-08 20:24 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapicdp.h
  * harbour/src/rtl/cdpapi.c
    * replaced 'unsigned char' with 'HB_UCHAR'

  * harbour/src/rtl/cdpapihb.c
  * harbour/contrib/hbwin/wapi_shellapi.c
    % minor optimization

  * harbour/src/vm/maindllp.c
    * use already existing HB_MACRO2STRING() macro instead of locally
      defined HB_DLLSTR_()
    * respect defined but not used so far HB_DLL_NAMEMT and HB_DLL_NAMEMT2
2010-02-08 19:24:22 +00:00
Viktor Szakats
32f59a1f70 2010-02-08 19:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/macro.c
  * src/vm/runner.c
  * src/vm/estack.c
  * src/vm/codebloc.c
  * src/vm/debug.c
  * src/vm/hvm.c
  * src/vm/pvalue.c
  * src/vm/arrays.c
  * src/vm/memvars.c
  * src/vm/eval.c
  * src/vm/classes.c
  * src/common/hbffind.c
  * src/rdd/dbfntx/dbfntx1.c
  * src/rdd/workarea.c
  * src/rdd/sdf1.c
  * src/rdd/dbcmdx.c
  * src/rdd/dbfnsx/dbfnsx1.c
  * src/rdd/dbcmd.c
  * src/rdd/dbfcdx/dbfcdx1.c
  * src/rdd/delim1.c
  * src/rdd/dbf1.c
  * src/rdd/usrrdd/usrrdd.c
  * src/rdd/dbffpt/dbffpt1.c
  * src/rdd/hbsix/sxord.c
  * src/compiler/hbmain.c
  * src/compiler/hbpcode.c
  * src/compiler/genc.c
  * src/compiler/hbopt.c
  * src/compiler/gencc.c
  * src/compiler/hblbl.c
  * tests/bldtest/bldtest.c
  * include/hbstack.h
  * include/hbapifs.h
  * include/hbxvm.h
  * include/hbdefs.h
  * include/hbmacro.h
  * include/hbapi.h
  * include/hbcomp.h
  * include/hbapirdd.h
  * include/hbsxfunc.h
  * include/hbrddcdx.h
  * include/hbexprb.c
  * contrib/hbct/maxline.c
  * contrib/hbct/numcount.c
  * contrib/hbct/addascii.c
  * contrib/xhb/xhbenum.c
  * contrib/xhb/xhbqself.c
  * contrib/xhb/xhbwith.c
  * contrib/xhb/hbcomprs.c
  * contrib/xhb/xhbmsgs.c
  * contrib/hbmzip/hbmzip.c
  * contrib/xpp/dbcmdx.c
  * contrib/hbnetio/netiocli.c
  * contrib/rddsql/sqlbase.c
  * contrib/rddsql/sqlmix.c
  * contrib/rddads/adsx.c
  * contrib/rddads/ads1.c
  * contrib/hbbmcdx/bmdbfcdx.c
  * contrib/hbbmcdx/hbbmcdx.h
  * contrib/hbbtree/hb_btree.h
  * contrib/hbbtree/hb_btree.c
    * LONG -> HB_LONG, long (for dates and extend / item API contexts)
      (except for external (OS) API specific usage)

  * src/vm/maindll.c
    * LONG -> void *
    + Added 'const' to char * parameter.

  * contrib/hbct/numline.c
  * contrib/hbct/ctpad.c
    * LONG -> HB_LONG, HB_ISIZ
    * Formatting.

  * contrib/xhb/hbxml.h
    * LONG -> HB_ISIZ

  * contrib/xhb/freadlin.c
    * LONG, int -> HB_ISIZ
2010-02-08 18:54:32 +00:00
Viktor Szakats
0877d87337 2010-02-08 18:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdefs.h
    + Changed HB_LONG and HB_ULONG to 'long' and 'unsigned long'
      32-bit integer types, the new equivalents of legacy
      types LONG and ULONG.
      WARNING, INCOMPATIBLE: The legacy meaning of these types
                             were 64-bit integers. Existing code
                             should changes these types to HB_VMMAXINT,
                             HB_VMMAXUINT respectively.
      Notice this change is non-delayable and non-togglable, so
      you must update your code now.
    - Deleted HB_CHAR type.
    * HB_UCHAR/HB_BYTE marked with QUESTION.
    - Deleted some commented new types.

  * contrib/hbbmcdx/bmdbfcdx.c
    + Attempt to sync with DBFCDX RDD source.
      Please try to help in this, there are some larger patches
      which I didn't apply.
      I'd be very nice if someone could take this code and convert
      it to a filter RDD instead of current copy+patch approach.
      In such case it could even be moved to core.
2010-02-08 17:35:30 +00:00
Viktor Szakats
78c8ea7cb9 2010-02-08 16:49 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdefs.h
    + Readded HB_U8 and HB_I8. Currently mapped to HB_BYTE/HB_CHAR,
      but it should be used where 8-bitness of a char is a requirement.
      F.e. when writing/reading to/from files.
    + HB_CHAR changed from 'char' to 'signed char'. This is brand
      new type, not yet used in Harbour code, so it's safe.
      For char with non-guaranteed signedness, ANSI type 'char'
      should be used.
    * HB_UCHAR is now a synonym for HB_BYTE. It's now also legacy.
    * HB_SCHAR is now a synonym for HB_CHAR. It's now also legacy.
    ; TODO: Replace all HB_SCHAR with HB_CHAR and HB_UCHAR with HB_BYTE,
            and move the old types to compatibility status.

  * ChangeLog
    ! Fixed date in my today's entries.
2010-02-08 15:54:38 +00:00
Viktor Szakats
6d2c565fc1 2010-02-07 14:30 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/pp/ppcore.c
  * src/pp/hbpp.c
  * src/vm/macro.c
  * src/vm/evalhb.c
  * src/vm/runner.c
  * src/vm/estack.c
  * src/vm/codebloc.c
  * src/vm/dynsym.c
  * src/vm/garbage.c
  * src/vm/itemapi.c
  * src/vm/hvm.c
  * src/vm/pvalue.c
  * src/vm/maindllp.c
  * src/vm/arrays.c
  * src/vm/fm.c
  * src/vm/extrap.c
  * src/vm/proc.c
  * src/vm/thread.c
  * src/vm/memvars.c
  * src/vm/vm.c
  * src/vm/eval.c
  * src/vm/dynlibhb.c
  * src/vm/classes.c
  * src/common/hbffind.c
  * src/common/expropt1.c
  * src/common/expropt2.c
  * src/nortl/nortl.c
  * src/rtl/gtdos/gtdos.c
  * src/rtl/fscopy.c
  * src/rtl/gtwin/gtwin.c
  * src/rtl/gtxwc/gtxwc.h
  * src/rtl/gtxwc/gtxwc.c
  * src/rtl/gtcrs/gtcrs.c
  * src/rtl/philesx.c
  * src/rtl/do.c
  * src/rtl/gtstd/gtstd.c
  * src/rtl/gttrm/gttrm.c
  * src/rtl/xhelp.c
  * src/rtl/transfrm.c
  * src/rtl/fserr.c
  * src/rtl/gtcgi/gtcgi.c
  * src/rtl/errapi.c
  * src/rtl/copyfile.c
  * src/rtl/errintlo.c
  * src/rtl/gtapi.c
  * src/rtl/filesys.c
  * src/rtl/console.c
  * src/rtl/spfiles.c
  * src/rtl/gtos2/gtos2.c
  * src/rtl/philes.c
  * src/rtl/hbgtcore.c
  * src/rtl/itemseri.c
  * src/rtl/gtsln/mousesln.c
  * src/rtl/gtsln/gtsln.c
  * src/rtl/gtsln/kbsln.c
  * src/rtl/disksphb.c
  * src/rtl/gtpca/gtpca.c
  * src/rtl/trace.c
  * src/rtl/gt_tpl/gt_tpl.c
  * src/rtl/filebuf.c
  * src/rdd/dbfntx/dbfntx1.c
  * src/rdd/dbsql.c
  * src/rdd/hbdbsort.c
  * src/rdd/workarea.c
  * src/rdd/wacore.c
  * src/rdd/sdf1.c
  * src/rdd/dbfnsx/dbfnsx1.c
  * src/rdd/dbcmd.c
  * src/rdd/dbfcdx/dbfcdx1.c
  * src/rdd/delim1.c
  * src/rdd/dbf1.c
  * src/rdd/hsx/hsx.c
  * src/rdd/dbcmd53.c
  * src/rdd/usrrdd/usrrdd.c
  * src/rdd/wafunc.c
  * src/rdd/dbffpt/dbffpt1.c
  * src/rdd/hbsix/sxord.c
  * src/rdd/hbsix/sxtable.c
  * src/rdd/hbsix/sxcompr.c
  * src/compiler/hbmain.c
  * src/compiler/hbfix.c
  * src/compiler/hbdead.c
  * src/compiler/genobj32.c
  * src/compiler/genc.c
  * src/compiler/hbopt.c
  * src/compiler/gencc.c
  * src/compiler/harbour.yyc
  * src/compiler/harbour.y
  * include/hbpp.h
  * include/hbrdddbf.h
  * include/hbvmpub.h
  * include/hbrddnsx.h
  * include/hbstack.h
  * include/hbgtcore.h
  * include/hbapifs.h
  * include/hbxvm.h
  * include/hbdefs.h
  * include/hbinit.h
  * include/hbtypes.h
  * include/hbrddsdf.h
  * include/hbapi.h
  * include/hbapiitm.h
  * include/hbrddntx.h
  * include/hbvm.h
  * include/hbcomp.h
  * include/hbapirdd.h
  * include/hbcompdf.h
  * include/hbrdddel.h
  * include/hbexpra.c
  * include/hbexprop.h
  * include/hbdbsort.h
  * include/hbapigt.h
  * include/hbrddcdx.h
  * include/hbapicls.h
  * include/hbapierr.h
  * include/hbrddfpt.h
  * include/hbexprb.c
  * contrib/hbct/bitnum.c
  * contrib/hbct/screen2.c
  * contrib/hbct/strdiff.c
  * contrib/hbct/token2.c
  * contrib/hbct/charonly.c
  * contrib/hbct/atadjust.c
  * contrib/hbct/ctmath.c
  * contrib/hbct/ctwin.c
  * contrib/hbct/charsort.c
  * contrib/hbct/charmix.c
  * contrib/hbct/charevod.c
  * contrib/hbct/wordrepl.c
  * contrib/hbct/charrepl.c
  * contrib/hbct/strswap.c
  * contrib/hbct/trig.c
  * contrib/hbct/charswap.c
  * contrib/hbct/charop.c
  * contrib/hbct/charone.c
  * contrib/hbct/num1.c
  * contrib/hbct/pos1.c
  * contrib/hbct/ascpos.c
  * contrib/hbct/ctstr.c
  * contrib/hbct/screen1.c
  * contrib/hbct/token1.c
  * contrib/hbct/charmirr.c
  * contrib/hbct/ctc.c
  * contrib/hbct/ctwfunc.c
  * contrib/hbct/relation.c
  * contrib/hbct/atnum.c
  * contrib/hbct/count.c
  * contrib/hbct/ctcrypt.c
  * contrib/hbct/posdiff.c
  * contrib/hbct/finan.c
  * contrib/hbct/range.c
  * contrib/hbct/addascii.c
  * contrib/hbct/ctmath2.c
  * contrib/hbct/tab.c
  * contrib/hbct/replace.c
  * contrib/hbct/asciisum.c
  * contrib/hbct/pos2.c
  * contrib/hbct/numat.c
  * contrib/hbct/atrepl.c
  * contrib/hbct/wordtoch.c
  * contrib/hbct/ctpad.c
  * contrib/hbct/print.c
  * contrib/hbct/justify.c
  * contrib/hbct/remove.c
    * USHORT -> HB_USHORT (except where BYTE was used in OS-specific context)
2010-02-08 13:52:23 +00:00
Viktor Szakats
37b3fb2550 2010-02-07 10:32 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdefs.h
    ! Fixed typo when restructuring types causing no HB_MAXINT 
      type in some cases.

  * contrib/gtalleg/gtalleg.c
    * USHORT -> HB_USHORT

  * contrib/hbct/print.c
  * contrib/hbnf/descendn.c
  * contrib/hbclipsm/gauge.c
    * USHORT -> HB_SIZE

  * contrib/xhb/txtline.c
    * USHORT, int -> HB_SIZE
2010-02-08 09:32:43 +00:00
Viktor Szakats
d320459c18 2010-02-07 02:02 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/pp/ppcore.c
  * src/vm/macro.c
  * src/vm/runner.c
  * src/vm/codebloc.c
  * src/vm/garbage.c
  * src/vm/hvm.c
  * src/vm/maindllp.c
  * src/vm/fm.c
  * src/vm/extrap.c
  * src/vm/memvars.c
  * src/common/expropt1.c
  * src/common/expropt2.c
  * src/common/hbarch.c
  * src/common/hbmem.c
  * src/nortl/nortl.c
  * src/rtl/gtdos/gtdos.c
  * src/rtl/gtwin/gtwin.c
  * src/rtl/gtxwc/gtxwc.h
  * src/rtl/gtxwc/gtxwc.c
  * src/rtl/gtcrs/gtcrs.c
  * src/rtl/gtstd/gtstd.c
  * src/rtl/gttrm/gttrm.c
  * src/rtl/gtcgi/gtcgi.c
  * src/rtl/gtapi.c
  * src/rtl/gtos2/gtos2.c
  * src/rtl/hbgtcore.c
  * src/rtl/gtsln/gtsln.c
  * src/rtl/gtsln/kbsln.c
  * src/rtl/gtsln/gtsln.h
  * src/rtl/gtpca/gtpca.c
  * src/rtl/gt_tpl/gt_tpl.c
  * src/rtl/gtwvt/gtwvt.h
  * src/rtl/gtwvt/gtwvt.c
  * src/rdd/dbfntx/dbfntx1.c
  * src/rdd/dbsql.c
  * src/rdd/hbdbsort.c
  * src/rdd/workarea.c
  * src/rdd/sdf1.c
  * src/rdd/dbfnsx/dbfnsx1.c
  * src/rdd/dbfcdx/dbfcdx1.c
  * src/rdd/delim1.c
  * src/rdd/dbf1.c
  * src/rdd/hsx/hsx.c
  * src/rdd/usrrdd/usrrdd.c
  * src/rdd/dbffpt/dbffpt1.c
  * src/rdd/hbsix/sxsem.c
  * src/rdd/hbsix/sxcompr.c
  * src/compiler/ppcomp.c
  * src/compiler/hbmain.c
  * src/compiler/hbfix.c
  * src/compiler/hbdbginf.c
  * src/compiler/hbpcode.c
  * src/compiler/genhrb.c
  * src/compiler/hbdead.c
  * src/compiler/genobj32.c
  * src/compiler/genc.c
  * src/compiler/hbopt.c
  * src/compiler/gencc.c
  * src/compiler/hbcmplib.c
  * src/compiler/hblbl.c
  * src/compiler/harbour.yyc
  * src/compiler/harbour.y
  * src/compiler/harbour.yyh
  * tests/bldtest/bldtest.c
  * tests/tstgtapi.c
  * include/hbpp.h
  * include/hbrdddbf.h
  * include/hbvmpub.h
  * include/hbrddnsx.h
  * include/hbgtcore.h
  * include/hbxvm.h
  * include/hbdefs.h
  * include/hbmacro.h
  * include/hbtypes.h
  * include/hbrddsdf.h
  * include/hbapi.h
  * include/hbrddntx.h
  * include/hbvm.h
  * include/hbcomp.h
  * include/hbapirdd.h
  * include/hbcompdf.h
  * include/hbrdddel.h
  * include/hbexpra.c
  * include/hbexprop.h
  * include/hbdbf.h
  * include/hbdbsort.h
  * include/hbapigt.h
  * include/hbrddcdx.h
  * include/hbrddfpt.h
  * include/hbexprb.c
  * contrib/gtalleg/gtalleg.c
  * contrib/hbct/ctwin.c
  * contrib/hbct/ascpos.c
  * contrib/hbct/screen1.c
  * contrib/hbct/ctcrypt.c
  * contrib/xhb/hbxml.c
  * contrib/xhb/xhbis.c
  * contrib/xhb/fparse.c
  * contrib/xhb/xhbat.c
  * contrib/xhb/xhbcopyf.c
  * contrib/xhb/cstructc.c
  * contrib/hbqt/gtqtc/gtqtc.cpp
  * contrib/hbqt/gtqtc/gtqtc.h
  * contrib/xpp/philesx.c
  * contrib/hbnf/ftshadow.c
  * contrib/hbnf/ftattr.c
  * contrib/hbnetio/netiocli.c
  * contrib/hbnetio/netiosrv.c
  * contrib/rddsql/sddmy/mysqldd.c
  * contrib/rddsql/sddpg/pgsqldd.c
  * contrib/rddsql/sddfb/fbirddd.c
  * contrib/rddsql/sddodbc/odbcdd.c
  * contrib/rddsql/hbrddsql.h
  * contrib/rddsql/sqlbase.c
  * contrib/rddsql/sqlmix.c
  * contrib/gtwvg/gtwvg.c
  * contrib/gtwvg/wvggui.c
  * contrib/gtwvg/wvgcore.c
  * contrib/gtwvg/wvgwing.c
  * contrib/rddads/adsx.c
  * contrib/rddads/rddads.h
  * contrib/rddads/ads1.c
  * contrib/hbtip/utils.c
  * contrib/hbwin/win_regc.c
  * contrib/hbwin/win_prn2.c
  * contrib/hbbmcdx/bmdbfcdx.c
  * contrib/hbbmcdx/hbbmcdx.h
  * contrib/hbbtree/hb_btree.c
    * BYTE -> HB_BYTE except where BYTE was used in OS-specific context.
    * Some formatting.
    ; I didn't realign structure definitions in hbrdd*.h yet.

  * contrib/hbwin/win_regc.c
    * Minor type cleanup.

  * src/rtl/gt_tpl/gt_tpl.c
    * BYTE -> int for color.

  * examples/hbapollo/apollo.c
    % Deleted MAX_STR_LEN.
2010-02-08 01:18:46 +00:00
Viktor Szakats
59604ddfbf 2010-02-07 21:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/clipdefs.h
    + Added Clipper compatible legacy types to Clipper compatibility 
      header. They are enabled when HB_LEGACY_TYPES_OFF is set.
2010-02-07 20:22:34 +00:00