summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix formatting strings so it won't whinge on amd64Daniel Silverstone2008-08-221-2/+2
| | | | svn path=/trunk/libparserutils/; revision=5171
* Yet more debug.John Mark Bell2008-08-181-1/+19
| | | | svn path=/trunk/libparserutils/; revision=5149
* Only attempt to randomise the utf8 buffer when NDEBUG is not defined.John Mark Bell2008-08-131-0/+2
| | | | | | | Note that, if lpu is built with NDEBUG defined, then the randomisation is a NOP. Therefore, to use the randomisation, you want to build debug versions of both lpu and whatever's using it. svn path=/trunk/libparserutils/; revision=5085
* Move the location of the utf8 buffer every time we're asked for a character ↵John Mark Bell2008-08-133-0/+28
| | | | | | | | in debug mode. This leaks memory lots, deliberately. svn path=/trunk/libparserutils/; revision=5081
* Fix valgrind's aliascmp() warning.Andrew Sidwell2008-08-111-3/+4
| | | | svn path=/trunk/libparserutils/; revision=5026
* Add parenthesesJohn Mark Bell2008-08-111-5/+5
| | | | svn path=/trunk/libparserutils/; revision=5025
* Fix a logic error, and make a test clearer & more efficient as per jmb's review.Andrew Sidwell2008-08-091-5/+3
| | | | svn path=/trunk/libparserutils/; revision=4973
* Make the lpu alias comparion stuff ignore punctuation characters, as per HTML5Andrew Sidwell2008-08-072-7/+70
| | | | svn path=/trunk/libparserutils/; revision=4947
* Fixup cross compilation makefileJohn Mark Bell2008-08-031-3/+3
| | | | svn path=/trunk/libparserutils/; revision=4883
* Rather more optimal data comparator -- compare data lengths first then, if ↵John Mark Bell2008-08-011-4/+4
| | | | | | they're equal, compare the actual data. svn path=/trunk/libparserutils/; revision=4856
* Check for error in iconv_openJohn Mark Bell2008-07-311-0/+2
| | | | svn path=/trunk/libparserutils/; revision=4833
* ConstifyJohn Mark Bell2008-07-302-2/+4
| | | | svn path=/trunk/libparserutils/; revision=4827
* Make parserutils_dict_entry public.John Mark Bell2008-07-307-11/+449
| | | | | | Add basic implementations of a stack and a vector. svn path=/trunk/libparserutils/; revision=4824
* Make iconv-based filtering produce correct output when encountering encoding ↵John Mark Bell2008-06-282-1/+12
| | | | | | | | errors. Fix inputstream_peek_slow to flag OOD when the buffer fill routine produces no new data. svn path=/trunk/libparserutils/; revision=4474
* Make comments explicit about the endianness of UCS-4 dataJohn Mark Bell2008-06-282-6/+6
| | | | svn path=/trunk/libparserutils/; revision=4473
* - parserutils_charset_utf16_to_ucs4(): fixed surrogate handling.John Tytgat2008-06-2810-11/+391
| | | | | | | - cscodec-utf8.c(run_test): Added more asserts. - Added UTF-16 tester (based on the UTF-8 one). svn path=/trunk/libparserutils/; revision=4472
* Update filter's input encoding when it's been auto-detected.John Mark Bell2008-06-281-0/+12
| | | | svn path=/trunk/libparserutils/; revision=4471
* Remove unnecessary casting.John Tytgat2008-06-283-7/+5
| | | | svn path=/trunk/libparserutils/; revision=4470
* Pedantic spelling changes of encoding names UTF-8, UTF-16 and UCS-4John Tytgat2008-06-289-38/+38
| | | | svn path=/trunk/libparserutils/; revision=4469
* Fix compiler errors when ptrs are 64bit.John Tytgat2008-06-282-11/+12
| | | | svn path=/trunk/libparserutils/; revision=4468
* Have some generic dictionary implementation.John Mark Bell2008-05-109-2/+1221
| | | | | | Even comes with testcases, which is nice. svn path=/trunk/libparserutils/; revision=4138
* Import parser construction utility libraryJohn Mark Bell2008-05-0162-0/+7339
svn path=/trunk/libparserutils/; revision=4111