Commit Graph

10714 Commits

Author SHA1 Message Date
Mindaugas Kavaliauskas
cc8fdee705 2009-05-25 14:44 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbwin/axcore.c
    ! fixed a few C++ compile warinings
2009-05-25 11:43:45 +00:00
Viktor Szakats
28c8f6909c 2009-05-25 13:22 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
+ utils/hbformat/hbformac.c
    + Added missing file from prev commit. Sorry.
2009-05-25 11:23:26 +00:00
Przemyslaw Czerpak
519d866cba 2009-05-25 13:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/gtxwc/gtxwc.c
    ! fixed typo in HB_GTXVG_SQUARE shape initialization

  * harbour/include/hbrddnsx.h
  * harbour/include/hbrddntx.h
  * harbour/source/rdd/dbfntx/dbfntx1.c
  * harbour/source/rdd/dbfnsx/dbfnsx1.c
    * code cleanup - use predefined #define instead of hardcoded constant
      values

  * harbour/source/rtl/valtoexp.prg
    * added REQUEST __objSetClass

  * harbour/source/compiler/gencc.c
    ! fixed -gc3 code generated for switch statement - thanks to Marek and
      Xavi for information and self contain example
      TODO: add missing RT error in -gc3 output when wrong (non integer
            and non string value) is used in SWITCH statement
2009-05-25 11:12:39 +00:00
Alexander S.Kresin
22c3e1c888 2009-05-25 15:00 UTC+0300 Alexander Kresin <alex at belacy.belgorod.su>
* utils/hbformat/hbformat.prg
    ! Small fix
2009-05-25 11:01:28 +00:00
Viktor Szakats
08b7af7f05 2009-05-25 12:30 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* make_gnu.bat
    % Fixed to exclude external libs from dll phase of build.
      This will make the process a bit faster.
2009-05-25 10:30:46 +00:00
Alexander S.Kresin
122f871395 2009-05-25 10:30 UTC+0300 Alexander Kresin <alex at belacy.belgorod.su>
* utils/hbformat/hbformat.prg
    ! Fixed SetOption() method.
2009-05-25 08:51:43 +00:00
Viktor Szakats
d394df5105 2009-05-25 10:11 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* doc/howtosvn.txt
    * Deleted sections dealing with sending commit e-mails.

  * doc/dirstruc.txt
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.prg
  * utils/hbi18n/hbi18n.prg
    * Shuffling extensions:
      .hbl -> .hbi (Harbour i18n)
      .hbp -> .hbl (Harbour Library)
      .hbm -> (unchanged) (Harbour Make)
      .hbt -> .hbp (Harbour Project)

  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.prg
    + Added reference to -b switch to -debug switch description.
    + Added _HBMK_EMBEDDED_ mode (like in hbformat).
    + Accepting .hbp files (same format as .hbm) on the command
      line (top level). .hbp refers to "Harbour project file".
      Similar function to recent experimental .hbt files, but not
      embeddable.
    * Minor tweak to HB_SHARED envvar reading code.
    * Changed -nohbp switch to -nohbl.
    * Changed -hbl switch to -hbi.

      Updated usage:
      There are three ways to do multitarget hbmk2 sessions:
      1.) hbmk2 [<common_params1>] -target=target1[.hbm|.prg] [<common_params2>] -target=target2[.hbm|.prg] [<common_params3>]
          Examples:
             hbmk2 -target=prog1 -target=prog2 -target=prog3
             hbmk2 -target=prog1.prg -target=prog2.prg -target=prog3.prg
             hbmk2 -target=mylib1.hbm -target=mylib2.hbm -target=myapp.hbm
             hbmk2 -trace -pause -target=mylib1.hbm -target=mylib2.hbm -target=myapp.hbm -beep
      2.) hbmk2 [<common_params1>] -target <target1_params> -target <target2_params> [-notarget <common_params2>]
          Examples:
             hbmk2 -target hello1.prg -target hello2.prg
             hbmk2 -trace -target hello1.prg -target hello2.prg
             hbmk2 -trace -target hello1.prg -target hello2.prg -notarget -beep
      3.) hbmk2 [<common_params1>] target1.hbp [<common_params2>] target2.hbp [<common_params3>]
          where .hbp is an .hbm file just with an .hbp extension.
          Examples:
             hbmk2 mylib1.hbp mylib.hbp myapp.hbp
             hbmk2 -trace -pause mylib1.hbp mylib2.hbp myapp.hbp -beep

   + utils/hbmk2/examples/hmg.hbl
   + utils/hbmk2/examples/whoo.hbl
   + utils/hbmk2/examples/xbgtk.hbl
   - utils/hbmk2/examples/hmg.hbp
   - utils/hbmk2/examples/whoo.hbp
   - utils/hbmk2/examples/xbgtk.hbp
   + utils/hbmk2/examples/hwgui.hbl
   + utils/hbmk2/examples/fwh.hbl
   + utils/hbmk2/examples/xhgtk.hbl
   - utils/hbmk2/examples/hwgui.hbp
   - utils/hbmk2/examples/fwh.hbp
   - utils/hbmk2/examples/xhgtk.hbp
   + utils/hbmk2/examples/c4w.hbl
   + utils/hbmk2/examples/contrib.hbl
   - utils/hbmk2/examples/c4w.hbp
   - utils/hbmk2/examples/contrib.hbp
   + utils/hbmk2/examples/contribf.hbl
   - utils/hbmk2/examples/contribf.hbp
   + contrib/gtalleg/tests/gtallegs.hbl
   + contrib/gtalleg/tests/gtallegd.hbl
   - contrib/gtalleg/tests/gtallegs.hbp
   - contrib/gtalleg/tests/gtallegd.hbp
   + contrib/hbmysql/utils/hbmysql.hbl
   - contrib/hbmysql/utils/hbmysql.hbp
   + contrib/hbmysql/tests/hbmysql.hbl
   - contrib/hbmysql/tests/hbmysql.hbp
   + contrib/hbct/tests/hbct.hbl
   - contrib/hbct/tests/hbct.hbp
   + contrib/xhb/tests/xhb.hbl
   - contrib/xhb/tests/xhb.hbp
   + contrib/hbodbc/tests/hbodbc.hbl
   - contrib/hbodbc/tests/hbodbc.hbp
   + contrib/hbtpathy/tests/hbtpathy.hbl
   - contrib/hbtpathy/tests/hbtpathy.hbp
   + contrib/hbmsql/tests/hbmsql.hbl
   - contrib/hbmsql/tests/hbmsql.hbp
   - contrib/hbmzip/tests/hbmzip.hbp
   + contrib/hbmzip/tests/hbmzip.hbl
   - contrib/hbsqlit3/tests/hbsqlit3.hbp
   + contrib/hbsqlit3/tests/hbsqlit3.hbl
   + contrib/hbblat/tests/hbblat.hbl
   - contrib/hbblat/tests/hbblat.hbp
   + contrib/hbqt/tests/hbqt.hbl
   - contrib/hbqt/tests/hbqt.hbp
   + contrib/hbfbird/tests/hbfbird.hbl
   - contrib/hbfbird/tests/hbfbird.hbp
   + contrib/hbziparc/tests/hbziparc.hbl
   - contrib/hbziparc/tests/hbziparc.hbp
   + contrib/hbnf/tests/hbnf.hbl
   - contrib/hbnf/tests/hbnf.hbp
   + contrib/hbcurl/tests/hbcurl.hbl
   - contrib/hbcurl/tests/hbcurl.hbp
   + contrib/gtqtc/tests/gtqtc.hbl
   - contrib/gtqtc/tests/gtqtc.hbp
   + contrib/rddsql/sddmy/tests/sddmy.hbl
   - contrib/rddsql/sddmy/tests/sddmy.hbp
   - contrib/rddsql/tests/rddsql.hbp
   + contrib/rddsql/tests/rddsql.hbl
   + contrib/rddsql/sddodbc/tests/sddodbc.hbl
   - contrib/rddsql/sddodbc/tests/sddodbc.hbp
   + contrib/hbhpdf/tests/hbhpdf.hbl
   - contrib/hbhpdf/tests/hbhpdf.hbp
   + contrib/rddado/tests/rddado.hbl
   - contrib/rddado/tests/rddado.hbp
   + contrib/gtwvg/tests/gtwvg.hbl
   - contrib/gtwvg/tests/gtwvg.hbp
   + contrib/hbpgsql/tests/hbpgsql.hbl
   - contrib/hbpgsql/tests/hbpgsql.hbp
   + contrib/rddads/tests/rddads.hbl
   - contrib/rddads/tests/rddads.hbp
   + contrib/hbclipsm/tests/hbclipsm.hbl
   - contrib/hbclipsm/tests/hbclipsm.hbp
   + contrib/hbfimage/tests/hbfimage.hbl
   - contrib/hbfimage/tests/hbfimage.hbp
   + contrib/hbgd/tests/hbgd.hbl
   - contrib/hbgd/tests/hbgd.hbp
   + contrib/hbmisc/tests/hbmisc.hbl
   - contrib/hbmisc/tests/hbmisc.hbp
   + contrib/hbtip/tests/hbtip.hbl
   - contrib/hbtip/tests/hbtip.hbp
   - contrib/hbwin/tests/hbwin.hbp
   + contrib/hbwin/tests/hbwin.hbl
   - contrib/hbvpdf/tests/hbvpdf.hbp
   + contrib/hbvpdf/tests/hbvpdf.hbl
   + contrib/hbssl/tests/hbssl.hbl
   - contrib/hbssl/tests/hbssl.hbp
   + contrib/hbbtree/tests/hbbtree.hbl
   - contrib/hbbtree/tests/hbbtree.hbp
   + contrib/hbcrypt/tests/hbcrypt.hbl
   - contrib/hbcrypt/tests/hbcrypt.hbp
   - contrib/examples/hbsqlit2/tests/hbsqlit2.hbp
   + contrib/examples/hbsqlit2/tests/hbsqlit2.hbl
   + contrib/examples/hbapollo/tests/hbapollo.hbl
   - contrib/examples/hbapollo/tests/hbapollo.hbp
   + contrib/examples/hbgf/tests/hbgf.hbl
   - contrib/examples/hbgf/tests/hbgf.hbp
   + contrib/examples/terminal/terminal.hbl
   - contrib/examples/terminal/terminal.hbp
   + contrib/examples/hbwhat/tests/hbwhat.hbl
   - contrib/examples/hbwhat/tests/hbwhat.hbp
    * Renamed *.hbp -> *.hbl in whole source tree.

  * doc/dirstruc.txt
  * bin/postinst.bat
  * utils/hbformat/hbformat.ini
  + utils/hbformat/hbformat.hbm
  * utils/hbformat/hbformat.prg
  * utils/hbformat/Makefile
    ! Added SVN props.
    + Added hbformat.hbm (hbmk2 make file).
    % Deleted forced MT mode from Makefile (not needed for hbformat)
    ! Separated C code from .prg.
    ! Minor fix to RF_FILEREAD() (non-string param GPF)
    % Minor opts to RF_FILEREAD().
    * RF_FULLPATH() changed to .prg level macro (from C).
    * Some formatting tweaks to hbformat.prg.
    + Added generation of shared hbformat executable to build process.
    * Using DEFAULT (common.ch).
    ! Using hb_osFileMask() instead of "*.*".
    * Minor tweaks to header output.
    ! Added to distruct.txt.
2009-05-25 08:19:23 +00:00
Alexander S.Kresin
58c7591149 Trying propset 2009-05-25 08:07:24 +00:00
Alexander S.Kresin
454d4fb501 Just adding $Id 2009-05-25 08:05:58 +00:00
Alexander S.Kresin
2f672ef210 2009-05-25 10:30 UTC+0300 Alexander Kresin <alex at belacy.belgorod.su> 2009-05-25 06:36:08 +00:00
Viktor Szakats
e7a811842b 2009-05-24 13:44 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
    * Minor cleanups.
2009-05-24 11:44:22 +00:00
Viktor Szakats
cb560a9814 2009-05-24 13:27 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    * Changed multitarget support. Instead of special .hbt extension
      (which was not removed), not -target=<target>[.hbm|.prg] option
      can be used to force a distinct target from the command line.
      This way it's more flexible, easy to use and clear without needing
      a special extension alias.

      Here's the updated usage:
      There are two ways to do multitarget hbmk2 sessions:
      1.) hbmk2 [<common_params1>] -target=target1[.hbm|.prg] [<common_params2>] -target=target2[.hbm|.prg] [<common_params3>]
          Examples:
             hbmk2 -target=prog1 -target=prog2 -target=prog3
             hbmk2 -target=prog1.prg -target=prog2.prg -target=prog3.prg
             hbmk2 -target=mylib1.hbm -target=mylib2.hbm -target=myapp.hbm
             hbmk2 -trace -pause -target=mylib1.hbm -target=mylib2.hbm -target=myapp.hbm -beep
      2.) hbmk2 [<common_params1>] -target <target1_params> -target <target2_params> [-notarget <common_params2>]
          Examples:
             hbmk2 -target hello1.prg -target hello2.prg
             hbmk2 -trace -target hello1.prg -target hello2.prg
             hbmk2 -trace -target hello1.prg -target hello2.prg -notarget -beep

    * Changed ' = ' operators to macro LEFTEQUAL().
    + Added Set( _SET_EXACT ) setting to make sure above operator
      works regardless of caller/default state.
    ; NOTE: IMO it would be useful to add a pseudo function
            equivalent to non-exact equality operator. This would
            clear up hacks like above.

  * doc/dirstruc.txt
    ! Typo.
2009-05-24 11:33:29 +00:00
Viktor Szakats
ddf08a2b2a 2009-05-24 11:52 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
    * Terminology cleanup: x64 -> x86-64
2009-05-24 09:53:19 +00:00
Viktor Szakats
cbbd990ae9 2009-05-24 11:25 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
    + Added section: HOW TO GET SOURCE CODE.
    + Added hint how to use dirs with spaces.

  * ChangeLog
    ! Fixed header in my prev commit.
2009-05-24 09:27:01 +00:00
Viktor Szakats
83bcf19d91 2009-05-23 14:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* utils/hbmk2/hbmk2.prg
    ! Fixed to morph harbour binary extension according to target
      platform. This should fix HB_INSTALL_PREFIX autodetection and
      also -trace display of harbour command line.
      Please test.

  * harbour/bin/hb-func.sh
    ! Changed comp= line to not have a filter. Filters aren't
      supported here, even the whole line isn't processed yet
      by hbmk2.

  * INSTALL
    * Minor correction.
2009-05-23 12:10:44 +00:00
Przemyslaw Czerpak
e08c112c2d 2009-05-23 11:13 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
    * reduce the scope of default options in hbmk.cfg to given platform
      and compiler {arch&comp}. Viktor please verify it.
2009-05-23 09:04:55 +00:00
Viktor Szakats
9be6fe5940 2009-05-22 22:28 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    % mingw tool extensions now again have ".exe" extension, but 
      only on Windows, it's slightly more optimal this way.
2009-05-22 20:29:20 +00:00
Viktor Szakats
0213c66fd3 2009-05-22 19:59 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbwin/axcore.c
    ! Fixed 'this' -> 'lpThis'
    ; Lots of errors remain with msvc.

  * utils/hbmk2/hbmk2.prg
    * Minor cleanup.
2009-05-22 18:00:05 +00:00
Viktor Szakats
b59476a409 2009-05-22 18:32 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed to only add -march/-mtune gcc parameters for mingw/gcc 
      targets. These values are ignored by mingwarm on Windows, but 
      generate errors on Linux.

  * contrib/hbfimage/fi_winfu.c
    + FI_WINDRAW() now accepts pointer type as second parameter.
    ! FI_WINDRAW() fixed warning with gcc 4.4.0.
2009-05-22 16:32:38 +00:00
Viktor Szakats
cfcb03dcb6 2009-05-22 17:31 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed to use hb_osPathSeparator() instead of hardcoded 
      backslash in mingw* init section, as it may also be used 
      on *nix in cross compilation scenarios.
    ! Dropped .exe extensions from mingw* init section to also 
      work on *nix systems.
    * Extended xmingw, mingw32ce detection for all *nix systems.

  * contrib/hbodbc/odbc.c
    ! Cast.

  * INSTALL
  * config/global.cf
    * Removed requirement of 3.81 or upper GNU Make, now it's a
      recommendation only. If I understand correctly after
      2009-05-22 16:28 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
      older ones can also be used without parallel build feature.
      Lowered minimum version to 3.70.
2009-05-22 15:31:56 +00:00
Pritpal Bedi
ff56121181 2009-05-22 07:52 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/generator/hbqtgen.prg
  * harbour/contrib/hbqt/hbqt.h
  * harbour/contrib/hbqt/hbqt_qpushbutton.cpp
  * harbour/contrib/hbqt/qth/QPushButton.qth
  * harbour/contrib/hbqt/tests/demoqt.prg
    ! Fixed an abnormality in QPushButton() implementation.
      Thanks CarozoDeQuilmes for info.
2009-05-22 14:57:34 +00:00
Przemyslaw Czerpak
2d14461b98 2009-05-22 16:28 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/config/dir.cf
    * do not enable parallel execution rules for GNU makes 3.7* and 3.80*
      which are known to have problems with them
2009-05-22 14:19:51 +00:00
Viktor Szakats
0f3dafcebd 2009-05-22 15:32 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Added autodetection of xmingw and mingw32ce tools on Linux.
      (untested)

  * contrib/hbwin/legacy.prg
    + Added win32prn and win32bmp compatibility classes.

  * contrib/hbwin/hbwin.ch
  * contrib/hbwin/tests/testprn.prg
    * Moved macros to hbwin.ch.
    * Minor opt in test.

  * external/sqlite3/Makefile
    - Disabled for mingwarm due to compile errors.
      Error reported on sqlite3 site.
2009-05-22 13:32:37 +00:00
Viktor Szakats
4987f6cfab 2009-05-22 13:04 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed extra GT for WinCE builds.
2009-05-22 11:05:36 +00:00
Viktor Szakats
d5440930a7 2009-05-22 12:30 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbodbc/odbc.c
    + Copied dummy HB_TCHAR* macros from odbcdd.c, plus
      added dummy HB_TCHAR_CONVFROM().
    % Removed separate branches for Windows platform.
      Please test it on *nix.
    ; TODO: Except one. Currently we have no TCHAR macro 
            which deals with byte strings with lengths.
            Przemek, do you think it's possible to add it?

  * contrib/rddsql/sddodbc/odbcdd.c
    + Added HB_TCHAR_CONVFROM().
2009-05-22 10:30:51 +00:00
Przemyslaw Czerpak
8456922787 2009-05-22 12:18 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/mpkg_rpm.sh
  * harbour/harbour.spec
    ! fixed to build with sddodbc library
2009-05-22 10:10:20 +00:00
Przemyslaw Czerpak
f0dd3aa312 2009-05-22 12:07 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/debug/debugger.prg
    * minor simplification

  * harbour/contrib/rddsql/sddodbc/odbcdd.c
    ! added dummy unicode conversion macros to fix compilation in
      non windows builds

  * harbour/contrib/hbwin/olecore.c
    ! casting

  * harbour/contrib/hbwin/axcore.c
    ! fixed unicode and WinCE compilation
    ! casting
2009-05-22 09:59:20 +00:00
Viktor Szakats
50cbafe49d 2009-05-22 10:21 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/rddsql/sddodbc/odbcdd.c
    ! Added UNICODE support to the extent it compiles. Please 
      make tests. Also SQLGetData() / SQL_C_CHAR may also need 
      conversion from UNICODE.
2009-05-22 08:22:03 +00:00
Przemyslaw Czerpak
1fe208b584 2009-05-21 14:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/memvars.c
    * modified __mvDbgInfo():
      - accept as 1-st parameter also  HB_MV_PRIVATE_LOCAL and
        HB_MV_PRIVATE_GLOBAL values
      - changed parameters meaning now when less then 3 parameters is
        given this function returns number of variables and the second
        parameter is the call stack level. Memvar value and optionally
        name is returned only if 3 or more parameters is given.
        3-rd party code which used this function with two parameters
        has to be updated.

  * harbour/source/debug/debugger.prg
    * mark non local private variables in monitor as "Private^" (with "^")
    * do not show public and private variables hidden by other private
      declarations
2009-05-21 11:56:51 +00:00
Viktor Szakats
a3b8948354 2009-05-21 12:24 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    - Removed file extension retaining hack for win platforms.
      Please be aware that *.prg means *.prg* on Windows platforms.
2009-05-21 10:24:57 +00:00
Przemyslaw Czerpak
d039f3bec7 2009-05-21 11:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/filebuf.c
    ! refuse to share file handles if they were open in different mode
      TODO: add support for keeping more then one handle for single file
            open and allow such combinations.

  * harbour/source/rtl/hbffind.c
    % optimized *nix version of hb_fsFind*()

  * harbour/utils/hbmk2/hbmk2.prg
    ! fixed compilation on non Windows platforms (unused variable warning)

  * harbour/include/hbset.h
  * harbour/source/vm/set.c
    + added new function hb_setGetPrinterHandle() which allows to open
      closed printer port
    ! do not force opening default port after SET PRINTER TO ""
      but delay the initialization untill other code does not call
      hb_setGetPrinterHandle()
    ! fixed filename returned by _SET_PRINTFILE, _SET_ALTFILE, _SET_EXTRAFILE
    ! fixed dpossible resource leaks whne _SET_*FILE is called recurisvely
      for user error block
    ! fixed _SET_*FILE settings to not accept files which cannot be open
      (just like in Clipper)

  * harbour/source/rtl/console.c
    * use hb_setGetPrinterHandle() to access printer handler
2009-05-21 09:10:41 +00:00
Viktor Szakats
a4bf12517d 2009-05-21 08:53 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Added automatic configuration for bcc compiler. This kicks in 
      for bcc installations missing bcc32.cfg or ilink32.cfg next to 
      bcc32.exe. In this case Lib/Include dir will automatically
      added to the lib/include lists by hbmk2. This means that
      hbmk2 will work with bare bcc installations without doing any
      manual configuration.

  * config/global.cf
    + Added link to blog dealing with GNU Make.
2009-05-21 06:54:01 +00:00
Viktor Szakats
71a63b4c22 2009-05-21 07:46 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* config/global.cf
    + Added Make version check and appropriate error message in case 
      wrong version found.

  * ChangeLog
    ! Typos.
2009-05-21 05:47:09 +00:00
Viktor Szakats
d968e23b1e 2009-05-20 23:32 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/rddsql/sddodbc/Makefile
    ! Applied logic from contrib/hbodbc/Makefile.

  * contrib/rddsql/sddodbc/odbcdd.c
    ! Fixed three warnings (2 casts + 1 uninit var) with MSVC.

  ; TOFIX: These errors are shown when trying to compiler in UNICODE mode:
    ../../odbcdd.c(168) : error C2664: 'SQLDriverConnectW' : cannot convert parameter 3 from 'SQLCHAR *' to 'SQLWCHAR *'
    ../../odbcdd.c(204) : error C2664: 'SQLExecDirectW' : cannot convert parameter 2 from 'SQLCHAR *' to 'SQLWCHAR *'
    ../../odbcdd.c(239) : error C2664: 'SQLExecDirectW' : cannot convert parameter 2 from 'SQLCHAR *' to 'SQLWCHAR *'
    ../../odbcdd.c(263) : error C2664: 'SQLDescribeColW' : cannot convert parameter 3 from 'SQLCHAR *' to 'SQLWCHAR *'
2009-05-20 21:32:50 +00:00
Viktor Szakats
5822925431 2009-05-20 21:32 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
    + Added typical ("FAQ") error message encountered with old,
      buggy, unsupported GNU Make versions which users seem to
      often use. In case someone would RTFM.
2009-05-20 19:33:33 +00:00
Viktor Szakats
c61ec13155 2009-05-20 21:25 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/vm/set.c
    ! Applied fix sent by Xavi. Thanks.
      I did a few minor formattings and rename, and did a
      light review, please review further and test. I seem to 
      remember some deeper problems with this feature, 
      reported a while ago on the list.
2009-05-20 19:27:06 +00:00
Viktor Szakats
33a1f2abdf 2009-05-20 20:02 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Added workaround for DIRECTORY() problem under Windows.
      '*.ext' input files weren't working if the actual filenames
      had different casing (on Windows). Also changed the hack
      to only kick in on Windows platforms, *nixes seems to work
      as expected.
    ; NOTE: This workaround should probably be moved to Harbour
            FileFind API.

  * INSTALL
    + Added HB_INC_ODBC.

  * contrib/hbwin/tests/testole.prg
  * contrib/hbwin/legacyc.c
    * Updated to reflect OLE function name changes.

  * contrib/hbwin/legacyc.c
    + Added GETACTIVEOBJECT(), CREATEOBJECT(), OLEERROR()
      compatibility calls. All of them are simple aliases to
      new OLE function, which means there may be differences
      in behviour. Users will need to adjust them for full
      compatibility.
      However, I'd recommend changing all code to use our
      new OLE functions and classes.

  * contrib/hbwin/Makefile
  + contrib/hbwin/legacy.prg
    * Moved TOLEAUTO() compatibility class to .prg level.
      It's a stub, inheriting from WIN_OLEAUTO. I hope TOLEAUTO
      users will fill it with required compitibility methods.

  ; NOTE: Getting these warnings with bcc:
          Warning W8075 ../../axcore.c 93: Suspicious pointer conversion in function hb_ax_init
          Warning W8075 ../../axcore.c 322: Suspicious pointer conversion in function HB_FUN___AXREGISTERHANDLER

  ; NOTE: Getting these errors with msvc (default C++ mode):
          ../../axcore.c(93) : error C2440: '=' : cannot convert from 'FARPROC' to 'HRESULT (__stdcall *)(HWND,IUnknown **)'
                  This conversion requires a reinterpret_cast, a C-style cast or function-style cast
          ../../axcore.c(146) : error C2143: syntax error : missing ';' before '*'
          ../../axcore.c(146) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
          ../../axcore.c(146) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
          ../../axcore.c(175) : error C2039: 'lpVtbl' : is not a member of 'ISink'
                  ../../axcore.c(145) : see declaration of 'ISink'
          ../../axcore.c(175) : error C2227: left of '->Release' must point to class/struct/union/generic type
          ../../axcore.c(179) : error C2143: syntax error : missing ')' before 'this'
          ../../axcore.c(179) : error C2143: syntax error : missing ';' before 'this'
          ../../axcore.c(179) : error C2059: syntax error : ')'
          ../../axcore.c(180) : error C2143: syntax error : missing ';' before '{'
          ../../axcore.c(180) : error C2447: '{' : missing function header (old-style formal list?)
          [ ...snip... ]
          ../../axcore.c(198) : error C2365: 'Release' : redefinition; previous definition was 'formerly unknown identifier'
          [ ...snip... ]
          ../../axcore.c(282) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
          ../../axcore.c(282) : error C2146: syntax error : missing ';' before identifier 'ISink_Vtbl'
          ../../axcore.c(282) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
          ../../axcore.c(283) : error C2440: 'initializing' : cannot convert from 'HRESULT (__stdcall *)(IDispatch *)' to 'int'
                  There is no context in which this conversion is possible
          ../../axcore.c(284) : error C2078: too many initializers
          ../../axcore.c(322) : error C2039: 'lpVtbl' : is not a member of 'ISink'
                  ../../axcore.c(145) : see declaration of 'ISink'
2009-05-20 19:19:45 +00:00
Mindaugas Kavaliauskas
7be72f4181 2009-05-20 18:15 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbwin/hbwinole.h
  * harbour/contrib/hbwin/olecore.c
    + added public functions hb_oleSetError(), hb_oleGetError()

  * harbour/contrib/hbwin/Makefile
  + harbour/contrib/hbwin/axcore.c
  + harbour/contrib/hbwin/axfunc.prg
    + added ActiveX support. Public functions are:
      WIN_AxInit() --> lSuccess
      WIN_AxGetControl( hWnd, [ bEventHandler ] ) --> oActiveX
    
    ; TODO: a few warnings left. I do not know howto recast function 
      type pointer

  * harbour/contrib/hbwin/oleauto.c
    * function renames
    + :__hSink, :__cargo members

  * harbour/contrib/hbwin/olecore.c
    * function renames
    + support item to variant conversion for classes inherited from 
      WIN_OLEAUTO
    - removed internal OLERELEASE()
    + added optional parameter for WIN_OleErrorText( [ nOleError ] ) 

  * harbour/source/vm/classes.c
    * minor optimisation
2009-05-20 15:19:17 +00:00
Viktor Szakats
24f2230d51 2009-05-20 09:31 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
- hbwin/legacy.c
  + hbwin/legacyc.c
  * hbwin/Makefile
    * Renamed legacy.c to legacyc.c.

  * hbwin/win_tprn.prg
  * hbwin/hbwin.ch
    * Moved #defines to hbwin.ch header.
    * Formatting.
    + Added HB_COMPAT_XPP protection for XBPBITMAP class.

  * hbwin/win_tprn.prg
  * hbwin/win_prn1.c
    * WIN_OS_ISWIN9X() removed, now using OS_ISWIN9X().
      These OS_*() functions should be renamed in the future.
2009-05-20 07:31:59 +00:00
Viktor Szakats
a4368c3418 2009-05-20 01:39 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
    * Minor update to Pelles C version support.
2009-05-19 23:49:17 +00:00
Viktor Szakats
d986610283 2009-05-19 17:10 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
    + Added support for UTF-8 output. Currently on on *nix
      systems. The current solution is just an ugly hack, 
      for the most part to test this problem in real life.
      The output format is also fixed to *nix OSes, there is 
      not attempt made to detect terminal encoding, so it 
      may be wrong if terminal expects something else.

  * utils/hbi18n/hbi18n.prg
    * .po_ -> .po (Przemek, please verify me, or modify it as
      you think best)
2009-05-19 15:15:09 +00:00
Przemyslaw Czerpak
856d97d234 2009-05-19 11:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/xhb/xhbmsgs.c
    ! fixed one byte string as number emulation in some math operations
      where both expressions are one byte strings, f.e.:
         ? "A" * "B"
2009-05-19 09:37:28 +00:00
Viktor Szakats
acc170dda0 2009-05-19 08:19 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
    + Displaying C compiler used (with path) if autodetection
      was used and -info enabled.
    ! Workaround added to MemoLine() sometimes returning empty 
      string for the last line.

  * source/rtl/tget.prg
    % Minor opt.
2009-05-19 06:20:47 +00:00
Viktor Szakats
9171bf27de 2009-05-19 07:31 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* external/sqlite3/sqlite3.c
  * external/sqlite3/sqlite3.h
    * sqlite upgraded to 3.6.14.1 (from 3.6.11)

  * external/sqlite3/Makefile
    + Enabled for bcc compiler. Seems to compile fine now.
    ; NOTE: poccarm still fails, even with pocc6.
2009-05-19 05:39:40 +00:00
Viktor Szakats
93467d57d6 2009-05-19 07:20 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbwin/win_reg.prg
  * contrib/hbwin/win_regc.c
    * Cleanups: Documenting params, changing default, using SWITCH,
      HKEY to HKCU (from HKLM) to be friendly with restricted user
      situations (code may become incompatible), removed unused params,
      changed return values to logical, more consistently filling params
      returned by ref, fixed hkResult usage, fixed hbResult to use real
      pointer type, minor opts.
      Some of these changes may create incompatibility if:
         - no hkey is passed, since the default has changed.
         - using win_reg*() functions directly, since return value and
           hbResult type has changed.
    ! Fixed potential GPF is non-string was passed for string params.

  * contrib/hbwin/tests/testreg.prg
    + Added registry write test.

  * utils/hbmk2/hbmk2.prg
  * utils/hbi18n/hbi18n.prg
  * utils/hbrun/hbrun.prg
    * Minor opt.
2009-05-19 05:21:24 +00:00
Pritpal Bedi
82405c5a34 2009-05-18 14:26 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/wvgsink.c
  * harbour/contrib/gtwvg/wvgax.c
    ! Fixes to newer OLE implementation. 
      Thanks to Mindaugus and Przemek for doing all the spadework.
      Now I can receive events as was doing before, fantastic.
2009-05-18 21:28:54 +00:00
Viktor Szakats
a401880135 2009-05-18 21:36 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Changed default workdir to use output binary dir as a base.
    ! Fixed -instpath and -compr option not working with -hblib and -hbdyn modes.

  * utils/hbmk2/hbmk2.hu_HU.po
    ! Cleaned.
2009-05-18 19:37:06 +00:00
Viktor Szakats
860931aadf 2009-05-18 19:46 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed setup of .hbl input codepages.
    + Added support to specify output CPs for Windows/DOS/OS2
      and *nix systems.
    ; TOFIX: This isn't enough as f.e. all my *nixes require
             UTF-8 output which we currently cannot provide in a
             transparent way, so accented chars are all broken
             on these platforms. I could hack it around by
             calling HB_STRTOUTF8() on all strings going to
             output when *nix is detected, but if possible it'd
             better to do it transparently.

  * utils/hbmk2/hbmk2.hu_HU.po
    * Converted to ISO CP from 852.
2009-05-18 17:47:43 +00:00
Viktor Szakats
0614cee9a5 2009-05-18 18:03 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed handling of self-detected name inducted automatic
      options (like -xhb when xhbmk2 is used) after adding 
      multitarget support.
2009-05-18 16:08:14 +00:00
Viktor Szakats
748c9bf915 2009-05-18 17:54 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed handling empty command lines.
2009-05-18 15:54:39 +00:00