Massive refactoring
commitb6b128ea8d3a4f24c2635406814ac6732a13d9f2
authorEdward Z. Yang <edwardzyang@thewritingpot.com>
Mon, 5 Mar 2007 02:50:32 +0000 (5 02:50 +0000)
committerEdward Z. Yang <edwardzyang@thewritingpot.com>
Mon, 5 Mar 2007 02:50:32 +0000 (5 02:50 +0000)
tree8f7990b7a7c5bf4ef362bbbf8986f84e5f077006
parentba3bc4b93b9263ed6989f4abf34d65b1f8641cc1
Massive refactoring
- Move page functionality to XHTMLCompiler_Page
- Rename singleton file
- Implement configuration in singleton, tools needed to be moved out
- Create global test-harness

git-svn-id: http://htmlpurifier.org/svnroot@799 48356398-32a2-884e-a903-53898d9a118a
xhtml-compiler/XHTMLCompiler.php [moved from xhtml-compiler/singleton.php with 67% similarity]
xhtml-compiler/XHTMLCompiler/Page.php [new file with mode: 0644]
xhtml-compiler/common.php
xhtml-compiler/functions.php
xhtml-compiler/htaccess.php
xhtml-compiler/main.php
xhtml-compiler/tests/XHTMLCompiler/FunctionsTest.php [moved from xhtml-compiler/tests/functions-test.php with 64% similarity]
xhtml-compiler/tests/XHTMLCompiler/PageTest.php [new file with mode: 0644]
xhtml-compiler/tests/XHTMLCompilerHarness.php [new file with mode: 0644]
xhtml-compiler/tests/index.php
xhtml-compiler/update.php