Commit Graph

11016 Commits

Author SHA1 Message Date
Viktor Szakats
cebc3f8997 2009-06-19 15:14 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/hb-mkdyn.sh
    ! Fixed to not use HB_CCPREFIX for libtool command.

  * utils/hbmk2/hbmk2.prg
    ! Fixed typo in libtool cmd.

  * ChangeLog
    * Items marked DONE.
2009-06-19 13:15:14 +00:00
Viktor Szakats
8a01b5de4c 2009-06-19 15:03 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/darwin/gcc.cf
    * Changed to use 'gcc' as compiler name like on other platforms 
      and in hbmk2.
      For old Darwin systems it may need to be redefined to 'cc' using 
      export HB_CMP=cc.
2009-06-19 13:03:45 +00:00
Viktor Szakats
2afa463b34 2009-06-19 14:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added basic HB_CCPOSTFIX support.
    + Switched to use libtool (instead of ar) on darwin.
      (to be tested after commit)

  * config/darwin/gcc.cf
    + Added HB_CCPREFIX support.
    + Added HB_CCPOSTFIX support.
    ; Only needed for cc/gcc.

  * config/linux/gcc.cf
    + Added HB_CCPREFIX support.
2009-06-19 12:52:14 +00:00
Viktor Szakats
9500012b64 2009-06-19 14:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* tests/testhrb.prg
  * tests/exthrb.prg
    ! Fixed missing SVN props.

  * ChangeLog
    ! Removed conflict marker from ChangeLog from a recent commit.

    ; NOTE: I'd encourage everyone to check doc/howtosvn.txt
            before committing.

  * doc/howtosvn.txt
    + Added link to svn cmdline tools.
    + Added link to svn online documentation (a complete free book)
    ! Fixed a few svn commands written in uppercase.
2009-06-19 12:25:44 +00:00
Przemyslaw Czerpak
0b660d8efd 2009-06-19 14:09 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
- harbour/include/hbhrb.ch
  + harbour/include/hbhrb.ch
    * replaced hbhrb.ch with slightly different version and set SVN
      attributes:
         svn:keywords : Author Date Id Revision
         svn:eol-style : native
      Now optional HB_HRBLOAD()/HB_HRBRUN() parameter is bitfield and
      the following predefined values can be used to control function
      bindings in loaded .hrb files:
         HB_HRB_BIND_DEFAULT      - do not overwrite any functions, ignore
                                    public HRB functions if functions with
                                    the same names already exist in HVM
         HB_HRB_BIND_LOCAL        - do not overwrite any functions
                                    but keep local references, so
                                    if module has public function FOO and
                                    this function exists also in HVM
                                    then the function in HRB is converted
                                    to STATIC one
         HB_HRB_BIND_OVERLOAD     - overload all existing public functions
         HB_HRB_BIND_FORCELOCAL   - covert all public functions to
                                    STATIC ones
      Other HB_HRB_* defines will be added in the future

  * harbour/include/hbvm.h
    * declared hb_vmSetFunction() as internal function

  * harbour/source/vm/hvm.c
    * modified hb_vmSetFunction() to update references also in unused
      modules.

  * harbour/source/vm/runner.c
    * removed CanUnload - it was not fully functional. Modules which
      overloads public functions cen be unload just like any other ones
      but unloading does not restore references to overloaded functions.
      Now such references are simply lost and this should be fixed in the
      future.
    + added support for HB_HRB_BIND_FORCELOCAL
    ! fixed <nOptions> parameter decoding in HB_HRBLOAD() to strictly
      follow declaration:
         HB_HRBLOAD( [ <nOptions>, ] <cHrb> [, <xparams,...> ] )
    ! fixed init procedures parameters in HB_HRBLOAD() to no pass <nOptions>
    + added support for <nOptions> to HB_HRBRUN()
         HB_HRBRUN( [ <nOptions>, ] <cHrb> [, <xparams,...> ] ) -> <retVal>
    * changed HB_HRBRUN() return value - now it's the result of executed
      function instead of .T.
    ! fixed public symbol updating to keep valid references to HB_FS_LOCAL
      function
    ! fixed possible memory leak
    % added const to some char * declarations

   TOFIX/TODO: add support for restoring overloaded functions when module
               is unloaded.
2009-06-19 12:09:26 +00:00
Viktor Szakats
1c20b41cc2 2009-06-19 11:32 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* tests/testhrb.prg
  * tests/Makefile
  * include/Makefile
  * include/hbhrb.ch
  * source/vm/runner.c
    ! Added new files to Makefiles.
    ! Fixed to use hbhrb.ch from .c rather than replicating #defines.
      (also fixed comments to be ANSI)
    ! Added self protection to .ch.
    ! Made .hrb file lowercase in testhrb.prg
    ! Deleted double license header from .ch.

  * utils/hbmk2/hbmk2.prg
    + Added logic to move embedded compilers under a common subdir.
      To stay compatible with 2.0.0beta1 release I didn't yet set
      this, but it will be for final release.
      Probably 'comp', or maybe 'opt'. Sorry for asking for opininons,
      but they're welcome anyway.
2009-06-19 09:33:42 +00:00
Jean-Francois Lefebvre
d7a22185d5 2009-06-19 10:56 UTC+0200 Jean lefebvre (jfl at mafact dot com)
* vm/runner.c
    FIXED ;
    ../../runner.c:413: error: '_HB_SYMB' undeclared (first use in this function)
  + include/hbhrb.ch:  HB_HRBLOAD() mode #define new file
  + tests/testhrb.prg: test program fro new params 
  + tests/exthrb.prg:  test program to be compiled as .HRB using /gh option
2009-06-19 09:00:16 +00:00
Viktor Szakats
ce275c340e 2009-06-19 00:36 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/vm/runner.c
    * Formatted.
    ; TOFIX:
        ../../runner.c: In function 'hb_hrbLoad':
        ../../runner.c:413: error: '_HB_SYMB' undeclared (first use in this function)
        ../../runner.c:413: error: (Each undeclared identifier is reported only once
        ../../runner.c:413: error: for each function it appears in.)
2009-06-18 22:36:27 +00:00
Viktor Szakats
75ca071bb3 2009-06-19 00:23 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* .
    ! Deleted "bugtraq:append" (not mentioned in ChangeLog) 
      property added to main Harbour trunk in:
      2009-06-18 21:18 UTC+0200
      JF, pls fix this in your SVN client, otherwise next time 
      it will just reappear. Majority of these extensions and 
      dirs aren't present in Harbour source tree since long.
2009-06-18 22:24:27 +00:00
Viktor Szakats
b9c7b1d25d 2009-06-19 00:16 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed regression from 2009-06-16 15:03 UTC+0200.
      Thanks Marek.
2009-06-18 22:17:47 +00:00
Viktor Szakats
a375f106a9 2009-06-19 00:08 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/gtwvg/gtwvg.c
  * contrib/gtwvg/wvgcuig.c
  * contrib/gtwvg/wvgwin.c
  * contrib/gtwvg/wvgutils.c
  * contrib/gtwvg/wincallb.c
  * contrib/gtwvg/Makefile
  * contrib/gtwvg/wvgcore.c
    * Reverted to r11403 for Pritpal.
      (now for real)
2009-06-18 22:09:44 +00:00
Jean-Francois Lefebvre
0c36fe41df 2009-06-18 21:18 UTC+0200 Jean lefebvre (jfl at mafact dot com) 2009-06-18 19:25:56 +00:00
Viktor Szakats
390543ea06 2009-06-18 18:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/gtwvg/wvgscrlb.prg
  * contrib/gtwvg/wvgclass.prg
  * contrib/gtwvg/wvgdlg.prg
  * contrib/gtwvg/wvgax.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/wvgwin.c
  * contrib/gtwvg/tests/demoxbp.prg
  * contrib/gtwvg/tests/demowvg.prg
  * contrib/gtwvg/wvgcrt.prg
  * contrib/gtwvg/wvgwnd.prg
  * contrib/gtwvg/wvgutils.c
  * 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/wvgtabpg.prg
  * contrib/gtwvg/wvg3stat.prg
    * Reverted to r11403 for Pritpal.
2009-06-18 16:26:30 +00:00
Viktor Szakats
c329dc7499 2009-06-18 18:18 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added -skip option support to .hbm files.
2009-06-18 16:18:47 +00:00
April White
1050cd8fb2 2009-06-18 16:14 UTC+0600 April White (april@users.sourceforge.net)
* source/rtl/mlcfunc.c
    * detect if parameter is a string vs array
    * allocate memory for the array before resetting the counter
2009-06-18 14:43:17 +00:00
Viktor Szakats
826ad777c2 2009-06-18 14:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbct/Makefile
  - contrib/hbct/dattime4.c
  - contrib/xpp/datesx.c
  * contrib/xpp/Makefile
    * Delete
2009-06-18 12:24:49 +00:00
Pritpal Bedi
855b6a42c7 2009-06-17 16:33 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/wvg3stat.prg
  * harbour/contrib/gtwvg/wvgax.prg
  * harbour/contrib/gtwvg/wvgbitmp.prg
  * harbour/contrib/gtwvg/wvgcheck.prg
  * harbour/contrib/gtwvg/wvgclass.prg
  * harbour/contrib/gtwvg/wvgcrt.prg
  * harbour/contrib/gtwvg/wvgdarea.prg
  * harbour/contrib/gtwvg/wvgdatar.prg
  * harbour/contrib/gtwvg/wvgdlg.prg
  * harbour/contrib/gtwvg/wvglistb.prg
  * harbour/contrib/gtwvg/wvgmenub.prg
  * harbour/contrib/gtwvg/wvgmle.prg
  * harbour/contrib/gtwvg/wvgpaint.prg
  * harbour/contrib/gtwvg/wvgphdlr.prg
  * harbour/contrib/gtwvg/wvgpushb.prg
  * harbour/contrib/gtwvg/wvgradio.prg
  * harbour/contrib/gtwvg/wvgscrlb.prg
  * harbour/contrib/gtwvg/wvgsle.prg
  * harbour/contrib/gtwvg/wvgstatb.prg
  * harbour/contrib/gtwvg/wvgstatc.prg
  * harbour/contrib/gtwvg/wvgsysw.prg
  * harbour/contrib/gtwvg/wvgtabpg.prg
  * harbour/contrib/gtwvg/wvgtoolb.prg
  * harbour/contrib/gtwvg/wvgtreev.prg
  * harbour/contrib/gtwvg/wvgutils.c
  * harbour/contrib/gtwvg/wvgwin.c
  * harbour/contrib/gtwvg/wvgwnd.prg
  * harbour/contrib/gtwvg/tests/demowvg.prg
  * harbour/contrib/gtwvg/tests/demoxbp.prg
    - WIN_* Namespace.
    + WDW_* Namespace.
      First pass isolating WIN_* namespace to WDW_ namespace.
      NOTE: This needs change in your sources if you happen to use
      WIN_*() functions. If not you need not to worry.
2009-06-18 07:34:30 +00:00
Viktor Szakats
f221c5324d 2009-06-18 09:20 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbct/Makefile
  + contrib/hbct/dattime4.c
  * contrib/hbct/datetime.c
    * Moved STOD() into separate file to avoid linking problems
      when HB_COMPAT_XPP is defined.
    ! Removed HB_COMPAT_XPP protection. No longer needed.
    ! Restored my copyright for STOD().
    * Updated STOD() content with core code.
    ; TOFIX: ? Probably it would be best to remove this function
             from here, otherwise it may just create syncing
             problems. Also from xpp lib. Opinions?

  * contrib/xpp/xpp.ch
    + Now defining HB_COMPAT_XPP. This can be helpful to enable
      some extra XPP feature in our core headers. (unless we find
      a better solution for this)
    + Added NOTE to include this header before Harbour ones.
2009-06-18 07:22:51 +00:00
Viktor Szakats
08e95fb850 2009-06-18 08:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/gtwvg/wvgscrlb.prg
  * contrib/gtwvg/wvgclass.prg
  * contrib/gtwvg/wvgdlg.prg
  * contrib/gtwvg/wvgax.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/wvgwin.c
  * contrib/gtwvg/tests/demoxbp.prg
  * contrib/gtwvg/tests/demowvg.prg
  * contrib/gtwvg/wvgcrt.prg
  * contrib/gtwvg/wvgwnd.prg
  * contrib/gtwvg/wvgutils.c
  * 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/wvgtabpg.prg
  * contrib/gtwvg/wvg3stat.prg
    * Reverted to r11403.
2009-06-18 06:53:20 +00:00
Viktor Szakats
30676ed422 2009-06-18 07:39 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* examples/superlib/hbsuper.dif
    ! Fixed CLIPPER function declarations to HB_FUNC().

  * ChangeLog
    * Item marked as DONE.
2009-06-18 05:39:54 +00:00
Pritpal Bedi
982850ecaa 2009-06-17 16:33 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/wvg3stat.prg
  * harbour/contrib/gtwvg/wvgax.prg
  * harbour/contrib/gtwvg/wvgbitmp.prg
  * harbour/contrib/gtwvg/wvgcheck.prg
  * harbour/contrib/gtwvg/wvgclass.prg
  * harbour/contrib/gtwvg/wvgcrt.prg
  * harbour/contrib/gtwvg/wvgdarea.prg
  * harbour/contrib/gtwvg/wvgdatar.prg
  * harbour/contrib/gtwvg/wvgdlg.prg
  * harbour/contrib/gtwvg/wvglistb.prg
  * harbour/contrib/gtwvg/wvgmenub.prg
  * harbour/contrib/gtwvg/wvgmle.prg
  * harbour/contrib/gtwvg/wvgpaint.prg
  * harbour/contrib/gtwvg/wvgphdlr.prg
  * harbour/contrib/gtwvg/wvgpushb.prg
  * harbour/contrib/gtwvg/wvgradio.prg
  * harbour/contrib/gtwvg/wvgscrlb.prg
  * harbour/contrib/gtwvg/wvgsle.prg
  * harbour/contrib/gtwvg/wvgstatb.prg
  * harbour/contrib/gtwvg/wvgstatc.prg
  * harbour/contrib/gtwvg/wvgsysw.prg
  * harbour/contrib/gtwvg/wvgtabpg.prg
  * harbour/contrib/gtwvg/wvgtoolb.prg
  * harbour/contrib/gtwvg/wvgtreev.prg
  * harbour/contrib/gtwvg/wvgutils.c
  * harbour/contrib/gtwvg/wvgwin.c
  * harbour/contrib/gtwvg/wvgwnd.prg
  * harbour/contrib/gtwvg/tests/demowvg.prg
  * harbour/contrib/gtwvg/tests/demoxbp.prg
    - WIN_* Namespace.
    + WDW_* Namespace.
      First pass isolating WIN_* namespace to WDW_ namespace.
      NOTE: This needs change in your sources if you happen to use
      WIN_*() functions. If not you need not to worry.
2009-06-17 23:38:37 +00:00
Viktor Szakats
a48321cf39 2009-06-18 00:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbextern.ch
  * source/rtl/mousehb.c
  * source/rdd/rddinfo.c
  * source/rdd/dbdrop.c
  * source/rdd/dbexists.c
  * source/rdd/fieldhb.c
    * Rest of similar to STOD() status functions also 
      protected with ! HB_C52_STRICT.
2009-06-17 22:52:52 +00:00
Viktor Szakats
e601da299c reapplied changes 2009-06-17 22:48:46 +00:00
Viktor Szakats
0f98f116b8 restored with history 2009-06-17 22:48:03 +00:00
Viktor Szakats
c0bd6c42f4 temp delete 2009-06-17 22:46:52 +00:00
Viktor Szakats
41b7534251 2009-06-18 00:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbextern.ch
  * source/rtl/datesx.c
    * STOD() function not protected by HB_COMPAT_XPP anymore.
      Instead it's turned off only in HB_C52_STRICT mode.

  + contrib/xpp/xppextrn.ch
    + Added.

  * contrib/hbwin/win_misc.c
    + Added WIN_HIWORD() and WIN_LOWORD() functions (from GTWVG).
      But commented because of colliding names.
2009-06-17 22:34:21 +00:00
Viktor Szakats
fb75f441ac 2009-06-17 23:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbblat/blatcls.prg
    ! Added type checks for all params.
    % File() -> hb_FileExists()
    * Minor formatting.

  * source/rtl/browdbx.prg
    * Minor formatting in comment.

  * contrib/xpp/Makefile
  + contrib/xpp/dbcmdx.c
  + contrib/xpp/tgetx.prg
  + contrib/xpp/tbcolumx.prg
  + contrib/xpp/dbjoinx.prg
  + contrib/xpp/idlex.c
  + contrib/xpp/typefilx.prg
  + contrib/xpp/philesx.c
  + contrib/xpp/browdbx.prg
  + contrib/xpp/dbdetacx.c
  + contrib/xpp/dblistx.prg
  + contrib/xpp/binnumx.c
  + contrib/xpp/mousex.c
  + contrib/xpp/dbupdatx.prg
  + contrib/xpp/dbfuncsx.prg
  + contrib/xpp/oemansix.c
  + contrib/xpp/tbrowsex.prg
  + contrib/xpp/thfuncx.prg
  + contrib/xpp/dbtotalx.prg
  + contrib/xpp/datesx.c
  + contrib/xpp/tthreadx.prg
  + contrib/xpp/dbstruxx.prg
  + contrib/xpp/dbsortx.prg
    + Made a copy of all Xbase++ related Harbour core components
      into this separate lib. As we're starting to have a larger
      and larger amount of Xbase++ functions, to not pollute core,
      to have a clear separation of components and to allow
      toggling Xbase++ compatibility at user level (instead of
      Harbour level), it's a good time to make this long planned
      first step. This means that now Harbour can be built with
      HB_COMPAT_XPP turned off, yet - with this lib - all Xbase++
      feature can still be used, and this is the recommended way.
      The name of the lib is tentative and in the future it may
      even be moved or renamed. 2.0.0 final version will still
      have HB_COMPAT_XPP enabled in core.
    ; NOTE: Please add new Xbase++ compatibility functions to this lib.
    ; TOFIX: xpp_TBrowse() needs some internal parts from tbrowse.prg,
             so current solution isn't finished.
    ; TOFIX: A few Xbase++ compatibility features are embedded
             into core source. These should be resolved by other
             means. (f.e. compiler time/runtime/hbmk2 switches, but
             for  that we need to move back this lib inside core)
    ; TODO: Decide about the status of STOD() function, which is
            currently an XPP compatibility function, not in Harbour
            namespace, yet it's widely used with same functionality.
2009-06-17 21:13:27 +00:00
Przemyslaw Czerpak
d364d762d9 2009-06-17 14:06 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/compiler/hbmain.c
    * extended -n2 to work also with code without starup procedure but with
      local variables

  * harbour/utils/hbrun/hbrun.prg
    + added -n2 to compiler parameters when .prg file is compiled and
      executed. It allows to use with hbrun .prg files with and without
      startup procedure
2009-06-17 11:56:30 +00:00
Viktor Szakats
c3dcec4713 2009-06-17 13:08 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/hbinet.c
    ! Typo in 2009-06-13 23:51 UTC+0200 fixed.
      Thanks Lorenzo for the report.
      [already committed.]
2009-06-17 11:09:58 +00:00
Przemyslaw Czerpak
11dc6a48a4 2009-06-17 13:17 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/hbinet.c
    ! fixed bad typo introduced in last days probably during some code
      formatting which broke HB_INETRECVLINE() and some other functions
2009-06-17 11:07:49 +00:00
Przemyslaw Czerpak
cbe41c950b 2009-06-17 13:07 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapierr.h
    * added HB_EXPORT attribute to hb_err*() public functions

  * harbour/source/rdd/wacore.c
    * minor formatting
2009-06-17 10:57:19 +00:00
Viktor Szakats
f068c2f707 2009-06-17 09:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbct/fcopy.prg
  * contrib/xhb/stream.prg
  * contrib/xhb/traceprg.prg
  * contrib/xhb/hblog.prg
  * contrib/xhb/ttable.prg
  * contrib/hbxbp/xbpmenubar.prg
  * contrib/hbxbp/xbptoolbar.prg
  * contrib/hbxbp/xbppushbutton.prg
  * contrib/hbnf/tbwhile.prg
  * contrib/rddado/adordd.prg
  * contrib/hbgd/gd.prg
  * contrib/hbtip/thtml.prg
  * contrib/hbtip/popcln.prg
  * contrib/hbtip/sendmail.prg
  * contrib/hbtip/cgi.prg
  * contrib/hbtip/ftpcln.prg
    % File() -> hb_FileExists().
    ; NOTE: I didn't convert in hbblat, because I'm not sure whether wildcards
            are also expected there.
2009-06-17 07:30:31 +00:00
Pritpal Bedi
3d8424928c 2009-06-17 00:10 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbxbp/tests/demoxbp.prg
    ! Commented out <Dialogs> menu option.
      Scheduled to be reactivated once event handlers will be in place.
2009-06-17 07:12:25 +00:00
Pritpal Bedi
a1b4491f19 2009-06-17 00:04 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbxbp/hbxbp.hbc
    ! Removed "hbwin" dependency introduced in prev commit.
2009-06-17 07:05:52 +00:00
Viktor Szakats
41979f5b60 2009-06-17 08:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added support for rest of embedded compiler installations:
      pocc64, poccarm, dos/watcom. Since these share a common
      install kit with other targets, they can only be selected
      using -comp= switch and in this case they will be used
      if the installation is present.

  * contrib/hbwin/win_misc.c
    + Added support for embedded Chr(0) to WIN_ANSITOWIDE() and
      WIN_WIDETOANSI().
    ! Fixed WIN_ANSITOWIDE(). Dunno when it worked the last time,
      but it must be long ago (SysStringLen() was returning zero).

  * contrib/hbwin/Makefile
  * contrib/hbwin/win_misc.c
  + contrib/hbwin/wapi_shellapi.c
    * Moved and renamed WIN_SHELLEXECUTE() to WAPI_SHELLEXECUTE()
      since this implementation is a full wrapper of original
      Windows API. Incompatible. Please update your sources.

  * contrib/hbwin/legacyco.c
    * Formatting.
2009-06-17 06:34:57 +00:00
Pritpal Bedi
03b4481982 2009-06-16 23:16 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbxbp/Makefile

  * harbour/contrib/hbxbp/xbp3state.prg
  * harbour/contrib/hbxbp/xbpcheckbox.prg
  * harbour/contrib/hbxbp/xbpdataref.prg
  * harbour/contrib/hbxbp/xbpdialog.prg
  * harbour/contrib/hbxbp/xbpgeneric.prg
  * harbour/contrib/hbxbp/xbplistbox.prg
  * harbour/contrib/hbxbp/xbpmenubar.prg
  * harbour/contrib/hbxbp/xbppushbutton.prg
  * harbour/contrib/hbxbp/xbpradiobutton.prg
  * harbour/contrib/hbxbp/xbpstatusbar.prg
  * harbour/contrib/hbxbp/xbptabpage.prg
  * harbour/contrib/hbxbp/xbptoolbar.prg
  * harbour/contrib/hbxbp/xbpwindow.prg
  + harbour/contrib/hbxbp/xbpscrollbar.prg
    + Added XbpScrollBar() class.
    ! Rearranged class structure, vastly cleaned, and formatted.

  * harbour/contrib/hbxbp/tests/demoxbp.prg
    + Implemented XbpScrollBar()s.
    + Added one more menu option to open same dialog n number of times.
      It is still at infant stage as all the event handlers are not in place.
      Infact if demoXBP.prg is compiled in MT mode I think it will not 
      be a issue.

      Viktor, can you see why I cannot compile demoXBP.prg in MT mode?
2009-06-17 06:29:51 +00:00
Pritpal Bedi
56e816eefb 2009-06-16 23:06 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/hbqt.ch
  * harbour/contrib/hbqt/hbqt_slots.cpp
  * harbour/contrib/hbqt/hbqt_slots.h
  * harbour/contrib/hbqt/moc_slots.cpp
    ! Greatly improved SIGNAL/SLOT mechanism. 
      Now SIGNAL to SLOT connection is almost instant no matter how many
      widgets the application is employing.
    ! Implemented to relaase code blocks and reuse vacant slots. 
      It reduces the memory leakage considerably.

  * harbour/contrib/hbqt/tests/demoqt.prg
    ! Commented out non-available Signal/Slot pair reported by linus distro.
2009-06-17 06:17:23 +00:00
Mindaugas Kavaliauskas
102d43358c 2009-06-17 00:05 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbwin/axcore.c
    ! fixed GPF on ActiveX application exit caused by invalid 
      AtlAxWinTerm() call.
    ; It's inline function and it does not exists in atl.dll
    ; MSDN says:
      When Do I Need to Call AtlAxWinTerm?

      AtlAxWinTerm unregisters the "AtlAxWin7" window class. You should 
      call this function... If don't call this function, the window class 
      will be unregistered automatically when the process terminates.
    ; Thanks Toninho for self contained 3 lines GPF sample without 
      FWH, gtwvg, etc!
2009-06-16 21:10:31 +00:00
Viktor Szakats
e0a765783e wrong copy paste corrected in last ChangeLog entry
2009-06-16 18:39 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
  * include/hbextern.ch
    + Added HB_WAEVAL().

  * contrib/hbwin/win_prn1.c
    - Direct procedural Windows printing interface will now only
      accept real pointers.
    * WIN_CREATEDC() will now return null pointer instead of NIL.
      The safest way to check for success is: 'IF ! Empty( win_CreateDC() )'
    ; With this, only some DLL related functions remain which
      still use numeric pointers.
2009-06-16 17:33:10 +00:00
Viktor Szakats
a3805daf7e 2009-06-16 18:39 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* include/hbextern.ch
    + Added HB_WAEVAL().

  * contrib/hbwin/win_prn1.c
    - Direct procedural Windows printing interface will now only
      accept real pointers.
    * WIN_CREATEDC() will now return null pointer instead of NIL.
      The safest way to check for success is: 'IF ! Empty( win_CreateDC() )'
    ; With this, only some DLL related functions remain which
      still use numeric pointers
2009-06-16 16:39:43 +00:00
Viktor Szakats
f3577a269a 2009-06-16 16:59 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* contrib/hbwin/win_misc.c
    + Added these functions:
      WIN_HINSTANCE() -> <ptr>
      WIN_HPREVINSTANCE() -> <ptr>
      WIN_NCMDSHOW() -> <nNum>

  * contrib/xhb/ttable.prg
    ! Fixed missing EXIT reported by Grigory Filatov.
    * Changed few xhb keywords to Harbour, removed xhb.ch header.
2009-06-16 15:00:49 +00:00
Antonio Carlos Pantaglione
82de9188f3 2009-06-16 11:25 UTC-0300 Antonio Carlos Pantaglione <toninho@fwi.com.br>
* contrib/hbwin/wapi_winuser.c
    ! Parameters numbers in WAPI_CREATEWINDOWEX
2009-06-16 14:14:17 +00:00
Przemyslaw Czerpak
20c62d1431 2009-06-16 16:09 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapirdd.h
  * harbour/source/rdd/wafunc.c
    + added HB_ERRCODE hb_rddEvalWA( PHB_ITEM pBlock )

  * harbour/source/rdd/dbcmd.c
    + added HB_WAEVAL( <pBlock> ) function which evaluates given
      <pBlock> in each used worakrea. The workarea iteration is
      interrupted if <pBlock> returns .F.

  * harbour/source/rdd/wafunc.c
    * restore workarea number in hb_rddCloseAllParentRelations()

  * harbour/source/rdd/workarea.c
    * added small protection against releasing WA by user codeblock in
      EVALBLOCK() method

  * harbour/source/rdd/wacore.c
    * added small protection against releasing WA by user code during
      area iteration
2009-06-16 13:59:12 +00:00
Viktor Szakats
461276accd 2009-06-16 15:42 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/xhb/ttable.prg
    ! Typo fixed. Reported by newsgroup user.
2009-06-16 13:43:07 +00:00
Viktor Szakats
c6b45e7bd5 2009-06-16 15:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* examples/uhttpd2/socket.c
    ! Including winsock2.h to avoid missing macro SD_BOTH 
      on MSVC and POCC (maybe more) compilers.
2009-06-16 13:10:17 +00:00
Viktor Szakats
0a25e75b8f 2009-06-16 15:03 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added preliminary support for autosetup for several more
      compilers: win/watcom, win/pocc, win/pocc64, wce/poccarm,
      dos/djgpp, dos/watcom.
      Only these were tested: dos/djgpp, win/watcom, win/pocc.
      This means it's now possible to "bundle" DJGPP, watcom or
      pocc _compiler tools_ with Harbour and hbmk2 will be able
      to detect them, or user can choose between them using
      -arch/-comp switches, then hbmk2 will just be able to use
      them "as is", without the need to change anything on the
      environment. zero-conf usage in essence, just like we
      already had for mingw family.
    ; NOTE: Before the release I'll rethink placement of these 
            tools inside the Harbour directory tree. Currently 
            they are detected in the Harbour root dir, but with 
            multiple compilers this is not ideal.

  * source/vm/thread.c
    ! Fixed compile error after 2009-06-16 08:55 UTC+0200.
2009-06-16 13:05:23 +00:00
Przemyslaw Czerpak
01162d9200 2009-06-16 13:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbct/token1.c
    % use explicit constant value instead of HB_MKULONG() macro

  * harbour/source/compiler/cmdcheck.c
    ! fixed few typos in bit manipulation used to calculate result in
      PackDateTime() function by rewriting it to use bitfield union.
2009-06-16 11:27:55 +00:00
Viktor Szakats
c2092fff60 2009-06-16 09:13 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Two optional envvars got some super extra clarification.
2009-06-16 07:14:50 +00:00
Viktor Szakats
d234bc24f5 2009-06-16 08:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/vm/thread.c
    * HB_MUTEXQUEUEINFO() returning logical var.
    ! HB_MUTEXQUEUEINFO() resetting ref params with 0 in case of error.
2009-06-16 06:55:21 +00:00
Viktor Szakats
4dbccf8ead 2009-06-16 08:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbextern.ch
  * source/vm/thread.c
  * examples/uhttpd2/umain.prg
    * Replaced HB_MUTEXWAITERSCOUNT() with 
      HB_MUTEXQUEUEINFO( hMutex, [ @nWaitersCount ], [ @nQueueLength ] )
    ; Please review.
2009-06-16 06:51:12 +00:00