summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Sync Aliases file with hubbubJohn Mark Bell2010-12-041-1/+2
| | | | svn path=/trunk/libparserutils/; revision=10974
* Make sure we elide trailing non-characters when matching aliasesDaniel Silverstone2010-12-042-0/+12
| | | | svn path=/trunk/libparserutils/; revision=10973
* Remove init/final code and turn aliases into static data structure. r=vinceDaniel Silverstone2010-12-0427-721/+207
| | | | svn path=/trunk/libparserutils/; revision=10961
* Sprinkle some C++ scoping aroundJohn Mark Bell2010-10-2312-0/+108
| | | | svn path=/trunk/libparserutils/; revision=10901
* 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
* Fix whitespaceJohn Mark Bell2010-10-231-1/+1
| | | | svn path=/trunk/libparserutils/; revision=10898
* Bump versionJohn Mark Bell2010-04-191-1/+1
| | | | svn path=/trunk/libparserutils/; revision=10445
* -Wextra is only understood by GCC 3.4.6 or later. John Mark Bell2009-11-061-3/+4
| | | | | | | | | | | | | | | | It is a more descriptive synonym for -W. Use -W instead which is understood by all common versions of GCC (i.e. GCC 2.95 supports it, which is the oldest GCC version we have to support) Additionally, conditionalise our -Werror usage on whether we're building for BeOS/Haiku. On these platforms, the standard library headers result in warnings. GCC 2 is quite happy to build this code on other platforms, so shouldn't be the trigger for dropping -Werror (even if BeOS is the only target where GCC2 is likely to be used). svn path=/trunk/libparserutils/; revision=9669
* Ensure we use the canonical charset name when invoking iconv_open()John Mark Bell2009-10-121-1/+2
| | | | svn path=/trunk/libparserutils/; revision=9628
* Ensure local include path overrides buildsystem settings.John Mark Bell2009-08-011-2/+2
| | | | svn path=/trunk/libparserutils/; revision=8966
* 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
* Make magic static.John Mark Bell2009-07-251-1/+1
| | | | svn path=/trunk/libparserutils/; revision=8788
* Less brain-dead constant for the benefit of ARM platforms.John Mark Bell2009-07-021-2/+2
| | | | svn path=/trunk/libparserutils/; revision=8268
* Remove dependency on a library providing ntohl/htonl.John Mark Bell2009-07-026-60/+60
| | | | svn path=/trunk/libparserutils/; revision=8267
* Inevitably, Windows requires winsock.h instead of the BSD stack headers.John Mark Bell2009-07-025-0/+20
| | | | svn path=/trunk/libparserutils/; revision=8263
* Reasons I hate TCPIPLibs:John Mark Bell2009-06-205-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 codeJohn Mark Bell2009-05-271-5/+0
| | | | svn path=/trunk/libparserutils/; revision=7579
* It helps if you include the correct override file.John Mark Bell2009-05-061-2/+2
| | | | svn path=/trunk/libparserutils/; revision=7407
* Don't even think about -Werror with gcc2...François Revel2009-04-241-2/+2
| | | | svn path=/trunk/libparserutils/; revision=7309
* Update libparserutils to use the new shared object stuffDaniel Silverstone2009-04-212-6/+6
| | | | svn path=/trunk/libparserutils/; revision=7204
* Expand documentation, bringing it into line with realityJohn Mark Bell2009-04-211-11/+62
| | | | svn path=/trunk/libparserutils/; revision=7140
* Pretend to care about fread failingJohn Mark Bell2009-04-171-2/+4
| | | | svn path=/trunk/libparserutils/; revision=7122
* c89John Mark Bell2009-04-154-15/+20
| | | | svn path=/trunk/libparserutils/; revision=7101
* Lose a bunch of trailing commas.John Mark Bell2009-04-153-5/+15
| | | | | | GCC 2.95 compatibility. svn path=/trunk/libparserutils/; revision=7094
* Remove chunkarray implementation. It's unused.John Mark Bell2009-04-153-261/+1
| | | | svn path=/trunk/libparserutils/; revision=7093
* Reflect shared library versioningJohn Mark Bell2009-04-032-12/+17
| | | | svn path=/trunk/libparserutils/; revision=7030
* Lose garbage todoJohn Mark Bell2009-04-011-3/+0
| | | | svn path=/trunk/libparserutils/; revision=7025
* Purge testrunnerJohn Mark Bell2009-03-261-167/+0
| | | | svn path=/trunk/libparserutils/; revision=6892
* Port to new test scheme.John Mark Bell2009-03-253-4/+8
| | | | | | Fix aliases test to work in release mode. svn path=/trunk/libparserutils/; revision=6871
* Fix installation rulesJohn Mark Bell2009-03-241-2/+2
| | | | svn path=/trunk/libparserutils/; revision=6860
* Fix test targetJohn Mark Bell2009-03-245-11/+319
| | | | svn path=/trunk/libparserutils/; revision=6855
* Port to new buildsystemJohn Mark Bell2009-03-2412-692/+43
| | | | svn path=/trunk/libparserutils/; revision=6854
* Add ability to retrieve vector length. Fix missing note in iteration apiDaniel Silverstone2009-02-152-0/+24
| | | | svn path=/trunk/libparserutils/; revision=6527
* Remove dict, hash and rbtree from libparserutilsDaniel Silverstone2009-02-1412-1652/+2
| | | | svn path=/trunk/libparserutils/; revision=6512
* Ensure that parserutils_inputstream_peek(_slow)? have API documentation.John Mark Bell2009-01-092-2/+4
| | | | svn path=/trunk/libparserutils/; revision=6008
* Silence doxygen warnings.John Mark Bell2009-01-095-5/+9
| | | | svn path=/trunk/libparserutils/; revision=6007
* Document the docs targetJohn Mark Bell2009-01-091-0/+7
| | | | svn path=/trunk/libparserutils/; revision=6006
* Doxygen-generated API documentationJohn Mark Bell2009-01-095-1/+1247
| | | | svn path=/trunk/libparserutils/; revision=6005
* Merge note on Aliases file from hubbub.John Mark Bell2009-01-081-0/+8
| | | | svn path=/trunk/libparserutils/; revision=6004
* Document how to enable iconv() supportJohn Mark Bell2009-01-081-1/+20
| | | | svn path=/trunk/libparserutils/; revision=6003
* Correct return value when we can't find a charset in inputstream constructor.John Mark Bell2009-01-062-14/+66
| | | | | | 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-066-57/+67
| | | | 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
* Dubious optimisation I've had sitting around for ages.John Mark Bell2009-01-061-2/+4
| | | | svn path=/trunk/libparserutils/; revision=5963
* 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
* Use temporary variables rather than indirecting through pointers all the time.John Mark Bell2008-12-011-8/+13
| | | | svn path=/trunk/libparserutils/; revision=5861
* Chunked arrays: Pack length of entries into array as a prefix to the data.John Mark Bell2008-12-016-59/+57
| | | | | | 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-3010-4/+672
| | | | | | | | | + Chunked array + Hash table (open addressing) Constify parameter to parserutils_stack_push svn path=/trunk/libparserutils/; revision=5850