Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (5f73eee4986b468b4a1c0816a42ad48aa12fe8c2)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Pavel Vinogradov <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (5f73eee4986b468b4a1c0816a42ad48aa12fe8c2)
  • Date: Tue, 15 Jan 2019 03:56:59 +0000

GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemage.org>:

ChangeLog | 2 ++
libs/rapidjson/BUILD | 2 ++
libs/rapidjson/CONFIGURE | 7 +++++++
libs/rapidjson/DEPENDS | 7 +++++++
libs/rapidjson/DETAILS | 33 +++++++++++++++++++++++++++++++++
libs/rapidjson/HISTORY | 3 +++
6 files changed, 54 insertions(+)

New commits:
commit 5f73eee4986b468b4a1c0816a42ad48aa12fe8c2
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>

libs/rapidjson: new spell, a fast JSON parser/generator for C++ with both
SAX/DOM style API

diff --git a/ChangeLog b/ChangeLog
index 988d78c..a4b6db9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2019-01-14 Pavel Vinogradov <public AT sourcemage.org>
* libs/fstrcmp: new spell, strings fuzzy comparisons library
+ * libs/rapidjson: new spell, a fast JSON parser/generator for C++ with
+ both SAX/DOM style API

2019-01-13 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
* devel/clazy: new spell, an llvm plugin that understands Qt idioms
diff --git a/libs/rapidjson/BUILD b/libs/rapidjson/BUILD
new file mode 100755
index 0000000..37f0074
--- /dev/null
+++ b/libs/rapidjson/BUILD
@@ -0,0 +1,2 @@
+OPTS+=" ${RAPIDJSON_OPTS}" &&
+default_build
diff --git a/libs/rapidjson/CONFIGURE b/libs/rapidjson/CONFIGURE
new file mode 100755
index 0000000..a6a2d6c
--- /dev/null
+++ b/libs/rapidjson/CONFIGURE
@@ -0,0 +1,7 @@
+source "${GRIMOIRE}/CMAKE_CONFIGURE" &&
+
+config_query_option RAPIDJSON_OPTS "Build RapidJSON examples?" n \
+ "-DRAPIDJSON_BUILD_EXAMPLES=ON" "-DRAPIDJSON_BUILD_EXAMPLES=OFF" &&
+
+config_query_option RAPIDJSON_OPTS "Build RapidJSON tests?" n \
+ "-DRAPIDJSON_BUILD_TESTS=ON" "-DRAPIDJSON_BUILD_TESTS=OFF"
diff --git a/libs/rapidjson/DEPENDS b/libs/rapidjson/DEPENDS
new file mode 100755
index 0000000..01a63ba
--- /dev/null
+++ b/libs/rapidjson/DEPENDS
@@ -0,0 +1,7 @@
+source "${GRIMOIRE}/CMAKE_DEPENDS" &&
+depends -sub "CXX" gcc &&
+
+optional_depends doxygen \
+ "-DRAPIDJSON_BUILD_DOC=ON" \
+ "-DRAPIDJSON_BUILD_DOC=OFF" \
+ "to build documentation"
diff --git a/libs/rapidjson/DETAILS b/libs/rapidjson/DETAILS
new file mode 100755
index 0000000..bb358a0
--- /dev/null
+++ b/libs/rapidjson/DETAILS
@@ -0,0 +1,33 @@
+source "${GRIMOIRE}/CMAKE_FUNCTIONS"
+ SPELL="rapidjson"
+ VERSION="1.1.0"
+
SOURCE_HASH="sha512:2e82a4bddcd6c4669541f5945c2d240fb1b4fdd6e239200246d3dd50ce98733f0a4f6d3daa56f865d8c88779c036099c52a9ae85d47ad263686b68a88d832dff"
+ SOURCE="${SPELL}-${VERSION}.tar.gz"
+
SOURCE_URL[0]="https://github.com/Tencent/${SPELL}/archive/v${VERSION}.tar.gz";
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE="http://rapidjson.org/";
+ ENTERED="20190114"
+ LICENSE[0]="BSD"
+ KEYWORDS=""
+ SHORT="a fast JSON parser/generator for C++ with both SAX/DOM
style API"
+cat << EOF
+RapidJSON is a JSON parser and generator for C++. It was inspired by
RapidXml.
+
+ * RapidJSON is small but complete. It supports both SAX and DOM style API.
+The SAX parser is only a half thousand lines of code.
+
+ * RapidJSON is fast. Its performance can be comparable to strlen(). It also
+optionally supports SSE2/SSE4.2 for acceleration.
+
+ * RapidJSON is self-contained and header-only. It does not depend on
external
+libraries such as BOOST. It even does not depend on STL.
+
+ * RapidJSON is memory-friendly. Each JSON value occupies exactly 16 bytes
for
+most 32/64-bit machines (excluding text string). By default it uses a fast
+memory allocator, and the parser allocates memory compactly during parsing.
+
+ * RapidJSON is Unicode-friendly. It supports UTF-8, UTF-16, UTF-32 (LE &
BE),
+and their detection, validation and transcoding internally. For example, you
+can read a UTF-8 file and let RapidJSON transcode the JSON strings into
UTF-16
+in the DOM. It also supports surrogates and "\u0000" (null character).
+EOF
diff --git a/libs/rapidjson/HISTORY b/libs/rapidjson/HISTORY
new file mode 100644
index 0000000..da9c787
--- /dev/null
+++ b/libs/rapidjson/HISTORY
@@ -0,0 +1,3 @@
+2019-01-14 Pavel Vinogradov <public AT sourcemage.org>
+ * BUILD, CONFIGURE, DEPENDS, DETAILS: created spell
+



  • [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (5f73eee4986b468b4a1c0816a42ad48aa12fe8c2), Pavel Vinogradov, 01/14/2019

Archive powered by MHonArc 2.6.24.

Top of Page