Commit Graph

2384 Commits

Author SHA1 Message Date
Viktor Szakats
307b40f5ef 2009-05-14 11:18 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/rddads/rddads.h
    ! Fixed version autodetection for ACE clients 9.00.0.7.
      Now 900 is detected, previously it was 910 (Sybase
      retrofitted some macros from 9.10 into this minor update.)
2009-05-14 09:19:28 +00:00
Viktor Szakats
b68fe5de6f 2009-05-14 10:55 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed regression causing -o not to work in -hbcmp mode.
      (bug introd in the compile/link phase switch)
    + Added support for -o in -hbcmp mode for pocc compilers.
    + Added support for -o in -hbcmp mode for owatcom compilers.
    ; Please test.

  * contrib/rddads/rddads.h
    - Deleted some commented lines targeting compatibility with
      some now forgotten macros.
2009-05-14 09:04:50 +00:00
Przemyslaw Czerpak
d88826cdd5 2009-05-14 08:56 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/rddads/ads1.c
    * re-enabled workaround code for wrong character field size returned by
      AdsGetFiled() for all ACE versions until we will not have good
      confirmation from Extended System that problem is fixed in some
      newer client versions.
2009-05-14 06:48:19 +00:00
Viktor Szakats
196768b461 2009-05-14 02:00 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/hbextern.ch
  * contrib/xhb/hbcompat.ch
  * source/rtl/setkey.c
    + Added HB_SETKEY() which is similar to SETKEY() but contains
      3rd parameter extension. Now this functionality is available
      for default Harbour builds under this new function name.
    + Added cross mappings for xhb SETKEY().

  * source/rtl/setfunc.prg
    + F11/F12 key handling now protected with HB_C52_STRICT instead
      of HB_EXTENSION so it will available in default builds.
    - Other HB_EXTENSION protected feature deleted (allowing to
      assign non-string key sequences to F keys. This effect can
      easily be achieved with direct SETKEY() calls, so it wasn't
      an essential extension here.

  * source/rtl/hbffind.c
    + Internal HB_EXTENSION protected part enabled.
    - Deleted HB_EXTENSION dealing with Windows-specific attribute
      chars. Those needing this functionality can access it using
      C level API.

  * source/rtl/tpopup.prg
  * source/rtl/ttopbar.prg
    - Deleted minor (non Clipper-compatible) behaviour change
      in handling disabled menu items when HB_EXTENSION
      is enabled.

  ; Only remains few class extensions covered by HB_EXTENSION.
    Overall there is no reason anymore to use this macro.
    TODO: Solve these using inheritance.
2009-05-14 00:15:22 +00:00
Viktor Szakats
a16ef8604f 2009-05-14 01:35 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/memoedit.prg
    ! Fixed infinite loop in code below (this was a long time problem):
      ---
      MemoEdit( "Please press F2 for infinite loop", 0, 0, MaxRow(), MaxCol(), .F., "FunCtr" )
      FUNCTION FunCtr()
         RETURN 0
      ---
      Patch provided by Xavi [jarabal]. Thank you.

  * contrib/hbwin/oleauto.prg
  * contrib/hbwin/olecore.c
    * Minor formatting.
2009-05-13 23:37:18 +00:00
Przemyslaw Czerpak
3f43a1ee38 2009-05-14 01:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/rddads/ads1.c
    * enable workaround code added in previous commit only for ACE 9.00.
      If other ACE clients need it too then please report them.
      Fernando reported that 9.10 is fixed.
2009-05-13 23:08:13 +00:00
Przemyslaw Czerpak
1b3799ce6b 2009-05-14 00:23 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/rddads/ads1.c
    ! added workaround for ACE bug: character fields longer then 23 bytes are
      increased by one byte when read by AdsGetField().
2009-05-13 22:14:57 +00:00
Viktor Szakats
0d94d15d16 2009-05-13 16:47 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbwin/Makefile
  + contrib/hbwin/legacy.c
    + Added deprecated compatibility wrappers:
      MESSAGEBOX(), ANSITOWIDE(), WIDETOANSI(), OLE2TXTERROR().
    + Added deprecated compatibility wrapper TOLEAUTO for HB_OLEAUTO
      class. This is probably not enough as there are other remaining
      incompatibilities.
    ; TODO: users needing this please tweak it further.
    + Added deprecated compatibility wrapper hb_oleWideToAnsi(), which
      now calls hb_mbtowc(). Not fully compatible for error cases, old
      one could return NULL in some cases.
    ; TODO: Switch to hb_mbntowc().
    + Added deprecated compatibility wrapper hb_oleAnsiToWide(), which
      now calls hb_wctomb(). Not fully compatible for error cases, old
      one could return NULL in some cases.
    ; TODO: Switch to hb_wcntomb().

  * contrib/hbwin/win_misc.c
    + Added WAPI_MESSAGEBOX()
    + Added WIN_ANSITOWIDE() (rewritten using common API. Please check.)
    + Added WIN_WIDETOANSI() (rewritten using common API. Please check.)
    ; NOTE: ANSI/WIDE conversions aren't 100% compatible for error
            situations and empty strings. Old version could return NIL
            in certain situations.

  ; None of these were tested besides successful compile.
2009-05-13 14:49:08 +00:00
Viktor Szakats
355395e5ce 2009-05-13 08:30 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbwin/olecore.c
    % Using hb_retc_const()
2009-05-13 06:31:28 +00:00
Viktor Szakats
ff616980d7 2009-05-13 08:29 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbwin/Makefile
    ! Updated according to prev commit.
2009-05-13 06:29:21 +00:00
Viktor Szakats
a79c0c64e6 2009-05-13 08:10 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
    + Added -tshead=<file> option to create a .ch header with
      build timestamp information in it: _HBMK_BUILD_DATE,
      _HBMK_BUILD_TIME_, HB_BUILD_TIMESTAMP_.
    * -opt/-noopt -> -optim/-nooptim to avoid name ambiguity.
    + Added feature to -vcshead= to create a locally rolled
      build number if there is no version control system detected.
      In this case _HBMK_VCS_TYPE_ will be defined as "hbmk"
      and _HBMK_VCS_ID_ will be initialized with a string, starting
      with "1" and incremented on each hbmk2 call.
    * Internal change to componentize hbmk2 functionality, clearing
      away all STATIC vars and some parameter passing hacks.
      Work in progress, TODO added.
    ! Fixed cosmetic bug in debug output when making .po.

  * source/rtl/mlcfunc.c
    ! Fixed warning appeard in latest change.

  * source/rtl/trim.c
  * source/compiler/hbfunchk.c
    - Removed HB_EXTENSION protected second extended parameters
      from RTRIM() and ALLTRIM(). If you miss this option, please
      report it on the list, we may readd such functionality under
      some different name.
      INCOMPATIBLE for HB_EXTENSION builds.

   * doc/dirstruc.txt
   * bin/hb-func.sh
   * utils/hbmk2/examples/contribf.hbp
   - contrib/hbole
   * contrib/Makefile
   + contrib/hbwin/oleinit.c
   + contrib/hbwin/olecore.c
   + contrib/hbwin/hbwinole.h
   + contrib/hbwin/oleauto.prg
   + contrib/hbwin/tests/sample.odt
   * contrib/hbwin/tests/testole.prg
   - contrib/hbwin/win_tole.prg
   - contrib/hbwin/win_ole.c
   + contrib/examples/hboleold
   + contrib/examples/hboleold/tests
   + contrib/examples/hboleold/tests/testole.prg
   + contrib/examples/hboleold/win_tole.prg
   + contrib/examples/hboleold/win_ole.c
   + contrib/examples/hboleold/Makefile
     * Replaced old hbwin OLE implementation with
       new implementation in hbole. Thanks to
       Mindaugas Kavaliauskas for the new implementation.
       Those who need the old implementation in the
       meantime for any reason, can find it in contrib/example/hboleold.
     ; TODO: Fill the few missing features (ActiveX/FiveWin
             compatibility).

   * ChangeLog
     * Marked two TODO/TOFIX done.
2009-05-13 06:12:05 +00:00
Viktor Szakats
dcae25d6f6 2009-05-13 07:41 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* harbour-win-spec
  * harbour-wce-spec
  * bin/hb-func.sh
  * doc/dirstruc.txt
  * doc/whatsnew.txt
  - contrib/hbwinprn
  * contrib/Makefile
  * contrib/hbwin/Makefile
  + contrib/hbwin/win_prn1.c
  + contrib/hbwin/win_prn2.c
  + contrib/hbwin/win_tprn.prg
  + contrib/hbwin/tests/testprn.prg
  * utils/hbmk2/examples/hmg.hbp
  * utils/hbmk2/examples/fwh.hbp
  * utils/hbmk2/examples/contribf.hbp
    ! Undone undiscussed (worsened by recent mailing list problems) 
      changes done in previous two commits.
      The direction in Harbour is that we try to gather all
      Windows specific functionality into one contrib (hbwin),
      if there is a fault or missing feature we fix it at the
      proper place (in this case in hbole) instead of splitting 
      hbwin lib into pieces.
    ; TOFIX: Refix deleted change history for "moved" files.
    ; TODO: Move hbole to hbwin and fix missing OLE bits in hbwin.

  * ChangeLog
    ! Fixed duplicated header in one of the entries after prev two commits.
2009-05-13 05:47:20 +00:00
Teo Fonrouge
626f993574 2009-05-12 15:49 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com)
+ contrib/hbwinprn
  + contrib/hbwinprn/Makefile
  + contrib/hbwinprn/tests
  + contrib/hbwinprn/tests/hbwinprn.hbp
  + contrib/hbwinprn/tests/testprn.prg
  + contrib/hbwinprn/win_prn1.c
  + contrib/hbwinprn/win_prn2.c
  + contrib/hbwinprn/win_tprn.prg
  - contrib/hbwin/tests/testprn.prg
  - contrib/hbwin/win_prn1.c
  - contrib/hbwin/win_prn2.c
  - contrib/hbwin/win_tprn.prg
  * bin/hb-func.sh
  * contrib/hbwin/Makefile
  * contrib/Makefile
  * doc/dirstruc.txt
  * doc/whatsnew.txt
  * harbour-wce-spec
  * harbour-win-spec
  * utils/hbmk2/examples/contribf.hbp
  * utils/hbmk2/examples/fwh.hbp
  * utils/hbmk2/examples/hmg.hbp
    * WIN_PRN windows printing class moved out of "hbwin" lib
      to a new "hbwinprn" lib
2009-05-12 20:46:24 +00:00
Viktor Szakats
301c1c5f98 2009-05-12 10:37 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/xhb/hbcompat.ch
    + Added HB_GETENV() <-> GETENV() conversions.
    + Added MEMOWRIT() translation for xhb sources.

  * source/rtl/at.c
  * source/rtl/gete.c
  * source/rtl/memofile.c
    - Deleted HB_EXTENSION branches. Users of extended
      GETENV(), GETE(), AT() and MEMOWRIT() functionality
      will have to use hbcompat.ch to stay compatible with xhb
      (this isn't needed for MEMOWRIT()).
      INCOMPATIBLE change for those who enabled HB_EXTENSION
      in Harbour. Hopefully xhb will implement HB_AT() and
      HB_GETENV() in the future so hbcompat.ch will become
      unnecessary.

   * include/hbextern.ch
   + source/rtl/radiobhb.prg
   * source/rtl/radiobtn.prg
     * RADIOBUTTON() Harbour extension moved to a separate file
       to cause no harm for programs defining this function locally.
       At the same time, HB_EXTENSION protection got removed so
       it can be accessed in default builds as a RADIOBUTTO() 
       alternative.
2009-05-12 08:44:03 +00:00
Viktor Szakats
52e2e002e5 2009-05-12 09:25 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* doc/cmdline.txt
  * doc/howtosvn.txt
    + Added CC copyright.

  * source/rtl/alert.prg
  * include/hbextern.ch
    + HB_ALERT(). Now this function holds all extended features:
      nDelay support and any type for first parameter.
    * ALERT() now behaves completely along Clipper version, without
      extensions. HB_EXTENSION no longer modifies its behaviour, so
      if someone needs these extended features, there is no need to
      build with HB_EXTENSION, only ALERT() calls have to be
      converted to HB_ALERT(). INCOMPATIBLE (in some scenarios).

  * contrib/hbtip/utils.c
    % TIP_TIMESTAMP() code cleaned to remove redundancy of
      having two full distinct copies of this function. Now
      platform independent parts are kept common.
    ! TIP_TIMESTAMP() fixed hb_parl() to hb_parnl() for 'hours'
      parameter. I wonder how this bug wasn't noticed till now.
      Please someone test, maybe I'm missing the point of this
      parameter, but it's unlikely the intent was a logical value
      as it's later converted to timestamp.

  * contrib/hbtip/thtml.prg
  * contrib/hbtip/sendmail.prg
  * contrib/hbtip/httpcln.prg
  * contrib/hbtip/ftpcln.prg
    * END -> END*
    * Minor formatting.

  * contrib/hbtip/base64x.c
  * contrib/hbtip/smtpcln.prg
    * Formatted.
    * Minor optimizations (File() -> hb_FileExists(), ::AuthPlain()
      simplification).
    % BUILDUSERPASSSTRING() rewritten in Harbour. It's a very
      simple function.
2009-05-12 07:32:45 +00:00
Viktor Szakats
a004e5abf2 2009-05-08 14:53 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/tget.prg
  * source/rtl/tclass.prg
    * hb_SToT( "" ) -> hb_SToT().

  * contrib/hbodbc/odbc.c
    + Added copyright, after extensive cleanup/fixing work.
    * ISCHAR() protected hb_parcx() calls changed to hb_parc().

  * contrib/hbole/tests/testole.prg
    * Checking for object creation in ADO example.

  * contrib/rddado/adordd.prg
    * Minor formatting.
2009-05-08 12:54:50 +00:00
Przemyslaw Czerpak
4fe32a0a79 2009-05-08 14:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/Makefile
    * respect HB_HVM_ALL user settings
    ! export HB_HVM_ALL value set automatically - otherwise it's not seen
      when HBVMMT is compiled

  * harbour/source/vm/classes.c
    * exteneded :classsel() build in method to repsect scope given as
      2-nd parameter and return extended information compatible with
      :ClassFullSel() implemented in xHarbour by Francesco Saverio Giudice.
      This extended info is returned when 3-rd parameter is .T.

  * harbour/source/rtl/dateshb.c
    * do not generate RTE on wrong params in HB_STOT() function

  * harbour/contrib/xhb/xhbfunc.c
    + added hacked function which allows to send messages without respecting
      scope. It works only for the most visible data and does not support
      any automatic casting.

  * harbour/contrib/xhb/dumpvar.prg
    ! fixed HB_DumpVar() results on platforms where CRLF has different
       length then 2
    % small improve in hash item presentation
    + added __objGetMsgFullList() and __objGetValueFullList() as static
      functions. Code borrowed form xHarbour by Francesco Saverio Giudice.
    * make HB_DumpVar() working with object values.
2009-05-08 12:27:40 +00:00
Viktor Szakats
146eeda68b 2009-05-08 10:14 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/tclass.prg
    ! Fix to prev commit.

  * contrib/hbole/tests/testole.prg
    + Added ADODB example. Submitted by Enrico Maria Giordano.
2009-05-08 08:15:08 +00:00
Przemyslaw Czerpak
7f4b915d87 2009-05-08 01:36 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/xhb/stream.prg
    ! disabled call to HB_IsByRef(). Such function does not exist in Harbour
      and in current xHarbour it does not work.

  * harbour/contrib/xhb/hbserv.c
    ! removed some peaces of not working old code which used pHVMFuncService.
      With some calling convention this code can cause application crash on
      exit in xHarbour so it should be fixed there too.

  * harbour/contrib/xhb/regexrpl.prg
    ! use HB_ISREGEX() instead of xHarbour only HB_ISREGEXSTRING()

  * harbour/contrib/xhb/xhbfunc.c
    + added xHarbour compatible HB_CREATELEN8() and HB_GETLEN8() functions.
      They save/restore 64bit signed integers in/from 8 bytes strings.
      In Clipper terminology they can be called: LL2BIN()/BIN2LL().
      Original xHarbour version of HB_CREATELEN8() and HB_GETLEN8() were
      implemented by Giancarlo Niccolai.
2009-05-07 23:28:13 +00:00
Viktor Szakats
07066949a7 2009-05-07 15:28 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/alert.prg
    + Added TIMESTAMP support for Alert() (extended mode only)

  * contrib/xhb/dumpvar.prg
    ! Fixed hash function name.
2009-05-07 13:29:04 +00:00
Mindaugas Kavaliauskas
02e0b97797 2009-05-06 19:10 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbole/olecore.c
    ! fixed assign method return value
    * modified hb_oleVariantToItem() to save stack's return item
2009-05-06 16:12:50 +00:00
Mindaugas Kavaliauskas
46b7131e52 2009-05-06 16:05 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/rddsql/sqlbase.c
    ! fixed double memory freeing and GPF. Thanks valgrind!
2009-05-06 13:06:51 +00:00
Mindaugas Kavaliauskas
df0d7f8d4f 2009-05-04 19:40 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/rddsql/sddmy/mysqldd.c
  * harbour/contrib/rddsql/sddpg/pgsqldd.c
    * added protection against double resource freeing
2009-05-05 16:43:24 +00:00
Pritpal Bedi
d1c8612024 2009-05-05 08:54 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtqtc/gtqtc.cpp
  * harbour/contrib/gtwvg/tests/demoxbp.prg
    ! Minor formattings.
2009-05-05 15:57:25 +00:00
Pritpal Bedi
43e5b5a07b 2009-05-04 17:52 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/gtwvg.h
  * harbour/contrib/gtwvg/hbgtwvg.ch
  * harbour/contrib/gtwvg/gtwvg.c
  * harbour/contrib/gtwvg/wvgcore.c
  * harbour/contrib/gtwvg/wvgcuig.c
  * harbour/contrib/gtwvg/wvgcrt.prg
    ! Fixed many artifacts. Probbaly it is difficult to jot down all.
2009-05-05 01:18:09 +00:00
Viktor Szakats
cf2450c135 2009-05-04 18:16 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbole/tests/testole.prg
    + Readded CDO and OO open examples (working).

  * utils/hbmk2/hbmk2.hbm
    + Added .hbl file generation.

  * utils/hbmk2/hbmk2.prg
    + Added translator info to banner.
    ! Minor fix to now display job # if single-threaded compilation is done.
      (Thanks for __enumBase() trick to Przemek)
    * Some steps to better support xhb shared mode (untested).
    + Added filter support for .prg and .c/.cpp input files.
      (This also means that input files with '{' '}' char pairs in them
      aren't supported anymore).
    ! Minor terminology fix in one of the rare error messages.
    ; TODO: ? Adding GNU Make support to .pot -> .hbl generation, plus
            we'd also need to develop a common rule for naming and
            placement for these translation files. Current hbmk2 method
            cannot be considered final.

  + utils/hbmk2/hbmk2.hu_HU.pot
    + Added Hungarian translation (not complete/final yet).
2009-05-04 16:19:30 +00:00
Mindaugas Kavaliauskas
3f49491bb8 2009-05-04 17:40 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbole/oleauto.prg
  * harbour/contrib/hbole/olecore.c
    * added runtime error on descend FOR EACH ICollection enumeration
    * added a few more runtime errors
    * fixed reference counter managament if OLE object is used as 
      parameter for another OLE function call
    + implemented array parameter support
      TODO/TOCHECK: multidimentional array support

  * harbour/contrib/hbole/tests/testole.prg
    * changed test to work with current hbole library
    + added new OppenOffice tests
2009-05-04 14:43:56 +00:00
Miguel Angel Marchuet Frutos
87bdaaf0ef 2009-05-04 10:00 UTC+0100 Miguel Angel Marchuet <miguelangel@marchuet.net>
* contrib/hbbmcdx/bmdbfcdx.c
  * contrib/hbbmcdx/hbbmcdx.h
    * Synchronized with current dbfcdx.
2009-05-04 08:02:34 +00:00
Viktor Szakats
29db6198ae 2009-05-01 20:09 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* ChangeLog
    ! Typo in old i18n entry.

  * utils/hbmk2/hbmk2.prg
    * Formatting.

  * contrib/xhb/hbcompat.ch
    + Added i18n() compatibility translation.
2009-05-01 18:10:52 +00:00
Viktor Szakats
6f588c2e58 2009-04-29 13:11 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbqt/generator/hbqtgen.prg
  * contrib/hbqt/hbqt.h
  * contrib/gtqtc/gtqtc.h
  * contrib/gtqtc/Makefile
    ! Fixed to use no dir when including qglobal.h. This fixes
      darwin compile error.

  * utils/hbmk2/hbmk2.prg
    ! Fixed static lib output extension for rest of compilers (*nix/gcc).
    ! Fixed 'lib' prefix handling for static lib output names when dir
      was present in the name.
    * Now -inc files will be put into .hbmk/* dirs.
    ! Disabled -map option for *nix gcc as it doesn't seem supported 
      (probably isn't needed on these platforms anyway).
    % Cleaned code redundancy in forming output names.
    ; TOFIX: gcc/darwin complains that -s switch is obsolete and being ignored.
2009-04-29 11:49:34 +00:00
Viktor Szakats
64d3559881 2009-04-29 11:16 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/xhb/dbgfxc.c
    + Using hb_vsnprintf() instead of C RTL vsnprintf().
      Not tested, but this should be a plugin replacement.
2009-04-29 09:17:28 +00:00
Viktor Szakats
966e700e5c 2009-04-29 00:49 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu)
* COPYING
    + Added Creative Commons Attribution-ShareAlike 3.0 Unported (CC-by-sa)
      license section. To be used for misc text, documentation and typically
      everything which isn't source/program code. Currently these files
      (in part or whole) are covered by this license:
      INSTALL
      ChangeLog
      doc/whatsnew.txt
    ; TODO: If this works out well, IMO we should apply this license to 
            all non-code parts of our repository. /doc, /man sections 
            and some files in the root specifically. We can also cover 
            the homepage content with this license.

  * INSTALL
    + Added CC-by-sa license.

  * doc/whatsnew.txt
  * ChangeLog
    + Added CC-by-sa license. I've covered all my past entries with
      this license, besides these, only the new entries will fall
      under the license.

  * contrib/hbblat/blatwrp.c
    ! Fixed extern declaration to work in C++ mode.

  * source/lang/msgtrwin.c
  * source/lang/msgtr857.c
    ! Typos in comments.

  * source/vm/set.c
    + Added copyright for few functions (hb_osEncode()/hb_osDecode()).

  * utils/hbmk2/hbmk2.prg
    ! Fixed RTE in Harbour-only (-gh) mode.
2009-04-28 22:55:59 +00:00
Przemyslaw Czerpak
65ac716c4e 2009-04-28 23:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbole/olecore.c
    * pacified some GCC warnings
2009-04-28 21:47:01 +00:00
Przemyslaw Czerpak
9a96ffb434 2009-04-28 21:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/rddads/ads1.c
    ! fixed two typos in last modification - thanks for the info to Mindaugas
      and Rossine.
2009-04-28 19:35:27 +00:00
Przemyslaw Czerpak
e12013d2ff 2009-04-28 19:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/ChangeLog
    * removed TOVERIFY note - Viktor checked it.

  * harbour/contrib/hbct/ctwin.c
    ! redraw windows after each WCENTER() call

  * harbour/contrib/rddads/ads1.c
    + added support for ADS_VARCHAR_FOX and ADS_VARBINARY_FOX fields
      in ADS_VFP tables

  * harbour/include/dbinfo.ch
  * harbour/include/hbrdddbf.h
  * harbour/include/hbrddcdx.h
  * harbour/include/hbrddnsx.h
  * harbour/include/hbrddntx.h
  * harbour/source/rdd/dbf1.c
  * harbour/source/rdd/workarea.c
    + added support for VFP tables with VARCHAR and VARBINARY fields
    + added support for VFP tables with NULLABLE fields
    + added new dbFieldInfo() action to check if given field is NULL, f.e.:
         ? dbFieldInfo( DBS_ISNULL, FieldPos( <cFieldName> ) )
      The above modifications were not tested with real VFP files. I do
      not have VFP. VFP users should make some real life tests with tables
      created by VFP.
2009-04-28 17:37:49 +00:00
Przemyslaw Czerpak
c8e85f3c48 2009-04-27 19:17 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/rddads/ads1.c
    ! fixed very bad bug in code compiled for ADS_LIB_VERSION < 600
      in ANSI<->OEM translations - the HVM item value was overloaded
      with translation results
    + added direct support for ADS_TIME, ADS_TIMESTAMP and ADS_MODTIME
      fields and HVM TIMESTAMP values in field get/put operations, seek
      and scopes.
      Warning! Support for timestamp values in VFP tables is limited
      and does not fully respect whole Harbour timestamp arithmetic, f.e.
      timestamp values read from index keys are rounded to whole seconds
      or setting scopes to data values on timestamp indexes does not work
      like in native RDDs or in ADT tables.
      TOVERIFY: please check in which ACE version Ads[SG]etMilliseconds()
                functions were added and if necessary add
                  #if ADS_LIB_VERSION >= ???
                protection. I do not have older ACE headers and I cannot
                make it myself.
      To ADS users: please make some real life tests and report problems
      if any.
2009-04-27 17:09:46 +00:00
Pritpal Bedi
3d1bf77e4e 2009-04-27 08:59 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtqtc/gtqtc.cpp
    ! Fixed a very important issue of focussing. Now F3 and F4
      correctly set the focus to window in question.
      The flickering cannot be avoided as QT hides the window
      before setting the flags until I come up with another way.
2009-04-27 16:02:28 +00:00
Pritpal Bedi
cf7bfd9e49 2009-04-26 22:14 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/generator/hbqtgen.prg
  * harbour/contrib/hbqt/generator/qt45.qtp
  * harbour/contrib/hbqt/hbqt.h
  * harbour/contrib/hbqt/Makefile_gen

  + harbour/contrib/hbqt/hbqt_qtextcodec.cpp
  + harbour/contrib/hbqt/hbqt_qtextencoder.cpp
  + harbour/contrib/hbqt/hbqt_qtextfragment.cpp
  + harbour/contrib/hbqt/hbqt_qtextframe.cpp
  + harbour/contrib/hbqt/hbqt_qtextframeformat.cpp
  + harbour/contrib/hbqt/hbqt_qtextimageformat.cpp
  + harbour/contrib/hbqt/hbqt_qtextinlineobject.cpp
  + harbour/contrib/hbqt/hbqt_qtextitem.cpp
  + harbour/contrib/hbqt/hbqt_qtextlayout.cpp
  + harbour/contrib/hbqt/hbqt_qtextlength.cpp
  + harbour/contrib/hbqt/hbqt_qtextline.cpp

  + harbour/contrib/hbqt/TQTextCodec.prg
  + harbour/contrib/hbqt/TQTextEncoder.prg
  + harbour/contrib/hbqt/TQTextFragment.prg
  + harbour/contrib/hbqt/TQTextFrame.prg
  + harbour/contrib/hbqt/TQTextFrameFormat.prg
  + harbour/contrib/hbqt/TQTextImageFormat.prg
  + harbour/contrib/hbqt/TQTextInlineObject.prg
  + harbour/contrib/hbqt/TQTextItem.prg
  + harbour/contrib/hbqt/TQTextLayout.prg
  + harbour/contrib/hbqt/TQTextLength.prg
  + harbour/contrib/hbqt/TQTextLine.prg

  + harbour/contrib/hbqt/qth/QTextCodec.qth
  + harbour/contrib/hbqt/qth/QTextEncoder.qth
  + harbour/contrib/hbqt/qth/QTextFragment.qth
  + harbour/contrib/hbqt/qth/QTextFrame.qth
  + harbour/contrib/hbqt/qth/QTextFrameFormat.qth
  + harbour/contrib/hbqt/qth/QTextImageFormat.qth
  + harbour/contrib/hbqt/qth/QTextInlineObject.qth
  + harbour/contrib/hbqt/qth/QTextItem.qth
  + harbour/contrib/hbqt/qth/QTextLayout.qth
  + harbour/contrib/hbqt/qth/QTextLength.qth
  + harbour/contrib/hbqt/qth/QTextLine.qth
  
    + Added more classes.
2009-04-27 05:20:45 +00:00
Pritpal Bedi
37b6c79533 2009-04-26 11:17 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtqtc/gtqtc.cpp
  * harbour/contrib/gtqtc/tests/wvtext.cpp
    + Implemented all BOX characters including B_THIN and B_FAT.
      B_THIN protocol respects the aspect ratio means half column
      characters are exactly of size column width.
      
      /* Press F9 to view all box types. */
2009-04-27 01:58:25 +00:00
Pritpal Bedi
694c31e732 2009-04-26 11:17 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtqtc/gtqtc.cpp
  * harbour/contrib/gtqtc/moc_gtqtc.cpp
  * harbour/contrib/gtqtc/gtqtc.h
  * harbour/contrib/gtqtc/tests/wvtext.cpp
    + Implemented destructors. Now opening/closing new windows
      release memory properly. There is a small leakage remains yet,
      about 40 kb per window, but I am not been able to figure out
      what action causes it. May be in future...
    ! Optimized "Mark & Copy" operation. Now previous buffer is used 
      instead of creating a new image.
    ! "Mark & Copy" operation now do not generate INKEY() events.
      Important until we find a solution via SysMenu.

    /* 
       So far I did not receive any input from anybody.
       Does it mean this project do carry little importance 
       to be pushed forward ?
    */
2009-04-26 18:25:09 +00:00
Pritpal Bedi
2f33f70607 2009-04-25 20:33 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtqtc/gtqtc.cpp
  * harbour/contrib/gtqtc/gtqtc.h
    + Implemented "Mark & Copy" operation. 
      Just drag the mouse while left button is pressed.
      I could not access SysMenu to initiate this operation
      as is implemented in GTWVG but still it is a much needed
      feature to have it.
2009-04-26 03:38:19 +00:00
Pritpal Bedi
a5617b7994 2009-04-25 15:47 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtqtc/gtqtc.cpp
  * harbour/contrib/gtqtc/gtqtc.h
    ! Formatting per Harbour standards.
2009-04-25 22:48:15 +00:00
Pritpal Bedi
6d6bda3082 2009-04-25 11:05 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtqtc/gtqtc.cpp
    + Implemented Box Characters B_DOUBLE_SINGLE.

  * harbour/contrib/gtqtc/tests/wvtext.prg
    + <F9 Boxes>.
2009-04-25 18:07:40 +00:00
Pritpal Bedi
0e6c71d263 2009-04-25 08:46 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtqtc/gtqtc.cpp
  * harbour/contrib/gtqtc/gtqtc.h
    + Implemented Box Characters independant of fonts and OS.
      At this moment only B_SINGLE.
      This feature relies on the DispBox()* functions which 
      sets the attributes in GT. Final goal should be recognizing
      Box characters from the char itself, but it may be trivival to 
      handle as Harbour must be heading for UNICODE.

      Przemek, your attention to this fact is requested.

  * harbour/contrib/gtqtc/tests/wvtext.prg
    ! Tweaked for inkey( 0.1 ). No more GPFs now. Play freely.
2009-04-25 15:52:04 +00:00
Mindaugas Kavaliauskas
c4b63cd857 2009-04-25 02:05 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbole/olecore.c
    ! fixed OleCreateObject(), OleGetActiveObject() return value
2009-04-24 23:07:10 +00:00
Pritpal Bedi
1df277f513 2009-04-24 15:41 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtqtc/gtqtc.cpp
  * harbour/contrib/gtqtc/gtqtc.h
  * harbour/contrib/gtqtc/moc_gtqtc.cpp
  * harbour/contrib/gtqtc/tests/wvtext.prg
    ! Code cleanup.
    ! Adopted KDE's calss variable naming convention. 
      Class variables now begin with "_" (underscore character).
      Please follow this convention strictly. 
    + IMPLEMENTED : hb_gtInfo( HB_GTI_RESIZEMODE, HB_GTI_RESIZEMODE_ROWS ).
    ! Tweaked caret implementation.
    ! Renamed :consoleArea => :drawingArea. More natural for hbqtxbp.lib.
     
    /* Please try like this:

       1.       
       - Execute wvtext.exe
       - Press F10 -> New Window
       - Press <ESC> -> Boooooom GPF (inkey(0))
 
       2.
       - Execute wvtext.exe
       - Press F10 -> New Window
       - Click on Main Window
       - Click on New Window
       - Press <ESC> -> Normal Exit
 
       I am trying to find why to click on Main Window for 
       closing the New Window. I have not been able to reach any 
       logical reasoning. Help is requested.

       Play : Resize New Window - Browser expands by rows and columns.
    */
2009-04-24 22:56:18 +00:00
Mindaugas Kavaliauskas
a237fe6654 2009-04-25 01:35 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbole/olecore.c
    ! fixed C++ compile errors
2009-04-24 22:34:29 +00:00
Mindaugas Kavaliauskas
62dc5dd14f 2009-04-24 23:15 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbole/olecore.c
  * harbour/contrib/hbole/oleauto.prg
    + implemented FOR EACH enumeration. The code was proposed by 
      Przemyslaw on mailing list. Some fixes applied.
2009-04-24 20:15:07 +00:00
Viktor Szakats
7e1584c472 2009-04-24 13:18 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
    * Changed QT examples according to 4.5.1 new default dir layout.

  * contrib/gtqtc/tests/demoqtc.prg
    ! Removed zip dependency.

  * contrib/gtqtc/tests/wvtext.prg
    ! Fixed non-lower case filename.
    ! Fixed wrong reference to test .ico file.
      BTW, is .ico portable? I doubt, so we should probably
      switch to .png in context of QT.
    ! Fixed wrong reference to test.dbf.

  * contrib/hbqt/tests/hbqt.hbp
  * contrib/gtqtc/tests/gtqtc.hbp
    + Added support for HB_QT_DIR envvar to find QT libs.
      This is the same envvar which is needed for Harbour
      builds, so you may already have it set up.
    ; TODO: If this works out well, I'll add the same method
            for other contribs too.

  * utils/hbmk2/hbmk2.prg
    + libpaths will now be checked for existance before being
      added to the list.
2009-04-24 11:26:59 +00:00
Viktor Szakats
a171bc3a00 2009-04-23 11:53 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbqt/tests/hbqt.hbp
    * Minor adjustment to supc++ lib inclusion filter.

  - contrib/gtqtc/tests/hbqt.hbp
  + contrib/gtqtc/tests/gtqtc.hbp
    - Removed .hbp with wrong name. This file also contained 
      local, environment dependent QT libpath.
      Please don't add such lines to SVN !!
      Instead use a local .hbp file which points to the QT path 
      in your environment:
      --- qt_path.hbp
      {win}libpaths=C:\devl\Qt\2009.01\qt\lib
      --- (don't commit this file, keep it local !)
      or, add the same line to your local hbmk.cfg file.
    + Added new .hbp file with multiplatform content.
2009-04-23 09:53:37 +00:00