Commit Graph

123 Commits

Author SHA1 Message Date
Viktor Szakats
e3934dfeca 2010-11-12 01:57 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* package/winuni/mpkg_win_uni.bat
    ! Fixed to install all .hbc files inside the contrib
      dir structure. This is needed because now they exist
      also under '3rd' dirs, referenced from contrib .hbc files.
      (lightly tested, will find out with next nightly)

  * contrib/hbzebra/hbzebra.hbc
    ! Deleted no more needed reference to hbcairo.hbc
2010-11-12 00:59:49 +00:00
Viktor Szakats
24545c85e7 2010-11-10 21:44 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* package/harbour.spec
  * package/harbour-win.spec.in
  * package/harbour-wce.spec.in
    + Converted to UTF8. (from cp1252 and KOI8)
    ; I didn't make any tests and nobody commented about this, hopefully 
      it will work. Pls test it.
2010-11-10 20:44:32 +00:00
Viktor Szakats
7fcd91a2ac 2010-11-09 13:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt_hbmk2_plugin.hbs
    % Normalizing doc .txt files.

  * INSTALL
    * Made TDM again the recommended mingw compiler, as apparently
      official version 4.5.0-1 has a random crash bug (in dbfnsx.c 
      usually).
      WARNING: TDM 4.5.1 has another bug, which prevent it from
               working, so stick with 4.5.0, DWARF2 build recommended.
      WARNING2: TDM 4.5.0 installation might be tricky. Read devel list.

  * contrib/hbhpdf/harupdf.c
    ! More fixes by Saulius Zrelskis, in recently added libharu
      wrappers.

  * package/winuni/RELNOTES
    * Updated C compiler name.
2010-11-09 12:53:11 +00:00
Viktor Szakats
798841c195 2010-11-08 01:28 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* package/harbour.spec
    ! Fixed messed accents.
    ; QUESTION: Can we switch this file to UTF-8? It contains 
                translations to multiple different languages, 
                so current state is already not very optimal.
                Anyone?

  * ChangeLog
    + Added TODO to prev. (HB_BUILD_EXTDEF -> HB_BUILD_3RDEXT)
2010-11-08 00:29:36 +00:00
Viktor Szakats
e55c31bd69 2010-11-08 01:23 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/examples/contrib.hbc
  * utils/hbmk2/hbmk2.prg
  * config/detfun.mk
  * config/detect.mk
  * INSTALL
    * Terminology cleanup: "external code" -> "3rd party code"

  - bin/hbxpatch.hbs
  + bin/hb3rdpat.hbs
  * config/postinst.hbs
  * package/harbour.spec
    * Renamed hbxpatch.hbs to hb3rdpat.hbs to reflect terminology
      cleanup ("external code" -> "3rd party code")

  * utils/hbmk2/examples/contrib.hbc
  * utils/hbmk2/examples/contribf.hbc
  * utils/hbmk2/examples/oohg.hbc
    * Using .hbc files.

  * contrib/hbssl/ssl.c
    + SSL_GET_READ_AHEAD() function enabled. Made it a dummy
      for bcc, where it for some reason creates unresolved
      external when referencing the corresponding openssl API.
2010-11-08 00:24:36 +00:00
Viktor Szakats
723b578eb5 2010-11-02 18:42 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/utils/hbqtgen.prg
    % Optimized generated source code to be more compact.
      The result is almost 60% smaller (6.2MB -> 4MB for qtgui) 
      generated sources:
         - credits and copyrights moved to separate file, so
           it's now present in only one copy.
         - disabled HB_TRACE lines from output.
         - disabled {} braces from one-liner blocks.
         - deleted some long separator lines.
         - made original function prototype comments more compact.

  + contrib/hbqt/CREDITS.txt
    + Added standalone credits and full copyright text.

  * contrib/hbqt/*/g/*
    * Regenerated.

  * package/winuni/mpkg_win_uni.bat
    + Distribute contrib/*/*.txt files.
2010-11-02 18:09:03 +00:00
Viktor Szakats
76292a7b44 2010-10-19 23:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/winuni/mpkg_win_uni.bat
    ! Added .hbs files in contrib roots to unified windows
      package. In practice this means that the hbmk2 qt plugin 
      will now be shipped with standard distro.

  * utils/hbmk2/hbmk2.prg
    ! Typo in comment.
2010-10-19 21:01:46 +00:00
Viktor Szakats
afba30ccf8 2010-10-18 13:43 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/winuni/mpkg_win_uni.bat
  * package/winuni/mpkg_win_uni.nsi
    ! Added uic/rcc tools to install packages.
    * QT related runtime/build time files are now installed 
      unconditionally and independently from HBIDE.
2010-10-18 11:43:32 +00:00
Viktor Szakats
0d6c3b319b 2010-10-17 16:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/winuni/mpkg_win_uni.bat
  * package/winuni/mpkg_win_uni.nsi
    * Renamed QT license file (now shows "LGPL").
    + Added uic.exe and rcc.exe to Windows unified build.
    + Added QT implibs for mingw compiler.
    ; It means that now default Windows unified package can
      be used to create QT apps without installing QT package
      separately. Please someone verify this is in compliance
      with LGPL QT license.

  * contrib/hbqt/hbqt_hbmk2_plugin.hbs
    - Removed support for compatibility setting HB_QT_MOC_BIN.
    + Will now autodetect uic/rcc/moc if present next to hbmk2
      (only on win/os2 systems). This will be the case when
      using unified Windows package. Only lightly tested.

  * contrib/hbide/idemisc.prg
  * contrib/hbide/idemain.prg
  * contrib/hbide/hbide.ch
    * Cleaned/optimized loading of UI.
    - Deleted reference to HbQtUi() so that the static lib
      QtUiTools is not required to build hbide. (it was not
      actively used anyway)

  ; TOFIX: QUiLoader class should be moved to a separated lib
           from hbqtgui.
2010-10-17 14:07:27 +00:00
Przemyslaw Czerpak
36124d47a6 2010-10-14 08:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtstd/gtstd.c
    * updated to compile with WinCE

  * harbour/package/harbour.spec
    * modified to work with new HBMK2 translations

  * harbour/contrib/hbmzip/hbmzip.c
    ! fixed function order

  * harbour/contrib/hbwin/axcore.c
    * include <olectl.h>
    ! fixed buffer sizes in debug function
    * removed trailing spaces and tabs

  * harbour/contrib/hbwin/hbolesrv.c
    * include <tchar.h> - for some compilers which do not make it
      with OLE header files
2010-10-14 06:45:51 +00:00
Viktor Szakats
43fc5b7abf 2010-10-13 19:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/winuni/RELNOTES
    * pgsql version.

  * contrib/xhb/hboutdbg.c
    ! Fixed missing xhb.h for public function declaration.

  * contrib/sddoci/sddoci.c
    ! Implemented fix based on Przemek's recent commit to sddpg.
                 (2010-10-04 12:43 UTC+0200)
      I made no testing, just tried to copy the method since the
      situation looked the same. Please review/test.

  + utils/hbmk2/hbmk2.es_PE.po
  * utils/hbmk2/hbmk2.hbp
    + Added Spanish translation.
      Many thanks to Guillermo Varona Silupu (GVS) for the translation
      and for making it available to Harbour.

  ; QUESTION: These are used from xhb lib, yet they are not exported
              from harbour dll. Should they be worked around in xhb
              or exported?:
                 hb_stackItem, hb_stackBaseOffset, hb_stackBaseProcOffset,
                 hb_stackWithObjectOffset
2010-10-13 17:35:01 +00:00
Viktor Szakats
1badb86c78 2010-10-02 11:43 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added workaround for mingw compiler problem where it
      tends to leave zero byte long objects in cases when the
      build process gets (manually) aborted.
      Please check it and report any potential performace
      problems (hbmk2 needs to read the objects' size from
      the directory listing). Maybe we will need a Harbour
      function which returns both timestamp and size in one
      call.

  * contrib/hbodbc/todbc.prg
    - Deleted 'FROM HBCLASS' from class declarations.
      Thanks to Manu for the report.

  * contrib/hbxpp/dbfuncsx.prg
    + Added XPP_DBUSEAREA() which emulates non-Clipper compatible
      behavior of Xbase++ DBUSEAREA() implementation.
      Based on code and information sent by Shum

  * contrib/gtwvg/wvgwing.c
    ! Fixed compilation in newer BCC versions (6.3).
      Fix suggested by YD0DKL

  * package/winuni/mpkg_win_uni.bat
    + Added copyright msg.
2010-10-02 09:44:56 +00:00
Viktor Szakats
9d227dfa7d 2010-09-22 18:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/winuni/RELNOTES
  * INSTALL
    * Refreshed for QT 4.7.0
2010-09-22 16:35:46 +00:00
Przemyslaw Czerpak
2356181a10 2010-09-22 16:52 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapicom.h
  * harbour/src/rtl/hbcom.c
    + added public C function: void hb_comSetError( int iPort, int iError )

  * harbour/src/rtl/hbcomhb.c
    + added PRG function: HB_COMSETERROR( nPort, nError ) --> NIL

  * harbour/src/rtl/hbsocket.c
    * minor formatting

  * harbour/config/doc.mk
  * harbour/config/postinst.hbs
  * harbour/contrib/make.hbs
    * do not install documentation files when HB_INSTALL_DOC=no

  * harbour/config/postinst.hbs
    ! do not install .hbl files for core utils when HB_BUILD_PARTS=lib
    + added support for HB_INSTALL_SCRIPT executed after install step.
      It allows to extract some variables set by our GNU make system,
      i.e. it's used to retrieve HB_CCPREFIX in win/wince .spec files.

  * harbour/package/harbour-win.spec.in
    * use HB_INSTALL_DOC=no to disable DOC file installation
    * generate hb{w|ce}mk2 scripts as wrappers to hbmk2 with cross
      build settings so it can be easy used used by users to create
      Windows/WindowsCE binaries.
      Temporary solution until we will not have something more general.
2010-09-22 14:53:20 +00:00
Przemyslaw Czerpak
e78cb0e549 2010-09-15 16:04 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbclass.ch
    % small modification to reduce lock time

  * harbour/src/common/hbdate.c
    ! fixed hb_timeUTCOffset() in MS-Windows builds to work in some
      countries/windows versions where GetTimeZoneInformation() returns
      TIME_ZONE_ID_INVALID but sets correct tzInfo.StandardBias field.

  * harbour/package/mpkg_ver.sh
    ! fixed to set correctly root path after moving build scripts to
      ./package subdirectory

  * harbour/utils/Makefile
    ! do not build executable files when HB_BUILD_PARTS is set to 'lib'
2010-09-15 14:04:26 +00:00
Viktor Szakats
693f4221d6 2010-09-13 13:39 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/harbour-win.spec.in
  * package/harbour-wce.spec.in
    ! Fixed messed up 8-bit codepage by my editor.
    ; QUESTION: Is it possible to switch to UTF-8 for these rpm scripts?
2010-09-13 11:39:50 +00:00
Viktor Szakats
7914aad087 2010-09-13 13:30 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/harbour-win.spec.in
  * package/harbour-wce.spec.in
    ! Set HB_INSTALL_PREFIX, to follow this change:
        2010-09-10 22:09 UTC+0200
    ; TODO: Untested. Might need extra steps to package root files
            too (ChangeLog, COPYING, NEWS, TODO).
2010-09-13 11:32:23 +00:00
Przemyslaw Czerpak
3cb0856cb5 2010-09-13 13:13 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbqt/hbqt_common.hbm
    ! respect HB_BUILD_EXTDEF=no

  * harbour/package/harbour-win.spec.in
  * harbour/package/harbour-wce.spec.in
    ! removed HB_BUILD_EXTDEF=no which is not necessary -my fault
    ; TOFIX: now windows builds need HB_INSTALL_PREFIX so these RPMs
             still cannot be created.
2010-09-13 11:13:24 +00:00
Przemyslaw Czerpak
e55fe7db71 2010-09-13 12:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/package/harbour-win.spec.in
  * harbour/package/harbour-wce.spec.in
    ! added HB_BUILD_EXTDEF=no to fix cross compilation
      Question: in the past HB_BUILD_EXTDEF=no was set automatically
                for cross compilation. Why we removed this setting?

  * harbour/package/harbour.spec
    ! use libhbqt*.a for Harbour QT wrapper libraries instead of explicit
      names which were not correctly synced.

  * harbour/contrib/xhb/xhbmsgs.c
    ! fixed assign last character in string using [] operators in
      xHarbour emulation library, i.e.;
         cVal[ len( cVal ) ] := "*"
2010-09-13 10:13:04 +00:00
Viktor Szakats
65c34041ef 2010-09-01 18:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/mpkg_win_nightly.bat
    * Requirements.

  * utils/hbmk2/hbmk2.prg
    * Changed -rebuild option to not rebuild sub-projects.
    + Added -rebuildall option which will also rebuild sub-proects.

  * contrib/make.hbs
    * -rebuild -> -rebuildall
2010-09-01 16:31:34 +00:00
Viktor Szakats
cf74321e22 2010-08-28 13:08 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
    + Switched .po files to UTF-8.
    + Set svn:mime-type accordingly.
    ; NOTE: Make sure to use UTF-8 aware editor to edit these files 
            from now on. These are the first UTF-8 files in hb repo.

  * INSTALL
    + Added .xz source file. Thanks Tamas for installing it
      required tools onto the nightly server.

  * package/mpkg_win_nightly.bat
    * Minor to reqs.
2010-08-28 11:19:15 +00:00
Viktor Szakats
2d80a7ba50 2010-08-26 20:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/mpkg_win_nightly.bat
    * Adjustment to requirements (RDC access preferred).

  * contrib/hbide/idereportsmanager.prg
    ! Deleted www. from web address. Pls do not use www..
    ; TOFIX: ? IMO the saved report files should not hold or contain a
             Harbour copyright message.

  * INSTALL
    * Updated mingw make links.
    + Added mingw distro.
2010-08-26 18:35:30 +00:00
Przemyslaw Czerpak
adba3db882 2010-08-25 16:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/package/harbour.spec
    ! fixed to work with current build system
2010-08-25 14:25:11 +00:00
Viktor Szakats
4e6d171138 2010-08-25 15:20 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/mpkg_src_nightly.sh
    + tar.xz nightly source.
2010-08-25 13:21:05 +00:00
Viktor Szakats
c44c91e43b 2010-08-25 09:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/mpkg_win_nightly.bat
    + Upload logs even if build failed.
    ; NOTE: On current build machine mingw suffers transient "segmentation 
            fault" failures. It may be a sign of hardware or OS problem.
            This means missing nightly binaries for no apparent reason.

  * contrib/hbide/hbide.prg
    ! SET DATE ANSI

  * INSTALL
    * Minor.
2010-08-25 07:44:58 +00:00
Viktor Szakats
434014eecd 2010-08-24 09:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/winuni/mpkg_win_uni.bat
    ! Typo.
2010-08-24 07:44:38 +00:00
Viktor Szakats
aa842b75a3 2010-08-24 08:54 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/mpkg_win_nightly.bat
    + allegro.
2010-08-24 06:55:12 +00:00
Viktor Szakats
26de1896a5 2010-08-23 11:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/winuni/mpkg_win_uni.bat
    + bcc special implib support for contrib .dlls.

  * package/mpkg_win_nightly.bat
    * Comment.
2010-08-23 09:50:34 +00:00
Viktor Szakats
31e6756198 2010-08-20 11:12 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/mpkg_win_nightly.bat
    * Change cwd to batch dir.
    + Added requirements.
    + Added notes.
    ! Uses internal svn installation.
    + Errorlevel handling.
    * Renamed logs.
    - Deleted -batch from pscp calls.

  * package/winuni/mpkg_win_uni.bat
    * Comment
    * Changed temp dir to more universal one.

  * INSTALL
    + Links to nightly win binaries.
2010-08-20 09:15:14 +00:00
Viktor Szakats
b93364beee 2010-08-19 14:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/mpkg_win_nightly.bat
    % Minor.
2010-08-19 12:29:20 +00:00
Viktor Szakats
f6b6fc7b9f 2010-08-19 13:46 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/winuni/mpkg_win_uni.bat
    ! ps
2010-08-19 11:46:49 +00:00
Viktor Szakats
17a5b3cf37 2010-08-19 13:06 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/winuni/mpkg_win_uni.bat
  * package/winuni/mpkg_win_uni.nsi
    + Added hbide to unified distro.

  * package/mpkg_win_nightly.bat
    + Upload nightly logs.

  * contrib/hbide/hbide.hbp
    + -strip
2010-08-19 11:07:34 +00:00
Viktor Szakats
16e73fefbe 2010-08-19 03:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ package/mpkg_win_nightly.bat
    + Added nightly binary builder script. Relocatable.
      Makes unified Windows build. Regular target builds
      also supported.
      Unified build currently has mingw and bcc enabled.

  - package/winuni/mpkg_win_uni_extra_copy.bat
  * package/winuni/mpkg_win_uni.bat
  * package/winuni/mpkg_win_uni.nsi
    + Made it fully configurable, removed any hard-wired
      version numbers, .nsi now fully modular, manual steps 
      no more required.

  - package/mpkg_nightly.sh
  + package/mpkg_src_nightly.sh
    * Renamed.
2010-08-19 01:21:26 +00:00
Viktor Szakats
384e8dce28 2010-08-18 22:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added extension to license. Pls read it, especially projects
      including hbmk2 or modified version of hbmk2 (f.e. MiniGUI).
      Help text and documentation is now covered by Creative Commons 
      Attribution-ShareAlike 3.0.
      Plus some restriction to not tear hbmk2 off of Harbour Project,
      to clearly show modified nature and always distribute modified 
      source.
      My intent is to leave hbmk2 as coherent part of Harbour, 
      possibly unmodified and my name not stripped.

  * config/global.mk
    % Minor opt.

  * package/mpkg_nightly.sh
    ! Harmless typo.

  * package/winuni/RELNOTES
    * Updated.
2010-08-18 20:53:14 +00:00
Viktor Szakats
30ee213749 2010-08-17 23:10 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbcomp.h
  * src/macro/macro.yyc
  * src/macro/macro.y
  * src/macro/macrolex.c
  * src/compiler/hbmain.c
  * src/compiler/complex.c
  * src/compiler/harbour.yyc
  * src/compiler/harbour.y
    * Changed prefix used for bison generated function prefix
      (hb_comp -> hb_comp_yy, hb_macro -> hb_macro_yy)
    ; Pls review.
      This avoids collision between hb_macroError/hb_macroerror
      for obsolete tools like bcc implib which uses case-insensitive
      symbol lookup by default)

  * package/winuni/mpkg_win_uni_extra_copy.bat
    + Added trick to generate special implib for core .dlls so
      that now bcc can use the regular Harbour one and doesn't
      need the special '-bcc' postfixed version to be shipped.
      An ugly trick for an obsolete compiler.
      (release process now requires bcc implib tool because of this)

  * utils/hbmk2/hbmk2.prg
    + Added -c option to implib calls. This fixes implib generation 
      for certain .dlls, like OpenSSL.
2010-08-17 21:11:12 +00:00
Viktor Szakats
f2bd77df7e 2010-08-17 19:42 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/winuni/RELNOTES
  * INSTALL
  * contrib/rddads/rddads.h
  * contrib/rddads/rddads.hbc
  * contrib/rddads/rddads.hbp
    + Added support for ACE 10.00, including win64 build.

  * contrib/hbwin/hbwin.ch
  + contrib/xhb/win32prn.ch
    + Added compatibility header.
    * Moved compatibility definitions from hbwin.ch there.
      (may be incompatible for some users)

  * contrib/hbgd/hbgd.hbp
  + contrib/hbgd/gdextern.prg
    + Added extern puller.

  * contrib/rddads/adsextrn.prg
    * Minor.
2010-08-17 17:45:36 +00:00
Viktor Szakats
ab42d34ab1 2010-08-06 10:12 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* debian/rules
  * package/harbour.spec
    + Added HB_INSTALL_DYN (same content as HB_INSTALL_LIB)

  * config/postinst.hbs
    * HB_INSTALL_LIB -> HB_INSTALL_DYN

  * config/global.mk
  * config/postinst.hbs
  * debian/rules
  * package/harbour.spec
  * package/harbour-win.spec.in
  * package/harbour-wce.spec.in
    * HB_INSTALL_PKG_TOP -> HB_INSTALL_PKG_ROOT

  * debian/dirs
    + Added usr/share/man
      (I'm not sure of this file and I didn't retest yet)

  * debian/rules
    % Optimized variable usage.
2010-08-06 08:13:43 +00:00
Viktor Szakats
a1a8bcd8d4 2010-08-06 09:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    ! Fixed setting LD_LIBRARY_PATH under pre-3.81 GNU Makes.
    + Will now set HB_SYSLOC=yes when creating .tgz packages which
      are meant to be installed to system locations. (didn't test 
      this one)
    + Will now set HB_INSTALL_DOC to /share/doc/harbour on *nix systems.
    ! Fixed to set HB_INSTALL_MAN to /share/man (instead of /man) on
      *nix systems.
    ; Please test/review these.

  * config/postinst.hbs
    + Create directory for "root documents". They are now stored
      in /share/doc/harbour for *nix.
    ! Fixed to store proper directory in ld.so.conf.d setting by
      removing HB_INSTALL_PKG_TOP from the beginning of full dynlib
      path.

  * debian/rules
  * package/harbour.spec
  * package/harbour-win.spec.in
  * package/harbour-wce.spec.in
    ! Use HB_INSTALL_PKG_TOP to denote the root of package dir structure.
    ; TODO: Change the name to HB_INSTALL_PKG_ROOT
    ; TODO: Optimize variable usage.
    ; TOFIX: Use HB_INSTALL_DYN instead HB_INSTALL_LIB in context of 
             dynamic libs in postinst.hbs and package scripts.

  * package/harbour.spec
    ! Fixed to honor HB_BUILD_NAME in local LD_LIBRARY_PATH setting.
      (is it needed?)

  * INSTALL
    - Deleted note about GNU Make 3.81.90
      3.82 is out and the bug was fixed.
    ! Updated mpkg_src.sh location.

  * contrib/make.hbs
    * Do not create dynlib, .hbd, .hbx if the main build process
      returned with non-zero errorlevel.

  * utils/hbmk2/hbmk2.prg
    + Return errorlevel when -stop is used in project.
    + Use manifest constants for errorlevels.

  * config/hbextern.hbs
    * Local function renamed.

  * contrib/xhb/xhb.hbx
  * contrib/hbxpp/hbxpp.hbx
    * Regenerated.

  * src/vm/pvaluehb.c
    ! Typo in comment.
2010-08-06 08:01:09 +00:00
Przemyslaw Czerpak
d43a5c408b 2010-08-02 12:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rdd/dbcmd53.c
    * removed one redundant casting

  * harbour/package/mpkg_rpm.sh
    ! move source code archive to RPM directory structure to
      not leave it after creating RPMs

  * harbour/package/mpkg_src.sh
    ! fixed to work correctly after moving from root directory

  - harbour/package/harbour-win.spec
  + harbour/package/harbour-win.spec.in
  * harbour/package/mpkg_rpm_win.sh
  - harbour/package/harbour-wce.spec
  + harbour/package/harbour-wce.spec.in
  * harbour/package/mpkg_rpm_wce.sh
    ! renamed cross build .spec files to fix -ta option
      To keep this functionality working only one file in tar archive
      can have .spec extension
2010-08-02 10:13:23 +00:00
Viktor Szakats
a3f42e8991 2010-07-30 00:08 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* debian/dirs
    ! Deleted doc/en dir.

  * doc/Makefile
  - doc/whatsnew.txt
  + NEWS
  * COPYING
  * doc/howtorel.txt
  * debian/changelog
  * package/mpkg_win.nsi
  * package/winuni/mpkg_win_uni.bat
  * package/winuni/mpkg_win_uni.nsi
    * Renamed doc/whatsnew.txt to /NEWS

  * debian/copyright
    * Updated with COPYING content.

  * package/harbour.spec
    ! Fixed to include doc/* instead of doc/*.txt.

  * utils/hbrun/hbrun.prg
    - Deleted envvar method of passing dirbase to scripts.

  * contrib/make.hbs
    + Using HBRUN_DIRBASE() function instead of envvar trick.
      Maybe some more generic named value passing would be better.

  * contrib/Makefile
    ! Using '-' prefix when running hbrun instead of '+', to not
      cause fatal breakage in build stage if make.hbs contains
      something which previous build of hbrun didn't offer.

  * config/global.mk
    - HB_INSTALL_PREFIX will not default anymore to source root
      dir (on non-*nix systems) to avoid FAQ where installation
      fails because of former install into source root, causing
      old contrib headers to ovveride current ones and breaking
      build. Please note that 'install' is truly optional with
      current builds, so only use it for what it was designed.
      Pls should if some things fail with empty HB_INSTALL_PREFIX
      and requesting 'install' anyway.

  * contrib/xhb/xhbat.c
    ! Applied this fix to Harbour:
      2010-07-29 12:28 UTC-0430 Ron Pinkas <ron.pinkas/at/xharbour.com>
        * source/rtl/at.c
          + Added missing extended strings support, to hb_AtSkipStrings()
2010-07-29 22:10:21 +00:00
Viktor Szakats
ff1e787702 2010-07-29 15:46 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- mpkg_rpm.sh
  - mpkg_rpm_wce.sh
  - mpkg_rpm_win.sh
  - mpkg_src.sh
  + package/mpkg_rpm.sh
  + package/mpkg_rpm_wce.sh
  + package/mpkg_rpm_win.sh
  + package/mpkg_src.sh
  * INSTALL
    * Moved rpm package creator scripts to package dir.
    * Update INSTALL accordingly.
    ; Please test/review it.
2010-07-29 13:47:14 +00:00
Przemyslaw Czerpak
c08eecae20 2010-07-29 15:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/compiler/gencc.c
    ! fixed wrongly used HB_ISIZ instead of HB_LONG

  * harbour/package/harbour.spec
    ! fixed /etc/ld.so.conf.d detection
    % minor improvement
    ; TOFIX:
        * /etc/ld.so.conf.d/harbour.conf in final RPM contains
          wrong path due to missing HB_INSTALL_PREFIX
        * soft links to harbour shared libraries for systems
          without /etc/ld.so.conf.d are missing
        * soft links with short shared libraries names are missing
          and current long names do not confirm standard Linux
          shared library naming convention:
             <name>.so[.<maj>[.<min>[.<rel>]]]
          hbmk2 also uses short names so it does not work correctly
          with binaries installed from the RPMs
2010-07-29 13:30:56 +00:00
Viktor Szakats
a04f40b3d3 2010-07-29 14:38 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/harbour-win.spec
  * package/harbour-wce.spec
  * config/global.mk
  * INSTALL
    * Renamed HB_BIN_COMPILE to HB_HOST_BIN
      (old pending TODO)

  * tests/flink.prg
    + Added comment.
    + Added example to dir symlink.

  * contrib/hbpre.hbm
    + Added comments.

  * config/beos/gcc.mk
  * config/global.mk
  * config/qnx/gcc.mk
  * config/bsd/gcc.mk
  * config/bsd/clang.mk
  * config/bsd/pcc.mk
  * config/wce/mingwarm.mk
  * config/wce/poccarm.mk
  * config/wce/msvcarm.mk
  * config/vxworks/gcc.mk
  * config/vxworks/diab.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/c.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/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/rules.mk
  * config/os2/watcom.mk
  * config/os2/gcc.mk
  * config/sunos/gcc.mk
  * config/sunos/sunpro.mk
    * Renamed HB_INC_COMPILE to HB_HOST_INC
      (it's still not precise name, just in sync with HB_HOST_BIN.
      In Harbour there is no difference between headers accross
      the platforms, so they could just be called something more
      neutral. If you have an idea, pls speak up.)
2010-07-29 12:40:41 +00:00
Viktor Szakats
903294787a 2010-07-29 13:54 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* debian/rules
  * src/pp/Makefile
  * src/dynlib/mt/Makefile
  * src/dynlib/Makefile
  * package/harbour-win.spec
  * package/harbour-wce.spec
  * package/harbour.spec
  * contrib/make.hbs
  * utils/hbmk2/hbmk2.1
  * utils/hbmk2/hbmk2.prg
  * utils/hbrun/hbrun.prg
  * utils/hbrun/hbrun.hbp
  * utils/hbrun/Makefile
  * doc/gmake.txt
  * config/postinst.hbs
  * config/global.mk
  * config/lib.mk
  * config/bin.mk
  * config/header.mk
  * config/dyn.mk
  * config/doc.mk
  * INSTALL
    * Renamed install dir control envvars to be in the same
      "namespace": (INCOMPATIBLE if you used to manually
      configure these)
      HB_BIN_INSTALL -> HB_INSTALL_BIN
      HB_LIB_INSTALL -> HB_INSTALL_LIB
      HB_DYN_INSTALL -> HB_INSTALL_DYN
      HB_INC_INSTALL -> HB_INSTALL_INC
      HB_DOC_INSTALL -> HB_INSTALL_DOC
      HB_MAN_INSTALL -> HB_INSTALL_MAN
      HB_ETC_INSTALL -> HB_INSTALL_ETC

  * contrib/hbide/idemisc.prg
    - Deleted unused code.
2010-07-29 11:58:25 +00:00
Viktor Szakats
5a39af2d43 2010-07-28 22:38 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/harbour-win.spec
  * package/harbour-wce.spec
  * package/harbour.spec
    - Deleted package properties not recommended by RPM docs.
    + Added RPM doc references.
    - Deleted commented lines.
    % Optimized out seemingly unused temp envvars. (I didn't retest)

  * package/winuni/mpkg_win_uni.nsi
    + Added bin/*.hbs files.

  * config/postinst.hbs
    - Deleted mandrake distro autodetection.

  * contrib/hbide/idestylesheets.prg
    + Disabled all UI customizations when "animations" is not enabled.
      This makes the UI to look like on normal system UI on all supported
      OSes (IOW it now looks like a standard application), it fixes
      most reported visual irreguralitites on Linux.
      Maybe multiple levels of UI customizations are required, anyway
      totally off should always stay an option and only those configs 
      should be presented on a given platform which were actually tested 
      on that given platform.
      It didn't fix the bugs in highlight position calculation, which
      is off on Linux (latest Ubuntu) by almost a line in some occasions.
2010-07-28 20:40:24 +00:00
Viktor Szakats
3c4b64aea0 2010-07-28 19:16 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/harbour.spec
    ! Deleted hbbz2 from lib list. It was not added to contrib list.
    ; TOFIX: This separately maintained contrib (and target lib) list
             should be somehow avoided. It's a permanent maintainence 
             problem.
             Is there a way to automatically include all files in a 
             given directory when creating rpms?
    ! Added hbminizip lib to lib list.
    ! Deleted one of the double hbmzip libs from lib listing.
    ! Added .hbl and .hbs files in bin dir.
2010-07-28 17:17:10 +00:00
Viktor Szakats
96c2594c24 2010-07-28 17:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/harbour.spec
    * Minor in comment.
    * Temply commented adding .so files in the lib/ root (without harbour postfix)

  * contrib/make.hbs
  * contrib/hbpost.hbm
    + Added support for HB_MAN_INSTALL, HB_ETC_INSTALL.

  * utils/hbmk2/hbmk2.prg
    + Enabled multi-input compilation for *nix gcc family. This means that
      all C source files will be now compiled in one gcc invokation, instead
      of compiling them one by one.
    % PATHNORMALIZE(): delete unused function.
    % ISDRIVESPEC() converted to macro _ISDRIVESPEC().

  * config/postinst.hbs
    + Added code to create ld config file.
    + Added commented original bash code to create .so links which I cannot
      understand. Anyone to jump in?
    + Added PathNormalize() function from hbmk2.
    + Changed back DirBuild() to always normalize path before creating it
      (to filter out potential ".." and "." dirs from it). Required for
      ld creation.

  * config/global.mk
    * HB_ETC_INSTALL is now format equally on all *nix platforms to have a
      'harbour' subdir. Required to work well with ld creation logic in postinst.hbs.
2010-07-28 15:42:23 +00:00
Viktor Szakats
a80d67795a 2010-07-28 13:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* mpkg_rpm.sh
    - Deleted conectiva specific branch which apparently was never run.

  * package/harbour-win.spec
  * package/harbour-wce.spec
  * package/harbour.spec
    - Deleted CC_HB_USER_PRGFLAGS.
    - Deleted conectiva and aurox (discontinued) distro detection.
    ! Fixed to delete libbz2.a (I hope it's right)
    - Deleted logic installing man and .def files. Now it's done by
      postinst.hbs.
    ! Fixed HB_MAN_INSTALL definition not being included before build.
2010-07-28 11:59:55 +00:00
Viktor Szakats
3865708b95 2010-07-28 11:06 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* mpkg_rpm.sh
    ! Fix to always copy harbour.spec to SPECS dir.
      Shot in the dark.

  * package/harbour-win.spec
  * package/harbour-wce.spec
  * package/harbour.spec
    - Deleted RPM specific readme. Similar information is now 
      found in INSTALL.

  * contrib/hbwin/win_regc.c
    ! WIN_REGQUERYVALUEEX(): Fixed to check return value of 
      subsequent internal RegQueryValueEx() calls. Return NIL 
      if failed. (value length will still be reported as 
      received back from first RegQueryValueEx() call)

  * contrib/hbide/hbide.hbp
    ! Fixed QT .dll copying options. Commented the whole thing.
2010-07-28 09:06:34 +00:00
Viktor Szakats
aa6055f5f4 2010-07-27 23:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- package/debian
  + debian
  * INSTALL
    * Moved back to root. Seems like this MUST be in root and there 
      is no way to tell debhelper tools otherwise.

  * debian/rules
    % Deleted unnecessary stuff. Pls review me.

  * config/global.mk
    ! Minor in comments.
2010-07-27 21:52:52 +00:00