Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | (raptor_print_abbrev_po): Another signature fixappveyor | Dave Beckett | 2020-09-07 | 1 | -1/+2 |
| | |||||
* | (raptor_print_abbrev_po): Fix signature with casting | Dave Beckett | 2020-09-07 | 1 | -1/+2 |
| | |||||
* | Protect some debug messages from null URI | Dave Beckett | 2020-09-07 | 1 | -2/+2 |
| | |||||
* | Include ICU (vi libxml) in C++ context if running under C++ | Dave Beckett | 2020-09-06 | 1 | -1/+7 |
| | |||||
* | Fix GCC version check that was not working around IGNORE_FORMAT_NONLITERAL_START | Dave Beckett | 2020-09-06 | 1 | -1/+3 |
| | |||||
* | Correct error callbacks for raptor and mid-parsing | Dave Beckett | 2020-09-06 | 1 | -7/+39 |
| | | | | | | | (turtle_parser_error): Parsing error handling with scanner context (turtle_parser_error_simple): Added for error handling for raptor functions, matching the raptor_simple_message_handler method | ||||
* | Move to bison 3.4+ | Dave Beckett | 2020-09-06 | 5 | -9/+14 |
| | |||||
* | (turtle_parser_error): Allow and pass on varargs error | Dave Beckett | 2020-09-06 | 1 | -4/+9 |
| | |||||
* | (grddl_free_xml_context): Remove unused context | Dave Beckett | 2020-09-06 | 1 | -8/+9 |
| | | | | Just free xml_context via userdata arg. Fix callers | ||||
* | Merge pull request #40 from himajin100000/zero_on_failure | Dave Beckett | 2020-09-05 | 1 | -6/+6 |
|\ | | | | | Documentation says "0 on failure." At least size_t >= 0 | ||||
| * | Documentation says "0 on failure." At least size_t >= 0 | himajin100000 | 2019-04-08 | 1 | -6/+6 |
| | | |||||
* | | Merge pull request #38 from hroptatyr/feat/turtle-flush | Dave Beckett | 2020-09-05 | 3 | -0/+46 |
|\ \ | | | | | | | provide raptor_turtle_serialize_flush() | ||||
| * | | fix, PEBKAC, actually declare raptor_avltree_trim() as it is implemented | Sebastian Freundt | 2018-02-09 | 1 | -1/+1 |
| | | | |||||
| * | | fix, actually trim the avltrees after successful emission upon ↵ | Sebastian Freundt | 2018-02-08 | 3 | -0/+31 |
| | | | | | | | | | | | | raptor_serialize_flush() | ||||
| * | | provide raptor_turtle_serialize_flush() | Sebastian Freundt | 2018-02-08 | 1 | -0/+15 |
| |/ | | | | | | | | | | | | | This changeset clones raptor_turtle_serialize_end() as raptor_turtle_serialize_flush() without the reset for the header. This, via raptor_serializer_flush(), allows for fine grained emission of turtle statements. | ||||
* | | Merge pull request #37 from hroptatyr/fix/turtle-chunk-parser | Dave Beckett | 2020-09-05 | 1 | -4/+21 |
|\ \ | | | | | | | This changeset fixes an issue with the turtle chunk parser | ||||
| * | | This changeset fixes an issue with the turtle chunk parser | Sebastian Freundt | 2018-02-07 | 1 | -4/+21 |
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | which defers statements internally to pick up the work with the next chunk. Should the chunk parser not be called anymore any statements recorded as deferred would be lost. An example to reproduce the bug (TriG mode): <x> { [ a <test> ] <shows> <bug> .} With this fix applied the above correctly produces the following 2 quads: _:genid1 <shows> <bug> <x> . _:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <test> <x> . | ||||
* | | Add test that fails for PR#37 | Dave Beckett | 2020-09-05 | 1 | -0/+2 |
|/ | | | | Pull request https://github.com/dajobe/raptor/pull/37 | ||||
* | (raptor_xml_writer_start_element_common): Add and use XML_LANG_PREFIX define | Dave Beckett | 2017-07-01 | 1 | -1/+2 |
| | |||||
* | Write UTF-8 for JSON literals | Dave Beckett | 2017-04-16 | 1 | -5/+5 |
| | | | | | | | | Add #RAPTOR_ESCAPED_WRITE_BITFLAG_UTF8 to #RAPTOR_ESCAPED_WRITE_JSON_LITERAL and document why Fixes Issues #0000606 http://bugs.librdf.org/mantis/view.php?id=606 | ||||
* | Make nsd compare methods handle NULLs | Dave Beckett | 2017-04-16 | 2 | -0/+12 |
| | | | | | (raptor_nsd_compare, raptor_xml_writer_nsd_compare): Sort NULLs separate and avoid strcmp() where those are undefined. | ||||
* | Calcualte max nspace declarations correctly for XML writer | Dave Beckett | 2017-04-16 | 1 | -3/+4 |
| | | | | | | | | (raptor_xml_writer_start_element_common): Calculate max including for each attribute a potential name and value. Fixes Issues #0000617 http://bugs.librdf.org/mantis/view.php?id=617 and #0000618 http://bugs.librdf.org/mantis/view.php?id=618 | ||||
* | Accept cygwin as a Linux-like | Dave Beckett | 2017-04-16 | 1 | -1/+2 |
| | | | | | Fixes Issue #00000600 http://bugs.librdf.org/mantis/view.php?id=600 | ||||
* | Add _POSIX_C_SOURCE for lstat() in test code | Dave Beckett | 2017-04-02 | 1 | -0/+7 |
| | |||||
* | Annotate raptor_simple_message_handler as having format arg. | Dave Beckett | 2017-01-08 | 1 | -1/+1 |
| | |||||
* | Define _GNU_SOURCE it not already set | Dave Beckett | 2017-01-08 | 1 | -0/+2 |
| | |||||
* | Add RAPTOR_VOIDP macro for casting fprint %p object arguments. | Dave Beckett | 2017-01-08 | 7 | -44/+71 |
| | |||||
* | [c++] Test pointer against NULL rather than use as implicit bool | Dave Beckett | 2017-01-08 | 1 | -2/+2 |
| | |||||
* | Get rid of strdup configure code; move to librdfa | Dave Beckett | 2017-01-08 | 3 | -45/+0 |
| | | | | | | | | | | | Easier to replace strdup() calls in librdfa/ with it's own version and just alway use it. Remove strdup checks from configure.ac (rdfa_strdup): Added. Updated all callers. | ||||
* | Portability fixes for C11 and newer clang | Dave Beckett | 2017-01-08 | 7 | -0/+56 |
| | | | | | | | | | | | | | | | | | | | | | | | | Fix some RAPTOR_ASSERT_DIE() calls to have an arg value. Add strdup.c for when it is missing and a configure check. Write special configure.ac checks for strdup and strtok_r to work (ie fail) when there functions are not defined in headers. Update compiler warning arguments: * Add -std=c11 so it'll try to use C11 if available * Add -Wstrict-overflow * Add -Wpedantic * Remove -Wno-conversion -Wno-sign-conversion that are no longer warning For clang (OSX) always add -Wno-nullability-completeness since even stdio.h fails this. Remove duplicate functions in AC_CHECK_FUNCS that AC_HEADER_STDC already calls. Move maintainer mode warning flags very early so they get picked up by tests. | ||||
* | Fix RAPTOR_ASSERT and RAPTOR_ASSERT_DIE call args | Dave Beckett | 2017-01-08 | 2 | -2/+2 |
| | |||||
* | Fixes for newer flex | Dave Beckett | 2017-01-08 | 1 | -0/+1 |
| | | | | Testing with flex 2.6.3 | ||||
* | (OSX) clang fix for ignoring -Wformat-nonliteral | Dave Beckett | 2017-01-07 | 1 | -1/+1 |
| | |||||
* | RAPTOR_ASSERT() macro: Pass return arg to RAPTOR_ASSERT_DIE() | Dave Beckett | 2017-01-07 | 1 | -1/+1 |
| | |||||
* | cmake: apply GNUInstallDirs to pkgconfig | Eric Le Lay | 2016-10-06 | 1 | -2/+2 |
| | |||||
* | use GNUInstallDirs for install paths | Eric Le Lay | 2016-10-06 | 1 | -6/+6 |
| | | | | | to be able to install libraptor2.a and raptor2.pc to a specific directory when cross-compiling | ||||
* | -fsanitize=nonnull-attribute | Stephan Bergmann | 2016-08-29 | 1 | -2/+3 |
| | |||||
* | Fix RAPTOR_ASSERT_DIE() call | Dave Beckett | 2015-12-29 | 1 | -1/+1 |
| | |||||
* | (YY_FATAL_ERROR): Remove never reachable abort() after longjmp() | Dave Beckett | 2015-05-03 | 1 | -1/+0 |
| | |||||
* | Merge pull request #32 from dajobe/openbsd-fixes | Dave Beckett | 2015-05-03 | 11 | -61/+70 |
|\ | | | | | Fixes for OpenBSD | ||||
| * | remove another sprintf() | Dave Beckett | 2015-05-02 | 1 | -2/+3 |
| | | |||||
| * | Several #ifdef fixes to avoid code after abort() | Dave Beckett | 2015-05-02 | 4 | -17/+11 |
| | | |||||
| * | Make RAPTOR_ASSERT_DIE take parameter for non-abort case | Dave Beckett | 2015-05-02 | 2 | -10/+7 |
| | | | | | | | | To prevent gcc 'will never be executed' warnings. | ||||
| * | Remove sprintf() and replace with snprintf() or hard-coded format | Dave Beckett | 2015-05-02 | 1 | -14/+20 |
| | | |||||
| * | OpenBSD fixes | Dave Beckett | 2015-05-02 | 4 | -18/+29 |
| | | |||||
* | | Update .gitignore | Dave Beckett | 2015-04-24 | 1 | -2/+1 |
| | | |||||
* | | Merge pull request #29 from 0u812/cmake-update-squashed | Dave Beckett | 2015-04-24 | 3 | -13/+77 |
|\ \ | |/ |/| | CMake build system upgrade to allow building from git sources | ||||
| * | Required version of Bison too specific. Must use 3.0 avail. via ↵ | 0u812 | 2015-01-30 | 2 | -2/+2 |
| | | | | | | | | win_flex_bison-2.5.1. Compiles on Windows via CMake with this change. | ||||
| * | missed a few paths | 0u812 | 2015-01-22 | 1 | -3/+3 |
| | | |||||
| * | use abs paths in custom commands/targets | 0u812 | 2015-01-22 | 1 | -15/+15 |
| | |