Commit graph

5156 commits

Author SHA1 Message Date
Siebrand Mazeland 57eff45cf9 Localisation updates for extension messages from Betawiki (2008-08-31 23:26 CEST) 2008-08-31 21:46:26 +00:00
Victor Vasiliev c8ea521424 PHP parser:
* Fix some notices
* Add if-then-else and ternary operator
* Fix ordering of operators
* Skip whitespace.t till test runner will be fixed
* Still lacks dates and correct Unicode string handling
2008-08-31 15:12:55 +00:00
Andrew Garrett 1f7effdd19 Fix a notice 2008-08-31 08:05:33 +00:00
Andrew Garrett aac69c2f69 Fix some notices 2008-08-31 07:08:11 +00:00
Andrew Garrett 15bc04b725 Fix minor bug 2008-08-31 06:39:04 +00:00
Andrew Garrett fc0b18e2d6 PHP Parser:
* Re-add, per Brion's request.
* Add an easy PHP tester, to run the tests used for the native parser.
* Update to pass 20 tests out of 27. Still to go:
** Implement dates.
** Fix order of operations.
** Fix backslash parsing.
** Implement if-then-else and ternery operator.
2008-08-31 05:56:49 +00:00
Siebrand Mazeland d1f111f283 Localisation updates for extension messages from Betawiki (2008-08-30 12:18 CEST)
* rebuild of all files
2008-08-30 17:47:42 +00:00
Siebrand Mazeland 97c801e296 Localisation updates for extension messages from Betawiki (2008-08-30 12:18 CEST) 2008-08-30 10:45:38 +00:00
Siebrand Mazeland 23ae363203 Localisation updates for extension messages from Betawiki (2008-08-28 23:03 CEST) 2008-08-28 21:29:53 +00:00
Siebrand Mazeland a9c192b5b0 Localisation updates for extension messages from Betawiki (2008-08-27 23:24 CEST) 2008-08-27 21:45:18 +00:00
Siebrand Mazeland 85ed7008f4 Localisation updates for extension messages from Betawiki (2008-08-26 14:37 CEST) 2008-08-26 12:51:59 +00:00
Siebrand Mazeland c4c44e2b32 Localisation updates for extensions messages from Betawiki (2008-08-24 21:20 CEST) 2008-08-24 19:30:23 +00:00
Siebrand Mazeland 830b388990 Localisation updates for extension messages from Betawiki (2008-08-24 13:51 CEST) 2008-08-24 12:05:34 +00:00
Alexandre Emsenhuber 7b6813fba4 svn:eol-style native 2008-08-22 21:22:55 +00:00
Siebrand Mazeland bc00e89119 Localisation updates for extensions messages from Betawiki (2008-08-21 17:36 CEST) 2008-08-21 15:58:59 +00:00
Siebrand Mazeland 2095a012db Localisation updates for extension messages from Betawiki (2008-08-19 00:18 CEST) 2008-08-18 22:43:45 +00:00
River Tarnell 423b3d5cdd update 2008-08-17 19:01:24 +00:00
River Tarnell f8ed2d3b0e remove extraneous typename 2008-08-17 18:18:52 +00:00
River Tarnell 87871016a6 add missing file 2008-08-17 18:18:37 +00:00
Siebrand Mazeland 88bfdae0af Localisation updates for extension messages from Betawiki (2008-08-16 13:21 CEST) 2008-08-16 11:48:47 +00:00
Alexandre Emsenhuber 748687c84b svn:eol-style native 2008-08-16 08:29:23 +00:00
Andrew Garrett fa02666551 Remove PHP parser. It's totally inconsistent with the native parser now, and updating it wouldn't really be worth it (seeing as the native one would be used on Wikimedia) 2008-08-16 07:41:46 +00:00
Siebrand Mazeland afc519ad1a Localisation updates for extension messages from Betawiki (2008-08-14 01:57 CEST) 2008-08-14 00:13:00 +00:00
River Tarnell 5e073fa2be move include files to include/ 2008-08-13 17:40:09 +00:00
River Tarnell 6ba4846e05 need type_name here too 2008-08-13 17:16:22 +00:00
River Tarnell 0834126abc provide nicer type names in error messages 2008-08-13 16:42:18 +00:00
Andrew Garrett 901b47f58f Plural support for abusefilter-edit-throttle-seconds 2008-08-13 13:12:03 +00:00
Siebrand Mazeland be0e051bb1 Localisation updates for extension messages from Betawiki (2008-08-12 22:18 CEST) 2008-08-12 21:31:52 +00:00
Alexandre Emsenhuber e1f6eb202f svn:eol-style native 2008-08-12 19:05:00 +00:00
River Tarnell 136d65bb51 add 'if <expr> then <iftrue> else <iffalse> end' as an alternative syntax to expr ? iftrue : iffalse 2008-08-12 16:40:51 +00:00
River Tarnell 4930f1121d don't use pool_allocator 2008-08-12 15:19:38 +00:00
River Tarnell dac72d2d9a - untemplatise parser and ast, force Unicode (UChar32) only
- set an svn:ignore
2008-08-12 14:02:33 +00:00
River Tarnell 4f6c4d886e - parser: support singular for time units as well as plural
- visitors: remove commented code
2008-08-12 12:17:56 +00:00
River Tarnell d4d3f27224 rewrote most of visitors.h, and split functors into functors.h. this implementation uses a metaprogram to determine valid operators at compile time, instead of requiring every exception to be specified seperately. 2008-08-12 12:11:31 +00:00
River Tarnell 4a4e3166cd initial support for dates and intervals 2008-08-11 22:09:34 +00:00
Alexandre Emsenhuber c03b58b0db svn:eol-style native 2008-08-11 19:18:11 +00:00
Andrew Garrett d75eece7b2 Add River to the extension credits, seeing as he pretty much wrote the native parser. 2008-08-11 05:57:17 +00:00
River Tarnell d6d13734ec add note that gmp is required 2008-08-11 01:03:51 +00:00
River Tarnell 41afd40801 change from double/float to GMP arbitrary precision types. as well as increased range, this means '1.3 + 20' no longer evaluates to '21.300000000000001' 2008-08-11 01:01:05 +00:00
River Tarnell 646ffc5a78 - fray::find(fray, size_type) was broken, caused infinite recursion in count()
- advance last_pos in count() by the size of the matched needle
- add tests for all built-in functions
2008-08-10 21:09:54 +00:00
River Tarnell d180cbaa2e re-fix tests on solaris too 2008-08-10 20:49:20 +00:00
River Tarnell f7a75a9852 fix tests on linux/gcc 4.3 2008-08-10 20:48:25 +00:00
River Tarnell aa982fce43 - using leaf_node_t includes the skip parser in the parsed token, causing expressions like (1 == ONE) to fail. use reduced_node_t instead
- add regression test framework and some basic tests
2008-08-10 20:38:52 +00:00
Siebrand Mazeland 7c86271853 Localisation updates for extension messages from Betawiki 2008-08-10 20:36:58 +00:00
River Tarnell dc744d0299 trailing whitespace on expr should not be an error 2008-08-10 16:12:33 +00:00
River Tarnell 081b3524db add README. note that Boost < 1.35 won't work.
fix xml tool.
2008-08-10 16:02:35 +00:00
River Tarnell 63c4ef9830 cleanups 2008-08-10 15:36:48 +00:00
River Tarnell dc5e0e67ff fix match() prototypes for gcc 4.3.1 2008-08-10 15:19:24 +00:00
Alexandre Emsenhuber 3357f3d6c3 svn:eol-style native 2008-08-10 15:06:10 +00:00
River Tarnell 10e89fda5c improved string literal parser. now \xHH works as expected (only matches two digits), and \uHHHH, \UHHHHHHHH are supported (16/32-bit Unicode characters) 2008-08-10 12:53:21 +00:00