Commit Graph

11633 Commits

Author SHA1 Message Date
Viktor Szakats
97e239dc73 2009-08-11 00:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rdd/Makefile
  * config/global.cf
  * config/bin.cf
    * Simple rename of two internal vars:
        HB_DB_DRIVERS -> HB_RDD_LIBS
        HB_DB_DIRS    -> HB_RDD_DIRS
    + Added some names to non-standard build configuration setting
      collection.
2009-08-10 22:45:34 +00:00
Viktor Szakats
b41df4d1ad 2009-08-11 00:41 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/bin.cf
    * Minor formatting to liblist template.

  * config/bsd/gcc.cf
  * config/darwin/gcc.cf
  * config/hpux/gcc.cf
  * config/linux/gcc.cf
  * config/linux/icc.cf
  * config/linux/sunpro.cf
  * config/sunos/gcc.cf
  * config/sunos/sunpro.cf
    % Using LIBS var to check for libs rather than HB_GT_LIBS.
2009-08-10 22:41:41 +00:00
Viktor Szakats
98f2456d09 2009-08-11 00:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/bin.cf
    + Harbour binary core liblists are now formed centrally.
      Four variations are generated:
         HB_LIBS_ST_RDD
         HB_LIBS_MT_RDD
         HB_LIBS_ST_NORDD
         HB_LIBS_MT_NORDD
      Binaries can choose by using: 'LIBS = $(HB_LIBS_*)'.
      Important to use '='.
      This step also fixes potential problems with former liblists,
      where it was easy to make a local mistakes and some libs which
      needed more complicated logic, or which were just rarely used
      simply weren't added. Now all liblists are guaranteed to have
      proper order and content.
      HB_GT_LIBS and HB_DB_DRIVERS are automatically added centrally,
      so no need to add them manually in each compiler specific .cf.

  * tests/Makefile
  * tests/hbpptest/Makefile
  * tests/multifnc/Makefile
  * utils/hbformat/Makefile
  * utils/hbmk2/Makefile
  * utils/hbtest/Makefile
  * utils/hbi18n/Makefile
  * utils/hbrun/Makefile
    % Using above HB_LIBS_* macros.
    ; The only few places which I didn't thouch is non-Harbour
      executables (harbour exe and hbpp exe).

  * config/bsd/gcc.cf
  * config/wce/msvcarm.cf
  * config/wce/mingwarm.cf
  * config/wce/poccarm.cf
  * 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/linux/sunpro.cf
  * config/os2/watcom.cf
  * config/os2/gcc.cf
  * config/sunos/gcc.cf
  * config/sunos/sunpro.cf
    % Deleted local logic to merge HB_GT_LIBS and HB_DB_DRIVERS
      into LIBS.

  * utils/hbmk2/hbmk2.hbp
  * utils/hbrun/hbrun.hbp
    ! Extra libspecs are still needed for some compilers.
      I've readded them until better solution is found.
2009-08-10 22:37:31 +00:00
Przemyslaw Czerpak
525f08b7dc 2009-08-10 23:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/pp/Makefile
  * harbour/config/os2/watcom.cf
    * added workarounds for problems with OS2 builds - please test
2009-08-10 21:16:27 +00:00
Viktor Szakats
5423959870 2009-08-10 22:47 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/wce/mingwarm.cf
  * config/win/mingw.cf
  * config/linux/global.cf
    % Using := instead of = in few more places.
2009-08-10 20:48:17 +00:00
Viktor Szakats
874ac6f40d 2009-08-10 22:43 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/wce/mingwarm.cf
  * config/win/xcc.cf
  * config/win/mingw.cf
  * config/win/pocc.cf
    % Deleted system libs not needed for core Harbour.

  * config/wce/mingwarm.cf
  * config/win/mingw.cf
    % Using := instead of = in one place.
2009-08-10 20:43:58 +00:00
Viktor Szakats
74be952745 2009-08-10 22:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbtpathy/telepath.prg
  * contrib/hbtpathy/tpcommon.c
    + TP_CRC16() reimplemented in .prg after reading Przemek's e-mail.
2009-08-10 20:35:03 +00:00
Viktor Szakats
9b836cc7df 2009-08-10 22:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbtpathy/tpcommon.c
    + __TP_CRC16() rewritten using core checksum function.
      The trick was to swap bytes of the hb_crcct() result.
2009-08-10 20:32:12 +00:00
Viktor Szakats
5b95d0cf48 2009-08-10 21:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Reorganized core Harbour lib handling. The goal is to
      allow linkers to resolve references by themselves, either
      by clever ordering and adding libs multiple times if needed.
      I took the methods used in Makefiles as guiding line.
    % Removed -Wl,--start-group / -Wl,--end-group lib grouping.
      It doesn't seem to be necessary anymore.
    ! Fixed "hbrtl" lib reference with some targets in -xhb mode.
    ; NOTE: Please test, I didn't test all possible combinations
            only mingw and recent Harbour. (no xhb, no hb10x)
    ; NOTE: Regressions are possible regarding lib selection or
            ordering and also GT selection.
    ; TODO: If this works out okay, we can delete similar grouping
            options from .cf files. At the same time, core liblists
            could be moved to central place to ease maintenance
            and guarantee correctness.

  * utils/hbmk2/hbmk2.hbp
  * utils/hbrun/hbrun.hbp
    - Deleted extra core lib specifications to make it link
      in shared mode. Doesn't seem to be necessary anymore
      after above hbmk2 change.
2009-08-10 20:12:08 +00:00
Viktor Szakats
26fe21ed3a 2009-08-10 17:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/none.cf
  * config/global.cf
  * config/instsh.cf
  * config/dirsh.cf
    * Prefixed all Harbour initiated screen messages with '! '.
2009-08-10 15:44:31 +00:00
Viktor Szakats
f0459c8187 2009-08-10 17:23 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbtpathy/telepath.prg
    ! Fixed forming default COM port names on Windows NT
      systems. (I didn't test Win9x, but I assume they work
      like DOS regarding this aspect).

  * contrib/hbxbp/Makefile
  * contrib/gtwvg/Makefile
    ! Using HB_INC_DEPEND instead of modifying HB_USER_PRGFLAGS
      and HB_USER_CFLAGS. Old solution wasn't good because the
      new include dirs were added after central ones, so central
      ones effectively masked them and wrong headers could be
      picked through the build.

  * config/rules.cf
    + Added HB_INC_DEPEND variable to store dirs which should
      be included before central include dir.

  * config/global.cf
    * Small change in predefined HB_BUILD_NAMEs. Unicode 'u'
      marker moved to end, C++ marked changed to 'p' (from 'x').

  * contrib/rddado/rddado.hbc
  * contrib/gtwvg/gtwvg.hbc
    * Slash sync with other .hbc files. (forward slash is used)

  * config/dos/watcom.cf
    % Minor opt in operator.
2009-08-10 15:27:05 +00:00
Viktor Szakats
51118c6d90 2009-08-10 15:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) 2009-08-10 13:59:29 +00:00
Viktor Szakats
e046ee2db2 2009-08-10 15:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* tests/hbpptest/Makefile
  * tests/Makefile
  * utils/hbformat/Makefile
  * utils/hbtest/Makefile
    * Trying to lessen the number of combinations + sync core lib
      lists in Makefiles.
      These are currently used combinations in Harbour:
      ---
                                             hbextern
      hbdebug      hbdebug      hbdebug      hbdebug      hbdebug
      hbvm         hbvm         hbvm         hbvm         hbvmmt
      hbrtl        hbrtl        hbrtl        hbrtl        hbrtl
      hblang       hblang       hblang       hblang       hblang
      hbcpage      hbcpage      hbcpage      hbcpage      hbcpage
      hbrdd        hbrdd        hbnulrdd     hbrdd        hbnulrdd
      hbrtl        hbrtl        hbrtl        hbrtl        hbrtl
      hbvm         hbvm         hbvm         hbvm         hbvmmt
      hbmacro      hbmacro      hbmacro      hbmacro      hbmacro
                                             hbcplr       hbcplr
      hbpp         hbpp                      hbpp         hbpp
      hbcommon     hbcommon     hbcommon     hbcommon     hbcommon
                   hbpcre
      ---
2009-08-10 13:29:32 +00:00
Viktor Szakats
2384331079 2009-08-10 15:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/sqlite3/Makefile
  * external/libhpdf/Makefile
  * external/libpng/Makefile
  * config/global.cf
    * Remaining TABs deleted.
2009-08-10 13:11:31 +00:00
Viktor Szakats
6944db77d7 2009-08-10 14:47 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* doc/en-EN/Makefile
  * doc/Makefile
  * include/Makefile
  * contrib/gtalleg/Makefile
  * contrib/hbmysql/Makefile
  * contrib/hbct/Makefile
  * contrib/xhb/Makefile
  * contrib/hbodbc/Makefile
  * contrib/hbtpathy/Makefile
  * contrib/hbgt/Makefile
  * contrib/hbmzip/Makefile
  * contrib/hbsqlit3/Makefile
  * contrib/hbblat/Makefile
  * contrib/hbqt/generator/hbqtgen.prg
  * contrib/hbqt/Makefile_gen
  * contrib/hbfbird/Makefile
  * contrib/hbziparc/Makefile
  * contrib/hbxbp/Makefile
  * contrib/xpp/Makefile
  * contrib/hbnf/Makefile
  * contrib/Makefile
  * contrib/hbcurl/hbcurls/Makefile
  * contrib/hbcurl/Makefile
  * contrib/gtqtc/Makefile
  * contrib/rddsql/sddmy/Makefile
  * contrib/rddsql/sddpg/Makefile
  * contrib/rddsql/sddfb/Makefile
  * contrib/rddsql/sddodbc/Makefile
  * contrib/rddsql/Makefile
  * contrib/hbhpdf/Makefile
  * contrib/rddado/Makefile
  * contrib/gtwvg/Makefile
  * contrib/hbpgsql/Makefile
  * contrib/hbclipsm/Makefile
  * contrib/rddads/Makefile
  * contrib/hbfimage/Makefile
  * contrib/hbgd/Makefile
  * contrib/hbmisc/Makefile
  * contrib/hbtip/Makefile
  * contrib/hbwin/Makefile
  * contrib/hbbmcdx/Makefile
  * contrib/hbvpdf/Makefile
  * contrib/hbssl/Makefile
  * contrib/hbbtree/Makefile
  * source/pp/Makefile
  * source/hbextern/Makefile
  * source/lang/Makefile
  * source/vm/maindllh/Makefile
  * source/vm/mainstd/Makefile
  * source/vm/maindllp/Makefile
  * source/vm/Makefile
  * source/vm/vmmt/Makefile
  * source/vm/mainwin/Makefile
  * source/main/Makefile
  * source/debug/Makefile
  * source/common/Makefile
  * source/nortl/Makefile
  * source/rtl/gtdos/Makefile
  * source/rtl/gtwin/Makefile
  * source/rtl/gtxwc/Makefile
  * source/rtl/gtcrs/Makefile
  * source/rtl/gtstd/Makefile
  * source/rtl/gttrm/Makefile
  * source/rtl/Makefile
  * source/rtl/gtcgi/Makefile
  * source/rtl/gtos2/Makefile
  * source/rtl/gtsln/Makefile
  * source/rtl/gtpca/Makefile
  * source/rtl/gtgui/Makefile
  * source/rtl/gt_tpl/Makefile
  * source/rtl/gtwvt/Makefile
  * source/macro/Makefile
  * source/hbpcre/Makefile
  * source/codepage/Makefile
  * source/rdd/dbfntx/Makefile
  * source/rdd/nulsys/Makefile
  * source/rdd/Makefile
  * source/rdd/dbfnsx/Makefile
  * source/rdd/dbfcdx/Makefile
  * source/rdd/hsx/Makefile
  * source/rdd/usrrdd/rdds/Makefile
  * source/rdd/usrrdd/Makefile
  * source/rdd/dbffpt/Makefile
  * source/rdd/hbsix/Makefile
  * source/hbzlib/Makefile
  * source/compiler/Makefile
    * Finished replacing TABs with spaces in simple variable assigments.
      TABs are only required when specifiying a rule command.
2009-08-10 12:48:47 +00:00
Viktor Szakats
4edfe04c2c 2009-08-10 14:22 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* tests/hbpptest/Makefile
  * tests/Makefile
  * tests/multifnc/Makefile
  * Makefile
  * external/Makefile
  * source/Makefile
  * utils/hbformat/Makefile
  * utils/hbmk2/Makefile
  * utils/hbtest/Makefile
  * utils/hbi18n/Makefile
  * utils/Makefile
  * utils/hbrun/Makefile
    % Started replacing TABs with spaces in simple variable assigments.
      TABs are only required when specifiying a rule command.
2009-08-10 12:27:18 +00:00
Viktor Szakats
e8608381a8 2009-08-10 12:04 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Added missing core gt names from GUI/non-GUI detection code.
2009-08-10 10:05:26 +00:00
Viktor Szakats
226a542fa9 2009-08-10 11:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/globsh.cf
    % Deleted hack with unknown purpose when forming $(MK) variable:
         '$(subst \~,~,$(MAKE))' -> $(MAKE)
      Please shout if you know the purpose, all I could find out
      is that it was added in this change:
         Fri Jun 11 17:11:09 1999  Gonzalo A. Diethelm
      but there is no specific description of this change, besides
      making MAKE work on non-bash systems.
2009-08-10 09:54:29 +00:00
Przemyslaw Czerpak
0d7c2153a9 2009-08-10 11:48 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/config/linux/sunpro.cf
    ! fixed list of linked system libraries to be Linux compatible
2009-08-10 09:48:16 +00:00
Viktor Szakats
46413d27be 2009-08-10 11:30 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbtip/sendmail.prg
  * contrib/hbtip/client.prg
    ! HAS_OPENSSL -> HB_HAS_OPENSSL.
2009-08-10 09:31:18 +00:00
Viktor Szakats
272b5e9512 2009-08-10 11:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- bin/hbmk.bat
    - Deleted. Probably no one uses it.

  * contrib/hbtip/sendmail.prg
    + Added pop3s support for lPopAuth option.

  * contrib/hbtip/client.prg
    % TIPCLIENT() now uses INIT instead of manual initialization of
      class vars.
    * TIPCLIENT():NEW(): Protocol check made more robust.

  * source/vm/dynlibhb.c
    + Enabled HB_HAS_DLFCN on darwin. Support is there, tested on
      latest 10.5 Leopard.

  * config/global.cf
    * Minor.

  * config/linux/sunpro.cf
  * config/sunos/sunpro.cf
    + Using 'suncc|sunCC' compiler executables. This makes HB_CCPATH
      unnecessary. Thanks Przemek.
2009-08-10 09:25:22 +00:00
Przemyslaw Czerpak
ff6e21f3f5 2009-08-10 11:07 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbatomic.h
    % added architecture independent support for atomic operations and
      spinlocks in all SunOS builds

  * harbour/source/vm/dynlibhb.c
    ! reenabled dlopen interface for Sun C compilers
    * enabled dlopen interface for SunOS builds
2009-08-10 09:07:48 +00:00
Viktor Szakats
321446d700 2009-08-10 03:58 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* make_gnu_os2.cmd
  * make_gnu.bat
  * make_gnu.sh
  * config/global.cf
    + Moved emptying of CLIPPER/HARBOUR envvars to GNU Make level.
    + Emptying CLIPPERCMD/HARBOURCMD envvars before calling Harbour compiler.

  * make_gnu_os2.cmd
    % Deleted defaulting of HB_ARCHITECTURE and HB_COMPILER. Now 
      done on GNU Make level. Untested.

  * config/readme.txt
    - Deleted info on OS/2 make.
2009-08-10 02:03:22 +00:00
Viktor Szakats
2faf4f310f 2009-08-10 03:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.cf
  * config/lib.cf
  * config/bin.cf
  * config/test.cf
    ! Inclusion of compiler specific rules now happens from [lib|bin|test].cf.
      This way it plays well with scenarios where global.cf is directly
      included in Makefiles. It should also be slightly more efficient.
2009-08-10 01:10:55 +00:00
Viktor Szakats
135cfb8a6e 2009-08-10 02:39 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/globsh.cf
  * config/bsd/gcc.cf
  * config/wce/msvcarm.cf
  * config/wce/mingwarm.cf
  * config/wce/poccarm.cf
  * config/darwin/gcc.cf
  * config/hpux/gcc.cf
  * config/dos/djgpp.cf
  * config/win/cygwin.cf
  * config/win/mingw.cf
  * config/linux/gcc.cf
  * config/linux/icc.cf
  * config/linux/sunpro.cf
  * config/os2/gcc.cf
  * config/sunos/gcc.cf
  * config/sunos/sunpro.cf
    % Using ':=' instead of '=' where possible.
      (incomplete. pass two)
      The rest is really the core and need deeper examination
      of ordering and variable dependency. There is probably more
      room for improvement.
2009-08-10 00:47:30 +00:00
Pritpal Bedi
33fd594348 2009-08-09 17:35 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt_slots.cpp
  * contrib/hbxbp/xbpbrowse.prg
    ! Improved speed. Reported by Viktor.
2009-08-10 00:35:55 +00:00
Pritpal Bedi
f5194be5a0 2009-08-09 17:10 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt.ch
    + Added more constants.
  * contrib/hbxbp/xbpbrowse.prg
    ! Column display protocol tweaked to provide a descent view.
    + Implemented ::sizeCols() instance variable of XbpBrowse() object.
      This provides for switching off the resizing behavior of the columns.      

  * contrib/hbxbp/tests/demoxbp.prg
    ! Demonstrated the above facts.
2009-08-10 00:17:07 +00:00
Viktor Szakats
f26d14b9a7 2009-08-10 02:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* ChangeLog
    ! Typos in prev entry.
2009-08-10 00:13:55 +00:00
Viktor Szakats
6fb0c1b07d missed to paste back ChangeLog entry
2009-08-10 02:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
  * contrib/hbtip/sessid.prg
  * contrib/hbtip/cgi.prg
  * contrib/hbtip/encoder.prg
  * contrib/hbtip/mail.prg
  * contrib/hbtip/sendmail.prg
  * contrib/hbtip/httpcli.prg
  * contrib/hbtip/smtpcli.prg
  * contrib/hbtip/client.prg
  * contrib/hbtip/ftpcli.prg
  * contrib/hbtip/popcli.prg
    + Added TIP_SSL() function to return whether SSL functionality is available
      or not.
    % Deleted unnecessary tip.ch header inclusions.
    + Added TIPCLIENT():INETTIMEOUT() method to set / refresh timeout.
    % Direct hb_inetTimeout() calls either optimized out (after ::super:open()),
      or replaced by ::hb_inetTimeout() calls.
    ! Fixed to also accept pop3s where pops is accepted.
    + TIPCLIENTPOP() will set default port to 995 in pop3s mode.
    + TIPCLIENTSMTP() will set default port to 465 in smtps mode.
    + TIPCLIENTHTTP() will set default port to 443 in https mode.
    + Some steps towards SMTP STARTTLS authentication.
    ! Uncommented setting "Content-Length" in TIPMAIL:SETBODY().
      gmail rejects attachment without it. It's also needed for internal
      consistency as TIPMAIL:NEW() sets this data.
    ! HB_SENDMAIL() fixed to use HB_MEMOREAD() to read attachment.
    ! HB_SENDMAIL() fixed to load the attachment if it was passed
      as a content/name pair array. Handling all combinations now.
    * HB_SENDMAIL() changed to not exit on the first invalid attachment
      specification, but simply ignore these. Feels more natural that way,
      but the old behaviour can be restored if there was a reason for it
      which overlooked.
    * Formatting.
    ; TOFIX: hbtip currently has two different facilities to find out the
             MIME type of a given extension: TIP_FILEMIMETYPE() and
             HB_SETMIMETYPE(). First one also looks into the content while
             the second one has a much more extensive extension based
             detection. There is also a 3rd and separate function which
             aims to detect whether a type is binary or text. This isn't
             very efficient this way, unless there is some reasoning
             behing current logic.

  * contrib/hbtip/log.prg
    ! Fixed to reset internal file handle to empty value on close.

  * contrib/hbssl/sslctx.c
    ! Added !OPENSSL_NO_STDIO guard for functions where it applies().
    + Added SSL_CTX_LOAD_VERIFY_LOCATIONS().

  * config/global.cf
    ! Deleted two debug lines from prev commit.
2009-08-10 00:11:54 +00:00
Viktor Szakats
ffbe793580 2009-08-10 02:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbtip/sessid.prg
  * contrib/hbtip/cgi.prg
  * contrib/hbtip/encoder.prg
  * contrib/hbtip/mail.prg
  * contrib/hbtip/sendmail.prg
  * contrib/hbtip/httpcli.prg
  * contrib/hbtip/smtpcli.prg
  * contrib/hbtip/client.prg
  * contrib/hbtip/ftpcli.prg
  * contrib/hbtip/popcli.prg
    + Added TIP_SSL() function to return whether SSL functionality is available
      or not.
    % Deleted unnecessary tip.ch header inclusions.
    + Added TIPCLIENT():INETTIMEOUT() method to set / refresh timeout.
    % Direct hb_inetTimeout() calls either optimized out (after ::super:open()),
      or replaced by ::hb_inetTimeout() calls.
    ! Fixed to also accept pop3s where pops is accepted.
    + TIPCLIENTPOP() will set default port to 995 in pop3s mode.
    + TIPCLIENTSMTP() will set default port to 465 in smtps mode.
    + TIPCLIENTHTTP() will set default port to 443 in https mode.
    + Some steps towards SMTP STARTTLS authentication.
    ! Uncommented setting "Content-Length" in TIPMAIL:SETBODY().
      gmail rejects attachment without it. It's also needed for internal
      consistency as TIPMAIL:NEW() sets this data.
    ! HB_SENDMAIL() fixed to use HB_MEMOREAD() to read attachment.
    ! HB_SENDMAIL() fixed to load the attachment if it was passed
      as a content/name pair array. Handling all combinations now.
    * HB_SENDMAIL() changed to not exit on the first invalid attachment
      specification, but simply ignore these. Feels more natural that way,
      but the old behaviour can be restored if there was a reason for it
      which overlooked.
    * Formatting.
    ; TOFIX: hbtip currently has two different facilities to find out the
             MIME type of a given extension: TIP_FILEMIMETYPE() and
             HB_SETMIMETYPE(). First one also looks into the content while
             the second one has a much more extensive extension based
             detection. There is also a 3rd and separate function which
             aims to detect whether a type is binary or text. This isn't
             very efficient this way, unless there is some reasoning
             behing current logic.

  * contrib/hbtip/log.prg
    ! Fixed to reset internal file handle to empty value on close.

  * contrib/hbssl/sslctx.c
    ! Added !OPENSSL_NO_STDIO guard for functions where it applies().
    + Added SSL_CTX_LOAD_VERIFY_LOCATIONS().

  * config/global.cf
    ! Deleted two debug lines from prev commit.
2009-08-10 00:10:46 +00:00
Pritpal Bedi
3add3fe6a9 2009-08-09 26:15 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt_slots.cpp
  * contrib/hbxbp/xbpbrowse.prg
    + Implemented XbpColumn():type == XBPCOL_TYPE_ICONFILE.
      Now any image can be viewed as an icon in a column object of XbpBrowse()
   
  * contrib/hbxbp/tests/demoxbp.prg
    ! Updated to demonstrate XbpColumn():type == XBPCOL_TYPE_ICONFILE functionality.
2009-08-09 23:19:55 +00:00
Viktor Szakats
8106523a59 2009-08-09 21:42 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.cf
    ! Fixed 'sh' HB_SHELL detection. Problem experienced with
       Cygwin GNU Make, where SHLVL isn't defined on the first
       level. Now also checking for SHELL=/bin/sh to detect sh
       shell.

  * tests/multifnc/Makefile
  * external/sqlite3/Makefile
  * external/libhpdf/Makefile
  * external/libpng/Makefile
  * contrib/gtalleg/Makefile
  * contrib/hbodbc/Makefile
  * contrib/hbtpathy/Makefile
  * contrib/hbsqlit3/Makefile
  * contrib/hbblat/Makefile
  * contrib/hbqt/Makefile
  * contrib/hbfbird/Makefile
  * contrib/hbxbp/Makefile
  * contrib/hbcurl/Makefile
  * contrib/gtqtc/Makefile
  * contrib/rddsql/sddfb/Makefile
  * contrib/rddsql/sddodbc/Makefile
  * contrib/rddado/Makefile
  * contrib/gtwvg/Makefile
  * contrib/rddads/Makefile
  * contrib/hbfimage/Makefile
  * contrib/hbtip/Makefile
  * contrib/hbwin/Makefile
  * contrib/hbssl/Makefile
  * source/vm/Makefile
  * source/vm/vmmt/Makefile
  * source/rtl/gtdos/Makefile
  * source/rtl/gtwin/Makefile
  * source/rtl/gtxwc/Makefile
  * source/rtl/gtcrs/Makefile
  * source/rtl/gttrm/Makefile
  * source/rtl/Makefile
  * source/rtl/gtos2/Makefile
  * source/rtl/gtsln/Makefile
  * source/rtl/gtgui/Makefile
  * source/rtl/gtwvt/Makefile
  * source/rdd/Makefile
  * source/rdd/dbffpt/Makefile
    ! Including 'global.cf' directly to make HB_ARCHITECTURE/HB_COMPILER/HB_COMMERCE
      variables work in case we're relying on autodetection.
    ; TODO: May need to do this for a few other cases where detection is relying
            on some additional variables. Like HB_XBUILD, which needs to be
            cleaned further, maybe autodetection added.
    ; NOTE: Above changes mean that from now on for basic build usage it's
            enough to have the compiler in PATH and to issue a simple 'make'
            or 'mingw32-make' (or whatever GNU Make is called in that environment),
            and make process should just work. IOW, no need to go through 
            "starter" scripts in root (make_gnu.*).
2009-08-09 19:52:17 +00:00
Viktor Szakats
504ca98e1c 2009-08-09 21:18 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* tests/hbpptest/Makefile
  * tests/bldtest/Makefile
  * tests/Makefile
  * tests/multifnc/Makefile
  * doc/en-EN/Makefile
  * doc/Makefile
  * external/sqlite3/Makefile
  * external/libhpdf/Makefile
  * external/libpng/Makefile
  * external/Makefile
  * include/Makefile
  * source/hbextern/Makefile
  * source/pp/Makefile
  * source/lang/Makefile
  * source/vm/maindllh/Makefile
  * source/vm/mainstd/Makefile
  * source/vm/maindllp/Makefile
  * source/vm/Makefile
  * source/vm/vmmt/Makefile
  * source/vm/mainwin/Makefile
  * source/main/Makefile
  * source/debug/Makefile
  * source/common/Makefile
  * source/nortl/Makefile
  * source/macro/Makefile
  * source/rtl/gtdos/Makefile
  * source/rtl/gtwin/Makefile
  * source/rtl/gtxwc/Makefile
  * source/rtl/gtcrs/Makefile
  * source/rtl/gtstd/Makefile
  * source/rtl/gttrm/Makefile
  * source/rtl/Makefile
  * source/rtl/gtcgi/Makefile
  * source/rtl/gtos2/Makefile
  * source/rtl/gtsln/Makefile
  * source/rtl/gtpca/Makefile
  * source/rtl/gtgui/Makefile
  * source/rtl/gt_tpl/Makefile
  * source/rtl/gtwvt/Makefile
  * source/hbpcre/Makefile
  * source/codepage/Makefile
  * source/rdd/dbfntx/Makefile
  * source/rdd/nulsys/Makefile
  * source/rdd/Makefile
  * source/rdd/dbfnsx/Makefile
  * source/rdd/dbfcdx/Makefile
  * source/rdd/hsx/Makefile
  * source/rdd/usrrdd/rdds/Makefile
  * source/rdd/usrrdd/Makefile
  * source/rdd/dbffpt/Makefile
  * source/rdd/hbsix/Makefile
  * source/compiler/Makefile
  * source/hbzlib/Makefile
  * source/Makefile
  * utils/hbformat/Makefile
  * utils/hbmk2/Makefile
  * utils/hbtest/Makefile
  * utils/hbi18n/Makefile
  * utils/hbrun/Makefile
  * contrib/gtalleg/Makefile
  * contrib/hbmysql/Makefile
  * contrib/hbct/Makefile
  * contrib/xhb/Makefile
  * contrib/hbodbc/Makefile
  * contrib/hbtpathy/Makefile
  * contrib/hbgt/Makefile
  * contrib/hbmzip/Makefile
  * contrib/hbsqlit3/Makefile
  * contrib/hbblat/Makefile
  * contrib/hbqt/Makefile
  * contrib/hbqt/generator/hbqtgen.prg
  * contrib/hbqt/Makefile_gen
  * contrib/hbfbird/Makefile
  * contrib/hbziparc/Makefile
  * contrib/hbxbp/Makefile
  * contrib/xpp/Makefile
  * contrib/hbnf/Makefile
  * contrib/Makefile
  * contrib/hbcurl/hbcurls/Makefile
  * contrib/hbcurl/Makefile
  * contrib/gtqtc/Makefile
  * contrib/rddsql/sddmy/Makefile
  * contrib/rddsql/sddpg/Makefile
  * contrib/rddsql/sddfb/Makefile
  * contrib/rddsql/sddodbc/Makefile
  * contrib/rddsql/Makefile
  * contrib/hbhpdf/Makefile
  * contrib/rddado/Makefile
  * contrib/gtwvg/Makefile
  * contrib/hbpgsql/Makefile
  * contrib/hbclipsm/Makefile
  * contrib/rddads/Makefile
  * contrib/hbfimage/Makefile
  * contrib/hbgd/Makefile
  * contrib/hbtip/Makefile
  * contrib/hbbmcdx/Makefile
  * contrib/hbvpdf/Makefile
  * contrib/hbssl/Makefile
  * contrib/hbbtree/Makefile
    % Using ':=' instead of '=' where possible.
    ; TODO: Central make files (.cf).

  * config/global.cf
  * config/bin.cf
  * config/globsh.cf
  * config/dir.cf
  * config/bsd/gcc.cf
  * config/bsd/global.cf
  * config/c.cf
  * config/wce/msvcarm.cf
  * config/wce/global.cf
  * config/wce/mingwarm.cf
  * config/wce/poccarm.cf
  * config/rules.cf
  * config/hpux/gcc.cf
  * config/darwin/gcc.cf
  * config/darwin/global.cf
  * config/dos/watcom.cf
  * config/dos/djgpp.cf
  * config/win/watcom.cf
  * config/win/icc.cf
  * config/win/global.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/linux/sunpro64.cf
  * config/linux/sunpro.cf
  * config/os2/watcom.cf
  * config/os2/gcc.cf
  * config/sunos/gcc.cf
  * config/sunos/sunpro64.cf
  * config/sunos/sunpro.cf
    % Using ':=' instead of '=' where possible.
      (incomplete. pass one)

  * config/none.cf
    * Little change in text.

  * config/global.cf
    ! Fixed HB_ARCHITECTURE mis-detection as wce for a few win compilers.
2009-08-09 19:23:43 +00:00
Viktor Szakats
edf24746e1 2009-08-09 19:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* Makefile
  * tests/Makefile
  * contrib/hbmisc/Makefile
  * contrib/hbwin/Makefile
  * utils/Makefile
    % Started converting '=' operators to ':=' where applicable.
    ; TODO: Rest of Makefiles.

  * contrib/hbwin/Makefile
    ! Including 'global.cf' directly to make HB_ARCHITECTURE/HB_COMPILER
      variables work in case we're relying on autodetection.
    ; TOFIX: Rest of Makefiles.

  * config/global.cf
    + Added self-inclusion check to allow adding this .cf file
      directly to Makefiles in order to force platform detection
      for cases where this information is needed for local decisions.

  * config/dos/global.cf
    - Deleted 'ifndef MK' construct. Purpose unknown, and not
      found similar for other platforms.

  * config/global.cf
  * config/globsh.cf
    + Added my copyright.

  * contrib/hbtpathy/tpwin.c
  * contrib/hbtpathy/tpos2.c
    % Deleted unnecessary headers.
2009-08-09 17:56:46 +00:00
Pritpal Bedi
54a93f83da 2009-08-09 09:32 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbxbp/xbpbrowse.prg
    ! Few more tweaks.
  * contrib/hbxbp/xbptreeview.prg
    - Commented out experimental CSS implementation.
    + Made public Harbour extention ::setStyleSheet( cStyleSheet ) method.
      Now it is possible to fine tune widget's appearnce the way user 
      can imagine. The supplied style sheet will be applied on top of 
      existing one.
    % TODO: extend ::setStyleSheet() functionality the easiest way.

  * contrib/hbxbp/tests/demoxbp.prg
    ! Demonstrated the use of ::setStyleSheet() with XbpTreeView() class.
      Play with the <Tree> tab.
2009-08-09 16:43:49 +00:00
Viktor Szakats
5c47bea7ec 2009-08-09 18:32 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbxbp/tests/demoxbp.prg
    ! Fixed test.ico reference to avoid QT runtime error message
      when run from a different dir.
2009-08-09 16:33:11 +00:00
Viktor Szakats
de5fba60fd 2009-08-09 18:26 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbxbp/tests/demoxbp.prg
  * contrib/gtwvg/tests/demowvg.prg
  * contrib/hbtip/tests/dbtohtml.prg
    ! Fix to test.dbf path. hb_DirBase() was missing.
    * Changed date format to ANSI.
2009-08-09 16:26:37 +00:00
Viktor Szakats
ef7c07ab59 2009-08-09 17:49 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbtpathy/telepath.ch
  * contrib/hbtpathy/tests/testtp.prg
  * contrib/hbtpathy/tpwin.c
  * contrib/hbtpathy/tpos2.c
  * contrib/hbtpathy/tpunix.c
  * contrib/hbtpathy/tpdos.c
  * contrib/hbtpathy/telepath.prg
    + Added self-guards to header.
    ! Converted all comments to ANSI C.
    + Added note to header that it's used from C code.
    ! Put negative macro values into parantheses.
    ! Fixed bad typo in test program which broke it for all platforms.
    % Minor optimization to TP_REOPEN().
    ! Moved internal structure macros from header to .prg.
    + Added comment for FILE() usage in TP_OPEN().
    ! Fixed to not use FILE() to check for port existance on non-*nix
      platforms. (maybe this works on OS/2 and it can be readded there,
      I don't know).
    ! Using manifest constants instead of literals in few places.
    ; After these changes, hbtpathy works on Windows platform.
      (made basic test only)
2009-08-09 15:50:56 +00:00
Viktor Szakats
f477deebe3 2009-08-09 17:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/examples/contribf.hbc
  * contrib/hbtpathy/Makefile
  + contrib/hbtpathy/tpdos.c
  * contrib/hbtpathy/hbtpathy.hbc
    + Added DOS stubs. This makes it possible to enable this contrib
      for all existing platforms. Serial support is possible to
      implement in DOS.
    % Now all source files are compiled for each platform, platform
      specific parts are guarded internally, no need to duplicate the
      logic on the make level.
2009-08-09 15:02:39 +00:00
Viktor Szakats
f08924060b 2009-08-09 16:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbtpathy/tpwin.c
  * contrib/hbtpathy/tpos2.c
  * contrib/hbtpathy/tpunix.c
  * contrib/hbtpathy/telepath.prg
  * contrib/hbtpathy/tpcommon.c
    + Renamed all internal functions from P_*() to __TP_*() to
      comply with rest of Harbour and lessen chance of colliding
      with other code. It also makes it easier to identify them
      in code. I won't list this as an incompatibility as we're
      talking about internal functions, so no user code is supposed 
      to use these.
    + Added compatibility wrappers for Telepath(y) functions:
      BIN_AND(), BIN_OR(), BIN_XOR(), BIN_NOT().
2009-08-09 14:51:19 +00:00
Viktor Szakats
838ce1fc5d 2009-08-09 16:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbtpathy/Makefile
  - contrib/hbtpathy/tplinux.c
  + contrib/hbtpathy/tpunix.c
  * contrib/hbtpathy/tpcommon.c
  * contrib/hbtpathy/tpwin.c
  * contrib/hbtpathy/tpos2.c
  * contrib/hbtpathy/telepath.prg
  * contrib/hbtpathy/hbtpathy.hbc
    + Enabled for all *nix systems (was only linux and darwin).
      I don't know if it works on all *nix systems, but it should
      be our goal. We will see. Please test.
    % Using HB_CRC32() in core instead of reimplementing it locally.
    ! P_CTRLCTS() dummy now returns proper type.
    + P_OUTFREE() implemented for Windows platforms.
    + P_ISDCD(), P_ISRI(), P_ISDSR(), P_ISCTS()
      implemented for Windows platforms. (ideas taken from hbwin)
      Neither of these were tested, but it's a start.
    + P_INFREE() added for Windows and OS/2.
      Only clean compilation was tested.
    + TP_INFREE() added.
    * Some formatting.

  * contrib/hbwin/win_prt.c
    + Some extra safety.
2009-08-09 14:37:15 +00:00
Viktor Szakats
ee451be6a1 2009-08-09 13:38 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbtpathy/telepath.prg
    ! Fixed tp_open() to not add numeric port to passed portname.
      It's now only added to portname if it's not passed and default
      is used. On darwin, the portname isn't necessarily ending with
      a number.
2009-08-09 11:38:49 +00:00
Viktor Szakats
57d22736ec 2009-08-09 12:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbtpathy/hbtpathy.hbc
    ! Added darwin to supported platforms.

  * contrib/hbwin/win_tprt.prg
  * contrib/hbwin/oleauto.prg
  * contrib/hbwin/axfunc.prg
    * Formatting.
2009-08-09 10:54:06 +00:00
Viktor Szakats
3baef883ea 2009-08-09 11:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/rat.c
    ! HB_RAT() fixed to not ignore nEnd parameter if it's out of bound.
      In such case it will now return zero ("not found").
      Mindaugas, please verify if this is what you proposed.
2009-08-09 09:07:48 +00:00
Viktor Szakats
18da83f277 2009-08-09 10:26 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/gtwvg/gtwvg.hbc
    ! Fixed missing incpaths= line.

  * contrib/gtwvg/tests/demowvg.prg
  - contrib/gtwvg/tests/test.dbf
  * contrib/hbtip/tests/dbtohtml.prg
  - contrib/hbtip/tests/test.dbf
    ! Fixed to use central test.dbf instead of duplicating it.
2009-08-09 08:27:02 +00:00
Viktor Szakats
3e3398e565 2009-08-09 10:14 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbxbp/tests/demoxbp.prg
    * Added hb_DirBase() to local file references, to make these 
      work when no run from its own directory.
    ! Using test.dbf in tests.

  - contrib/hbxbp/tests/test.dbf
    - Deleted duplicated test.dbf.

  * contrib/hbtip/client.prg
    * HAVE_OPENSSL -> HAS_OPENSSL

  * contrib/hbwin/olecore.c
  * source/rtl/cdpapi.c
    * Minor formatting.
2009-08-09 08:16:09 +00:00
Pritpal Bedi
64aa7ba9e7 2009-08-08 17:01 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbxbp/xbpbrowse.prg
    + Implemented ::vScroll | ::hScroll | ::cursorMode 
      Xbase++ documentation suggests that changing these instance variables 
      required ::configure() be called explictly, but I have implemented that 
      the next stablization loop automatically take care of it. 
      Suggestions ?

  * contrib/hbxbp/xbpstatic.prg
    ! Changed the way XBPSTATIC_TYPE_LINE* orientation is established.
      Note that Xbase++ draws diagonal lines as well but in Qt it cannot be attained.

  * contrib/hbxbp/tests/demoxbp.prg
    + Rearrangeements of objects in tab pages. As the need for more space was growing
      tab-pages now occupy the whole ::drawingarea and rest of the controls are 
      now children of them.
    ! Demonstrated new instance variables implementation of XbpBrowse().
2009-08-09 00:09:07 +00:00
Viktor Szakats
85b368ae92 2009-08-09 01:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * config/global.cf
  * config/rules.cf
  * config/dos/watcom.cf
  * config/win/watcom.cf
  * config/os2/watcom.cf
    + Added HB_BUILD_UNICODE=yes[|no] option to control UNICODE builds
      on win/wce platforms.
2009-08-08 23:46:18 +00:00
Viktor Szakats
0cd1b77b32 2009-08-09 01:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.cf
    + Added build presets based on some predefined HB_BUILD_NAME values:
      HB_BUILD_NAME=.r     RELEASE
      HB_BUILD_NAME=.rx    RELEASE C++
      HB_BUILD_NAME=.ru    RELEASE UNICODE
      HB_BUILD_NAME=.rux   RELEASE UNICODE C++
      HB_BUILD_NAME=.d     DEBUG
      HB_BUILD_NAME=.dx    DEBUG C++
      HB_BUILD_NAME=.du    DEBUG UNICODE
      HB_BUILD_NAME=.dux   DEBUG UNICODE C++
    ; Initial/experimental commit, names may change yet.

  * external/sqlite3/Makefile
  * external/libhpdf/Makefile
  * external/libpng/Makefile
    % Minor opt.
2009-08-08 23:36:24 +00:00
Viktor Szakats
5a04437b11 2009-08-09 01:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_prt.c
    % Optimized out port name from port structure. 3KB runtime
      space saving.
2009-08-08 23:09:30 +00:00