TextDB Changelog

From MyUPBWiki

Jump to: navigation, search

The TextDB Changelog since the beginning of Version 4.

Contents

5.1.0 release

NOT COMPADIBLE WITH PREVIOUS VERSIONS

  • parseRecord() returns empty array for blank spaces
  • NAMING CONVENTION CHANGE: internal functions have "__" (double underscore) appended to the beginning of their name
  • __readHeader() returns the $header array and no longer takes the reference as it's second argument
  • readHeader() added for backwards compadibility (takes reference as second argument)
  • Fixed the memo endless loop bug *hopefully*
  • changed *.tdb to *.tdb5 so previous versions can't access newer versions
  • Added method __parseQueryString(), and modified query() accordingly
  • method query() now accepts double pipes ("||") in its query string
  • added SELECT columns functionability when retrieving record(s)
  • bug fixed with isTable()
  • renamed sortAndBuild() to sort(); left placeholder for sortAndBuild() for backwards compadibility
  • added createSortingArchive()
    • added __insertIntoArray()
    • added __insertValueIntoSortingArray()
    • added __convertSortingArrayToText()
  • Added header to the TDB5 file, which includes a parser version, so future tDB class versions won't get confused with tdb created in different versions, PREVIOUS VERSIONS WILL NOT RECOGNIZE THE TABLE LIST

5.0.2

  • query results cached
  • memo file's first unused block cached
  • more bugs fixed
  • rewrote memo functions; same process
  • tdb::sendError now can use custom error handlers
    • Added constant TDB_ERROR_INCLUDE_ORIGIN
    • Added constant TDB_PRINT_ERRORS
    • Added method tdb::define_error_handler();
    • TDB Errors are assigned Error numbers and include the line the error was generated on

5.0.1

  • sortAndBuild() clears record reference cache
  • minor bug fixed in removeTable()
  • minor bug fixed in listRec()
  • debugging code removed from memo functions

5.0

NOT COMPADABLE WITH PREVIOUS VERSIONS

  • Separated memo's into blocks
  • Added readMemo(), writeMemo(), deleteMemo(), get_ref_data(); removed rewriteMemo()
  • Changed record deletion and storage method; multiple functions affected;
  • Added the extention ".ta" to the main table file.
  • Added Db's name to tables' names to allow multiple Dbs to exist in one directory
  • Added descriptions to functions
  • check() now validates workingDir, Db, and Fp

4.3.5 release

  • added rewriteMemo()

4.3.4 release

  • added support for memo field in query()

4.3.3 release

  • added $start and $howmany in query()
  • added editField() and removeField()

4.3.2 release

  • limited file locking
  • fixed bug with removing databases
  • added '<' '>' usage in query()

4.3 release

  • all chars are allowed in string fields now
  • header buffering
  • wrote new query() algorithm increasing query speeds over 3 times

4.2 release

  • removed $start and $howmany from basicQuery()
  • added query()

4.0 release

  • initial release
Personal tools