summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* (raptor_print_abbrev_po): Another signature fixappveyorDave Beckett2020-09-071-1/+2
|
* (raptor_print_abbrev_po): Fix signature with castingDave Beckett2020-09-071-1/+2
|
* Protect some debug messages from null URIDave Beckett2020-09-071-2/+2
|
* Include ICU (vi libxml) in C++ context if running under C++Dave Beckett2020-09-061-1/+7
|
* Fix GCC version check that was not working around IGNORE_FORMAT_NONLITERAL_STARTDave Beckett2020-09-061-1/+3
|
* Correct error callbacks for raptor and mid-parsingDave Beckett2020-09-061-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 Beckett2020-09-065-9/+14
|
* (turtle_parser_error): Allow and pass on varargs errorDave Beckett2020-09-061-4/+9
|
* (grddl_free_xml_context): Remove unused contextDave Beckett2020-09-061-8/+9
| | | | Just free xml_context via userdata arg. Fix callers
* Merge pull request #40 from himajin100000/zero_on_failureDave Beckett2020-09-051-6/+6
|\ | | | | Documentation says "0 on failure." At least size_t >= 0
| * Documentation says "0 on failure." At least size_t >= 0himajin1000002019-04-081-6/+6
| |
* | Merge pull request #38 from hroptatyr/feat/turtle-flushDave Beckett2020-09-053-0/+46
|\ \ | | | | | | provide raptor_turtle_serialize_flush()
| * | fix, PEBKAC, actually declare raptor_avltree_trim() as it is implementedSebastian Freundt2018-02-091-1/+1
| | |
| * | fix, actually trim the avltrees after successful emission upon ↵Sebastian Freundt2018-02-083-0/+31
| | | | | | | | | | | | raptor_serialize_flush()
| * | provide raptor_turtle_serialize_flush()Sebastian Freundt2018-02-081-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-parserDave Beckett2020-09-051-4/+21
|\ \ | | | | | | This changeset fixes an issue with the turtle chunk parser
| * | This changeset fixes an issue with the turtle chunk parserSebastian Freundt2018-02-071-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#37Dave Beckett2020-09-051-0/+2
|/ | | | Pull request https://github.com/dajobe/raptor/pull/37
* (raptor_xml_writer_start_element_common): Add and use XML_LANG_PREFIX defineDave Beckett2017-07-011-1/+2
|
* Write UTF-8 for JSON literalsDave Beckett2017-04-161-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 NULLsDave Beckett2017-04-162-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 writerDave Beckett2017-04-161-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-likeDave Beckett2017-04-161-1/+2
| | | | | Fixes Issue #00000600 http://bugs.librdf.org/mantis/view.php?id=600
* Add _POSIX_C_SOURCE for lstat() in test codeDave Beckett2017-04-021-0/+7
|
* Annotate raptor_simple_message_handler as having format arg.Dave Beckett2017-01-081-1/+1
|
* Define _GNU_SOURCE it not already setDave Beckett2017-01-081-0/+2
|
* Add RAPTOR_VOIDP macro for casting fprint %p object arguments.Dave Beckett2017-01-087-44/+71
|
* [c++] Test pointer against NULL rather than use as implicit boolDave Beckett2017-01-081-2/+2
|
* Get rid of strdup configure code; move to librdfaDave Beckett2017-01-083-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 clangDave Beckett2017-01-087-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 argsDave Beckett2017-01-082-2/+2
|
* Fixes for newer flexDave Beckett2017-01-081-0/+1
| | | | Testing with flex 2.6.3
* (OSX) clang fix for ignoring -Wformat-nonliteralDave Beckett2017-01-071-1/+1
|
* RAPTOR_ASSERT() macro: Pass return arg to RAPTOR_ASSERT_DIE()Dave Beckett2017-01-071-1/+1
|
* cmake: apply GNUInstallDirs to pkgconfigEric Le Lay2016-10-061-2/+2
|
* use GNUInstallDirs for install pathsEric Le Lay2016-10-061-6/+6
| | | | | to be able to install libraptor2.a and raptor2.pc to a specific directory when cross-compiling
* -fsanitize=nonnull-attributeStephan Bergmann2016-08-291-2/+3
|
* Fix RAPTOR_ASSERT_DIE() callDave Beckett2015-12-291-1/+1
|
* (YY_FATAL_ERROR): Remove never reachable abort() after longjmp()Dave Beckett2015-05-031-1/+0
|
* Merge pull request #32 from dajobe/openbsd-fixesDave Beckett2015-05-0311-61/+70
|\ | | | | Fixes for OpenBSD
| * remove another sprintf()Dave Beckett2015-05-021-2/+3
| |
| * Several #ifdef fixes to avoid code after abort()Dave Beckett2015-05-024-17/+11
| |
| * Make RAPTOR_ASSERT_DIE take parameter for non-abort caseDave Beckett2015-05-022-10/+7
| | | | | | | | To prevent gcc 'will never be executed' warnings.
| * Remove sprintf() and replace with snprintf() or hard-coded formatDave Beckett2015-05-021-14/+20
| |
| * OpenBSD fixesDave Beckett2015-05-024-18/+29
| |
* | Update .gitignoreDave Beckett2015-04-241-2/+1
| |
* | Merge pull request #29 from 0u812/cmake-update-squashedDave Beckett2015-04-243-13/+77
|\ \ | |/ |/| CMake build system upgrade to allow building from git sources
| * Required version of Bison too specific. Must use 3.0 avail. via ↵0u8122015-01-302-2/+2
| | | | | | | | win_flex_bison-2.5.1. Compiles on Windows via CMake with this change.
| * missed a few paths0u8122015-01-221-3/+3
| |
| * use abs paths in custom commands/targets0u8122015-01-221-15/+15
| |