summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix build on SunOSTobias Nygren2023-03-071-0/+12
|
* 2023Dave Beckett2023-02-231-2/+2
|
* Remove set but unused variable iDave Beckett2023-02-222-12/+8
|
* Merge pull request #52 from Artturin/cmakefixDave Beckett2022-07-081-2/+2
|\
| * fix the cmake generated pc fileArtturin2022-06-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | before libdir=${exec_prefix}//nix/store/i7abvb760gzca1wqk9g617shqdj5sr7f-raptor2-aarch64-unknown-linux-gnu-2.0.15/lib includedir=${prefix}//nix/store/i7abvb760gzca1wqk9g617shqdj5sr7f-raptor2-aarch64-unknown-linux-gnu-2.0.15/include/raptor2 note the double // due to CMAKE_INSTALL_LIBDIR already being a absolute path after libdir=/nix/store/rlhzlak7chagd23898n1x9id6f5a6qpn-raptor2-aarch64-unknown-linux-gnu-2.0.15/lib includedir=/nix/store/rlhzlak7chagd23898n1x9id6f5a6qpn-raptor2-aarch64-unknown-linux-gnu-2.0.15/include/raptor2
* | (raptor_uri_counted_filename_to_uri_string): Copy NUL whenDave Beckett2022-07-031-1/+1
|/ | | | | | copyin file:// prefix. Coverity false positive since the following lines of code always add more characters and a NUL. "Fixes" CID 353858
* Fix internal ICU string NFC check to convert to UTF-16 firsttDave Beckett2022-06-064-51/+56
| | | | | | | | | | | | | | | (raptor_nfc_icu_check, raptor_unicode_check_utf8_nfc_string): Changed signature of these internal functions to not have error_p which wasn't even consistently used. Instead return -1 on failure which is also "falsey" in C. (raptor_nfc_icu_check): Do an UTF-8 (raptor) to UTF-16 conversion before trying to do a NFC normalization check. Update callers of above internal functions to remove error_p argument which was unused in all callers. Update rdfxmla tests to allow tests to throw warnings.
* Merge pull request #50 from passware/enkey/cases/POS-5043Dave Beckett2022-06-042-16/+17
|\
| * [POS-5230] directory fixmathvich2021-12-241-11/+11
| |
| * [POS-5320] librdfa directory fixmathvich2021-12-241-12/+12
| |
| * [POS-5230] librdfa directory fixmathvich2021-12-241-163/+163
| |
| * [POS-5230] tabs changed to spacesmathvich2021-12-241-163/+163
| |
| * [POS-5103] scripts directory fixmathvich2021-12-141-4/+4
| |
| * Fix for CMake build on Windowsmathvich2021-11-091-0/+1
| | | | | | HAVE_TIME_H definition added
* | (raptor_www_curl_set_ssl_cert_options) Set resDave Beckett2021-11-291-1/+1
| |
* | Add va_end to turtle_parser_error_simple error pathsDave Beckett2021-11-211-2/+5
| | | | | | | | | | (turtle_parser_error_simple): Ensure va_end is always called on all normal and error paths. [coverity CID 343351]
* | Summary: Check curl_easy_setopt() return values for errorsDave Beckett2021-11-213-31/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In several places check for curl_easy_setopt() erorr returns and fail. [coverity CID 343360] (raptor_new_www_with_connection): On curl module init failures, free up www object before error return. (raptor_www_curl_init): Return error value for failure in init, check all calls with a macro. (raptor_www_curl_fetch, raptor_www_curl_set_ssl_cert_options, raptor_www_curl_set_ssl_verify_options): Check and set error messages on failure
* | Fix leak on failure of WWW moduel methodsDave Beckett2021-11-211-3/+8
| | | | | | | | | | (raptor_grddl_fetch_uri): On WWW call failures, free up www object before error return. [coverity CID 343353]
* | Handle leak of iter on failureDave Beckett2021-11-211-1/+1
| | | | | | | | | | | | (raptor_rdfxmla_emit_subject_properties): Handle leak of iter on rv failure by breaking loop to let normal return handle it. [coverity CID 343358]
* | Add cmake check for time.h with HAVE_TIME_HDave Beckett2021-11-141-0/+1
|/
* Add parsedate.h to BUILT_SOURCESDave Beckett2021-10-131-2/+2
|
* Remove ancient protection around ctype callsDave Beckett2021-10-101-24/+6
| | | | The isTHING() calls do not need an isascii() wrapper ever.
* Fix time header check with HAVE_ prefixDave Beckett2021-10-102-3/+3
|
* Fix headers after removal of AC_HEADER_TIMEDave Beckett2021-10-102-11/+9
|
* Remove and fix obsolete autoconfDave Beckett2021-10-091-1/+1
| | | | | | | - Give AC_PROG_LEX an argument - Remove AC_HEADER_TIME - Remove AC_HEADER_STDC and uses - Update explicit header checks adding getopt.h unistd.h
* XML Writer : compare namespace declarations correctlyDave Beckett2021-09-181-1/+1
| | | | | | | | | | Apply patch from 0001-CVE-2020-25713-raptor2-malformed-input-file-can-lead.patch.1 that fixes Issue#0000650 https://bugs.librdf.org/mantis/view.php?id=650 which overwrote heap during XML writing in parse type literal content. This was detected with clang asan. Thanks to Michael Stahl / mst2 for the fix.
* 2021Dave Beckett2021-08-101-2/+2
|
* Remove callers of deprecated raptor_www settersDave Beckett2020-10-253-7/+15
|
* Add raptor_www setters with return value for errorsDave Beckett2020-10-233-26/+107
| | | | | | | | | Added raptor_www_set_user_agent2, raptor_www_set_proxy2, raptor_www_set_http_accept2 taking value string length and returning error code on failure. Deprecates raptor_www_set_user_agent, raptor_www_set_proxy raptor_www_set_http_accept respectively.
* (raptor_stringbuffer_append_turtle_string): Work around clang --analyze ↵Dave Beckett2020-10-061-0/+4
| | | | warning not understanding ownership model
* docsDave Beckett2020-10-061-0/+2
|
* (raptor_sax2_start_element): Work around clang --analyze warning not ↵Dave Beckett2020-10-061-0/+9
| | | | understanding ownership model
* Use RAPTOR_LEN_FILE_CSSDave Beckett2020-10-061-2/+2
|
* ignore .c.bakDave Beckett2020-09-291-0/+2
|
* Call Bison with the real file namesAkim Demaille2020-09-272-14/+8
| | | | | | | | Give Bison the real output file names, so that the implementation file is not fooled when it wants to find the generated header. To this end, generate the real output files, but postprocess them, instead of creating temporary files with wrong names, and then having Perl fix the wrong names.
* Stylistic change in the parserAkim Demaille2020-09-271-10/+13
| | | | Propose a shorter, more readable (IMHO) approach to typing tokens.
* Use per-type Bison destructors rather than per symbolsAkim Demaille2020-09-271-4/+4
| | | | | | I can see two differences, and I believe this is an improvement: before we were not reclaiming memory associated to blankNodePropertyList and GRAPH_NAME_LEFT_CURLY. Now we do.
* Use Bison directives rather than CPP macrosAkim Demaille2020-09-271-3/+3
| | | | | | "%define parse.error verbose" is supported since 3.0, and support for YYERROR_VERBOSE (deprecated since Bison 2.6, 2012-07-19), was removed in 3.6.
* (raptor_ntriples_parse_term): Free N-Triples datatype_uriDave Beckett2020-09-201-0/+2
|
* (raptor_avltree_delete_internal): Handle deleting empty tree.Dave Beckett2020-09-131-1/+4
| | | | Fixes invalid pointer reference reported by Li Qiang via email.
* cast for warningDave Beckett2020-09-131-2/+2
|
* Do not declare any functions if STANDALONEDave Beckett2020-09-131-1/+2
|
* Use newer ICU NFC check for ICU V56 or newerDave Beckett2020-09-131-1/+32
| | | | (raptor_nfc_icu_check): Switch to use unorm2_quickCheck() for ICU >= 56
* Add raptor_rdf_schema_namespace_uri_len to APIDave Beckett2020-09-132-0/+10
| | | | | Update raptor_namespace_test to define strings once to avoid ASAN odr-violation test failure.
* Guess at making cmake do the same change to turtle_lexer.hDave Beckett2020-09-081-0/+2
|
* Fix turtle_lexer__scan_bytes signatures for C++Dave Beckett2020-09-072-4/+6
| | | | | - scripts/fix-flex.pl: Fix length type call for newer flex naming convention - Run flex output header file through fix-flex.pl
* Supporess worning to allow YAJL2 to use long long in APIDave Beckett2020-09-075-16/+22
|
* (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
|