Commit graph

17 commits

Author SHA1 Message Date
Aryeh Gregor
a15c419b3d Remove ?>'s from files. They're pointless, and just asking for people to mess with the files and add trailing whitespace. (Yes, I looked over every one and reverted those that were bogus. Slash-enter a million times in less worked well enough, although it was a bit mind-numbing.) 2007-06-29 01:19:14 +00:00
Antoine Musso
c771fc9c96 Use Doxygen @addtogroup instead of phpdoc @package && @subpackage 2007-01-20 15:09:52 +00:00
Nick Jenkins
14c53b728f Code housekeeping stuff (and barring any stuff-ups on my behalf, there should be no changes in behaviour whatsoever after this) -
* removing some unused global declarations.
* removing or commenting out or adding comments for unused local vars.
* Adding one or two local var declarations.
* Declaring $matches array passed to preg_match() / preg_match_all() as array() before using [not required, just have a slight preference for the explicitness].
* remove one or two pass-by-reference function declarations where the value is not modified.
* Adding some braces to if-else blocks.
* In Parser.php, stripstrate is now an object rather than an array as per r17820, so we no longer need ask for a reference to it (as in "$x =& $this->mStripState;"), and in fact it's probably just simpler to get rid of $x altogether.
* Moving some preg regexes from "" quoting to '' quoting to stop static analyzer whinging about bad escape sequences.

... up to "LinksUpdate.php" in the includes/ directory.
2006-11-23 08:25:56 +00:00
Lupin
74e1db122f whitespace 2006-03-06 04:20:20 +00:00
Ævar Arnfjörð Bjarmason
a26d5a49d7 * s~\t+$~~ 2006-01-07 13:31:29 +00:00
Ævar Arnfjörð Bjarmason
7bbe971aec * s~ +$~~ 2006-01-07 13:09:30 +00:00
Antoine Musso
2104f62734 fix phpdoc comment 2005-01-27 19:51:47 +00:00
Zheng Zhu
12c4d6f977 Allower zh: users to customize the Traditional/Simplified conversion tables. From REL1_4. 2004-12-29 01:07:43 +00:00
Zheng Zhu
63d232acf4 Merged my changes from REL1_4 2004-12-24 02:47:38 +00:00
Evan Prodromou
4b42f18b66 Removed CVS keywords from files, to make merging between branches
easier. Interpolated keywords cause lots of conflicts and headaches at
merge time for older (<1.12.x) CVS versions.
2004-11-29 18:25:30 +00:00
Zheng Zhu
eb170b4be7 explode with limit 2004-11-29 02:36:27 +00:00
Zheng Zhu
542f1705ba correct parsing of info line for CONV ALL query 2004-11-29 02:14:54 +00:00
Zheng Zhu
606d85c2c3 Try again to fix wrong variable scope... 2004-11-23 01:31:54 +00:00
Zheng Zhu
57db65ee9a segment() should only do segmentation, and let the caller do the conversion to hex. 2004-11-22 22:10:34 +00:00
Zheng Zhu
43cfe944d7 forgot global... 2004-11-22 21:43:46 +00:00
Zheng Zhu
7b5b13b795 added convertToAllVariants() to query zhdaemon for all variants. 2004-11-22 21:10:18 +00:00
Zheng Zhu
58535bab46 ZhClient queries zhdaemon to provide Chinese text processing service. 2004-11-09 21:22:07 +00:00