Commit Graph

11904 Commits

Author SHA1 Message Date
Przemyslaw Czerpak
06b985372b 2009-08-25 12:49 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/hvm.c
  * harbour/source/common/expropt2.c
    * cleaned casting in date and timestamp math operations to use exactly
      the same conversions in all places in compiled and HVM
2009-08-25 10:49:57 +00:00
Viktor Szakats
29300e58c3 2009-08-25 10:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/postinst.bat
    ! Fixed to work without HB_TOP value. Regression after recent change.

  * contrib/rddsql/sddmy/mysqldd.c
  * contrib/rddsql/sddpg/pgsqldd.c
  * contrib/hbbtree/hb_btree.h
  * contrib/hbbtree/hb_btree.c
  * source/vm/macro.c
  * source/vm/hvm.c
  * source/common/expropt2.c
  * source/compiler/complex.c
    ! Fixed MSVC warnings.
      Please review me, especially the date related ones in core.
    * LONG -> long in hb_compExprReduceTimeStampPut().
    ; NOTE: Number of MSVC (32-bit) -W4 warnings are reduced to 280,
            all of them in RDD code. (plus just few more here and there)
2009-08-25 08:52:54 +00:00
Viktor Szakats
261532a1e2 2009-08-25 09:43 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed silly regression in 2009-08-23 15:56 which cause RTE on
      startup if no comp/plat were specced.

  * utils/hbmk2/hbmk2.prg
  * config/wce/poccarm.mk
  * config/wce/msvcarm.mk
  * config/win/xcc.mk
  * config/win/pocc.mk
  * config/win/icc.mk
  * config/win/pocc64.mk
  * config/win/msvc.mk
    ! Changed to use '-' option prefix instead of '/' to make them
      work under sh (msys) shells.
2009-08-25 07:44:14 +00:00
Viktor Szakats
7d6cf877ef 2009-08-25 09:18 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Mentioning dosemu.

  * bin/postinst.bat
    + dos shell flavour zip creation.

  * config/global.mk
    + Added make platform detection.
    + Changed 'dos shell on win platform' warning to be based on make
      platform.
    + Not showing 'dos make on win platform' warning when doing DJGPP
      build because this is the right (and only) way in case of this
      compiler.

  * config/globsh.mk
    + Added command line length limit details for dos shell.
    + Added command line length limit for OS/2. Copied from other .mk file.

  * config/dirsh.mk
  * config/instsh.mk
    - Deleted comments 'We have to use script to overcome the DOS limit of max 128 characters'
      from all places.

  * config/dos/djgpp.mk
    + Will now error if trying to use other than DJGPP make
      to built with this compiler.
2009-08-25 07:18:37 +00:00
Viktor Szakats
377230eb5a 2009-08-25 03:20 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/postinst.bat
    + Reworked to work better in cross-build/cross-shell scenarios.

  * config/common/watcom.mk
    ! Use envvars to pass parameter either if shell is dos or target.
      This fixes dos/watcom builds under non-dos shells.

  * source/dynlib/mt/Makefile
  * source/dynlib/Makefile
  * config/none.mk
    ! Fixed the way these dynamic lib targets are skipped.

  * package/mpkg_win.nsi
    * Changed to also work on trees using short names.
      (only 'ChangeLog' is a problem here).
      Maybe it's time to rename to CHANGES. It causing too much
      headache.

  * bin/postinst.cmd
    * Sync with .bat.

  * config/global.mk
    + Exporting HB_SHELL for postinst scripts.
    ! Fixed HB_PKGNAME assembly for dos targets.
    ! Typo in comment.

  * config/win/bcc.mk
    ! Deleted dbl quotes from tlib commands as it totally confused it
      under msys shell.
2009-08-25 01:23:07 +00:00
Viktor Szakats
fb0c197484 2009-08-25 02:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* doc/bintools.txt
  * config/dosecho.exe
    ! Restored previous version. (new one gave error on some watcom lines f.e.)
    + Added binary+source links.

  * INSTALL
    + Some minor clarifications.
    * 'NT system required' changed 'XP system recommended' for win hosts.
    + Added shell requirement for HB_BUILD_PKG.
    % Simplified os2/watcom on linux example.

  * bin/postinst.cmd
    + Some cleanup/sync with postinst.bat.

  * source/Makefile
    ! Possible fix: Emptying DYNDIRLIST_BASE on dos targets
      to save envvar space.

  * source/Makefile
  * config/lib.mk
    + Added gtcrs and gtsln to dynlib obj list for *nix targets.

  * config/global.mk
    + Added Harbour version number to log header.
    ! Fixed to use short pkg name based on target platform
      no host platform (=dos).

  * config/bsd/gcc.mk
  * config/hpux/gcc.mk
  * config/darwin/icc.mk
  * config/linux/icc.mk
  * config/linux/sunpro.mk
  * config/sunos/gcc.mk
  * config/sunos/sunpro.mk
    + Added dynamic library generation to rest of targets.
    ; Please review, especially sunos/sunpro as it had some
      .sh tricks which I couldn't replicate.

  * config/bsd/global.mk
  * config/hpux/global.mk
  * config/darwin/global.mk
  * config/linux/global.mk
  * config/sunos/global.mk
    ! Setting DYN_PREF to 'lib'.

  * config/wce/mingwarm.mk
  * config/win/mingw.mk
    - Disabled import libs. [They aren't necessary with mingw.]

  * config/darwin/icc.mk
    * Changed to use libtool instead of xiar.
      (blind sync with darwin/gcc)

  * config/dos/djgpp.mk
  * config/common/watcom.mk
  * config/win/bcc.mk
  * config/os2/gcc.mk
    ! Fixed to use $(ECHOQUOTE) in all $(ECHO) calls.

  * config/win/bcc.mk
    ! Fixed use fixed backslashes regardless of shell in scripts.

  * config/dyn.mk
    ! Fixed to use $(LIB_PREF) as implib name prefix.
    % Minor opt in IMP_NAME forming.

  * config/rules.mk
    % Readded $(HB_INC_COMPILE) to be always on cmdline, to
      better balance between cmdline and envvar space. (dos)

  * config/instsh.mk
    % Don't display useless '! Nothing to install' message
      when there was no file to install. (could happen with
      mingw dynamic lib install where implib is empty because
      we don't generate one).
2009-08-25 00:04:06 +00:00
Przemyslaw Czerpak
abd6eb6d59 2009-08-25 01:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbzlib.h
  * harbour/include/hbregex.h
  * harbour/source/rtl/hbsocket.c
  * harbour/config/win/xcc.mk
  * harbour/source/Makefile
  * harbour/contrib/rddsql/sddmy/mysqldd.c
  * harbour/contrib/rddsql/sddpg/pgsqldd.c
  * harbour/contrib/rddsql/sddfb/fbirddd.c
  * harbour/contrib/rddsql/sddodbc/odbcdd.c
  * harbour/contrib/hbwin/hbwinole.h
    ! fixed XCC builds

  * harbour/source/rtl/sha1.c
    * added ugly hack as workaround for bugs in XCC preprocessor

  * harbour/config/win/bcc.mk
    ! fixed BCC DLL building in POSIX shells
2009-08-24 23:56:00 +00:00
Viktor Szakats
feb0f26731 2009-08-24 19:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Minor.

  - config/readme.txt
  + doc/bintools.txt
    * Renamed.
2009-08-24 17:09:59 +00:00
Viktor Szakats
fa8679e9ba 2009-08-24 19:04 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/dosecho.exe
    ! Replaced it with a different build which is coming from
      a known location, the DJGPP package, where also the other
      included .exe came from. This is an inferior build, but
      for our purposes it will do.

  * INSTALL
  * config/global.mk
    * Minor.
2009-08-24 17:05:05 +00:00
Viktor Szakats
b3c1653346 2009-08-24 18:32 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    % Added all/clean/install as .PHONY targets.
    ! Fixed one error message. (had mistyped HB_ARCHITECTURE)
2009-08-24 16:32:53 +00:00
Viktor Szakats
d379e36a58 2009-08-24 18:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Improvements. (f.e. moved non-*nix sections to top of
      quick instruction list as *nix users tend to know these
      things already)

    ; NOTE: Is anyone interested in proofreading it or just plain 
            giving some feeback? It's great that I update this doc,
            but I still had no feedback whether is it suitable for 
            any purpose, or useful for anyone. Anything missing, 
            incomprehensible, or god forbid: useful.
2009-08-24 16:22:59 +00:00
Viktor Szakats
57bd9738f0 2009-08-24 17:58 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    % Further simplified quick start instructions.
      - Deleted HB_COMPILER from non-*nix build cmds.
      * Replaced HB_COMPILER with HB_PLATFORM on *nix platforms.
    + Replaced cross-platform scenario list with a complete 
      host platform/shell vs. target platform/compiler 
      compatibility matrix.
      Feel free to correct/verify/extend it.
      It's quite scary so I added it as last section.
2009-08-24 16:00:26 +00:00
Viktor Szakats
34390019a2 2009-08-24 17:47 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.pt_BR.po
    + Updated translation.
2009-08-24 15:47:44 +00:00
Viktor Szakats
d966aa88f1 2009-08-24 17:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
  * INSTALL
    + Added poccarm and pocc64 autodetection.
    + Added iccia64 autodetection.
    + Added watcom target platform detection on all host platforms.
    + Added djgpp autodetection under win hosts.
    % Simplified INSTALL examples accordingly.
      Actually it's so simple now that only 'make' should be
      issue after setting up the compiler according to compiler
      docs. It's very rare that HB_COMPILER or HB_PLATFORM should
      be specified now on non-*nix platforms.
    * Minor formatting.
    - Deleted debug $(info) line.

  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
    ! Fixed to not initialize HB_DYN_INSTALL location to central lib
      dir in case there was a plat/comp specific lib dir found.
      I can't remember why this was done this way, but now it doesn't
      seem to be necessary and it can just cause problems, as central
      lib may contain some overlapping lib name (leftovers from other
      'install' sessions) causing trouble for linkers. It also cleaner
      this way.
    ! Added '(internal)' text to Harbour command -trace output.
    ! Changed harbour.exe path in internal command trace/error output
      to use the same base dir as hbmk2 itself. In cross-compile
      situations this is more accurate. Since harbour.exe shouldn't
      necessarily exist, I've put harbour.exe path in paranthesis
      to suggest it's not a real path.
    ; NOTE: Actually now hbmk2 autodetection code is lagging behind
            GNU Make, so hbmk may need to get a bigger internal revision
            sooner or later to catch up. It currently cannot switch
            platforms based on detected situation, also the embedded
            and normal tool installation should be merged, plus
            autodetection added for *nix platforms.

  * include/hbwince.h
  * include/hbdef.h
    ! Added HB_EXPORT to some WinCE function, because they are needed
      to successfully link shared final executable for non-mingw
      wce compilers (poccarm and msvcarm). (in mingw we automatically
      export all 'extern' functions, so this isn't a problem)
2009-08-24 15:42:57 +00:00
Przemyslaw Czerpak
d51a2936eb 2009-08-24 17:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-mkdyn.sh
  * harbour/bin/postinst.sh
    ! fixed win and wce cross builds when GCC cross build tools are not
      in PATH
2009-08-24 15:11:39 +00:00
Przemyslaw Czerpak
6a200c2b7c 2009-08-24 16:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/config/global.mk
    ! fixed MinGW cross build autodetection
      TOFIX: find_in_path_par do not work for paths separated by spaces
             due to $(substpat) trick
2009-08-24 14:37:58 +00:00
Przemyslaw Czerpak
5a6a65ef2c 2009-08-24 14:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbmacro.h
  * harbour/source/macro/macro.yyc
  * harbour/source/macro/macro.y
    * hb_macroIdentNew() made public

  * harbour/include/hbexprb.c
    ! use hb_macroIdentNew() instead of hb_compIdentifierNew()
      in code compiled for macrocompiler
2009-08-24 12:50:42 +00:00
Viktor Szakats
003b2554a6 2009-08-24 14:46 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- config/os2echo.exe
  * config/globsh.mk
  * config/readme.txt
    - Deleted. It didn't solve any problems.
2009-08-24 12:46:22 +00:00
Viktor Szakats
9a4bb4a090 2009-08-24 14:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Cleaned examples.
      - Arranged them by host platform
      - Fixed a few examples (DJGPP on NT missed HB_PLATFORM)
      - Moved 'set HB_COMPILE' to make cmdline.
      - Consistency changes.
      - Deleted empty 'rem' lines.
      - Moved log redirection from each example to general NOTE.
      - Moved %1 %2 from example to general NOTE.
      - Added generic *nix section.
      - Added information about possible cross-build targets.
    ; Hopefully they are much cleaner now. In fact most information
      deal with how to setup the compiler.

  * config/global.mk
    + Added link to GNU Make free book.
    % path checking functions rearranged, so now it can be indented.
    + Added log header line.
    ! Fixed to display only the first autodetect location.

  * bin/postinst.cmd
  * bin/postinst.bat
  * bin/hb-func.sh
    * Wording: 'Generating' -> 'Making'
    * 'Harbour Make (hbmk2)' -> 'hbmk2' in generated hbmk.cfg.

  * utils/hbmk2/hbmk2.prg
    * Wording: 'Generating' -> 'Creating'
2009-08-24 12:12:59 +00:00
Przemyslaw Czerpak
3424960e82 2009-08-24 13:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbexprb.c
    * minor modification

  * harbour/source/common/expropt2.c
    + added compile time optimization for expression like ("alias")->var
      and ("alias")->(<exp>)
2009-08-24 11:35:57 +00:00
Viktor Szakats
98317db6b4 2009-08-24 12:41 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbcurl/hbcurl.c
  * contrib/hbcurl/hbcurls/Makefile
  * contrib/hbcurl/Makefile
  - contrib/hbcurl/hbcurlm.c
    - Deleted two wrappers belonging to share/multi interfaces.
    * Moved two legacy functions back to main source.
    - Deleted hbcurlm.c which caused doubly defined symbols
      when built with pocc. It was caused by some curl header
      features most probably.

  * config/global.mk
    * Comment update in config var planning section.
2009-08-24 10:42:41 +00:00
Viktor Szakats
c167e9b26f 2009-08-24 04:01 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/Makefile
  * contrib/gtqtc/Makefile
    ! Fixed prev change after testing.

  * ChangeLog
    ! Missed item from recent entry:
      * config/global.mk
        * Changed HB_INSTALL_PREFIX macros to lowercase:
          {hb_top}, {hb_comp}, {hb_plat}, {hb_cpu}
2009-08-24 02:04:50 +00:00
Przemyslaw Czerpak
cce7936506 2009-08-24 03:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/config/globsh.mk
    ! added missing command separator
2009-08-24 01:24:26 +00:00
Viktor Szakats
93fe529517 2009-08-24 02:03 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    + Will now show the autodetected compiler path.

  * utils/hbmk2/hbmk2.prg
    ! Fixed to not pass bogus resource source files to linker when
      resource compiling isn't supported on given compiler (win/icc).

  * config/common/watcom.mk
    ! Fixed double .exe extension (regression).

  * contrib/hbqt/Makefile
  * contrib/hbxbp/Makefile
  * contrib/gtqtc/Makefile
    + Experimental changes:
      Now showing reason why library was skipped.
      Configuration also works a little differently:
        HB_INC_QT should either be set to the header dir,
        or set to 'no' which will disables any autodetection
        (on *nix systems). This method replaces HB_HAVE_QT=no
        setting and leaves only one setting to control QT
        lib building. Experimental, probably the control
        method should be further tuned.
      Possible log messages:
        - component not found
        - component location not set
        - deselected
        - platform not supported
        - compiler not supported
        - (...) not supported
        + not necessary
      NOTE: I've used 3.81 'if/else if' structure here.
    % Streamlined the way darwin autodetection is solved.
      (not yet tested)

  * contrib/hbfbird/Makefile
  * contrib/hbfimage/Makefile
    % Optimized prerequisit check by using $(filter)

  * config/win/icc.mk
    ! Changed to use xilink instead of using the compiler for
      linking. This syncs it with msvc and hbmk2, and it also
      fixes .dll creation.
    + Added /nologo.

  * config/global.mk
  * config/wce/poccarm.mk
  * config/wce/msvcarm.mk
  * config/win/xcc.mk
  * config/win/pocc.mk
  * config/win/bcc.mk
  * config/win/watcom.mk
  * config/win/icc.mk
  * config/win/msvc.mk
  * config/rules.mk
  * config/os2/watcom.mk
    % Optimized OBJ_DYN_POSTFIX variable to be an internal one,
      it doesn't need to be set in compiler .mk file anymore.
      If there is any extra C compiler flag set for dynamic mode,
      it will be set automatically.
2009-08-24 00:04:06 +00:00
Viktor Szakats
053dc1381c 2009-08-23 19:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- doc/howtobsd.txt
  * doc/Makefile
  * INSTALL
    * Essence of the content moved to INSTALL.

  * config/none.mk
    + Added support to display the reason for the "skip".

  * external/sqlite3/Makefile
  * contrib/gtalleg/Makefile
    + Showing the reason why the libs were skipped.
      Experimental. This feature needs some more design
      to be consistent and helpful, it should be done while
      also standardizing our config methods.
      Current internal solution is also not terribly elegant,
      maybe it can be converted to a function call, but there
      may other solutions too.

  * doc/dirstruc.txt
    * Minor update.
2009-08-23 17:36:32 +00:00
Viktor Szakats
655fb8760e 2009-08-23 18:36 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/globsh.mk
    ! Deleted double quotes from around $(MK) command on nt 
      shells.
      This had the side effect that GNU Make couldn't run the
      executable for recursion if it wasn't in the PATH.
      (so win-make.exe didn't work. Now it does.)
2009-08-23 16:36:52 +00:00
Viktor Szakats
dea3050119 2009-08-23 18:30 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    ! Minor regression when adding HB_CPU detection for dos plat.
2009-08-23 16:31:05 +00:00
Viktor Szakats
7294efc91d 2009-08-23 18:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- doc/linux1st.txt
  * doc/Makefile
  * INSTALL
    + Moved linux1st.txt content to INSTALL.

  * utils/hbmk2/hbmk2.prg
  * config/global.mk
    - Deleted some HB_ARCHITECTURE compatibility lines.
      Now only legacy hbmake sources keep referencing it.
2009-08-23 16:15:53 +00:00
Viktor Szakats
92c93fdc95 2009-08-23 17:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* doc/linux1st.txt
    - Deleted Linux build instructions no more relevant.
    * Formatting. Probably this file should be moved into INSTALL.

  * doc/gmake.txt
    * Little updates.

  * harbour-win-spec
  * doc/gmake.txt
  * doc/linux1st.txt
  * doc/whatsnew.txt
  * harbour-wce-spec
  * INSTALL
  * bin/hb-mkdyn.sh
  * bin/postinst.cmd
  * bin/postinst.bat
  * bin/hb-func.sh
  * bin/postinst.sh
  * external/sqlite3/Makefile
  * external/libhpdf/Makefile
  * external/libpng/Makefile
  * mpkg_tgz.sh
  * harbour.spec
  * source/pp/hbpp.c
  * source/pp/Makefile
  * source/vm/Makefile
  * source/vm/cmdarg.c
  * source/vm/vmmt/Makefile
  * source/main/harbour.c
  * source/rtl/gtdos/Makefile
  * source/rtl/gtwin/Makefile
  * source/rtl/gtcrs/Makefile
  * source/rtl/gttrm/Makefile
  * source/rtl/Makefile
  * source/rtl/gtos2/Makefile
  * source/rtl/gtgui/Makefile
  * source/rtl/gtwvt/Makefile
  * source/rdd/Makefile
  * source/Makefile
  * contrib/hbodbc/Makefile
  * contrib/hbsqlit3/Makefile
  * contrib/hbblat/Makefile
  * contrib/hbqt/Makefile
  * contrib/hbxbp/Makefile
  * contrib/hbcurl/Makefile
  * contrib/gtqtc/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
  * utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * config/none.mk
  * config/global.mk
  * config/lib.mk
  * config/wce/mingw.mk
  * config/bin.mk
  * config/dir.mk
  * config/common/watcom.mk
  * config/win/msvc64.mk
  * config/win/iccia64.mk
  * config/win/mingw64.mk
  * config/win/gcc.mk
  * config/win/msvcia64.mk
  * config/win/pocc64.mk
  * config/header.mk
  * config/dyn.mk
  * config/doc.mk
    * HB_ARCHITECTURE -> HB_PLATFORM
    * hb_arch -> hb_plat (internal script variable)
    * ARCH_COMP -> PLAT_COMP (internal make variable)
    ; INCOMPATIBLE: Please update your environment, if you used this setting.
    ; NOTE: So now Harbour uses only two names for platforms: 'OS' and 'platform'.
            'Architecture' is nowhere used to refer to as an operating system
            anymore. 'Architecture' is only used to refer to CPU/hardware
            architecture.
2009-08-23 15:58:51 +00:00
Viktor Szakats
b14c719757 2009-08-23 17:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* doc/gmake.txt
  * doc/man/hbmk.1
  * doc/whatsnew.txt
  * external/sqlite3/Makefile
  * external/libhpdf/Makefile
  * include/hbapi.h
  * include/hbver.ch
  * utils/hbmk2/hbmk2.prg
  * contrib/hbhpdf/Makefile
  * source/vm/cmdarg.c
  * source/main/harbour.c
  * source/rtl/version.c
  * config/global.mk
  * config/dir.mk
  * config/common/watcom.mk
  * config/rules.mk
  * examples/superlib/superlib.hbc
  * examples/superlib/superlib.hbp
  * examples/hbmsql/hbmsql.hbc
  * examples/hbmsql/hbmsql.hbp
  * examples/hbsqlit2/hbsqlit2.hbp
  * examples/hbsqlit2/hbsqlit2.hbc
  * examples/gfspell/gfspell.hbp
  * examples/gfspell/gfspell.hbc
  * examples/hbapollo/hbapollo.hbp
  * examples/hbapollo/hbapollo.hbc
    * HB_ARCH_AUTO -> HB_PLAT_AUTO
    * HB_HOST_ARCH -> HB_HOST_PLAT
    * 'architecture' -> 'platform' in text.
    * HB_VERSION_BUILD_ARCH -> HB_VERSION_BUILD_PLAT
      (INCOMPATIBLE, if you happen to use this from previous dev/beta version)
    * hb_verHB_ARCH() -> hb_verHB_PLAT()
    * ${hb_arch} -> ${hb_plat}

  * INSTALL
    * Minor update.
2009-08-23 15:06:11 +00:00
Viktor Szakats
092f500633 2009-08-23 15:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added support for combined target names. This means
      that from now in all supported platform/compiler inputs can
      be formed like <plat>/<comp> in one string.
      So f.e. '-plat=wce/mingw' is the same as '-plat=wce -comp=mingw'.
      This feature only kicks in if the string contains '/' and in
      this case the first item always indicates the platform, the
      second always the compiler, regardless of which switch name is
      used (-plat or -comp). So -comp=wce/mingw is the same as -plat=wce/mingw.
      Experimental yet.
    ! Wrong bugfix reverted in prev commit. (for watcom/win)

  * utils/hbmk2/hbmk2.prg
  * config/global.mk
    + Added autodetection for i386-mingw32ce, which is WinCE running on x86 CPU.
      This tool was released just recently from cegcc team.

  * config/global.mk
    + Tweaked a little mingwarm autodetection on *nixes.
      It will now look for all three mingw compilers on provided HB_CCPATH.
      If not provided or not found on that location, it will continue to look
      for them in default locations.

  + config/wce/mingw.mk
    + Added x86 wce/mingw config file. It's a simple redirection to
      mingwarm.mk. I'll try to make some steps to make it generic,
      can't really see the end of the tunnel yet though.
2009-08-23 14:02:53 +00:00
Viktor Szakats
13202f35e7 2009-08-23 14:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    * Changed internal names to use PLAT instead of ARCH when 
      referring to platform.
2009-08-23 12:45:17 +00:00
Viktor Szakats
ba93fd59da 2009-08-23 14:38 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
    * Changed to use 'platform'/'plat' instead of 'architecture'/'arch'.
    + Added -plat option. Same as old -arch, which is still accepted 
      for compatibility.
    + Accepting HB_PLATFORM envvar instead of old HB_ARCHITECTURE.
      Old envvar is still accepted for compatibility.
    + Added ${hb_plat} and ${hb_platform} macros. Content the same 
      as for old ${hb_arch} and ${hb_architecture} macros. Old ones
      still retained for script compatibility.
    ; Please start using the new values.

  * contrib/hbwin/olecore.c
    ! Suppressed MSVC warning.
2009-08-23 12:40:37 +00:00
Viktor Szakats
4b3d269dd9 2009-08-23 14:17 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/vm/itemapi.c
    ! Added casts to avoid MSVC -W4 warnings. All of them was related 
      to casting Harbour numeric value number of digits/decimals 
      coming as an 'int' but stored as an USHORT in HB_ITEM.
2009-08-23 12:17:58 +00:00
Viktor Szakats
f1cc34069a 2009-08-23 13:41 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/hbpcre/Makefile
  * source/hbzlib/Makefile
    + Added 'HB_BUILD_WARN := no' which causes that these foreign 
      sources will be compiled using default compiler warning level.
      Should avoid a few MSVC warnings.
2009-08-23 11:41:26 +00:00
Przemyslaw Czerpak
6f3e596ad7 2009-08-23 13:17 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/rddads/rddads.h
    * eliminated explicit casting to keep strict aliasing rules
2009-08-23 11:17:16 +00:00
Viktor Szakats
a8a9e8a545 2009-08-23 13:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/globsh.mk
  * config/readme.txt
  - config/dj-cp.exe
  - config/dj-echo.exe
  - config/dj-mkdir.exe
  - config/dj-rm.exe
  + config/doscp.exe
  + config/dosecho.exe
  + config/dosmkdir.exe
  + config/dosrm.exe
  - config/os2-cp.exe
  - config/os2-echo.exe
  - config/os2-mkdir.exe
  - config/os2-rm.exe
  + config/os2cp.exe
  + config/os2echo.exe
  + config/os2mkdir.exe
  + config/os2rm.exe
    * Renamed included GNU tools to avoid using any long filename.

  - config/Makefile
    - Deleted. No longer needed.
2009-08-23 11:13:36 +00:00
Viktor Szakats
741721320b 2009-08-23 12:54 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  + dos-make.exe
  + win-make.exe
  + os2-make.exe
  - config/mingw32-make.exe
  - config/dj-make.exe
  - config/os2-make.exe
  * config/readme.txt
    * Moved non-*nix GNU make executables to the root.
    * Rename above utilities to give a clear idea which belongs to
      which platform. At the same time we avoid using their original
      names, thus allowing users to use those ones if installed.
    * Modified documents accordingly.
2009-08-23 10:57:51 +00:00
Viktor Szakats
a93c6d42f0 2009-08-23 12:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbsetup.h
    * Minor in comment.
    + Also looking for __DARWIN__ to autodetect HB_OS_DARWIN.

  * utils/hbmk2/hbmk2.prg
    + Honoring -quiet option for language file creation related screen output.

  * INSTALL
    * Some improvements.

  * bin/postinst.bat
    + Added -quiet to hbmk2 cmdlines.
2009-08-23 10:09:36 +00:00
Przemyslaw Czerpak
88f8eeb94b 2009-08-23 11:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/axcore.c
    * added automatic activex initialization to __AXDOVERB().
      __AXGETCONTROL()/hb_oleAxControlNew() also make automatic
      initialization so it's not necessary to explicitly call
      WIN_AXINIT()/hb_oleAxInit()

  * harbour/contrib/rddads/readme.txt
    ! updated ADS* RDD usage description which contain very old information
      which stop to be valid many years ago, i.e. user code should not call
      rddRegister().

  * harbour/contrib/rddads/rddads.h
  * harbour/contrib/rddads/ads1.c
    ! fixed SELF_RESETREL() macro
    ! changed uiRecordLen to ulRecordLen - ADT tables can have records
      longer then 64KB
    ! fixed size of alias buffer passed to AdsGetTableAlias()

  * harbour/contrib/rddads/adsx.c
    * modified ADSXAREA structure definition to directly inherit from
      ADSAREA instead of manual redefining all of its fields.
2009-08-23 09:58:39 +00:00
Viktor Szakats
7dc8954a1e 2009-08-23 10:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Minor visual correction to help screen option section.

  * ChangeLog
    ! Missed from prev entry:
      * utils/hbmk2/hbmk2.prg
        + Added quiet option for watcom linker commands.
        ! Fixed missing SYS directive in watcom/win targets which prevented
          using this target in cross-build scenarios.
2009-08-23 08:15:56 +00:00
Viktor Szakats
7f66faac51 2009-08-23 09:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
    + Added -implib option. Implemented it for all compilers.
      (some of these don't support -hbdyn option yet though, once we
      got it matured in GNU Make, these can be added to hbmk2)
    + Added linux/watcom dynlib generation. Quite experimental, it doesn't
      work due to missing symbols.
    + Added linux/watcom support for -shared mode. Experimental, it doesn't
      work due to 'invalid library file attribute'. Either the GNU Make
      generate .so is wrong, or it's wrongly specified, or else.
      I hope something can continue watcom dynamic lib support.

  * config/dos/watcom.mk
    * Formatting.

  * config/linux/watcom.mk
    - Deleted 'RUNTIME linux' and 'OP norelocs' options from dynlib gerenation.
2009-08-23 08:00:35 +00:00
Viktor Szakats
ddb35c66f5 2009-08-23 01:08 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/linux/watcom.mk
    + Added dynamic library generation for linux/watcom.
      Experimental.
      NOTE: DFLAGS is a little tricky as I found no 'SYSTEM'
            preset for ELF DLLs.
2009-08-22 23:11:09 +00:00
Pritpal Bedi
8a4251ebcf 2009-08-22 16:01 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbxbp/tests/demoxbp.prg
    ! Fixed codeblock unused variable warnings.
2009-08-22 23:02:34 +00:00
Viktor Szakats
48b91521f2 2009-08-22 23:29 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/hb-mkimp.bat
    - Not creating msvc implibs for QT .dlls anymore.
      .dlls distributed in the QT binary package are using
      Itanium ABI (built with MinGW/GCC), which isn't compatible 
      with ABI used by MSVC. Generating an implib is impossible here.
      Those who want to use QT with MSVC Harbour builds should 
      rebuild QT .dlls from source, implibs will be generated 
      automatically in this case (I assume).
2009-08-22 21:31:18 +00:00
Viktor Szakats
0a222d2a47 2009-08-22 23:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ config/os2-echo.exe
  * config/globsh.mk
  * config/readme.txt
    + Replaced OS/2 native echo with GNU echo tool.
2009-08-22 21:20:37 +00:00
Viktor Szakats
0dfd45a90f 2009-08-22 22:43 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/hb-mkimp.bat
    ! Fix to prev. Some debug stuff.
2009-08-22 20:44:12 +00:00
Viktor Szakats
fffee707b9 2009-08-22 22:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt_slots.cpp
    ! Fixed memorys leak in HbDbfModel::rowCount() and HbDbfModel::columnCount().
      It was shown as "unreachable code" warning.
2009-08-22 20:33:57 +00:00
Viktor Szakats
675145259f 2009-08-22 22:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/hb-mkimp.bat
    ! Fixed warning LNK4093 in msvc lib command.
    ! Fixed /machine option in msvc lib command for msvc64 targets.
    % Added /nologo to msvc lib command.
2009-08-22 20:28:57 +00:00
Viktor Szakats
ae8dfcf1bb 2009-08-22 22:13 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbxbp/tests/demoxbp.prg
    * Added '#pragma -w1' to suppress warnings.
      Pripal, is there any chance you can clear them? it would
      be a nice showcase as in real apps it's better to stick
      with full warnings on. It would better show the Xbase++
      Parts user code's suitability for real apps. IMO.
2009-08-22 20:13:39 +00:00