summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Add ability to retrieve vector length. Fix missing note in iteration apiDaniel Silverstone2009-02-151-0/+23
| | | | svn path=/trunk/libparserutils/; revision=6527
* Remove dict, hash and rbtree from libparserutilsDaniel Silverstone2009-02-145-1383/+1
| | | | svn path=/trunk/libparserutils/; revision=6512
* Ensure that parserutils_inputstream_peek(_slow)? have API documentation.John Mark Bell2009-01-091-1/+2
| | | | svn path=/trunk/libparserutils/; revision=6008
* Silence doxygen warnings.John Mark Bell2009-01-095-5/+9
| | | | svn path=/trunk/libparserutils/; revision=6007
* Correct return value when we can't find a charset in inputstream constructor.John Mark Bell2009-01-061-14/+62
| | | | | | Add new API to enable on-the-fly changing of the input charset. This is only possible if no data has been read from the stream. svn path=/trunk/libparserutils/; revision=5969
* Change API of inputstream_peek(_slow) to return errors. Joy.John Mark Bell2009-01-062-18/+31
| | | | svn path=/trunk/libparserutils/; revision=5965
* Make input filter correctly return _BADENCODING.John Mark Bell2009-01-062-5/+6
| | | | svn path=/trunk/libparserutils/; revision=5964
* C89François Revel2008-12-221-2/+3
| | | | svn path=/trunk/libparserutils/; revision=5920
* Fix build on 32bit platforms.John Mark Bell2008-12-021-2/+2
| | | | svn path=/trunk/libparserutils/; revision=5868
* Chunked arrays: Pack length of entries into array as a prefix to the data.John Mark Bell2008-12-014-55/+53
| | | | | | Limit maximum length of data items stored in hash/chunked array to 2^16-1. svn path=/trunk/libparserutils/; revision=5858
* Make things clearer through use of temporary variablesJohn Mark Bell2008-11-301-15/+19
| | | | svn path=/trunk/libparserutils/; revision=5853
* New datastructures:John Mark Bell2008-11-305-2/+581
| | | | | | | | | + Chunked array + Hash table (open addressing) Constify parameter to parserutils_stack_push svn path=/trunk/libparserutils/; revision=5850
* Pedantic whitespace changesJohn Mark Bell2008-11-305-12/+8
| | | | svn path=/trunk/libparserutils/; revision=5842
* C89François Revel2008-11-291-5/+6
| | | | svn path=/trunk/libparserutils/; revision=5840
* C89François Revel2008-11-296-19/+33
| | | | svn path=/trunk/libparserutils/; revision=5839
* C89François Revel2008-11-295-8/+23
| | | | svn path=/trunk/libparserutils/; revision=5838
* Return errors from dictionary constructor/destructorJohn Mark Bell2008-11-091-12/+21
| | | | svn path=/trunk/libparserutils/; revision=5673
* Fix build when iconv filter is enabledJohn Mark Bell2008-11-091-2/+2
| | | | svn path=/trunk/libparserutils/; revision=5661
* What to do with errors when reading from the buffer?John Mark Bell2008-11-091-0/+3
| | | | svn path=/trunk/libparserutils/; revision=5658
* Fix double free of filter read codec when resetting to an unsupported encoding.John Mark Bell2008-11-091-6/+19
| | | | svn path=/trunk/libparserutils/; revision=5657
* Return errors from constructors and destructors.John Mark Bell2008-11-0817-299/+431
| | | | svn path=/trunk/libparserutils/; revision=5652
* Add API to vector to permit peeking.John Mark Bell2008-10-181-0/+20
| | | | svn path=/trunk/libparserutils/; revision=5596
* ASCII charset codec.John Mark Bell2008-09-243-1/+529
| | | | svn path=/trunk/libparserutils/; revision=5429
* Purge remaining traces of iconv codec.John Mark Bell2008-09-071-7/+0
| | | | svn path=/trunk/libparserutils/; revision=5284
* Tidy up CFLAGS/LDFLAGSJohn Mark Bell2008-09-053-3/+3
| | | | svn path=/trunk/libparserutils/; revision=5249
* Remove the iconv codec. It serves no purpose.John Mark Bell2008-09-052-684/+1
| | | | svn path=/trunk/libparserutils/; revision=5248
* Fix encoding. Sigh.John Mark Bell2008-09-052-4/+6
| | | | svn path=/trunk/libparserutils/; revision=5241
* Fix stupid.John Mark Bell2008-09-042-4/+4
| | | | | | Testcase for cp1252. Currently fails because of spurious nonsense at the end of the output. May be a test driver bug. svn path=/trunk/libparserutils/; revision=5237
* Fix bugs.John Mark Bell2008-09-042-2/+2
| | | | svn path=/trunk/libparserutils/; revision=5236
* Extended 8bit coded. Mostly for Windows-125n support. Also needs testing.John Mark Bell2008-09-044-1/+765
| | | | svn path=/trunk/libparserutils/; revision=5235
* ISO-8859-n codec. This needs some testing.John Mark Bell2008-09-045-1/+831
| | | | svn path=/trunk/libparserutils/; revision=5233
* Move the location of the utf8 buffer every time we're asked for a character ↵John Mark Bell2008-08-131-0/+24
| | | | | | | | 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-071-6/+60
| | | | svn path=/trunk/libparserutils/; revision=4947
* 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-301-1/+2
| | | | svn path=/trunk/libparserutils/; revision=4827
* Make parserutils_dict_entry public.John Mark Bell2008-07-304-10/+381
| | | | | | 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-281-5/+10
| | | | | | | - 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-287-34/+34
| | | | svn path=/trunk/libparserutils/; revision=4469
* Fix compiler errors when ptrs are 64bit.John Tytgat2008-06-281-1/+1
| | | | svn path=/trunk/libparserutils/; revision=4468
* Have some generic dictionary implementation.John Mark Bell2008-05-104-1/+1048
| | | | | | Even comes with testcases, which is nice. svn path=/trunk/libparserutils/; revision=4138
* Import parser construction utility libraryJohn Mark Bell2008-05-0125-0/+4794
svn path=/trunk/libparserutils/; revision=4111