yeptris 0.6.18.2-arm-linux-eabihf → 0.6.20.1-arm-linux-eabihf

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/ext/build_windows_native.rb +31 -12
  3. data/lib/yeptris/3.4/native.so +0 -0
  4. data/lib/yeptris/materializer.rb +12 -11
  5. data/lib/yeptris/psych/handler.rb +5 -0
  6. data/lib/yeptris/psych/parser.rb +8 -3
  7. data/lib/yeptris/psych/tree_builder.rb +119 -0
  8. data/lib/yeptris/psych.rb +4 -0
  9. data/lib/yeptris.rb +15 -11
  10. data/libyeptris.so +0 -0
  11. data/vendor/libyeptris/CMakeLists.txt +1 -1
  12. data/vendor/libyeptris/src/CMakeLists.txt +1 -0
  13. data/vendor/libyeptris/src/include/yeptris/events.h +8 -1
  14. data/vendor/libyeptris/src/yeptris/cbor/decode.c +1 -0
  15. data/vendor/libyeptris/src/yeptris/common/simd_text.h +47 -13
  16. data/vendor/libyeptris/src/yeptris/common/simd_text_avx2.c +86 -8
  17. data/vendor/libyeptris/src/yeptris/common/simd_text_neon.c +82 -8
  18. data/vendor/libyeptris/src/yeptris/common/simd_text_scalar.c +10 -6
  19. data/vendor/libyeptris/src/yeptris/doc.h +8 -4
  20. data/vendor/libyeptris/src/yeptris/dom/ytape.c +640 -0
  21. data/vendor/libyeptris/src/yeptris/dom/ytape.h +77 -0
  22. data/vendor/libyeptris/src/yeptris/emit/writer.c +7 -2
  23. data/vendor/libyeptris/src/yeptris/events/capture.c +5 -1
  24. data/vendor/libyeptris/src/yeptris/parse/engine.c +150 -3
  25. data/vendor/libyeptris/src/yeptris/parse/events.h +6 -0
  26. data/vendor/libyeptris/src/yeptris/parse.c +144 -42
  27. data/vendor/libyeptris/src/yeptris/scan/json.c +43 -5
  28. data/vendor/libyeptris/src/yeptris/scan/json.h +9 -2
  29. data/vendor/libyeptris/src/yeptris/tape.c +539 -163
  30. data/vendor/libyeptris/src/yeptris/tape_in.h +12 -0
  31. metadata +5 -2
  32. data/lib/yeptris/native-3.4.so +0 -0
@@ -10,10 +10,22 @@
10
10
 
11
11
  #include <stddef.h>
12
12
 
13
+ #include <yeptris/parse.h>
13
14
  #include <yeptris/tape.h>
14
15
 
15
16
  /* tape.c (was tape_walk_lnt_fused) */
16
17
  YeptrisStatus yep_tape_walk_lenient_fused(const char* p, size_t len, size_t open,
17
18
  yeptris_json_tape* t);
18
19
 
20
+ /* parse.c (#378 slice 1): the YAML parse carrying the packed record
21
+ * tape — the tree materializes on first access (yep_doc_dom). */
22
+ #ifdef __cplusplus
23
+ extern "C" {
24
+ #endif
25
+ YeptrisDocument yeptris_parse_ytape_ex(const char* buf, size_t len, const YeptrisParseOptions* opts,
26
+ YeptrisStatus* status);
27
+ #ifdef __cplusplus
28
+ }
29
+ #endif
30
+
19
31
  #endif
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yeptris
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.18.2
4
+ version: 0.6.20.1
5
5
  platform: arm-linux-eabihf
6
6
  authors:
7
7
  - Ribose Inc.
@@ -40,13 +40,13 @@ files:
40
40
  - ext/yeptris_native/json_ruby.c
41
41
  - ext/yeptris_native/yeptris_native.c
42
42
  - lib/yeptris.rb
43
+ - lib/yeptris/3.4/native.so
43
44
  - lib/yeptris/cbor.rb
44
45
  - lib/yeptris/document.rb
45
46
  - lib/yeptris/ffi.rb
46
47
  - lib/yeptris/json.rb
47
48
  - lib/yeptris/json/descriptor.rb
48
49
  - lib/yeptris/materializer.rb
49
- - lib/yeptris/native-3.4.so
50
50
  - lib/yeptris/node.rb
51
51
  - lib/yeptris/psych.rb
52
52
  - lib/yeptris/psych/class_loader.rb
@@ -56,6 +56,7 @@ files:
56
56
  - lib/yeptris/psych/handler.rb
57
57
  - lib/yeptris/psych/parser.rb
58
58
  - lib/yeptris/psych/scalar_scanner.rb
59
+ - lib/yeptris/psych/tree_builder.rb
59
60
  - lib/yeptris/psych/visitors.rb
60
61
  - lib/yeptris/schema.rb
61
62
  - lib/yeptris/valueml.rb
@@ -116,6 +117,8 @@ files:
116
117
  - vendor/libyeptris/src/yeptris/dom/mapindex.c
117
118
  - vendor/libyeptris/src/yeptris/dom/mapindex.h
118
119
  - vendor/libyeptris/src/yeptris/dom/mutate.c
120
+ - vendor/libyeptris/src/yeptris/dom/ytape.c
121
+ - vendor/libyeptris/src/yeptris/dom/ytape.h
119
122
  - vendor/libyeptris/src/yeptris/emit/emit.c
120
123
  - vendor/libyeptris/src/yeptris/emit/float/api.h
121
124
  - vendor/libyeptris/src/yeptris/emit/float/dragon.c
Binary file