Commit Graph

6235 Commits

Author SHA1 Message Date
Przemyslaw Czerpak
6294c33da5 2009-08-17 19:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/hbproces.c
    ! fixed hb_fsProcessRun() (__RUN() and HB_RUN()) in WinCE builds
      to pass application name as 1-st parameters
    + added parameters passing to hb_fsProcessRun() (__RUN() and HB_RUN())
      in WinCE builds - please test.
2009-08-17 17:42:44 +00:00
Viktor Szakats
868a22ea84 2009-08-17 19:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/sqlite3/Makefile
  * external/libhpdf/Makefile
  * external/libpng/Makefile
  * external/Makefile
  * include/Makefile
  * source/pp/Makefile
  * source/hbextern/Makefile
  * source/lang/Makefile
  * source/vm/maindllh/Makefile
  * source/vm/mainstd/Makefile
  * source/vm/maindllp/Makefile
  * source/vm/Makefile
  * source/vm/vmmt/Makefile
  * source/vm/mainwin/Makefile
  * source/main/Makefile
  * source/debug/Makefile
  * source/common/Makefile
  * source/nortl/Makefile
  * source/rtl/gtdos/Makefile
  * source/rtl/gtwin/Makefile
  * source/rtl/gtxwc/Makefile
  * source/rtl/gtcrs/Makefile
  * source/rtl/gtstd/Makefile
  * source/rtl/gttrm/Makefile
  * source/rtl/Makefile
  * source/rtl/gtcgi/Makefile
  * source/rtl/gtos2/Makefile
  * source/rtl/gtsln/Makefile
  * source/rtl/gtpca/Makefile
  * source/rtl/gtgui/Makefile
  * source/rtl/gt_tpl/Makefile
  * source/rtl/gtwvt/Makefile
  * source/macro/Makefile
  * source/hbpcre/Makefile
  * source/codepage/Makefile
  * source/rdd/dbfntx/Makefile
  * source/rdd/nulsys/Makefile
  * source/rdd/Makefile
  * source/rdd/dbfnsx/Makefile
  * source/rdd/dbfcdx/Makefile
  * source/rdd/hsx/Makefile
  * source/rdd/usrrdd/rdds/Makefile
  * source/rdd/usrrdd/Makefile
  * source/rdd/dbffpt/Makefile
  * source/rdd/hbsix/Makefile
  * source/hbzlib/Makefile
  * source/compiler/Makefile
  * source/Makefile
  * utils/hbformat/Makefile
  * utils/hbmk2/Makefile
  * utils/hbtest/Makefile
  * utils/hbi18n/Makefile
  * utils/Makefile
  * utils/hbrun/Makefile
  * contrib/gtalleg/Makefile
  * contrib/hbmysql/Makefile
  * contrib/hbct/Makefile
  * contrib/xhb/Makefile
  * contrib/hbodbc/Makefile
  * contrib/hbtpathy/Makefile
  * contrib/hbgt/Makefile
  * contrib/hbmzip/Makefile
  * contrib/hbsqlit3/Makefile
  * contrib/hbblat/Makefile
  * contrib/hbqt/Makefile
  * contrib/hbfbird/Makefile
  * contrib/hbziparc/Makefile
  * contrib/hbxbp/Makefile
  * contrib/xpp/Makefile
  * contrib/Makefile
  * contrib/hbnf/Makefile
  * contrib/hbcurl/hbcurls/Makefile
  * contrib/hbcurl/Makefile
  * contrib/gtqtc/Makefile
  * contrib/rddsql/sddmy/Makefile
  * contrib/rddsql/sddpg/Makefile
  * contrib/rddsql/sddfb/Makefile
  * contrib/rddsql/sddodbc/Makefile
  * contrib/rddsql/Makefile
  * contrib/hbhpdf/Makefile
  * contrib/rddado/Makefile
  * contrib/gtwvg/Makefile
  * contrib/hbpgsql/Makefile
  * contrib/rddads/Makefile
  * contrib/hbclipsm/Makefile
  * contrib/hbfimage/Makefile
  * contrib/hbgd/Makefile
  * contrib/hbmisc/Makefile
  * contrib/hbtip/Makefile
  * contrib/hbwin/Makefile
  * contrib/hbbmcdx/Makefile
  * contrib/hbvpdf/Makefile
  * contrib/hbssl/Makefile
  * contrib/hbbtree/Makefile
  * tests/bldtest/Makefile
  * doc/en-EN/Makefile
  * doc/Makefile
  * Makefile
    * Renaming .cf files to .mk.
      Pass 3. Changing .cf references to .mk ones outside config.
      SVN is in working state again. I'll do a final check after 
      this commit.
2009-08-17 17:32:21 +00:00
Viktor Szakats
db5bb770a7 2009-08-17 17:30 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbsetup.h
    % Optimized out HB_OS_UNIX_COMPATIBLE. HB_OS_UNIX should be used
      instead. Since the definition logic for HB_OS_UNIX was completely
      different from HB_OS_UNIX_COMPATIBLE, it may be possible that
      it's not 100% the same as before, although their meaning was
      the same.
      HB_OS_UNIX_COMPATIBLE is still available for compatibility, but
      it's now marked with HB_LEGACY_LEVEL2 and will be removed in next
      major release.

  * include/hbapifs.h
  * include/hb_io.h
  * include/hbsocket.h
  * source/vm/set.c
  * source/debug/dbgentry.c
  * source/common/hbffind.c
  * source/rtl/fscopy.c
  * source/rtl/fstemp.c
  * source/rtl/gtstd/gtstd.c
  * source/rtl/gttrm/gttrm.c
  * source/rtl/version.c
  * source/rtl/hbsocket.c
  * source/rtl/copyfile.c
  * source/rtl/filesys.c
  * source/rtl/console.c
  * source/rtl/cputime.c
  * source/rtl/gtpca/gtpca.c
  * source/rtl/fssize.c
  * source/rtl/memofile.c
  * source/compiler/hbcomp.c
  * source/compiler/gencobj.c
  * contrib/hbct/files.c
  * contrib/xhb/xhbcopyf.c
  * contrib/xhb/hbserv.c
  * contrib/hbnf/getenvrn.c
    * HB_OS_UNIX_COMPATIBLE -> HB_OS_UNIX

  * config/global.cf
    * HB_UNIX_COMPATIBLE -> HB_OS_UNIX
2009-08-17 15:31:07 +00:00
Przemyslaw Czerpak
f2e27f3302 2009-08-17 16:23 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/Makefile
  + harbour/source/rtl/hbbyte.c
  * harbour/include/hbextern.ch
    + added hb_byteSwap*() functions

  * harbour/contrib/hbtpathy/telepath.prg
    % use hb_byteSwapW() in tp_crc16() function
2009-08-17 14:24:02 +00:00
Przemyslaw Czerpak
598c012e46 2009-08-17 14:28 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/hbsocket.c
    * small cleanup
2009-08-17 12:28:41 +00:00
Viktor Szakats
6e4311bae9 2009-08-17 14:13 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/vm/itemapi.c
  * source/vm/extend.c
  * source/rtl/fserr.c
  * source/rtl/gtsln/keytrans.c
    * #ifdef -> #if defined()
2009-08-17 12:13:52 +00:00
Phil Krylov
c9d3a93d9b 2009-08-17 16:02 UTC+0300 Phil Krylov <phil@newstar.rinet.ru>
* source/debug/tbrwtext.prg
    ! Fixed RTE on deleting the last tracepoint.
2009-08-17 12:03:18 +00:00
Przemyslaw Czerpak
efb1591f75 2009-08-17 13:53 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rdd/workarea.c
    ! keep EOF position synced in relation positioning
2009-08-17 11:54:06 +00:00
Phil Krylov
77d1567933 2009-08-17 13:26 UTC+0300 Phil Krylov <phil@newstar.rinet.ru>
* source/vm/macro.c
  * source/vm/hvm.c
  * source/vm/classes.c
  * source/rtl/tobject.prg
  * source/codepage/cpes850.c
    * Various typos in comments.
  * source/rtl/fserr.c
    * Added a HB_TRACE to hb_fsSetIOError().
  * source/codepage/uckoi8.c
  * source/codepage/uckoi8u.c
  * source/codepage/uckam.c
  * source/codepage/ucmaz.c
    * Added missing comments.
2009-08-17 09:29:46 +00:00
Viktor Szakats
70ee5f4d60 2009-08-16 03:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* ChangeLog
  * source/rtl/Makefile
  * source/rdd/Makefile
  * config/bin.cf
  * config/wce/global.cf
  * config/rules.cf
    % Using HB_PRGFLAGS instead of HB_GCMODE. Logic is now simple
      and standard.
2009-08-16 01:14:14 +00:00
Viktor Szakats
34f14f481e 2009-08-16 02:47 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.cf
  * config/rules.cf
  * config/dos/watcom.cf
  * config/win/watcom.cf
  * config/os2/watcom.cf
    % Using HB_PRGFLAGS instead of HB_FLAGSEXTRA.
    % Using HB_CFLAGS and HB_PRGFLAGS instead of HB_CDBG.
    % Using HB_CFLAGS instead of HB_CUNICODE.
    % Moved all flags from HB_RULE to HB_FLAGS (except HB_USER_PRGFLAGS).
      This only affects dos/watcom, more cmdlines will be put in HARBOURCMD.

  * external/sqlite3/Makefile
  * external/libhpdf/Makefile
  * external/libpng/Makefile
  * source/vm/maindllh/Makefile
  * source/vm/maindllp/Makefile
  * source/vm/vmmt/Makefile
  * source/rtl/gtxwc/Makefile
  * source/rtl/gtcrs/Makefile
  * source/rtl/gttrm/Makefile
  * source/rtl/gtsln/Makefile
  * contrib/gtalleg/Makefile
  * contrib/hbmysql/Makefile
  * contrib/hbodbc/Makefile
  * contrib/hbsqlit3/Makefile
  * contrib/hbqt/Makefile
  * contrib/hbfbird/Makefile
  * contrib/hbcurl/hbcurls/Makefile
  * contrib/hbcurl/Makefile
  * contrib/gtqtc/Makefile
  * contrib/rddsql/sddmy/Makefile
  * contrib/rddsql/sddpg/Makefile
  * contrib/rddsql/sddfb/Makefile
  * contrib/rddsql/sddodbc/Makefile
  * contrib/hbhpdf/Makefile
  * contrib/hbpgsql/Makefile
  * contrib/rddads/Makefile
  * contrib/hbfimage/Makefile
  * contrib/hbgd/Makefile
  * contrib/hbtip/hbtipssl/Makefile
  * contrib/hbssl/Makefile
    ! Using HB_CFLAGS/HB_PRGFLAGS to specify Makefile local
      compiler settings instead of modifying HB_USER_*FLAGS.
      This way the double defines are gone.
    + Included global.cf to all Makefiles which needs to modify
      HB_CFLAGS/HB_PRGFLAGS. Probably we should move global.cf
      inclusion to the top of all Makefiles as a convention.
      Not terribly elegant, but solves a few problems and
      more efficient.
    % Changed ', -I$(d))' to ',-I$(d))' along the way. This avoids
      wasting an extra space in command line.
    ; NOTE: It'd still be beneficial to find a way to get rid of 
            'descend' rule. It could make cmdlines cleaner/shorter 
            and whole build process simpler/faster. I didn't manage 
            so far.

  * source/vm/Makefile
    * Deleted 'HB_USER_CFLAGS := $(subst -DHB_MT_VM,,$(HB_USER_CFLAGS))'
      (since it's no longer supported practice to modify user supplied flags)
      I'm not sure if it's important enough to have. AFAIK there is no
      reason users use HB_MT_VM define, it's not a public setting, so we
      shouldn't go too much far in trying to protect against its presence.
      If it's needed, we should add 'HB_CFLAGS += -DHB_ST_VM' and handle
      HB_ST_VM as the reverse of HB_MT_VM inside the source.

  * source/rdd/dbffpt/dbffpt1.c
  * source/rdd/dbffpt/Makefile
    * Optimizations are now disabled using #pragma for __XCC__ instead of
      deleting them from HB_USER_CFLAGS. Please test, and see above on
      modifying HB_USER_CFLAGS in our make files.

  * bin/postinst.cmd
    ! Deleted double quote from target dir in xcopy commands.
      Blind change.

  * utils/hbtest/rt_main.ch
  * utils/hbtest/hbtest.hbp
  * utils/hbtest/Makefile
    + Changed to use #pragma to turn on line numbers instead of
      using HB_USER_PRGFLAGS (or HB_PRGFLAGS). This way there is
      no need for Makefile hack/tweaks and it works with all make methods
      automatically.

  * config/instsh.cf
    ! Partially restored a few things which were lost without comments
      in prev OS/2 commit:
      - Formatting
      - '@' prefixes
      - '-' prefixes
2009-08-16 00:55:17 +00:00
Viktor Szakats
c18e8cf12f 2009-08-14 22:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/pp/Makefile
    ! Fixed to not throw harmless but still confusing error
      messages when cleaning hbpp binary parts.

  * bin/hb-mkdyn.bat
    % Minor optimization in initialization.

  - make_gnu_os2.cmd
  - make_gnu.bat
    - Deleted these starter batch files.
    ; Please use 'mingw32-make' (if installed in PATH) or
      'config/mingw32-make' (if not installed in PATH) instead.
      OS/2 users should use 'make'.
    ; OS/2 users will have to add:
      set HB_USER_CFLAGS=-DTCPV40HDRS
      to local configuration unless they used:
      set HB_OS2_TCP32=yes
      I'd like to ask OS/2 users to add (now deleted) related
      documentation to one of our docs: INSTALL or include/hbsetup.h.
      Since this was a setting to disable some default setup,
      we can readd this setting with another name to
      config/global.cf if needed. Pls tell me about it.
    ; TODO: Delete make_gnu.sh and/or integrate make_gnu_xmingw*.sh.
            There is still two things which is done by make_gnu.sh:
              - Detection for -fPIC option.
              - Setting HB_INSTALL_PREFIX to system location.
                  (I don't like this, but it seems to be standard
                  behaviour on Linux, so we may want to change GNU Make
                  default logic according to that)
    ; TODO: Move mpkg_*.sh files with related support files to /package.
            Best would be to integrate them to postinst.sh.

  * INSTALL
    + Added TOFIX to one example: djgpp with NT shell will choke on
      too long cmdline when building external/libhpdf.
    ; TOFIX: see above. (if possible. If it's too complicated we
             should simply drop this scenario, after all DJGPP GNU 
             Make also works well.

  * contrib/gtalleg/Makefile
  * contrib/hbmysql/Makefile
  * contrib/hbodbc/Makefile
  * contrib/hbsqlit3/Makefile
  * contrib/hbqt/Makefile
  * contrib/hbfbird/Makefile
  * contrib/hbxbp/Makefile
  * contrib/hbcurl/Makefile
  * contrib/gtqtc/Makefile
  * contrib/rddsql/sddmy/Makefile
  * contrib/rddsql/sddpg/Makefile
  * contrib/rddsql/sddfb/Makefile
  * contrib/rddsql/sddodbc/Makefile
  * contrib/hbhpdf/Makefile
  * contrib/gtwvg/Makefile
  * contrib/hbpgsql/Makefile
  * contrib/rddads/Makefile
  * contrib/hbfimage/Makefile
  * contrib/hbgd/Makefile
  * contrib/hbwin/Makefile
    + Indentation.
2009-08-14 20:35:48 +00:00
Viktor Szakats
fdc37cc149 2009-08-14 20:08 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/hbsocket.c
    ! Applied fix for Cygwin as per Przemek's instructions.
      (I've guarded #undef HB_OS_WIN with defined( __CYGWIN_ ))

  * INSTALL
    - Deleted some by now irrelevant restrictions and rules.
    + Added pointers to NT GNU Make, DJ GNU Make and OS/2 GNU Make.
    + Added HB_COMPILER/HB_ARCHITECTURE to option list. These
      should now be mostly optional. They are only needed in a
      few situations when autodetection cannot work (secondary pocc
      targets for example), or in cross build situations when
      we want to force some non-native configuration.
    % Deleted HB_INSTALL_PREFIX from examples. It's optional.
    % Deleted all settings which are now autodetected.
      I didn't retest them of course, please try them, and if
      something was removed by mistake pls report it.
      The reduction is quite dramatic. Starting the build is
      really only just starting GNU Make in most cases.
    % Converted *all* examples to not use starter script/batch 
      files. As a next step I'll probably delete them to make 
      even *less* choices for builders and because current 
      starter files don't offer anything interesting anymore.
      Maybe also included GNU Make executable will also be 
      deleted.
    % Simplified Cygwin example.

  * make_gnu.bat
    - Deleted Cygwin logic.
    ; I just realized that after all these GNU Make development,
      there is no need at all for make_gnu.sh for Cygwin and it's
      a no brainer to launch make either using NT shell or Cygwin/MSYS
      shell. It just works by starting GNU Make in whichever shell
      or environment you are. [ Well, with NT shell it doesn't seem
      to work because gcc.exe is named gcc-3.exe on my system,
      anyway, this doesn't change the point. ]
      The only remaining "complexity" is finding the name of GNU
      Make in a given environment and not use the wrong one
      (f.e. Cygwin make.exe in NT shell).

  * config/global.cf
    + Added svnversion output in verbose mode.
2009-08-14 18:10:21 +00:00
Przemyslaw Czerpak
bb5e7a4c1c 2009-08-14 15:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/hbproces.c
    * respect _SET_OSCODEPAGE in hb_fsProcessOpen() and hb_fsProcessRun()
      functions

  * harbour/source/rtl/run.c
    ! fixed typo in previous commit
2009-08-14 13:13:29 +00:00
Przemyslaw Czerpak
71747cd986 2009-08-14 15:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/run.c
  * harbour/source/rtl/hbrunfun.c
    ! do not use system() command in __run() and hb_run() functions in
      WinCE builds
2009-08-14 13:03:24 +00:00
Przemyslaw Czerpak
648b42fe95 2009-08-14 14:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/hbproces.c
    ! hacked hb_processRun() to work in WinCE.
      Please test.
2009-08-14 12:00:35 +00:00
Viktor Szakats
34b7c959d4 2009-08-14 09:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/gtsln/gtsln.c
    ! Fixed linux/gcc warning. Now write() retval is checked.

  * config/global.cf
    ! Fixed wrong autodetection due to recent change.
      (HB_COMPILER needs to be checked against empty value)
2009-08-14 07:35:18 +00:00
Viktor Szakats
3bd5b77f25 2009-08-13 12:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * OS/2 prerequisites added. (currently not relevant, but anyway)

  * bin/postinst.bat
  * bin/hb-mkdyn.bat
  * make_gnu.bat
    + Reworked the way .dll generation is done in Harbour build process.
      New method solves the problem in one pass, instead of invoking
      make twice and requiring starter script to control this.
      The new trick is that CC_RULE will generate both dynamic and static
      objects for libs included in the .dll for compilers where such trick
      is necessary (currently all win/wce compilers except gcc based ones).
    * Changed HB_BUILD_LOG forming. Since at this point ARCH/COMP values
      aren't known (and just for this purpose it's not worth to maintain
      parallel detection logic in start script), the automatically
      generated log file will contain the date/time. Maybe even this will
      be dropped in the future. Since this is the only remaining logic
      in starter script (plus finding correct GNU Make, but that's even
      smaller role)
    ; I didn't test watcom yet, plus mpkg_gnu.bat isn't working yet,
      it needs to be moved to postinst phase.
    ; After these changes, there is basically no need for make starter
      scripts. Maybe I'll even remove included make tools to make things
      cleaner/leaner.
    ; TODO: Revise starter .sh scripts.
    ; TODO: mpkg_gnu.bat rework to run from postinst.
    ; TODO: Do some cleanup, remove redundancy in settings, etcetc.
    ; TOFIX: Fix watcom .dll generation.

  * config/global.cf
    ! Deleted double MAKE info line.
    + Showing detected shell in verbose mode.
    + Added mkdir/rm detection for OS/2 shells. (commented)
    % Optimized HB_BIN_COMPILE detection by using $(realpath) function.
      Now it's only detected once per make run.
    + Added HB_*_INSTALL value defaulting similar to make_gnu.sh
      for *nix platforms. (adding /harbour postfix to lib/inc dirs when
      HB_INSTALL_PREFIX is system location (/usr or /opt). Please review.

  * config/lib.cf
    + Added HB_DYN_COMPILE to control compiling for dynamic libs in
      a sperate command.
    + Added HB_DYN_LIBS to hold list of libs which should be built
      with separate command for dynamic libs.

  * config/rules.cf
    + Added logic for duplicate CC_RULE.
      TODO: Notice that it's not yet working when CC_RULE is overridden
            on compiler level. Help would be appreciate here.

  * config/wce/msvcarm.cf
  * config/wce/poccarm.cf
  * config/win/watcom.cf
  * config/win/icc.cf
  * config/win/msvc.cf
  * config/win/xcc.cf
  * config/win/pocc.cf
  * config/win/bcc.cf
    + Enabled HB_DYN_COMPILE for these compilers.

  * contrib/gtqtc/gtqtc.hbc
    ! Fixed lib order for mingw, supc++ moved to the end of list.

  * external/sqlite3/Makefile
  * external/libhpdf/Makefile
  * external/libpng/Makefile
  * external/Makefile
  * source/rtl/gtxwc/Makefile
  * source/rtl/gtcrs/Makefile
  * source/rtl/gtsln/Makefile
  * contrib/Makefile
  * contrib/gtalleg/Makefile
  * contrib/hbmysql/Makefile
  * contrib/hbodbc/Makefile
  * contrib/hbsqlit3/Makefile
  * contrib/hbqt/Makefile
  * contrib/hbfbird/Makefile
  * contrib/hbcurl/Makefile
  * contrib/gtqtc/Makefile
  * contrib/rddsql/sddmy/Makefile
  * contrib/rddsql/sddpg/Makefile
  * contrib/rddsql/sddfb/Makefile
  * contrib/rddsql/sddodbc/Makefile
  * contrib/hbhpdf/Makefile
  * contrib/hbpgsql/Makefile
  * contrib/rddads/Makefile
  * contrib/hbfimage/Makefile
  * contrib/hbgd/Makefile
  * contrib/hbssl/Makefile
    + Indentation.
    % Using ':=' in '*_OK := $(foreach...' expressions, instead of
      former unsafe '+='.

  * config/win/mingw.cf
  * config/wce/mingwarm.cf
  * config/win/cygwin.cf
    + Using 'crs' instead of 'r' as AR command.

  * config/install.cf
    + Don't define rule if INSTALL_RULE is empty.
      Cannot currently happen.

  * config/header.cf
    % Minor optimization.
2009-08-13 10:31:58 +00:00
Przemyslaw Czerpak
e8f66dd82d 2009-08-12 23:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbthread.h
    * added workaround for different CRITICAL_SECTION definitions in
      some compiler header files

  * harbour/source/vm/fm.c
  * harbour/source/hbzlib/ChangeLog
  * harbour/source/hbzlib/zutil.c
    * use #pragma warning to pacify OpenWatcom warnings
2009-08-12 21:47:19 +00:00
Viktor Szakats
cebe0c72ed 2009-08-12 14:47 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/rules.cf
    ! Changed CC_RULE and CPP_RULE to have CC_OUT option _before_ CC_IN.
      Quick check didn't reveal any problems with this accross our supported
      compiler, but I may be wrong, so pls check me, I didn't test this 
      change thoroughly.
      This change fixes CC_OUT for bcc, where it was ignored before.
      If this is breaks other compilers, bcc specific CC_RULE should be
      added to win/bcc.cf.

  * utils/hbmk2/hbmk2.prg
  * source/rtl/gtcrs/gtcrs.c
  * source/rtl/gtcrs/gtcrs.h
  * source/rtl/gtcrs/Makefile
  * source/rtl/gttrm/Makefile
  * source/rtl/gttrm/gttrm.c
  * source/rtl/gtsln/mousesln.c
  * source/rtl/gtsln/gtsln.c
  * source/rtl/gtsln/Makefile
    * HAVE_GPM_H -> HB_HAS_GPM

  * config/global.cf
    + Added some compile-time macros in comment.
    * Minor correction to MKFLAGS comment.

  * source/rtl/console.c
  * source/rtl/hbgtcore.c
    * Changed wording 'screen driver' to 'Harbour terminal (GT)'.
      Former term isn't used by us.

  * config/bsd/gcc.cf
  * config/darwin/gcc.cf
  * config/hpux/gcc.cf
  * config/dos/djgpp.cf
  * config/linux/gcc.cf
  * config/linux/icc.cf
  * config/linux/sunpro.cf
  * config/os2/gcc.cf
  * config/sunos/gcc.cf
  * config/sunos/sunpro.cf
    + Readded accidentally deleted feature to include *nix system
      libs needed for rtl, only if rtl is actually linked.
      (IOW in practice don't link them for harbour/hbpp executables)
    ! Fixed a few old problems where some extra libs were always
      linked. Now m is the only one linked in all scenarios.
    + Added linking pdcurses along with gtcrs for djgpp.
    * Standardized LDFLAGS in linux/icc (left from previous modification).
    ! Indentations corrected.
2009-08-12 12:49:09 +00:00
Viktor Szakats
3d21b2394d 2009-08-12 12:37 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/gtcrs/Makefile
  * source/rtl/gttrm/Makefile
  * source/rtl/gtsln/Makefile
  * config/global.cf
    ! Hopefully fixed GPM detection with pure (no starter script) 
      GNU Make invocations. It needs to be done centrally, 
      as it's used in multiple modules, plus it has external lib 
      dependency.
    ; TODO: Streamline macro usage regarding external dependencies.
            There is currently HAS*, HAVE*, HB_HAVE*, HB_WITHOUT* 
            plus some other variations.
            We should probably stick to HB_BUILD_WITH_* for user 
            level control, and HB_HAS_* for internal detection logic.
2009-08-12 10:38:12 +00:00
Viktor Szakats
b253e4a96f 2009-08-12 12:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/gtxwc/Makefile
  * source/rtl/gtcrs/Makefile
  * source/rtl/gttrm/Makefile
  * source/rtl/gtsln/Makefile
  * source/rtl/gtwvt/Makefile
    + Indentation.
2009-08-12 10:15:39 +00:00
Przemyslaw Czerpak
142f82e9f5 2009-08-11 14:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/fstemp.c
    * enabled mkstemps() in *BSD and Darwin builds
    * enabled large file support and use mkstemp64() and mkstemps64()
      when available - please test with different *nixes
2009-08-11 12:17:01 +00:00
Viktor Szakats
9c6cc63383 2009-08-11 13:24 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/pp/Makefile
    % := -> =

  * config/sunos/sunpro.cf
  * config/bsd/gcc.cf
  * config/wce/msvcarm.cf
  * config/wce/mingwarm.cf
  * config/wce/poccarm.cf
  * config/hpux/gcc.cf
  * config/darwin/gcc.cf
  * config/dos/watcom.cf
  * config/dos/djgpp.cf
  * config/win/watcom.cf
  * config/win/icc.cf
  * config/win/cygwin.cf
  * config/win/msvc.cf
  * config/win/xcc.cf
  * config/win/mingw.cf
  * config/win/pocc.cf
  * config/win/bcc.cf
  * config/linux/watcom.cf
  * config/linux/gcc.cf
  * config/linux/icc.cf
  * config/linux/sunpro.cf
  * config/os2/watcom.cf
  * config/os2/gcc.cf
  * config/sunos/gcc.cf
  * config/sunos/sunpro.cf
    * Cleaned LDLIBS usage:
    % Using := insteaf of =
    ! Fixed spillage of system defined LDLIBS var content.
2009-08-11 11:25:32 +00:00
Przemyslaw Czerpak
b5d78f6c44 2009-08-11 13:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/fstemp.c
    * enabled mkstmp() in SunOS builds (is it supported by MacOSX?)
    + added optional support for mkstemps() - it's disabled by default

  * harbour/contrib/xhb/hbcompat.ch
    ! removed some old not longer valid translations
      xHarbour developers should copy current hbcompat.ch from
      Harbour SVN to xHarbour CVS
2009-08-11 11:15:54 +00:00
Viktor Szakats
61e4133d46 2009-08-11 12:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbcurl/hbcurl.c
    ! Silenced recently reintrod warning.

  * source/pp/Makefile
    + Indentation.

  * config/dos/djgpp.cf
  * config/linux/watcom.cf
  * config/os2/watcom.cf
    * Few hacks simplified.
    + Made available LDLIBS variable. (Optimized out or renamed)
2009-08-11 10:51:14 +00:00
Viktor Szakats
99d8396f79 2009-08-11 12:01 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/fstemp.c
    ! Fixed regression in hb_fsCreateTemp() after 2009-08-07 11:55 UTC+0200
      where temp files couldn't be opened, instead a lot of temp filenames
      were created.
2009-08-11 10:02:00 +00:00
Przemyslaw Czerpak
169048432d 2009-08-11 11:14 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbtpathy/telepath.prg
    ! fixed tp_inkey() to not freeze when called without parameter

  * harbour/source/rdd/dbfntx/dbfntx1.c
  * harbour/source/rdd/dbfnsx/dbfnsx1.c
    * added OS/FS error codes to RTEs generated during indexing
    * replaced few numeric error codes with EDBF_* macros
2009-08-11 09:14:53 +00:00
Viktor Szakats
97e239dc73 2009-08-11 00:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rdd/Makefile
  * config/global.cf
  * config/bin.cf
    * Simple rename of two internal vars:
        HB_DB_DRIVERS -> HB_RDD_LIBS
        HB_DB_DIRS    -> HB_RDD_DIRS
    + Added some names to non-standard build configuration setting
      collection.
2009-08-10 22:45:34 +00:00
Przemyslaw Czerpak
525f08b7dc 2009-08-10 23:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/pp/Makefile
  * harbour/config/os2/watcom.cf
    * added workarounds for problems with OS2 builds - please test
2009-08-10 21:16:27 +00:00
Viktor Szakats
6944db77d7 2009-08-10 14:47 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* doc/en-EN/Makefile
  * doc/Makefile
  * include/Makefile
  * contrib/gtalleg/Makefile
  * contrib/hbmysql/Makefile
  * contrib/hbct/Makefile
  * contrib/xhb/Makefile
  * contrib/hbodbc/Makefile
  * contrib/hbtpathy/Makefile
  * contrib/hbgt/Makefile
  * contrib/hbmzip/Makefile
  * contrib/hbsqlit3/Makefile
  * contrib/hbblat/Makefile
  * contrib/hbqt/generator/hbqtgen.prg
  * contrib/hbqt/Makefile_gen
  * contrib/hbfbird/Makefile
  * contrib/hbziparc/Makefile
  * contrib/hbxbp/Makefile
  * contrib/xpp/Makefile
  * contrib/hbnf/Makefile
  * contrib/Makefile
  * contrib/hbcurl/hbcurls/Makefile
  * contrib/hbcurl/Makefile
  * contrib/gtqtc/Makefile
  * contrib/rddsql/sddmy/Makefile
  * contrib/rddsql/sddpg/Makefile
  * contrib/rddsql/sddfb/Makefile
  * contrib/rddsql/sddodbc/Makefile
  * contrib/rddsql/Makefile
  * contrib/hbhpdf/Makefile
  * contrib/rddado/Makefile
  * contrib/gtwvg/Makefile
  * contrib/hbpgsql/Makefile
  * contrib/hbclipsm/Makefile
  * contrib/rddads/Makefile
  * contrib/hbfimage/Makefile
  * contrib/hbgd/Makefile
  * contrib/hbmisc/Makefile
  * contrib/hbtip/Makefile
  * contrib/hbwin/Makefile
  * contrib/hbbmcdx/Makefile
  * contrib/hbvpdf/Makefile
  * contrib/hbssl/Makefile
  * contrib/hbbtree/Makefile
  * source/pp/Makefile
  * source/hbextern/Makefile
  * source/lang/Makefile
  * source/vm/maindllh/Makefile
  * source/vm/mainstd/Makefile
  * source/vm/maindllp/Makefile
  * source/vm/Makefile
  * source/vm/vmmt/Makefile
  * source/vm/mainwin/Makefile
  * source/main/Makefile
  * source/debug/Makefile
  * source/common/Makefile
  * source/nortl/Makefile
  * source/rtl/gtdos/Makefile
  * source/rtl/gtwin/Makefile
  * source/rtl/gtxwc/Makefile
  * source/rtl/gtcrs/Makefile
  * source/rtl/gtstd/Makefile
  * source/rtl/gttrm/Makefile
  * source/rtl/Makefile
  * source/rtl/gtcgi/Makefile
  * source/rtl/gtos2/Makefile
  * source/rtl/gtsln/Makefile
  * source/rtl/gtpca/Makefile
  * source/rtl/gtgui/Makefile
  * source/rtl/gt_tpl/Makefile
  * source/rtl/gtwvt/Makefile
  * source/macro/Makefile
  * source/hbpcre/Makefile
  * source/codepage/Makefile
  * source/rdd/dbfntx/Makefile
  * source/rdd/nulsys/Makefile
  * source/rdd/Makefile
  * source/rdd/dbfnsx/Makefile
  * source/rdd/dbfcdx/Makefile
  * source/rdd/hsx/Makefile
  * source/rdd/usrrdd/rdds/Makefile
  * source/rdd/usrrdd/Makefile
  * source/rdd/dbffpt/Makefile
  * source/rdd/hbsix/Makefile
  * source/hbzlib/Makefile
  * source/compiler/Makefile
    * Finished replacing TABs with spaces in simple variable assigments.
      TABs are only required when specifiying a rule command.
2009-08-10 12:48:47 +00:00
Viktor Szakats
4edfe04c2c 2009-08-10 14:22 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* tests/hbpptest/Makefile
  * tests/Makefile
  * tests/multifnc/Makefile
  * Makefile
  * external/Makefile
  * source/Makefile
  * utils/hbformat/Makefile
  * utils/hbmk2/Makefile
  * utils/hbtest/Makefile
  * utils/hbi18n/Makefile
  * utils/Makefile
  * utils/hbrun/Makefile
    % Started replacing TABs with spaces in simple variable assigments.
      TABs are only required when specifiying a rule command.
2009-08-10 12:27:18 +00:00
Viktor Szakats
272b5e9512 2009-08-10 11:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- bin/hbmk.bat
    - Deleted. Probably no one uses it.

  * contrib/hbtip/sendmail.prg
    + Added pop3s support for lPopAuth option.

  * contrib/hbtip/client.prg
    % TIPCLIENT() now uses INIT instead of manual initialization of
      class vars.
    * TIPCLIENT():NEW(): Protocol check made more robust.

  * source/vm/dynlibhb.c
    + Enabled HB_HAS_DLFCN on darwin. Support is there, tested on
      latest 10.5 Leopard.

  * config/global.cf
    * Minor.

  * config/linux/sunpro.cf
  * config/sunos/sunpro.cf
    + Using 'suncc|sunCC' compiler executables. This makes HB_CCPATH
      unnecessary. Thanks Przemek.
2009-08-10 09:25:22 +00:00
Przemyslaw Czerpak
ff6e21f3f5 2009-08-10 11:07 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbatomic.h
    % added architecture independent support for atomic operations and
      spinlocks in all SunOS builds

  * harbour/source/vm/dynlibhb.c
    ! reenabled dlopen interface for Sun C compilers
    * enabled dlopen interface for SunOS builds
2009-08-10 09:07:48 +00:00
Viktor Szakats
8106523a59 2009-08-09 21:42 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.cf
    ! Fixed 'sh' HB_SHELL detection. Problem experienced with
       Cygwin GNU Make, where SHLVL isn't defined on the first
       level. Now also checking for SHELL=/bin/sh to detect sh
       shell.

  * tests/multifnc/Makefile
  * external/sqlite3/Makefile
  * external/libhpdf/Makefile
  * external/libpng/Makefile
  * contrib/gtalleg/Makefile
  * contrib/hbodbc/Makefile
  * contrib/hbtpathy/Makefile
  * contrib/hbsqlit3/Makefile
  * contrib/hbblat/Makefile
  * contrib/hbqt/Makefile
  * contrib/hbfbird/Makefile
  * contrib/hbxbp/Makefile
  * contrib/hbcurl/Makefile
  * contrib/gtqtc/Makefile
  * contrib/rddsql/sddfb/Makefile
  * contrib/rddsql/sddodbc/Makefile
  * contrib/rddado/Makefile
  * contrib/gtwvg/Makefile
  * contrib/rddads/Makefile
  * contrib/hbfimage/Makefile
  * contrib/hbtip/Makefile
  * contrib/hbwin/Makefile
  * contrib/hbssl/Makefile
  * source/vm/Makefile
  * source/vm/vmmt/Makefile
  * source/rtl/gtdos/Makefile
  * source/rtl/gtwin/Makefile
  * source/rtl/gtxwc/Makefile
  * source/rtl/gtcrs/Makefile
  * source/rtl/gttrm/Makefile
  * source/rtl/Makefile
  * source/rtl/gtos2/Makefile
  * source/rtl/gtsln/Makefile
  * source/rtl/gtgui/Makefile
  * source/rtl/gtwvt/Makefile
  * source/rdd/Makefile
  * source/rdd/dbffpt/Makefile
    ! Including 'global.cf' directly to make HB_ARCHITECTURE/HB_COMPILER/HB_COMMERCE
      variables work in case we're relying on autodetection.
    ; TODO: May need to do this for a few other cases where detection is relying
            on some additional variables. Like HB_XBUILD, which needs to be
            cleaned further, maybe autodetection added.
    ; NOTE: Above changes mean that from now on for basic build usage it's
            enough to have the compiler in PATH and to issue a simple 'make'
            or 'mingw32-make' (or whatever GNU Make is called in that environment),
            and make process should just work. IOW, no need to go through 
            "starter" scripts in root (make_gnu.*).
2009-08-09 19:52:17 +00:00
Viktor Szakats
504ca98e1c 2009-08-09 21:18 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* tests/hbpptest/Makefile
  * tests/bldtest/Makefile
  * tests/Makefile
  * tests/multifnc/Makefile
  * doc/en-EN/Makefile
  * doc/Makefile
  * external/sqlite3/Makefile
  * external/libhpdf/Makefile
  * external/libpng/Makefile
  * external/Makefile
  * include/Makefile
  * source/hbextern/Makefile
  * source/pp/Makefile
  * source/lang/Makefile
  * source/vm/maindllh/Makefile
  * source/vm/mainstd/Makefile
  * source/vm/maindllp/Makefile
  * source/vm/Makefile
  * source/vm/vmmt/Makefile
  * source/vm/mainwin/Makefile
  * source/main/Makefile
  * source/debug/Makefile
  * source/common/Makefile
  * source/nortl/Makefile
  * source/macro/Makefile
  * source/rtl/gtdos/Makefile
  * source/rtl/gtwin/Makefile
  * source/rtl/gtxwc/Makefile
  * source/rtl/gtcrs/Makefile
  * source/rtl/gtstd/Makefile
  * source/rtl/gttrm/Makefile
  * source/rtl/Makefile
  * source/rtl/gtcgi/Makefile
  * source/rtl/gtos2/Makefile
  * source/rtl/gtsln/Makefile
  * source/rtl/gtpca/Makefile
  * source/rtl/gtgui/Makefile
  * source/rtl/gt_tpl/Makefile
  * source/rtl/gtwvt/Makefile
  * source/hbpcre/Makefile
  * source/codepage/Makefile
  * source/rdd/dbfntx/Makefile
  * source/rdd/nulsys/Makefile
  * source/rdd/Makefile
  * source/rdd/dbfnsx/Makefile
  * source/rdd/dbfcdx/Makefile
  * source/rdd/hsx/Makefile
  * source/rdd/usrrdd/rdds/Makefile
  * source/rdd/usrrdd/Makefile
  * source/rdd/dbffpt/Makefile
  * source/rdd/hbsix/Makefile
  * source/compiler/Makefile
  * source/hbzlib/Makefile
  * source/Makefile
  * utils/hbformat/Makefile
  * utils/hbmk2/Makefile
  * utils/hbtest/Makefile
  * utils/hbi18n/Makefile
  * utils/hbrun/Makefile
  * contrib/gtalleg/Makefile
  * contrib/hbmysql/Makefile
  * contrib/hbct/Makefile
  * contrib/xhb/Makefile
  * contrib/hbodbc/Makefile
  * contrib/hbtpathy/Makefile
  * contrib/hbgt/Makefile
  * contrib/hbmzip/Makefile
  * contrib/hbsqlit3/Makefile
  * contrib/hbblat/Makefile
  * contrib/hbqt/Makefile
  * contrib/hbqt/generator/hbqtgen.prg
  * contrib/hbqt/Makefile_gen
  * contrib/hbfbird/Makefile
  * contrib/hbziparc/Makefile
  * contrib/hbxbp/Makefile
  * contrib/xpp/Makefile
  * contrib/hbnf/Makefile
  * contrib/Makefile
  * contrib/hbcurl/hbcurls/Makefile
  * contrib/hbcurl/Makefile
  * contrib/gtqtc/Makefile
  * contrib/rddsql/sddmy/Makefile
  * contrib/rddsql/sddpg/Makefile
  * contrib/rddsql/sddfb/Makefile
  * contrib/rddsql/sddodbc/Makefile
  * contrib/rddsql/Makefile
  * contrib/hbhpdf/Makefile
  * contrib/rddado/Makefile
  * contrib/gtwvg/Makefile
  * contrib/hbpgsql/Makefile
  * contrib/hbclipsm/Makefile
  * contrib/rddads/Makefile
  * contrib/hbfimage/Makefile
  * contrib/hbgd/Makefile
  * contrib/hbtip/Makefile
  * contrib/hbbmcdx/Makefile
  * contrib/hbvpdf/Makefile
  * contrib/hbssl/Makefile
  * contrib/hbbtree/Makefile
    % Using ':=' instead of '=' where possible.
    ; TODO: Central make files (.cf).

  * config/global.cf
  * config/bin.cf
  * config/globsh.cf
  * config/dir.cf
  * config/bsd/gcc.cf
  * config/bsd/global.cf
  * config/c.cf
  * config/wce/msvcarm.cf
  * config/wce/global.cf
  * config/wce/mingwarm.cf
  * config/wce/poccarm.cf
  * config/rules.cf
  * config/hpux/gcc.cf
  * config/darwin/gcc.cf
  * config/darwin/global.cf
  * config/dos/watcom.cf
  * config/dos/djgpp.cf
  * config/win/watcom.cf
  * config/win/icc.cf
  * config/win/global.cf
  * config/win/cygwin.cf
  * config/win/msvc.cf
  * config/win/xcc.cf
  * config/win/mingw.cf
  * config/win/pocc.cf
  * config/win/bcc.cf
  * config/linux/watcom.cf
  * config/linux/gcc.cf
  * config/linux/icc.cf
  * config/linux/sunpro64.cf
  * config/linux/sunpro.cf
  * config/os2/watcom.cf
  * config/os2/gcc.cf
  * config/sunos/gcc.cf
  * config/sunos/sunpro64.cf
  * config/sunos/sunpro.cf
    % Using ':=' instead of '=' where possible.
      (incomplete. pass one)

  * config/none.cf
    * Little change in text.

  * config/global.cf
    ! Fixed HB_ARCHITECTURE mis-detection as wce for a few win compilers.
2009-08-09 19:23:43 +00:00
Viktor Szakats
3baef883ea 2009-08-09 11:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/rat.c
    ! HB_RAT() fixed to not ignore nEnd parameter if it's out of bound.
      In such case it will now return zero ("not found").
      Mindaugas, please verify if this is what you proposed.
2009-08-09 09:07:48 +00:00
Viktor Szakats
3e3398e565 2009-08-09 10:14 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbxbp/tests/demoxbp.prg
    * Added hb_DirBase() to local file references, to make these 
      work when no run from its own directory.
    ! Using test.dbf in tests.

  - contrib/hbxbp/tests/test.dbf
    - Deleted duplicated test.dbf.

  * contrib/hbtip/client.prg
    * HAVE_OPENSSL -> HAS_OPENSSL

  * contrib/hbwin/olecore.c
  * source/rtl/cdpapi.c
    * Minor formatting.
2009-08-09 08:16:09 +00:00
Viktor Szakats
fe728551ac 2009-08-07 18:18 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    * Minor formatting.

  * source/pp/Makefile
  * config/prg.cf
  * config/global.cf
  * config/bin.cf
  * config/globsh.cf
  * config/bsd/gcc.cf
  * config/bsd/global.cf
  * config/wce/msvcarm.cf
  * config/wce/global.cf
  * config/wce/mingwarm.cf
  * config/wce/poccarm.cf
  * config/rules.cf
  * config/darwin/gcc.cf
  * config/darwin/global.cf
  * config/hpux/gcc.cf
  * config/hpux/global.cf
  * config/dos/watcom.cf
  * config/dos/global.cf
  * config/dos/djgpp.cf
  * config/win/watcom.cf
  * config/win/icc.cf
  * config/win/cygwin.cf
  * config/win/global.cf
  * config/win/msvc.cf
  * config/win/xcc.cf
  * config/win/mingw.cf
  * config/win/pocc.cf
  * config/win/bcc.cf
  * config/linux/watcom.cf
  * config/linux/gcc.cf
  * config/linux/icc.cf
  * config/linux/global.cf
  * config/linux/sunpro.cf
  * config/os2/watcom.cf
  * config/os2/gcc.cf
  * config/os2/global.cf
  * config/sunos/gcc.cf
  * config/sunos/global.cf
  * config/sunos/sunpro.cf
    * EXE_* variables renamed to BIN_*.
    % BIN_EXT initialization moved to <arch>/global.cf.
2009-08-07 16:21:09 +00:00
Viktor Szakats
da64dfe53a 2009-08-07 11:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/filesys.c
    ! Fixed FO_EXCL flag on win/wce platforms. It was ignored before.
    % Deleted some unnecessary casts.

  * contrib/hbtip/log.prg
    ! Fixed to avoid infinite loops when trying to create log files
      on a non-existing path.
2009-08-07 09:56:48 +00:00
Viktor Szakats
04e59dcc83 2009-08-05 09:38 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* ChangeLog
    ! Typos in recent entries.

  * source/common/hbver.c
    * Cosmetic patch by Tamas Tevesz.

  + config/readme.txt
    + Added readme.txt to include license and links to included
      binaries and sources.
    ; It'd be probably better to delete all these binaries
      (GNU Makes are only there for convenience), but then
      'mkdir -p' and 'rm -f -r' commands need to be hacked somehow
      for DOS and OS/2 shells. Also a proper copy cmd is needed
      for DOS. Maybe we should simple write these simple utilities
      using a public domain license and include the binaries of these.
      Couldn't find the source of the OS/2 tools' binary releases.

  * config/mingw32-make.exe
  * config/dj-rm.exe
  * config/dj-cp.exe
  * config/dj-mkdir.exe
    * Updated to match the exact binaries referred to in readme.txt.
      (no change in functionality or version numbers)
2009-08-05 07:39:27 +00:00
Viktor Szakats
c88b67cd30 2009-08-04 19:43 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/pp/pplib.c
  * source/compiler/hbstripl.c
    + Added HB_EXTERN_BEGIN/END plus explicit declaration of
      some static functions to make SunPro C++ mode happy.
      There are still *tons* of warnings messages, most of them
      complaining about function declaration 'extern "C"' and
      const differences, even in Harbour generated C code.
      These fixes are experimental and address just the tip
      of the iceberg.
      Please review me.

  * contrib/hbwin/wapi_winbase.c
    + Added WAPI_FORMATMESSAGE(). Unicode support implemented, but
      not tested, last parameter not implemented. This should replace
      limited FORMATMESSAGE() implementation found in win_prt.c.

  * contrib/hbwin/hbwin.ch
  * contrib/hbwin/win_tprt.prg
  * contrib/hbwin/tests/testprt1.prg
  * contrib/hbwin/tests/testprt2.prg
  * contrib/hbwin/win_prt.c
    * Functions and class renamed to have "win_" prefix.
    % Other minor cleanups.
    + win_portopen() returns -1 if the port number was out of
      range, so MAXSERIAL constant could be elminiated.
    % INVALID_HANDLE_VALUE constant is in reality an explicit
      -1 used by low-level lib layer, so I've elminiated it,
      and high-level lib layer also uses plain -1 now.
      Could be replaces by some macros, but it shouldn't
      use a Windows specific name.
    - Deleted FORMATMESSAGE().
    * Using WAPI_FORMATMESSAGE() instead of local FORMATMESSAGE().
      (they are not compatible)

  * contrib/hbwin/wce_smsc.c
    ! Added TOFIX for an lstrcpy() function. This is unsafe
      and can easily cause buffer overrun. Until someone
      fixes this properly, I've added a workaround where input
      string lenght is checked to be smaller than approriate
      buffer size. Only compilation was tested using poccarm,
      I have no WinCE decide.
      Jose, please have a look at it.

  * contrib/hbwin/olecore.c
    * Minor formatting.
2009-08-04 17:45:48 +00:00
Viktor Szakats
abb6886ede 2009-08-04 14:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/gtsln/kbsln.c
    ! Silenced linux/sunpro warning.

  * config/linux/sunpro.cf
    ! Minor fix.
2009-08-04 12:59:48 +00:00
Viktor Szakats
2ac8a70f01 2009-08-04 03:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/vm/fm.c
    ! Fixed linux/sunpro warning.
2009-08-04 01:44:32 +00:00
Viktor Szakats
9ca6d04aef 2009-08-04 03:32 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/vm/dynlibhb.c
    ! Fixed to not use dl*() functions on linux/sunpro.

  * config/linux/sunpro.cf
    ! Fixed to include gpm lib.

  ; TOFIX: linux/sunpro linking dies on:
           ../../../../../lib/linux/sunpro/libhbpcre.a(pcrecomp.o): In function `check_auto_possessive':
           pcrecomp.c:(.text+0x2952): undefined reference to `.CG4A.3263'
           pcrecomp.c:(.text+0x2959): undefined reference to `.CG4A.3263'
           pcrecomp.c:(.text+0x2b29): undefined reference to `.CG40.3253'
           pcrecomp.c:(.text+0x2b30): undefined reference to `.CG40.3253'
2009-08-04 01:34:11 +00:00
Viktor Szakats
51416661e9 2009-08-04 03:18 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt_slots.cpp
    ! Deleted windows.h.

  * include/hbsetup.h
    + PPC CPU detection made better.

  * include/hbatomic.h
  * source/vm/maindllp.c
  * source/rtl/gttone.c
    + Using HB_CPU_* macros to detect CPU instead of compiler
      specific solutions.
      Przemek, please review me.

  * source/vm/maindllp.c
    % Using hbver.h constants to form the version number
      included in the .dll name. So it's now maintainence
      free.
    % Reduced redundancy when forming .dll names.

  * source/vm/maindllp.c
  * utils/hbmk2/hbmk2.prg
    * Renamed wce .dll to harbour[mt]-20-wce-arm.dll
    * Renamed non-ARM wce .dlls to harbour[mt]-20-wce.dll

  * INSTALL
  + config/linux/sunpro.cf
    + Added Sun Studio compiler support for Linux platforms.
      Thanks Tamas Tevesz for the tip that this port exists.
      It has various problems to fix, but it's a start.

  * config/sunos/sunpro.cf
    ! Typo in prev commit.
2009-08-04 01:26:12 +00:00
Viktor Szakats
499b0f2c33 2009-08-04 01:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdefs.h
    ! Further tweaked HB_STRICT_ALIGNMENT detection by using
      HB_CPU_* macros.
      Please review and extend/tweak if needed.

  * include/hbdefs.h
  * include/hbsetup.h
  * include/hbinit.h
  * source/vm/fm.c
  * source/common/hbver.c
  * config/sunos/sunpro.cf
    + Patch for Sun support by Tamas Tevesz.
      - SunPro compiler C++ mode support.
      - HB_STRICT_ALIGNMENT config refinement for Sun platform.
      - SunPro compiler version detection will detect raw version
        number for newer releases.
      - SunPro optimization flag tweaks for C/C++ mode.
        Trying to be Blastwave.org compatible as much as possible.
      - LD_OUT -o option tweak for SunPro.
      ; NOTE: -o option should better be revised for all supported
              [gcc] compilers to have space between it and the
              filename.

  * source/vm/extrap.c
    + Changed to use HB_CPU_* macros instead of using compiler
      specific ones.
2009-08-03 23:27:00 +00:00
Viktor Szakats
2828f74525 2009-08-04 00:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Minor.

  * config/global.cf
    + Added screen dump of build settings. Initial version,
      only settings having standard names are being shown.
    + Added some new links to comment.
    ! Fixed $(info ...) usage protection.

  * Makefile
    % Using ':=' assignments where possible.
    ! Fixed to choose OS/2 postinst script based on shell, not
      HB_ARCHITECTURE.
    * Indentation.

  * make_gnu.bat
    + Added alternative GNU Make executable names in comment.

  * source/compiler/cmdcheck.c
    + Added support for --help cmdline option.

  * config/dir.cf
    * Indentation.
2009-08-03 22:52:28 +00:00
Viktor Szakats
15d3303b11 2009-08-02 09:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/postinst.sh
  * source/common/hbver.c
    ! Minor fixes to SunPro compiler support by Tamas Tevesz.

  * contrib/xhb/Makefile
  + contrib/xhb/htmlform.ch
  + contrib/xhb/tfile.prg
  + contrib/xhb/html.ch
  + contrib/xhb/tedit.prg
  + contrib/xhb/tframe.prg
  + contrib/xhb/htjlist.prg
  + contrib/xhb/htmlclrs.ch
  + contrib/xhb/thtm.prg
  + contrib/xhb/hterrsys.prg
  + contrib/xhb/tcgi.prg
  + contrib/xhb/cgi.ch
  + contrib/xhb/hjwindow.prg
  + contrib/xhb/htmutil.prg
    + Added cgi library borrowed from xhb.
    ! Warning fixes.
    * Cleanups applied here and there.
2009-08-03 07:06:47 +00:00
Przemyslaw Czerpak
83b409179a 2009-08-01 20:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbsetup.h
  * harbour/include/hbthread.h
  * harbour/include/hbatomic.h
  * harbour/source/vm/thread.c
    * added support for MT mode in WinCE builds using raw MS-Windows API
      instead of CRTL wrappers. It's possible that it may badly interact
      with some CRTLs functions we are using in our code so I do not know
      it will work. Please test.
2009-08-01 18:24:40 +00:00