summaryrefslogtreecommitdiff
path: root/src/input
Commit message (Collapse)AuthorAgeFilesLines
* Replace use of abort() with assertions.John-Mark Bell2014-01-131-2/+1
|
* Fix non-iconv build.John-Mark Bell2014-01-131-2/+1
|
* Fix leak. Thanks to Ralf Junker.Michael Drake2014-01-101-1/+6
|
* Remove client allocation function.Michael Drake2013-12-143-37/+19
|
* Update to new NSBUILD infrastructureDaniel Silverstone2012-06-291-1/+1
| | | | svn path=/trunk/libparserutils/; revision=14003
* Remove dead allocation which also isn't even usefully documentingDaniel Silverstone2012-03-251-1/+0
| | | | svn path=/trunk/libparserutils/; revision=13672
* Actually handle byte order marks in streams marked as utf16 or utf32John Mark Bell2011-07-191-13/+48
| | | | svn path=/trunk/libparserutils/; revision=12608
* Require iconv by default, as this is the most useful configurationJohn Mark Bell2011-04-211-9/+9
| | | | svn path=/trunk/libparserutils/; revision=12215
* Given that some iconv() implementations define the input buffer pointer to ↵John Mark Bell2011-03-091-2/+2
| | | | | | be a pointer to a pointer to const data, and some don't, hack around the issue by casting to void * svn path=/trunk/libparserutils/; revision=11950
* Internalise the internal symbol names.Daniel Silverstone2011-01-263-17/+17
| | | | svn path=/trunk/libparserutils/; revision=11493
* Fix bug where any encoding specified when creating an input stream would be ↵John Mark Bell2010-10-231-8/+18
| | | | | | | | replaced by UTF-8 if there was no charset detection callback provided, too. Tidy up the logic in this area, and add more commentary so it's clear. svn path=/trunk/libparserutils/; revision=10899
* Ensure we use the canonical charset name when invoking iconv_open()John Mark Bell2009-10-121-1/+2
| | | | svn path=/trunk/libparserutils/; revision=9628
* Correctly handle case where all of the following are true:John Mark Bell2009-07-251-3/+17
| | | | | | | | | 1) There's outstanding data to be read 2) We haven't read the first chunk of data 3) We've recieved EOF 4) There's insufficient input data to detect the charset svn path=/trunk/libparserutils/; revision=8789
* Lose dead codeJohn Mark Bell2009-05-271-5/+0
| | | | svn path=/trunk/libparserutils/; revision=7579
* Lose a bunch of trailing commas.John Mark Bell2009-04-151-1/+1
| | | | | | GCC 2.95 compatibility. svn path=/trunk/libparserutils/; revision=7094
* Lose garbage todoJohn Mark Bell2009-04-011-3/+0
| | | | svn path=/trunk/libparserutils/; revision=7025
* Port to new buildsystemJohn Mark Bell2009-03-241-44/+2
| | | | svn path=/trunk/libparserutils/; revision=6854
* 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-092-2/+2
| | | | 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-061-18/+26
| | | | 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-11-291-5/+6
| | | | svn path=/trunk/libparserutils/; revision=5840
* 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-083-86/+107
| | | | svn path=/trunk/libparserutils/; revision=5652
* Check for error in iconv_openJohn Mark Bell2008-07-311-0/+2
| | | | svn path=/trunk/libparserutils/; revision=4833
* 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
* Update filter's input encoding when it's been auto-detected.John Mark Bell2008-06-281-0/+12
| | | | svn path=/trunk/libparserutils/; revision=4471
* Import parser construction utility libraryJohn Mark Bell2008-05-014-0/+964
svn path=/trunk/libparserutils/; revision=4111