Commit Graph

11367 Commits

Author SHA1 Message Date
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
Viktor Szakats
5047203687 2009-07-14 20:39 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/pp/Makefile
  * config/header.cf
  * config/darwin/install.cf
  * config/dos/install.cf
  * config/doc.cf
  * config/lib.cf
  * config/win/install.cf
  * config/bin.cf
  * config/linux/install.cf
  * config/os2/install.cf
  * config/sunos/install.cf
  * config/bsd/install.cf
  * config/wce/install.cf
    * INSTALL_OBJS -> INSTALL_FILES
    * INSTALL_DIRSH -> INSTALL_DIR_OS
    * INSTALL_OBJSH, INSTALL_LIST -> INSTALL_FILES_OS
2009-07-14 18:41:35 +00:00
Lorenzo Fiorini
2e1303e9c6 2009-07-14 20:10 UTC+0200 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com)
* bin/hb-func.sh
    * add creation of unver harbour dll links in win/wce builds
2009-07-14 18:12:47 +00:00
Viktor Szakats
853302df58 2009-07-14 18:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/win/pocc.cf
    + Added /subsystem:console to avoid linker warning.
2009-07-14 16:53:24 +00:00
Viktor Szakats
40a550d49b 2009-07-14 18:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/pp/hbpp.c
  * source/pp/Makefile
    + Moved ChangeLog name detection logic to C level.
2009-07-14 16:32:01 +00:00
Viktor Szakats
38d9c0e799 2009-07-14 18:03 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/hb-func.sh
  * make_gnu.sh
    * Moved lib detection logic to hb-func.sh.
    ; It'd be better to have a way to gather such information
      along the make process in some .cfg files.

  * source/rtl/gtcrs/Makefile
    - Deleted some header locations which weren't checked anyway
      before these changes. Please review.

  * config/djg-make.exe
    + Updated to 3.81 (from 3.79.1) found in djgpp 2.04 (beta)
      (doesn't resolve the dos/watcom problem with hbpp)
2009-07-14 16:05:06 +00:00
Przemyslaw Czerpak
5501f030e3 2009-07-14 16:48 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/pp/Makefile
    ! fixed hardcoded for windows shortcut (Change~1) ChangeLog name
      in DOS OpenWatcom builds so now it's possible again to create
      such builds in real DOS without LFN support
2009-07-14 14:48:32 +00:00
Viktor Szakats
f303c9851e 2009-07-14 16:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* make_gnu.sh
    - Reverted most part of prev. It's still needed to form
      hbmk script and add settings to hbmk.cfg.
2009-07-14 14:22:30 +00:00
Viktor Szakats
926e3318a6 2009-07-14 16:16 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* make_gnu.sh
    - Deleted CRS, SLN, GPM detection.
    ; Now only some CPU dependent Linux settings remain.
      How to move these to central Makefiles?

  * make_gnu.sh
  * config/hpux/gcc.cf
  * config/sunos/gcc.cf
    * -fPIC setting moved to Makefiles.
    * Minor syncing between these two makefiles.
    ; NOTE: hbmk script creation may need to be updated.

  * utils/hbmk2/hbmk2.prg
    + -fPIC now added as standard for hpux and sunos.
2009-07-14 14:17:43 +00:00
Przemyslaw Czerpak
d445694ed6 2009-07-14 15:53 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/gtalleg/gtalleg.c
    * changed the order of #include files to pacify DJGPP 2.04 warnings
2009-07-14 13:53:59 +00:00
Przemyslaw Czerpak
d6e7ca271f 2009-07-14 14:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/config/dir.cf
    ! fixed typo in OLD make detection
2009-07-14 12:51:02 +00:00
Viktor Szakats
1fcbe31892 2009-07-14 12:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/vm/extend.c
    ! [REVERTED - I overlooked it]
      Fixed hb_parvcx() to return "" instead of NULL when dealing
      with array parameters out of bound or non-string.
      (Borrowed from xhb by Ron Pinkas. Although the fix is
      implemented differently in Harbour)
2009-07-14 10:46:00 +00:00
Przemyslaw Czerpak
df06dd542d 2009-07-14 12:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/gtcrs/gtcrs.c
  * harbour/source/rtl/gttrm/gttrm.c
    * updated to compile with DJGPP 2.03
2009-07-14 10:25:46 +00:00
Viktor Szakats
61962be0dd 2009-07-14 12:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/vm/extend.c
    ! Fixed hb_parvcx() to return "" instead of NULL when dealing
      with array parameters out of bound or non-string.
      (Borrowed from xhb by Ron Pinkas. Although the fix is
      implemented differently in Harbour)

  * source/rtl/gttrm/Makefile
    * CFLAGS -> HB_USER_CFLAGS

  * include/hbapicdp.h
  * include/hbextern.ch
  * source/lang/Makefile
  * source/codepage/Makefile
  + source/codepage/cpua1125.c
  + source/codepage/uc1125.c
    + Added DOS Ukrainian 1125 codepage
      (Borrowed from xhb. Work of Pavel Tsarenko)

  * utils/hbmk2/hbmk2.prg
    * OS/2 embedded compiler autodetection order fixed.
2009-07-14 10:16:48 +00:00
Przemyslaw Czerpak
4499e22e7d 2009-07-14 11:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/gtcrs/gtcrs.c
  * harbour/source/rtl/gtcrs/gtcrs.h
  * harbour/source/rtl/gtcrs/Makefile
    * updated to compile with DJGPP and PDCURSES

  * harbour/source/rtl/gttrm/Makefile
  * harbour/source/rtl/gttrm/gttrm.c
    * updated to compile with DJGPP - warning it needs remote terminal or
      at least ANSI driver for local execution

  * harbour/source/rtl/gtchrmap.c
    * enabed for DOS builds
2009-07-14 09:30:34 +00:00
Viktor Szakats
0b0c2ff677 damn. fix again. 2009-07-14 09:22:10 +00:00
Viktor Szakats
2223e66a6d fix to prev 2009-07-14 09:21:31 +00:00
Viktor Szakats
69c952f060 2009-07-14 11:18 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/pp/Makefile
    ! Ugly hack added to make dos/watcom creation under NT hosts.
      Please check/fix since this probably broke dos/watcom on
      DosBox.
    ; NOTE: we should probably rename ChangeLog to CHANGES, as it's
            almost impossible to get it right properly.
            Or, hbpp could look for these alternate short names in
            some predefined order.
2009-07-14 09:19:56 +00:00
Viktor Szakats
74bdd7ee01 2009-07-14 10:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* Makefile
    ! Adjusted a little bit to postinst.bat executed for Linux
      cross builds also.

  * doc/linux1st.txt
  * source/rtl/Makefile
  * config/hpux/global.cf
  * config/darwin/global.cf
  * config/dos/global.cf
  * config/win/global.cf
  * config/win/xcc.cf
  * config/win/mingw.cf
  * config/win/pocc.cf
  * config/linux/watcom.cf
  * config/linux/global.cf
  * config/os2/global.cf
  * config/sunos/global.cf
  * config/bsd/global.cf
  * config/wce/global.cf
  * config/wce/poccarm.cf
    - Deleted references of already halfly-deleted HB_GT_LIB
      support. Users should use -DHB_GT_LIB=<gtname>. HB_GT_LIB
      also has a different, special purpose in os2, this is still
      kept, but it would be better to use some other names for it.
    ! Fixed linux/watcom to suppress .elf extension of binaries
      when built on a non-Linux host.
    - Deleted extra GT libs from link list. Now all *portable* GTs
      plus the default one are *linked*, and all GTs are always
      attempted to be *built*.
    - Deleted checking GT libs extistance. They always exist
      unless the source tree is corrupted, so there is no point
      to do this check.
    * wce/poccarm now always have /SUBSYSTEM:WINDOWS.
    ; NOTE: If we want to support build-time default GT selection/override,
            we should find some proper ways, but it makes things
            very complicated without much benefit, since GT can be
            easily overridden in final apps, supplied binary tools can
            also very easily rebuilt using hbmk2 with whatever GT.

  * utils/hbmk2/hbmk2.prg
    * Minor formatting.
2009-07-14 08:54:11 +00:00
Przemyslaw Czerpak
0d0546f3f5 2009-07-14 09:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/gtcrs/Makefile
  * harbour/source/rtl/gttrm/Makefile
  * harbour/source/rtl/gtsln/Makefile
    * disabled GPM when HB_GPM_MOUSE=no or HB_COMMERCE=yes
      Please remember that GPM is pure GPL library.
2009-07-14 07:43:39 +00:00
Viktor Szakats
693da6cee8 2009-07-14 03:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    * Let's assume 32-bit / little-endian CPU platforms for 
      cross *nix builds, as the most probable case.
2009-07-14 01:08:19 +00:00
Viktor Szakats
e029a6cb05 2009-07-14 02:49 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed to force empty extension for target executables
      when creating Linux targets on non-Linux hosts using watcom.
      (otherwise watcom defaults to '.elf')
    ! Fixed upx command line to force compression (using --force-execve
      option) for Linux targets created on non-Linux hosts using watcom.
      Maybe it's always needed for watcom-built Linux targets, it
      would be nice if someone could try.
2009-07-14 00:53:05 +00:00
Viktor Szakats
b981c6a66b 2009-07-14 01:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/darwin/gcc.cf
  * config/hpux/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/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
    % Moved inclusion of platform specific global.cf to central global.cf.
2009-07-13 23:50:37 +00:00
Viktor Szakats
6c4474b4d3 2009-07-14 01:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/gtcrs/Makefile
  * source/rtl/gtsln/Makefile
    * Detection locations synced with make_gnu.sh.
      (not 100%, ncurses.h isn't checked for existence in Makefile,
      as it's not used anyway in our sources. should be removed from
      make_gnu.sh probably.)
2009-07-13 23:28:42 +00:00
Viktor Szakats
40d66b8a9d 2009-07-14 00:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added Linux build on NT host example.

  * utils/hbmk2/hbmk2.prg
    + Added support for most watcom cross-compile situations.
      (os2/linux/dos on win, os2/linux/win on dos, dos/win/linux on os2,
      dos/win/os2 on linux - I didn't test them all obviously)
    ! Some fixes regarding Linux targets on non-Linux hosts cross
      build situations. This is brand new situation.
    ! Synced watcom/os2 flags with build ones to avoid hbmk2 build errors
      on os2.
    ! Fixed linux/watcom object extension, which appears to be .obj
      when using non-Linux hosts.

  * make_gnu.bat
    * Linux cross-build support.
    ! Fixed to find make_gnu.sh when doing partial builds using
      bash on Windows.

  * config/win/global.cf
  * config/win/install.cf
  * config/linux/dir.cf
  * config/linux/global.cf
  * config/linux/install.cf
  * config/os2/global.cf
  * config/os2/install.cf
  * config/wce/global.cf
  * config/wce/install.cf
    + install bash section synced across linux/windosos2 platforms.
    + empty target handling synced across linux/windosos2 platforms.
    + Added support to linux build files for cross builds on
      Windows and OS/2 hosts.
    ; TODO: Whole install/global/dir.cf logic is just crying to be moved
            to central location and be branched by host platform/shell
            rather than target platform.
    ; Please check me on the linux changes, could be that I messed it up.

  * source/rtl/Makefile
    + Enabled to try building all GTs on every platform.
      Local autodetection should take care of the decision to finally
      build it or not.

  * source/rtl/gtxwc/Makefile
  * source/rtl/gtcrs/Makefile
  * source/rtl/gttrm/Makefile
  * source/rtl/gtsln/Makefile
    + Added self-detection for external headers just like it's done
      in contribs. This is required to support Linux cross-builds on
      Windows. (djgpp + curses ends with build errors)
    + Added GPM autodetection.
    + Enabled gttrm for cygwin. (only in local make file)
    ; TOFIX: Remove such detection logic from make_gnu.sh (it's
             now redundant and doesn't work for djgpp/cygwin)

  * source/rtl/gtwin/gtwin.c
  * source/rtl/hbgtcore.c
  * contrib/xhb/txml.prg
    * Minor formatting.
2009-07-13 23:20:49 +00:00
Pritpal Bedi
f2cfcd1144 2009-07-13 11:30 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/gtqtc/gtqtc.cpp
    ! BYTE => int.
  * contrib/gtqtc/tests/demoqtc.prg
    ! Removed Windows specific stuff.

    /* What is the status of this lib? It is still not included in default build ! */
2009-07-13 18:32:16 +00:00
Viktor Szakats
bc41230dfc 2009-07-13 16:18 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/gtwin/gtwin.c
  * source/rtl/gtwvt/gtwvt.h
  * source/rtl/gtwvt/gtwvt.c
    * Formatting.

  * source/rtl/gtwin/gtwin.c
    ! Fixed displaying cursor after recent changes. It was
      a small mistake when removing some dead code.
2009-07-13 14:24:30 +00:00
Viktor Szakats
3282d67ff3 2009-07-13 03:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddads/adsfunc.c
    % Minor optimizations.
    * Using sizeof() instead of repeating buffer sizes.
    * Formatting.
    - Deleted no more relevant comment.

  * examples/terminal/trm_cli.prg
  * examples/terminal/terminal.prg
    ! Fixes to prev change.
2009-07-13 01:16:06 +00:00
Pritpal Bedi
77bf020de0 2009-07-12 07:38 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbxbp/xbp.ch
    ! Minor formatting.
  * harbour/contrib/hbxbp/xbpgeneric.prg
    ! A small fix.
  * harbour/contrib/hbxbp/xbprtf.prg
    + Implemented :insertImage( cImageFilename ) member - an Harbour extension.
      
  * harbour/contrib/hbxbp/tests/demoxbp.prg
    ! Added pushbuttons in <Rtf> tab to demonstrate various features.
    + Demonstrated non-Xbase++ compatible feature :insertImage().
      Just play.
2009-07-12 14:44:41 +00:00
Pritpal Bedi
5ab31f724c 2009-07-12 07:32 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbourr/contrib/hbqt/QPrinter.cpp
  * harbourr/contrib/hbqt/QTextCursor.cpp
  * harbourr/contrib/hbqt/TQPrinter.prg
  * harbourr/contrib/hbqt/TQTextCursor.prg

  * harbourr/contrib/hbqt/qth/QPrinter.qth
    ! Commented out setWinPage() and winPage() calls - Windows only.
  * harbourr/contrib/hbqt/qth/QTextCursor.qth
    ! changed the order of insertImage() calls.
2009-07-12 14:37:14 +00:00