Commit Graph

4946 Commits

Author SHA1 Message Date
Pritpal Bedi
67c40855ba 2008-06-08 22:10 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com
* harbour/source/rtl/gtwvt/gtwvt.c
     * Hack to fix maxrow() display. Now maximizing the window displays 
       correctly on 25x80.
   * harbour/tests/wvtext.pr
     * More information.
2008-06-09 05:11:11 +00:00
Viktor Szakats
cd8eb4c3ed minor indent 2008-06-09 04:43:38 +00:00
Viktor Szakats
c6e89d45a8 2008-06-09 06:25 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* tests/wvtext.prg
   * include/hbgtinfo.ch
   * include/hbgtcore.h
   * source/rtl/gtwvt/gtwvt.h
   * source/rtl/gtwvt/gtwvt.c
     ! Fixed a few warnings.
     ! Fixed bad selection behaviour when starting the 
       selection (to not let it "stick" to the upper left corned).
     - Removed predefined symbols as a way to control GT 
       behaviour.
     * HB_GTI_MARKCOPY -> HB_GTI_SELECTCOPY to use more generic 
       terminology.
     * HB_GTI_RESIZEABLE -> HB_GTI_RESIZABLE
2008-06-09 04:39:36 +00:00
Pritpal Bedi
22169dced0 2008-06-08 20:12 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com
* harbour/source/rtl/gtwvt/gtwvt.c
     * More fixes on resizing. Now appears to be behaving correctly. Please test.

   * harbour/tests/wvtext.pr
     * Formatting and typos.
2008-06-09 03:15:08 +00:00
Pritpal Bedi
6c50fbe3a3 2008-06-08 16:03 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com
* harbour/source/rtl/gtwvt/gtwvt.c
   * harbour/source/rtl/gtwvt/gtwvt.h
   * harbour/source/rtl/hbgtcore.c
   * harbour/include/hbgtinfo.ch
     + HB_GTI_MARKCOPY
       Added feature to toggle "Mark and Copy" Sysmenu option with:
          Hb_GtInfo( HB_GTI_MARKCOPY, TRUE|FALSE ) -> lPrevState

       Removed necessity to have Hb_NoCopyConsole() to not include it.
       Now appln always HAS this SysMenu option. 

     + HB_GTI_RESIZEABLE
       Added feature to toggle resizing of appln window as:
          Hb_GtInfo( HB_GTI_RESIZEABLE, TRUE|FALSE ) -> lPrevState

       Function Hb_NoResizeableWindow() still hold good for startup.
       You always can activate/deactivate this feature from within appln.

       Few more optimizations while resizing, still work in progress.  
       
   * harbour/tests/wvtext.prg
     * Updated to demonstrate above functionality.
2008-06-08 23:14:43 +00:00
Pritpal Bedi
532bf54529 2008-06-08 08:57 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com
* harbour/source/rtl/gtwvt/gtwvt.c
     * Fixed flickering in "Mark and Copy" operation.
       /* Viktor, see the slight change in your code. */
2008-06-08 18:10:10 +00:00
Pritpal Bedi
664df2ff4f 2008-06-08 08:57 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com
* harbour/source/rtl/gtwvt/gtwvt.c
     + Added functionality to disable "Mark and Copy" prompt in the SysMenu.
       Include Function Hb_NoCopyConsole() if you do not want this functionality.

     + Added funtionality to resize the console window with mouse operations.
       /*
          Resizing of console is enabled by default. 
          To supress this behavior include a dummy function Hb_NoResizableWindow()

          Resizing is available in both directions. I mean horizontal as well as verticle.
          Maximize button is also enabled. Click it to see to your surprize that now
          console window will provide you DOS like terminal.

          However there is a bug in maximized operation, last row does not show up correct.
          I feel it belongs to some miscalculation, but what that is I am unable to locate, so far.
          Please experiment.
       */
   * harbour/tests/wvtext.prg
     * Updated to new HB_GT*_ constants and new functionality.
2008-06-08 15:58:32 +00:00
Viktor Szakats
7d952c4d8e 2008-06-08 15:18 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/hbgtinfo.ch
     + Added comment to compatibility #defines, to not use 
       them, since they deprecated.
       [TOMERGE RC1]
     * HB_GTI_CB_* -> HB_GTE_* (stands for GT Event). Removed 
       plain GTI_ versions, GTI_* range is frozen, pls don't 
       and new codes to them and especially don't use them in 
       core code.

   * include/hbgfx.ch
   * include/hbgfxdef.ch
   * contrib/gtwvg/gtwvg.c
   * source/rtl/gtxwc/gtxwc.c
   * source/rtl/gtwvt/gtwvt.c
     * GFX_* constants renamed to HB_GFX_*. The old ones are 
       still working but it's recommended to update to use HB_GFX_*.
       #define HB_GT_NO_XHB to disable the compatibility #defines, 
       if it collides with your code or you want to test after 
       transition.
     ; [TOMERGE RC1]

   * source/rtl/dirdrive.c
     ! Guarded C53 undoc functions with HB_C52_UNDOC, which is enabled 
       so it won't make a difference in default builds.
     ; [TOMERGE RC1]

   * source/rtl/filesys.c
     ! Fixed hb_fsIsDrv() to use GetDriveTypeA() API, to avoid some 
       win32 system MessageBox() to be shown when certain types of 
       drives (f.e. USB reader devices) are queried.
     ; Please test.
     ; TOFIX: hb_fsChDrv() suffers from the same problem.
     ; [TOMERGE RC1 - after testing]

   * contrib/hbcurl/hbcurl.c
   * contrib/rddads/adsfunc.c
   * contrib/rddads/ads1.c
     % Optimized out explicit function name strings in RTE calls.
     ! The above is actually a fix (I hope) for the one in 
       hb_adsCheckLock(). Error text also made more consistent.
     ; [TOMERGE RC1 - after testing]

   * contrib/hbw32/w32_prn.c
     % Minor optimizations, cleanups.
2008-06-08 13:30:28 +00:00
Viktor Szakats
8c818a2029 2008-06-08 12:42 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/gtwvt/gtwvt.c
     + Appending CRLF to each marked row before copying to 
       the clipboard.
     * "Mark" sysmenu named "Mark and Copy".
2008-06-08 10:45:32 +00:00
Pritpal Bedi
8643634adb 2008-06-07 15:32 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com
* harbour/source/rtl/gtwvt/gtwvt.c
   * harbour/source/rtl/gtwvt/gtwvt.h
     + Added feature to copy text from WVT console just like any console window.
     /*
        1. Click on SysMenu icon at the left on Title Bar
        2. Click on "Mark" option
        3. Place cursor on top of the text you wish to copy.
        4. Keep left button down and drag to desired end of console text.
        5. Release left button.
        6. Right click anywhere "Paste" operation is supported.
        7. Copies text is there.

        You can drag the mouse in any direction, copied text will always be in order.
     */
2008-06-07 22:40:02 +00:00
Viktor Szakats
a6e805095c 2008-06-07 09:39 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/gtwvt/gtwvt.c
     ! Fixed cursor width to be synced properly after 
       a font change.
     ! Fixed cursor SC_NORMAL height to be calculated 
       from the font height, instead of being a static 
       number. [RC1_TOMERGE]

   * contrib/hbcurl/hbcurl.c
     + Added RTEs when wrong parameter was passed 
       to the remaining functions:
       CURL_EASY_STRERROR()
       CURL_SHARE_STRERROR()
       CURL_MULTI_STRERROR()
       CURL_GETDATE()
2008-06-07 07:44:51 +00:00
Pritpal Bedi
0f7aa38d7d 2008-06-06 23:30 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com
* harbour/source/rtl/gtwvt/gtwvt.c   
     ! hb_gt_wvt_Info() 
       + GTI_SCREENSIZE
         Hb_GtInfo( GTI_SCREENSIZE, { nPxlWidth, nPxlHeight } )
         Try to adjust the mode to rows and columns best fitting nPxlWidth, nPxlHeight.
       + GTI_SETTIMER
         Hb_GtInfo( GTI_SETTIMER, { nTimerId, nMiliSeconds } ) 
       + GTI_KILLTIMER 
         Hb_GtInfo( GTI_KILLTIMER, nTimerId )
2008-06-07 06:36:28 +00:00
Pritpal Bedi
1e9b0b7f3e 2008-06-06 20:45 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/source/rtl/hbgtcore.c
   * harbour/include/hbgtcore.h
   * harbour/include/hbgtinfo.ch
   * harbour/source/rtl/gtwvt/gtwvt.c
   * harbour/source/rtl/gtwvt/gtwvt.h
     + Added building blocks for CallBacks to be set with Hb_GtInfo( GTI_* ).
   * harbour/tests/wvtext.prg
     + Test program to taste few of the callbacks.

     /* This also sets the ground for futuristic multi-window GT 
        I have kept MW GT code out of current implementation.
        This implementation does not interfere nor affects current functionality.

        A work in progress.

        Viktor, I have found a way to implement 'consol shearing, working on it
        and for that to happen these building blocks are a must.

        Przemek, please review the structure of <PHB_PGT>. I have added a few members.
        Please bear with my meagre knowledge if I did something stupid, just correct it.
     */
2008-06-07 04:31:50 +00:00
Przemyslaw Czerpak
a46b864cca 2008-06-06 10:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbpp.h
  * harbour/source/pp/ppcore.c
    + added hb_pp_errorCount() which returns total number of errors
      which appeared during preprocessing

  * harbour/source/pp/hbpp.c
    * added new switch:
         -u[<file>] use command def set in <file> (or none)
    * if neither -o nor -v is specified then -w is default action
    + added to default search paths INCLUDE envvar
    * set application exit code to non 0 value if errors appear
      during preprocessing

  * harbour/source/compiler/harbour.yyc
  * harbour/source/compiler/harbour.y
    ! added support for expression list without parenthesis used in
      statements - Clipper compatibility fix.
2008-06-06 08:21:49 +00:00
Viktor Szakats
c5ac234016 2008-06-05 18:30 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* common.mak
   * harbour-ce-spec
   * harbour-w32-spec
   * harbour.spec
   * make_b32.mak
   * make_gcc.mak
   * make_vc.mak
   * make_vcce.bat
   * make_vcce.mak
   * make_xmingw.sh
   * make_xmingwce.sh
   + source/pp/hbpp.c
   - source/pp/hbppgen.c
   * source/pp/Makefile
     * hbppgen -> hbpp
     ; Please test.

   * harbour-w32-spec
     ! Added 'svn:keywords "Author Date Id Revision"'
     ; TOMERGE [RC1]
2008-06-05 16:33:37 +00:00
Przemyslaw Czerpak
ee30ae86ac 2008-06-05 14:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/harbour-ce-spec
  * harbour/harbour-w32-spec
  * harbour/harbour.spec
  * harbour/make_tgz.sh
    * removed not longer used HBPP references, thanks to Adam
    * added hbppgen to list of installed binaries for native builds
    * removed hbppgen from cross builds

  * harbour/source/pp/Makefile
  * harbour/config/install.cf
    * added hack to install also hbppgen
      I do not want to make deeper modifications in non GNU makefiles now.
      Looks that now we are ready to rename hbppgen to hbpp. I would like
      to keep -w hbppgen option semantic as is. Does anyone find it as
      a problem?
2008-06-05 12:58:54 +00:00
Przemyslaw Czerpak
21f44f12b5 2008-06-05 13:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/pp/hbppgen.c
    + added -d<id>[=<val>] command line switch

  * harbour/source/compiler/cmdcheck.c
    * cleaned processing -d<id>[=<val>] switches
2008-06-05 11:42:26 +00:00
Viktor Szakats
31ff7b0367 2008-06-05 12:53 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/pp/hbppgen.c
   * contrib/examples/pp/hbpp.c
     * Headers cleaned.
2008-06-05 10:55:15 +00:00
Przemyslaw Czerpak
67649c1e0c 2008-06-05 02:34 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/macro.c
    ! pass macro compiled string to error object. It fixes Clipper
      incompatible behavior reported by Mindaugas.
    ! fixed few possible internal errors when user error handler will
      try to force wrong substitution
2008-06-05 00:34:39 +00:00
Viktor Szakats
bd6e69b714 2008-06-04 15:48 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/hbbit.c
     + Added important NOTE about hb_bit*() functions' 
       relation to the compiler optimization engine.

   * source/vm/fm.c
   * source/vm/extrap.c
     * Log filenames converted to static variables. With the 
       intent that they'll be converted to Set()s or similar 
       user settable values in the future, since it's useful 
       and more elegant to redirect these to the app's normal 
       logfile.

   * contrib/hbsqlit3/hbsqlit3.c
     * Minor formatting.
2008-06-04 13:53:05 +00:00
Przemyslaw Czerpak
7b320ab03f 2008-06-04 04:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-mkslib.sh
  * harbour/bin/hb-func.sh
  * harbour/bin/postinst.sh
  * harbour/bin/pack_src.sh
  * harbour/contrib/hbw32ddr/make_gcc.sh
  * harbour/contrib/hbmysql/make_gcc.sh
  * harbour/contrib/hbct/make_gcc.sh
  * harbour/contrib/hbodbc/make_gcc.sh
  * harbour/contrib/xhb/make_gcc.sh
  * harbour/contrib/hbwhat32/make_gcc.sh
  * harbour/contrib/hbtpathy/make_gcc.sh
  * harbour/contrib/hbtpathy/make_b32.bat
  * harbour/contrib/hbtpathy/make_vc.bat
  * harbour/contrib/hbgt/make_gcc.sh
  * harbour/contrib/hbw32/make_gcc.sh
  * harbour/contrib/hbmsql/make_gcc.sh
  * harbour/contrib/hbsqlit2/vdbeaux.c
  * harbour/contrib/hbsqlit2/build.c
  * harbour/contrib/hbsqlit2/hbsqlit2.ch
  * harbour/contrib/hbsqlit2/vdbeInt.h
  * harbour/contrib/hbsqlit2/opcodes.h
  * harbour/contrib/hbsqlit2/btree.c
  * harbour/contrib/hbsqlit2/delete.c
  * harbour/contrib/hbsqlit2/printf.c
  * harbour/contrib/hbsqlit2/trigger.c
  * harbour/contrib/hbsqlit2/attach.c
  * harbour/contrib/hbsqlit2/btree.h
  * harbour/contrib/hbsqlit2/sqlite.h
  * harbour/contrib/hbsqlit2/pragma.c
  * harbour/contrib/hbsqlit2/config.h
  * harbour/contrib/hbsqlit2/util.c
  * harbour/contrib/hbsqlit2/select.c
  * harbour/contrib/hbsqlit2/os.c
  * harbour/contrib/hbsqlit2/tests/hbsqlite.prg
  * harbour/contrib/hbsqlit2/hash.c
  * harbour/contrib/hbsqlit2/os.h
  * harbour/contrib/hbsqlit2/tokenize.c
  * harbour/contrib/hbsqlit2/hash.h
  * harbour/contrib/hbsqlit2/hbsqlit2.c
  * harbour/contrib/hbsqlit2/Makefile
  * harbour/contrib/hbsqlit2/pager.c
  * harbour/contrib/hbsqlit2/vacuum.c
  * harbour/contrib/hbsqlit2/auth.c
  * harbour/contrib/hbsqlit2/pager.h
  * harbour/contrib/hbsqlit2/insert.c
  * harbour/contrib/hbsqlit2/copy.c
  * harbour/contrib/hbsqlit2/parse.c
  * harbour/contrib/hbsqlit2/where.c
  * harbour/contrib/hbsqlit2/date.c
  * harbour/contrib/hbsqlit2/common.mak
  * harbour/contrib/hbsqlit2/expr.c
  * harbour/contrib/hbsqlit2/parse.h
  * harbour/contrib/hbsqlit2/random.c
  * harbour/contrib/hbsqlit2/vdbe.c
  * harbour/contrib/hbsqlit2/sqliteInt.h
  * harbour/contrib/hbsqlit2/update.c
  * harbour/contrib/hbsqlit2/main.c
  * harbour/contrib/hbsqlit2/btree_rb.c
  * harbour/contrib/hbsqlit2/vdbe.h
  * harbour/contrib/hbsqlit2/table.c
  * harbour/contrib/hbsqlit2/readme.txt
  * harbour/contrib/hbsqlit2/func.c
  * harbour/contrib/hbsqlit2/opcodes.c
  * harbour/contrib/hbsqlit2/encode.c
  * harbour/contrib/hbole/make_gcc.sh
  * harbour/contrib/hbmzip/make_b32.bat
  * harbour/contrib/hbmzip/make_vc.bat
  * harbour/contrib/hbfbird/make_gcc.sh
  * harbour/contrib/hbapollo/make_gcc.sh
  * harbour/contrib/hbcurl/tests/ftp_uldl.prg
  * harbour/contrib/mtpl_gcc.mak
  * harbour/source/hbpcre/cnv_o2hb.bat
  * harbour/source/hbpcre/cnv_hb2o.bat
    * CRLF<->LF conversion
    * set strict svn:eol-style
2008-06-04 02:03:48 +00:00
Przemyslaw Czerpak
1bd32ce932 2008-06-03 19:59 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/garbage.c
    % clear hb_stack return item in HB_GCALL() function before
      executing hb_gcCollectAll()
2008-06-03 17:59:45 +00:00
Przemyslaw Czerpak
871e6c9ae1 2008-06-03 18:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/common.mak
  * harbour/source/rtl/Makefile
  - harbour/source/rtl/hbrun.c
  + harbour/source/rtl/hbrunfun.c
    * renamed hbrun.c to hbrunfun.c to satisfy non GNU make system
2008-06-03 16:48:00 +00:00
Przemyslaw Czerpak
bdf43f67b2 2008-06-03 18:08 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/common.mak
  * harbour/source/rtl/Makefile
  * harbour/include/hbextern.ch
  + harbour/source/rtl/hbrun.c
    + added function to execute commands which returns application
      exit code:
         HB_RUN( <cCommand> ) -> <nErrorLevel>
2008-06-03 16:09:00 +00:00
Przemyslaw Czerpak
0d57df5ce5 2008-06-03 17:23 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbw32/w32_regc.c
    ! fixed typo hb_free() => hb_xfree()
    ! fixed UNICODE build

  * harbour/source/vm/itemapi.c
    * changed hb_itemPutC() and hb_itemPutCL() to be safe when
      user call it passing string which is stored in item passed
      as first parameter. It should fix problem located by Chen.
      Please test.
2008-06-03 15:23:59 +00:00
Przemyslaw Czerpak
6414835fe7 2008-06-03 15:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/extrap.c
    ! fixed unregistering exception error handler in OS2 builds
      David, if possible please test.
2008-06-03 13:10:49 +00:00
Viktor Szakats
71eb525cdf 2008-06-03 10:12 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/vm/extend.c
     ! Reverted previous change. Caller should check the 
       retval of hb_storclen_buffer() and free the pointer 
       in case it's zero.
       Thanks Przemek.

   * contrib/hbw32/w32_regc.c
   * contrib/hbhpdf/harupdf.c
   * contrib/hbwhat32/_winsys.c
   * utils/hbmake/readline.c
     ! Fixed hb_storclen_buffer() calls.

   * contrib/hbwhat32/_winsys.c
     ! SYSTEMPARAMETERSINFO() fixed retval and leaks.
     ; Please test.

   * source/rtl/tget.prg
     ! Typo.
2008-06-03 08:41:32 +00:00
Viktor Szakats
98bcafd98f 2008-06-03 01:31 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/vm/extend.c
     ! hb_storclen_buffer() fixed to free the passed buffer 
       in case it couldn't be stored. This situation was 
       easy to miss and difficult to detect for the caller, 
       and it might cause leaks.
      
   * contrib/hbw32/Makefile
   * contrib/hbw32/common.mak
   + contrib/hbw32/hbw32.ch
   + contrib/hbw32/w32_reg.prg
   + contrib/hbw32/w32_regc.c
   + contrib/hbw32/tests/testreg.prg
     + Added Windows registry handling stuff.
       Work of Peter Rees <peter@rees.co.nz> / xhb.
     * Code cleaned, formatted, optimized a bit.
     + Added an even simpler interface:
       w32_regRead( <reg_path> ) -> xValue
       w32_regWrite( <reg_path>, <value> ) -> <lSuccess>
       where <reg_path> is: "HKCU\key[\subkeys]\entry"
2008-06-03 00:08:49 +00:00
Viktor Szakats
fa7dcb44ea 2008-06-02 21:16 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/vm/hvm.c
     % Minor opt to __SETPROFILE(), __TRACEPRGCALLS()
     ! __SETPROFILE() to only set the value if a parameter was passed.
       This way it's possible to read the value without destroying it.
2008-06-02 19:19:50 +00:00
Viktor Szakats
a7eba2ff2f 2008-06-02 20:16 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/common/hbstr.c
     ! HB_EXPORT added to hb_strRemEscSeq(). Thanks Javier.
2008-06-02 18:30:05 +00:00
Przemyslaw Czerpak
de3a13f42a 2008-06-02 20:11 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/compiler/ppcomp.c
  * harbour/source/compiler/cmdcheck.c
    ! do not disable macrotext substitution for -kc
2008-06-02 18:11:57 +00:00
Przemyslaw Czerpak
e97fbe0fb0 2008-06-02 19:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbexprop.h
  * harbour/include/hbexprb.c
  * harbour/source/common/expropt2.c
    + added compile time INT( <num> ) optimization

  * harbour/source/compiler/hbusage.c
    * updated -k? description to show "(default)" for really set flags
2008-06-02 17:55:48 +00:00
Viktor Szakats
955ef120a4 2008-06-02 18:59 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/xhb/hbcompat.ch
     ! Minor fix in hb to xhb branch.

   * contrib/hbcurl/hbcurl.ch
     * '( 2 ** n )' expressions changed to actual values.
     ; We now have these optimized, but I'm committing anyway, 
     as some folks may be scared away by seeing these, and 
     not knowing it's optimized (and they might not even be 
     optimized on some Clipper platforms...).

   * contrib/mtpl_vc.mak
     ! Fixed HB_VISUALC_VER to default to '60' rather than 
       crashing. Same default is used for core make files 
       already.

   * source/common/hbverdsp.c
     - Removed 'CA'.
     + Added word 'compatible' to the 'undocumented' line.
2008-06-02 17:02:46 +00:00
Przemyslaw Czerpak
ed3ab32b06 2008-06-02 15:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbsqlit3/hbsqlit3.c
    ! use char * instead of LPSTR to compile in non Windows environment
    ! fixed one printf() parames
    ! fixed casting and parameter type in sqlite3_blob_open()

  * harbour/include/hbexprop.h
  * harbour/include/hbexprb.c
  * harbour/source/common/expropt1.c
  * harbour/source/common/expropt2.c
    - removed unused hb_compExprAsLong()
    + added hb_compExprAsLongNum(), hb_compExprReduceBitFunc()
    + added compiletime optimizatiob for HB_BIT*() functions:
      HB_BITAND(), HB_BITOR(), HB_BITXOR(), HB_BITSET(), HB_BITRESET()
      HB_BITSHIFT(), HB_BITNOT(), HB_BITTEST()
2008-06-02 13:41:00 +00:00
Przemyslaw Czerpak
cea797cf4d 2008-06-02 13:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbexprop.h
  * harbour/include/hbexprb.c
  * harbour/source/common/expropt2.c
    + added hb_compExprReducePower() and compile time optimization for:
         <NumConst1> ^ <NumConst2>
    + added compile time optimization for:
         <NumConst1> % <NumConst2>
      when <NumConst1> or <NumConst2> is not integer value
    NOTE: both optimizations are not Clipper compatible and disabled
          when -kc compiler switch is used
2008-06-02 11:33:06 +00:00
Viktor Szakats
df0077307c 2008-06-02 12:00 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/common/hbverdsp.c
     ! Minor correction.
     * Wording/layout. C++/C and ANSI C init mode is now in 
       one line as "Other build settings".

   * contrib/hbcurl/hbcurl.c
     + Comment extended regarding libcurl version requirement.
     + Added version guard (not currently effective).
2008-06-02 10:12:25 +00:00
Viktor Szakats
2f5fb88988 2008-06-02 11:34 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/vm/extrap.c
     ! Blind fix for OS/2.
2008-06-02 09:35:26 +00:00
Viktor Szakats
c85b65ba18 2008-06-01 23:56 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/hbvm.h
   * source/vm/hvm.c
   * source/vm/extrap.c
     ! Fixed OS/2 problem reported by David.
       (BTW, do we need really need to remove the exception 
       handler before exiting? If yes, shouldn't we do the 
       same under Win32?)

   * source/common/hbstr.c
     ! Silenced one 'loss of significant digit' BCC warning.
2008-06-01 22:06:51 +00:00
Viktor Szakats
d9fe9a4688 2008-06-01 13:26 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/vm/extrap.c
     ! Fixed missing header for OS/2.

   * source/vm/classes.c
     ! Minor fix in internal error text.

   * contrib/hbcurl/make_b32.bat
   * contrib/hbcurl/make_vc.bat
   * contrib/hbcurl/hbcurl.c
   * contrib/hbcurl/hbcurl.ch
   * contrib/hbcurl/tests/ftp_uldl.prg
     ! non-GNU make will also look into the /bin folder 
       for .dlls.
     ! Lots of fixes, too many to mention.
     + Enabled GC pointers. (see TOFIX though)
     + Added all remaining CURL 'easy' API parts and 
       implemented all options existing in 7.18.1:
       + All option values (except bit-level ones) made available in hbcurl.ch
       + All options updated to latest CURL version in hbcurl.ch
       + All error codes made available in hbcurl.ch
       + CURL_EASY_DUPLICATE()
       + CURL_EASY_RESET()
       + CURL_EASY_PAUSE()
       + CURL_EASY_SEND() (not yet available in stable builds)
       + CURL_EASY_RECV() (not yet available in stable builds)
       + CURL_EASY_GETINFO()
       + CURL_ESCAPE() (obsolete)
       + CURL_UNESCAPE() (obsolete)
       + CURL_GETDATE()
     ; TOFIX1: Could someone look at it? In case I call the destructor 
               (curl_easy_cleanup()) manually, the garbage collector 
               will run into an invalid pointer, when terminating the 
               test program.
     ; TOFIX2: The casting to 'curl_off_t' goes wrong. Could someone 
               help?
     ; NOTE1:  Harbour needs at least libcurl 7.17.0. Unfortunately 
               compile time version detection is not working at this time, 
               so try with the latest version 7.18.1.
     ; NOTE2:  Most callback interfaces are not implemented on the 
               Harbour level.
     ; NOTE3:  Harbour is currently not optimizing
               "<const1> ** <const2>" type of expressions at compile time.
               Could we add it? This expression is not widespread, 
               but anyways, it cannot hurt, if isn't too much 
               work to do.
2008-06-01 11:31:48 +00:00
Viktor Szakats
cfd78d2a68 2008-05-31 21:00 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbcurl/hbcurl.c
   * contrib/hbcurl/tests/ftp_uldl.prg
     + Using hb_fsReadLarge()/hb_fsWriteLarge()
     + Added redefinitiion of memory allocator functions.
       (doesn't work, disabled. hb_xgrab() is getting ptrs 
       not allocated by us.)
     ! Fixes handling of size options in CURL_EASY_SETOPT().
     + CURL_VERSION()
     + CURL_VERSION_INFO()
     + CURL_EASY_STRERROR()
     + CURL_SHARE_STRERROR()
     + CURL_EASY_ESCAPE() (see TOFIX)
     + CURL_EASY_UNESCAPE() (see TOFIX)
     + Test app extended.
     * Renames.
     ; Added several more TOFIXes.

   * source/rtl/tget.prg
     * Minor formatting.
2008-05-31 19:05:00 +00:00
Przemyslaw Czerpak
2a89109763 2008-05-31 14:44 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbmacro.ch
  * harbour/source/vm/macro.c
  * harbour/source/vm/hvm.c
    - removed HB_MACRO_STATEMENTS and HB_SM_PREPROC
2008-05-31 12:45:01 +00:00
Przemyslaw Czerpak
29f5f93b0b 2008-05-31 11:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/debug/debugger.prg
    * removed some unused var, formatting

  * harbour/source/pp/ppcore.c
  * harbour/source/common/expropt1.c
  * harbour/source/common/expropt2.c
  * harbour/source/common/hbdate.c
    * casting

  * harbour/source/common/hbstr.c
    * casting
    * use HB_ISSPACE() instead of isspace() for strict Clipper
      compatibility

  * harbour/source/compiler/harbour.y
  * harbour/source/compiler/harbour.yyc
    ! never use 'char' to 'int' casting for parameters of
      toupper()/to*()/isuper()/is*() functions
2008-05-31 09:30:26 +00:00
Viktor Szakats
4a48b29855 2008-05-31 09:57 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/hbdefs.h
     * For __BORLANDC__:
       _declspec( dllexport ) -> __declspec( dllexport )
       _declspec( dllimport ) -> __declspec( dllimport )
       to suppress warning: Non-ANSI keyword used: '_declspec'.
       NOTE1: This warning could be normally seen when compiling 
              contrib/rddads/ads1.c after the recent addition 
              of -w switch to enable BCC warnings.
       NOTE2: Neither look like ANSI C, and both are undocumented 
              in BCC.
     ; Please test.

   * include/hberrors.h
   * source/compiler/hbgenerr.c
     + Pointless historical surprise added.

   * contrib/mtpl_b32.mak
     - Removed duplicate -d switch.

   * contrib/rddads/ads1.c
     + Empty line.

   * TODO
     - Removed TBrowse() item.
2008-05-31 08:09:09 +00:00
Viktor Szakats
af91810256 2008-05-30 22:06 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/pp/ppcore.c
     * "hb_inLine" -> "hb_inline"

   * source/hbpcre/_hbconf.h
     + Added #pragma warn -sig (-w-sig-)

   * source/common/hbverdsp.c
   * source/compiler/hbusage.c
     * Minor adjustments to compatible product names.
2008-05-30 20:08:02 +00:00
Viktor Szakats
f4f78041a2 2008-05-30 19:32 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/accept.c
     * Minor format.

   * contrib/hbfbird/readme.txt
     + Added SVN header.

   * contrib/hbvpdf/hbvpdf.prg
   * contrib/hbvpdf/hbvpdf.ch
   * contrib/hbvpdf/tests/pdf_demo.prg
   + contrib/hbvpdf/readme.txt
     + Updated to latest 0.8 version.
     + Added readme.txt (including revision log) 
       from original package.
2008-05-30 17:34:53 +00:00
Viktor Szakats
5bd52e37c3 2008-05-30 18:10 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/hbsetup.h
   * include/hbinit.h
   * source/compiler/harbour.yyc
   * source/compiler/harbour.y
     * HARBOUR_YYDEBUG -> HB_YYDEBUG
       (do we need this? it's a synomym for YYDEBUG)
     * HARBOUR_STRICT_ANSI_C -> HB_STRICT_ANSI_C
       (do we need this?)
     + HB_PCRE_REGEX added.
     + HB_PCRE_REGEX_BCC added.
     + HB_POSIX_REGEX added.
     - HB_MACRO_STATEMENTS
2008-05-30 16:12:39 +00:00
Viktor Szakats
631010f4ae 2008-05-30 17:36 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/common/hbverdsp.c
     * Some cleanups on appearance.
     * Company names removed (except CA).

   * contrib/rddads/adsmgmnt.c
     * Minor formatting.

   + contrib/examples/dbu/hb_dbu.dif
   * contrib/examples/dbu/bld_b32.bat
   * contrib/examples/dbu/readme.txt
     + Added .dif file with a patch fixing some 
       multiplatforms issues in original dbu source.
       It's a quick hack, I might have missed something, 
       and I didn't do any testing. Add your own fix, 
       if you have some.
     * DBU_DIR -> HB_DIR_DBU

   * make_b32.mak
   * contrib/mtpl_b32.mak
   * config/w32/bcc32.cf
     + Added following switches for BCC:
       -d: merge duplicate strings (was enabled already in GNU make)
       -w: enable warnings.
       -w-sig-: disable 'Conversion may lose significant digits' warnings.
2008-05-30 15:47:57 +00:00
Viktor Szakats
b788d7d5f1 2008-05-30 12:05 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/hbsetup.ch
   * include/hbsetup.h
   * source/common/hbverdsp.c
   * source/vm/arrays.c
     - HB_FUNC_CALLCONV - no longer used.
     - HARBOUR_OBJ_GENERATION - no longer used.
     + Added profiler setting to build info.
     - YACC debug setting removed frmo build info.
     * Build info strict compatibility line now says 5.2e/5.3b.
     * HB_EXTENSION renamed to "non-portable extension"
     - HB_COMP_STRONG_TYPES - no longer used.
     - HB_FIX_ACOPY_BUG
       Replaced with a HB_C52_STRICT guard, but locally 
       overridden to always be strict (thus replicating 
       the bug). This means no change in functionality 
       for default builds. In any ways this is not a decision 
       to make by the Harbour users. If anyone had this 
       locally #defined anyway, pls shout.
     ; NOTE: It's nice that I'm removing unused stuff, but 
             my impression is that by time we have added 
             quite some new such settings burried in the code, 
             so if you're aware of any such ones, please 
             add them to hbsetup.h (or let's discuss which 
             ones to add).
2008-05-30 10:14:32 +00:00
Przemyslaw Czerpak
15f3b83782 2008-05-30 09:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/extrap.c
    ! disabled SetUnhandledExceptionFilter() for WinCE builds

  * harbour/contrib/hbole/ole2.c
    * cleaned compilation in different env C/C++/UNICODE/compilers

  * harbour/contrib/hbw32/w32_ole.c
  * harbour/contrib/hbole/ole2.c
  * harbour/contrib/gtwvg/gtwvg.h
    ! do not use HB_ID_REF() for _WIN64 - I would like to ask someone
      with Win64 to verify current Harbour build status?
2008-05-30 07:42:07 +00:00
Przemyslaw Czerpak
76b3f96d1d 2008-05-30 03:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/hbgtcore.c
    * removed unnecessary variable

  * harbour/contrib/hbw32/w32_ole.c
  * harbour/contrib/hbole/ole2.c
  * harbour/contrib/gtwvg/gtwvg.h
    ! use trick with HB_ID_REF() only for BCC and MSVC
      some other C++ compilers like OpenWatcom have different
      header files and does not need it.
2008-05-30 01:47:31 +00:00