Skip to content
Permalink
Browse files

lua-rapidjson: Initial import

  • Loading branch information...
everrush committed Mar 14, 2019
1 parent 7a3929a commit 640537bc2121533db58bf95fbb2dcf1fcd0a54c0
Showing with 21,721 additions and 0 deletions.
  1. +1 −0 Src/Modules/lua-rapidjson/.busted
  2. +7 −0 Src/Modules/lua-rapidjson/.editorconfig
  3. +26 −0 Src/Modules/lua-rapidjson/.gitignore
  4. +3 −0 Src/Modules/lua-rapidjson/.luacheckrc
  5. +51 −0 Src/Modules/lua-rapidjson/.travis.yml
  6. +453 −0 Src/Modules/lua-rapidjson/API.md
  7. +89 −0 Src/Modules/lua-rapidjson/CMakeLists.txt
  8. +19 −0 Src/Modules/lua-rapidjson/LICENSE
  9. +142 −0 Src/Modules/lua-rapidjson/README.md
  10. +35 −0 Src/Modules/lua-rapidjson/appveyor.yml
  11. +135 −0 Src/Modules/lua-rapidjson/cmake/Modules/FindLua.cmake
  12. +102 −0 Src/Modules/lua-rapidjson/performance/booleans.json
  13. +102 −0 Src/Modules/lua-rapidjson/performance/floats.json
  14. +102 −0 Src/Modules/lua-rapidjson/performance/guids.json
  15. +102 −0 Src/Modules/lua-rapidjson/performance/integers.json
  16. +592 −0 Src/Modules/lua-rapidjson/performance/mixed.json
  17. +102 −0 Src/Modules/lua-rapidjson/performance/nulls.json
  18. +102 −0 Src/Modules/lua-rapidjson/performance/paragraphs.json
  19. +86 −0 Src/Modules/lua-rapidjson/performance/run.lua
  20. +28 −0 Src/Modules/lua-rapidjson/rapidjson-0.5.2-1.rockspec
  21. +28 −0 Src/Modules/lua-rapidjson/rapidjson/.gitignore
  22. +158 −0 Src/Modules/lua-rapidjson/rapidjson/CHANGELOG.md
  23. +284 −0 Src/Modules/lua-rapidjson/rapidjson/include/rapidjson/allocators.h
  24. +78 −0 Src/Modules/lua-rapidjson/rapidjson/include/rapidjson/cursorstreamwrapper.h
  25. +2,646 −0 Src/Modules/lua-rapidjson/rapidjson/include/rapidjson/document.h
  26. +299 −0 Src/Modules/lua-rapidjson/rapidjson/include/rapidjson/encodedstream.h
  27. +716 −0 Src/Modules/lua-rapidjson/rapidjson/include/rapidjson/encodings.h
  28. +74 −0 Src/Modules/lua-rapidjson/rapidjson/include/rapidjson/error/en.h
  29. +161 −0 Src/Modules/lua-rapidjson/rapidjson/include/rapidjson/error/error.h
  30. +99 −0 Src/Modules/lua-rapidjson/rapidjson/include/rapidjson/filereadstream.h
  31. +104 −0 Src/Modules/lua-rapidjson/rapidjson/include/rapidjson/filewritestream.h
  32. +151 −0 Src/Modules/lua-rapidjson/rapidjson/include/rapidjson/fwd.h
  33. +290 −0 Src/Modules/lua-rapidjson/rapidjson/include/rapidjson/internal/biginteger.h
  34. +271 −0 Src/Modules/lua-rapidjson/rapidjson/include/rapidjson/internal/diyfp.h
  35. +245 −0 Src/Modules/lua-rapidjson/rapidjson/include/rapidjson/internal/dtoa.h
  36. +78 −0 Src/Modules/lua-rapidjson/rapidjson/include/rapidjson/internal/ieee754.h
  37. +308 −0 Src/Modules/lua-rapidjson/rapidjson/include/rapidjson/internal/itoa.h
  38. +186 −0 Src/Modules/lua-rapidjson/rapidjson/include/rapidjson/internal/meta.h
  39. +55 −0 Src/Modules/lua-rapidjson/rapidjson/include/rapidjson/internal/pow10.h
  40. +732 −0 Src/Modules/lua-rapidjson/rapidjson/include/rapidjson/internal/regex.h
  41. +231 −0 Src/Modules/lua-rapidjson/rapidjson/include/rapidjson/internal/stack.h
  42. +69 −0 Src/Modules/lua-rapidjson/rapidjson/include/rapidjson/internal/strfunc.h
  43. +290 −0 Src/Modules/lua-rapidjson/rapidjson/include/rapidjson/internal/strtod.h
  44. +46 −0 Src/Modules/lua-rapidjson/rapidjson/include/rapidjson/internal/swap.h
  45. +113 −0 Src/Modules/lua-rapidjson/rapidjson/include/rapidjson/istreamwrapper.h
  46. +70 −0 Src/Modules/lua-rapidjson/rapidjson/include/rapidjson/memorybuffer.h
  47. +71 −0 Src/Modules/lua-rapidjson/rapidjson/include/rapidjson/memorystream.h
  48. +316 −0 Src/Modules/lua-rapidjson/rapidjson/include/rapidjson/msinttypes/inttypes.h
  49. +300 −0 Src/Modules/lua-rapidjson/rapidjson/include/rapidjson/msinttypes/stdint.h
  50. +81 −0 Src/Modules/lua-rapidjson/rapidjson/include/rapidjson/ostreamwrapper.h
  51. +1,357 −0 Src/Modules/lua-rapidjson/rapidjson/include/rapidjson/pointer.h
  52. +277 −0 Src/Modules/lua-rapidjson/rapidjson/include/rapidjson/prettywriter.h
  53. +654 −0 Src/Modules/lua-rapidjson/rapidjson/include/rapidjson/rapidjson.h
  54. +2,230 −0 Src/Modules/lua-rapidjson/rapidjson/include/rapidjson/reader.h
  55. +2,494 −0 Src/Modules/lua-rapidjson/rapidjson/include/rapidjson/schema.h
  56. +223 −0 Src/Modules/lua-rapidjson/rapidjson/include/rapidjson/stream.h
  57. +121 −0 Src/Modules/lua-rapidjson/rapidjson/include/rapidjson/stringbuffer.h
  58. +710 −0 Src/Modules/lua-rapidjson/rapidjson/include/rapidjson/writer.h
  59. +57 −0 Src/Modules/lua-rapidjson/rapidjson/license.txt
  60. +160 −0 Src/Modules/lua-rapidjson/rapidjson/readme.md
  61. +152 −0 Src/Modules/lua-rapidjson/rapidjson/readme.zh-cn.md
  62. +192 −0 Src/Modules/lua-rapidjson/spec/Document_spec.lua
  63. +135 −0 Src/Modules/lua-rapidjson/spec/Schema_spec.lua
  64. +1 −0 Src/Modules/lua-rapidjson/spec/empty-array.json
  65. 0 Src/Modules/lua-rapidjson/spec/empty-file.json
  66. +1 −0 Src/Modules/lua-rapidjson/spec/empty-object.json
  67. +29 −0 Src/Modules/lua-rapidjson/spec/json_array_spec.lua
  68. +171 −0 Src/Modules/lua-rapidjson/spec/json_decode_spec.lua
  69. +139 −0 Src/Modules/lua-rapidjson/spec/json_dump_spec.lua
  70. +173 −0 Src/Modules/lua-rapidjson/spec/json_encode_spec.lua
  71. +248 −0 Src/Modules/lua-rapidjson/spec/json_load_spec.lua
  72. +19 −0 Src/Modules/lua-rapidjson/spec/json_null_spec.lua
  73. +29 −0 Src/Modules/lua-rapidjson/spec/json_object_spec.lua
  74. +189 −0 Src/Modules/lua-rapidjson/src/Document.cpp
  75. +121 −0 Src/Modules/lua-rapidjson/src/Schema.cpp
  76. +91 −0 Src/Modules/lua-rapidjson/src/Userdata.hpp
  77. +21 −0 Src/Modules/lua-rapidjson/src/file.hpp
  78. +91 −0 Src/Modules/lua-rapidjson/src/luax.hpp
  79. +437 −0 Src/Modules/lua-rapidjson/src/rapidjson.cpp
  80. +106 −0 Src/Modules/lua-rapidjson/src/values.cpp
  81. +244 −0 Src/Modules/lua-rapidjson/src/values.hpp
  82. +20 −0 Src/modules.jambuild/lua-rapidjson.jam
@@ -0,0 +1 @@
return {}
@@ -0,0 +1,7 @@
; Top-most EditorConfig file
root = true

; 4-column space indentation
[*.{cpp,hpp,lua}]
indent_style = tab
indent_size = 2
@@ -0,0 +1,26 @@
build/
build.luarocks/
CMakeCache.txt
Makefile
install_manifest.txt
CMakeFiles
cmake_install.cmake
json.so
json.dll
deps/
/*.src.rock
/rapidjson/test/
rapidjson/doc/
rapidjson/example/
rapidjson/bin/
rapidjson/.gitattributes
rapidjson/.gitmodules
rapidjson/.travis.yml
rapidjson/CMakeLists.txt
rapidjson/CMakeModules/FindGTestSrc.cmake
rapidjson/appveyor.yml
rapidjson/docker/debian/Dockerfile
rapidjson/include_dirs.js
rapidjson/package.json
rapidjson/rapidjson.autopkg
rapidjson/travis-doxygen.sh
@@ -0,0 +1,3 @@
files['*.rockspec'].global = false
files['.luacheckrc'].global = false
files['spec/*_spec.lua'].std = 'min+busted'
@@ -0,0 +1,51 @@
language: cpp
os: osx

sudo: false

addons:
apt:
sources:
- george-edison55-precise-backports # cmake 3.2.3 / doxygen 1.8.3
packages:
- cmake
- cmake-data
env:
global:
- LUAROCKS=2.4.1
matrix:
- LUA=5.1.5
- LUA=5.2.4
- LUA=5.3.5
- LUA=luajit-2.0.5
- LUA=luajit-2.1.0-beta3

branches:
only:
- master

before_install:
- git clone --depth 1 https://github.com/cehoffman/luaenv.git ~/.luaenv
- git clone --depth 1 https://github.com/cehoffman/lua-build.git ~/.luaenv/plugins/lua-build
- git clone --depth 1 https://github.com/xpol/luaenv-luarocks.git ~/.luaenv/plugins/luaenv-luarocks
- export PATH="$HOME/.luaenv/bin:$PATH"
- eval "$(luaenv init -)"
- luaenv install $LUA
- luaenv global $LUA
- luaenv luarocks $LUAROCKS
- luarocks install luafilesystem
- luarocks install luautf8
- luarocks install busted
- luaenv rehash

install:
- luarocks make

# Run tests
script:
- busted

notifications:
email:
on_success: change
on_failure: always
Oops, something went wrong.

0 comments on commit 640537b

Please sign in to comment.
You can’t perform that action at this time.