https://gitlab.com/nomadic-labs/data-encoding/

sort by:
Revision Author Date Message Commit Date
a41d0a4 renaming v1 src 25 April 2023, 12:10:43 UTC
8f17713 make test for v1 compile again 24 April 2023, 13:39:37 UTC
53a70c3 allows v1 to compile again 24 April 2023, 13:13:03 UTC
c5f773f Merge remote-tracking branch 'origin/data-encoding-V2' into v1 24 April 2023, 12:54:33 UTC
4dc53d9 remove old ci 24 April 2023, 12:54:24 UTC
b61da93 Move v1 files 24 April 2023, 12:53:57 UTC
6e98864 remove unwrapped libs 24 April 2023, 12:47:28 UTC
10e1fac Merge branch 'data-encoding-V2--sizability-less-encodings-in-common-interface-only' into 'data-encoding-V2' simpler interface and API for binary and buffy See merge request nomadic-labs/data-encoding!141 20 April 2023, 06:50:49 UTC
6360929 improve documentation of buffy and binary 20 April 2023, 06:17:00 UTC
1c14cf7 binary.descr consistently uses `descr` rather than `encoding` 19 April 2023, 11:32:31 UTC
6079399 simpler interface and API for binary 19 April 2023, 08:34:25 UTC
bbb4cce Merge branch 'data-encoding-V2--rename-uints' into 'data-encoding-V2' Rename all UInt into Uint See merge request nomadic-labs/data-encoding!139 17 April 2023, 15:13:23 UTC
64319f7 rename all UInt into Uint for consistency 17 April 2023, 15:11:04 UTC
ef02d9a Merge branch 'data-encoding-V2--thanks-for-the-dadaist-pep-talk' into 'data-encoding-V2' I feel much more abstract now See merge request nomadic-labs/data-encoding!135 17 April 2023, 13:26:13 UTC
89ab3c8 move reading offset tracking from buffy.r to buffy.src 17 April 2023, 12:36:45 UTC
bcbf3cb fix binary-data-encoding.w.size-header 17 April 2023, 12:36:45 UTC
d64c620 simpler and better buffy.r 17 April 2023, 12:36:45 UTC
9f5d9c4 fix suspension/stop bug in binary.read.useq 17 April 2023, 12:36:38 UTC
de12b98 move writing offset tracking from buffy.w to buffy.dst 14 April 2023, 09:53:08 UTC
9b89e3e export more atom reading/writing functions in buffy 14 April 2023, 09:52:38 UTC
bb32e13 binary.sizability simplify tupler 14 April 2023, 09:52:38 UTC
7499ed7 fix size-limit handling in binary.reader and binary.writer 14 April 2023, 09:52:32 UTC
82e1d3e Improve buffy.dst and buffy.src 12 April 2023, 14:54:36 UTC
862d32f improve documentation of binary.descr 12 April 2023, 14:54:36 UTC
8b71d59 Split binary-data-encoding modules in two tiers: public and internals 12 April 2023, 14:54:36 UTC
9256d9a Some documentation for buffy 12 April 2023, 14:54:36 UTC
0c26d4d separate destination and state in buffy.w and further code 12 April 2023, 14:54:36 UTC
837ff55 separate source and state in buffy.r and further code 12 April 2023, 14:54:36 UTC
65fd892 Merge branch 'data-encoding-V2--cruft-cleanup' into 'data-encoding-V2' remove NOTES See merge request nomadic-labs/data-encoding!137 12 April 2023, 14:49:33 UTC
e0e7d0d remove NOTES (it's a draft) 12 April 2023, 14:46:24 UTC
5a50495 Merge branch 'v1.0.0-release' into 'master' V1.0.0 release See merge request nomadic-labs/data-encoding!124 03 April 2023, 13:48:00 UTC
6275677 mark json-data-encoding conflict with data-encoding!=version 27 March 2023, 08:08:55 UTC
a025e43 remove sub-string test - it relies on behaviour of the compiler we shouldn't rely on - js-of-ocaml has a different semantic for that - it checks a property that no user should ever to rely on 17 March 2023, 16:38:17 UTC
342f514 Merge branch 'data-encoding-V2--enforce-size-kind-restrictions-as-types' into 'data-encoding-V2' Data encoding v2 enforce size kind restrictions as types See merge request nomadic-labs/data-encoding!134 17 March 2023, 09:13:38 UTC
00bea98 track sizability of encodings in the type-system directly 17 March 2023, 09:10:31 UTC
60cf42b binary test with bigger length header sizes 17 March 2023, 09:07:03 UTC
8a4bd9c binary check overflow when writing size header 17 March 2023, 09:07:03 UTC
73aae4a more json tests (better pbt coverage) 17 March 2023, 09:07:03 UTC
9790582 json support null 17 March 2023, 09:07:03 UTC
7556376 binary.read support zero-length encodings for reading 17 March 2023, 09:07:03 UTC
cfdd7ce binary tests use buffer with not pre-determined size 17 March 2023, 09:07:03 UTC
12bc78a add binary.reader.read_string 17 March 2023, 09:07:02 UTC
da99ced simplify sizability of binary encodings 17 March 2023, 09:07:02 UTC
ba92a68 sizability tests for binary data-encoding 17 March 2023, 09:07:02 UTC
bfd26b0 simplify test sampling 17 March 2023, 09:07:02 UTC
e917459 check maximum-length before suspending in chunkwriter 17 March 2023, 09:07:02 UTC
b817cd7 improve binary tests 17 March 2023, 09:07:02 UTC
1fc77b3 Merge branch 'data-encoding-V2--unions' into 'data-encoding-V2' Data encoding v2 unions See merge request nomadic-labs/data-encoding!130 08 March 2023, 08:11:01 UTC
3320d7b data-encoding has common union combinator 07 March 2023, 14:38:18 UTC
b4ce723 json and binary unions have unit-case combinator 07 March 2023, 14:37:45 UTC
3b27810 json backend special-casing unit cases of unions 07 March 2023, 14:35:19 UTC
bf8f6bd include list of cases in binary.encoding.union constructor 07 March 2023, 10:11:59 UTC
1a8bd35 json unions 07 March 2023, 10:11:59 UTC
e816b1c binary unions 07 March 2023, 10:11:59 UTC
92f19a2 mark tests with their package 06 March 2023, 15:51:20 UTC
d3978ca Bump bigstringaf minimal version This is for the availability of the js stubs. 03 March 2023, 17:27:25 UTC
33c836d Merge branch 'data-encoding-V2--update-ocamlformat-version' into 'data-encoding-V2' Data encoding v2 update ocamlformat version See merge request nomadic-labs/data-encoding!131 03 March 2023, 10:58:18 UTC
c13ad14 mark `misc/` as vendored to avoid dune reading too much into it 03 March 2023, 10:42:59 UTC
8b2aa1d meniton version in opam files to help the CI 03 March 2023, 10:34:57 UTC
d155bdf unbreak javascript tests 03 March 2023, 10:34:57 UTC
aabe464 fix some "unused value" warning 03 March 2023, 10:34:57 UTC
03c8d88 Update ocamlformat to 0.24.1 which is compatible with ocaml 5.0.0 03 March 2023, 10:21:53 UTC
509d862 Merge branch 'data-encoding-V2--JSON-actual-writers' into 'data-encoding-V2' Data encoding v2 json actual writers See merge request nomadic-labs/data-encoding!128 03 March 2023, 10:21:40 UTC
c931e82 add jsoo-related test dependencies 01 March 2023, 14:18:14 UTC
96ca7e1 ppx_expect is not (just) a test dependency 01 March 2023, 14:08:34 UTC
d2c361c mark tests with the package they belong to 01 March 2023, 10:12:25 UTC
8019f49 bump minimal requirement for dune to 3.0 01 March 2023, 10:12:07 UTC
7c15f91 remove version number from opam files 28 February 2023, 16:22:37 UTC
cc362d9 use `Stdlib.Result` to make sure it's not `result`'s `Result` 28 February 2023, 08:04:50 UTC
b8b43bb bump dependency lower-bounds in opam file Job checking the lower bounds: https://ci.ocamllabs.io/gitlab/nomadic-labs/data-encoding/commit/516dc4518bab7f93f46ff1777f538ea9c872256a/variant/%28lint-lower-bounds%29 Output (excerpt): The following actions will be performed: - install conf-gmp 1 - install conf-m4 1 - install jbuilder 1.0+beta20.1 - install result 1.0 - install ocamlbuild 0.14.0 - install dune 2.0.1 - install conf-perl 1 - install conf-which 1 - install ocamlfind 1.8.1 - install ppx_derivers 1.0 - install ocaml-compiler-libs v0.11.0 - install bigstringaf 0.1.0 - install uchar 0.0.2 - install zarith_stubs_js v0.12.0 - install sexplib0 v0.13.0 - install seq 0.2.2 - install either 1.0.0 - install dune-private-libs 2.0.1 - install zarith 1.4 - install topkg 0.8.1 - install num 1.0 - install easy-format 1.0.1 - install base-bytes base - install ocaml-migrate-parsetree 1.5.0 - install re 1.8.0 - install dune-configurator 2.0.1 - install cmdliner 1.0.0 - install afl-persistent 1.1 - install biniou 1.2.0 - install stringext 1.4.0 - install omd 1.3.1 - install cppo 1.6.1 - install astring 0.8.2 - install ppx_tools_versioned 5.2.3 - install base v0.13.1 - install uutf 1.0.1 - install fmt 0.8.0 - install md2mld 0.2.0 - install yojson 1.5.0 - install ocplib-endian 1.0 - install variantslib v0.13.0 - install stdio v0.13.0 - install parsexp v0.13.0 - install fieldslib v0.13.0 - install jsonm 1.0.1 - install alcotest 0.8.0 - install js_of_ocaml-compiler 3.5.2 - install crowbar 0.2 - install ppxlib 0.12.0 - install sexplib v0.13.0 - install js_of_ocaml 3.5.2 - install ppx_variants_conv v0.13.0 - install ppx_sexp_conv v0.13.0 - install ppx_inline_test v0.13.0 - install ppx_here v0.13.0 - install ppx_fields_conv v0.13.0 - install ppx_compare v0.13.0 - install ppx_cold v0.13.0 - install cstruct 3.0.0 - install uri 1.9.5 - install ppx_custom_printf v0.13.0 - install ppx_hash v0.13.0 - install ppx_assert v0.13.0 - install hex 1.3.0 - install ppx_expect v0.13.0 - install ezjsonm 0.5.0 […] ocamlc src/.data_encoding.objs/byte/data_encoding__Binary_slicer.{cmo,cmt} (exit 2) (cd _build/default && /home/opam/.opam/4.10/bin/ocamlc.opt […]) File "src/binary_slicer.ml", line 306, characters 41-62: 306 | ~pp:(fun b -> Format.sprintf "%S" (Bigstringaf.to_string b)) ^^^^^^^^^^^^^^^^^^^^^ Error: Unbound value Bigstringaf.to_string Hint: Did you mean of_string? ocamlopt src/.data_encoding.objs/native/data_encoding__Binary_slicer.{cmx,o} (exit 2) (cd _build/default && /home/opam/.opam/4.10/bin/ocamlopt.opt […]) File "src/binary_slicer.ml", line 306, characters 41-62: 306 | ~pp:(fun b -> Format.sprintf "%S" (Bigstringaf.to_string b)) ^^^^^^^^^^^^^^^^^^^^^ Error: Unbound value Bigstringaf.to_string Hint: Did you mean of_string? ocamlc src/.data_encoding.objs/byte/data_encoding__Binary_writer.{cmo,cmt} (exit 2) (cd _build/default && /home/opam/.opam/4.10/bin/ocamlc.opt […]) File "src/binary_writer.ml", line 227, characters 4-29: 227 | Bigstringaf.blit_to_bytes s ~src_off:0 state.buffer ~dst_off:ofs ~len:length ^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Unbound value Bigstringaf.blit_to_bytes ocamlopt src/.data_encoding.objs/native/data_encoding__Binary_writer.{cmx,o} (exit 2) (cd _build/default && /home/opam/.opam/4.10/bin/ocamlopt.opt […]) File "src/binary_writer.ml", line 227, characters 4-29: 227 | Bigstringaf.blit_to_bytes s ~src_off:0 state.buffer ~dst_off:ofs ~len:length ^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Unbound value Bigstringaf.blit_to_bytes ocamlopt src/.data_encoding.objs/native/data_encoding__Binary_stream_reader.{cmx,o} (exit 2) (cd _build/default && /home/opam/.opam/4.10/bin/ocamlopt.opt […]) File "src/binary_stream_reader.ml", line 286, characters 4-31: 286 | Bigstringaf.blit_from_bytes buf ~src_off:ofs b ~dst_off:0 ~len:length ; ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Unbound value Bigstringaf.blit_from_bytes ocamlc src/.data_encoding.objs/byte/data_encoding__Binary_stream_reader.{cmo,cmt} (exit 2) (cd _build/default && /home/opam/.opam/4.10/bin/ocamlc.opt […]) File "src/binary_stream_reader.ml", line 286, characters 4-31: 286 | Bigstringaf.blit_from_bytes buf ~src_off:ofs b ~dst_off:0 ~len:length ; ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Unbound value Bigstringaf.blit_from_bytes ocamlopt src/.data_encoding.objs/native/data_encoding__Binary_length.{cmx,o} File "_none_", line 1: Warning 58: no cmx file was found in path for module Z, and its interface was not compiled with -opaque ocamlopt src/.data_encoding.objs/native/data_encoding__Binary_reader.{cmx,o} File "_none_", line 1: Warning 58: no cmx file was found in path for module Z, and its interface was not compiled with -opaque ocamlc src/.data_encoding.objs/byte/data_encoding__Json.{cmo,cmt} (exit 2) (cd _build/default && /home/opam/.opam/4.10/bin/ocamlc.opt […]) File "src/json.ml", line 322, characters 14-35: 322 | Bigstringaf.to_string ^^^^^^^^^^^^^^^^^^^^^ Error: Unbound value Bigstringaf.to_string Hint: Did you mean of_string? ocamlopt src/.data_encoding.objs/native/data_encoding__Json.{cmx,o} (exit 2) (cd _build/default && /home/opam/.opam/4.10/bin/ocamlopt.opt […]) File "src/json.ml", line 322, characters 14-35: 322 | Bigstringaf.to_string ^^^^^^^^^^^^^^^^^^^^^ Error: Unbound value Bigstringaf.to_string Hint: Did you mean of_string? ocamlc src/.data_encoding.objs/byte/data_encoding__V1.{cmo,cmt} (exit 2) (cd _build/default && /home/opam/.opam/4.10/bin/ocamlc.opt […]) File "src/v1.ml", line 185, characters 14-35: 185 | Bigstringaf.to_string s) ^^^^^^^^^^^^^^^^^^^^^ Error: Unbound value Bigstringaf.to_string Hint: Did you mean of_string? ocamlopt src/.data_encoding.objs/native/data_encoding__V1.{cmx,o} (exit 2) (cd _build/default && /home/opam/.opam/4.10/bin/ocamlopt.opt […]) File "src/v1.ml", line 185, characters 14-35: 185 | Bigstringaf.to_string s) ^^^^^^^^^^^^^^^^^^^^^ Error: Unbound value Bigstringaf.to_string Hint: Did you mean of_string? ocamlc test/.test.eobjs/byte/dune__exe__Guarded_conv.{cmi,cmo,cmt} (exit 2) (cd _build/default && /home/opam/.opam/4.10/bin/ocamlc.opt […]) File "test/guarded_conv.ml", line 62, characters 10-22: 62 | assert (Result.is_ok s) ; ^^^^^^^^^^^^ Error: Unbound value Result.is_ok ocamlc test/.test.eobjs/byte/dune__exe__Guarded_decode.{cmi,cmo,cmt} (exit 2) (cd _build/default && /home/opam/.opam/4.10/bin/ocamlc.opt […]) File "test/guarded_decode.ml", line 60, characters 10-22: 60 | assert (Result.is_ok s) ; ^^^^^^^^^^^^ Error: Unbound value Result.is_ok ocamlc test/.test.eobjs/byte/dune__exe__Helpers.{cmi,cmo,cmt} (exit 2) (cd _build/default && /home/opam/.opam/4.10/bin/ocamlc.opt […]) File "test/helpers.ml", line 57, characters 6-20: 57 | Alcotest.failf ^^^^^^^^^^^^^^ Error: Unbound value Alcotest.failf Hint: Did you mean fail? ocamlc test/.test.eobjs/byte/dune__exe__Registrationed.{cmi,cmo,cmt} (exit 2) (cd _build/default && /home/opam/.opam/4.10/bin/ocamlc.opt […]) File "test/registrationed.ml", line 40, characters 12-26: 40 | | None -> Alcotest.failf "Could not find %s" id ^^^^^^^^^^^^^^ Error: Unbound value Alcotest.failf Hint: Did you mean fail? ocamlc test/.test.eobjs/byte/dune__exe__Slice_test.{cmi,cmo,cmt} (exit 2) (cd _build/default && /home/opam/.opam/4.10/bin/ocamlc.opt […]) File "test/slice_test.ml", line 296, characters 11-25: 296 | else Alcotest.failf "Unexpected slicintg result %s /= %s" pretty_printed r ^^^^^^^^^^^^^^ Error: Unbound value Alcotest.failf Hint: Did you mean fail? ocamlc test/expect/.data_encoding_expect_tests.objs/byte/data_encoding_expect_tests__Bigstr.{cmi,cmo,cmt} (exit 2) (cd _build/default && /home/opam/.opam/4.10/bin/ocamlc.opt […]) File "test/expect/bigstr.ml", line 30, characters 12-35: 30 | let res = Ezjsonm.value_to_string json in ^^^^^^^^^^^^^^^^^^^^^^^ Error: Unbound value Ezjsonm.value_to_string ocamlc test/expect/.data_encoding_expect_tests.objs/byte/data_encoding_expect_tests__Stringbytes.{cmi,cmo,cmt} (exit 2) (cd _build/default && /home/opam/.opam/4.10/bin/ocamlc.opt […]) File "test/expect/stringbytes.ml", line 30, characters 12-35: 30 | let res = Ezjsonm.value_to_string json in ^^^^^^^^^^^^^^^^^^^^^^^ Error: Unbound value Ezjsonm.value_to_string ocamlopt src/.data_encoding.objs/native/data_encoding__Encoding.{cmx,o} File "_none_", line 1: Warning 58: no cmx file was found in path for module Z, and its interface was not compiled with -opaque ocamlc test/.test.eobjs/byte/dune__exe__Write_failure.{cmi,cmo,cmt} (exit 2) (cd _build/default && /home/opam/.opam/4.10/bin/ocamlc.opt […]) File "test/write_failure.ml", line 35, characters 6-20: 35 | Alcotest.failf "Unexpected exception: %s." (Printexc.to_string exn) ^^^^^^^^^^^^^^ Error: Unbound value Alcotest.failf Hint: Did you mean fail? ocamlopt test/.test.eobjs/native/dune__exe__Uint_like_n.{cmx,o} File "_none_", line 1: Warning 58: no cmx file was found in path for module Z, and its interface was not compiled with -opaque ocamlopt test/.test.eobjs/native/dune__exe__Int_like_z.{cmx,o} File "_none_", line 1: Warning 58: no cmx file was found in path for module Z, and its interface was not compiled with -opaque ocamlc test/pbt/.test_generated.eobjs/byte/dune__exe__Generators.{cmi,cmo,cmt} (exit 2) (cd _build/default && /home/opam/.opam/4.10/bin/ocamlc.opt […]) File "test/pbt/generators.ml", line 792, characters 9-27: 792 | && Bigstringaf.memcmp a 0 b 0 (Bigstringaf.length a) = 0 ^^^^^^^^^^^^^^^^^^ Error: Unbound value Bigstringaf.memcmp ocamlopt test/.test.eobjs/native/dune__exe__Types.{cmx,o} File "_none_", line 1: Warning 58: no cmx file was found in path for module Z, and its interface was not compiled with -opaque ocamlopt test/expect/.data_encoding_expect_tests.objs/native/data_encoding_expect_tests__Base.{cmx,o} File "_none_", line 1: Warning 58: no cmx file was found in path for module Z, and its interface was not compiled with -opaque 28 February 2023, 07:59:59 UTC
516dc45 CI: also test on 5.0.0 27 February 2023, 13:36:22 UTC
a42c9be Update ocamlformat (for compatibility with ocaml5) 27 February 2023, 13:31:49 UTC
6f4d6c5 bump gitlab ocaml version to 4.14.1 27 February 2023, 13:14:15 UTC
349449d Make data-encoding versioned 27 February 2023, 09:19:45 UTC
dea7897 buffy: some docs and some TODO 23 February 2023, 15:13:56 UTC
cea7aab improve naming of stop hints in buffy.read 23 February 2023, 14:48:24 UTC
8eb50ec Avoid holding onto preceeding dest in buffy.writing suspension 23 February 2023, 10:10:25 UTC
b6916be harden stop management in buffy.read 23 February 2023, 09:36:36 UTC
9a59ecc more expect tests in buffy.read 21 February 2023, 14:52:25 UTC
de382f1 expect tests and assert checks in buffy.read 21 February 2023, 09:43:06 UTC
df9bf0c fix error messages in buffy.reading 21 February 2023, 09:43:06 UTC
16033ef buffy.reading.stops documentation and fixes 21 February 2023, 09:43:06 UTC
928ec6d buffy support utf8char 21 February 2023, 09:43:06 UTC
04f6ad6 improve buffy and json reader 21 February 2023, 09:43:06 UTC
6a9cbd6 rename buffy.r.read1 into buffy.r.readf 15 February 2023, 19:10:41 UTC
0f93c91 json: support multiple representations, split backend, improvements 13 February 2023, 17:29:01 UTC
bf24d3f Rename suspendable-buffers into buffy and unopen it 13 February 2023, 10:04:26 UTC
6386f7c Better suspendable.writer with better uses in binary and json 10 February 2023, 14:41:48 UTC
0f33211 JSON.backend documentation 10 February 2023, 10:11:51 UTC
3d51d46 json.backend allow serialising to suspendable buffers 09 February 2023, 15:12:56 UTC
aa5bc37 json-data-encoding.Backend.construct_lexeme to construct lexeme sequence 09 February 2023, 09:05:44 UTC
8f74b65 json-data-encoding.PP.lexemes fix comma management in objects 09 February 2023, 09:03:53 UTC
5f15b79 Move buffer management into its own library These buffers will be used to make stringification functions in the JSON side of the data-encoding library. 09 February 2023, 08:25:38 UTC
44cde06 json.PP support lexeme seqeuence pretty-printing 09 February 2023, 08:25:38 UTC
5b5a339 json.parsing+lexing 09 February 2023, 08:25:38 UTC
f1a86a8 Update generated opam files 09 February 2023, 08:25:38 UTC
69d91b7 Remove duplicate PBT test 09 February 2023, 08:25:38 UTC
7aa9958 synchronise gitlab-ci and dune-project 09 February 2023, 08:25:38 UTC
9fe8b10 gitlab-ci: allow schedules in workflow 09 February 2023, 08:25:38 UTC
3b620b9 More predictible sampling of PBT tests 09 February 2023, 08:25:38 UTC
back to top