Commit Graph

11396 Commits

Author SHA1 Message Date
Przemyslaw Czerpak
7dde2f4e53 2009-07-16 12:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/config/win/watcom.cf
    * added SYS NT to link options - it's default in Windows builds but
      is necessary in cross builds

  * harbour/config/global.cf
    * small modification in platform checking order to reduce possible
      interactions with some extended host information
    + added automatic HB_BIN_COMPILE setting based on binaries located
      in PATH.
    ! export some variables to avoid repeated setting in recursive calls
      what causes some bad side effects, i.e. multiple __PLATFORM__*
      macro settings in cross builds what was breaking cross compilation
      and also slow down the whole build process.
2009-07-16 10:46:48 +00:00
Viktor Szakats
83b8dca701 2009-07-16 12:13 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/instsh.cf
  * config/dirsh.cf
  * config/globsh.cf
    % Grouped non-bash (batch) initializations to reduce redundancy.
    * Changed 'md' command to 'mkdir' in OS/2 and DOS, just to be
      in sync, mkdir is available in all shells.
    + Added links to good multiplatform batch docs.

  * utils/hbmk2/hbmk2.prg
    + Added ability to start -gui targets on OS/2.
2009-07-16 10:14:39 +00:00
Viktor Szakats
43cd4d5102 2009-07-16 10:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbextern.ch
  * source/lang/Makefile
  + source/lang/msguados.c
    + Added Ukrainian language module for cp1125.
      (borrowed from xhb, work of Pavel Tsarenko.)
      I've made a few corrections compared to xhb:
      - Using the same internal name as filename for
        consistency with other language modules
        (UADOS instead of UA1125).
      - Fixed date format which must only contain YYYY, MM, DD
        regardless of the CP/language used, since it's a picture mask.
      - Formatting (semicolon, spaces, deleted embedded $Id$ not
        needed with SVN)
      - Added to hbextern.ch.

  * source/lang/msguakoi.c
  * source/lang/msgua866.c
    * Two corrections to internal name.
      (borrowed from xhb, work of Pavel Tsarenko.)
    ; QUESTION: I wonder why the texts are very much different in
                Harbour and xhb. Someone familiar with Ukrainian
                language and encodings should check this, only one
                of them can be right and all CPs should be synced 
                with each other the only thing being different is 
                the encoding.

  * source/codepage/msguakoi.c
    ! Fixed one letter.

  * source/codepage/cpuawin.c
  * source/codepage/cpua1125.c
  * source/codepage/cpua866.c
  * source/codepage/cpuakoi.c
    * Added "CYRILLIC LETTER GHE WITH UPTURN" letter.
      (borrowed from xhb, work of Pavel Tsarenko.)
2009-07-16 08:49:33 +00:00
Viktor Szakats
f0659091a8 2009-07-16 10:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* make_gnu_os2.cmd
  * make_gnu.bat
  * make_gnu.sh
    % Deleted install dir creation. Now done from GNU Make.

  * make_gnu_os2.cmd
    * Installs libs in lib/<arch>/<comp> by default just like
      win/dos builds.

  * config/instsh.cf
    ! Fixed missing semicolon.

  * config/rules.cf
    * Minor in comments.

  * include/hbsetup.h
  * source/common/hbprintf.c
    - Removed temporary enabler logic, here testing is over.
2009-07-16 08:03:03 +00:00
Viktor Szakats
7793c230c9 2009-07-16 04:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/instsh.cf
    + Implemented automatic creation of install dir for all shells.
      (only nt and dos were tested, os2 should be okay since it's the
      same as dos.)
    + Implemented to ignore empty install dir. This can be useful in
      practice although make_gnu.* starter scripts mask this feature yet.
      (bash gave an error so far on empty install dirs, this is now 
      changed)

  * doc/en-EN/Makefile
    - Deleted ending slash from DOC_SUBDIR.
2009-07-16 02:26:39 +00:00
Viktor Szakats
28e6cbe227 2009-07-16 03:10 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/instsh.cf
  * config/dirsh.cf
  * config/globsh.cf
    % Using $(CMDPREF) instead of '$(COMSPEC) /C'.
2009-07-16 01:11:09 +00:00
Viktor Szakats
97e2f86709 2009-07-16 02:57 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- config/hpux/dir.cf
  * config/hpux/global.cf
  - config/hpux/install.cf
  - config/darwin/dir.cf
  * config/darwin/global.cf
  - config/darwin/install.cf
  - config/dos/dir.cf
  * config/dos/global.cf
  - config/dos/install.cf
  * config/win/global.cf
  - config/win/install.cf
  - config/win/dir.cf
  - config/linux/dir.cf
  * config/linux/global.cf
  - config/linux/install.cf
  - config/os2/dir.cf
  * config/os2/global.cf
  - config/os2/install.cf
  - config/sunos/dir.cf
  * config/sunos/global.cf
  - config/sunos/install.cf
  - config/bsd/dir.cf
  * config/bsd/global.cf
  - config/bsd/install.cf
  - config/wce/dir.cf
  * config/wce/global.cf
  - config/wce/install.cf
    * Minor change in dos specific dirbase:: checks. Should be
      equivalent.
    * darwin/gcc was running RANLIB on install. I've removed
      this for now and if ranlib is required on Darwin, it
      should be readded to gcc.cf.

  * config/os2/gcc.cf
    * Changed to not rely on LIB_FILE_OS.

  * config/dir.cf
  + config/dirsh.cf
  * config/global.cf
  + config/globsh.cf
  * config/install.cf
  + config/instsh.cf
    ! Fixed NT vs dos shell detection. (hopefully)
    + Shell dependent logic merged and moved into new *_sh.cf
      files. The filename is ugly, but couldn't yet find a better one.
      This means a great deal of redundancy is now removed, plus
      now cross-platform combinations aren't limited by missing
      shell support. New shells can now be added with much less work.
    ; Please test, it's possible that I made some mistakes along the way,
      and haven't tested bash yet. Nor OS/2 obviously.
2009-07-16 01:02:11 +00:00
Viktor Szakats
a8c53c2e3e 2009-07-16 01:11 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.cf
  * config/win/global.cf
  * config/linux/global.cf
  * config/os2/global.cf
  * config/wce/global.cf
    + Changed host CPU detection.
    + Added automatic __PLATFORM__* macro configuration in cross-build
      situations.
    + Enhanced target/host CPU detection and decisions based on them.
    + Added automatic HB_BIN_COMPILE setup if not specified by user.
      In such case Harbour build will automatically look for the first
      available native build and use that.
    + Protected detection related screen messages with HB_BUILD_VERBOSE=yes.
    * Minor sync in shell command definition order.

  * INSTALL
    % User set __PLATFORM__* macro tweaks not needed anymore.

  * bin/postinst.cmd
  * bin/postinst.bat
  * bin/hb-func.sh
    * addins -> addons
      (hm, which is better?)
2009-07-15 23:13:16 +00:00
Viktor Szakats
25ab839bd0 2009-07-15 22:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/rules.cf
  * config/dos/watcom.cf
  * config/dos/dir.cf
  * config/dos/global.cf
  * config/dos/install.cf
  * config/win/watcom.cf
  * config/win/global.cf
  * config/win/install.cf
  * config/win/dir.cf
  * config/win/bcc.cf
  * config/linux/watcom.cf
  * config/linux/dir.cf
  * config/linux/global.cf
  * config/linux/install.cf
  * config/os2/watcom.cf
  * config/os2/dir.cf
  * config/os2/global.cf
  * config/os2/install.cf
  * config/wce/dir.cf
  * config/wce/global.cf
  * config/wce/install.cf
    % Using HB_SHELL variable for shell detection.
    % Using HB_HOST_ARCH variable for host detection.

  * config/os2/install.cf
  * config/linux/install.cf
    * Indentation of bash install rules in win/wce/linux.

  * config/darwin/install.cf
  * config/hpux/install.cf
  * config/sunos/install.cf
  * config/bsd/install.cf
    * Minor sync with other copies. Still not fully the same (the first line).
2009-07-15 20:29:33 +00:00
Viktor Szakats
8e3c8f060f 2009-07-15 22:04 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/dos/global.cf
  * config/global.cf
  * config/win/global.cf
  * config/linux/global.cf
  * config/os2/global.cf
  * config/wce/global.cf
    + COMSPEC detection centralized. Added command.com defaulting in DOS shells.
    * Some 'MK:=' changed to 'MK='. (maybe ':=' is the correct one, I just
      syncing yet)
    + Added IA64 detection.
    + Not giving warning on missing HB_BIN_COMPILE on some host-target
      combinations which don't require it (win32 on win64 and dos on win32).

  * config/dos/global.cf
    % Simplified an if construct. QUESTION added.
2009-07-15 20:08:03 +00:00
Viktor Szakats
fecbf507cc 2009-07-15 21:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/rules.cf
  * config/darwin/gcc.cf
  * config/hpux/gcc.cf
  * config/dos/dir.cf
  * config/dos/global.cf
  * config/dos/install.cf
  * config/global.cf
  * config/win/global.cf
  * config/win/install.cf
  * config/win/dir.cf
  * config/bin.cf
  * config/linux/gcc.cf
  * config/linux/dir.cf
  * config/linux/icc.cf
  * config/linux/global.cf
  * config/linux/install.cf
  * config/os2/dir.cf
  * config/os2/global.cf
  * config/os2/install.cf
  * config/dir.cf
  * config/sunos/gcc.cf
  * config/bsd/gcc.cf
  * config/c.cf
  * config/wce/dir.cf
  * config/wce/global.cf
  * config/wce/install.cf
    * Formatting (whitespaces, indentation).

  * utils/hbtest/Makefile
    * Moved setting before including central make files.

  * config/global.cf
    + COMSPEC detection completed.
2009-07-15 19:40:15 +00:00
Przemyslaw Czerpak
e4cfb37946 2009-07-15 20:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/harbour.spec
    ! fixed RPM building after recent modification in Makefiles

  * harbour/harbour-win-spec
  * harbour/harbour-wce-spec
    * updated for new binary files directory and HB_BIN_COMPILE meaning

  * harbour/source/pp/Makefile
  * harbour/config/rules.cf
    ! fixed binary extension used to execute hbpp and harbour,
      AFAIK in current version it should be HB_HOST_BIN_EXT not EXE_EXT

  * harbour/config/global.cf
    ! fixed host architecture autodetection:
         @uname = $(shell uname -a)
      does not execute command silently but creates envvar '@uname'
    % added function for host detection and extended host detection
      rules to work with some envvars
    % test some known OS envvars before calling uname
    ! use 'uname -s' instead of 'uname -a' which may cause wrong host
      detection when host name contains some string we are looking for
    ! set .exe in HB_HOST_BIN_EXT for win_amd64
2009-07-15 18:02:57 +00:00
Viktor Szakats
22eba88dc3 2009-07-15 20:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/Makefile
  + include/hbextcdp.ch
  * include/hbextern.ch
  * utils/hbmk2/hbmk2.prg
    + Separated EXTERNAL HB_CODEPAGE_* lines to hbextcdp.ch.
      These are commonly needed by apps.
    * Using hbextcdp.ch in hbmk2.
    ; TODO: hbextern app needs to be updated to filter out 
            CODEPAGE symbols.
2009-07-15 18:01:41 +00:00
Viktor Szakats
f33a815035 2009-07-15 19:14 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/win/mingw.cf
  * config/wce/mingwarm.cf
    * LDLIBS -> LIBLIST
2009-07-15 17:14:25 +00:00
Viktor Szakats
934ddf43b1 2009-07-15 18:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/win/mingw.cf
  * config/wce/mingwarm.cf
    % Optimized out LIB_DIR_OS_ vars.

  * config/dos/watcom.cf
  * config/win/watcom.cf
  * config/win/bcc.cf
  * config/linux/watcom.cf
  * config/os2/watcom.cf
    ! Minor: += -> = (after recent changes)
2009-07-15 16:53:53 +00:00
Viktor Szakats
8803ac29e6 2009-07-15 18:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/pp/Makefile
  * source/pp/hbpp.c
    + hbpp is now accepting directory for -c parameter and in this
      case it will check ChangLog names in specified dir.
    + Modified make file to pass dir to hbpp so now it configures 
      itself automatically no matter where we move the object directory.
    ; Please review me.
2009-07-15 16:08:52 +00:00
Viktor Szakats
3b08018672 2009-07-15 17:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/pp/hbpp.c
    ! Need to go one level up after latest changes.

  * doc/dirstruc.txt
    - Deleted reference to old central obj dir.
2009-07-15 15:52:41 +00:00
Viktor Szakats
8ddf0874f8 2009-07-15 17:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.cf
    + Enabled base directory for all intermediate build files
      (objects, Harbour generated .c files, etc).
      Now they will be put under 'obj' dir inside each source
      directory.
      After this huge task, it's now possible to filter out
      all these intermediate files from grep, hbextern commands.
      For me this means I can do without a parallel virgin
      repository kept for grep usage.

  * examples/hbextern/hbextern.prg
    * Filtering obj dirs instead of all platforms specifically.

  * config/c.cf
    ! Fixed to use $(GRANDP) instead of hard-wired ../../ dir.
      Please verify me.

  ; Przemek, you can now go on, the only remaining larger thing
    is moving install dir creation to GNU Make level.
2009-07-15 15:36:01 +00:00
Viktor Szakats
7c10651b62 2009-07-15 17:24 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/dos/global.cf
  * config/global.cf
  * config/linux/global.cf
  * config/os2/gcc.cf
  * config/os2/global.cf
    * Finished internal support for obj base dir. In next step
      I'll enable it.
2009-07-15 15:25:53 +00:00
Viktor Szakats
1e67d269a8 2009-07-15 17:08 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.cf
  * config/darwin/global.cf
  * config/hpux/global.cf
  * config/dos/global.cf
  * config/win/global.cf
  * config/linux/global.cf
  * config/os2/global.cf
  * config/sunos/global.cf
  * config/bsd/global.cf
  * config/wce/global.cf
    * 'OBJ_DIR := $(ARCH_COMP)' moved to central global.cf.
      (equivalent modification)
2009-07-15 15:08:57 +00:00
Viktor Szakats
3b0859f10f 2009-07-15 17:01 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.cf
    + Added OBJ_BASE. (empty yet)

  * config/dos/global.cf
  * config/win/global.cf
  * config/linux/global.cf
  * config/os2/global.cf
  * config/wce/global.cf
    * Minor tweak to retain "chain of command".
2009-07-15 15:02:16 +00:00
Viktor Szakats
0ad6c173e1 2009-07-15 16:49 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.cf
    + Added new shell detection logic (not used yet)
    + Added experimental HB_HOST_ARCH (host architecture) and
      HB_HOST_BIN_EXT detection. Extra screen messages will be
      deleted later.
      Currently 3.81 GNU Make is required (for the screen messages).
    + Moved DIRSEP init here.
    + Moved CMDPREF init here.
    + Moved CompSpec detection here.

  * config/none.cf
    % Using global.cf for some central logic.

  * config/c.cf
  * config/rules.cf
    % DIRSEP init deleted, now in global.cf
2009-07-15 14:50:51 +00:00
Viktor Szakats
64e0ef60be 2009-07-15 15:29 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* make_gnu_xmingwce.sh
  * make_gnu_xmingw.sh
    * Rename: HB_HOST_CC -> HB_HOST_COMP
2009-07-15 13:29:45 +00:00
Viktor Szakats
4e922aa3b5 2009-07-15 14:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/pp/Makefile
    - Removed HB_PPGEN_PATH setting. Now HB_BIN_COMPILE is used to
      point to the directory where all native executables are to be
      found. This means you can simply delete HB_PPGEN_PATH from
      your local settings.
    ; NOTE: Please update make_gnu_xmingw*.sh script accordingly,
            it should probably accept (detect) HB_BIN_COMPILE and
            drop HB_COMP_PATH / HB_PPGEN_PATH settings.
            Or, we should define some new ways to define cross
            builds replacing the current mess (there is also
            HB_XBUILD). I'd vote for these envvars:
            - HB_HOST_ARCH        (linux, win, dos, os2, etc...)
            - HB_HOST_BIN         (dir of native executables)
            - HB_HOST_BIN_EXT     (.exe or empty)

  * INSTALL
    * Updated cross-build sections and deleted make_gnu_xmingw*.sh
      related exception to keep instructions clean.

  * contrib/hbwin/wapi_commctrl.c
  * contrib/hbwin/hbwapi.h
    ! Fixed to compile under various other win compilers.
    ! Added missing WinCE protections. (notice all tools are freely
      available to check these and avoid breaking builds)
      Added non-WinCE branch to return dummy values.
    ! Formatted: (_WIN32_IE >= 0x0300) -> ( _WIN32_IE >= 0x0300 )
    ! Fixed non-ANSI comments.
    ! Fixed warnings, and there is still some dubious comversions
      in there like HANDLE - HTREEVIEW and RECT passings. I wonder
      if it is possible at all to create clean Windows API code.
    ; NOTE: Please take care of above stuff, it's not a pleasure
            to be the cleaner of such code, but it breaks builds 
            to it must be done all the time.
    ; NOTE: I'd like to recommend adding only Windows API functions
            which are available on all Windows platforms (WinCE,
            Win64) otherwise it will be more difficult to build
            anything portable on top of them.
    ; QUESTION: Why many functions are disabled with #if 0?
2009-07-15 13:04:39 +00:00
Viktor Szakats
f6bfa2149e 2009-07-15 14:01 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/hpux/install.cf
  * config/darwin/install.cf
  * config/dos/install.cf
  * config/win/install.cf
  * config/install.cf
  * config/linux/install.cf
  * config/os2/install.cf
  * config/sunos/install.cf
  * config/bsd/install.cf
  * config/wce/install.cf
    ! Restored previous install rule setup, to fix hbpp combined
      lib/bin install case.
    ; QUESTION: How to use multiple commands in a non-bash (= batch)
                INSTALL_RULE variable? This would be needed to support
                automatic addition of install dirs with non-bash shells.
2009-07-15 12:02:59 +00:00
Viktor Szakats
d3fd9484c7 2009-07-15 13:42 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/win/bcc.cf
    + Restored bash rules for bcc.
2009-07-15 11:44:39 +00:00
Viktor Szakats
862c0c5e92 2009-07-15 13:06 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/pp/Makefile
  * config/rules.cf
  * config/darwin/gcc.cf
  * config/dos/watcom.cf
  * config/dos/djgpp.cf
  * config/global.cf
  * config/lib.cf
  * config/win/watcom.cf
  * config/bin.cf
  * config/linux/watcom.cf
  * config/os2/watcom.cf
  * config/os2/gcc.cf
    + Now all binaries will be created inside bin/<arch>/<comp>,
      instead of the work/obj dir.
    ; Please test. (I didn't test cross-compilation yet, but maybe
      now it's a better time to cleanup the HB_PPGEN_PATH, HB_BIN_COMPILE
      settings and drop the former.
    ! Reverted prev cleanup.
    ; TOFIX: install rule for hbpp lib doesn't work after recent 
             change.
    ; TODO: Delete HB_PPGEN_PATH
2009-07-15 11:37:24 +00:00
Viktor Szakats
73f222b8de 2009-07-15 12:39 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/lib.cf
  * config/bin.cf
    * Minor cleanup.
2009-07-15 10:40:21 +00:00
Viktor Szakats
b3ed7c67f0 2009-07-15 12:23 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/darwin/install.cf
  * config/hpux/install.cf
  * config/dos/install.cf
  * config/install.cf
  * config/win/install.cf
  * config/linux/install.cf
  * config/os2/install.cf
  * config/sunos/install.cf
  * config/bsd/install.cf
  * config/wce/install.cf
    * Little tweak to install rules to allow multiline rules
      on non-bash shells.
      Maybe there is another way, but couldn't find it.
    ; This is a step towards moving install dir creation to
      GNU Make level.
2009-07-15 10:27:40 +00:00
Viktor Szakats
2a935acc52 2009-07-15 11:58 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/hbinet.c
    * Formatting, cleanup.
    * Few types cleaned. Although many 'int's seems better be 'long',
      I didn't touch it.
      Please review. No functionality should change.
    ! HB_INETSTATUSDESC() to always return string if socket is valid.
2009-07-15 10:26:14 +00:00
Viktor Szakats
a6d09862ac 2009-07-15 11:16 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/darwin/global.cf
  * config/hpux/global.cf
  * config/dos/global.cf
  * config/win/global.cf
  * config/linux/global.cf
  * config/os2/global.cf
  * config/sunos/global.cf
  * config/bsd/global.cf
  * config/wce/global.cf
    + Added dir creation for executables.
      This is a preparation step towards generating executables
      inside bin/<ARCH>/<COMP>.
    * Dir creation on OS/2 shells changed a bit, I hope it works,
      and I'm not sure if it was intentional to use a different
      solution than DOS/NT shells, since there is only GNU Make
      logic involved. Anyhow, please test.

  * config/dos/global.cf
    % Deleted (unused) RANLIB reference.
2009-07-15 09:18:43 +00:00
Viktor Szakats
858b7491e6 2009-07-15 10:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/win/bcc.cf
    ! Restored branch to use link script to avoid cmdline length
      limits present on some NT systems.
      Also fixed to work on paths with spaces.

  * config/bin.cf
    * Minor cleanup to prev.

  * config/bin.cf
  * config/lib.cf
    + Preparation for moving the generated binaries in:
      bin/<ARCH>/<COMP>
2009-07-15 08:48:17 +00:00
Pritpal Bedi
3b1ba5c2ec 2009-07-14 22:40 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbxbp/xbp.ch
  + contrib/hbxbp/xbpbrowse.prg
    + Started XbpBrowse(), XbpColumn() and XbpCellGroup() classes - skeleton only.
2009-07-15 05:41:44 +00:00
Pritpal Bedi
a141cef22b 2009-07-14 20:48 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbwin/hbwapi.h
  * contrib/hbwin/wapi_commctrl.c
    + Added TreeView_* functions under namespace HB_FUNC( WAPI_TREEVIEW_* ).
      NOTE: Please check for different compilers/platforms. I have tried to confine
            functions in #ifdef but these may be limited.
2009-07-15 03:53:39 +00:00
Pritpal Bedi
d172b689ab 2009-07-14 19:06 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbxbp/xbpfontdialog.prg
  * contrib/hbxbp/xbprtf.prg
    + Implemented :print( oXbpPrinter, lOnlySelection ) in XbpRTF() class.
      TODO: <lOnlySelection> is not functional yet.
    + Implemented :selFont GETSET METHOD - Harbour Extension - this accepts 
      XbpFont() object as new font.

  * contrib/hbxbp/tests/demoxbp.prg
    + Demonstrated the use of XbpFontDialog() with XbpRTF().
         1. Click on <Rtf> tab.
         2. Select some text.
         3. Click on <Font> Push Button - it will open Font Dialog on the left-top corner.
         4. Move around in the font dialog, select every factor available, change it,
            you will see the effects on selected text in <Rtf>.
2009-07-15 02:15:18 +00:00
Viktor Szakats
2b2a377ff9 2009-07-15 03:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/pp/Makefile
  * config/hpux/global.cf
  * config/darwin/global.cf
  * config/dos/global.cf
  * config/lib.cf
  * config/win/global.cf
  * config/linux/global.cf
  * config/bin.cf
  * config/os2/global.cf
  * config/test.cf
  * config/sunos/global.cf
  * config/bsd/global.cf
  * config/wce/global.cf
    * ARCH_COMP_OS  -> OBJ_DIR_OS
    * ARCH_COMP_DIR -> OBJ_DIR
    (using names that make more sense)
2009-07-15 01:31:27 +00:00
Przemyslaw Czerpak
99c6f1913f 2009-07-15 03:28 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/gtwin/gtwin.c
    * added code to disable/enable mouse input by:
         hb_gtInfo( HB_GTI_MOUSESTATUS, <lOnOff> )
      It's possible that hb_gtInfo( HB_GTI_MOUSESTATUS, .F. ) will also
      disable mouse cursor in full screen mode but I haven't tested it.
      Please check.
2009-07-15 01:28:20 +00:00
Viktor Szakats
6cd0529480 2009-07-15 03:11 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/gtwin/gtwin.c
    * Minor formatting.

  * source/rtl/gtapi.c
    % hb_gtSetCursor(): Deleted parameter evaluation.
      It's better to do it only on low-level.

  * config/win/bcc.cf
    % Line deleted.

  * utils/hbmk2/hbmk2.prg
    + -nohblib now supported in scripts.
    + -nohblib- option added.

  * examples/pp/pp.hbp
    * Comment deleted.
2009-07-15 01:12:42 +00:00
Przemyslaw Czerpak
e81c3d4058 2009-07-15 02:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/config/hpux/gcc.cf
  * harbour/config/darwin/gcc.cf
  * harbour/config/dos/watcom.cf
  * harbour/config/dos/djgpp.cf
  * harbour/config/win/watcom.cf
  * harbour/config/win/icc.cf
  * harbour/config/win/cygwin.cf
  * harbour/config/win/msvc.cf
  * harbour/config/win/xcc.cf
  * harbour/config/win/mingw.cf
  * harbour/config/win/pocc.cf
  * harbour/config/win/bcc.cf
  * harbour/config/linux/watcom.cf
  * harbour/config/linux/gcc.cf
  * harbour/config/linux/icc.cf
  * harbour/config/os2/watcom.cf
  * harbour/config/os2/gcc.cf
  * harbour/config/sunos/gcc.cf
  * harbour/config/bsd/gcc.cf
  * harbour/config/wce/msvcarm.cf
  * harbour/config/wce/mingwarm.cf
  * harbour/config/wce/poccarm.cf
    * cleanup: rtl -> hbrtl, rdd -> hbrdd

  * harbour/harbour.spec
  * harbour/harbour-win-spec
  * harbour/harbour-wce-spec
  * harbour/include/hbcomp.h
  * harbour/source/Makefile
  + harbour/source/nulrtl
  + harbour/source/nulrtl/nulrtl.c
  + harbour/source/nulrtl/Makefile
    + added hbnulrtl library to use non .prg harbour binaries

  * harbour/source/rtl/strmatch.c
  * harbour/source/common/Makefile
  + harbour/source/common/strwild.c
    * moved hb_strMatch*() functions from RTL to COMMON library
      Warning: copyright changed in new file. Viktor is rtl/strmatch.c
      copyright holder but hb_strMatch*() functions is my code.

  * harbour/source/rtl/Makefile
  - harbour/source/rtl/hbffind.c
  * harbour/source/common/Makefile
  * harbour/source/common/hbffind.c
    * moved hb_fsFind*() functions from RTL to COMMON library

  * harbour/source/main/harbour.c
  * harbour/source/main/Makefile
    * use hbnulrtl library to create harbour binaries

  * harbour/source/pp/Makefile
  * harbour/source/pp/hbpp.c
    * use hbnulrtl library to create hbpp binaries
    * added support for wildcard search

  * harbour/examples/pp/pp.c
  * harbour/examples/pp/pp.hbp
    * use hbnulrtl library to create pp binaries
      question: why is ignored -nohblib in pp.hbp?

  * harbour/contrib/rddads/ads1.c
    % removed always false if() { ... } statement
2009-07-15 00:37:09 +00:00
Pritpal Bedi
a03812d75a 2009-07-14 14:07 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt.h
 * contrib/hbqt/hbqt_slots.cpp
 * contrib/hbqt/hbqt_slots.h
   ! Cleanups and formatting and copryright rearrangement.
2009-07-14 21:17:29 +00:00
Pritpal Bedi
7b2866488c 2009-07-14 14:05 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/tests/demoqt.prg
   ! Some tweaks.
    
     /* Lorenzo, you did not noted in ChangeLog after committing .*/
2009-07-14 21:06:03 +00:00
Pritpal Bedi
933a678c12 2009-07-14 13:50 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbxbp/xbpdialog.prg
  * contrib/hbxbp/xbpgeneric.prg
    ! Changed the way AppEvent() eventloop was being executed.
      Not it is more near to Xbase++, not 100% but near. 
      CPU consumption is reduced to 2-3 percent.

  * contrib/hbxbp/xbprtf.prg
    + Implemented more XbpRTF() features.

  * contrib/hbxbp/tests/demoxbp.prg
    + Demonstrated more XbpRtf() features. 
      Play with Rtf tab.
2009-07-14 21:02:52 +00:00
Viktor Szakats
79e770afe3 2009-07-14 22:42 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/hpux/gcc.cf
  * config/darwin/gcc.cf
  * config/dos/watcom.cf
  * config/dos/djgpp.cf
  * config/global.cf
  * config/win/watcom.cf
  * config/win/icc.cf
  * config/win/cygwin.cf
  * config/win/msvc.cf
  * config/win/xcc.cf
  * config/win/mingw.cf
  * config/win/pocc.cf
  * config/win/bcc.cf
  * config/install.cf
  * config/linux/watcom.cf
  * config/linux/gcc.cf
  * config/linux/icc.cf
  * config/os2/watcom.cf
  * config/os2/gcc.cf
  * config/sunos/gcc.cf
  * config/bsd/gcc.cf
  * config/wce/msvcarm.cf
  * config/wce/mingwarm.cf
  * config/wce/poccarm.cf
    % Deleted HB_LIB_COMPILE support. With this setting it was
      possible to override default internal lib path for the builds.
      Not needed in practice.
2009-07-14 20:44:57 +00:00
Viktor Szakats
948e47b81e 2009-07-14 22:06 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/hpux/gcc.cf
  * config/darwin/gcc.cf
  * config/dos/watcom.cf
  * config/dos/djgpp.cf
  * config/win/watcom.cf
  * config/win/icc.cf
  * config/win/cygwin.cf
  * config/win/msvc.cf
  * config/win/xcc.cf
  * config/win/mingw.cf
  * config/win/pocc.cf
  * config/win/bcc.cf
  * config/linux/watcom.cf
  * config/linux/gcc.cf
  * config/linux/icc.cf
  * config/os2/watcom.cf
  * config/os2/gcc.cf
  * config/sunos/gcc.cf
  * config/bsd/gcc.cf
  * config/wce/msvcarm.cf
  * config/wce/mingwarm.cf
  * config/wce/poccarm.cf
    % Deleted CONTRIBS settings which could add extra libs to the
      Harbour build process. Harbour build process shouldn't
      rely on extra libs, so this is not necessary.
2009-07-14 20:09:19 +00:00
Viktor Szakats
de5f21a90c 2009-07-14 21:58 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/darwin/gcc.cf
  * config/dos/watcom.cf
  * config/win/cygwin.cf
  * config/win/mingw.cf
  * config/win/bcc.cf
  * config/os2/watcom.cf
  * config/wce/mingwarm.cf
    % Deleted references to half/unused features from the past,
      not really needed for core build:
      - LNK_USR_PATH
      - LNK_USR_LIB
      - HB_USER_LIBS
      - HB_SCREEN_LIB
2009-07-14 20:01:02 +00:00
Viktor Szakats
bce14d30e1 2009-07-14 21:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/pp/Makefile
  * config/global.cf
  * config/bin.cf
  * config/test.cf
  * config/lib.cf
  * config/darwin/global.cf
  * config/hpux/global.cf
  * config/dos/global.cf
  * config/win/global.cf
  * config/linux/global.cf
  * config/os2/gcc.cf
  * config/os2/global.cf
  * config/sunos/global.cf
  * config/bsd/global.cf
  * config/wce/global.cf
    * HB_ARCH     -> ARCH_COMP
    * HB_ARCH_OS  -> ARCH_COMP_OS
    * ARCH_DIR    -> ARCH_COMP_DIR
    * LIB_ARCH    -> LIB_FILE
    * LIB_ARCH_OS -> LIB_FILE_OS
    * EXE_ARCH    -> EXE_FILE
    * LIB_PATH    -> LIB_ARCH_DIR
    * LIB_PATH_OS -> LIB_ARCH_DIR_OS
    (Renamed in the hope the new names will make a little bit more sense)
2009-07-14 19:52:24 +00:00
Viktor Szakats
0474999908 2009-07-14 21:01 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/dos/global.cf
  * config/win/global.cf
  * config/win/mingw.cf
  * config/linux/global.cf
  * config/os2/gcc.cf
  * config/os2/global.cf
  * config/wce/global.cf
  * config/wce/mingwarm.cf
    * DOS_ARCH_DIR -> HB_ARCH_OS
    * DOS_LIB_DIR  -> LIB_DIR_OS
    * DOS_LIB_ARCH -> LIB_ARCH_OS
    * DOS_LIB_PATH -> LIB_PATH_OS
    * LIB_PATH_DOS -> LIB_PATH_OS
2009-07-14 19:02:31 +00:00
Viktor Szakats
02b2a299bf 2009-07-14 20:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/dos/dir.cf
  * config/win/dir.cf
  * config/linux/dir.cf
  * config/os2/dir.cf
  * config/wce/dir.cf
    * DIR_LIST -> DIRS_OS
    * DIR_MAKE -> MK_OS
2009-07-14 18:52:49 +00:00
Viktor Szakats
7fecdbfec5 2009-07-14 20:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/dos/install.cf
  * config/win/install.cf
  * config/linux/install.cf
  * config/os2/install.cf
  * config/wce/install.cf
    * Using INSTALL_DIR_OS temp var instead of doing OS conversion inline.
2009-07-14 18:48:25 +00:00
Viktor Szakats
70ba5514ca 2009-07-14 20:42 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/hpux/dir.cf
  * config/darwin/dir.cf
  * config/sunos/dir.cf
  * config/bsd/dir.cf
    + Missing ending EOLs.
2009-07-14 18:43:00 +00:00