2023-11-28 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Release 0.1.11 * src/RcppExports.cpp: Regenerated under updated Rcpp to address format string issue reported by R-devel * R/RcppExports.R: Idem 2023-05-14 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Release 0.1.10 * inst/include/simdjson.cpp: Updated to simdjson 3.1.8 * inst/include/simdjson.h: Idem * R/utils.R (.prep_input): Minor code coverage 'nocov' tweak 2023-04-24 Dirk Eddelbuettel * README.md: Minor edit to one paragraph 2023-01-21 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Release 0.1.9 * inst/include/simdjson.cpp: Updated to simdjson 3.0.1 * inst/include/simdjson.h: Idem * src/simdjson_example.cpp (unsupportedArchitecture): Updated to use 'simdjson::get_active_implementation()->name()' * .editorconfig: Added * configure: Retired and removed * src/Makevars: Moved from Makevars.in, C++17 now default * R/validateJSON.R (validateJSON): Simplify with stopifnot() * R/fload.R (fload): Idem * R/fparse.R (fparse): Idem * .github/workflows/ci.yaml (jobs): Adust g++ matrix to 10, 11 and 12 2023-01-20 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Roll minor version and date * src/deserialize.cpp: Export for both C++ and R use * src/RcppExports.cpp: Regenerated * R/RcppExports.R: Idem * inst/include/RcppSimdHson_RcppExports.h: Generated * inst/include/RcppSimdHson.h: Idem 2023-01-14 Dirk Eddelbuettel * README.md: Update URL for codecov.io badge * .github/workflows/ci.yaml (jobs): Adjust g++ matrix to 9, 10, 11 2022-11-17 Dirk Eddelbuettel * .github/workflows/covr.yaml (jobs): Update to actions/checkout@v3 * .github/workflows/ci.yaml (jobs): Update to actions/checkout@v3 2022-10-18 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Release 0.1.8 * inst/include/simdjson.h (mini_formatter::string): Correct booleans operator on bools to appease clang-14 2022-02-18 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Release 0.1.7 * inst/tinytest/test_simdjson_utils.R: Set length-one test predicates * README.md: Update two URLs 2021-12-18 Dirk Eddelbuettel * README.md: Remove unused continuous integration artifact and badge 2021-09-07 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Release 0.1.6 2021-09-07 Daniel Lemire * inst/include/simdjson.cpp: Updated to simdjson 1.0.0 * inst/include/simdjson.h: Idem * inst/include/RcppSimdJson/deserialize.hpp: Adjusted for simdjson 1.0.0 * inst/include/RcppSimdJson/deserialize/Type_Doctor.hpp: Idem * inst/include/RcppSimdJson/deserialize/dataframe.hpp: Idem * inst/include/RcppSimdJson/deserialize/matrix.hpp: Idem * inst/include/RcppSimdJson/deserialize/scalar.hpp: Idem * inst/include/RcppSimdJson/deserialize/simplify.hpp: Idem * inst/include/RcppSimdJson/deserialize/vector.hpp: Idem * src/exported-utils.cpp: Idem * src/simdjson_example.cpp: Idem 2021-08-16 Dirk Eddelbuettel * DESCRIPTION (SystemRequirements): Additional detail on (fully optional) C++17 requirement as suggested by CRAN 2021-08-02 Dirk Eddelbuettel * README.md: Write name as RcppSimdJson as in DESCRIPTION 2021-02-23 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Release 0.1.5 2021-02-20 Dirk Eddelbuettel * R/utils.R: Add #nocov tags * R/validateJSON.R (validateJSON): Idem * inst/include/RcppSimdJson/utils.hpp (decompress): Idem * inst/include/RcppSimdJson/deserialize/dataframe.hpp: Idem * inst/include/RcppSimdJson/deserialize/vector.hpp: Idem * inst/include/RcppSimdJson/deserialize.hpp: Idem 2021-02-14 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Roll version and date * R/utils.R (.prep_input): Sanitize filename for Windows 2021-02-12 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Release 0.1.4 * README.md: Update/replace two URLs * .Rbuildignore: Add .github 2021-02-10 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Roll version and date 2021-02-10 Brendan Knapp * R/fparse (fparse): Add always_list parameter. * R/fload (fload): Ditto * man/fparse.Rd: Document always_list use * inst/tinytest/test_issues.R Test always_list 2021-01-29 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Roll version and date 2020-12-09 Dirk Eddelbuettel * .github/workflows/ci.yaml: Simplified setup * .github/workflows/covr.yaml: Coverage in separate file * README.md: Minor edits, added GitHub Actions CI badge * DESCRIPTION: Minor edits 2020-12-08 Dirk Eddelbuettel * .github/workflows/ci.yaml: Use GitHub Actions for CI 2020-12-07 Dirk Eddelbuettel * R/fload.R (fload): Use ... instead of explicit header argument * R/utils.R (.prep_input): Support ... use * man/fparse.Rd: Document ... use 2020-12-04 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Roll version and date * R/fload.R (fload): Additional argument 'headers' to pass API headers * R/utils.R (.prep_input): Idem, passes 'headers' on to curl * man/fparse.Rd: Document option 2020-11-01 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Release 0.1.3 * inst/tinytest/test_compressed_files.R: Add library(RcppSimdJson) to make file self-contained; add temporary directory checks * inst/tinytest/test_issues.R: Add temporary directory checks 2020-11-01 Brendan Knapp * src/exported-utils.cpp: Add is_valid_utf8, is_valid_json, and fminify (plus tests, docs, examples) * R/exported-utils.R: Ditto * inst/tinytest/test_simdjson_utils.R: Ditto * inst/tinytest/test_fparse_fload: Expand test coverage. * inst/include/RcppSimdJson/deserialize.hpp: Mark one line #nocov 2020-10-31 Brendan Knapp * src/simdjson_example.cpp: Macro-guard two Rcout calls in parseExample() against compiling on Clang 9 2020-10-28 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Roll version and date * inst/tinytest/test_misc.R: Expand test coverage * src/internal-utils.cpp: Mark one line #nocov * R/init.R (.onAttach): Mark six lines #nocov 2020-10-25 Brendan Knapp * R/fparse.R: Add option to "always" return integers as bit64::integer64 and disable coverage on unreachable code. * R/fload.R: Ditto * man/fparse.Rd: Ditto * inst/include/RcppSimdJson/deserialize.hpp: Ditto * inst/include/RcppSimdJson/utils.hpp: Ditto * inst/include/RcppSimdJson/deserialize/Type_Doctor.hpp: Ditto * inst/include/RcppSimdJson/deserialize/dataframe.hpp: Ditto * inst/include/RcppSimdJson/deserialize/matrix.hpp: Ditto * inst/include/RcppSimdJson/deserialize/simplify.hpp: Ditto * inst/include/RcppSimdJson/deserialize/vector.hpp: Ditto * inst/tinytest/test_deserialization.R: Add "always" bit64::integer64 tests and expand test coverage. * inst/tinytest/test_fparse_fload.R: Ditto * inst/tinytest/test_query.R: Ditto * src/internal-utils.cpp: Disable coverage on unreachable code. 2020-10-24 Dirk Eddelbuettel * README.md: Add coverage badge * .travis.yml: Switch to focal and enable coverage 2020-10-23 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Roll version and date * inst/include/simdjson.h: Upgrade to upstream version 0.6.0 * inst/include/simdjson.cpp: Ditto * inst/tinytest/test_fparse_fload.R: Convert one test to expect_error * inst/tinytest/test_query.R: Idem for three more 2020-10-10 Dirk Eddelbuettel * DESCRIPTION (URL, BugReports): Added per Henrik's suggestion 2020-10-07 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Release 0.1.2 * inst/include/RcppSimdJson/utils.hpp: Add #include for optional 2020-10-06 Dirk Eddelbuettel * inst/tinytest/test_query.R: Adjust three tests * inst/tinytest/test_fparse_fload.R: Adjust one test * README.md: Updated one URL thanks to urlUpdate.r & urlchecker 2020-10-05 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Roll version and date * inst/include/simdjson.h: Upgrade to upstream version 0.5.0 * inst/include/simdjson.cpp: Ditto * inst/include/RcppSimdJson/deserialize.hpp: Replace two at() calls with at_point() * R/farse.R: Use leading '/' in query string * man/fparse.Rd: Idem * inst/tinytest/test_fparse_fload.R: Idem * inst/tinytest/test_query.R: Idem 2020-08-11 Dirk Eddelbuettel * README.md: Corrected more http URLs to https 2020-08-10 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Release 0.1.1 * inst/include/simdjson.cpp: One-line change from upstream #1037 2020-08-07 Brendan Knapp * src/internal-utils.cpp: Move intitial argument validation to C++ * R/fparse: Add more flexible queries (plus tests, docs, examples), split error_ok/on_error parameters into parse_error_ok/on_parse_error and query_error_ok/on_query_error * R/fload: Idem plus support for compressed local files (.gz, .bz2, .xz) and compressed downloads for remote files * inst/tinytest/test_compressed_files.R: Idem * R/utils: Add .prep_input to streamline downloading remote files * src/deserialize.cpp: Rebuild deserialization routine to handle JSON strings, raw vectors, JSON files, and decompression with null/single/flat/nested queries (plus tests, docs, examples). * inst/include/RcppSimdJson/deserialize.hpp: Idem * inst/include/RcppSimdJson/utils.hpp: Idem * inst/tintytest/test_deserialization.R: Idem * inst/include/RcppSimdJson/Type_Doctor.hpp: Clean up vestigial code and add explicit conversion of strings to prevent extended UTF-8 character mangling on Windows (plus tests) * inst/include/RcppSimdJson/dataframe.hpp: Idem * inst/include/RcppSimdJson/matrix.hpp: Idem * inst/include/RcppSimdJson/vector.hpp: Idem * inst/include/RcppSimdJson/scalar.hpp: Idem * inst/tintytest/test_encoding.R: Idem * local/notes.Rmd: Add notes tracker * local/notes.md: Idem 2020-07-16 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Roll minor version 2020-07-16 Daniel Lemire * README.md: Ensure example has RcppSimdJson loaded * demo/simpleBenchmark.R: Check for required packages * demo/simpleParseBenchmark.R: Idem 2020-07-13 Dirk Eddelbuettel * demo/simpleParseBenchmark.R: Add new simple parsing benchmark * docs/rcppsimdjson_parse_benchmark.png: Benchmark results figure * README.md: Show new benchmark table and chart 2020-07-09 Dirk Eddelbuettel * DESCRIPTION (Date, Version): Roll minor version and date * README.md: Small edits 2020-07-08 Brendan Knapp * R/fparse: add raw/list-of-raw support to fparse (plus tests and docs) * R/inst/tinytest/test_issues: Idem * src/deserialize.cpp: Idem * src/RcppExports.cpp: Idem * man/fparse.Rd: Idem 2020-07-06 Brendan Knapp * R/fload: prevent deleting non-temp files (plus tests) (post-CRAN-release) * R/inst/tinytest/test_issues: Idem 2020-07-07 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Release 0.1.0 2020-07-05 Brendan Knapp * DESCRIPTION (Imports): add utils to Imports * NAMESPACE: added importFrom(utils, download.file) * R/fparse: New functions fparse and fload (plus tests and docs) * R/fload: Idem * man/fparse.Rd: Idem * inst/tinytest/test_fparse_fload.R: Idem * src/deserialize.cpp: add options for errors and single JSON nulls, guard gcc-7 from disabling simdjson exceptions, expand tests * inst/include/RcppSimdJson/common.hpp: Idem * inst/include/RcppSimdJson/deserialize.hpp: Idem * inst/include/RcppSimdJson/deserialize/dataframe.hpp: Idem * inst/include/RcppSimdJson/deserialize/matrix.hpp: Idem * inst/include/RcppSimdJson/deserialize/scalar.hpp: Idem * inst/include/RcppSimdJson/deserialize/simplify.hpp: Idem * inst/include/RcppSimdJson/deserialize/vector.hpp: Idem * inst/include/RcppSimdJson/deserialize/Type_Doctor.hpp: Idem * .travis.yml: Add (now passing) g++-7 to Travis Matrix 2020-07-04 Dirk Eddelbuettel * .travis.yml: Rewritten as matrix over g++ 8, 9, and 10 2020-07-02 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Roll version and date * inst/include/simdjson.h: Upgrade to upstream version 0.4.6 * inst/include/simdjson.cpp: Ditto 2020-06-27 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Roll version and date * inst/include/simdjson.h: Upgrade to upstream version 0.4.1 * inst/include/simdjson.cpp: Ditto * DESCRIPTION (OS_type): Removed -- package now builds on Windows 2020-06-25 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Release 0.0.6 * DESCRIPTION (Description): Changed wording a little 2020-06-24 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Roll version and date * inst/include/simdjson.h: Upgrade to upstream version 0.4.0 * inst/include/simdjson.cpp: Ditto * src/Makevars.win: Stub, windows build not yet supported 2020-06-18 Dirk Eddelbuettel * .travis.yml: Switch to 'bionic', derive package name and version 2020-06-18 Brendan Knapp * inst/include/RcppSimdJson.hpp: New functions .deserialize_json and .load_json (plus utilities .exceptions_enabled and .check_int64) * inst/include/RcppSimdJson/common.hpp: Idem * inst/include/RcppSimdJson/deserialize.hpp: Idem * inst/include/RcppSimdJson/deserialize/dataframe.hpp: Idem * inst/include/RcppSimdJson/deserialize/matrix.hpp: Idem * inst/include/RcppSimdJson/deserialize/scalar.hpp: Idem * inst/include/RcppSimdJson/deserialize/simplify.hpp: Idem * inst/include/RcppSimdJson/deserialize/vector.hpp: Idem * inst/include/RcppSimdJson/deserialize/Type_Doctor.hpp: Idem * inst/tinytest/test_deserialization.R: Idem * inst/tinytest/test_load_json.R: Idem * inst/tinytest/test_vectorized_ops.R: Idem * src/deserialize.cpp: Idem * src/RcppExport.cpp: Idem * R/RcppExport.R: Idem * man/dot-serialize_json.Rd: Idem [ plus mulitple earlier dates ] 2020-05-26 Dirk Eddelbuettel * DESCRIPTION (Author): Add Brendan * DESCRIPTION (Version, Date): Roll version and date 2020-05-26 Brendan Knapp * DESCRIPTION: Added Suggests: bit64 * inst/include/RcppSimdJson.hpp: Created new C++ API entry-point * inst/include/RcppSimdJson/utils.hpp: Added integer-handler utilities * src/rcppsimdjson_utils_check.cpp: Added testable integer-handler checks * inst/tinytest/test_int64.R Added test for integer-handlers 2020-05-22 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Release 0.0.5 2020-05-21 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Roll version and date * src/simdjson_example.cpp: Add minimal documentation * man/parseExample.Rd: Idem 2020-05-20 Brendan Knapp * inst/include/simdjson.h: Synced with upstream * inst/include/simdjson.cpp: Synced with upstream * src/simdjson_example.cpp (parseExample): Added simdjson namespace to dom::array so that it still compiles following simdjson sync 2020-04-03 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Release 0.0.4 * src/simdjson_example.cpp (validateJSON): Updated * src/simdjson_example.cpp (parseExample): Added simple example (but only after shipping 0.0.4 to CRAN) 2020-04-02 Dirk Eddelbuettel * inst/include/simdjson.h: Upgraded to simdjson 0.3 and 0.3.1 * inst/include/simdjson.cpp: Idem * inst/include/simdjson.h: Removed four ';', also sent upstream 2020-03-25 Dirk Eddelbuettel * README.md: Add a last-commit badge 2020-03-03 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Release 0.0.3 2020-03-02 Dirk Eddelbuettel * R/validateJSON.R: Run example only if architecture is supported * man/validateJSON.Rd: Idem * inst/tinytest/test_validation.R: Run testfile only if architecture is supported * cleanup: Add helper script 2020-02-25 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Roll minor version and date * configure: Add simple check for C++17 based on the R configuration * src/Makevars.in: Configure C++17 if seen with R * src/simdjson_example.cpp (unsupportedArchitecture): Check for CPU architectures by relying in simdjson active_implemenation->name() * R/init.R (.onAttach): Flag unsupported architectures on startup 2020-02-22 Dirk Eddelbuettel * inst/include/simdjson.cpp: Synced with upstream * inst/include/simdjson.h: Synced with upstream 2020-02-21 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Release 0.0.2 2020-02-20 Dirk Eddelbuettel * src/simdjson_example.cpp (validateJSON): Protect function body by #define for sufficient C++17 standard (cppVersion): New (internal) helper function returning C++ standard * R/init.R (.onAttach): Flag older compiler on startup * R/validateJSON.R (validateJSON): Wrap call in Sys.glob() to expand ~ 2020-02-13 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Roll minor version and date * inst/include/simdjson.cpp: Synced with upstream * inst/include/simdjson.h: Idem * inst/NEWS.Rd: Added 2020-02-12 Dirk Eddelbuettel * README.md: Correct two badge URLs now that the package is on CRAN, mention performance impact of turning computed GOTOs off 2020-01-27 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Roll minor version and date * src/Makevars: Use #define to deactivate compiled GOTO * inst/include/simdjson.cpp: Synced with upstream * inst/include/simdjson.h: Idem 2020-01-25 Dirk Eddelbuettel * inst/include/simdjson.h: Comment-out #define for SIMDJSON_USE_COMPUTED_GOTO to suppress one -pedantic message * tests/tinytest.R: Added tinytest support * inst/tinytest/test_validation.R: Ditt * DESCRIPTION: Added Suggests: for tinytest * README.md: Reworded contributions a little (GH issue #2) * DESCRIPTION: Ditto, also rolled Date 2020-01-20 Dirk Eddelbuettel * demo/simpleBenchmark.R: Add benchmark comparing JSON validation * docs/rcppsimdjson_benchmark.png: Autoplot of benchmark results * README.md: Added benchmark result and plot, small edits * .travis.yml: Added to support continuous integration 2020-01-19 Dirk Eddelbuettel * inst/include/simdjson.cpp: Replace std::cerr and fprintf(stderr, ...) with Rcpp::Rcerr and REprintf(...) to appease R CMD check 2020-01-18 Dirk Eddelbuettel * DESCRIPTION (Version,Date): Initial and very raw version 0.0.1 (SystemRequirements): Declare C++17 (OS_type): Restrict to unix (due to older C++ compiler on Windows) * README.md: Added * .Rbuildignore: Exclude the largers example JSON files