Commit Graph

4516 Commits

Author SHA1 Message Date
Przemyslaw Czerpak
7501178afd 2007-08-24 03:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/gttrm/gttrm.c
  * harbour/source/vm/runner.c
    * code cleanup
2007-08-24 01:00:58 +00:00
Przemyslaw Czerpak
6aafea89bd 2007-08-23 18:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/gttrm/gttrm.c
    * enable automatic LF->CR+LF translation on TTY device

  * harbour/utils/hbdot/hbdot.prg
    * do not clear screen when hbdot executed with -h or --help switch

  * harbour/utils/hbtest/hbtest.prg
    * use stdout(<cMsg>) instead of fwrite(1,<cMsg>) - now GT driver
      can catch and redirect output if necessary
2007-08-23 16:25:27 +00:00
Przemyslaw Czerpak
39970a9215 2007-08-23 17:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/gttrm/gttrm.c
    * set cursor position at beginning of new line on application exit

  * harbour/include/hbextern.ch
    + added missing functions (CDPs, LANGs, HSX, ...)

  * harbour/utils/hbdot/Makefile
  * harbour/utils/hbrun/Makefile
    + added codepage library
2007-08-23 15:15:16 +00:00
Przemyslaw Czerpak
ac81836493 2007-08-23 14:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbgtcore.h
  * harbour/source/rtl/hbgtcore.c
    + added new GT method: SEMICOLD()

  * harbour/source/rtl/gtxwc/gtxwc.c
    * use SEMICOLD() for late console window initialization

  * harbour/source/rtl/gttrm/gttrm.c
    * use SEMICOLD() to not erase startup screen contnts.
      Now applications which uses GTTRM and only simple QOUT()/QQOUT()
      output will work like with GTSTD. It means that in *nixes we can
      use GTTRM as default GT driver for all Harbour utilities.

  * harbour/make_gcc.sh
  * harbour/make_tgz.sh
  * harbour/harbour.spec
    * changed default GT driver for *nixes from to GTSTD to GTTRM
2007-08-23 12:30:23 +00:00
Przemyslaw Czerpak
ea97d11a41 2007-08-22 19:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbpp.h
  * harbour/include/hbcomp.h
  * harbour/include/hbcompdf.h
  * harbour/source/pp/ppcore.c
  * harbour/source/rtl/gttrm/gttrm.c
  * harbour/source/main/harbour.c
  * harbour/source/compiler/hbmain.c
  * harbour/source/compiler/cmdcheck.c
  * harbour/source/compiler/hbcomp.c
  * harbour/source/compiler/hbcmplib.c
  * harbour/source/compiler/ppcomp.c
    * added 'const' to some 'char *' declarations
    + added hb_pp_inBuffer()
    + extended hb_compMain() to accept source code passed as ASCIIZ
      string
    + .prg function HB_COMPILEFROMBUF()
    + added support for -q2 compiler switch - it disables _ALL_ stdout/stderr
      messages

  * harbour/utils/Makefile
  + harbour/utils/hbdot
  + harbour/utils/hbdot/hbdot.prg
  + harbour/utils/hbdot/Makefile
    + added hbdot utility program.
      It's a "DOt Prompt" Console for the Harbour Language
         Syntax:  hbdot [<hrbfile[.prg]> [<parameters,...>]]
      It should look and work in similar way to pp/xBaseScript
      by Ron Pinkas but unlike xBaseScript is does not have preprocessor
      or simulated runtime environment but simply uses Harbour pp and
      compiler libraries to preprocess and compile commands. It means
      that it supports all language constructions also statements, f.e.:
         "for i:=1 to 10; ? i; next"
      Additionally it can also compile and execute .prg files given as
      first parameter just like hbrun.
      Please test it. If it will work as expected then we can remove
      'pp' (contrib/dot) from standard packages
2007-08-22 17:10:40 +00:00
Przemyslaw Czerpak
c35370c2b9 2007-08-21 16:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/memvars.c
    + added __MVSETBASE() function

  * harbour/source/pp/ppcore.c
    * redirect error messages when error trap is not defined into
      user dispout function

  * harbour/include/hbcomp.h
  * harbour/source/compiler/hbmain.c
  * harbour/source/compiler/cmdcheck.c
  * harbour/source/compiler/hbcomp.c
  * harbour/source/compiler/genjava.c
  * harbour/source/compiler/genc.c
  * harbour/source/compiler/hbcmplib.c
  * harbour/source/compiler/ppcomp.c
  * harbour/source/compiler/gencli.c
  * harbour/source/compiler/genhrb.c
  * harbour/source/compiler/gencobj.c
  * harbour/source/compiler/genobj32.c
  * harbour/source/compiler/hbusage.c
  * harbour/source/compiler/hbgenerr.c
    + added hb_compOutStd() and hb_compOutErr()
    * redirected all compiler output to above functions
2007-08-21 14:01:01 +00:00
Przemyslaw Czerpak
936bb1255a 2007-08-20 23:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/harbour.spec
    ! added workaround for undefined Epoch tag

  * harbour/source/rtl/Makefile
  * harbour/common.mak
  - harbour/source/rtl/terror.prg
    - removed .prg level ERROR class

  * harbour/include/hbapierr.h
  * harbour/source/rtl/errorapi.c
    + added ERROR class supported at .c level and updated all necessary
      functions to work without PCODE execution - it should allow to
      create and update ERROR object when HVM has active exceptions

  * harbour/utils/hbtest/rt_hvma.prg
  * harbour/utils/hbtest/rt_misc.prg
  * harbour/utils/hbtest/rt_array.prg
    * update HBTEST for new ERROR object structure
2007-08-20 21:55:18 +00:00
Viktor Szakats
af693d5ac0 2007-08-20 17:42 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/tget.prg
     ! Recent missing date picture mask bug fixed in another 
       different way. Now without any side-effects, tested with 
       the regression test suit.
     ! Fixed a minor incompatibility in some rare situations.
       This is grey area even in C5.2 so compatibility is not 100% 
       here.
2007-08-20 15:43:16 +00:00
Przemyslaw Czerpak
c775f56f50 2007-08-20 15:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbexprb.c
    * do not generate error for QSELF()[...] - Clipper allows such
      operation and because some valid Clipper code needs it then
      I disabled error message.

  * harbour/common.mak
  * harbour/source/rtl/Makefile
  + harbour/source/rtl/einstvar.prg
    + added undocumented CA-Cl*pper function _eInstVar() used to validate
      variable type in assign messages.

  * harbour/include/hbapi.h
  * harbour/source/vm/arrays.c
    * changed 'char *' to 'const char *' in hb_arraySetC() and hb_arraySetCL()

  * harbour/source/rdd/dbcmd.c
    * cleaned DBSKIPPER() code

  * harbour/source/rtl/browdb.prg
    * use written in C DBSKIPPER() function instead of static .prg Skipped()
      when HB_COMPAT_XPP macro is enabled

  * harbour/source/rtl/browse.prg
    ! fixes in BROWSE() function:
      ! displaying box characters
      + added CL53 compatible mouse actions
      + added mouse wheel actions
      + added support for deleting records (K_DEL)
      + added support for edit mode
      + added support for append mode
2007-08-20 13:50:18 +00:00
Przemyslaw Czerpak
3992714e33 2007-08-20 15:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/fserror.c
    + added translation (errno=>dosError) for ENOSPC
2007-08-20 13:25:07 +00:00
Viktor Szakats
54591b2e04 fix to prev commit 2007-08-20 02:45:43 +00:00
Viktor Szakats
9e9510df27 2007-08-20 04:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/tget.prg
     ! Fixed incompatible setting of ::TypeOut in certain 
       situations. As an example this could cause infinite 
       loops in the get reader when a bad date was entered 
       like: 2007.12.32 (very old bug)
     ! Recent missing date picture mask bug fixed in a different 
       way, because the previous one caused some regressions.
     ! Fixed ::TypeOut behaviour for non-editable types.
2007-08-20 02:06:44 +00:00
Viktor Szakats
e1a84b55ec 2007-08-19 17:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/tgetlist.prg
     ! Fixed crash when bad date is detected. (:TypeOut was 
       used in an assignment)
2007-08-19 15:01:17 +00:00
Viktor Szakats
6dc4bbc386 2007-08-19 12:58 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/tget.prg
     ! Fixed bug where negativ number in ge buffer beginning 
       with a decimal sign was erroneously converted back to 
       a numeric. (like: -.58)
       Please test!
     % Minor optimization in @E handling.
2007-08-19 11:01:32 +00:00
Viktor Szakats
5e538976bf 2007-08-19 05:14 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/tget.prg
     ! Fixed bug where mask was missing for date var type when 
       no explicit picture was used.

   * contrib/libct/makefile.bc
     ! Added missing lines.
2007-08-19 03:16:52 +00:00
Przemyslaw Czerpak
f90687c6a5 2007-08-14 15:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/cdpapi.c
    + added HB_UTF8TRAN(), HB_UTF8STUFF(), HB_UTF8POKE()
2007-08-14 13:22:30 +00:00
Przemyslaw Czerpak
72d4129e6f 2007-08-09 08:48 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/gtxwc/gtxwc.c
    + added support for GTI_KBDSHIFTS
2007-08-09 06:49:08 +00:00
Przemyslaw Czerpak
3b21825e61 2007-08-09 02:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/gtgui/gtgui.c
    ! fixed typo in copy and past in previous commit
2007-08-09 00:25:44 +00:00
Przemyslaw Czerpak
5eec661d7e 2007-08-09 02:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbgtinfo.ch
    + added GTI_KBD_INSERT

  * harbour/common.mak
  * harbour/include/hbgtcore.h
  * harbour/source/rtl/Makefile
  + harbour/source/rtl/gtkbstat.c
    + added common for W32 GT drivers: hb_gt_w32_getKbdState() and
      hb_gt_w32_setKbdState()

  * harbour/source/rtl/gtgui/gtgui.c
  * harbour/source/rtl/gtwvt/gtwvt.c
  * harbour/source/rtl/gtwin/gtwin.c
    * use hb_gt_w32_getKbdState() and hb_gt_w32_setKbdState() for
      GTI_KBDSHIFTS

  * harbour/source/rtl/gtdos/gtdos.c
    + added support for GTI_KBDSHIFTS

  * harbour/contrib/libct/keyset.c
    * use GTI_KBDSHIFTS to get/set keyboard flags

  * harbour/contrib/libnf/prtscr.c
  * harbour/contrib/libnf/numlock.c
  * harbour/contrib/libnf/shift.c
  * harbour/contrib/libnf/alt.c
  * harbour/contrib/libnf/ctrl.c
  * harbour/contrib/libnf/caplock.c
    * use GTI_KBDSHIFTS to get/set keyboard flags

  + harbour/contrib/libnf/ftshadow.c
  * harbour/contrib/libnf/makefile.bc
  * harbour/contrib/libnf/makefile.vc
    + added missing file I forgot to add in previous commit
2007-08-09 00:10:37 +00:00
Viktor Szakats
20f052ed91 2007-08-08 16:31 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbcompat.ch
   * include/hbextern.ch
   * contrib/libnf/fttext.c
   * source/vm/arrayshb.c
     + xhb RASCAN() added to Harbour without HB_COMPAT_XHB 
       switch, under the name HB_RASCAN().
       Translation from RASCAN() is done via hbcompat.ch
     ! NFLib/FT_FRSEEK() now works in Harbour regardless 
       of the HB_COMPAT switches.
2007-08-08 14:33:26 +00:00
Przemyslaw Czerpak
8db4f58efb 2007-08-08 15:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/libnf/at2.prg
  * harbour/contrib/libnf/min2dhm.prg
  * harbour/contrib/libnf/ontick.c
  * harbour/contrib/libnf/sqzn.prg
  * harbour/contrib/libnf/bytexor.prg
  * harbour/contrib/libnf/asum.prg
  * harbour/contrib/libnf/sleep.prg
  * harbour/contrib/libnf/any2any.prg
  * harbour/contrib/libnf/origin.c
  * harbour/contrib/libnf/mouse.c
  * harbour/contrib/libnf/stod.c
  * harbour/contrib/libnf/vertmenu.prg
  * harbour/contrib/libnf/aredit.prg
  * harbour/contrib/libnf/n2color.c
  * harbour/contrib/libnf/xbox.prg
  * harbour/contrib/libnf/hex2dec.prg
  * harbour/contrib/libnf/getver.c
  * harbour/contrib/libnf/Makefile
  * harbour/contrib/libnf/invclr.prg
  * harbour/contrib/libnf/popadder.prg
  * harbour/contrib/libnf/d2e.prg
  * harbour/contrib/libnf/anomatch.prg
  * harbour/contrib/libnf/color2n.c
  * harbour/contrib/libnf/datecnfg.prg
  * harbour/contrib/libnf/easter.prg
  * harbour/contrib/libnf/ntow.prg
  * harbour/contrib/libnf/floptst.prg
  * harbour/contrib/libnf/pchr.prg
  * harbour/contrib/libnf/tbwhile.prg
  * harbour/contrib/libnf/e2d.prg
  * harbour/contrib/libnf/sysmem.prg
  * harbour/contrib/libnf/dfile.prg
  * harbour/contrib/libnf/clrsel.prg
  + harbour/contrib/libnf/fttext.c
  + harbour/contrib/libnf/putkey.c
    * basic cleanup and syncing with some of xHarbour fixes and extensions.
      I'd like to ask Windows users to update non GNU make file

  * harbour/source/pp/ppcore.c
    + added support for .T., .F., .Y., .N. in PP and #IF ... / #ELIF ...
      expressions. It was reported by Nick Van Dyck on xHarbour devel list
      that old PP supported it. I haven't known that old PP suported .T.
      and .F. in #IF directive. Please not that there are other diferences
      between new PP and the old one in expresions which can be used in
      #IF ... / #ELIF directives. New PP supports C like expressions with
      support for pseudo functions like defined(), operates on integer
      numbers only to not damage 64bit values during conversion to double
      and keep C compatible results (the old one used double values) and
      is much more restrictive in checking for valid expression.
2007-08-08 13:21:15 +00:00
Przemyslaw Czerpak
26aae29987 2007-08-03 04:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/libct/screen2.c
    + added SCREENSTR(), STRSCREEN()

  * harbour/contrib/libct/keyset.c
    * casting to fix warnings in DOS builds

  * harbour/source/rtl/seconds.c
    * update timezone in BSD systems when clock is stored in UTC
2007-08-03 02:05:58 +00:00
Przemyslaw Czerpak
69f897a26e 2007-08-02 12:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapifs.h
  * harbour/source/rtl/file.c
    + added xHarbour compatible C function hb_fsIsDirectory()

  * harbour/contrib/libct/color.c
  * harbour/contrib/libct/screen1.c
    + added UNTEXTWIN(), CHARWIN(), COLORWIN(), COLORREPL()
    * changed CLEARWIN(), INVERTWIN() to use common helper functions

  + harbour/contrib/libct/screen2.c
    + added SAYDOWN(), SAYSPREAD(), SAYMOVEIN()

  + harbour/contrib/libct/cursor.c
    + added SAVECURSOR(), RESTCURSOR()

  * harbour/contrib/libct/Makefile
  * harbour/contrib/libct/makefile.bc
  * harbour/contrib/libct/makefile.vc
    * updated for new files

  * harbour/contrib/libct/ctmisc.prg
    ! fixed CSETCURS() when called with non logical parameter

  * harbour/source/vm/classes.c
    + added basic version for executing all known inherited destructors
      final version in the future after some testes

  * harbour/source/codepage/cpsv850.c
  * harbour/source/codepage/cpsk852.c
  * harbour/source/codepage/ucmik.c
  * harbour/source/codepage/cpbgmik.c
  * harbour/source/codepage/cpsvwin.c
  * harbour/source/codepage/cpskiso.c
  * harbour/source/codepage/cpskwin.c
  * harbour/source/codepage/cpsvclip.c
    * removed hardcoded CHR(13)+CHR(10) EOLs
2007-08-02 10:25:46 +00:00
Przemyslaw Czerpak
7039af02da 2007-08-01 14:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapifs.h
  * harbour/source/rtl/file.c
    + added xHarbour compatible C function hb_fsIsDirectory()

  * harbour/contrib/libct/color.c
  * harbour/contrib/libct/screen1.c
    + added UNTEXTWIN(), CHARWIN(), COLORWIN(), COLORREPL()
    * changed CLEARWIN(), INVERTWIN() to use common helper functions
2007-08-01 12:25:19 +00:00
Przemyslaw Czerpak
20719c1cf1 2007-07-31 21:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbexprb.c
    * disable CTOD("") optimization when -kc switch is used

  * harbour/source/macro/macro.yyc
  * harbour/source/macro/macro.y
    * fixed typo reported by Mindaugas

  * harbour/source/vm/classes.c
    * fixed typo reported by Lost
2007-07-31 19:01:07 +00:00
Przemyslaw Czerpak
85ffaae73a 2007-07-30 18:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbcompat.ch
    + added #xtranslate ISPOINTER( <xValue> )
    * simplified bit operator translations

  * harbour/include/hbapi.h
    + added #define hb_itemPutCStatic(...) hb_itemPutCConst(...)

  * harbour/include/hbapiitm.h
    - removed #define hb_retclenAdoptRaw(...) hb_retclen_buffer(...)
      it's not _exactly_ the same and in some cases it cannot be
      replaced so users should know what exactly they are doing

  * harbour/source/rtl/gttrm/gttrm.c
    + added some #ifdef OS_UNIX_COMPATIBLE for future non *nix ports

  * harbour/source/rdd/dbf1.c
    ! added RT error when someone tires to create DBF with more then
      2046 fields - without it corrupted files were created or GPF
      appeared

  * harbour/contrib/ole2/w32ole.c
    * changed hb_retclenAdoptRaw() to hb_retclen_buffer()
2007-07-30 16:00:32 +00:00
Przemyslaw Czerpak
b77fe824a8 2007-07-26 13:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/gttrm/gttrm.c
    * removed old XTerm (XFree 3.x.x) key sequences which are used in
      current XTerm implementation as for keys with modifiers
2007-07-26 11:10:12 +00:00
Przemyslaw Czerpak
ee53b57d8b 2007-07-26 01:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/gtcrs/gtcrs.c
    * added protection against misleading mouse wheel and mouse drag
      events

  * harbour/source/rtl/gttrm/gttrm.c
    * added protection against misleading mouse wheel and mouse drag
      events
    * enable XTERM like mouse reporting also for Linux terminal - it's
      possible with external mouse driver
    * added some CTRL+Fx escape sequences XTERM and gnome-terminal
      compatible
    * disabled some escape sequences mapped to simple cursor keys
      which are used as CTRL+[cursor key] in recent XTerm versions
2007-07-25 23:21:30 +00:00
Przemyslaw Czerpak
1eb9e7722b 2007-07-25 18:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/gtchrmap.c
    * indenting

  * harbour/source/rtl/gttrm/gttrm.c
    * added some key sequences I used in patch for PuTTY/PTerm
      CTRL+{INS,DEL,HOME,END,PGUP,PGDN} - they are gnome-terminal
      compatible
2007-07-25 16:45:20 +00:00
Przemyslaw Czerpak
a6895771d5 2007-07-25 16:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbgtcore.h
    + added translation for HB_GT_trm

  * harbour/source/rtl/gttrm/gttrm.c
    + map some Linux key codes also in XTerm - they will be usable
      in terminals like PuTTY/PTerm

  * harbour/source/rtl/gtstd/gtstd.c
  * harbour/source/rtl/gtpca/gtpca.c
    + changed the order of checking HB_WIN32_IO and OS_UNIX_COMPATIBLE
      macros for CYGWIN compilation
2007-07-25 14:05:17 +00:00
Viktor Szakats
9d1f7a33d9 2007-07-25 09:40 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* common.mak
   * source/codepage/Makefile
   + source/codepage/cpsv850.c
   + source/codepage/cpsvclip.c
   + source/codepage/cpsvwin.c
     + Added Swedish codapages from xHarbour.
     ; The codepages are now synced.
2007-07-25 07:44:34 +00:00
Viktor Szakats
821bd665c8 2007-07-24 20:30 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* common.mak
   * include/hbapicdp.h
   * source/codepage/Makefile
   + source/codepage/ucmik.c
   + source/codepage/cpbgmik.c
     + Added BGMIK codepage and Bulgarian MIK unicode conversion 
       table from xHarbour.
     ! Changed internal ID "MIK" to "bg-mik".

   * include/hbapicdp.h
   * source/codepage/uckam.c
     ! Changed internal ID "CSKAM" to "Kamenicky".
2007-07-24 18:36:15 +00:00
Viktor Szakats
a654486143 2007-07-24 20:30 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* common.mak
   * include/hbapicdp.h
   * source/codepage/Makefile
   + source/codepage/ucmik.c
   + source/codepage/cpbgmik.c
     + Added BGMIK codepage and Bulgarian MIK unicode conversion 
       table from xHarbour.
     ! Changed internal ID "MIK" to "bg-mik".

   * include/hbapicdp.h
   * source/codepage/uckam.c
     ! Changed internal ID "CSKAM" to "Kamenicky".
2007-07-24 18:34:13 +00:00
Viktor Szakats
d553425a99 2007-07-24 20:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* common.mak
   * source/codepage/Makefile
   + source/codepage/cpsk852.c
   + source/codepage/cpskiso.c
   + source/codepage/cpskwin.c
   + source/codepage/cpskkam.c
     + Added Slovak codepages. Pls. test them if you are 
       familiar with the language rules.
2007-07-24 18:12:13 +00:00
Przemyslaw Czerpak
dec314f5ba 2007-07-24 14:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/debug/dbgentry.c
    ! cleaned memory leak in not freed trap on debugger exit
2007-07-24 12:35:45 +00:00
Przemyslaw Czerpak
ea81edf95e 2007-07-19 20:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/libct/Makefile
  + harbour/contrib/libct/maxline.c
  + harbour/contrib/libct/lton.c
  + harbour/contrib/libct/pack.c
  * harbour/contrib/libct/color.c
  * harbour/contrib/libct/makefile.bc
  * harbour/contrib/libct/screen1.c
  - harbour/contrib/libct/screen2.prg
  * harbour/contrib/libct/makefile.vc
  * harbour/source/rtl/gtapi.c
    * synced with xHarbour modifications and fixes
    * new functions or .prg functions rewritten in C
    ! some fixes
    * indenting
2007-07-19 18:50:32 +00:00
Przemyslaw Czerpak
cbb33274f7 2007-07-19 04:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hb_io.h
    + added #include <dos.h> for DOS builds

  * harbour/source/rtl/gttone.c
    + #include <conio.h> for WATCOM builds

  * harbour/config/w32/watcom.cf
    * cleanup

  + harbour/config/w32/owatcom.cf
    + added OpenWatcom support

  * harbour/contrib/libct/files.c
    * rewritten FILESEEK(), FILESIZE(), FILEATTR(), FILETIME(), FILEDATE()
      now they should work on all supported platforms
    + added FILESMAX() for POSIX systems
    * added FILEDELETE() - It's Phil Krylov code from xHarbour modified
      to be MT safe
    * indenting, cleanup and some minor fixes
2007-07-19 02:15:22 +00:00
Przemyslaw Czerpak
744e438c7b 2007-07-18 21:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapicdp.h
  * harbour/source/rtl/cdpapi.c
    + added C functions: hb_cdpUTF8StringSubstr(), hb_cdpUTF8StringPeek()
    + added .prg functions: HB_UTF8SUBSTR(), HB_UTF8LEFT(), HB_UTF8RIGHT(),
                            HB_UTF8LEN(), HB_UTF8PEEK()
      They are working like corresponding functions: SUBSTR(), LEFT(),
      RIGHT(), LEN(), STRPEEK() but operates on UTF-8 strings.
      TODO: HB_UTF8STUFF(), HB_UTF8TRAN(), HB_UTF8POKE()

  * harbour/include/hbcompat.ch
    + added translation rule for str(<x>,,,.t.)

  * harbour/contrib/tip/ftpcln.prg
    ! changed str(<x>,,,.t.) to ltrim(str(<x>))

  * harbour/source/rtl/right.c
  * harbour/source/rtl/left.c
    % minor optimization
2007-07-18 19:30:40 +00:00
Przemyslaw Czerpak
e72214aecf 2007-07-15 09:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/libct/Makefile
  * harbour/contrib/libct/makefile.bc
  * harbour/contrib/libct/makefile.vc
  * harbour/contrib/libct/misc1.c
  + harbour/contrib/libct/misc2.c
  + harbour/contrib/libct/misc3.c
  * harbour/contrib/libct/num1.c
  * harbour/contrib/libct/numconv.prg
  + harbour/contrib/libct/numcount.c
  + harbour/contrib/libct/numline.c
  * harbour/contrib/libct/numat.c
    * synced with xHarbour modifications and fixes
    + added some missing functions borrowed from xHarbour, in most
      cases it was Pavel Tsarenko code
    ! some fixes
    * indenting

  * harbour/source/rtl/gtfunc.c
    * replaced hb_itemRelease( hb_itemReturn( pItem ) ) by
      hb_itemReturnRelease( pItem )
2007-07-15 07:20:25 +00:00
Przemyslaw Czerpak
e19e015ae8 2007-07-14 22:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/gttrm/gttrm.c
    * added protection against corrupted by programmer screen buffer

  * harbour/source/rtl/hbgtcore.c
    * extended hb_gtColorToN() to recognize also "I", "N", "U" and
      numeric NN/NN attributes

  * harbour/contrib/libct/ftoc.c
    * cleanup

  * harbour/contrib/libct/Makefile
  * harbour/contrib/libct/makefile.bc
  * harbour/contrib/libct/makefile.vc
  - harbour/contrib/libct/color.prg
  - harbour/contrib/libct/invrtwin.prg
  + harbour/contrib/libct/color.c
    * rewritten INVERTATTR(), INVERTWIN(), COLORTON(), NTOCOLOR(),
      ENHANCED(), STANDARD(), UNSELECTED() in C code. Now COLORTON()
      and NTOCOLOR() use GT functions for color translations.
    ! fixed INVERTATTR() to not change blink and highlight attributes
    ! fixed INVERTWIN() to work with GT divers which do not use VGA
      compatible screen buffer
2007-07-14 20:55:26 +00:00
Viktor Szakats
4e592458c5 2007-07-07 12:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* source/compiler/hbusage.c
     * Steps done to protect e-mail addresses against e-mail 
       scanners.
2007-07-07 10:29:24 +00:00
Przemyslaw Czerpak
a89bb10a3d 2007-07-07 11:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/compiler/hbusage.c
    * added to credits list some Harbour developers which were missing
      and also some xHarbour developers which are authors of modules
      we borrowed and ported to xHarbour. It's highly possible that
      still some people are missing. If you fill that you or someone
      else should be added to this list then please send a message
      to harbour devel list
2007-07-07 09:35:35 +00:00
Viktor Szakats
78d7248605 2007-07-07 11:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* common.mak
     ! OBJEXT  -> HB_OBJ_EXT   
       EXEEXT  -> HB_EXE_EXT   
       DLLEXT  -> HB_DLL_EXT   
       LIBEXT  -> HB_LIB_EXT   
       LIBPREF -> HB_LIB_PREFIX

   - contrib/libct/alt
   - contrib/libct/token1.prg
   - contrib/libct/ctcolton.c
     - Removed obsolete files.
       QUESTION: Shouldn't LIBCT's COLORTON() simply 
       pass the call to HB_COLORTON() instead of replicating 
       the functionality there (in .prg code)?

   * source/rtl/scrollbr.prg
     ! Formatting.
2007-07-07 09:31:25 +00:00
Przemyslaw Czerpak
94cf099be5 2007-07-06 23:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/libct/bitnum.c
  * harbour/contrib/libct/charlist.c
  * harbour/contrib/libct/ctnet.c
  * harbour/contrib/libct/charonly.c
  * harbour/contrib/libct/atadjust.c
  * harbour/contrib/libct/ctmath.c
  * harbour/contrib/libct/ctset.c
  * harbour/contrib/libct/charsort.c
  * harbour/contrib/libct/ctmath.h
  * harbour/contrib/libct/ctset.h
  * harbour/contrib/libct/cterror.ch
  * harbour/contrib/libct/charmix.c
  * harbour/contrib/libct/charevod.c
  * harbour/contrib/libct/charrepl.c
  * harbour/contrib/libct/charswap.c
  * harbour/contrib/libct/charop.c
  * harbour/contrib/libct/color.prg
  + harbour/contrib/libct/blank.prg
  * harbour/contrib/libct/ct.prg
  * harbour/contrib/libct/ct.ch
  * harbour/contrib/libct/charone.c
  * harbour/contrib/libct/ctchksum.c
  * harbour/contrib/libct/ascpos.c
  * harbour/contrib/libct/charmirr.c
  * harbour/contrib/libct/ctc.c
  * harbour/contrib/libct/ct.h
  * harbour/contrib/libct/atnum.c
  * harbour/contrib/libct/ctmisc.prg
  * harbour/contrib/libct/count.c
  * harbour/contrib/libct/ctcrypt.c
  * harbour/contrib/libct/addascii.c
  * harbour/contrib/libct/ctmath2.c
  * harbour/contrib/libct/ctextern.ch
  * harbour/contrib/libct/asciisum.c
  * harbour/contrib/libct/atrepl.c
  * harbour/contrib/libct/ctstr.c
  * harbour/contrib/libct/ctstr.h
    * synced with xHarbour modifications and fixes
    ! some fixes
    * indenting

  * harbour/source/rtl/errorapi.c
    * indenting

  * harbour/source/vm/hashfunc.c
    + added HB_HSETCASEMATCH(), HB_HSETAUTOADD()
    % some minor optimizations

  * harbour/include/hbcompat.ch
    + added hb_checksum() <=> hb_adler()
    * use new HB_HSET*() function to avoid warnings

  * harbour/include/hbcomp.h
  * harbour/include/hbcompdf.h
  * harbour/include/hberrors.h
  * harbour/source/compiler/hbmain.c
  * harbour/source/compiler/harbour.yyc
  * harbour/source/compiler/harbour.y
  * harbour/source/compiler/harbour.yyh
  * harbour/source/compiler/hbgenerr.c
    ! fixed using EXIT/LOOP inside WITH OBJECT / END statement
    ! fixed optimization of empty BEGIN/END sequence when recover has
      EXIT or LOOP statement
    ! forbidden using EXIT and LOOP inside ALWAYS code in BEGIN/END sequence
    ! forbidden using ALWAYS statement if RECOVER code has EXIT or LOOP
      statement
2007-07-06 21:17:36 +00:00
Przemyslaw Czerpak
ecf94dd488 2007-07-04 21:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/listbox.prg
    * synced with some xHarbour modifications
2007-07-04 19:45:52 +00:00
Przemyslaw Czerpak
f7b1fafb4b 2007-07-04 17:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/compiler/gencobj.c
    + added support for environment variable substitution in harbour.cfg
      file, envvar should be given as $(<name>) f.e.: $(HB_INC_INSTALL)
2007-07-04 15:41:06 +00:00
Przemyslaw Czerpak
237af158fa 2007-07-04 15:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbcompdf.h
  * harbour/source/compiler/harbour.yyc
  * harbour/source/compiler/harbour.y
    ! fixed using LOOP inside SWITCH/CASE.../END statement
    ! fixed possible memory leeks when compile time error appear
      with some unfinished LOOP statements
    ! do not push unnecessary NIL on HVM stack when SWITCH/CASE.../END
      statement were used without OTHERWISE clause

  * harbour/source/pp/ppcore.c
    ! do not calculate last line when it does not contain any character
    * clear line number counter after preprocessing standard definitions/
      rules - I hope it will make David happy ;-)
2007-07-04 13:13:10 +00:00
Miguel Angel Marchuet Frutos
344792af7d 2007-07-04 13:45 UTC+0100 Miguel Angel Marchuet (miguelangel/at/marchuet.net)
* source/rdd/dbfcdx/dbfcdx1.c
    * removed unnecesary code
2007-07-04 11:53:35 +00:00
Przemyslaw Czerpak
7d44a4b1d9 2007-07-04 04:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/classes.c
   * do not allocate self calss casting method when class name cannot
     be used as method
2007-07-04 02:45:11 +00:00
Przemyslaw Czerpak
266aeecc82 2007-07-04 04:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/classes.c
   ! fixed typo in adding messages with HB_OO_MSG_PROPERTY flag
   ! fixed __clsDelMsg() to be safe with later dictionary resizing
2007-07-04 02:35:24 +00:00