Commit Graph

10770 Commits

Author SHA1 Message Date
Viktor Szakats
9e136f7eaa 2009-05-30 08:10 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Fix to path normalizer. Last fix wasn't without side-effects
      for relative dirs.
    ! Fixed potential RTE in yesterday's *.hbp handling.
2009-05-30 06:29:20 +00:00
Viktor Szakats
845bb4ce3e 2009-05-30 01:36 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
    * Update.
2009-05-29 23:41:52 +00:00
Viktor Szakats
27665fc35d 2009-05-30 01:33 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Added support for wildcarded project specs:
      - This command will build each .hbp file found in current dir:
        > hbmk2 *.hbp
      - This command will build all .prg files in current dir,
        each into a separate executable as separate projects:
        > hbmk2 -target=*.prg
2009-05-29 23:36:24 +00:00
Viktor Szakats
1ea8b84235 2009-05-30 01:12 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
    * Minor update.

  * contrib/hbwin/axcore.c
    ! Fixed mingw64 warning.

  * examples/uhttpd/uhttpd.prg
    * Applied fix sent by Vailton to the list.
2009-05-29 23:12:49 +00:00
Viktor Szakats
5757b40f50 2009-05-29 18:40 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* bin/postinst.bat
    ! Typo in hbformat command.
2009-05-29 17:29:14 +00:00
Viktor Szakats
ef29e9923c 2009-05-29 18:35 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* doc/dirstruc.txt
  * bin/postinst.bat
  * contrib/gtwvg/tests/demoxbp.prg
  * contrib/gtwvg/tests/demowvg.prg
  * examples/superlib/readme.txt
  * examples/uhttpd/uhttpdgd.hbp
  * examples/uhttpd/readme.txt
  * examples/terminal/trm_cli.hbp
  * examples/terminal/trm_srv.hbp
    ! Missing updated to prev changes.
2009-05-29 17:16:22 +00:00
Viktor Szakats
7af6ad39dd 2009-05-29 18:35 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
- utils/hbformat/hbformat.hbm
   + utils/hbformat/hbformat.hbp
   - utils/hbmk2/hbmk2.hbm
   + utils/hbmk2/hbmk2.hbp
   - utils/hbtest/hbtest.hbm
   + utils/hbtest/hbtest.hbp
   + utils/hbi18n/hbi18n.hbp
   - utils/hbi18n/hbi18n.hbm
   - utils/hbrun/hbrun.hbm
   + utils/hbrun/hbrun.hbp
   - contrib/hbbtree/tests/test.hbm
   + contrib/hbbtree/tests/test.hbp
   - examples/pp/pp.hbm
   + examples/pp/pp.hbp
   - examples/hbdoc/hbdoc.hbm
   + examples/hbdoc/hbdoc.hbp
   + examples/superlib/hbsuper.hbp
   - examples/superlib/hbsuper.hbm
   + examples/hbsqlit2/hbsqlit2.hbp
   - examples/hbsqlit2/hbsqlit2.hbm
   + examples/hboleold/hboleold.hbp
   - examples/hboleold/hboleold.hbm
   - examples/hbapollo/hbapollo.hbm
   + examples/hbapollo/hbapollo.hbp
   - examples/pe/pe.hbm
   + examples/pe/pe.hbp
   - examples/guestbk/guestbk.hbm
   + examples/guestbk/guestbk.hbp
   - examples/hbgf/hbgfwin/hbgfwin.hbm
   + examples/hbgf/hbgfwin/hbgfwin.hbp
   - examples/hbgf/hbgfos2/hbgfos2.hbm
   + examples/hbgf/hbgfos2/hbgfos2.hbp
   - examples/hbgf/hbgfgtk/hbgfgtk.hbm
   + examples/hbgf/hbgfgtk/hbgfgtk.hbp
   + examples/uhttpd/uhttpd.hbp
   - examples/uhttpd/uhttpdgd.hbm
   + examples/uhttpd/uhttpdgd.hbp
   + examples/uhttpd/modules/allmod.hbp
   - examples/uhttpd/modules/allmod.hbm
   - examples/uhttpd/uhttpd.hbm
   - examples/dbu/dbu.hbm
   + examples/dbu/dbu.hbp
   - examples/hscript/hscript.hbm
   + examples/hscript/hscript.hbp
   - examples/hbwhat/hbwhat.hbm
   + examples/hbwhat/hbwhat.hbp
   - examples/rl/rl.hbm
   + examples/rl/rl.hbp
     * Renamed .hbm files to .hbp. So f.e. now it's possible to build 
       multiple of these from one hbmk2 command and it's also more obvious 
       that an .hbp files is a project (target).
2009-05-29 16:38:23 +00:00
Viktor Szakats
2f92dd24d5 2009-05-29 18:31 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.hbm
  * utils/hbmk2/hbmk2.prg
  * utils/hbi18n/hbi18n.prg
    * hbi -> hbl (settling back, again sorry for the mess).

  * examples/terminal/trm_misc.c
    % Removed unused Windows function.
2009-05-29 16:32:23 +00:00
Viktor Szakats
73bc74d770 2009-05-29 18:16 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* examples/terminal/terminal.hbc
    ! hbwin not needed.
2009-05-29 16:17:10 +00:00
Viktor Szakats
87d0abdd00 2009-05-29 18:15 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* examples/terminal/trm_cli.prg
  * examples/terminal/terminal.prg
  * examples/terminal/terminal.hbc
    ! xhb lib not needed anymore.
2009-05-29 16:15:38 +00:00
Viktor Szakats
b0f2aecd52 2009-05-29 18:04 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/gtwvg/gtwvg.h
    + Added extern for hb_wvt_GetStringAttrib(), hb_wvt_PutStringAttrib().
      Required by terminal example.

  * contrib/gtwvg/wvggui.h
    * Comment format. Synced with gtwvg.h.

  - examples/terminal/trm_server.prg
  + examples/terminal/trm_srv.prg
  - examples/terminal/trm_client.prg
  + examples/terminal/trm_cli.prg
  - examples/terminal/trm_appn.prg
  + examples/terminal/trm_app.prg
  - examples/terminal/trm_appn.hbm
  + examples/terminal/trm_app.hbp
  + examples/terminal/trm_misc.c
  + examples/terminal/trm_cli.hbp
  + examples/terminal/trm_srv.hbp
  * examples/terminal/terminal.prg
  * examples/terminal/terminal.hbc
  * examples/terminal/readme.txt
    ! Removed all inline stuff.
    ! Fixed problems with mixing C++/C objects due to
      inline and missing function declarations.
    % Windows only function replaced with RTL one.
    * Renamed *.hbm files to .hbp, so now it's easy to build
      the whole project with: hbmk2 trm_app.hbp trm_cli.hbp trm_srv.hbp
    ! Fixed hard coded local executable names + dirs.
    ! Synced client and server default ports.
    ; Now all of these tools build ok and they also work.

  * contrib/hbwin/legacyc.c
    ! Deleted recently added compat calls.
      (they are static in xhb and they collide with RTL names)

  * examples/hbgf/hbgfgtk/hbgfgtk.hbm
    ! Minor fix.
2009-05-29 16:09:51 +00:00
Viktor Szakats
72efced58b 2009-05-29 17:13 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Added support for filter keywords 'shared' and 'static'.

  * bin/postinst.bat
  * utils/hbmk2/hbmk2.hbm
  * utils/hbrun/hbrun.hbm
    * Moved extra libs required in shared mode to .hbm files.
    ! Fixed hbl= -> hbi=
2009-05-29 15:17:35 +00:00
Viktor Szakats
321554aa3a 2009-05-29 16:02 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Fix to prev fix reported by Vailton. Could RTE when compiling .hrbs.
    + Added -hbraw switch which will make hbmk2 work like harbour compiler.
    + .hbp extension is also recognized when embedded.

  * tests/hbpptest/compare.bat
    ! Fixed long fn.

  * tests/bnch_win.bat
    ! Fix in comment.
2009-05-29 14:05:51 +00:00
Viktor Szakats
090eda99bf 2009-05-29 13:49 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Added macro ${hb_work} which returns the builtin name 
      for workdir base: '.hbmk' currently.
2009-05-29 11:50:09 +00:00
Viktor Szakats
ad96c6e68c 2009-05-29 12:27 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
- examples/hbsuper
  + examples/superlib
    * Using original name.
2009-05-29 10:35:07 +00:00
Viktor Szakats
d2af4060b6 2009-05-29 12:25 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/Makefile
    - Deleted commented 'examples' reference.
2009-05-29 10:29:09 +00:00
Viktor Szakats
1abdfef7ec 2009-05-29 12:18 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Added -echo= command line parameter. Similar to echo= in .hbc files.
    ! Fixed filename expansion behaviour on empty strings.
    * Tweaked a little the filter parser to recognize keywords using
      similar rules to Harbour compiler.
    ! Fixed filter parser not to RTE on malformed filters.

  - examples/hbapollo/Makefile
  + examples/hbapollo/hbapollo.hbm
  - examples/hboleold/Makefile
  + examples/hboleold/hboleold.hbm
  - examples/hbsqlit2/Makefile
  + examples/hbsqlit2/hbsqlit2.hbm
  - examples/hbgf/hbgfwin/Makefile
  + examples/hbgf/hbgfwin/hbgfwin.hbm
  - examples/hbgf/hbgfos2/Makefile
  + examples/hbgf/hbgfos2/hbgfos2.hbm
  - examples/hbgf/hbgfgtk/Makefile
  + examples/hbgf/hbgfgtk/hbgfgtk.hbm
  - examples/hbwhat/Makefile
  + examples/hbwhat/hbwhat.hbm
    * Replaced GNU Make files with hbmk2 make files. These should
      now work outside the source tree. Please test them, they are
      also good examples for .hbm files.

  - examples/pe/Makefile
  - examples/pp/Makefile
  - examples/hbdoc/Makefile
  - examples/guestbk/Makefile
  - examples/misc/Makefile
  - examples/dbu/Makefile
  - examples/hscript/Makefile
  - examples/rl/Makefile
  - examples/Makefile
  - examples/hbgf/Makefile
    - Deleted unnecessary make files belonging to GNU Make system.
      (these wouldn't work outside the source tree, f.e in a binary
      distro which includes these examples in source form)

  - examples/rdddbt
    - Deleted this example as it doesn't build anymore.

  * examples/hbsuper/hbsuper.hbm
    ! Added SVN header.

  * source/rtl/Makefile
  * source/rtl/errint.c
  + source/rtl/errintlo.c
    * Split hb_errInternal() and hb_errInternalRaw() for
      easier user override.
2009-05-29 10:19:15 +00:00
Viktor Szakats
461ea1568f 2009-05-29 11:04 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
- contrib/examples
  + examples
  * doc/dirstruc.txt
  * doc/whatsnew.txt
  * examples/hbdoc/Makefile
  * examples/pp/Makefile
  * examples/hboleold/Makefile
  * examples/hbsqlit2/Makefile
  * examples/misc/Makefile
  * examples/hbapollo/Makefile
  * examples/rdddbt/Makefile
  * examples/guestbk/Makefile
  * examples/pe/Makefile
  * examples/hbgf/hbgfwin/Makefile
  * examples/hbgf/hbgfos2/Makefile
  * examples/hbgf/hbgfgtk/Makefile
  * examples/hbgf/Makefile
  * examples/uhttpd/readme.txt
  * examples/dbu/Makefile
  * examples/hscript/Makefile
  * examples/hbwhat/Makefile
  * examples/rl/Makefile
  * examples/Makefile
    * Moved to flatten our dir layout and sync the locations
      in unified distro and source tree.
    ; TODO: As a next step I'll replace Makefiles with .hbm 
            files. This will allow users to build these parts 
            outside the source distribution.
2009-05-29 09:05:10 +00:00
Viktor Szakats
f23257b360 2009-05-29 03:50 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed typo causing -i Harbour option missed in make
      modes where Harbour compiler is the final step (like -gh).
    + Directory for target is now automatically created.
    + Directory for -instpath paths are now automatically created.
    ! Fixed path normalizer not fully normalizing in some cases
      when path didn't begin with path separator (relative path).
    ! Fixed path builder to not be confused about non-native
      path separators.
    % Path builder will now normalize first to minimize steps.
    + Now all dirs *beginning* with ".hbmk" will be made hidden.
      (previously only dirs named exactly ".hbmk" were made hidden)
      (experimental)
2009-05-29 02:03:34 +00:00
Pritpal Bedi
705d86f63f 2009-05-28 18:43 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/wvgcrt.prg
  * harbour/contrib/gtwvg/wvgparts.ch
  * harbour/contrib/gtwvg/wvgtoolb.prg
  * harbour/contrib/gtwvg/wvgwin.c
  * harbour/contrib/gtwvg/wvgwnd.prg
  * harbour/contrib/hbwin/wapi_commctrl.c
    ! Changes to honor NUMERICS to POINTERS.
    ! Few artifacts in WvgCRT().
2009-05-29 01:51:44 +00:00
Viktor Szakats
be3146b009 2009-05-28 19:25 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed -map option for mingw family. Strangely its help
      says '-Wl,-Map FILE' is the format but this only works
      if FILE exists on disk :/ otherwise it gives an error
      that FILE isn't found. 'Wl,-Map,FILE' seems to work for
      all cases. Pbly OS/2 and DJGPP should also be fixed.
    ! Applied above fix for DJGPP and OS/2 GCC. I didn't test 
      it but probably works the same way as in mingw and *nix 
      gcc.
2009-05-28 17:27:49 +00:00
Viktor Szakats
de52d07395 2009-05-28 19:06 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + .hbm embedding is now allowed 10 level deep (was 3).
2009-05-28 17:06:40 +00:00
Viktor Szakats
6d5c918bb1 minor 2009-05-28 16:03:43 +00:00
Viktor Szakats
b5871b4395 2009-05-28 17:30 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
+ contrib/examples/hbsuper
  + contrib/examples/hbsuper/hbsuper.hbm
  + contrib/examples/hbsuper/hbsuper.dif
  + contrib/examples/hbsuper/hbsuper.prg
  + contrib/examples/hbsuper/readme.txt
    + Added SuperLib portability patch and Harbour make script.
      Original sources need to be downloaded from The Oasis,
      just like for DBU and RL.
      This is a slightly minimal patch than my previous version
      to minimize any unnecessary space/command changes, and
      I also reverted to original C code where it was possible.

  * utils/hbmk2/hbmk2.prg
    * Minor formatting.
2009-05-28 15:59:41 +00:00
Viktor Szakats
7b93d5b853 2009-05-28 13:14 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbodbc/odbc.c
    ! Eliminated last UNICODE branching, this also fixes 
      embedded zero chars not being respected in UNICODE mode 
      in SQLDESCRIBECOL(). Not tested, ODBC users please do, 
      also someone pls review me.

  * ChangeLog
    * TODOs/TOFIXes marked as DONE.
2009-05-28 11:15:27 +00:00
Viktor Szakats
3683b649a3 2009-05-28 11:40 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Added macros ${hb_major}, ${hb_minor}, ${hb_release}.

  * contrib/xhb/xhbver.prg
    ! Minor.

  * contrib/hbwin/legacyc.c
    + Added compatibility wrappers for printing functions.
      (mainly for xhb compatibility)
2009-05-28 09:41:39 +00:00
Viktor Szakats
98158b8a08 2009-05-28 09:43 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/gtwvg/wvgsink.c
    ! Minor fix to returning HRESULT.
2009-05-28 07:44:07 +00:00
Pritpal Bedi
801b358f32 2009-05-28 00:19 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/gtwvg/wvgwin.c
    ! Small fix to previous commit.

  * contrib/gtwvg/wvgax.c
  * contrib/gtwvg/wvgsink.c
    ! Widely cleaned code.
    ! Make use of remaining number to pointers.
    ! Renamed functions to WVG_* namespace.
    ! WvgActiveXControl() can be tested both with winsink|axcore event handellers.
      NOTE: CPP mode generates a GPF when ole is unloaded due to refcount.
            Mindaugas can you fix it.
2009-05-28 07:24:55 +00:00
Viktor Szakats
2ff37b72ec 2009-05-28 08:20 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    * .hbl extension changed to .hbc (Harbour Make Config).
    * -nohbl -> -nohbc
    ; Sorry for the mess.
    + Added support for instpaths= in .hbc files.
    + Added support for HB_USER_LIBPATHS envvar to specify
      lib search paths (similar to -L).
    ! Fixed so that sripping/compressing isn't attempted if
      the target didn't need an update.

  * source/rtl/Makefile
  * source/rdd/Makefile
    + Enabled -gc3 for hbrtl and hbrdd locally
      (except for wce builds). Same can be done locally
      for any libs where we find performance increase
      due to -gc3.
    ; NOTE: Probably it would be enough to compile just a few
            sensitive .prg sources (or program parts) with -gc3,
            so it would great to have such #pragma option in
            Harbour. Doesn't seem easy to implement though.

  * config/rules.cf
    * HB_GCMODE default set 0 (from 3).
      This means .prgs will be again compiled with -gc0 by default.
      Because of the contribs, this means the complete size
      of Harbour libs is now reduced significantly.

  * config/wce/global.cf
  * config/wce/msvcarm.cf
  * config/wce/mingwarm.cf
  * config/wce/poccarm.cf
    % HB_GCMODE=0 moved to wce/global.cf

  - utils/hbmk2/examples/hmg.hbl
  + utils/hbmk2/examples/fwh.hbc
  - utils/hbmk2/examples/whoo.hbl
  + utils/hbmk2/examples/xhgtk.hbc
  - utils/hbmk2/examples/xbgtk.hbl
  - utils/hbmk2/examples/hwgui.hbl
  - utils/hbmk2/examples/fwh.hbl
  + utils/hbmk2/examples/c4w.hbc
  - utils/hbmk2/examples/xhgtk.hbl
  + utils/hbmk2/examples/contrib.hbc
  - utils/hbmk2/examples/c4w.hbl
  + utils/hbmk2/examples/contribf.hbc
  - utils/hbmk2/examples/contrib.hbl
  + utils/hbmk2/examples/hmg.hbc
  + utils/hbmk2/examples/whoo.hbc
  - utils/hbmk2/examples/contribf.hbl
  + utils/hbmk2/examples/xbgtk.hbc
  + utils/hbmk2/examples/hwgui.hbc
  - contrib/gtalleg/tests/gtallegs.hbl
  - contrib/gtalleg/tests/gtallegd.hbl
  + contrib/gtalleg/tests/gtallegs.hbc
  + contrib/gtalleg/tests/gtallegd.hbc
  - contrib/hbmysql/utils/hbmysql.hbl
  + contrib/hbmysql/utils/hbmysql.hbc
  - contrib/hbmysql/tests/hbmysql.hbl
  + contrib/hbmysql/tests/hbmysql.hbc
  + contrib/hbct/tests/hbct.hbc
  - contrib/hbct/tests/hbct.hbl
  - contrib/xhb/tests/xhb.hbl
  + contrib/xhb/tests/xhb.hbc
  - contrib/hbodbc/tests/hbodbc.hbl
  + contrib/hbodbc/tests/hbodbc.hbc
  - contrib/hbtpathy/tests/hbtpathy.hbl
  + contrib/hbtpathy/tests/hbtpathy.hbc
  + contrib/hbmsql/tests/hbmsql.hbc
  - contrib/hbmsql/tests/hbmsql.hbl
  + contrib/hbmzip/tests/hbmzip.hbc
  - contrib/hbmzip/tests/hbmzip.hbl
  + contrib/hbsqlit3/tests/hbsqlit3.hbc
  - contrib/hbsqlit3/tests/hbsqlit3.hbl
  - contrib/hbblat/tests/hbblat.hbl
  + contrib/hbblat/tests/hbblat.hbc
  - contrib/hbqt/tests/hbqt.hbl
  + contrib/hbqt/tests/hbqt.hbc
  - contrib/hbfbird/tests/hbfbird.hbl
  + contrib/hbfbird/tests/hbfbird.hbc
  - contrib/hbziparc/tests/hbziparc.hbl
  + contrib/hbziparc/tests/hbziparc.hbc
  - contrib/hbnf/tests/hbnf.hbl
  + contrib/hbnf/tests/hbnf.hbc
  - contrib/hbcurl/tests/hbcurl.hbl
  + contrib/hbcurl/tests/hbcurl.hbc
  - contrib/gtqtc/tests/gtqtc.hbl
  + contrib/gtqtc/tests/gtqtc.hbc
  - contrib/rddsql/sddmy/tests/sddmy.hbl
  + contrib/rddsql/sddmy/tests/sddmy.hbc
  + contrib/rddsql/tests/rddsql.hbc
  - contrib/rddsql/tests/rddsql.hbl
  - contrib/rddsql/sddodbc/tests/sddodbc.hbl
  + contrib/rddsql/sddodbc/tests/sddodbc.hbc
  - contrib/hbhpdf/tests/hbhpdf.hbl
  + contrib/hbhpdf/tests/hbhpdf.hbc
  - contrib/rddado/tests/rddado.hbl
  + contrib/rddado/tests/rddado.hbc
  + contrib/gtwvg/tests/gtwvg.hbc
  - contrib/gtwvg/tests/gtwvg.hbl
  - contrib/hbpgsql/tests/hbpgsql.hbl
  + contrib/hbpgsql/tests/hbpgsql.hbc
  - contrib/rddads/tests/rddads.hbl
  + contrib/rddads/tests/rddads.hbc
  - contrib/hbclipsm/tests/hbclipsm.hbl
  + contrib/hbclipsm/tests/hbclipsm.hbc
  - contrib/hbfimage/tests/hbfimage.hbl
  + contrib/hbfimage/tests/hbfimage.hbc
  + contrib/hbgd/tests/hbgd.hbc
  - contrib/hbgd/tests/hbgd.hbl
  + contrib/hbmisc/tests/hbmisc.hbc
  - contrib/hbmisc/tests/hbmisc.hbl
  + contrib/hbtip/tests/hbtip.hbc
  - contrib/hbtip/tests/hbtip.hbl
  + contrib/hbwin/tests/hbwin.hbc
  - contrib/hbwin/tests/hbwin.hbl
  + contrib/hbvpdf/tests/hbvpdf.hbc
  - contrib/hbvpdf/tests/hbvpdf.hbl
  - contrib/hbssl/tests/hbssl.hbl
  + contrib/hbssl/tests/hbssl.hbc
  - contrib/hbbtree/tests/hbbtree.hbl
  + contrib/hbbtree/tests/hbbtree.hbc
  - contrib/hbcrypt/tests/hbcrypt.hbl
  + contrib/hbcrypt/tests/hbcrypt.hbc
  + contrib/examples/hbsqlit2/tests/hbsqlit2.hbc
  - contrib/examples/hbsqlit2/tests/hbsqlit2.hbl
  - contrib/examples/hbapollo/tests/hbapollo.hbl
  + contrib/examples/hbapollo/tests/hbapollo.hbc
  + contrib/examples/hbgf/tests/hbgf.hbc
  - contrib/examples/hbgf/tests/hbgf.hbl
  - contrib/examples/terminal/terminal.hbl
  + contrib/examples/terminal/terminal.hbc
  - contrib/examples/hbwhat/tests/hbwhat.hbl
  + contrib/examples/hbwhat/tests/hbwhat.hbc
    * Renamed *.hbl -> *.hbc (Harbour Make Config) in whole source tree.
2009-05-28 06:26:06 +00:00
Pritpal Bedi
5b7c6fd141 2009-05-27 20:08 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/gtwvg/wvgwin.c
    + Workaround for GCLP_HBRBACKGROUND reported missing from some MinGW distros.
2009-05-28 03:10:05 +00:00
Przemyslaw Czerpak
93562bfe0a 2009-05-27 15:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/hbinet.c
  * harbour/source/rdd/dbfntx/dbfntx1.c
  * harbour/source/rdd/dbfnsx/dbfnsx1.c
  * harbour/source/rdd/hsx/hsx.c
  * harbour/source/rdd/usrrdd/usrrdd.c
    * casting to avoid false alarm in extensive strict aliasing analyzes
2009-05-27 13:12:13 +00:00
Alexander S.Kresin
ec00316285 2009-05-27 16:40 UTC+0300 Alexander Kresin <alex at belacy.belgorod.su>
* utils/hbformat/hbformat.prg
    ! Handling of file mask has been fixed.
2009-05-27 12:36:29 +00:00
Viktor Szakats
8bb92760eb minor modif to show retval 2009-05-27 11:40:15 +00:00
Viktor Szakats
59700401f3 2009-05-27 13:23 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbwin/win_prn2.c
    * Cleaned hb_parcx() vs. hb_parc() usage in one function.
      (hb_parcx() is only needed if there is no preceding HB_ISCHAR()
      check. If there is hb_parc() will also always return a valid
      pointer).

  + contrib/hbwin/tests/testprn2.prg
    + Added raw printing test.
2009-05-27 11:23:36 +00:00
Viktor Szakats
ed98bd576a 2009-05-27 12:59 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    % -undef/-D Harbour options will be reduced in cross-compilation
      scenarios. If a __PLATFORM__* value appears as both -undef and
      -D it will be omitted. This results in smaller command line,
      plus works around this warning:
      'Warning W0001  Redefinition or duplicate definition of #define __PLATFORM__WINDOWS'
      when using the embedded compiler (doesn't seem to happen with
      external compiler).
    + Added autodetection for mingw64 and mingwarm compilers. It should
      now be enough to use -arch=wce on the command line to initiate a
      WinCE cross-build if the compiler is setup in the path or using
      the embedded installation. So it's recommended to use -arch=wce
      instead of -arch=mingwarm from now on. For mingw64 builds, no
      extra switch is needed, if in the PATH, it will be autodetected.
    ! Added Harbour command to Harbour command line shown in case of
      error.

  * contrib/gtwvg/wvgcuig.c
    ! Fixed one GCC warning. I'm not sure if this is a correct one,
      my only goal was to make the warning disappear and to define
      a previously undefined case.
    ; TOFIX: This warning still remains, and indicates unsafe code:
             wvgsink.c:516: warning: dereferencing pointer 'hSink.33' does break strict-aliasing rules

  * contrib/gtwvg/tests/demoxbp.prg
  * contrib/gtwvg/tests/demowvg.prg
    ! Fixed hard-wired paths, so that now some more samples
      work regardless of Harbour installation dir.
    ; NOTE: Never use hard-wired absolute paths inside any Harbour
            component. We now have hb_DirBase(), please make use of it.
    ; NOTE: For me most of the samples still don't work, AX toolbar icons
            don't appear, and most of the AX samples fail with an unclosable 
            window.

  * contrib/hbwin/axcore.c
  * contrib/gtwvg/wvgsink.c
    * Moved recently added extra AX functions to GTWVG.
    * Kept optimized, hbwin version of HB_AX_ATLCREATEWINDOW().
    * Others renamed and commented:
      WIN_AXGETUNKNOWN() -> WVG_AXGETUNKNOWN()
      WIN_AXSETVERB      -> WVG_AXDOVERB()
    ! HB_AX_ATLSETVERB() now accepts HWND pointers, too.
    ! HB_AX_ATLAXGETCONTROL() now accepts HWND pointers, too.
    ; TOFIX: GTWVG uses HB_AX_* prefix to denote AX function, while
             these should be named WVG_AX*().
    ; TODO: Probably the full content, or at least the universally
            useful portion of wvgsink.c should eventually go to hbwin,
            but all these functions need further cleanups,
            and they also have to be renamed. I don't know what we
            should stay compatible with so it's difficult to make
            any moves. Some test code showing the usefulness of
            these function would be probably help.
2009-05-27 11:15:06 +00:00
Przemyslaw Czerpak
1ccc1e06f7 2009-05-27 05:34 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/harbour.spec
  * harbour/mpkg_tgz.sh
    + added hbformat

  * harbour/include/hbdefs.h
  * harbour/include/hbapi.h
  * harbour/source/common/hbarch.c
    * redefined macros used to store/retrieve integer and double values
      to/from byte arrays in little and big endian order.
      Now GCC uses inline functions which are hardly optimized by compiler
      giving on x86 machines the same code as direct casting (with the
      exception to march=i686 where putting double value forces strict
      alignment to avoid hidden CPU exception) but they respect strict
      aliasing rules. It also means that now GCC builds always respect
      strict alignment even if HB_STRICT_ALIGNMENT macro is not set.
2009-05-27 03:25:05 +00:00
Viktor Szakats
327a1b5b5a 2009-05-27 04:42 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/hbsetup.h
  * source/common/hbver.c
    + Moved CPU detection to core header. Introduced
      HB_CPU_* macros. Now they can be used to branch code
      by CPU type.

  * contrib/rddads/adsmgmnt.c
    + Added my copyright.

  * contrib/hbwin/wapi_commctrl.c
  * contrib/hbwin/wapi_winbase.c
  * contrib/hbwin/wapi_winuser.c
    ! Fixed remaining hb_parc() vs hb_parcx() usages.
    % WAPI_TABCTRL_CREATE() further simplified.
      Please review, it may be wrong.

  * utils/hbmk2/hbmk2.prg
    * Minor internal change.
2009-05-27 02:46:49 +00:00
Viktor Szakats
a09f52e45e 2009-05-27 03:33 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbqt/generator/hbqtgen.prg
  * contrib/gtqtc/tests/demoqtc.prg
  * contrib/gtqtc/tests/wvtext.prg
  * contrib/gtwvg/tests/demowvg.prg
  * contrib/examples/uhttpd/uhttpd.prg
  * contrib/examples/terminal/trm_server.prg
  * contrib/examples/terminal/terminal.prg
  * contrib/examples/terminal/trm_appn.prg
  * contrib/examples/terminal/trm_client.prg
  * contrib/examples/hbwhat/winrbar.prg
    * #include '' -> #include ""

  * contrib/gtqtc/tests/wvtext.prg
    ! Fixed #include with mixed case filename.
2009-05-27 01:33:47 +00:00
Viktor Szakats
822c4cabcd 2009-05-27 03:16 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/hbver.ch
  * source/rtl/version.c
    + Added hb_Version( HB_VER_COMPILER_CPP ) which
      returns if the C compiler was used in C++ mode.
      Mainly added for HB_BUILDINFO() emulation, maybe it
      can be useful to set defaults in hbmk2, we will see.

  * contrib/xhb/Makefile
  + contrib/xhb/xhbver.prg
    + Added emulation of HB_BUILDINFO() xhb function.

  + contrib/xhb/xhbver.ch
    + Copied xhb's hbver.ch under this name.
      (borrowed from xhb, work of Andi Jahja)
2009-05-27 01:21:06 +00:00
Viktor Szakats
da3ba03b46 2009-05-27 02:06 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbct/print.c
    + added PRINTSEND() support for Windows platform.
      (Borrowed from xhb, work of Pavel Tsarenko, with few minor changes)

  * contrib/gtwvg/wvgwin.c
  * contrib/gtwvg/wvgsink.c
    ! Fixed two new warnings after my recent commits.

  * contrib/hbwin/hbwapi.h
    * Tweaked previous commit. COLORREF and HRESULT now using
      hb_retnint() again to fix 32-bit numbers appearing as signed ones
      at .prg level.

  * source/rdd/usrrdd/rdds/arrayrdd.prg
    ; Added some patches recently committed to xhb:
    ! few fixes provided by Quique
    + Added AR_LOCK() function, but commented.
    ; NOTE: Francesco, would you mind reviewing these changes?

  * utils/hbmk2/hbmk2.prg
    * Minor formatting, comment added.
2009-05-27 00:07:09 +00:00
Viktor Szakats
dcb8b9783b 2009-05-26 21:41 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbwin/hbwapi.h
  * contrib/hbwin/wapi_commctrl.c
    ! wapi_par_COLORREF() fixed to use hb_parnl(). COLORREF is a 32bit value.
    ! Rest of wapi_par_*() macros fixed to accept pointers only.
      If someone needs to pass numbers, use WIN_N2P() to convert them
      to pointers first.
    ! Corrected casts in wapi_par_WORD() and wapi_par_DWORD().
    ! Fixed wapi_ret_HRESULT() to use hb_retnl(). It's a 32bit status value.
    ! Fixed wapi_ret_COLORREF() to use hb_retnl().
    ! Fixed WAPI_TABCTRL_CREATE() for 64-bit mode, font type was wrong.
    ! Fixed WAPI_TABCTRL_CREATE() to return pointer instead of number.

  * contrib/hbwin/Makefile
    ! Reverted accidental edit in prev commit.
2009-05-26 19:42:33 +00:00
Viktor Szakats
f75fe3e4c7 2009-05-26 20:05 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
     * Minor cleanups to prev.

   * contrib/hbwin/axcore.c
     * Minor formatting.
     % Variable scopes adjusted.
     % WIN_AXCREATEWINDOW() optimized.
     - Deleted ToOutDebug() stuff. Please use TRACE() subsystem for
       these parts.
     ; NOTE: I'm note sure we should have a WIN_AXCREATEWINDOW() function
             there. Rather, we should have a WAPI_CREATEWINDOWEX() function
             which serves the same purpose, but in a generic manner, also
             usable for AX purposes. Is there anything against this idea?

   * utils/hbformat/hbformat.prg
   * contrib/gtwvg/wvgclass.prg
   * contrib/gtwvg/wvgscrlb.prg
   * contrib/gtwvg/wvgdlg.prg
   * contrib/gtwvg/wvgpaint.prg
   * contrib/gtwvg/wvgdarea.prg
   * contrib/gtwvg/wvgmle.prg
   * contrib/gtwvg/wvglistb.prg
   * contrib/gtwvg/wvgtoolb.prg
   * contrib/gtwvg/wvgpushb.prg
   * contrib/gtwvg/wvgsle.prg
   * contrib/gtwvg/wvgtreev.prg
   * contrib/gtwvg/tests/demoxbp.prg
   * contrib/gtwvg/tests/demowvg.prg
   * contrib/gtwvg/wvgwnd.prg
   * contrib/gtwvg/wvgcrt.prg
   * contrib/gtwvg/wvgdatar.prg
   * contrib/gtwvg/wvgradio.prg
   * contrib/gtwvg/wvgsysw.prg
   * contrib/gtwvg/wvgmenub.prg
   * contrib/gtwvg/wvgphdlr.prg
   * contrib/gtwvg/wvgbitmp.prg
   * contrib/gtwvg/wvgcheck.prg
   * contrib/gtwvg/wvgstatb.prg
   * contrib/gtwvg/wvgstatc.prg
   * contrib/gtwvg/wvghtmlv.prg
   * contrib/gtwvg/wincback.prg
   * contrib/gtwvg/wvgtabpg.prg
   * contrib/gtwvg/wvg3stat.prg
   * contrib/gtwvg/wvgcombo.prg
     * Some formatting. (' -> " and #include lines)
2009-05-26 18:06:55 +00:00
Pritpal Bedi
2b47ad6f09 2009-05-26 07:50 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbwin/axcore.c
    + __XAXREGISTERHANDLER()
      An extension of __AXREGISTERHANDLER() where connection points are 
      enumerated instead of finding - many OLE's have more than one interface -
      a practical discovery. Mindaugas please check if it can be the default.

    + WIN_AXATLGETCONTROL() - Normalizing PRG calling convension.
    + WIN_AXCREATEWINDOW()  - Can be dropped later.
    + WIN_AXGETUNKNOWN()    - Useful in many situations.
    + WIN_AXSETVERB()       - ---^---
    + WIN_AXRELEASEOBJECT() - Experimental
      Note that these function are primarily aimed at making experiments
      via gtwvg/winsink.c interface and after testings can be moved or removed.

      /*  Mindaugas, I receive a GPF when terminating the appln.
          Also I cannot see that ISink is ever subject to garbase collection.
          And "count" never returns to 0. I must be missing something, but...
      */
2009-05-26 15:03:05 +00:00
Viktor Szakats
96bc068853 2009-05-26 09:24 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/gtwvg/wvgax.prg
  * contrib/gtwvg/wvgwin.c
  * contrib/gtwvg/wvgsink.c
    ! Fixed HB_OLEAUTO() -> WIN_OLEAUTO()
    * Formatting.
    ! Fixed a few ISNIL()s.
    ! Fixed a few hb_parc() to hb_parcx() (many potential GPFs).
    % Removed unnecessary ISBYREF() and hb_ret() calls.
    ! Prefixed some static vars with 's_'.
    ! Fixed potential buffer overrun and memory corruption in
      Invoke() function.

  * contrib/rddads/adsfunc.c
    + Changed to always define all Harbour level functions.
      For unsupported ADS versions, these function will be stubs
      returning dummy values.
    ; TODO: Do the same in other contribs, like hbsqlit3. Anyone?

  * contrib/rddads/ads1.c
    ! Fixed typos and missing casts preventing to compile with 
      pre-6.00 ACE versions.
 
  * contrib/rddads/Makefile
  + contrib/rddads/adsextrn.ch
    + Added EXTERNAL header.
2009-05-26 07:31:33 +00:00
Pritpal Bedi
dce7e331a8 2009-05-25 18:16 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/gtwvg/wvgsink.c
    ! HBNIL() -> HB_ISNUM() | HB_ISCHAR().
    + Few more convinience functions.
2009-05-26 01:19:17 +00:00
Viktor Szakats
5fb80d7783 2009-05-26 02:54 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/xhb/Makefile
  + contrib/xhb/datesxhb.c
    + Added these xhb compatibility functions:
      TSSECS(), TIMEOFDAY(), HMS2D(), TTOD().
      Borrowed from xhb, work of Giancarlo Niccolai, Walter Negro,
      with few changes.

  * contrib/xhb/hbcompat.ch
    + Added translation for these functions:
      DATETIME(), HOUR(), MINUTE(), TTOS(), STOT(), TTOC(), CTOT()
      (NOTE: I don't know if the workings of corresponding Harbour
             functions are fully compatible. If not we can add
             xhb_*() flavours locally in xhb lib)
2009-05-26 00:55:57 +00:00
Viktor Szakats
a6aa848aaa 2009-05-26 02:14 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/xhb/fparse.c
   * contrib/rddsql/sddmy/mysqldd.c
   * contrib/rddsql/sqlbase.c
   * contrib/rddsql/sqlmix.c
   * contrib/rddads/adsx.c
   * contrib/examples/terminal/trm_client.prg
   * source/rdd/dbfnsx/dbfnsx1.c
     % "" -> NULL where applicable (hb_retc*(), hb_retds(), hb_itemPutC*(),
       hb_arraySetC*(), hb_errInternal(), hb_itemPutDS(), hb_arraySetDS())

   * contrib/hbqt/hbqt_qtextdocument.cpp
   * contrib/hbqt/hbqt_qgridlayout.cpp
   * contrib/hbqt/hbqt_qpainter.cpp
   * contrib/hbqt/hbqt_qeventloop.cpp
   * contrib/hbqt/hbqt_qicon.cpp
   * contrib/hbqt/hbqt_qtreeview.cpp
   * contrib/hbqt/hbqt_qtextline.cpp
   * contrib/hbqt/hbqt_qdesktopwidget.cpp
   * contrib/hbqt/hbqt_qhttp.cpp
   * contrib/hbqt/hbqt_qlineedit.cpp
   * contrib/hbqt/hbqt_qcombobox.cpp
   * contrib/hbqt/hbqt_qlistwidget.cpp
   * contrib/hbqt/hbqt_qtextcursor.cpp
   * contrib/hbqt/hbqt_qtextlayout.cpp
   * contrib/hbqt/hbqt_qftp.cpp
   * contrib/hbqt/hbqt_qclipboard.cpp
   * contrib/hbqt/hbqt_qurl.cpp
   * contrib/hbqt/hbqt_qwebpage.cpp
   * contrib/hbqt/hbqt_qtextedit.cpp
   * contrib/hbqt/hbqt_qpixmap.cpp
   * contrib/hbqt/hbqt_qsplashscreen.cpp
   * contrib/hbqt/hbqt_qtablewidget.cpp
   * contrib/hbqt/hbqt_qtreewidget.cpp
   * contrib/hbqt/generator/hbqtgen.prg
   * contrib/hbqt/hbqt_qfont.cpp
   * contrib/hbqt/hbqt_qmainwindow.cpp
   * contrib/hbqt/hbqt_qdir.cpp
   * contrib/hbqt/hbqt_qwidget.cpp
   * contrib/hbqt/hbqt_qstyle.cpp
   * contrib/hbqt/hbqt_qabstractbutton.cpp
   * contrib/hbqt/hbqt_qobject.cpp
   * contrib/hbqt/hbqt_qcolor.cpp
   * contrib/hbqt/hbqt_qtextstream.cpp
   * contrib/hbqt/hbqt_qwebview.cpp
   * contrib/hbqt/hbqt_qboxlayout.cpp
   * contrib/hbqt/hbqt_qstatusbar.cpp
   * contrib/hbqt/hbqt_qtabwidget.cpp
   * contrib/hbqt/hbqt_qscrollarea.cpp
   * contrib/hbqt/hbqt_qtextcharformat.cpp
     ! Fixed to use HB_ISNUM() instead of HB_ISNIL().
     % Don't call HB_ISNUM() where the default value is
       zero anyway. hb_parn*() functions will return zero
       anyway. (well, maybe this exploits the array-type
       bug in our Extend API.)

   * contrib/gtwvg/wvgwin.c
   * contrib/gtwvg/wvgsink.c
     * Avoiding ISNIL(). Corrected just a few occurences.
       This practice is still wrong in most of the cases in
       GTWVG code, so if the goal is GPF-free and consitently
       behaving apps, these would better be fixed. With
       string params ISNIL() is either superfluous or simply
       don't protect agains GPFs, for rest of the cases it
       either causes unexpected defaults (zero), or simply
       superfluous for the rest of the cases. IOW: Avoid it,
       use HB_ISNUM(), HB_ISCHAR() / parcx() instead.

   * contrib/hbgd/gdwrp.c
     * Formatting.
2009-05-26 00:16:14 +00:00
Pritpal Bedi
f333094ede 2009-05-25 15:01 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/gtwvg/wvgsink.c
    * Cleanup .
    * Next step to make it as close to hbwin/axcore.c as much possible.
2009-05-25 22:03:22 +00:00
Viktor Szakats
7b60dd6694 2009-05-25 23:06 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/gtwvg/wvgsink.c
    ! Fixed warning.
    * Some formatting, minor cleanup.

  * source/rtl/hbi18n2.prg
    + __I18N_POTARRAYSAVE() got logical flag to suppress Harbour version
      number in saved file comment.
    + __I18N_POTARRAYSAVE() got logical flag to suppress source
      reference information in save file. This way it's possible to
      lessen the number of .po file updates and to avoid the growth
      caused by texts moving around while files are being edited.

  * utils/hbmk2/hbmk2.prg
    + Added option to save .po files in a version repository friendly
      way, this means no Harbour version number and no source file
      references in .po files. You can activate this using -minipo 
      option.
2009-05-25 21:07:11 +00:00
Mindaugas Kavaliauskas
476c5cbf58 2009-05-25 23:29 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/gtwvg/wvgsink.c
    ! fixed, cleaned C++ compilation
2009-05-25 20:28:55 +00:00