Commit Graph

11822 Commits

Author SHA1 Message Date
Viktor Szakats
e68440e238 2009-08-21 15:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/globsh.mk
    ! Restored backslashes for GNU rm command for os2 shell.
      It turns out rm needs backslashes in filenames (on contrary 
      to mkdir which needs forward slashes.) Not terribly consistent.
      BTW they came from same packages.
      Thanks to Maurilio Longo for the information.

  * source/pp/Makefile
    ! Readded empty line after pptable rule.
      I couldn't find the reason why this was needed, anyhow
      without it the dynamic hbpp obj deletion didn't work.
      Which GNU Make syntax rules am I forgetting? Any hints?

    ; TOFIX: Another issue has shown its ugly head, here clean
             in hbpp shows error message from 'del' command on
             nt shell deleting the .exe (and .tds), despite the
             file is there and we're doing wildcard check too.
             Ideas are welcome. This worked a few days ago.
2009-08-21 14:08:03 +00:00
Viktor Szakats
8c65f4fab8 2009-08-21 15:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/pp/Makefile
    ! Readded empty line after pptable rule.
      I couldn't find the reason why this was needed, anyhow
      without it the dynamic hbpp obj deletion didn't work.
      Which GNU Make syntax rules am I forgetting? Any hints?

    ; TOFIX: Another issue has shown its ugly head, here clean
             in hbpp shows error message from 'del' command on
             nt shell deleting the .exe (and .tds), despite the
             file is there and we're doing wildcard check too. 
             Ideas are welcome. This worked a few days ago.
2009-08-21 14:03:02 +00:00
Viktor Szakats
032b7c445d 2009-08-21 15:32 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/instsh.mk
    % Fixed to use $(CP) instead of 'copy' in nt install rule.
2009-08-21 13:31:08 +00:00
Viktor Szakats
0227b270af 2009-08-21 15:16 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/globsh.mk
    % Replaced 'if not exist' nt and os2 shell cmds with $(wildcard).
    % Using plain (non OS converted) variables in $(wildcard) calls
      in dos clean rules.
    % Deleted 'if not exist' os2 shell cmds from dirbase rules.
      Since we're using GNU tools this isn't necessary, errors will
      not be shown if the dir already exists. This makes these rules
      similar to dos ones.
    ! Fixed to not use OS converted parameters with $(RDP) calls with
      os2 shell. I can't test, but last information from OS/2 users
      was that OS/2 GNU Tools expect *nix style path seps.
    * Synced os2 shell clean rules with DOS ones, except using
      *nix style parameters in GNU cmds.

  * config/instsh.mk
    % Replaced 'if not exist' nt and os2 shell cmds with $(wildcard).
      In nt I've added a trick to make it work with dirs containing
      spaces.

  ; After these changes no more 'if [not] exist' shell specific
    commands are used in Harbour GNU Make system.
  ; TOFIX: Except sh shell. Probably the rules there can be synced now 
           with other shells and special bash logic dropped.
2009-08-21 13:28:26 +00:00
Przemyslaw Czerpak
c2f42795d2 2009-08-21 14:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
    * added oleaut32 to default linked library list
2009-08-21 12:41:20 +00:00
Viktor Szakats
bfb4a398d8 2009-08-21 14:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/dynlib/Makefile
  * source/Makefile
    + Moved dynamic lib generation initialization logic to source 
      root Makefile. This ensures that all subdirs are built before
      creating the dynamic libraries.

  * config/globsh.mk
    + Added rules to delete .def files.
2009-08-21 12:15:19 +00:00
Viktor Szakats
31efbd75c4 2009-08-21 13:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
  * INSTALL
    + Added HB_DYN_INSTALL envvar. This will tell where to copy
      Harbour dynamic libraries. By default it's set to HB_LIB_INSTALL
      for *nix targets and HB_BIN_INSTALL for non-*nix targets.

  * bin/postinst.bat
  - bin/hb-mkdyn.bat
    - Deleted batch script to create .dlls. Now done from GNU Make
      system. This means it work on all shells we support, not just
      nt ones.
    ; TOFIX: Delete win-based gcc family support from hb-mkdyn.sh, 
             now it's redundant.
2009-08-21 11:59:41 +00:00
Viktor Szakats
f9143cfa55 2009-08-21 13:46 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/os2/gcc.mk
    % Using $(wildcard) instead of echo trick to delete target lib.
      Please test. I don't have access to OS/2.
    ; 'if exist' and 'if not exist' are now only used from 
      globsh.mk nt and os2 shell sections.
    ; TOFIX: $(COMSPEC) still in OS/2 section. Test results would be 
             welcome without it.
2009-08-21 11:47:05 +00:00
Viktor Szakats
ac72071986 2009-08-21 13:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/win/bcc.mk
  * config/win/watcom.mk
    + Added new .dll build rules.
    ; TODO: Solve handling of generated implib.
    ; TODO: Add dynlib generation logic for *nix targets.
    ; TODO: Delete postinst script if the new method turns out to 
            work alright.

  * config/win/cygwin.mk
  * config/win/icc.mk
  * config/win/xcc.mk
  * config/win/pocc.mk
  * config/wce/mingwarm.mk
  * config/wce/poccarm.mk
  * config/wce/msvcarm.mk
    + Implemented .dll creation for rest of win/wce compilers:
        icc uses the same logic as msvc.
        pocc/poccarm/msvcarm/xcc uses the same logic as msvc
          except /subsystem option.
        mingwarm/cygwin uses the same logic as mingw.
    ; I didn't test wce ones yet.

  * config/win/msvc.mk
    % Using $(wildcard) instead of echo trick to delete __lib__.tmp.

  * config/win/mingw.mk
  * config/win/msvc.mk
    * Moved HB_USER_DFLAGS in cmdline.

  * config/win/watcom.mk
  * config/dos/watcom.mk
  * config/linux/watcom.mk
  * config/os2/watcom.mk
    + Added 'OP quiet' option to wlink command.

  * source/pp/Makefile
    ! Using OBJ_DYN_POSTFIX instead of hardwired value.

  * source/vm/mainwin.c
  * source/vm/mainstd.c
    ! Typo in prev commit regarding watcom/dynlib hack.

  * source/rtl/gtwvt/gtwvt.c
    ! Fix for msvcarm build, where WS_OVERLAPPEDWINDOW macro
      is reported missing.
2009-08-21 11:39:05 +00:00
Przemyslaw Czerpak
4077cbb993 2009-08-21 13:34 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
    ! do not strip system libraries in windows shared linking - unused
      ones are not attached to harbour*.dll

  * harbour/contrib/hbwin/hbwinole.h
  * harbour/contrib/hbwin/olecore.c
    + added support to pass strings with embedded chr(0) characters
    + added new public C function:
         IDispatch* hb_oleItemGet( PHB_ITEM pItem );
      it extracts IDispatch* pointer from Harbour OLE pointer item.
    + added new public C function:
         void       hb_oleVariantUpdate( VARIANT* pVariant, PHB_ITEM pItem );
      it updates pVariant structure using values from given pointer item
      (used to update parameter passed by reference to activex event handler)
    % optimized some code

  * harbour/contrib/hbwin/hbwinole.h
  * harbour/contrib/hbwin/axcore.c
    + added new public C function:
         BOOL       hb_oleAxInit( void );
    + added new public C function:
         PHB_ITEM hb_oleAxControlNew( PHB_ITEM pItem, HWND hWnd );
      It's C function with the same functionality as __AXGETCONTROL()
    ! allocate ISink structure using hb_xgrab() not hb_gcAlloc()
    ! initialize ISink reference counter to 0
    ! fixed Release() method to free all allocated resources when
      reference counter reach 0
    * return new Active-X control as Harbour OLE item pointer.
      Warning !!! hb_parptr() and hb_itemGetPtr() do not return valid
      pointer for controls created by hb_oleAxControlNew()/__AXGETCONTROL()
      Use hb_oleItemGet() and hb_oleParam() to extract pointer to IDispatch
      Please update existing code which used __AXGETCONTROL() pointers
      at C level.
    - removed not longer used hb_sink_destructor
    ! removed WIN_AXRELEASEOBJECT() - this function breaks reference counters
      used by OLE object which needs strict updating to avoid memory leaks
      (not freed OLE object) or GPF traps (accessing freed object)
    + extended Invoke() method to update OLE parameters passed by reference.
    + accept as event handler hash arrays indexed by event numbers and
      values with codeblocks or function pointers. Similar functionality
      exists in HWGUI when it's compiled with __USEHASHEVENTS macro and
      it's much better then passing two arrays.
    % optimized some code

    Please test above Active-X modifications. I'm not MS-Windows user so
    they have to be verified by real MS-Windows developers.
    They should fix problems with memory leaks (OLE objects where never
    freed) or GPF traps in C code which tired to strictly manage reference
    counters.
    To C programmers: if you increase reference counter to activex control
    (AddRef()) then you have to release it (Release()) or activex control
    will never be freed even after clearing all .prg references. It's
    released only when last reference owner calls Release() method so now
    valid code can keep references to IDispatch at C level without any
    problem but it also means that this code can exploit problems in
    existing wrong code.
2009-08-21 11:35:11 +00:00
Viktor Szakats
4cd1edfa66 2009-08-21 12:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/win/mingw.mk
  * config/win/msvc.mk
  * config/rules.mk
    ! BIN_DIR -> DYN_DIR
2009-08-21 10:48:05 +00:00
Viktor Szakats
0bd133a771 2009-08-21 12:46 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/Makefile
    ! Fixed typo in prev commit.

  * config/global.mk
  * config/wce/poccarm.mk
  * config/wce/msvcarm.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/msvc.mk
  * config/dyn.mk
  * config/rules.mk
    + Added OBJ_DYN_POSTFIX variable instead of hardcoded '_dyn'.

  * config/global.mk
  * config/dyn.mk
    + Added DYN_DIR. Set to LIB_DIR for *nix, BIN_DIR for non-*nix.

  * config/globsh.mk
    + Added dynamic lib dir/file related dir creation and cleanup rules.

  * config/win/mingw.mk
  * config/wce/mingwarm.mk
    + Added space between -o and output filename.
      (this should probably be made default)

  * config/win/mingw.mk
    + Added .dll build rules.

  * config/win/bcc.mk
    % Using $(wildcard) instead of echo trick to delete __lib__.tmp.
2009-08-21 10:46:11 +00:00
Viktor Szakats
bd8d9d6158 2009-08-21 11:29 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/dynlib/Makefile
  * source/Makefile
  * config/rules.mk
  * config/dyn.mk
    + Respect HB_BUILD_DLL=no setting.
    * Don't try to create .dll if there were no compiler local rules set.
2009-08-21 09:30:24 +00:00
Viktor Szakats
9ad0920842 2009-08-21 10:54 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/pp/Makefile
  * bin/hb-mkdyn.bat
    + Deleting hbpp dynamic built object to not interfere with
      harbour dll creation when picking up the objects with wildcard.
    * Changed .dll creation script to not filter out above object
      explicitly, it's not needed anymore.

  * source/vm/mainwin.c
  * source/vm/mainstd.c
  * bin/hb-mkdyn.bat
    + Added hack to exclude any content when creating dynamic build
      objects for win/watcom. Any content here breaks .dll creation
      on this target.
    * Changed .dll creation script to not filter out above objects
      explicitly, it's not needed anymore.

  * config/global.mk
    % Changed CPU detection to use $(filter)
    + Added CPU detection based on wce compilers.
    + Showing detected host and target CPU architecture in log
      (if it could be detected - this is currently only implemented
      for non-*nix targets)
    - Deleted host binary extension display in verbose mode.
    - Deleted now unused HB_BUILD_VERBOSE option.

  * config/global.mk
    + Added HB_DYN_VER variable to hold the version number used in Harbour
      dynamic libary name.

  * config/bsd/global.mk
  * config/darwin/global.mk
  * config/hpux/global.mk
  * config/linux/global.mk
  * config/os2/global.mk
  * config/sunos/global.mk
  * config/wce/global.mk
  * config/win/global.mk
    + Added DYN_EXT variables for each platform.

  * source/Makefile
  * config/rules.mk
  + config/dyn.mk
  + source/dynlib
  + source/dynlib/mt
  + source/dynlib/mt/Makefile
  + source/dynlib/Makefile
  * config/win/msvc.mk
    + Added experimental .dll building feature to the GNU Make system.
      It's only implemented for MSVC yet.
      The goal is to replace shell specific (postinst) solutions.

  * utils/hbmk2/hbmk2.prg
    + Added darwin/icc support. Untested yet.

  * source/vm/maindllp.c
    ! Fixed typo in prev commit.
2009-08-21 08:58:55 +00:00
Pritpal Bedi
4ee8dbcbf6 2009-08-20 21:21 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbxbp/xbpbrowse.prg
    ! More synchronized horizontal navigation with respect to frozen columns - mouse clicks.
    ! Focus maintained on main grid view if mouse is clicked on other parts 
      of the browser and scrollbars.

      /* Your input about artifacts is appreciated */
2009-08-21 04:25:13 +00:00
Pritpal Bedi
e80799c842 2009-08-20 18:55 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbxbp/xbpbrowse.prg
    ! Synchronized horizontal navigation with respect to frozen columns.
2009-08-21 01:56:35 +00:00
Pritpal Bedi
28e828a40c 2009-08-20 18:08 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbxbp/xbpbrowse.prg
    + Implemented ::setLeftFrozen( aColumns ) and ::setRightFrozen( aColumns )

  * contrib/hbxbp/tests/demoxbp.prg
    + Demonstrated the frozen columns feature.

  ; TODO: Finetune horizontal navigation with respect to frozen columns.
2009-08-21 01:11:38 +00:00
Viktor Szakats
8264b6486a 2009-08-21 02:57 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    * Improvement in msvc/wce support to support multiple WinCE
      CPUs.
    ! Fixed to add '/manifest:no' only for 8.00 or upper msvcarm
      compilers.

  * config/wce/msvcarm.mk
    * Minor improvements.
    + Added preliminary support for MIPS/SH/x86 WinCE build settings.

  * source/vm/maindllp.c
    + Added MIPS and SH .dll names.

  * include/hbsetup.h
  * source/common/hbver.c
    * HB_CPU_SUPERH -> HB_CPU_SH
2009-08-21 01:03:50 +00:00
Viktor Szakats
8de8bb0e75 2009-08-21 02:39 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ config/darwin/icc.mk
  * INSTALL
    + Added make file for Intel compiler for OS X.
      (not tested yet)
2009-08-21 00:40:05 +00:00
Viktor Szakats
17ba56ecbd 2009-08-21 02:26 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    * Shows '(pre-xp)' for pre-XP systems instead of showing '(xp)'
      for newer systems. Please test.
2009-08-21 00:29:21 +00:00
Viktor Szakats
e866994115 2009-08-21 02:20 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    + Added Windows XP (or upper) detection. This will be shown
      with an '(xp)' mark in log. Please test, I don't have NT/2000
      systems.

  * config/win/bcc.mk
    % For XP and upper now the default logic (so far only active
      with sh shells) is enabled which is more efficient and 
      generates shorter log. Old one only kept to make Windows
      NT/2000 bcc users happy, this is the only win compiler which
      has such special support.

  * INSTALL
    * Minor.
2009-08-21 00:25:54 +00:00
Viktor Szakats
0947618006 2009-08-21 00:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/common/watcom.mk
    * sh AR rule made the default.
    % Now nt shell uses the default AR rule (instead of dos one)
      with watcom.
    % Deleted no longer necessary FILE = %f vs %ff hack.
      Now this rule is only active for os2 shells never nt.
2009-08-20 22:43:37 +00:00
Viktor Szakats
c3ec7cd649 2009-08-21 00:08 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/sqlite3/Makefile
    ! Disabled for dos hosts and watcom compiler because watcom 
      runs out of memory.
2009-08-20 22:08:46 +00:00
Viktor Szakats
e260a1aea7 2009-08-21 00:01 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/libhpdf/Makefile
  * contrib/hbhpdf/Makefile
    ! Fixed to skip them when using dos hosts (due to long filenames
      in libhpdf lib sources/headers)

  * external/libhpdf/Makefile
    + Enabled for watcom/dos and watcom/linux targets.

  * config/common/watcom.mk
  * config/rules.mk
    + Added CC_FLAGS variable similar to HB_FLAGS to aid
      moving flags to envvars and to reduce redundancy in rules.
    * The CC_RULE hack was a little bit modified accordingly
      for c-mode non-linux watcom. We're now a bit closer to
      be able to drop CC_RULE override.
    ! Adapted above change for watcom where now all (non-user)
      flags are moved to envvar when using dos shells.
2009-08-20 22:04:49 +00:00
Viktor Szakats
96b978b21c 2009-08-20 22:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/common/watcom.mk
    ! Yet another fix to prev moving dos shell specific 
      cmdline length defeating tricks after rules.mk inclusion.
2009-08-20 20:28:18 +00:00
Viktor Szakats
34190a645f 2009-08-20 22:22 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/dos/watcom.mk
  * config/win/watcom.mk
  * config/linux/watcom.mk
  * config/os2/watcom.mk
    ! Fixed to not include rules.cf twice.
2009-08-20 20:23:16 +00:00
Viktor Szakats
42de0ad26b 2009-08-20 22:04 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/xhb/hbcommon.ch
    + Added this file for compatibility with xhb. I don't think 
      anyone is using this file though.
2009-08-20 20:04:42 +00:00
Viktor Szakats
09c80bb5fb 2009-08-20 21:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/hbwin.hbc
    ! Added missing CellCore lib for wce.
      I've preserved casing because cegcc has it like that and
      I wanted to avoid any potential casing problems on *nix
      cross build. I you know it this is unnecessary pls tell.
2009-08-20 19:55:05 +00:00
Viktor Szakats
8fa05608ee 2009-08-20 21:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* examples/gfspell/readme.txt
    ! E-mail address antispam.
2009-08-20 19:35:51 +00:00
Viktor Szakats
749ddef12f 2009-08-20 21:26 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ examples/gfspell
  + examples/gfspell/spell.ng
  + examples/gfspell/spellc.c
  + examples/gfspell/gfspell.hbp
  + examples/gfspell/spell.prg
  + examples/gfspell/gfspell.hbc
  + examples/gfspell/spell.ch
  + examples/gfspell/words.dbf
  + examples/gfspell/readme.txt
    + Added Grumpfish Speller library port for Harbour.
      With kind permission of author Joseph D. Booth.
      Many thanks to Les Hughes for contributing this port 
      to Harbour.
    + Some modifications, added hbmk2 make files, did a few
      other cleanup.
    ; TOFIX: 'const' fixes revealed a few HVM corruption
             problems in original source. These have yet to be
             fixed.
2009-08-20 19:30:06 +00:00
Viktor Szakats
8b63fda831 2009-08-20 20:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/dos/watcom.mk
  * config/common/watcom.mk
  * config/win/watcom.mk
  * config/linux/watcom.mk
  * config/os2/watcom.mk
    ! Fix to prev. (missed to deleted platform specific rules from nt/dos ones)
    * Moved LDLIBS formation back to platform spefific watcom.mk files.
      (the only reason is SYSLIBS present only on win)
2009-08-20 18:41:06 +00:00
Viktor Szakats
6dbde12367 2009-08-20 20:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/common/watcom.mk
    + Readded dos/nt shell specific logic. (they were the same so
      far in Harbour, but maybe it'd be now possible to create real
      optimize out dos specific hacks for nt shells - unless there
      is a chance to break the 8192 bytes nt cmdline length limit.)

  * ChangeLog
    + Marked pending items in prev entry.

  * config/dos/watcom.mk
  * config/win/watcom.mk
  * config/linux/watcom.mk
  * config/os2/watcom.mk
    % Deleted watcom doc links. It's enough to have them in common file.
2009-08-20 18:35:09 +00:00
Viktor Szakats
dca33ebdd1 2009-08-20 20:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
  * config/global.mk
    ! Fixed to -undef:__PLATFORM__UNIX even for Windows host platforms.
      This is required because Cygwin builds have this envvar set.
      I'm not sure that setting __PLATFORM__UNIX for Cygwin is right
      behavior though.

  * config/dos/watcom.mk
  * config/win/watcom.mk
  * config/linux/watcom.mk
  * config/os2/watcom.mk
  + config/common/watcom.mk
    % Moved common watcom compiler specific make logic to one file.
      I've choosen OS/2 rules in this global makefile, as they will
      work on all platforms, albeit in the known slighly hacky way.
      It's easy to reintroduce shell specific rules for more advanced
      shells. There was one common rule set for nt/dos shells, plus
      a very clean one for sh. I may do this in a next commit.
      After this change it's possible to create all possible watcom
      cross-builds. Pls shout if I missed something or the concept
      seems to have some potential flaws.
    ; QUESTION: Does 'wlib' support '-p=64' option on Linux watcom builds?
    ; NOTE: Still most of the not yet merged logic could be merged,
            since there is only a few minor difference between them.
    ; TODO: Add shell optimized watcom rules for nt/dos/sh shells.
    ; TODO: Try to do a similar stunt for gcc.mk files.

  * source/pp/ppcore.c
    * #ifdef -> #if defined()
2009-08-20 18:16:55 +00:00
Viktor Szakats
d56a65142e 2009-08-20 15:49 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    ! Fixed dos autodetection to not be overridden by explicit
      HB_ARCHITECTURE value since it prevent dos hosted cross
      build creation.
    ! Fixed *nix -> win/wce autodetection to not kick in on os2/dos
      platforms.

  * INSTALL
    + Updated cross-build matrix to not show some dos/os2 builds
      fully untested. They should now work in a generic sence.

  ; TOFIX: watcom rules should be synced across platforms to use
           shell specific tricks according to HB_SHELL excpect
           assuming it being the host native one.
           F.e. watcom/dos -> os2 builds will end with:
                Bad command or filename - "@..\..\..\..\..\config\dj-echo".
                watcom/dos -> linux builds will choke because of too long cmdlines.
2009-08-20 13:57:30 +00:00
Viktor Szakats
809b984774 2009-08-20 15:38 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/dos/watcom.mk
    * DOS shell specific hacks protected by HB_SHELL guard.
    * Merged together DOS shell specific hacks.

  * config/win/watcom.mk
  * config/linux/watcom.mk
  * config/os2/watcom.mk
    + Added DOS shell specific hacks, so that cross-builds to these 
      targets on DOS hosts work.
2009-08-20 13:38:47 +00:00
Viktor Szakats
b316dffb15 2009-08-20 14:16 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
  * INSTALL
  * bin/hb-mkdyn.sh
  * bin/hb-mkdyn.bat
    + Added HB_USER_DFLAGS to add custom linker flags to .dll link command.
      (just like in hbmk2)
    - In hb-mkdyn.sh HB_USER_LDFLAGS deleted, now HB_USER_DFLAGS replaced it.
      (HB_USER_LDFLAGS was missing from darwin link cmd)

  * bin/hb-mkdyn.bat
    ! HB_DLLLIBS -> HB_DLLIBS

  * config/global.mk
    + Added HB_DLLIBS to list of misc custom settings.

  * INSTALL
    + Revision of OPTIONS AVAILABLE WHEN BUILDING HARBOUR section.
    ! Typo.
2009-08-20 12:17:05 +00:00
Przemyslaw Czerpak
8de02b2337 2009-08-20 13:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbthread.h
    ! do not include <process.h> in WinCE builds
2009-08-20 11:32:38 +00:00
Przemyslaw Czerpak
5323a87636 2009-08-20 11:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/config/bsd/gcc.mk
  * harbour/config/darwin/gcc.mk
  * harbour/config/hpux/gcc.mk
  * harbour/config/dos/djgpp.mk
  * harbour/config/win/mingw.mk
  * harbour/config/linux/gcc.mk
  * harbour/config/linux/icc.mk
  * harbour/config/linux/sunpro.mk
  * harbour/config/os2/gcc.mk
  * harbour/config/sunos/gcc.mk
  * harbour/config/sunos/sunpro.mk
    ! replaced wrongly used 'findstring' functions with 'filter' functions.
      Now findstring is used only in places where we are looking for
      substrings not whole words.

  * harbour/source/rdd/wacore.c
    ! fixed typo in comment (by Phil Krylov borrowed from xHarbour)

  * harbour/ChangeLog
    ! fixed my typo in Latin translation of Phil Krylov family
      name - sorry Phil.
2009-08-20 09:47:56 +00:00
Viktor Szakats
a1a747b798 2009-08-20 11:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
  * config/wce/msvcarm.mk
    ! Fixes to cmdline macros, now many warnings are gone.

  * utils/hbmk2/hbmk2.prg
    + Added ceshell, oleaut32 syslibs to default wce liblist.
      (to be more in sync with win)

  * contrib/hbwin/hbwin.hbc
    ! Added sms syslib for wce.
2009-08-20 09:09:57 +00:00
Viktor Szakats
31e4251528 2009-08-20 10:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    + Don't attempt to install includes and docs if HB_INSTALL_PREFIX 
      is set to source tree root. (to suppress 'cannot copy file to itself' 
      warnings)
2009-08-20 08:45:21 +00:00
Viktor Szakats
02b1a335b0 2009-08-20 09:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
  * config/global.mk
    + Added autodetection for old MSVC for WinCE versions (clarm.exe based ones).
    + Added autodetection for HB_VISUALC_VER_PRE80 value for msvcarm targets.

  * INSTALL
    + Added cross-build matrix. Tweaked cross-build information.
    + Added MSVC 2005 for WinCE/ARM example.
    ; TODO: Create separate example section for native and cross-builds.
2009-08-20 07:56:27 +00:00
Viktor Szakats
1351010ae4 2009-08-20 08:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/legacy.prg
  * contrib/hbwin/legacyco.c
    + Reimplemented numeric pointer support in legacy OLE interface
      with the help of Przemek and Antonio. Please test.
2009-08-20 06:27:45 +00:00
Viktor Szakats
8da389c5b0 2009-08-20 08:10 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    ! Fixed to handle spaces in PATH elements.
      Now '#' is used as intermediate char. Please change it to something
      else if you feel this might clash with some real-world scenarios.

  * utils/hbmk2/hbmk2.prg
  * config/wce/msvcarm.mk
    ! Readded -DUNDER_CE.
      Does anyone know of any documentation about required macros
      for WinCE compilation?
2009-08-20 06:13:12 +00:00
Pritpal Bedi
bea2aecb93 2009-08-19 17:02 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbxbp/xbpbrowse.prg
    ! Horizontal scrolling made more perfect and Clipper like.
    % Started LEFT FREEZE.
2009-08-20 00:04:00 +00:00
Przemyslaw Czerpak
2adb22e920 2009-08-20 01:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/config/bsd/gcc.mk
  * harbour/config/bin.mk
  * harbour/config/hpux/gcc.mk
  * harbour/config/darwin/gcc.mk
  * harbour/config/linux/gcc.mk
  * harbour/config/linux/icc.mk
  * harbour/config/linux/global.mk
  * harbour/config/linux/sunpro.mk
  * harbour/config/rules.mk
  * harbour/config/os2/gcc.mk
  * harbour/config/sunos/gcc.mk
  * harbour/config/sunos/sunpro.mk
    ! replaced wrongly used 'findstring' functions with 'filter' functions

  * harbour/config/linux/global.mk
    * enable -fPIC for all non x86@32 GCC and ICC Linux builds
2009-08-19 23:23:25 +00:00
Przemyslaw Czerpak
8bd403daa5 2009-08-20 00:52 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/config/global.mk
    ! fixed typo in platform detection 'ifeq' instead of 'ifneq' and 'win'
      was set as default
    ! replaced wrongly used 'findstring' functions with 'filter' functions
    ! added small trick in path prefix detection to avoid false results
      from 'findstring' function
    ! look for 'suncc' instead of 'cc' detecting SunPRO C compiler
      ('cc' is default C compiler link in all *nixes)
2009-08-19 22:52:57 +00:00
Przemyslaw Czerpak
19d6c252b9 2009-08-20 00:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
    * use -I<path> parameter passed to Harbour compiler in hb* scripts
      also with C compiler for C code inside #pragma begindump/enddump
2009-08-19 22:03:22 +00:00
Viktor Szakats
1d4fc3b164 2009-08-19 21:26 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added msvcarm examples (using MSVC 2008. 2005 should be similar).

  * config/wce/msvcarm.mk
    % Somewhat reduced number of macro options.
    ! Deleted debug switch from default c option list.
    % Deleted a few more default c options.
    ! Added corelibc to syslib list.
    ! Cleaned linker flags to make it link. Some others
      just removed, they seem not required.

  * utils/hbmk2/hbmk2.prg
    * Synced msvcarm settings with .mk.

  * config/global.mk
  * utils/hbmk2/hbmk2.prg
    + Added msvcarm autodetection to both GNU Make and hbmk2.

  * config/wce/global.mk
  * config/wce/poccarm.mk
  * utils/hbmk2/hbmk2.prg
  * bin/hb-mkdyn.bat
    + Added coredll to wce syslib list.
      (required for msvc and pocc, optional for mingw)

  ; Now msvcarm builds, with a lot of warnings.
2009-08-19 19:27:00 +00:00
Viktor Szakats
269a4b9669 2009-08-19 20:06 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* debian/rules
    * Using spaces instead of tabs for indentation.
2009-08-19 18:07:15 +00:00
Viktor Szakats
37369dc1ca 2009-08-19 20:04 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* debian/rules
    ! Changed make_gnu.sh references to direct make commands.
      (please verify me)
2009-08-19 18:04:43 +00:00