Commit graph

7 commits

Author SHA1 Message Date
Siebrand Mazeland
79d5225c0e * remove end of line whitespace
* remove empty lines at end of file
* remove "?>" where still present
2008-04-14 07:45:50 +00:00
Brion Vibber
f0038b3d1f Fix use of $depth property; was spewing notices, using local var by accident (?) 2008-03-28 18:36:57 +00:00
Brion Vibber
5cbe54fa7b * (bug 13522) Fix fatal error in Parser::extractTagsAndParams
Patch by MinuteElectron - https://bugzilla.wikimedia.org/attachment.cgi?id=4772 with fixes
Replaces an instance variable with a constant, since it doesn't change, which is safe to access when the function is called statically from an outside class, as some extensions do.
2008-03-27 00:00:25 +00:00
Tim Starling
2c76c39737 Stack depth limit for expand() 2008-03-25 04:26:58 +00:00
Tim Starling
133b549c8d Fix bug 13253: <NOINCLUDE>foo</NOINCLUDE> causes exception 2008-03-05 01:07:47 +00:00
Tim Starling
db33512d7e Documentation. 2008-02-18 07:45:44 +00:00
Tim Starling
6fb641cdfd * Added alternate preprocessor implementation "Preprocessor_Hash" which uses plain PHP hashtables for the underlying data structure. This removes the DOM dependence, avoids XML charset problems, and avoids the lack of memory accounting in DOM. It will hopefully serve as a better model for alternate language implementations than the DOM version. I haven't measured the preformance yet, but it should be comparable to Preprocessor_DOM. If the performance is good, this might be a better default than Preprocessor_DOM.
* Verified Preprocessor_Hash against Preprocessor_DOM with a differential fuzz test.
* Improved the utility of Parser_DiffTest by synchronising strip markers and allowing for loose object comparison. 
* Abstracted PPDStack to make it usable in Preprocessor_Hash.
2008-02-05 08:23:58 +00:00