Commit Graph

273 Commits

Author SHA1 Message Date
Viktor Szakats
7d0eb012a9 2010-01-10 11:57 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added gcc pkg to opensolaris pkg list.

  * harbour.spec
    ! Do not mark Red Hat and SUSE as discontinued. These names seem
      to be used for "enterprise" versions of these distros, but correct
      me if I'm wrong.

  * utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
    + Made it clean on the help screen which options can only be used 
      from the command line.
2010-01-10 10:58:27 +00:00
Viktor Szakats
37d7989d47 2010-01-09 12:54 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Extended Linux deb/rpm sections:
      - Added list of base packages
      - Listed actual active distro names
      - Added pkg install command for various rpm distros
      - Added link to webpage containing extensive information
          about pkg management commands on different distros
    + Added SUNWsvn package for OpenSolaris.

  * harbour.spec
    ! Typo in comment.
    + Added 'DISCONTINUED' comments to those distros which are 
      (suprise!) discontinued.

  * contrib/hbwin/wapi_winbase.c
    ! Fixed to set internal getlasterror value in WAPI_FORMATMESSAGE().
      Thanks Xavi.

  * contrib/hbwin/wapi_err.c
    ! Fixed to include 'hbwapi.h'
      Thanks Xavi again.

  * config/global.mk
    + Added autodetection of Gentoo Linux package manager.

  * contrib/hbbtree/hb_btree.c
    + Added two TOFIX notes. Both reported on the list previously.
2010-01-09 11:55:36 +00:00
Viktor Szakats
7760e7425d 2010-01-09 01:39 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    ! Fixed to not require HB_BIN_COMPILE is host and target
      platform is the same, host is x64 and target is x86.
      x64 hosts can run x86 binaries. (pls shout if you know
      any exception)

  * INSTALL
    + Added extra info to openSUSE section.
    ; TODO: Update .rpm/opensuse section.

  * harbour.spec
    + Added initialization of HB_USER_DFLAGS.
    ; TOFIX: Current setup doesn't allow passing -m32 to force 32-bit
             .rpm builds on 64-bit systems.
    ; TOFIX: OpenSUSE 10.2 uses 'gpm' instead of 'gpm-devel'.

  * contrib/hbqt/hbqt.hbc
  * contrib/hbqt/hbqts.hbc
    * Changed to enable -hbcppmm only on win and os2 platforms.
      I don't know about linux, but on darwin this option caused
      this error:
         hbide(70507,0x7fff708a0be0) malloc: *** error for object 0x1019d3948: pointer being freed was not allocated
         *** set a breakpoint in malloc_error_break to debug
         Abort trap
2010-01-09 00:40:40 +00:00
Viktor Szakats
dd570d683c 2010-01-07 21:10 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added free SVN book link.

  * src/vm/extrap.c
    % Marked exception filter callback as 'static'
    ; TOCHECK: Please verify that OS/2 still works this way.

  * src/rtl/oemansi.c
    ! Fixed two tabs.

  * src/rtl/gtwvt/gtwvt.c
  * contrib/gtwvg/gtwvg.c
  * contrib/rddads/adsfunc.c
    ! Fixed to not use unsafe/ANSI CharToOemBuffA() API.
    ; Please review me.

  * config/win/mingw.mk
    + Added information about MinGW alternatives for MSVC
      security features. Unfortunately they need Cygwin
      binary plus some depend on MinGW host platform
      and/or version.

  * include/hbwince.h
  * src/common/hbwince.c
    - Deleted CharToOemBuffA(), OemToCharBuffA(). No longer
      needed by Harbour.
    ; TODO: Delete rest of not anymore used ANSI WinAPI
            functions. Now Harbour never uses ANSI
            WinAPI functions in UNICODE mode.

  * config/win/global.mk
    - Deleted reference to CharToOemBuffA(), OemToCharBuffA().
2010-01-07 20:59:38 +00:00
Viktor Szakats
ee3855d786 2010-01-07 18:22 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Made it clear that valgrind only support 32-bit Intel darwin
      systems ATM.
2010-01-07 17:23:43 +00:00
Viktor Szakats
cee6162783 2010-01-07 16:02 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Updated valgrind example.

  * contrib/hbnetio/utils/netiosrv.hbp
  * utils/hbformat/hbformat.hbp
  * utils/hbmk2/hbmk2.hbp
  * utils/hbi18n/hbi18n.hbp
  * utils/hbtest/hbtest.hbp
  * utils/hbrun/hbrun.hbp
  * config/wce/msvcarm.mk
  * config/win/msvc.mk
    + Added MSVC linker switches to enhance security by 
      enabling NX compatibility and ASLR.
      Especially important for server apps like netiosrv and hbrun.
    ; TODO: Enable the same for MinGW.
    ; TOCHECK: Please test this with old MSVC versions and MSVCARM, 
               maybe we will need to disable them in some cases.
    ; QUESTION: I'm unsure of -fixed:no MSVC option. Do we need it 
                to increase security?

  * config/wce/msvcarm.mk
    + Changed to use link.exe for linking instead of cl[arm].exe.
      This now syncs it with rest of Harbour.
2010-01-07 15:03:47 +00:00
Viktor Szakats
24bc432079 2010-01-06 22:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    ! Fixed instructions for .deb binary build.

  * contrib/hbide/hbide.hbp
    + Comment extended.

  * utils/hbmk2/hbmk2.prg
    + Comment extended.

  * config/globsh.mk
    ! Fixed typos in nt clean commands.
      [TOMERGE 2.0]

  * ChangeLog
    + Added TOMERGE 2.0 to prev entry.
2010-01-06 21:27:33 +00:00
Viktor Szakats
f3b1c88d4e 2010-01-06 08:33 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added HB_TR_OUTPUT to DEBUG section.
2010-01-06 07:39:28 +00:00
Viktor Szakats
dc7a864b3b 2010-01-06 01:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Minor update to prev.
2010-01-06 00:30:32 +00:00
Viktor Szakats
90334476e5 2010-01-06 01:24 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added new section: 7. DEBUGGING OPTIONS
      So far covered: tracing, memory statistics, valgrind and codeguard.
      I'd like to ask our experts to review and if needed extend 
      these informations (send me suggestions and I'll update it).

  * bin/postinst.bat
    + Enabling -debug option on shared tool hbmk2 builds if HB_BUILD_DEBUG=yes.

  * contrib/hbide/ideactions.prg
    ! Typo.
2010-01-06 00:27:55 +00:00
Viktor Szakats
74ed8d750b 2010-01-03 13:24 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added OS/2 to QT supported platforms.

  * harbour.spec
    + Merged lib and static subpackages into main one.
      hbmk2 requires that both dynamic and static libs (namely hbcplr)
      are present for successful linking.
      Please test and comment, I can revert old version in 
      case of any problems.

  * contrib/hbqt/filelist.mk
  * contrib/hbqt/hbqt_hbevents.cpp
  * contrib/hbqt/hbqt_hbslots.cpp
  - contrib/hbqt/hbqt_hbevents2.cpp
  - contrib/hbqt/hbqt_hbslots2.cpp
    * Merged new EVENTS/SLOTS implementation with old one,
      removing all existing redundancies and fixing double
      definition of low-level classes.
2010-01-03 12:28:25 +00:00
Viktor Szakats
fdbdedd298 2010-01-02 17:06 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Clean Linux .rpm section, added full install commands just 
      like for Ubuntu, added qt45-devel, added more description.
      (not tested, I don't have .rpm based distro)

  * config/global.mk
    ! Fixed debian package manager detection, as suggest by 
      Tamas Tevesz.
2010-01-02 16:09:44 +00:00
Viktor Szakats
d851a20f13 2010-01-02 12:23 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* mpkg_rpm.sh
    * Sorted '-with' checks.
    + Added freeimage and cairo enabler logic (none tested)

  * INSTALL
    - Deleted gtk2-devel from instructions.
    + Added freeimage-devel and cairo-devel to rpm pkg list.
      (none tested)

  * contrib/hbide/projects/hbide.hbi
    ! Deleted .exe extension from output name for portability.
    ! Fixed -workdir option to also have ${hb_plat} macro for portability.
    ; Pls remember that hbide is meant to be a portable tool.
    ; TOFIX: Delete -workdir option altogether. Not needed.
    ; TOFIX: Hard-wired dir C:\qt\2009.01\qt\lib should be stored in
             SVN.
2010-01-02 11:23:59 +00:00
Viktor Szakats
85088ba99c 2010-01-02 02:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added note on libharu on Linux.

  * harbour.spec
    + Added cairo, freeimage (commented) and gtalleg sections for
      separate RPMs.
    * Reordered RPM sections alphabetically.
    ; TODO: Enable above sections. Test.
    ; TOFIX: gtalleg is already added in some special way, which pbly needs to be removed.
    ; TOFIX: OpenSSL dependency is never set.

  * INSTALL
    + Added --with cairo
    + Added --with freeimage (with TOFIX markup)
    * Reordered --with options alphabetically.
2010-01-02 01:26:39 +00:00
Viktor Szakats
333c892db2 2009-12-31 19:07 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added QT MinGW version requirement information.

  * contrib/rddads/ads1.c
    * Formatting.
2009-12-31 18:08:20 +00:00
Viktor Szakats
2e7a94a814 2009-12-26 12:17 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added note that at least QT 4.5.0 is required for Harbour.
      [TOMERGE 2.0]

  * package/winuni/mpkg_win_uni_extra_copy.bat
    + Copying full source of hbide to Windows binary release.
    ; TODO: Probably it'd be better to move this tool to examples to
            avoid such exceptions.
      [TOMERGE 2.0]

  * package/winuni/RELNOTES
    + Added link to sf.net files.
    * Next Windows binary release to not include HBQT libs
      built against static QT libs.
      [TOMERGE 2.0]

  * contrib/hbwin/mapi.c
    ! Minor correction / optimization.
      [TOMERGE 2.0]
2009-12-26 11:18:25 +00:00
Viktor Szakats
b9a183d1e8 2009-12-18 10:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added more generic link for QT OSS downloads.

  * contrib/hbqt/*
    * Regenerated.
      (Please list only '* contrib/hbqt/*' to avoid growing ChangeLog
      with several hundred entries each time the generator changes)
2009-12-18 09:37:37 +00:00
Viktor Szakats
863baef288 2009-12-18 09:47 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added direct link to QT Windows 4.5.3 pkg.

  * contrib/hbqt/detect.mk
  * contrib/hbqt/moc.mk
    + Added my copyright.

  * contrib/hbqt/hbqt_hbdbfmodel.cpp
  * contrib/hbqt/generator/hbqtgen.prg
  * contrib/hbqt/hbqt_hbqtableview.cpp
  * contrib/hbqt/hbqt.h
  * contrib/hbqt/hbqt_hbqmainwindow.cpp
    ! Fixed some public C functions to hold hbqt_ prefix,
      instead of using generic names.
    ! Added one missing 'extern' keyword.
    + Added TOFIX for QT_HBQTABLEVIEW_NAVIGATE() which
      has a remaining leak of one typical type.
    ; TOFIX: Do the same with gcFuncs().
    ; TODO: Regenerate.
2009-12-18 08:53:35 +00:00
Viktor Szakats
850cb7aa44 2009-12-15 18:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* package/winuni/RELNOTES
    ! Typo.

  * contrib/hbqt/qtgui/qtguis/Makefile
  * contrib/hbqt/qtcore/qtcores/Makefile
  * contrib/hbqt/hbqts/Makefile
  * contrib/hbqt/qtnetwork/qtnetworks/Makefile
    ! Fixed HB_QT_STATIC=yes mode.

  * contrib/hbclipsm/date.c
    ! Fixed DATEASARRAY() to return empty array instead of { NIL, NIL, NIL }
      if non-date was passed.
    % Optimized DATEASARRAY().

  * contrib/hbcairo/image.c
    ! Fixed two warnings.

  * INSTALL
    + Added CYGWIN= envvar to mingwarm example to suppress useless
      Cygwin warning.
2009-12-15 17:12:19 +00:00
Viktor Szakats
f3be4e51c5 2009-12-13 17:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/mapi.c
    ! Added back zeroing rcp/file structure list.

  * INSTALL
    * Minor.

  * contrib/gtwvg/wvgutils.c
  * contrib/hbwin/win_misc.c
  * contrib/hbwin/mapi.c
    * ZeroMemory() -> memset()
2009-12-13 16:30:16 +00:00
Viktor Szakats
b36077420e 2009-12-13 14:46 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/mapi.c
    + Added support for unlimited number of recipients and
      attached files. Please test and review.

  * utils/hbmk2/hbmk2.prg
    + Added support for linux/open64. (Please test)

  * INSTALL
    + Added open64.
2009-12-13 13:49:14 +00:00
Viktor Szakats
ec1d1c5000 2009-12-12 12:28 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/dynlibhb.c
    + Using new UNICODE conversion macros in HB_LIBLOAD().

  * INSTALL
    * Minor.

  * contrib/xhb/hbsyslog.c
    + HB_SYSLOGOPEN(): Added UNICODE support. (this bug was hidden
      by explicit cast)
    * Using HB_TRUE/HB_FALSE.
    + Using new UNICODE conversion macros in HB_SYSLOGMESSAGE().
      (functionally not tested)
    * Formatting.

  * contrib/xhb/hblogdef.ch
    + Added comment that the header is used by C code.

  * contrib/hbqt/detect.mk
    ! Fixed static build after last commit.

  * contrib/hbwin/wapi_winbase.c
  * contrib/hbwin/win_dll.c
    * Variable renamed.

  * contrib/hbwin/win_prn2.c
    % Minor optimization.

  * contrib/hbwin/win_osc.c
    + Using new UNICODE conversion macros in WIN_OSVERSIONINFO().

  ; NOTE: Remaining "problem area" is HB_TCHAR_* usage in low level 
          code, when conversion needs to be done from/to C buffer 
          instead of Harbour parameter/return value. The problem 
          is that I don't have a pattern for that.
2009-12-12 11:33:08 +00:00
Viktor Szakats
504cc10d99 2009-12-09 22:22 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Minor cleanups.

  * ChangeLog
  - contrib/hbpgsql/ChangeLog
    * Old local ChangeLog merged into the central one.
2009-12-09 21:22:35 +00:00
Viktor Szakats
7d017fe34c 2009-12-09 16:16 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Updated Open Watcom product names to reflect that now plain C 
      is supported as well.
2009-12-09 15:17:22 +00:00
Viktor Szakats
0c30daf54e 2009-12-09 16:09 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * utils/hbmk2/hbmk2.prg
  * config/dos/watcom.mk
  * config/win/watcom.mk
  * config/linux/watcom.mk
  * config/os2/watcom.mk
    + Switched back plain C mode for watcom compiler.
2009-12-09 15:10:58 +00:00
Viktor Szakats
c895bed381 2009-12-08 11:43 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/macro/Makefile
  - src/macro/macro.l
  * src/compiler/Makefile
  - src/compiler/harbour.l
  - src/compiler/fixflex.c
  * INSTALL
  * config/c.mk
  * config/rules.mk
    * Deleted references to Flex and related files.
      Flex is not used since long. It couldn't generate MT safe lexer code.
2009-12-08 10:44:31 +00:00
Viktor Szakats
b3ba627781 2009-12-05 13:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* win-make.exe
  * INSTALL
    + Updated to latest mingw release. Updated links.

  * utils/hbmk2/hbmk2.prg
    + Minor step towards -cpu support.
2009-12-05 12:11:36 +00:00
Viktor Szakats
4cc92701c0 2009-12-03 20:49 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbcairo/Makefile
    + Added autodetection for MacPorts cairo pkg.
    + Fixed autodetection on *nix systems in general.

  * INSTALL
    + Added cairo package information for Darwin/MacPorts and Ubuntu.

  * contrib/hbqt/qtcore/Makefile
    ! Fixed after last commit.
2009-12-03 19:58:43 +00:00
Viktor Szakats
7141bf75ac 2009-12-02 11:46 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added HB_DIR_*, HB_INC_* settings to ones which users
      should NOT have in their setup anymore.
      Please delete them, it's just noise on the dev list.

      This current full list:
        set HB_PATH=<Harbour root dir>
        set HRB_DIR=<Some Harbour dir>
        set INCLUDE=<Harbour include dir>
        set LIB=<Harbour lib dir>
        set HB_INC_*=
        set HB_DIR_*=
2009-12-02 10:49:32 +00:00
Viktor Szakats
648567c886 2009-12-01 00:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added cairo links.

  * contrib/hbwin/wapi_shellapi.c
    + WAPI_USERISANADMIN() function. Based on xhb's recently added
      OS_ISUSERANADMIN() function by Peter Rees.
      Reformatted, renamed and applied fixes/UNICODE/cleanups, usual stuff.

  * contrib/hbcairo/hbcairo.hbc
    + Changed libs= for *nix system. Not tested for this cairo,
      it comes from my local xhgtk hbmk2 files.
2009-11-30 23:05:44 +00:00
Viktor Szakats
471c91d4ea 2009-11-30 22:19 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Documented HB_WITH_CAIRO setting.

  * bin/hb-mkimp.bat
    + Added HB_BUILD_IMPLIB support for cairo lib.
      I didn't test them.

  * contrib/hbcairo/hbcairo.hbc
    * Changed cairo lib name from 'libcairo-2.0' to 'cairo'
      This is what HB_BUILD_IMPLIB will generate.
    ; TODO: It's the "fun" part of any component adaptation, that
            each build and platform use a different lib naming scheme.
            We should fix this one by one for all platforms.
    ; TODO: Make build tests on each platform/compiler.

  * contrib/hbcairo/Makefile
    + Added cairo component detection.
    - Deleted installation of .h header. It doesn't seem to be 
      one for the public.

  * config/global.mk
    % "De-xmastree"-d one if/else structure.
2009-11-30 21:23:01 +00:00
Viktor Szakats
c9efa2953f 2009-11-30 14:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* mpkg_rpm.sh
  * INSTALL
  * harbour.spec
  * config/global.mk
  * config/detect.mk
    * HB_COMMERCE renamed to HB_BUILD_NOGPLLIB (in sync with existing
      --without option)
    + HB_BUILD_NOGPLLIB now documented in INSTALL.
    ; Please update your enviroment.
    ; BTW, I'm open to other names which are more generic and clearly
      states what we're talking about exactly. Current terminology
      is limited to GPL license.
2009-11-30 13:03:30 +00:00
Viktor Szakats
a4806d8114 2009-11-30 13:49 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
  * config/bin.mk
  * src/rdd/Makefile
    * Moved central RDD related information to local makefiles.
    - Deleted support for $(HB_DB_DRVEXT) envvar.
      To extend Harbour with RDDs these should be added as
      regular addons, and optionally hbrun rebuilt using hbrun.hbp.
      [ $(HB_DB_DRVEXT) is still used from hbmk script, I didn't 
      touch that part. ]

  * INSTALL
    * Minor.
2009-11-30 12:52:25 +00:00
Viktor Szakats
61415bf57f 2009-11-30 11:51 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * bin/hb-mkimp.bat
  * contrib/hbqt/hbqt.hbc
  * contrib/hbqt/hbqts.hbc
  * contrib/gtqtc/gtqtcs.hbc
  * contrib/gtqtc/gtqtc.hbc
  * utils/hbmk2/examples/xhgtk.hbc
  * config/global.mk
    + Eliminated HB_DIR_* envvar requirement to find required 3rd
      party component libs.
      This means that it's now enough to only set HB_WITH_* envvars
      to enable HB_BUILD_IMPLIB.
      This should make configuration a lot simpler, and this clears
      the last pending TODO in this area.
      HB_INC_* won't work this way, so please start to migrate to
      HB_WITH_* envvars, the values should stay the same.

  * external/pcre/cnv_o2hb.bat
  * external/pcre/cnv_hb2o.bat
    * Updated comment.
2009-11-30 10:53:51 +00:00
Viktor Szakats
dfd0b5a7ad 2009-11-30 08:47 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    ! Typos in latest modification.

  * contrib/hbmisc/spd.c
    + Patch by Xavi.

  * utils/hbmk2/hbmk2.prg
    + Added one TODO.
2009-11-30 07:47:53 +00:00
Viktor Szakats
19ba2898bc 2009-11-29 14:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * harbour.spec
  * mpkg_rpm.sh
    * Moved mpkg_rpm*.sh cmdline options description to INSTALL.
      At the same time some inconsistencies were fixed and from
      now on it should be updated in less copies. Still, there
      different option list for win/wce cross-builds and regular
      builds. (some of these may not be relevant anymore as Przemek
      just deleted some of these option, which is an even better
      solution.)
      Maybe the same could be done for the rest of them?
2009-11-29 13:24:25 +00:00
Viktor Szakats
8d9da52017 2009-11-24 09:42 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/hbwin.ch
    + Added new macros submitted by Xavi.
      Formatting (tab removal/alignment) applied.

  * config/detfun.mk
    + Displays "Configure with HB_WITH_*" text on non-*nix systems,
      when an external component is not found.
      Comments are welcome whether this is useful, it looks a bit
      verbose/ugly to me.

  * INSTALL
    * Minor change in wording.
2009-11-24 08:43:38 +00:00
Viktor Szakats
044107d4a2 2009-11-23 13:15 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/beos/gcc.mk
  * config/bsd/gcc.mk
  * config/wce/mingwarm.mk
  * config/wce/poccarm.mk
  * config/wce/msvcarm.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
  * config/hpux/gcc.mk
  * config/dos/watcom.mk
  * config/dos/djgpp.mk
  * config/win/xcc.mk
  * config/win/mingw.mk
  * config/win/pocc.mk
  * config/win/bcc.mk
  * config/win/watcom.mk
  * config/win/icc.mk
  * config/win/pocc64.mk
  * config/win/cygwin.mk
  * config/win/msvc.mk
  * config/linux/watcom.mk
  * config/linux/gcc.mk
  * config/linux/icc.mk
  * config/linux/clang.mk
  * config/linux/sunpro.mk
  * config/os2/watcom.mk
  * config/os2/gcc.mk
  * config/sunos/gcc.mk
  * config/sunos/sunpro.mk
    + Uniformly using CFLAGS to store C compilation flags, instead
      of a previous mixture of CPPFLAGS and CFLAGS.

  * config/rules.mk
    - Deleted CPPFLAGS.

  * INSTALL
  * bin/postinst.bat
    ! Minor fixes in texts.
2009-11-23 12:17:30 +00:00
Viktor Szakats
c1243f4c75 2009-11-22 21:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_tprn.prg
  * contrib/hbwin/win_prn1.c
    ! Fixed HFONT leak in WIN_CREATEFONT(). This also means the
      function works a little bit differently, so in case you are
      using it directly, be warned that this change is INCOMPATIBLE.
      It will now return a font handle instead of boolean value
      signaling success.
    ! Fixed several functions to check for valid HDC.
    % Deleted redundant code from WIN_DELETEDC().
    ; Submitted by Xavi. Thank you.
      (plus these small modifications by me:)
    ! Fixed formatting to use the same coding style as the rest of
      the file (and all our sources).
    ! Fixed to use FALSE instead of 0.

  * INSTALL
    + Added note to HOW TO PARTICIPATE section to use the same
      coding style as found in original files when adding patches.
2009-11-22 20:04:35 +00:00
Viktor Szakats
2db500ed1c 2009-11-22 12:43 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_prn2.c
    + PRINTFILERAW(): Changed to use Harbour File I/O API instead
      of Windows one to read from a disk file.
    * More variable name / macro usage cleanup.

    ! TOFIX: PRINTFILERAW() has suspicious code aiming to delete 
      Chr( 26 ) from input files. In current implementation it can 
      strip Chr( 26 ) even from inside the file if the file is 
      larger than read buffer, which means it will corrupt input 
      and may cause wrong output to be printed (f.e. if that Chr( 26 ) 
      is part of a printer control char sequence).

  * INSTALL
    + Added linux/clang to the target mix.
2009-11-22 11:53:05 +00:00
Viktor Szakats
52da6a02a5 2009-11-18 22:41 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added dependency tree to flat dependency list converter.
      (no cyclic reference check here)

  * contrib/gtwvg/wvgwing.c
    ! Fixed for Windows x64 platform.

  * contrib/gtwvg/Makefile
    + Enabled for Cygwin, IA64 and mingw64 compilers.
      Latest mingw64 experimental builds build it fine.
      This means all win compilers are supported except xcc.
    ; NOTE: Now it's disabled only for xcc.
            Can someone with xcc installed try gtwvg? Maybe it can 
            be made work so we can drop this exception.

  * config/global.mk
  * utils/hbmk2/hbmk2.prg
    + Added autodetection of x86_64 build of mingw64.
      (in hbmk2 it's recognized even if host platform isn't x64)

  * INSTALL
    + Added darwin -> win/mingw64 cross-platform scenario.
      Such binaries are now provided by the mingw64 project.
2009-11-18 21:47:14 +00:00
Viktor Szakats
eb786fe2b4 2009-11-18 16:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbapi.h
    * Changed HB_ERRCODE to be 'insigned int' (was USHORT).
    ; You'll need to rebuild all sources.

  * utils/hbmk2/hbmk2.prg
    % Turned off line numbers (for hbmk2 itself).

  * INSTALL
    * Minor formatting.
2009-11-18 15:09:18 +00:00
Viktor Szakats
9ca0c7ed08 2009-11-17 04:15 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Minor formatting.
    + Added information about some commonly used, but yet useless 
      environment settings. These:
         set HB_PATH=<Harbour root dir>
         set HRB_DIR=<Some Harbour dir>
         set INCLUDE=<Harbour include dir>
         set LIB=<Harbour lib dir>
    * Bumped copyright year.
    + Added 'documentation' section to link section. 
    + Added netiquette RFC link for a start.
    + Added hbrun to required tools for cross-builds.

  * bin/hb-func.sh
  * harbour.spec
    + Added hbsms lib.
2009-11-17 03:17:20 +00:00
Viktor Szakats
74004327a9 2009-11-16 14:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdefs.h
    + Added HB_VMMAX[U]INT. Equivalent to HB_MAX[U]INT.

  * INSTALL
    * Minor.
2009-11-16 13:18:56 +00:00
Viktor Szakats
f33ad72c5f 2009-11-16 14:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + HB_USER_LIBS documentation extended.
2009-11-16 13:12:11 +00:00
Viktor Szakats
96004e5bbd 2009-11-12 16:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Updated dev list max attachment size.

  * INSTALL
  * config/beos/libs.mk
  * config/global.mk
  * config/bsd/libs.mk
  * config/bin.mk
  * config/wce/global.mk
  * config/hpux/libs.mk
  * config/darwin/libs.mk
  * config/dos/djgpp.mk
  * config/win/global.mk
  * config/linux/libs.mk
  * config/os2/gcc.mk
  * config/sunos/libs.mk
    + Added support for HB_USER_LIBS build option to specify 
      extra libs. Note: This is useful only in very special 
      cases, so pls don't use it unless you exactly know what 
      you want to do. The libs have to be specced without 
      prefixes and extensions. It will be added after Harbour 
      libs and before system libs.
2009-11-12 15:24:23 +00:00
Viktor Szakats
0361acf77f 2009-11-04 09:14 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added EXAMPLEs for Windows SDK 7. There is included compiler 
      there for almost all combinations, only Itanium didn't work 
      for me out of the box.
      This is the simplest and most slim way to use MSVC compiler, 
      and also free.
2009-11-04 08:16:41 +00:00
Viktor Szakats
b62fda94e5 2009-11-02 10:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/win/bcc.mk
    + Added hack to automatically configure bcc compilers 
      which makes proper setup of bcc32.cfg and ilink32.cfg 
      unnecessary. NOTE: This only works if you use compiler 
      autodetection, which means DON'T set HB_COMPILER to bcc
      manually.
    ; Please make tests, f.e. I didn't test .dll creation.

  * config/global.mk
    + Exporting autodetected compiler PATH.

  * config/rules.mk
    * Moved linker flags before output name option to make 
      some tools happy (bcc in this case).

  * INSTALL
    - Deleted just added extra NOTE for bcc users. Now it should 
      be configured automatically.
2009-11-02 09:24:06 +00:00
Viktor Szakats
a0c17bcb0a 2009-10-31 00:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added NOTE for Borland C++ users how to setup their 
      compiler. This is repetition of Borland readme content
      which seemingly nobody reads and do this day many users 
      get wrong. I'm not sure if these same users will read 
      INSTALL, but let's give it a try.

  * ChangeLog
    ! Fixed my timezone since last weekend.
2009-10-30 23:21:12 +00:00
Viktor Szakats
48c7f008ce 2009-10-30 17:08 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Minor fix to UPX supported platforms.

  * contrib/hbmisc/Makefile
  + contrib/hbmisc/ffind.c
    + Added direct file find API from my own function collection:
        FILEFINDFIRST( <cFileNameMask>, @<ffindinfo>[, <nAttr> ] ) -> <lFound>
        FILEFINDNEXT( <ffindinfo> ) -> <lFound>
        FILEFINDNAME( <ffindinfo> ) -> <cFileName> (without drive/dir)
        FILEFINDATTR( <ffindinfo> ) -> <nAttr>
        FILEFINDSIZE( <ffindinfo> ) -> <nSize>
        FILEFINDDATE( <ffindinfo> ) -> <dDate>
        FILEFINDTIME( <ffindinfo> ) -> <cTime> (as "HH:MM:SS")
      It's an alternative to DIRECTORY()/FILE() functions.
    ; NOTE: To release the file find handle on some platforms 
            (like Windows), and allow deletion of the dir we've 
            been scanning, <ffindinfo> should go out of scope or 
            be explicitly release by freeing <ffindinfo> variable.
            To make this easy, some may want to add:
               #xtranslate FILEFINDCLOSE( <f> )  => \( <f> := NIL \)
               #xtranslate FILEFINDCLOSE( @<f> ) => \( <f> := NIL \)
    ; NOTE: Could be extended to return new timestamp format.

  * contrib/rddads/adsfunc.c
    + Added lAlive := AdsIsConnectionAlive( hConnection ) function.
      Borrowed from Augusto Infante / xhb.
      Three small fixes applied.
2009-10-30 16:19:18 +00:00