Commit Graph

7166 Commits

Author SHA1 Message Date
Przemyslaw Czerpak
2eeaf8e418 2007-05-22 13:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/common.mak
  * harbour/source/rtl/Makefile
    * synced RTL files
2007-05-22 11:47:40 +00:00
Przemyslaw Czerpak
a15b21c6d6 2007-05-22 13:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/compiler/hbfix.c
    ! fixed local IND/DED when PARAMETERS is used
    ! fixed local names generated for debugger when PARAMETERS is used

  * harbour/source/debug/dbgentry.c
    ! fixed very bad typo in my previous commit
    % minor optimization
2007-05-22 11:34:41 +00:00
Przemyslaw Czerpak
0ae81e63e3 2007-05-22 12:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
    +  added -lpcreposix to system libraries when C_USR has -DHB_PCRE_REGEX
  * harbour/include/hbregex.h
    * removed pcre/ path from PCRE header files - if you want to build
      Harbour with PCRE regex and PCRE header files are not in default\
      path then set valid path in C_USR, f.e.:
         export C_USR="${C_USR} -DHB_PCRE_REGEX -I/usr/include/pcre"

  * harbour/include/hbxvm.h
  * harbour/source/compiler/gencc.c
  * harbour/source/vm/hvm.c
    * minor optimizatin for -gc3 output
2007-05-22 10:23:15 +00:00
Przemyslaw Czerpak
75bd21860c 2007-05-22 01:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapi.h
  * harbour/include/hbapicls.h
  * harbour/include/hbcomp.h
  * harbour/include/hbvm.h
  * harbour/include/hbvmpub.h
  * harbour/source/compiler/genc.c
  * harbour/source/compiler/gencc.c
  * harbour/source/compiler/gencli.c
  * harbour/source/compiler/hbdead.c
  * harbour/source/compiler/hbfix.c
  * harbour/source/compiler/hblbl.c
  * harbour/source/compiler/hbopt.c
  * harbour/source/compiler/hbpcode.c
  * harbour/source/compiler/hbstripl.c
  * harbour/source/debug/dbgentry.c
  * harbour/source/rdd/wafunc.c
  * harbour/source/rtl/itemseri.c
  * harbour/source/rtl/gtsln/gtsln.c
  * harbour/source/vm/classes.c
  * harbour/source/vm/dynsym.c
  * harbour/source/vm/hvm.c
  * harbour/source/vm/memvars.c
  * harbour/source/vm/runner.c
    * casting: changed some 'char *' to 'const char *', added const to some
      other declarations, added workaround for GCC warnings about
      dereferencing pointer with strict-aliasing optimization, etc.
2007-05-21 23:45:41 +00:00
Przemyslaw Czerpak
e0aa40573c 2007-05-21 13:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/pp/ppcore.c
    ! fixed E"..."
    ! added new hack for strings inside []
2007-05-21 11:21:20 +00:00
Miguel Angel Marchuet Frutos
8502d6aaf4 2007-05-21 13:11 UTC+0100 Miguel Angel Marchuet (miguelangel/at/marchuet.net)
* contrib/bmdbfcdx/bmdbfcdx1.c
    * minor warning fix on os/2 compile.
2007-05-21 11:10:45 +00:00
Viktor Szakats
14f0bef101 2007-05-20 13:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* harbour/source/rtl/hbffind.c
     ! Added HB_EXPORT for hb_fsFind*() functions.
       (missed from prev commit)
2007-05-20 11:33:09 +00:00
Przemyslaw Czerpak
ff3876d887 2007-05-19 15:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbclass.ch
    * formatting

  * harbour/include/hbpp.h
  * harbour/source/pp/ppcore.c
    + added support for:
         #pragma escapedstrings = on
         cStr := "some value with internal \" character"
         #pragma escapedstrings = off
    + added support for multiline strings in escaped strings

  * harbour/source/compiler/gencobj.c
    * minor simplification

  * harbour/source/rtl/hbffind.c
    * always set hb_fsError()

  * harbour/source/rtl/mlcfunc.c
    ! fixed minor typo
2007-05-19 13:41:20 +00:00
Przemyslaw Czerpak
ba99e81cbf 2007-05-18 22:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapierr.h
  * harbour/source/rtl/errorapi.c
    * changed 'char hb_errFuncName' to 'const char hb_errFuncName'

  * harbour/source/compiler/ppcomp.c
    * added note about Harbour exception in header

  * harbour/include/hbapifs.h
  * harbour/source/rtl/fserror.c
    + added hb_getFError(), hb_setFError()

  * harbour/source/rtl/philes.c
  * harbour/source/rtl/philes53.c
    * use hb_getFError()/hb_setFError() in F*() functions

  * harbour/source/rtl/disksphb.c
  * harbour/source/rtl/fssize.c
    * fixed setting hb_fsError()

  * harbour/source/rtl/console.c
  * harbour/source/rtl/dirdrive.c
  * harbour/source/rtl/diskspac.c
  * harbour/source/rtl/hbgtcore.c
  * harbour/source/rtl/philesx.c
  * harbour/source/rtl/set.c
  * harbour/source/rtl/gtcgi/gtcgi.c
  * harbour/source/rtl/gtpca/gtpca.c
  * harbour/source/rtl/gtstd/gtstd.c
    * removed code to save/restore hb_fsError()
2007-05-18 20:45:15 +00:00
Fernando Mancera
6565051825 2007-05-18 07:24 UTC+0100 2007-05-18 05:27:42 +00:00
Fernando Mancera
87646562c3 * ADO_GETFIELDTYPE() Improved
* ADO_GETFIELDSIZE() Now support MEMO Field
2007-05-18 05:26:57 +00:00
Viktor Szakats
8a97824666 2007-05-17 00:36 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* harbour/utils/hbtest/rt_misc.prg
     ! SET EOLs guarded with __HARBOUR__ to make it compile on
       other platforms.
2007-05-16 22:38:16 +00:00
Przemyslaw Czerpak
c1ceed3cf0 2007-05-17 00:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/TODO
    * removed some not longer necessary TODO/TOFIX

  * harbour/common.mak
  * harbour/source/rtl/Makefile
  - harbour/source/rtl/memoline.c
  - harbour/source/rtl/mlcount.c
  - harbour/source/rtl/mlctopos.c
  - harbour/source/rtl/mlpos.c
  - harbour/source/rtl/mpostolc.c
  + harbour/source/rtl/mlcfunc.c
    * new version of memo line functions:
         MEMOLINE(), MLCOUNT(), MLPOS(), MLCTOPOS(), MPOSTOLC()

  * harbour/include/hbexpra.c
    ! fixed in HB_COMPAT_XHB build hb_enumIndex() used inside internal
      FOR/NEXT loop

  * harbour/include/hbpp.h
  * harbour/source/pp/ppcore.c
    ! removed some not longer necessary hack
    % added some speed optimizations - it's not done in the way I want to
      have in the final version but with some very small modifications it
      should make people using a lot of #[x]translate (Enrico ;-)) happy.

  * harbour/source/rtl/set.c
    * minor cleanup in HB_SET_EOL initialization

  * harbour/source/vm/hvm.c
    * clean MEMO flag in array and hash items created by { MEMOFILED, ... }
      or { "KEY" => MEMOFILED, ... } and optimized results of PLUS operation

  * harbour/utils/hbtest/rt_misc.prg
    * SET EOL to CHR(13) + CHR( 10 ) before MLCTOPOS() tests to avoid false
      alarm on platforms with differ default EOL
2007-05-16 22:20:36 +00:00
Viktor Szakats
20b62a14bb 2007-05-16 16:27 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* harbour/ChangeLog
     + Added one missing entry (2007-05-15 15:40 UTC+0300).

   * harbour/include/hblass.ch
     ! Fix added for misplaced *UNUSED() macro. (Thanks Juan)

   * harbour/include/hbapifs.h
     ! Added HB_EXPORT for hb_fsFind*() functions.
2007-05-16 14:30:28 +00:00
Miguel Angel Marchuet Frutos
1a97d399b0 2007-05-16 11:03 UTC+0100 Miguel Angel Marchuet (miguelangel/at/marchuet.net)
* /include/hbclass.h
    ! fixed INLINE, incorrect parameters are passed to.
      reported by Juan Galvez.
2007-05-16 09:02:52 +00:00
Mindaugas Kavaliauskas
47dd0277d6 2007-05-15 15:40 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/source/compiler/gencobj.c
    ! fixed unrecoverable error "hb_xfree called with an invalid pointer"
      related to HB_CFG_FILE implementation
2007-05-15 12:35:14 +00:00
Przemyslaw Czerpak
ecf11388eb 2007-05-14 15:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/compiler/harbour.y
  * harbour/source/compiler/harbour.yyc
  * harbour/source/compiler/hbmain.c
    ! fixed memory leak when error appears during generating codeblock
2007-05-14 13:39:54 +00:00
Antonio Linares
be1b63d3fa 2007-05-13 09:20 UTC+0100 2007-05-13 07:20:36 +00:00
Antonio Linares
3d10e2acfc Improved ADO_PUTVALUE() 2007-05-13 07:19:34 +00:00
Viktor Szakats
cbbcb1217f 2007-05-11 18:34 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* harbour/source/compiler/hbmain.c
   * harbour/source/compiler/harbour.yyc
     ! Fixed error message text when unclosed multiline codeblock
       was detected (said: <||...> instead of {||...}).
       (two more places)
2007-05-12 22:32:08 +00:00
Viktor Szakats
9151c5472e 2007-05-11 18:24 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* harbour/source/compiler/harbour.y
     ! Fixed error message text when unclosed multiline codeblock
       was detected (said: <||...> instead of {||...}).
     ; TOFIX: In this same case two memory blocks are not released:
       source\main\harbour.c:329: HB_TR_ERROR Block 1 0098C39C (size 100)
       source\main\harbour.c:329: HB_TR_ERROR Block 2 0098C200 (size 92)
2007-05-12 16:28:33 +00:00
Lorenzo Fiorini
bba4c850f5 2007-05-12 17:43 UTC+0200 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com)
* harbour/contrib/tip/cgi.prg
    * support of option encoding in StartHtml
	 * removed language= in htmlscript
	 * fixed use of pre and post parameters in HtmlOption
	 * now TipCgi code is validated xhtml 1.0 strict
2007-05-12 15:44:19 +00:00
Przemyslaw Czerpak
a2aa169e67 2007-05-12 11:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/hbffind.c
    ! fixed typo in my previous commit
2007-05-12 09:10:12 +00:00
Antonio Linares
2b3f5f5384 2007-05-12 10:48 UTC+0100 2007-05-12 08:56:19 +00:00
Przemyslaw Czerpak
2f0189d34f 2007-05-12 10:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbcomp.h
  * harbour/include/hbexpra.c
  * harbour/include/hbexprb.c
  * harbour/include/hbexprop.h
  * harbour/include/hbpp.h
  * harbour/source/compiler/complex.c
  * harbour/source/compiler/harbour.y
  * harbour/source/compiler/harbour.yyc
  * harbour/source/compiler/harbour.yyh
  * harbour/source/compiler/hbmain.c
  * harbour/source/pp/ppcore.c
    + added support for extended multiline codeblocks:
         { |<params,...>| <EOL>
            <statement1>
            ...
            <statementN>
            return <val>
         }
      Such codeblocks allow nested definitions. They can also have their
      own variable declarations (local, static, field, memvar, parameters,
      private, public) and visibility of declared variables is similar to
      nested function in Pascal but please note that there is one limitation
      which exists also for normal codeblocks (Clipper compatible behavior):
      internal codeblock local parameters and local variables cannot be
      used in nested codeblocks, f.e. such code:
            eval( { |p| eval( {|| qout( p + 1 ) } ) } )
      is illegal in Clipper and Harbour. This limitation also can be
      eliminated but but it will be necessary to make deeper modifications
      in code for local detaching changing the method of generating
      codeblocks local variables in nested blocks so unlike the above
      also some modifications in HVM will be necessary.
      Please test.
2007-05-12 08:48:12 +00:00
Antonio Linares
034731b566 OrdCreate() fixed. OrdDestroy() implemented. 2007-05-12 08:47:49 +00:00
Przemyslaw Czerpak
91ec7b23a5 2007-05-11 22:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbcomp.h
  * harbour/include/hbcompdf.h
  * harbour/include/hbexpra.c
  * harbour/include/hbexprb.c
  * harbour/source/compiler/complex.c
  * harbour/source/compiler/genc.c
  * harbour/source/compiler/gencli.c
  * harbour/source/compiler/genobj32.c
  * harbour/source/compiler/harbour.y
  * harbour/source/compiler/harbour.yyc
  * harbour/source/compiler/harbour.yyh
  * harbour/source/compiler/hbmain.c
    * changed code used for variable scoping - now it's much more
      simple (only one function) and allows to use declarations in
      nested functions/codeblocks with visibility similar to Pascal
    ! fixed parsing FILED <fields,...> IN <alias>
      we were accepting code like:
         FIELD f1, f2 IN db1, f3 IN db2 IN db3
      and for all fields the last alias (db2 in this example) was used
    ! fixed calculating number of static variables with -b (debugger)
      compilation (number of file wide statics were doubled)
    ! fixed generation of static variable names for debugger when declared
      with array dimensions, f.e.:
         static sVar[3]

  * harbour/source/rtl/hbffind.c
    * minor cleanup *nix version

  * harbour/contrib/bmdbfcdx/bmdbfcdx1.c
    ! fixed casting for C++ compilation

  * harbour/source/rdd/dbfdbt/dbfdbt1.c
    * updated for some old API modifications (this library is not used now
      but if we keep it in CVS then I think it should be updated)
2007-05-11 20:51:04 +00:00
Antonio Linares
064a737e31 2007-05-11 18:09 UTC+0100 2007-05-11 16:09:52 +00:00
Antonio Linares
0acb5820a2 COMMIT changes 2007-05-11 16:09:02 +00:00
Antonio Linares
9a1fdee22f 2007-05-11 14:27 UTC+0100 2007-05-11 12:28:03 +00:00
Antonio Linares
d009cf5396 some minor changes 2007-05-11 12:26:48 +00:00
Viktor Szakats
6a49a722cd 2007-05-11 10:17 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* harbour/source/rtl/filehb.c
     * Changed one old TOFIX to a NOTE regarding a minor
       incompatibility in FILE() where the filename is RTrim()-ed
       in Clipper but not in Harbour. It became a NOTE because
       making it compatible would mean losing some portability.

   * harbour/source/rtl/hbffind.c
     ! Removed code in UNIX branch which would change an empty
       file mask to "*" (thus causing FILE("") to return .T.
       and DIRECTORY("") to return the whole dir content.)
     ! Made sure in UNIX branch that an empty file mask won't
       return any files regardless of the filename matching
       method used.

   * harbour/source/rtl/strmatch.c
     + Added NOTE about hb_WildMatch() / sx_WildMatch()
       incompatibility.
     ! Guarded WILDMATCH() with HB_COMPAT_XHB.
     * WILDMATCH() now calls HB_WILDMATCH() internally.
2007-05-11 08:35:52 +00:00
Antonio Linares
8de3cd487a 2007-05-11 01:04 UTC+0100 2007-05-10 23:06:14 +00:00
Antonio Linares
d2318d34df Reduced used variables and consumed memory 2007-05-10 23:04:16 +00:00
Antonio Linares
4b5d8cfb1d 2007-05-10 08:13 UTC+0100 2007-05-10 06:14:04 +00:00
Antonio Linares
3e8ab6fc66 FoxPro support 2007-05-10 06:10:17 +00:00
Antonio Linares
e3e5468907 2007-05-09 15:28 UTC+0100 2007-05-09 13:29:04 +00:00
Antonio Linares
e4c5ff74c2 Improved ADO_CLEARREL() 2007-05-09 13:28:12 +00:00
Fernando Mancera
342f481007 2007-05-09 15:03 UTC+0100 2007-05-09 13:04:14 +00:00
Fernando Mancera
3a3e34b2f8 Improved Deleted() 2007-05-09 13:02:34 +00:00
Antonio Linares
d0d1abe285 minor change 2007-05-09 09:03:42 +00:00
Antonio Linares
d341084806 2007-05-09 10:55 UTC+0100 2007-05-09 08:56:03 +00:00
Antonio Linares
9e5dc9cc23 Added function HB_AdoRddGetRecordSet( [<nWorkArea>] ) --> oAdoRecordset 2007-05-09 08:55:02 +00:00
Antonio Linares
a1f1ed01a2 2007-05-09 10:41 UTC+0100 2007-05-09 08:42:11 +00:00
Antonio Linares
a9d05113bf New functions HB_AdoRddGetConnection( [<nWorkArea>] ) --> oAdoConnection
and HB_AdoRddGetCatalog( [<nWorkArea>] ) --> oAdoCatalog
2007-05-09 08:40:56 +00:00
Lorenzo Fiorini
60f8ef1aa4 2007-05-09 10:10 UTC+0200 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com)
* harbour/config/w32/mingw32.cf
    * fixed typo
  * harbour/include/Makefile
    * removed reference to deleted hbrddwrk.h
  * harbour/include/std.ch
    * added SET EOL <x> clause
  * harbour/include/hbcompat.ch
    * fixed typos and added TEXT INTO
  * harbour/contrib/gd/Makefile
    * fixed install of includes
  * harbour/contrib/gd/gdwrp.c
    * fixed warnings
2007-05-09 08:08:49 +00:00
Chen Kedem
af6b7fdd86 2007-05-08 16:06 UTC+0300 Chen Kedem <niki@actcom.co.il> 2007-05-08 13:06:37 +00:00
Antonio Linares
bce9c87fdf minor fix 2007-05-07 17:48:33 +00:00
Antonio Linares
1c00dfe484 2007-05-07 19:42 UTC+0100 2007-05-07 17:43:20 +00:00
Antonio Linares
2d0a463775 Added some connection strings, borrowed from xharbour 2007-05-07 17:41:56 +00:00