Files
harbour-core/harbour/contrib/hbct
Viktor Szakats ec13203192 2010-06-19 12:23 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/itemapi.c
    - hb_itemGetNL() no longer works for date types.
      INCOMPATIBLE. If you used it to retrieve date/time,
      use hb_itemGetDL() instead.
    ! Fixed typo in prev addition.

  * include/hbapi.h
  * src/vm/arrays.c
    + Added hb_arrayGetNSize(), hb_arraySetNSize().
    ! Fixed old typo in TRACE() call of hb_arrayGetNInt().

  * src/vm/extend.c
    ! Fixed typo in prev addition.

  * src/rtl/filesys.c
    ! Applied fixed from Przemek to hb_fsReadAt()/hb_fsWriteAt()
      code to be MT safe plus fix other problems.
    ; QUESTION: Shouls the same applied to hb_fsWriteLarge()/hb_fsReadLarge() 
                loops? (BTW inactive in 32-bit Harbour builds)

  * contrib/hbct/screen2.c
    ! Type cleanup.

  * contrib/hbct/pack.c
  * contrib/xhb/hbxml.c
  * contrib/xhb/hbxml.h
  * contrib/hbgt/charmixg.c
  * contrib/hbgt/charodd.c
  * contrib/hbgt/strexpan.c
  * contrib/hbgt/asciisgt.c
  * contrib/hbgt/strright.c
  * contrib/hbgt/strasint.c
  * contrib/hbgt/strdiffg.c
  * contrib/hbgt/chrtotal.c
  * contrib/hbgt/strcount.c
  * contrib/hbgt/strleft.c
  * contrib/hbgt/chrfirst.c
  * contrib/hbgt/chrcount.c
  * contrib/hbgt/strpbrk.c
  * contrib/hbgt/chareven.c
  * contrib/hbgt/bitflags.c
  * contrib/hbgt/strcspn.c
  * contrib/hbgt/atdiff.c
  * contrib/hbnf/proper.c
  * contrib/hbnf/getenvrn.c
    ! Fixed to use Harbour size types.

  * contrib/hbnf/dispc.c
    ! Started using Harbour type, but this is code is
      deadly and needs further work. I still wonder how
      to create code which mixes properly HB_FOFFSET and
      HB_SIZE.

  * contrib/xhb/cstructc.c
    * Formatting.
2010-06-19 10:26:02 +00:00
..

/*
 * $Id$
 */

CA-T**ls Compatible Library for Harbour
=======================================

The goal of this library is to provide the functionality 
of the original CA-T**ls 3 Library for CA-Cl*pper.

Viktor Szakats (harbour.01 syenar.hu)


Directories: ./     contains all the source files, include files, make files
                    and the general text files (like tthe one you are just
                    reading !),
             tests  contains some test programs for the functions implemented
                    in the CT3 library,
             alt    contains alternative function implementations (not
                    all are complete, be aware !), mostly in
                    Harbour, if the function is implemented in C and vice
                    versa. 

Changes and Enhancements over the original CA-T**ls 3 Library
Martin Vogel <vogel@inttec.de>
=============================================================

* ADDASCII()   New 4th parameter to enable a carry over in the addition
               process

* ATREPL()     New 6th parameter to specify characters to be ignored

* ATTOKEN()    New 4th parameter to specify a skip width equal to the
               TOKEN() function

+ CHARHIST()   generates a character histogram of a string

+ CHARRLL()    bitwise roll to the left operation on characters

+ CHARRLR()    bitwise roll to the right operation on characters

+ CHARSHL()    bitwise shift left operation on characters

+ CHARSHR()    bitwise shift right operation on characters

+ CHARSLIST()  generates a sorted character list of a string

+ CHARSUB()    subtracts corresponding ASCII values

+ COSH()       hyperbolic cosine 

+ CSETARGERR() set behaviour on argument errors

+ CTINIT()     library init function

+ CTEXIT()     library exit function

+ DAYSINMONTH() Returns the number of days in month

+ DAYSTOMONTH() Total number of days from first of Jan to beginning of nMonth.

+ NUMANDX()    \
+ NUMORX()     |
+ NUMXORX()    |- equivalents to NUMAND(),... functions, but working
+ NUMNOTX()    |  with any bit number of 1 to 32
+ NUMROLX()    |
+ NUMMIRRX()   /

* SETATLIKE()  2nd parameter can be passed by reference so that SETATLIKE
               can store the acutal wildcard character in it

+ SINH()       hyperbolic sine

* TABPACK()    new 4th, 5th and 6th parameter to let one set the carriage-return-line-feed string, 
* TABEXPAND()  the tab character and the chr(141)[soft line feed] behaviour

+ TANH()       hyperbolic tangent

* TOKEN()      New 5th and 6th parameter where the function can store
               the tokenizer before and after the extracted token.

* TOKENINIT()  all incremental tokenizer functions
                 TOKENINIT(),TOKENEXIT(),TOKENNEXT(),TOKENNUM(),
                 TOKENAT(),SAVETOKEN(),RESTTOKEN(),TOKENEND()
               now support locally stored token environments

+ TOKENEXIT()  new function related to TOKENINIT

+ TOKENNUM()   numtoken() functionality for incremental tokenizer

* TOKENLOWER() New 4th parameter <nSkipWidth>

* TOKENUPPER() New 4th parameter <nSkipWidth>

* WEEK()       New 2nd parameter <lSWN>; week() function can either return
               "simple week number" of week number defined by ISO 6801 

+ WORDREM()    remove double characters from a string