Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix memmove beyond buffer length in parserutlis_buffer_discard. Thanks to ↵ | Michael Drake | 2014-03-28 | 1 | -1/+1 |
| | | | | Elie Roudninski. | ||||
* | Replace use of abort() with assertions. | John-Mark Bell | 2014-01-13 | 6 | -32/+20 |
| | |||||
* | Fix non-iconv build. | John-Mark Bell | 2014-01-13 | 1 | -2/+1 |
| | |||||
* | Fix bounds checking. Fixes CID 1152178, 1152179. | John-Mark Bell | 2014-01-12 | 2 | -2/+2 |
| | |||||
* | Fix leak. Thanks to Ralf Junker. | Michael Drake | 2014-01-10 | 1 | -1/+6 |
| | |||||
* | Remove client allocation function. | Michael Drake | 2013-12-14 | 13 | -129/+56 |
| | |||||
* | Fix input insertion. | Vincent Sanders | 2012-07-05 | 1 | -1/+1 |
| | | | | The gap in teh input was being created at the wrong insertion point! | ||||
* | Update to new NSBUILD infrastructure | Daniel Silverstone | 2012-06-29 | 6 | -6/+6 |
| | | | | svn path=/trunk/libparserutils/; revision=14003 | ||||
* | Remove dead allocation which also isn't even usefully documenting | Daniel Silverstone | 2012-03-25 | 1 | -1/+0 |
| | | | | svn path=/trunk/libparserutils/; revision=13672 | ||||
* | Actually handle byte order marks in streams marked as utf16 or utf32 | John Mark Bell | 2011-07-19 | 1 | -13/+48 |
| | | | | svn path=/trunk/libparserutils/; revision=12608 | ||||
* | Require iconv by default, as this is the most useful configuration | John Mark Bell | 2011-04-21 | 1 | -9/+9 |
| | | | | svn path=/trunk/libparserutils/; revision=12215 | ||||
* | Given that some iconv() implementations define the input buffer pointer to ↵ | John Mark Bell | 2011-03-09 | 1 | -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 Silverstone | 2011-01-26 | 6 | -21/+21 |
| | | | | svn path=/trunk/libparserutils/; revision=11493 | ||||
* | Fix profile and coverage targets | John Mark Bell | 2010-12-06 | 1 | -1/+3 |
| | | | | svn path=/trunk/libparserutils/; revision=11022 | ||||
* | Remove spurious assignment | John Mark Bell | 2010-12-05 | 1 | -1/+1 |
| | | | | svn path=/trunk/libparserutils/; revision=11015 | ||||
* | C89 | François Revel | 2010-12-05 | 1 | -1/+4 |
| | | | | svn path=/trunk/libparserutils/; revision=11013 | ||||
* | Make sure we elide trailing non-characters when matching aliases | Daniel Silverstone | 2010-12-04 | 1 | -0/+4 |
| | | | | svn path=/trunk/libparserutils/; revision=10973 | ||||
* | Remove init/final code and turn aliases into static data structure. r=vince | Daniel Silverstone | 2010-12-04 | 7 | -537/+80 |
| | | | | svn path=/trunk/libparserutils/; revision=10961 | ||||
* | Fix bug where any encoding specified when creating an input stream would be ↵ | John Mark Bell | 2010-10-23 | 1 | -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 Bell | 2009-10-12 | 1 | -1/+2 |
| | | | | svn path=/trunk/libparserutils/; revision=9628 | ||||
* | Correctly handle case where all of the following are true: | John Mark Bell | 2009-07-25 | 1 | -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 | ||||
* | Make magic static. | John Mark Bell | 2009-07-25 | 1 | -1/+1 |
| | | | | svn path=/trunk/libparserutils/; revision=8788 | ||||
* | Less brain-dead constant for the benefit of ARM platforms. | John Mark Bell | 2009-07-02 | 1 | -2/+2 |
| | | | | svn path=/trunk/libparserutils/; revision=8268 | ||||
* | Remove dependency on a library providing ntohl/htonl. | John Mark Bell | 2009-07-02 | 6 | -60/+60 |
| | | | | svn path=/trunk/libparserutils/; revision=8267 | ||||
* | Inevitably, Windows requires winsock.h instead of the BSD stack headers. | John Mark Bell | 2009-07-02 | 5 | -0/+20 |
| | | | | svn path=/trunk/libparserutils/; revision=8263 | ||||
* | Reasons I hate TCPIPLibs: | John Mark Bell | 2009-06-20 | 5 | -86/+96 |
| | | | | | | | | | | | | 1) You need to include sys/types.h yourself 2) You need to ensure that netinet/in.h is included before arpa/inet.h 3) Neither arpa/inet.h nor netinet/in.h define htonl/ntohl -- it's in machine/endian.h which, fortunately, is included from sys/types.h Add a bunch of explicit casts to uint32_t to the results of calls to ntohl/htonl to appease Norcroft's "implicit narrowing cast" warning. svn path=/trunk/libparserutils/; revision=7891 | ||||
* | Lose dead code | John Mark Bell | 2009-05-27 | 1 | -5/+0 |
| | | | | svn path=/trunk/libparserutils/; revision=7579 | ||||
* | Lose a bunch of trailing commas. | John Mark Bell | 2009-04-15 | 1 | -1/+1 |
| | | | | | | GCC 2.95 compatibility. svn path=/trunk/libparserutils/; revision=7094 | ||||
* | Remove chunkarray implementation. It's unused. | John Mark Bell | 2009-04-15 | 3 | -261/+1 |
| | | | | svn path=/trunk/libparserutils/; revision=7093 | ||||
* | Lose garbage todo | John Mark Bell | 2009-04-01 | 1 | -3/+0 |
| | | | | svn path=/trunk/libparserutils/; revision=7025 | ||||
* | Port to new buildsystem | John Mark Bell | 2009-03-24 | 6 | -273/+13 |
| | | | | svn path=/trunk/libparserutils/; revision=6854 | ||||
* | Add ability to retrieve vector length. Fix missing note in iteration api | Daniel Silverstone | 2009-02-15 | 1 | -0/+23 |
| | | | | svn path=/trunk/libparserutils/; revision=6527 | ||||
* | Remove dict, hash and rbtree from libparserutils | Daniel Silverstone | 2009-02-14 | 5 | -1383/+1 |
| | | | | svn path=/trunk/libparserutils/; revision=6512 | ||||
* | Ensure that parserutils_inputstream_peek(_slow)? have API documentation. | John Mark Bell | 2009-01-09 | 1 | -1/+2 |
| | | | | svn path=/trunk/libparserutils/; revision=6008 | ||||
* | Silence doxygen warnings. | John Mark Bell | 2009-01-09 | 5 | -5/+9 |
| | | | | svn path=/trunk/libparserutils/; revision=6007 | ||||
* | Correct return value when we can't find a charset in inputstream constructor. | John Mark Bell | 2009-01-06 | 1 | -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 Bell | 2009-01-06 | 2 | -18/+31 |
| | | | | svn path=/trunk/libparserutils/; revision=5965 | ||||
* | Make input filter correctly return _BADENCODING. | John Mark Bell | 2009-01-06 | 2 | -5/+6 |
| | | | | svn path=/trunk/libparserutils/; revision=5964 | ||||
* | C89 | François Revel | 2008-12-22 | 1 | -2/+3 |
| | | | | svn path=/trunk/libparserutils/; revision=5920 | ||||
* | Fix build on 32bit platforms. | John Mark Bell | 2008-12-02 | 1 | -2/+2 |
| | | | | svn path=/trunk/libparserutils/; revision=5868 | ||||
* | Chunked arrays: Pack length of entries into array as a prefix to the data. | John Mark Bell | 2008-12-01 | 4 | -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 variables | John Mark Bell | 2008-11-30 | 1 | -15/+19 |
| | | | | svn path=/trunk/libparserutils/; revision=5853 | ||||
* | New datastructures: | John Mark Bell | 2008-11-30 | 5 | -2/+581 |
| | | | | | | | | | + Chunked array + Hash table (open addressing) Constify parameter to parserutils_stack_push svn path=/trunk/libparserutils/; revision=5850 | ||||
* | Pedantic whitespace changes | John Mark Bell | 2008-11-30 | 5 | -12/+8 |
| | | | | svn path=/trunk/libparserutils/; revision=5842 | ||||
* | C89 | François Revel | 2008-11-29 | 1 | -5/+6 |
| | | | | svn path=/trunk/libparserutils/; revision=5840 | ||||
* | C89 | François Revel | 2008-11-29 | 6 | -19/+33 |
| | | | | svn path=/trunk/libparserutils/; revision=5839 | ||||
* | C89 | François Revel | 2008-11-29 | 5 | -8/+23 |
| | | | | svn path=/trunk/libparserutils/; revision=5838 | ||||
* | Return errors from dictionary constructor/destructor | John Mark Bell | 2008-11-09 | 1 | -12/+21 |
| | | | | svn path=/trunk/libparserutils/; revision=5673 | ||||
* | Fix build when iconv filter is enabled | John Mark Bell | 2008-11-09 | 1 | -2/+2 |
| | | | | svn path=/trunk/libparserutils/; revision=5661 | ||||
* | What to do with errors when reading from the buffer? | John Mark Bell | 2008-11-09 | 1 | -0/+3 |
| | | | | svn path=/trunk/libparserutils/; revision=5658 |