isso.git
16 years agoThese two files need to be swapped
Robert Sesek [Thu, 24 Jan 2008 21:21:21 +0000 (16:21 -0500)]
These two files need to be swapped

16 years agoRenaming the Printer files to make their names much less verbose. Part 1 of 2.
Robert Sesek [Thu, 24 Jan 2008 21:20:14 +0000 (16:20 -0500)]
Renaming the Printer files to make their names much less verbose. Part 1 of 2.

16 years agoAdd a rule about how to advance the ISSO version number and a version constant file
Robert Sesek [Thu, 24 Jan 2008 17:39:54 +0000 (12:39 -0500)]
Add a rule about how to advance the ISSO version number and a version constant file

* docs/versioning_rules.txt: Outlines the procedures for updating the version number
* version.php: The version number stored in a file

16 years agoDo not allow random() to take an array of high or low, just an optional fixed length...
Robert Sesek [Thu, 24 Jan 2008 16:24:51 +0000 (11:24 -0500)]
Do not allow random() to take an array of high or low, just an optional fixed length (otherwise it will randomly select one)

* Functions.php:
(BSFunctions::random): Do not accept an Array as a parameter, just an optional int
* UnitTest/FunctionsTest.php:
(FunctionsTest::testRandom): Test using a fixed length as well as the random length

16 years agoRemoving the is_browser() function
Robert Sesek [Wed, 23 Jan 2008 22:15:47 +0000 (17:15 -0500)]
Removing the is_browser() function

* Functions.php:
(BSFunctions::is_browser): Removed
(BSFunctions::download_file): Send both application/octet-stream and application/octetstream so we don't need to browser sniff anymore
* UnitTest/FunctionsTest.php: Removed the empty unit test for is_browser()

16 years agoChanging our coding standards slightly:
Robert Sesek [Wed, 23 Jan 2008 21:06:33 +0000 (16:06 -0500)]
Changing our coding standards slightly:

- foreach($a AS $b) goes to foreach($a as $b)
- ($a AND $b) goes to ($a && $b)
- ($a OR $b) goes to ($a || $b)

16 years agoWe no longer need the ISSO_CHECK_POST_REFERER because we made BSInput::_checkPostRefe...
Robert Sesek [Wed, 23 Jan 2008 20:45:57 +0000 (15:45 -0500)]
We no longer need the ISSO_CHECK_POST_REFERER because we made BSInput::_checkPostReferer() public

* Input.php:
(BSInput::__construct): Remove the code that called _checkPostReferer()
(BSInput::checkPostReferer): Removed the _ from the old name and made it public

16 years agoAdd sanity checks to BSPrinterNavigation when setting focus or sections
Robert Sesek [Mon, 14 Jan 2008 22:04:29 +0000 (17:04 -0500)]
Add sanity checks to BSPrinterNavigation when setting focus or sections

* PrinterNavigation.php
(BSPrinterNavigation::addFocus): Make sure the key is unique and exists before accepting it
(BSPrinterNavigation::addSection): ditto

16 years agoWe were testing for a condition that always works but used a non-existant var
Robert Sesek [Mon, 14 Jan 2008 21:48:03 +0000 (16:48 -0500)]
We were testing for a condition that always works but used a non-existant var

* printer.css.php

16 years agoFixing another bug in BSPrinterRootElementPage in paint() that was still making refer...
Robert Sesek [Mon, 14 Jan 2008 21:12:10 +0000 (16:12 -0500)]
Fixing another bug in BSPrinterRootElementPage in paint() that was still making references to GetType()

* PrinterRootElementPage.php
(BSPrinterRootElementPage::paint): We no longer use GetType() but instead cvars in BSApp

16 years agoFixing a bug in BSPrinterRootElementPage that would cause an error whenever we tried...
Robert Sesek [Mon, 14 Jan 2008 21:08:43 +0000 (16:08 -0500)]
Fixing a bug in BSPrinterRootElementPage that would cause an error whenever we tried to paint children

* PrinterRootElementPage.php:
(BSPrinterRootElementPage::_paintChildren): We use the var builder not this->builder

16 years agoMinor adjustments to the BSPrinterNavigation system to support not having tabs or...
Robert Sesek [Mon, 14 Jan 2008 21:06:25 +0000 (16:06 -0500)]
Minor adjustments to the BSPrinterNavigation system to support not having tabs or toplinks

* PrinterNavigation.php

16 years agoUpdating the PrinterNavigation system to take an XML structure instead that is much...
Robert Sesek [Mon, 14 Jan 2008 21:01:38 +0000 (16:01 -0500)]
Updating the PrinterNavigation system to take an XML structure instead that is much more powerful than the scoped keys of the old version

16 years agoMaking BSPrinterRootElementPage::setNavigator() part of the fluent interface
Robert Sesek [Mon, 14 Jan 2008 20:09:45 +0000 (15:09 -0500)]
Making BSPrinterRootElementPage::setNavigator() part of the fluent interface

* PrinterRootElementPage.php
(BSPrinterRootElementPage::setNavigator): Return a fluent interface

16 years agoFixing some things in the Printer system
Robert Sesek [Mon, 14 Jan 2008 20:04:19 +0000 (15:04 -0500)]
Fixing some things in the Printer system

* Printer.php: include PrinterNavigation.php
* PrinterRootElementPage.php:
(BSPrinterRootElementPage::get/setNavigator): Renamed from get/setNavigation()
(BSPrinterRootElementPage::paint): Fix a parse error caused by a missing concat op

16 years agoInstead of using the registry to get the PrinterNavigation system, add methods to...
Robert Sesek [Mon, 14 Jan 2008 19:58:38 +0000 (14:58 -0500)]
Instead of using the registry to get the PrinterNavigation system, add methods to set BSPrinterRootElementPage->navigator

* PrinterRootElementPage.php:
(BSPrinterRootElementPage::setNavigator): New method
(BSPrinterRootElementPage::getNavigator): New method

16 years agoWe now pass the installer test again, the issue was that InstallerTest->input wasn...
Robert Sesek [Mon, 14 Jan 2008 19:41:00 +0000 (14:41 -0500)]
We now pass the installer test again, the issue was that InstallerTest->input wasn't being set. The circular ref to the rig in TestInstallerFixture was also cleaned up

* UnitTest/InstallerTest.php

16 years agoRemoving the PHP tests because we have now implemented our conclusions
Robert Sesek [Sun, 13 Jan 2008 22:35:43 +0000 (14:35 -0800)]
Removing the PHP tests because we have now implemented our conclusions

16 years agoAdding fixes in the unit tests for all the refactoring we did
Robert Sesek [Sun, 13 Jan 2008 22:11:46 +0000 (14:11 -0800)]
Adding fixes in the unit tests for all the refactoring we did

16 years agoRemoving the BSVariableRegistry and instead making public static vars in BSApp for...
Robert Sesek [Sun, 13 Jan 2008 21:37:31 +0000 (13:37 -0800)]
Removing the BSVariableRegistry and instead making public static vars in BSApp for the necessary inter-linking modules

* Api.php: No longer use BSApp::registry() but rather just the cvars
* App.php: Make the ivars cvars so we no longer need singleton stuff
(BSApp::_instance): Removed
(BSApp::registry): Removed
(BSApp::load_module): Removed, just directly instantiate now
(BSApp::required_modules): Removed
(BSVariableRegistry): Removed
* Input.php: Use cvars instead of the BSApp::registry()
* Installer.php: ditto
* Mail.php: ditto
* Pagination.php: ditto
* Template.php: ditto

16 years agoRemoving a lot of old system variables from BSApp
Robert Sesek [Sun, 13 Jan 2008 20:43:26 +0000 (12:43 -0800)]
Removing a lot of old system variables from BSApp

* App.php: Removed BSApp->application, BSApp->appPath, BSApp->appVersion, BSApp->webPath
(BSApp::set_application): Removed
(BSApp::get_application): Removed
(BSApp::set_app_path): Removed
(BSApp::get_app_path): Removed
(BSApp::set_app_version): Removed
(BSApp::get_app_version): Removed
(BSApp::set_web_path): Removed
(BSApp::get_web_path): Removed
* Printer.php: Add BSPrinter->copyright to store copyright information for the footer of pages
(BSPrinter::get_copyright): New method
(BSPrinter::set_copyright): New method
* PrinterNavigation.php: BSPrinter->realm is now the only component used for titles
(BSPrinterNavigation::constructHeaderHtml): Now uses only the realm
* PrinterRootElementPage.php: Again, only use BSPrinter->realm
(BSPrinterRootElementPage::paint): Switch to using only the realm in the title and using BSPrinter->copyright in the footer

16 years agoFixing a few functions that broke during the refactoring
Robert Sesek [Sun, 13 Jan 2008 18:46:16 +0000 (10:46 -0800)]
Fixing a few functions that broke during the refactoring

* Functions.php:
(BSFunctions::swap_css_classes): This function wasn't marked static so it wasn't refactored, fixed both of those issues
(BSFunctions::scan_directory): Issues arose with _help_scan_directory()
(BSFunctions::_help_scan_directory): ditto

16 years agoRefactoring all the static functions to not use the upper camel-case nomenclature...
Robert Sesek [Sun, 13 Jan 2008 08:19:10 +0000 (00:19 -0800)]
Refactoring all the static functions to not use the upper camel-case nomenclature, but rather underscores

16 years agoWe need to throw Exceptions rather than trigger_error()
Robert Sesek [Sun, 13 Jan 2008 04:55:41 +0000 (20:55 -0800)]
We need to throw Exceptions rather than trigger_error()

* PrinterNavigation.php:
(BSPrinterNavigation::setFocus)

16 years agoSetting up the fluent interface for all of the printer classes
Robert Sesek [Sat, 12 Jan 2008 23:29:54 +0000 (15:29 -0800)]
Setting up the fluent interface for all of the printer classes

16 years agoStart providing a fluent interface for the printer stuff. All printer elemnets now...
Robert Sesek [Sat, 12 Jan 2008 23:19:12 +0000 (15:19 -0800)]
Start providing a fluent interface for the printer stuff. All printer elemnets now have a make() method that calls the constructor

16 years agoHappy new year!
Robert Sesek [Sat, 5 Jan 2008 19:57:13 +0000 (11:57 -0800)]
Happy new year!

16 years agoRemoving the CSS editor generator
Robert Sesek [Thu, 20 Dec 2007 16:52:08 +0000 (11:52 -0500)]
Removing the CSS editor generator

* PrinterCss.php: Removed

16 years agoRemoving the graphing files
Robert Sesek [Mon, 17 Dec 2007 05:23:38 +0000 (00:23 -0500)]
Removing the graphing files

* Graph.php
* GraphLine.php
* GraphPie.php

16 years agoThe API is now all unit tested
Robert Sesek [Mon, 17 Dec 2007 05:12:15 +0000 (00:12 -0500)]
The API is now all unit tested

* Api.php
* UnitTest/ApiTest.php

16 years agoRemoving the XML class because we will now use SimpleXML for all our parsing needs
Robert Sesek [Thu, 6 Dec 2007 18:33:35 +0000 (13:33 -0500)]
Removing the XML class because we will now use SimpleXML for all our parsing needs

* UnitTest/AllTests.php: do not include the XML tests anymore
* UnitTest/XmlTest.php: Removed
* Xml.php: Removed

16 years agoUnit test updates
Robert Sesek [Thu, 6 Dec 2007 18:31:22 +0000 (13:31 -0500)]
Unit test updates

* UnitTest/ApiTest.php

16 years agoFixing some warnings that I discovered through unit testing under E_ALL
Robert Sesek [Fri, 30 Nov 2007 18:47:12 +0000 (13:47 -0500)]
Fixing some warnings that I discovered through unit testing under E_ALL

* Functions.php:
(BSFunctions::FetchMicrotimeDiff): Refactored the local vars
* Template.php:
(BSTemplate::fetch): Fixed a warning generated by the uncached template counter
(BSTemplate::flush): Fixed a warning about the microtime diff because we weren't passing a microtime, just the seconds

16 years agoCleaning up the Api::_runActionMethod() method
Robert Sesek [Fri, 30 Nov 2007 18:33:03 +0000 (13:33 -0500)]
Cleaning up the Api::_runActionMethod() method

* Api.php:
(BSApi::_runActionMethod): Don't use the ternary operator, just use the if() statment at the beginning

16 years agoRenaming Api->objdata to be Api->record
Robert Sesek [Fri, 30 Nov 2007 18:31:49 +0000 (13:31 -0500)]
Renaming Api->objdata to be Api->record

* Api.php

16 years agoAdding a testCondition() method to the API test
Robert Sesek [Fri, 30 Nov 2007 18:30:38 +0000 (13:30 -0500)]
Adding a testCondition() method to the API test

* UnitTest/ApiTest.php

16 years agoAdd thed API unit tests
Robert Sesek [Mon, 19 Nov 2007 14:44:56 +0000 (09:44 -0500)]
Add thed API unit tests

16 years agoWhen the API needs to throw an exception regarding a field, use a new FieldException...
Robert Sesek [Wed, 17 Oct 2007 20:50:36 +0000 (16:50 -0400)]
When the API needs to throw an exception regarding a field, use a new FieldException which holds the name of the field as well as the error.

16 years agoIn Api.php we were still calling BSApp::GetType() instead of BSApp::Registry()->getType()
Robert Sesek [Wed, 17 Oct 2007 20:40:26 +0000 (16:40 -0400)]
In Api.php we were still calling BSApp::GetType() instead of BSApp::Registry()->getType()

* Api.php

16 years agoAdding the API::$table and API::$prefix instance variables so that subclasses know...
Robert Sesek [Wed, 17 Oct 2007 20:31:44 +0000 (16:31 -0400)]
Adding the API::$table and API::$prefix instance variables so that subclasses know to override them

* Api.php

16 years agoChanging the error reporting system in the API to use exceptions instead of the old...
Robert Sesek [Fri, 12 Oct 2007 19:24:08 +0000 (15:24 -0400)]
Changing the error reporting system in the API to use exceptions instead of the old error handler system of before

* Api.php

16 years agoChanging the way we include framework files. Instead of modifying the include_path...
Robert Sesek [Wed, 26 Sep 2007 16:40:19 +0000 (12:40 -0400)]
Changing the way we include framework files. Instead of modifying the include_path we just define the constant ISSO as the path to ISSO.

16 years agoCleaing up error reporting and error triggering in Api.php
Robert Sesek [Sun, 23 Sep 2007 15:28:53 +0000 (11:28 -0400)]
Cleaing up error reporting and error triggering in Api.php

* Api.php: Removed the APIError() system and we now use exceptions instead of trigger_error()

16 years agoFix a failing unit test to work around the file system being slow
Robert Sesek [Sat, 22 Sep 2007 18:44:56 +0000 (14:44 -0400)]
Fix a failing unit test to work around the file system being slow

* UnitTest/TemplateTest.php:
(TemplateTest::testDbCache): sleep() for a second in order to allow the file system to catch up to the changes we're making

16 years agoMoving the insertId() and affectedRows() methods from the result class to the databas...
Robert Sesek [Sat, 22 Sep 2007 18:37:42 +0000 (14:37 -0400)]
Moving the insertId() and affectedRows() methods from the result class to the database one and fixed a broken BSDbResult::free

* Db.php
* DbMySql.php
* DbMySqlI.php
* DbPostgreSql.php
* UnitTest/DatabaseTestAbstract.php

16 years agoDatabase results are now independent objects as opposed to being a resource identifie...
Robert Sesek [Sat, 22 Sep 2007 18:31:31 +0000 (14:31 -0400)]
Database results are now independent objects as opposed to being a resource identifier, which greatly simplifies method calls

* Db.php
* DbMySql.php
* DbMySqlI.php
* DbPostgreSql.php
* Template.php
* UnitTest/DatabaseTestAbstract.php

16 years agoIn the installer test, the welcome page is to be echo'd instead of return'd
Robert Sesek [Sat, 15 Sep 2007 17:51:48 +0000 (13:51 -0400)]
In the installer test, the welcome page is to be echo'd instead of return'd

* UnitTest/InstallerTest.php:
(TestInstallerFixture::_welcomePage)

16 years agoFixing a broken unit test
Robert Sesek [Sat, 15 Sep 2007 17:07:49 +0000 (13:07 -0400)]
Fixing a broken unit test

* UnitTest/AppTest.php:
(AppTest::testGetAll): The count was off by one due to a new method

16 years agoAdded the installer unit test
Robert Sesek [Sat, 15 Sep 2007 17:03:44 +0000 (13:03 -0400)]
Added the installer unit test

* Installer.php:
(BSInstaller::__construct): Fixed a bad call to the registry
* UnitTest/AllTests.php: Add the installer test
* UnitTest/InstallerTest.php: New file

16 years agoRemove the check in BSApp::RequiredModules that was meant for checking static classes...
Robert Sesek [Sat, 15 Sep 2007 16:55:33 +0000 (12:55 -0400)]
Remove the check in BSApp::RequiredModules that was meant for checking static classes (as we don't need it)

* App.php:
(BSApp::RequiredModules)

16 years agoFixing some bugs in the mail framework due to mistyped variable capitalization and...
Robert Sesek [Wed, 22 Aug 2007 08:07:11 +0000 (01:07 -0700)]
Fixing some bugs in the mail framework due to mistyped variable capitalization and a call to $this->registry->unsanitize()

* Mail.php:
(BSMail::send)

16 years agoFixing another call to BSApp::GetType() and switching to using the ::Registry()
Robert Sesek [Wed, 22 Aug 2007 07:55:02 +0000 (00:55 -0700)]
Fixing another call to BSApp::GetType() and switching to using the ::Registry()

* Mail.php:
(BSMail::send)

16 years agoRemoving the old ReigsterTest.php
Robert Sesek [Mon, 20 Aug 2007 16:43:24 +0000 (09:43 -0700)]
Removing the old ReigsterTest.php

* UnitTest/RegisterTest.php: Removed

16 years agoRemoving the old coverage reporter from the unit test system
Robert Sesek [Mon, 20 Aug 2007 16:30:10 +0000 (09:30 -0700)]
Removing the old coverage reporter from the unit test system

* UnitTest/Coverage.php: Removed

16 years agoUse (c) instead of the actual copyright symbol to avoid the really annoying character...
Robert Sesek [Mon, 20 Aug 2007 01:08:27 +0000 (18:08 -0700)]
Use (c) instead of the actual copyright symbol to avoid the really annoying character encoding issues

16 years agoRemoving all the package replacement tags and SVN keyword tags
Robert Sesek [Mon, 20 Aug 2007 00:58:02 +0000 (17:58 -0700)]
Removing all the package replacement tags and SVN keyword tags

16 years agoFinishing the template unit test
Robert Sesek [Sun, 19 Aug 2007 20:34:11 +0000 (20:34 +0000)]
Finishing the template unit test

16 years agoFixing more instances of BSApp::GetType()
Robert Sesek [Sun, 19 Aug 2007 20:34:03 +0000 (20:34 +0000)]
Fixing more instances of BSApp::GetType()

* Template.php:
(BSTemplate::flush)

16 years agoAdded tests for template preparse hooks and the cache system
Robert Sesek [Sun, 19 Aug 2007 17:58:38 +0000 (17:58 +0000)]
Added tests for template preparse hooks and the cache system

* UnitTest/TemplateTest.php

16 years agoDiscovered another older style of accessing the registry
Robert Sesek [Sun, 19 Aug 2007 17:41:51 +0000 (17:41 +0000)]
Discovered another older style of accessing the registry

* Template.php:
(BSTemplate::cache): Use the new BSApp::Registry() system

16 years agoFixing the include path for docs/tools/create_schema.php
Robert Sesek [Sun, 19 Aug 2007 15:23:40 +0000 (15:23 +0000)]
Fixing the include path for docs/tools/create_schema.php

* docs/tools/create_schema.php: Hard-coding our include path

16 years agoAdding a TemplateTest.php file and all the associated template files along with it
Robert Sesek [Sun, 19 Aug 2007 08:15:12 +0000 (08:15 +0000)]
Adding a TemplateTest.php file and all the associated template files along with it

16 years agoRemoving dead function in Template.php
Robert Sesek [Thu, 16 Aug 2007 20:54:42 +0000 (20:54 +0000)]
Removing dead function in Template.php

* Template.php:
(print_around): Removed

16 years agoRemoving the usage counter in from the template system
Robert Sesek [Thu, 16 Aug 2007 20:51:48 +0000 (20:51 +0000)]
Removing the usage counter in from the template system

* Template.php:
(BSTemplate::cache): No longer initialize the usage counter
(BSTemplate::fetch): Only increment the BSTemplate->uncached[] template counter when the template is not cached
(BSTemplate::flsuh): Remove the template debug block and only show uncached templates and their usage

16 years agoRemoving the SVN constant option and the ISSO_MT_START (thanks to $_SERVER['REQUEST_T...
Robert Sesek [Thu, 16 Aug 2007 20:44:53 +0000 (20:44 +0000)]
Removing the SVN constant option and the ISSO_MT_START (thanks to $_SERVER['REQUEST_TIME'])

* Template.php:
(BSTemplate::flush): No longer display SVN information and we can use $_SERVER[REQUEST_TIME] so we don't need to define ISSO_MT_START
* App.php: Remove documentation about constants

16 years agoSimplifying the loading of templates so we don't have two exceptions to throw for...
Robert Sesek [Thu, 16 Aug 2007 20:35:59 +0000 (20:35 +0000)]
Simplifying the loading of templates so we don't have two exceptions to throw for the same type of error

* Template.php
(BSTemplate::_loadTemplate): Check if the path is a file and can be read, instead of checking the result of file_get_contents() becaues that way we don't throw multiple exceptions in the same method unnecessarily

16 years agoDo not use BSApp::GetAppPath() anymore for the template path, but instead use a fully...
Robert Sesek [Thu, 16 Aug 2007 20:23:57 +0000 (20:23 +0000)]
Do not use BSApp::GetAppPath() anymore for the template path, but instead use a fully-qualified path in BSTemplate->templateDir

* Template.php:
(BSTemplate::cache)
(BSTemplate::_loadTemplate)

16 years agoMaking the two MySQL tests create an InnoDB database so that we can practice our...
Robert Sesek [Wed, 15 Aug 2007 07:06:17 +0000 (07:06 +0000)]
Making the two MySQL tests create an InnoDB database so that we can practice our new transaction test

* UnitTest/DatabaseMySQLTest.php:
(DatabaseMySQLTest::setUp): Create the test table as InnoDB
* UnitTest/DatabaseMySQLiTest.php:
(DatabaseMySQLiTest::setUp): ditto
* UnitTest/DatabaseTestAbstract.php:
(DatabaseTestAbstract::testTransactions): New method

16 years agoMoving the tools/ directory to the docs/ folder
Robert Sesek [Tue, 14 Aug 2007 04:01:27 +0000 (04:01 +0000)]
Moving the tools/ directory to the docs/ folder

16 years agoMoving the UnitTest directory out of the docs/ folder and into the root of the framework
Robert Sesek [Tue, 14 Aug 2007 04:00:56 +0000 (04:00 +0000)]
Moving the UnitTest directory out of the docs/ folder and into the root of the framework

16 years agoRemoving dead files that we no longer need
Robert Sesek [Tue, 14 Aug 2007 04:00:01 +0000 (04:00 +0000)]
Removing dead files that we no longer need

16 years agoFixing a call to BSApp::GetType() that no longer exists
Robert Sesek [Tue, 14 Aug 2007 03:49:10 +0000 (03:49 +0000)]
Fixing a call to BSApp::GetType() that no longer exists

* App.php:
(BSApp::RequiredModules)

16 years agoForgot to change our require_once() in our unit test for AppTest
Robert Sesek [Tue, 14 Aug 2007 03:47:02 +0000 (03:47 +0000)]
Forgot to change our require_once() in our unit test for AppTest

* docs/UnitTest/AppTest.php:
(AppTest::setUp): Change the require_once() path

16 years agoFixing "method not found" for BSApp::GetType()
Robert Sesek [Tue, 14 Aug 2007 03:46:05 +0000 (03:46 +0000)]
Fixing "method not found" for BSApp::GetType()

* Input.php:
(BSInput::escape)

16 years agoRenaming BSRegister to BSApp and moving Register.php to App.php
Robert Sesek [Tue, 14 Aug 2007 03:44:27 +0000 (03:44 +0000)]
Renaming BSRegister to BSApp and moving Register.php to App.php

16 years agoUpdating the unit tests for preparation of renaming BSRegister to BSApp
Robert Sesek [Tue, 14 Aug 2007 03:42:12 +0000 (03:42 +0000)]
Updating the unit tests for preparation of renaming BSRegister to BSApp

16 years agoChanging the registry part of BSRegister to be a new inner class called BSVariableReg...
Robert Sesek [Tue, 14 Aug 2007 03:38:41 +0000 (03:38 +0000)]
Changing the registry part of BSRegister to be a new inner class called BSVariableRegistry

* Register.php:
(BSRegister::__construct): Instantiate a new instance of BSVariableRegistry
(BSRegister::Registry): New method
(BSRegister::Register): Removed
(BSRegister::Unregister): Removed
(BSRegister::Get): Removed
(BSRegister::GetType): Removed
(BSRegister::GetAll): Removed
(BSVariableRegistry): New class
* docs/UnitTest/RegisterTest.php: Updated the unit test for the new BSRegister functionality

16 years agoRemvoing all the methods in BSRegister that handle error reporting
Robert Sesek [Tue, 14 Aug 2007 02:54:08 +0000 (02:54 +0000)]
Remvoing all the methods in BSRegister that handle error reporting

* Register.php:
(BSRegister::Message): Removed
(BSRegister::_errorHandler): Removed
(BSRegister::ExplainErrorReporting): Removed

16 years agoSwitching from calls to trigger_error() to throwing generic exceptions for client...
Robert Sesek [Tue, 14 Aug 2007 01:59:04 +0000 (01:59 +0000)]
Switching from calls to trigger_error() to throwing generic exceptions for client implementation errors

* Installer.php
* Template.php
* PrinterBaseElement.php
* PrinterTableElement.php
* PrinterRootElementTable.php
* Mail.php

16 years agoSuppress errors in connecting via MySQLi
Robert Sesek [Tue, 14 Aug 2007 01:49:38 +0000 (01:49 +0000)]
Suppress errors in connecting via MySQLi

* DbMySqlI.php:
(BSDbMySqlI::_connect): Suppress the errors in our call to mysqli_connect

16 years agoRenaming the transaction*() methods to just be the type of transaction statement...
Robert Sesek [Tue, 14 Aug 2007 01:48:27 +0000 (01:48 +0000)]
Renaming the transaction*() methods to just be the type of transaction statement to send, and removing savepoint support

* DbMySql.php
* DbMySqlI.php
* Db.php
* DbPostgreSql.php

16 years agoRemoving a call to _error in DbMySql.php because it's no longer needed with exceptions
Robert Sesek [Tue, 14 Aug 2007 01:44:39 +0000 (01:44 +0000)]
Removing a call to _error in DbMySql.php because it's no longer needed with exceptions

* DbMySql.php:
(DbMySql::_selectDb)

16 years agoAdding database unit tests and in the Db module, use a new DatabaseException class...
Robert Sesek [Tue, 14 Aug 2007 01:42:55 +0000 (01:42 +0000)]
Adding database unit tests and in the Db module, use a new DatabaseException class intead of triggering errors

16 years agoDon't quote certain MySQL values
Robert Sesek [Fri, 3 Aug 2007 18:30:16 +0000 (18:30 +0000)]
Don't quote certain MySQL values

16 years agoUpdating create_schema.php to work with the new ISSO3 stuff
Robert Sesek [Fri, 3 Aug 2007 18:02:31 +0000 (18:02 +0000)]
Updating create_schema.php to work with the new ISSO3 stuff

16 years ago- Switch to using Exception in Xml.php, Register.php, and Input.php
Robert Sesek [Sat, 28 Jul 2007 18:33:43 +0000 (18:33 +0000)]
- Switch to using Exception in Xml.php, Register.php, and Input.php
- We now have a fully working test suite again

16 years agoOur test suite is now done with PHPUnit, although it's rather broken
Robert Sesek [Sat, 28 Jul 2007 18:16:35 +0000 (18:16 +0000)]
Our test suite is now done with PHPUnit, although it's rather broken

16 years ago* tools/ISI_PHPUnit2_Output_HTML_Listener.php: Removed because we added it already.
Robert Sesek [Sat, 28 Jul 2007 17:43:46 +0000 (17:43 +0000)]
* tools/ISI_PHPUnit2_Output_HTML_Listener.php: Removed because we added it already.

16 years agoRemoving the pconnect option from BSDb and it's children.
Robert Sesek [Sat, 28 Jul 2007 17:42:38 +0000 (17:42 +0000)]
Removing the pconnect option from BSDb and it's children.

* Db.php:
(BSDb::connect): Removing the $pconnect paramater
(BSDb::_pConnect): Removed.
* DbMySql.php:
(BSDbMySql::_pConnect): Removed
* DbMySqlI.php:
(BSDbMySqlI::_pConnect): Removed
* DbPostgreSql.php:
(BSDbPostgreSql::_pConnect): Removed

16 years agoStarting to migrate from SimpleTest to PHPUnit.
Robert Sesek [Sat, 28 Jul 2007 17:37:32 +0000 (17:37 +0000)]
Starting to migrate from SimpleTest to PHPUnit.

* docs/UnitTestReport.php: Renamed to SimpleTestReporter
* docs/UnitTest/AllTests.php: Changing the path to the test reporter, see above.
* docs/PHPUnitTestReporter.php: Added

16 years agoAdding the results of testing with PHP5
Robert Sesek [Sun, 15 Jul 2007 19:33:01 +0000 (19:33 +0000)]
Adding the results  of testing with PHP5

16 years agoAdding PDO tests
Robert Sesek [Sun, 15 Jul 2007 18:53:27 +0000 (18:53 +0000)]
Adding PDO tests

16 years agoMoving imported tools into the tools/ directory
Robert Sesek [Sun, 15 Jul 2007 18:50:23 +0000 (18:50 +0000)]
Moving imported tools into the tools/ directory

16 years agoMerging the php520 tests from the branch
Robert Sesek [Sun, 15 Jul 2007 18:48:53 +0000 (18:48 +0000)]
Merging the php520 tests from the branch

16 years agoImporting tools to ISSO
Robert Sesek [Sun, 15 Jul 2007 18:43:55 +0000 (18:43 +0000)]
Importing tools to ISSO

16 years agoAdding date tests
Robert Sesek [Sat, 14 Jul 2007 23:14:27 +0000 (23:14 +0000)]
Adding date tests

16 years agoAdding a few tests of PHP5's new features
Robert Sesek [Sat, 14 Jul 2007 22:48:54 +0000 (22:48 +0000)]
Adding a few tests of PHP5's new features

16 years agoBranching the ISSO3 trunk in experimenting with the new features of PHP 5.2.0
Robert Sesek [Sat, 14 Jul 2007 22:39:12 +0000 (22:39 +0000)]
Branching the ISSO3 trunk in experimenting with the new features of PHP 5.2.0

16 years agoMerging changes from the 2.1.x branch back to trunk (r860-862)
Robert Sesek [Fri, 13 Jul 2007 05:08:00 +0000 (05:08 +0000)]
Merging changes from the 2.1.x branch back to trunk (r860-862)

16 years agoIn mail.php, we don't want to double encode fields so in send() create local variable... 2.1.x
Robert Sesek [Fri, 13 Jul 2007 05:00:49 +0000 (05:00 +0000)]
In mail.php, we don't want to double encode fields so in send() create local variables instead of using object properties