Commit graph

15 commits

Author SHA1 Message Date
Antoine Musso
93154120cc Remove forced dereferencements (new() returns a reference in PHP5) 2006-07-11 14:11:23 +00:00
Brion Vibber
908c51e127 Revert to r15092; massive breakage, unable to connect to MySQL at all 2006-06-27 16:11:47 +00:00
Greg Sabino Mullane
ef89ec541c Add concept of a distinct port separate from a server.
Add some functions to DatabasePostgres.php.
2006-06-27 15:37:35 +00:00
Greg Sabino Mullane
43971b69a0 Final "postgres" name changes. 2006-06-27 15:09:50 +00:00
Brion Vibber
678e2ff6f8 removing tests for unnecessary, removed dupe of php's ctype functions 2006-03-27 22:59:18 +00:00
Brion Vibber
a230979d98 * (bug 5062) Width sometimes one pixel short when using maximum heights 2006-02-27 08:38:57 +00:00
Ævar Arnfjörð Bjarmason
368a5106fa * set_include_path() in case of a custom PHPTest install
* Run ctype tests
2006-01-20 22:50:47 +00:00
Brion Vibber
266d41f165 * Added wfDie() wrapper, and some manual die(-1), to force the return code
to the shell to return nonzero when we crap out with an error.
2006-01-14 02:49:43 +00:00
Brion Vibber
b1a49e2d5b Drop MySQL 3.23.x support; 4.0 or greater required. 2005-08-26 23:02:54 +00:00
Brion Vibber
fe40fe9da8 * Replace wfMungeToUtf8 and do_html_entity_decode with a single function
that does both numeric and named chars: Sanitizer::decodeCharReferences
* Removed some obsolete UTF-8 converter functions
2005-05-31 11:54:36 +00:00
Brion Vibber
6f5f83f05d Hide tests from web. Probably harmless, but safer to keep it out. 2004-12-03 08:42:27 +00:00
Brion Vibber
cfd54324d9 Add initial tests for Article::getRevisionText and Article::compressRevision 2004-10-23 09:19:00 +00:00
Brion Vibber
8ffff3e2e0 Reorganization of SearchEngine for legibility
* Removed 'fuzzy title search', it's not been maintained and generally produces unexpected and unwanted results
* Separated search guts (in SearchEngine) from display/control (in SpecialSearch)
* Extracted MySQL3 and MySQL4 variants to subclasses
* Added PHPUnit tests for MySQL3 and MySQL4 search engines, which try to use temporary tables to fiddle in (if configured)
* comments n stuff
2004-10-20 09:56:34 +00:00
Brion Vibber
27ba25bf40 * Start on some unit tests for GlobalFunctions
* Add makefile & readme for the lazy
2004-10-18 09:53:47 +00:00
Brion Vibber
881b36f316 * Add support for prepared statements. This should be safer than dumping variables into raw SQL and more flexible than the array-based wrapper functions
* Add some quick PHPUnit tests for Database::fillPrepared()
2004-10-18 07:25:56 +00:00