Commit Graph

12151 Commits

Author SHA1 Message Date
Przemyslaw Czerpak
1c7c124232 2009-09-23 17:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbcomp.h
    * minor formatting

  * harbour/source/rdd/dbfnsx/dbfnsx1.c
    ! fixed false corruption RT error generated due to missing reset
      on cached current key offset - thanks to Jaroslav Janik for
      information and self contain example
2009-09-23 15:52:09 +00:00
Mindaugas Kavaliauskas
3bf190ea51 2009-09-23 16:30 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* contrib/hbmemio/memio.c
    ! added missing structure field initialization
2009-09-23 13:29:52 +00:00
Maurilio Longo
037de7b4b4 2009-09-23 14:15 UTC+0200 Maurilio Longo (maurilio.longo@libero.it)
* config/os2/gcc.mk
   * source/vm/Makefile
     * finalized OS/2 GCC .DLLs creation at build time.
2009-09-23 12:16:32 +00:00
Mindaugas Kavaliauskas
86c8a6a2bc 2009-09-23 14:30 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* contrib/hbmemio/memio.c
    ! fixed cleanup code
2009-09-23 11:33:00 +00:00
Mindaugas Kavaliauskas
437754c513 2009-09-23 00:13 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* contrib/hbmemio/memio.c
    ! fixed typo in hb_memfsDelete()
2009-09-22 21:11:13 +00:00
Viktor Szakats
c5f3c610ea 2009-09-22 22:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    ! Typo
2009-09-22 20:09:15 +00:00
Viktor Szakats
e6399e45fd 2009-09-22 18:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
  * config/global.mk
    ! Changed .dll names for OS/2 to be the same as in MS-DOS:
      harbour/harbourm. (.dll names in OS/2 are limited to 8.3)

  * config/dos/djgpp.mk
    ! Attempt to fix empty line problem when stripping isn't requested.
      Something better would be good here.

  * config/os2/gcc.mk
    ! Fixed empty line problem when stripping isn't requested.
2009-09-22 16:52:31 +00:00
Mindaugas Kavaliauskas
a8fc3a28d2 2009-09-22 17:10 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* contrib/hbmemio/memio.c
    + added cleanup on application exit
    * some warnings pacified
2009-09-22 14:09:59 +00:00
Viktor Szakats
3ad13ee5e1 2009-09-22 14:57 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmemio/tests/test.prg
  * contrib/hbmemio/memio.c
    * Internal name also renamed to HB_MEMIO (from HB_IODMEM).

  * source/vm/dynlibhb.c
    + cast.
2009-09-22 12:57:36 +00:00
Przemyslaw Czerpak
04de1a8cce 2009-09-22 12:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbrddcdx.h
  * harbour/source/rdd/dbfcdx/dbfcdx1.c
    + added support for national sorting using accented and multibyte
      characters.
      Warning CDX indexes created so far for such CDPs are not sorted using
      the same conditions as current SVN code so new applications should
      reindex.
      Harbour codepages with accented characters:
         cs852, csiso, cskam, cswin,
         sk852, skiso, skkam, skwin
         sv850, sviso, svwin
         fr850, friso, frwin
         el737, elwin,
      Harbour codepages with multibyte characters:
         cs852, csiso, cskam, cswin,
         sk852, skiso, skkam, skwin
      Now string keys in CDX indexes using above codepages are sorted
      in the same way as HVM sorts strings. Please only remember that
      CDX internal format was designed for byte weight sorting so such
      CPs may reduce internal compression level increasing the size of
      final indexes.
      After this modification all native index types (NTX, NSX and CDX)
      fully respects national sorting defined in Harbour CPs.
2009-09-22 10:58:10 +00:00
Viktor Szakats
400e03243e 2009-09-22 09:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/vm/dynlibhb.c
    ! Minor typo.
2009-09-22 07:53:16 +00:00
Viktor Szakats
786dc0ec9b 2009-09-22 09:47 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbwince.h
  * source/common/hbwince.c
    + Added WIDE version of dummy winapi implementations for WinCE.

  * source/common/hbffind.c
  * source/common/hbfsapi.c
  * source/rtl/diskspac.c
  * source/rtl/disksphb.c
  * source/rtl/filesys.c
  * source/vm/dynlibhb.c
  * contrib/hbmzip/hbmzip.c
  * contrib/xhb/filestat.c
  * contrib/hbwin/win_dll.c
  * contrib/hbwin/wapi_winbase.c
  * contrib/hbwin/win_prn1.c
  * contrib/hbwin/win_prn2.c
    + Changed forced ANSI version of winapi calls to native version.
    ! Fixed potential GPF in WIN_LOADBITMAPFILE().
    % Cleaned types/variables in hb_PrintFileRaw().
    % Minor type cleanup and formatting in filestat.c.
    ; TODO: There are still some forced ANSI calls in Harbour code:
            (plus some dynamically called ones)
      ---
      source/common/hbver.c:264:      if( GetVersionExA( &osVer ) )
      source/common/hbver.c:306:                  if( GetVersionExA( ( OSVERSIONINFOA * ) &osVerEx ) )
      source/common/hbgete.c:75:      DWORD size = GetEnvironmentVariableA( szName, NULL, 0 );
      source/common/hbgete.c:80:         GetEnvironmentVariableA( szName, pszBuffer, size );
      source/common/hbgete.c:114:   bRetVal = GetEnvironmentVariableA( szName, szBuffer, nSize ) != 0;
      source/common/hbgete.c:157:   return SetEnvironmentVariableA( szName, szValue ) != 0;
      source/rtl/filesys.c:2687:   fResult = GetCurrentDirectoryA( ulSize, pszBuffer );
      source/rtl/filesys.c:2876:      type = GetDriveTypeA( buffer );
      source/rtl/fstemp.c:153:         if( ! GetTempPathA( ( DWORD ) ( HB_PATH_MAX - 1 ), pszName ) )
      source/rtl/fstemp.c:270:         if( ! GetTempPathA( ( DWORD ) HB_PATH_MAX, szTempDir ) )
      source/rtl/fstemp.c:278:      fResult = GetTempFileNameA( szTempDir, pszPrefix ? pszPrefix : "hb", 0, pszBuffer );
      source/rtl/net.c:157:   GetComputerNameA( pszValue, &ulLen );
      source/rtl/net.c:186:   GetUserNameA( pszValue, &ulLen );
      contrib/hbwin/win_prn2.c:169:      DWORD dwSize = GetProfileStringA( "windows", "device", "", pPrinterName, *pdwBufferSize );
      ---

  ; Review me.
2009-09-22 07:49:14 +00:00
Viktor Szakats
7f5ce57f2c 2009-09-22 07:42 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmemio/memio.c
    ! Fixed warnings reported by gcc and msvc.
      Please review me.
2009-09-22 05:44:11 +00:00
Viktor Szakats
084c037d63 2009-09-22 02:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/vm/maindllp.c
    ! Fixed for Unicode mode (msvc2010 x64).
2009-09-22 00:05:35 +00:00
Viktor Szakats
4551f563c3 2009-09-22 00:43 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/win/global.mk
    + Enabled UNICODE mode for all 64-bit Windows targets.
      Here there is no concern about Win9x compatibility, so
      it can be safely done, and I hope this move will make it
      easier to catch UNICODE coding problems, as it will be now
      part of some default builds.
      The ultimate litmus test is on Windows is msvc64, where
      C++, 64-bit and Unicode compatibility is tested at the
      same time.
2009-09-21 22:44:55 +00:00
Viktor Szakats
f52eb40c28 2009-09-22 00:18 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/hbmemio/tests
  + contrib/hbmemio/tests/hbmk.hbm
  + contrib/hbmemio/tests/test.prg
    + Added test dir.
    + Added test code included by Mindaugas in the ChangeLog entry.

  * contrib/hbmemio/Makefile
  + contrib/hbmemio/memio.c
  - contrib/hbmemio/iodmem.c
    * Renamed to be in sync with netio.
    ! Fixed strcpy() call to hb_strncpy().
      Review me I didn't check if the set length limit is a valid one.
    ! Fixed C++ casting errors on buffer allocation calls.
    ; TOFIX: These warnings remain:
      ---
      ../../../memio.c(170) : warning C4244: 'argument' : conversion from 'HB_FOFFSET' to 'ULONG', possible loss of data
      ../../../memio.c(423) : warning C4244: '=' : conversion from 'HB_FOFFSET' to 'ULONG', possible loss of data
      ../../../memio.c(452) : warning C4244: 'argument' : conversion from 'HB_FOFFSET' to 'ULONG', possible loss of data
      ../../../memio.c(501) : warning C4244: 'argument' : conversion from 'HB_FOFFSET' to 'ULONG', possible loss of data
      ../../../memio.c(508) : warning C4244: 'argument' : conversion from 'HB_FOFFSET' to 'ULONG', possible loss of data
      ../../../memio.c(580) : warning C4267: 'argument' : conversion from 'size_t' to 'ULONG', possible loss of data
      ../../../memio.c(627) : warning C4267: '=' : conversion from 'size_t' to 'ULONG', possible loss of data
      ../../../memio.c(674) : warning C4244: 'argument' : conversion from 'int' to 'USHORT', possible loss of data
      memio.c(373) : warning C4701: potentially uninitialized local variable 'pFile' used
      ---

  * contrib/hbmemio/hbmemio.hbc
    ! Corrected svn props to be like in howtosvn.txt.
2009-09-21 22:26:46 +00:00
Viktor Szakats
e0ca13db06 2009-09-21 00:11 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- contrib/iodmem
  + contrib/hbmemio
  - contrib/hbmemio/iodmem.hbc
  + contrib/hbmemio/hbmemio.hbc
  * contrib/hbmemio/Makefile
  * contrib/Makefile
    * Renamed to have 'hb' prefix and to be in line with hbnetio.
    ! Fixed props on Makefile.
    ! Corrected to list this lib in no-dependency section in contrib/Makefile.
2009-09-21 22:13:27 +00:00
Mindaugas Kavaliauskas
0c8a24aae9 2009-09-21 22:50 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
+ harbour/contrib/Makefile
  + harbour/contrib/iodmem/Makefile
  + harbour/contrib/iodmem/iodmem.hbc
    + added make files
  * harbour/contrib/iodmem/iodmem.c
    ! updated to be compatible with the latest SVN (rename method implemented)
    * some warnings are fixed
2009-09-21 19:51:10 +00:00
Mindaugas Kavaliauskas
ae870f642a 2009-09-21 17:20 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
+ harbour/contrib/iodmem
  + harbour/contrib/iodmem/iodmem.c
    + Implemented Memory file system. Public functions hb_memfs*() are 
      availible, if HB_MEMFS_PUBLIC_API is defined.
    + Implemeted I/O driver for memory file system
    ; HB_IODMEM request can be used to force linking of I/O driver and 
      memory FS into executable.
      "mem:" prefix should be used to indicate a MemFS file, ex.:

      REQUEST HB_IODMEM

      PROC main()
        LOCAL nI
        FIELD F1

        DBCREATE("mem:test", {{"F1", "N", 9, 0}},, .T., "memarea")
        FOR nI := 1 TO 1000
          DBAPPEND();  F1 := HB_RANDOM() * 1000000
        NEXT
        INDEX ON F1 TAG f1
        DBEVAL({|| QOUT(F1)})
        DBCLOSEAREA()
        DBDROP("mem:test")  // Free memory resource
      RETURN

    ; TODO: locking is not supported yet (but it is not very usefull 
      if MemFS is used to store of a temporary database opened in 
      exclusive mode).
2009-09-21 14:24:02 +00:00
Viktor Szakats
a272a7d91e 2009-09-21 15:29 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fix to -strip with -hblib support for gcc targets.
2009-09-21 13:29:32 +00:00
Viktor Szakats
8d643e66d9 2009-09-21 15:23 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added support for -strip option in -hblib mode.
    ! Fixed -strip in -hbdyn mode for darwin and sunos targets which
      use individual strip command.

  * harbour-win-spec
  * harbour-wce-spec
    * Reverted change in 2009-09-21 14:03.
    ; See related pending question on dev list.
2009-09-21 13:25:20 +00:00
Viktor Szakats
2c1f147aab 2009-09-21 15:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/sunos/global.mk
    ! Fixed to not use -s option for stripping. This doesn't seem to
      be supported on sunos platform, at least according to code found
      in hbmk2.

  * utils/hbmk2/hbmk2.prg
    + Added support for -strip in -hbdyn mode.
    + Added -strip support for sunos/gcc targets.
    ! Fixed to use strip command instead of -s option with sunos/sunpro
      targets.

  * utils/hbmk2/hbmk2.prg
  * config/bin.mk
    + Added hbmainstd lib for os/2 targets in shared mode.
      Maurilio, please restest after this change.

  ; Needless to say I couldn't test these, so I'd appreciate if sunos
    users could verify it (except -strip in -hbdyn mode).
2009-09-21 13:13:17 +00:00
Viktor Szakats
17302d7efe 2009-09-21 14:03 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* harbour-win-spec
  * harbour-wce-spec
    % Deleted some unnecessary lines (related to strip feature)

  * harbour.spec
    * HB_INC_* -> HB_WITH_*
2009-09-21 12:04:11 +00:00
Viktor Szakats
c0db32322f 2009-09-21 12:54 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* harbour-win-spec
  * harbour-wce-spec
  * harbour.spec
    % Using HB_BUILD_STRIP instead of stripping locally.

  * harbour.spec
    % Using HB_BUILD_SHARED instead of rebuilding tools locally.
    * Changed 'make -i' to 'make' to sync with other spec files.
2009-09-21 10:55:37 +00:00
Viktor Szakats
64bb552abd 2009-09-21 12:41 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/libpng/LICENSE
    ! Missed one file from prev.
2009-09-21 10:42:53 +00:00
Viktor Szakats
6093e8c3ba 2009-09-21 12:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/libpng/pngconf.h
  * external/libpng/pngset.c
  * external/libpng/pngwutil.c
  * external/libpng/png.c
  * external/libpng/png.h
    * Updated to 1.2.40 (from 1.2.39)
2009-09-21 10:40:57 +00:00
Viktor Szakats
a3999d669a 2009-09-21 12:11 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/beos/gcc.mk
  * config/beos/global.mk
  * config/bsd/gcc.mk
  * config/bsd/global.mk
  * config/wce/mingwarm.mk
  * config/hpux/gcc.mk
  * config/hpux/global.mk
  * config/dos/djgpp.mk
  * config/win/mingw.mk
  * config/win/cygwin.mk
  * config/linux/icc.mk
  * config/linux/sunpro.mk
  * config/os2/gcc.mk
  * config/sunos/gcc.mk
  * config/sunos/global.mk
  * config/sunos/sunpro.mk
    + Added HB_BUILD_STRIP support for rest of compilers.
    ; Please make tests.

  * bin/postinst.sh
    - Deleted strip from postinst phase.
2009-09-21 10:13:39 +00:00
Viktor Szakats
834a3120c8 2009-09-21 11:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    ! Fixed to recent changes to sysloc detection.

  * config/linux/gcc.mk
    + Added HB_BUILD_STRIP for linux/gcc.

  * config/bin.mk
    ! Fixed to not try to build a shared binary for binaries not
      dependent on HVM. It's done in a little tricky way, maybe
      we should introduce a new variable to signal Harbour
      executables vs plain C ones.
      This should fix link errors in harbour reported by users.
2009-09-21 09:46:33 +00:00
Maurilio Longo
f2bc3821d0 2009-09-21 11:28 UTC+0200 Maurilio Longo (maurilio.longo@libero.it)
! ChangeLog
    ! forgot to write here my latest change
2009-09-21 09:29:30 +00:00
Viktor Szakats
047cbef865 2009-09-21 11:16 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/Makefile
  * contrib/hbqt/hbqts/Makefile
  * contrib/gtqtc/Makefile
  * contrib/gtqtc/gtqtcs/Makefile
    ! Fixed QT detection on darwin after 2009-09-18 12:19 change
      in detfun.mk.

  * utils/hbmk2/hbmk2.prg
    + Comment added (from .mk).

  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
  * config/darwin/global.mk
  * config/rules.mk
    + Implemented HB_BUILD_STRIP for darwin.
      (on darwin strip has to be called directly)
2009-09-21 09:18:24 +00:00
Viktor Szakats
2ac1c87c51 2009-09-20 23:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* ChangeLog
    ! Added missing lines from prev entry:
      * bin/postinst.sh
        + Added HB_CCPATH to strip cmd. Suggest by Przemek.
        ! Minor fix to find cmd by Tamas Tevesz.
2009-09-20 21:00:47 +00:00
Viktor Szakats
9dfc53ab9f 2009-09-20 22:41 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* harbour-win-spec
  * harbour-wce-spec
  * INSTALL
  * bin/postinst.sh
  * Makefile
  * source/pp/Makefile
  * source/Makefile
  * config/global.mk
    * HB_BUILD_PART -> HB_BUILD_PARTS (simple rename)
    + HB_BUILD_STRIP added. It's dummy yet. Support will have to
      be added on the compiler level and removed from postinst phase.
2009-09-20 20:41:51 +00:00
Przemyslaw Czerpak
ec1e80e140 2009-09-20 18:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/harbour-win-spec
  * harbour/harbour-wce-spec
  * harbour/bin/hb-func.sh
  * harbour/config/global.mk
    * updated to work with modified base make internals and envvars
    * do not overload defined by user HB_TOOLS_PREF
    ! fixed c&p typo in DJGPP cross build HB_TOOLS_PREF
      Warning: it still needs export HB_BUILD_SHARED=no before creating
      RPMs but it should be fixed in base make together with native builds.
      TODO: we should agree some conditions for alternative system wide
      cross build installation, like .cfg file name and localization.
2009-09-20 16:12:43 +00:00
Viktor Szakats
48453b8c66 2009-09-20 17:04 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ; Fixes based on Przemek's extensive tests/suggestions on different *nix systems.
    ! -fixshared option now only effective for gcc compilers. For the rest 
      it behaves as -fullshared.
    ! Added x11 and curses/slang libpath for bsd targets in shared mode.
      hbmk2 solution is rough, but didn't see a reason to make it more 
      complicated. I hope it fixes the problem.
    + Enabled -fullstatic mode for sunpro compilers.

  * utils/hbmk2/hbmk2.prg
    ! Fixed to add /usr/X11R6/lib64 dir to libpath list on linux 
      targets only. (sync with similar guard in sunpro compiler support)

  ; TOFIX: This leaves the GPF in sunpro/linux on the pending list.
  ; TOFIX: And here comes to mind that mingw64 also GPFs in shared mode.
2009-09-20 15:05:50 +00:00
Viktor Szakats
062fb1dbea 2009-09-20 16:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
  * config/global.mk
    + Added beos system location detection.
    + Added system location detection based on [LD_]LIBRARY_PATH.
    ; Please review and even tweak code if needed. I didn't test these changes.

  * utils/hbmk2/hbmk2.prg
    % system location detection code disabled for non-*nix hbmk2 builds.
      It's of no use there, as far as I can overview all scenrios.

  * config/global.mk
    * Restored default lib dir to simply lib on *nixes.
    % Minor opt to system location detection.
    ! Fixed to only use 'harbour' lib/inc postfixes on beos 
      when installed on system location. Thanks Przemek for the patch.
2009-09-20 14:36:21 +00:00
Viktor Szakats
f7e2480bcc 2009-09-20 15:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/pcre/config.h
    * Restored original only differing in whitespace.

  - external/pcre/ChangeLog
    - Deleted. Content is obsolete.

  + external/pcre/pcre.dif
    + Added .dif file.

  * config/darwin/gcc.mk
  * config/darwin/clang.mk
  * config/darwin/icc.mk
    + Finished dylib link generation for darwin.
2009-09-20 13:33:58 +00:00
Viktor Szakats
ba63822d51 2009-09-20 15:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    * Changed to install libs by default to lib/<plat>/<comp> on *nixes too.
      (if HB_INSTALL_PREFIX isn't a system location)

  * config/dyn.mk
    ! Typo in prev.
2009-09-20 13:16:04 +00:00
Viktor Szakats
5dc8ba8ca3 2009-09-20 14:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/postinst.sh
    ! Fix to strip command. Now using 'find' again and using -maxdepth 1
      to prevent it from parsing subdirs.

  * config/global.mk
    + Added new user settings to screen dump.

  * source/dynlib/mt/Makefile
  * source/dynlib/Makefile
  * config/darwin/gcc.mk
  * config/linux/gcc.mk
  * config/dyn.mk
    + Attempt to add link creation for dynlibs.
      Not tested yet.
    ; TODO: darwin needs even more sopthistication.
    ; TODO: clean support is missing yet.
    ; TODO: add this to rest of targets.

  * source/vm/vmmt/Makefile
    ! Disabled HB_HVM_ALL for linux-icc, because it causes compiler internal
      error when using -fpic.

  * source/vm/Makefile
    * Indenting.
2009-09-20 12:53:51 +00:00
Przemyslaw Czerpak
e2761c4503 2009-09-20 01:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/hvm.c
    * allow to check symbol module name for unregistered modules
2009-09-19 23:40:32 +00:00
Viktor Szakats
34a0e02a31 2009-09-19 22:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    ! Fixed typos in new section.
    ; NOTE: Please review this section, as I don't have an rpm-capable
            distro at hand. I may have also missed some sudo/fakeroot 
            commands as I never use them in context of Harbour.
            TODO: If there it's at all possible I think Harbour package 
                  creation should support sudo-less way to *create* packages.
                  'sudo' should be a must only to install them to system location.
2009-09-19 20:50:49 +00:00
Viktor Szakats
da6ef5ae3c 2009-09-19 22:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added new section: HOW TO CREATE DISTRIBUTABLE PACKAGES

  * bin/postinst.sh
    % Deleted -KPIC from dynlib command with sunpro.
2009-09-19 20:31:49 +00:00
Viktor Szakats
ae96ef6400 2009-09-19 21:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/postinst.sh
  * config/global.mk
    ! Fixes to prev after testing. (please review anyway)
2009-09-19 19:34:24 +00:00
Viktor Szakats
21b54f433b 2009-09-19 20:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* examples/hbdoc2/hbdoc2.prg
    * Minor changes/fixes to help screen and header.
2009-09-19 18:49:05 +00:00
Viktor Szakats
fac2acdf0d 2009-09-19 20:32 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/hb-mkdyn.sh
  * bin/postinst.sh
    % Deleted -fPIC option from dynlib link command. It's not needed 
      if there are no .c input files.
2009-09-19 18:32:45 +00:00
Viktor Szakats
48018d9896 2009-09-19 20:17 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* mpkg_tgz.sh
  * bin/postinst.sh
    % Attempt to clean mpkg_tgz.sh from redundant make logic.
      Some tasks (stripping, shared tool making using HB_BUILD_SHARED,
      chmod on HB_INC_INSTALL) moved to postinst.sh, some others
      deleted (platform detection, shared tool building using old
      method, component detections, install dir forming and creation.
    ; Please review me and test.
    ; TODO: Maybe above tasks in postinst.sh should only be
            executed when HB_BUILD_PKG=yes.

  * config/global.mk
    ! Fixed to only use lib64 dir if it exists. Please review/test
      this feature.
    + Now exports HB_SYSLOC variable which is set to non-empty if
      HB_INSTALL_PREFIX points to system location.

  * harbour.spec
    - Deleted PIC option related lines. These are handled by GNU Make now.

  * utils/hbmk2/hbmk2.prg
    + Added PIC related options to *nix compilers when using -hbdyn option.
    % Deleted PIC related option from link command. Not needed.
2009-09-19 18:18:17 +00:00
Viktor Szakats
72a381acc1 2009-09-19 18:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * config/global.mk
    + HB_BUILD_SHARED will now default to yes, if HB_INSTALL_PREFIX 
      points to a *nix system location. (in sync with hbmk2 logic)

  * config/dos/djgpp.mk
    + Added .dll building rule, but it doesn't work, so I've commented it.
      (-shared isn't accepted by DJGPP ld)
2009-09-19 16:26:45 +00:00
Viktor Szakats
803c52d710 2009-09-19 16:47 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/bin.mk
    + Added HB_BUILD_SHARED support for os2/watcom.

  * source/Makefile
    * Deleted env space saving optimization for dos platform
      and added support for gtdos when building dos .dlls.
    % Deleted line after prev changes.

  * config/global.mk
    + Added special .dll names when building dos based ones.
      (harbour / harbourm)

  * config/dos/watcom.mk
    + Enabled absolutely experimental dos .dll support.
    ; Current result:
      ---
      wlink OP quiet SYS cwdllr  NAME '..\..\..\..\..\bin\dos\watcom\harbour' OP implib='../../.
      ./../../lib/dos/watcom/harbour.lib' @__dyn__.tmp
      Warning! W1027: file clib3r.lib(cstart): redefinition of ___begtext ignored
      Warning! W1027: file clib3r.lib(cstart): redefinition of __nullarea ignored
      Warning! W1027: file clib3r.lib(cstart): redefinition of __D16Infoseg ignored
      Warning! W1027: file clib3r.lib(cstart): redefinition of __x386_zero_base_selector ignored
      
      Warning! W1027: file clib3r.lib(cstart): redefinition of __exit_ ignored
      Warning! W1027: file clib3r.lib(cstart): redefinition of __do_exit_with_msg__ ignored
      Warning! W1027: file clib3r.lib(cstart): redefinition of __GETDS ignored
      Warning! W1027: file clib3r.lib(cstart): redefinition of ___GETDSStart_ ignored
      Warning! W1027: file clib3r.lib(cstart): redefinition of ___GETDSEnd_ ignored
      Error! E2030: file clib3r.lib(cstart): multiple starting addresses found
      mingw32-make.exe[2]: *** [harbour] Error 1
      ---
    ; TOFIX: hbpp object will be (or is) again a showstopper.

  * config/win/watcom.mk
    * Synced with dos/watcom.mk after above change.
2009-09-19 14:56:55 +00:00
April White
2e1d968cc7 * examples/hbdoc2/hbdoc2.prg
* bug fix when handling "--help" command line
2009-09-19 14:33:06 +00:00
April White
22d6978189 * doc/class_tp.txt
* doc/hdr_tpl.txt
  * doc/inet.txt
  * doc/pragma.txt
  * doc/en-EN/array.txt
  * doc/en-EN/binnum.txt
  * doc/en-EN/browse.txt
  * doc/en-EN/clipper.txt
  * doc/en-EN/cmdline.txt
  * doc/en-EN/command.txt
  * doc/en-EN/compiler.txt
  * doc/en-EN/datetime.txt
  * doc/en-EN/dbdelim.txt
  * doc/en-EN/dbsdf.txt
  * doc/en-EN/dbstrux.txt
  * doc/en-EN/dir.txt
  * doc/en-EN/diskspac.txt
  * doc/en-EN/errsys.txt
  * doc/en-EN/eval.txt
  * doc/en-EN/file.txt
  * doc/en-EN/garbage.txt
  * doc/en-EN/gnulice.txt
  * doc/en-EN/gtslang.txt
  * doc/en-EN/harbext.txt
  * doc/en-EN/hb_api.txt
  * doc/en-EN/hb_apier.txt
  * doc/en-EN/hb_apifs.txt
  * doc/en-EN/hb_apigt.txt
  * doc/en-EN/hb_apiit.txt
  * doc/en-EN/hb_apiln.txt
  * doc/en-EN/hb_apird.txt
  * doc/en-EN/hb_compa.txt
  * doc/en-EN/hb_date.txt
  * doc/en-EN/hb_macro.txt
  * doc/en-EN/hb_set.txt
  * doc/en-EN/hb_vm.txt
  * doc/en-EN/hvm.txt
  * doc/en-EN/idle.txt
  * doc/en-EN/input.txt
  * doc/en-EN/lang.txt
  * doc/en-EN/license.txt
  * doc/en-EN/macro.txt
  * doc/en-EN/math.txt
  * doc/en-EN/memo.txt
  * doc/en-EN/memvar2.txt
  * doc/en-EN/menu.txt
  * doc/en-EN/misc.txt
  * doc/en-EN/nation.txt
  * doc/en-EN/objfunc.txt
  * doc/en-EN/rdddb.txt
  * doc/en-EN/rddmisc.txt
  * doc/en-EN/rddord.txt
  * doc/en-EN/readme.txt
  * doc/en-EN/sayget.txt
  * doc/en-EN/set.txt
  * doc/en-EN/setmode.txt
  * doc/en-EN/string.txt
  * doc/en-EN/strotype.txt
  * doc/en-EN/subcodes.txt
  * doc/en-EN/tbrowse.txt
  * doc/en-EN/tclass.txt
  * doc/en-EN/terminal.txt
  * doc/en-EN/tgetlist.txt
  * doc/en-EN/tlabel.txt
  * doc/en-EN/treport.txt
  * doc/en-EN/var.txt
    * amended to use standard content (template, category, sub-category)
    * typos corrected in many files
    ; TODO within hbdoc2:
      ; combine all items of one category into one file
      ; properly build links between html files (index, category, 'top');
        this will be a building block for rtf and pdf files
      ; produce rtf and pdf output
      ; produce tr output
2009-09-19 14:30:32 +00:00
Viktor Szakats
75252aebc9 2009-09-19 16:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/bin.mk
    ! Fixed to leave sys libs for non-*nix systems in shared mode.
    + Added support for win/watcom.

  * utils/hbmk2/Makefile
  * utils/hbrun/Makefile
    + Added extra core lib specs required in shared mode.
2009-09-19 14:04:16 +00:00