Commit Graph

11093 Commits

Author SHA1 Message Date
Viktor Szakats
f5904ca848 2009-06-23 19:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbapi.h
  * include/hbapiitm.h
  * source/vm/itemapi.c
  * source/vm/arrays.c
  * source/vm/extend.c
    * Clean alternative for: 2009-06-23 18:15 UTC+0200
      (now change is local to extend.c)
      Thanks Przemek.
2009-06-23 17:23:22 +00:00
Viktor Szakats
f1052fb187 2009-06-23 19:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- examples/superlib/hbsuper.hbp
  + examples/superlib/superlib.hbc
  + examples/superlib/superlib.dif
  - examples/superlib/hbsuper.dif
  * examples/superlib/readme.txt
  + examples/superlib/superlib.hbp
    * Change make system to have full multiplatform/multicompiler
      support. The same all other examples and contribs have.
    + Added one-liner instruction, how to build superlib based
      apps using hbmk2.
2009-06-23 17:11:04 +00:00
Viktor Szakats
7de9ca92fe 2009-06-23 18:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbapi.h
  * include/hbapiitm.h
  * source/vm/itemapi.c
  * source/vm/arrays.c
  * source/vm/extend.c
    ! Fixed hb_parvc() function to return NULL in case an array 
      is passed as Harbour level parameter. This makes this function 
      (and _parc()) fully CA-Cl*pper compatible.
    ; Please review maybe there is a lighter patch to achieve this 
      goal. I had to add NULL versions for two functions downstream.

  * utils/hbmk2/hbmk2.prg
    * Formatting.
2009-06-23 16:16:52 +00:00
Viktor Szakats
1c8d9f5858 2009-06-23 17:14 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added section:
      QUICK START TO BUILD YOUR OWN HARBOUR APPLICATIONS
      Contains basics to start to build Harbour apps (using hbmk2).
2009-06-23 15:15:12 +00:00
Viktor Szakats
4e92dd7f79 2009-06-23 14:10 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    * Correction to xcc + /MT switch.
2009-06-23 12:10:37 +00:00
Viktor Szakats
16c5811ea0 2009-06-23 13:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    * Synced /MT switch with GNU Make build switch for pocc/pocc64.
2009-06-23 11:34:16 +00:00
Viktor Szakats
dbab909116 2009-06-23 12:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed problem with pocc not finding compiled .c objects 
      in some cases.
      Damn these two compilers pocc and watcom.
2009-06-23 10:40:31 +00:00
Viktor Szakats
2dce96316f 2009-06-23 12:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added filter support for input file types .rc, .res, .o, .obj, .c, .cpp.
    ! Fixed filter support for some existing cases with input files.
    + Added special support for escaping filenames inside watcom
      command script file. Of course this is different from common
      command line escaping rules. I didn't try to find out the details,
      but for simple spaces, it now works. If someone wants to tweak
      them, they go under the name _ESC_SINQUOTE_WATCOM.

  * utils/hbrun/hbrun.hbp
  * utils/hbrun/hbrun.rc
    * Changed the way harbour.ico is referred to. Now the dir of
      it is passed as include dir and no dir is used inside the .rc
      file. This was needed to make watcom happy, which counts
      relative dirs in #include from cwd, rather than from host
      file.
2009-06-23 10:15:24 +00:00
Przemyslaw Czerpak
f604930a1e 2009-06-23 11:56 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
  * harbour/utils/hbmk2/hbmk2.prg
    * updated automatic first function detection to decode non symbol
      characters in C function names
2009-06-23 09:56:44 +00:00
Viktor Szakats
da656fbc14 2009-06-23 10:57 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* examples/hboleold/hboleold.hbp
  + examples/hboleold/tests/hbmk.hbm
    * hbmk2 files adjusted.
2009-06-23 08:57:54 +00:00
Przemyslaw Czerpak
ecb7067866 2009-06-23 10:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/compiler/genc.c
    * convert any function names to unique symbol accepted by C compilers
      it resolves problems with compiling without -n .prg files using some
      strange characters in file name, i.e. 
         /*** ^co+d-e.prg ***/
         ? procname()
2009-06-23 08:03:54 +00:00
Viktor Szakats
0cdaf09ccd 2009-06-23 05:06 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* examples/hbmsql/hbmsql.hbc
  * examples/hbmsql/hbmsql.hbp
  - examples/hbsqlit2/tests/hbsqlit2.hbc
  + examples/hbsqlit2/hbsqlit2.hbc
  * examples/hbsqlit2/hbsqlit2.hbp
  + examples/hbsqlit2/tests/hbmk.hbm
  - examples/hbapollo/tests/hbapollo.hbc
  + examples/hbapollo/hbapollo.hbc
  * examples/hbapollo/hbapollo.hbp
  + examples/hbapollo/tests/hbmk.hbm
  - examples/hbwhat/tests/hbwhat.hbc
  + examples/hbwhat/hbwhat.hbc
  * examples/hbwhat/hbwhat.hbp
  + examples/hbwhat/tests/hbmk.hbm
    * Updated make files, added missing one, synced
      with latest layout.  Enabled -inc mode in all.
      Storing output inside arch/comp subtree to allow
      parellel builds. Moving towards plugin mode.
2009-06-23 03:08:18 +00:00
Viktor Szakats
225997bb80 minor 2009-06-23 02:41:43 +00:00
Viktor Szakats
90a6cfab37 2009-06-23 04:39 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    * Changed ${hb_self} macro to ${hb_dir}
    + Added ${hb_name} macro which translates to the container
      filename (so f.e. in hbwin.hbc it will be "hbwin")
    + Added "late-evaluation" macros in libpaths= lists,
      when looking for .hbc files. Late eval macros are marked
      with %{}. This feature means you can setup
      'libpaths=contrib/%{hb_name}' and when looking for
      'hbwin.hbc', it will look for it in contrib/hbwin dir.
    * libpaths/-L values will not be checked for existence before
      adding them to internal lib list.
    ; All this means that it's now possible to setup contrib
      libs and headers in their own directory while keeping the
      "zero-conf" work environment. IOW contrib libs and directories
      don't need to "pollute" central lib/header dir. This also
      means that we can lift lots of restrictions regarding
      naming, since only lib name needs to be unique, headers
      don't (it's still good practice though since one users
      may want to use both contribs at the same time), they
      also don't bother those users who aren't using them. This
      system also makes it very easy to add 3rd party libs to
      the contrib dir. So in this sense it's basically a fully
      open "plugin" system for any libs.
      It's very easily possible to add 'examples', or 'extras'
      subtrees to libpath also.
      From the user side, it looks like this (without any extra
      configuration or any path specs):
         > hbmk2 myprogram.prg hbwin.hbc hbct.hbc
    ; QUESTION: Where such contribs (with libs and headers)
                could go on a *nix system? While developing
                above stuff I had the unified Windows installer
                in mind, but it would be good to adapt these
                on *nix systems, too.

  + contrib/xpp/xpp.hbc
    + Added .hbc file for xpp lib.
2009-06-23 02:40:28 +00:00
April White
6af3a36044 2009-06-22 20:48 UTC+0600 April White (april users.sourceforge.net)
* contrib\hbblat\blatcls.prg
    * METHOD Check() CLASS HBBlat -> METHOD PROCEDURE
  * contrib\hbgd\gdimage.prg
    * METHOD Destruct() CLASS GDImage -> METHOD PROCEDURE
  * contrib\xhb\hblog.prg
    * METHOD Open() CLASS HB_Logger -> METHOD PROCEDURE
    * METHOD Close() CLASS HB_Logger -> METHOD PROCEDURE
    * METHOD Log( cMessage, nPriority ) CLASS HB_Logger -> METHOD PROCEDURE
    * METHOD Log( nStyle, cMessage, cName, nPriority ) CLASS HB_LogChannel -> METHOD PROCEDURE
    * METHOD Send( nStyle, cMessage, cName, nPriority ) CLASS HB_LogConsole -> METHOD PROCEDURE
    * METHOD Send( nStyle, cMessage, cName, nPriority ) CLASS HB_LogDebug -> METHOD PROCEDURE
  * contrib\xhb\stream.prg
    * METHOD CopyTo( oTargetStream ) CLASS TStream -> METHOD PROCEDURE
    * METHOD Finalize CLASS TStreamFileReader -> METHOD PROCEDURE
    * METHOD Finalize CLASS TStreamFileWriter -> METHOD PROCEDURE
    * METHOD WriteByte( cByte ) CLASS TStreamFileWriter -> METHOD PROCEDURE
  * contrib\xhb\ttable.prg
    * METHOD GET() CLASS HBRecord -> METHOD PROCEDURE
    * METHOD Put() CLASS HBRecord -> METHOD PROCEDURE
    * METHOD DBMove( nDirection ) CLASS HBTable -> METHOD PROCEDURE
    * METHOD READ( lKeepBuffer ) CLASS HBTable -> METHOD PROCEDURE
    * METHOD ReadBlank( lKeepBuffer ) CLASS HBTable -> METHOD PROCEDURE
    * METHOD AddField( f, t, l, d ) CLASS HBTable -> METHOD PROCEDURE
    * METHOD Gentable() CLASS HBTable -> METHOD PROCEDURE
    * METHOD Create() CLASS HBOrder -> METHOD PROCEDURE
2009-06-23 01:56:52 +00:00
April White
10e1d5c2fe 2009-06-22 20:38 UTC+0600 April White (april users.sourceforge.net)
* examples/hbextern/hbextern.prg
    * significant re-implementation
      ; with no params will work like original version
      ; processes source files with LF terminators
      ; params to control: recursion, include 'conditions',
        include classes, include class methods/etc
      ; execute with -? or --help
2009-06-23 00:43:43 +00:00
Viktor Szakats
71b915f4a3 2009-06-23 02:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    * Restored HB_COMPILE() first parameter. This time it's 'harbour' 
      instead of empty string.
2009-06-23 00:21:07 +00:00
Przemyslaw Czerpak
1ef31fd275 2009-06-23 02:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/compiler/hbcmplib.c
    * removed automatically set 1-st parameter in hb_compile*() functions
      so user can control it from .prg code
2009-06-23 00:15:42 +00:00
Viktor Szakats
c32cb146f5 2009-06-23 01:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added information about C/C++ mode defaults.

  * contrib/xhb/xhberr.prg
    + Some internal xhb functions added.
      (from xhb repo)
2009-06-22 23:57:38 +00:00
Viktor Szakats
57ea03f80a 2009-06-23 00:36 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Deleted first empty string parameter passed to HB_COMPILE()
      function. AFAIR it seems it was needed so far (or was ignored,
      but I've put it there for some reason), but after recent fix,
      it's interpreted as empty filename, which seems logical.
2009-06-22 22:37:47 +00:00
Viktor Szakats
999cf5ba39 2009-06-23 00:08 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/sqlite3/sqlite3.c
  * external/sqlite3/sqlite3.h
    * sqlite upgraded to 3.6.15 (from 3.6.14.2)
2009-06-22 22:10:24 +00:00
Viktor Szakats
7e0b52576e 2009-06-22 23:39 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/getsys.prg
    ! GETACTIVE() function fixed to work even if an app
      manages getlist on its own. In this case GETACTIVE()
      will maintain the GET object in its own STATIC variable.
      This should fix the SuperLib problem reported by Bruno Luciani.

  * examples/superlib/hbsuper.dif
    + Will now automatically enable CLIPPER53 protected code
      if Harbour was built with HB_COMPAT_C53 setting. This
      enables SuperLib to use C53's build-in mouse functions.
2009-06-22 21:43:49 +00:00
Przemyslaw Czerpak
f0dc881f78 2009-06-22 23:13 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/compiler/hbcmplib.c
    ! fixed reverted order of parameters passed in arrays and missing last
      parameter
2009-06-22 21:13:16 +00:00
Viktor Szakats
da5141ce56 2009-06-22 22:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    ! Typo in prev.

  * contrib/gtwvg/gtwvg.c
  * contrib/hbwin/win_prn2.c
    ! Suppressed two mingw/C++ warnings.

  * examples/superlib/hbsuper.hbp
    * lib name changed to 'super' (from 'superlib') to match
      the lib name of the Cl*pper version.

  * examples/superlib/readme.txt
    * Minor text correction.
2009-06-22 20:26:29 +00:00
Przemyslaw Czerpak
52759504b9 2009-06-22 21:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/lang.c
    % simplified HB_USERLANG() code

  * harbour/include/hbdefs.h
    * use inline functions for HB_PUT_PTR() and HB_GET_PTR() macros in
      GCC builds. It makes GCC builds alignment free and fixes the problem
      with broken strict aliasing rules.

  * harbour/include/hbwmain.c
    * casting
2009-06-22 19:30:27 +00:00
Viktor Szakats
564cb93315 2009-06-22 17:16 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Always escape filenames/paths if they contain "-" char.
      (on Windows).
      (this could recently cause a regression with BCC)

  * include/hbapi.h
    ! Missded change from previous commit.

  * bin/postinst.bat
    + hbrun is now built also in non-dll mode at the end of the
      build process, so it gets built with the icon.
      Probably we should switch to using hbmk2 to build these
      extra tools, eventually.
2009-06-22 15:27:38 +00:00
Viktor Szakats
b25f1d53c0 2009-06-22 17:06 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/lang.c
  * source/rtl/isprint.c
  * contrib/hbwin/win_prn2.c
    ! Fixed most mingw/C++ warnings:
      warning: deprecated conversion from string constant to 'char*'
    * Added 'const' to hb_PrinterIsReady() string parameter.
    ; Please review me.
    ; TOFIX: These remain of this type of warning:
      ../../../../../include/hbwmain.c:78: warning: deprecated conversion from string constant to 'char*'
      ../../ctnet.c:182: warning: deprecated conversion from string constant to 'char*'
      ../../print.c:204: warning: deprecated conversion from string constant to 'char*'
      ../../print.c:205: warning: deprecated conversion from string constant to 'char*'
      ../../win_prn2.c:437: warning: deprecated conversion from string constant to 'CHAR*'
      ../../../maindllp.c:429: warning: deprecated conversion from string constant to 'char*'
      ../../../maindllp.c:454: warning: deprecated conversion from string constant to 'char*'

  * contrib/gtwvg/wincallb.c
    ! Added cast to avoid error in mingw/C++ mode.
      Thanks Pritpal, it worked.

  * contrib/gtwvg/Makefile
    + Reenabled for mingw/C++
2009-06-22 15:07:07 +00:00
Viktor Szakats
d772fc5b2f 2009-06-22 16:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/gtwvg/Makefile
    ! Typo in prev.

  * INSTALL
  - config/linux/gpp.cf
    - Deleted HB_COMPILER=gpp. Please use HB_BUILD_MODE=cpp
      which works with all compilers.
2009-06-22 14:06:43 +00:00
Viktor Szakats
8926eddffa 2009-06-22 15:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/gtwvg/Makefile
    ! Disabled for mingw C++ mode.
      Due to fatal errors reported to the dev list.

  * contrib/hbwin/hbwinole.h
    ! Fixed for mingw C++ mode.

  + package
  + package/harbour.ico
    + Added harbour.ico to central place.

  * utils/hbmk2/hbmk2.prg
    - Deleted support for HB_COMPILET=gpp. Use -cpp switch instead.

  - utils/hbrun/hbrun.ico
  * utils/hbrun/hbrun.rc
    * Using central harbour.ico.

  * mpkg_win.nsi
    + Added Harbour icon to the installer executable.
2009-06-22 13:50:30 +00:00
Viktor Szakats
85efbfac96 2009-06-22 15:23 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Documented HB_BUILD_MODE envvar.
2009-06-22 13:23:37 +00:00
Viktor Szakats
582ba2db28 2009-06-22 15:03 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/hpux/gcc.cf
  * config/sunos/gcc.cf
  * config/bsd/gcc.cf
  * config/darwin/gcc.cf
  * config/dos/djgpp.cf
  * config/win/cygwin.cf
  * config/win/mingw.cf
  * config/win/bcc.cf
  * config/linux/gcc.cf
  * config/linux/icc.cf
  * config/os2/gcc.cf
  * config/wce/mingwarm.cf
  * config/win/icc.cf
    + Added support for HB_BUILD_MODE=cpp for all platforms
      where it's available.
      Now it's about in sync with hbmk2.

  * config/linux/gpp.cf
    * Changed to set HB_BUILD_MODE=cpp and redirect to gcc.
      (retained for compatibility, pls use HB_BUILD_MODE=cpp instead
      of HB_COMPILER=gpp)

  * config/win/gcc.cf
    * Now redirected to mingw (was cygwin).
2009-06-22 13:20:40 +00:00
Viktor Szakats
e5828302a8 2009-06-22 13:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbrun/hbrun.hbp
  + utils/hbrun/hbrun.rc
  + utils/hbrun/hbrun.ico
    + Added Harbour icon to hbrun executable (on Windows).
      Thanks to Vailton Renato for the .ico.
2009-06-22 11:35:24 +00:00
Przemyslaw Czerpak
021fe7e736 2009-06-22 12:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/utils/hbmk2/hbmk2.prg
    ! fixes in blinker file processing
2009-06-22 10:45:51 +00:00
Viktor Szakats
bedb77d795 2009-06-22 11:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
    * Refreshed from source.

  * utils/hbmk2/hbmk2.prg
    + Added support for Blinker commands MAP and NOBELL. (untested)
    + upx.exe is recognized and used if put in directory of hbmk2.exe.
    ! used upx executable name now depends on host platform rather
      than target platform. This may allow using it in cross-platform
      situations (I'm not sure if Linux UPX supports compressing Windows
      executables).
    - Deleted some TOFIX/TODO comments which are no longer relevant.

  * contrib/xpp/xpp.ch
    + Added IsPrinter() translation.
2009-06-22 09:26:53 +00:00
Pritpal Bedi
8da2158ce1 2009-06-21 22:15 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbxbp/Makefile
  * harbour/contrib/hbxbp/xbplistbox.prg
  * harbour/contrib/hbxbp/xbpmenubar.prg
  * harbour/contrib/hbxbp/xbpmle.prg
  * harbour/contrib/hbxbp/xbppushbutton.prg
  * harbour/contrib/hbxbp/xbptabpage.prg
  * harbour/contrib/hbxbp/xbptoolbar.prg
  * harbour/contrib/hbxbp/xbptreeview.prg
  * harbour/contrib/hbxbp/xbpwindow.prg
    ! Implemented full blown XbpTreeView().
      Now it is near equal to Xbase++ one. Please test.

    + Started to implement Xbase++ concept of 
      Presentation Parameters the QT's recommended way through
      Style Sheets. In the first phase Xbase++ compatible 
      attributes will be implemented. Next phase will empower
      user to design application level Style Sheets.
      
  + harbour/contrib/hbxbp/xbpstyle.prg
    + Started to build a Style Sheet 

  * harbour/contrib/hbxbp/tests/demoxbp.prg
    + Demonstrated the extensions to XbpParts the way 
      GUI components will be managed as per look and feel.

      NOTE:  Style Sheet implementation is on the concept level yet
             and is subject to heavy changes per namespace, class
             hirarchy and allied matters. Also it is not Xbase++
             compatible. I am trying to implement Presentation
             Parameters through this mechanism and so far progress
             is quite satisfactory.
2009-06-22 05:26:13 +00:00
Pritpal Bedi
be1a0ff9d9 2009-06-21 22:11 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/hbqt_slots.cpp
  * harbour/contrib/hbqt/hbqt_slots.h
  * harbour/contrib/hbqt/moc_slots.cpp
    + Added more event handlers.
2009-06-22 05:13:40 +00:00
Viktor Szakats
4e153b2773 2009-06-21 20:54 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added iccia64 build example.

  * source/vm/fm.c
    + Added C++ new/delete operator override to hb_xgrab()/hb_xfree().
      Thanks to Xavi.
      Please make any required correction, I didn't do tests with it.

  * utils/hbmk2/hbmk2.prg
    + Added support for linux/icc compiler. (untested)
    ; Tested win/icc support (static exe, shared exe, lib, dll).
      It worked, except that in shared mode it will display this,
      when the MinGW built .dll is used (instead of its own):
      Unrecoverable error 9012: Can't locate the starting procedure: 'MAIN'
2009-06-21 18:56:11 +00:00
Pritpal Bedi
fdc7238eb9 2009-06-21 11:42 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbxbp/xbpcombobox.prg
    ! Changed inheritance to avoid duplicate objects.

  * harbour/contrib/hbxbp/xbpdataref.prg
    ! SetData() method normalized.

  * harbour/contrib/hbxbp/xbptabpage.prg
    ! Commented out hide(), show() calls. Not needed for QT.

  * harbour/contrib/hbxbp/xbpwindow.prg
    ! Optimizations.

  * harbour/contrib/hbxbp/xbptreeview.prg
    + Implemented XbpTreeView() class - a work-in-progress but basics working.

  * harbour/contrib/hbxbp/tests/demoxbp.prg
    + Demonstrated XbpTreeView() implementation. Please review.
2009-06-21 18:49:43 +00:00
Viktor Szakats
2d4dab5875 2009-06-21 13:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * make_gnu.bat
  * utils/hbmk2/hbmk2.prg
    * Updated to reflect new mingw w64 CCPREFIX. It's now in
      "prerelease" state (formerly "experimental")

  * INSTALL
    ! Added missing HB_CCPREFIX for mingw64 and mingwarm examples.
2009-06-21 11:15:20 +00:00
Viktor Szakats
1192b4ac32 2009-06-21 12:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/binnumx.c
  * contrib/xpp/binnumx.c
    + Added F2BIN() and BIN2F() Xbase++ functions.
      Code is the same as FTOC() and CTOF() in hbct.
2009-06-21 10:55:59 +00:00
Viktor Szakats
dc7ac1505a 2009-06-21 12:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbxbp/xbp.ch
    + Fixed non-debug branch to work in both normal code and codeblocks.
      Thanks Przemek.
    * Changed debug macro to generate portable HB_TRACESTRING() calls
      by default. This is very easy to use in default Harbour builds.
      To enable it's enough to set HB_TR_OUTPUT to the output filename
      to be used by trace calls:
         set HB_TR_OUTPUT=trace.log
      NOTE to Pritpal: To keep using special Windows debug output you
                       need to also add -D__HB_WINDEBUG__ to HB_USER_PRGFLAGS.
    ; TODO: Would it be possible to add timestamp to our HB_TRACE()
            calls? At least the user level (HB_TRACESTRING()) ones,
            if that would make low level too slow.

  * contrib/hbxbp/tests/demoxbp.prg
    + Readded HB_OUTDEBUG() calls.
2009-06-21 10:50:28 +00:00
Viktor Szakats
69d54317ab 2009-06-21 11:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbxbp/xbp.ch
    ! Restored non-debug behavior due to other problems.
      Now it won't work in codeblock though.

  * contrib/hbxbp/tests/demoxbp.prg
    ! Deleted debug calls from codeblocks in the meantime.
2009-06-21 09:06:06 +00:00
Viktor Szakats
a1e51d358e 2009-06-21 10:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbxbp/xbp.ch
    ! Fixed for non-debug. Currently it's suboptimal as non-debug
      mode will generate extra code in binaries.
    ; TOFIX
    + Added non-Windows specific debug mode by enabling __HB_NOWINDEBUG__
      macro. This may change in the future to the default, also
      names may change in the future.

  * contrib/hbqt/hbqt_utils.cpp
    * hb_par*() -> hb_parv*()

  * utils/hbmk2/hbmk2.prg
    % Minor opt to prev.
2009-06-21 08:35:58 +00:00
Viktor Szakats
b9bbb2161f 2009-06-21 08:26 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/vm/extend.c
    * Minor formatting.

  * source/rtl/mlcfunc.c
    ! Fixed warning in HB_C52_STRICT mode.

  * contrib/hbxbp/xbp.ch
    ! Fixed HB_OUTDEBUG() macro to work also in codeblocks when
      not in debug mode, and also to better handle the case when
      parameter is a variable.

  * ChangeLog
    + Added incompat NOTE to hb_par*/hb_stor*() change.
2009-06-21 06:30:30 +00:00
Przemyslaw Czerpak
73fe9dd917 2009-06-21 07:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/mlcfunc.c
    ! fixed missing ulLen declaration in if() branch
    % restored a little bit optimized Viktor's code - now it's safe to
      call hb_par*() expecting default value on wrong type even if given
      parameter is array
2009-06-21 05:05:20 +00:00
Pritpal Bedi
e9e02b01f5 2009-06-20 21:05 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbxbp/Makefile
  * harbour/contrib/hbxbp/xbp.ch
  + harbour/contrib/hbxbp/xbpcombobox.prg
  * harbour/contrib/hbxbp/xbpdataref.prg
  * harbour/contrib/hbxbp/xbpsle.prg
  + harbour/contrib/hbxbp/xbptreeview.prg
  * harbour/contrib/hbxbp/xbpwindow.prg
    + Implemented XbpComboBox() class.
    + Added XbpTreeView() class skelton.

  * harbour/contrib/hbxbp/tests/demoxbp.prg
    + Demonstrated XbpComboBox() implementation.

    NOTE:  I am not sure about the way I am simulating Xbase++
           class behavior. Can someone review xbpcombobox.prg 
           and see if this can be improved. I am not well equipped
           as far as classes can be exploited to full extent.
2009-06-21 04:10:13 +00:00
Pritpal Bedi
1cd55e6b4f 2009-06-20 21:01 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/hbqt_slots.cpp
    ! A fix non-sense.
2009-06-21 04:02:56 +00:00
Przemyslaw Czerpak
68c738b9ba 2009-06-20 22:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapi.h
  * harbour/source/vm/extend.c
    * renamed existing hb_par*() and hb_stor*() functions which supports
      variable number of parameters (...) into hb_parv*() and hb_storv*()
    * added new hb_par*() and hb_stor*() functions which use strict number
      of parameters. New hb_par*() functions do not make hidden conversion
      between types, f.e. hb_parl() returns 1 only for logical parameters
      which contain .T.

  * harbour/include/extend.api
    * map Clipper _par*() functions to hb_parv*()
    * map Clipper _stor*() functions to hb_storv*()

  * harbour/source/vm/dynsym.c
  * harbour/source/vm/hvm.c
  * harbour/source/vm/maindllp.c
  * harbour/source/vm/thread.c
  * harbour/source/vm/classes.c
  * harbour/source/rtl/cdpapi.c
  * harbour/source/rtl/mlcfunc.c
  * harbour/contrib/hbnf/dispc.c
  * harbour/contrib/hbnf/mouse.c
  * harbour/contrib/hbnf/getenvrn.c
  * harbour/contrib/hbhpdf/harupdf.c
  * harbour/contrib/gtwvg/wvgcuig.c
  * harbour/contrib/gtwvg/wvgwin.c
  * harbour/contrib/gtwvg/wvgutils.c
  * harbour/contrib/gtwvg/wvgcore.c
  * harbour/contrib/gtwvg/wvgwing.c
  * harbour/contrib/rddads/adsfunc.c
  * harbour/contrib/rddads/ads1.c
  * harbour/contrib/rddads/adsmgmnt.c
  * harbour/contrib/hbmisc/hb_f.c
  * harbour/contrib/hbwin/wapi_commctrl.c
    * replaced hb_par*() and hb_stor*() calls used with additional parameters
      by hb_parv*() and hb_storv*()
    TODO: update examples/hbwhat/*.c files

  * harbour/examples/uhttpd2/socket.c
  * harbour/examples/httpsrv/socket.c
    * changed hb_parni() to hb_parnidef()

  * harbour/source/vm/itemapi.c
    * removed some conversion which are not necessary for CA-Cl*pper
      compatibility

  * harbour/source/macro/macrolex.c
    * replaced HB_LEX_IS*() macros by by HB_IS*() ones
2009-06-20 20:25:26 +00:00
Pritpal Bedi
7f85d980ce 2009-06-20 12:01 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbxbp/xbpdataref.prg
  + harbour/contrib/hbxbp/xbpspinbutton.prg
  * harbour/contrib/hbxbp/xbptoolbar.prg
    + Added XbpSpinButton() class [P] Two features left.

  * harbour/contrib/hbxbp/tests/demoxbp.prg
    + Demoonstrated XbpSpinButton() implementation - Click Tab#3
2009-06-20 19:04:26 +00:00
Viktor Szakats
fe9ab29884 2009-06-20 20:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/vm/fm.c
    ! Renamed s_fInited to s_fInitedFM to avoid collision 
      with similarly named variable in estack.c when using
      HB_FM_STATISTICS and HB_HVM_ALL at the same time.
      Thanks Xavi for the find.
2009-06-20 18:31:57 +00:00