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

sort by:
Revision Author Date Message Commit Date
f465a17 Merge branch 'mehdi@tail-rec-write' into 'master' Binary_write: tailrec-ify write_rec See merge request nomadic-labs/data-encoding!51 07 September 2021, 20:25:51 UTC
bed7f8b Merge branch 'include_default_fields' into 'master' Json.construct: add optional argument include_default_fields See merge request nomadic-labs/data-encoding!52 06 September 2021, 07:51:26 UTC
8b6c854 Json.construct: add optional argument include_default_fields This argument is directly passed on to Json_encoding.construct 06 September 2021, 07:33:49 UTC
1c073b8 Merge branch 'phantom-ref-fix' into 'master' bugfix: add final fixup to toplevel in describe See merge request nomadic-labs/data-encoding!53 03 August 2021, 10:48:06 UTC
439f304 Simplify ref test 03 August 2021, 10:34:03 UTC
afe9ce1 More precise comments in ref test (Remove mentions of "types") 03 August 2021, 10:34:03 UTC
dc5c236 Test: combines mu_phantom and inline_phantom Unifies structurally similar test modules mu_phantom and inline_phantom (both novel to this MR) into reference_check, which exposes them as sub-modules using a common set of helper definitions to avoid code duplication. Also documents the purpose of the helper functions, and the specific bugs that the two sub-modules are designed to prove the correction of. 03 August 2021, 10:34:03 UTC
4ebba3a Tests: add tests to prevent recurrence of bug Adds test modules `mu_phantom` and `inline_phantom` that respectively ensure that the toplevel type contains no dangling references. 03 August 2021, 10:34:03 UTC
22345a3 bugfix: add final fixup to toplevel in describe Fixes two related bugs (issues #30 and #32) in which dangling references were preserved in the toplevel of an encoding even after the types they referred to were renamed or pruned. 03 August 2021, 10:34:03 UTC
ab152bb Merge branch 'sir4ur0n/feat/exposeBinaryStreamT' into 'master' Add Binary_stream.t to public API See merge request nomadic-labs/data-encoding!54 02 August 2021, 09:38:38 UTC
fd82a6d document Binary.read_stream 02 August 2021, 09:24:36 UTC
3483980 Add Binary_stream.[t|is_empty] to public API 29 July 2021, 15:30:49 UTC
6be6afe Binary_write: tailrec-ify write_rec 24 June 2021, 18:18:09 UTC
ddc6827 Merge branch 'test-412-in-CI' into 'master' Add 4.12 tests in the CI See merge request nomadic-labs/data-encoding!47 15 June 2021, 15:56:20 UTC
57244fc Update ocamlformat version, autoformat Note that ocamlformat.0.15.0 is not compatible with ocaml.4.12 15 June 2021, 15:10:52 UTC
bb0aec8 Add 4.12 tests in the CI 02 June 2021, 16:36:35 UTC
84afe98 Merge branch 'prepare-for-v0.4' into 'master' Release v0.4 See merge request nomadic-labs/data-encoding!46 02 June 2021, 11:28:48 UTC
57cfc11 opam file fixes From @kit-ty-kate See https://github.com/ocaml/opam-repository/pull/18776 02 June 2021, 11:15:27 UTC
9532815 Mention some missing changes in CHANGES 02 June 2021, 05:55:26 UTC
97a338c Merge branch 'fix-28' into 'master' Check bounds on int31 Closes #28 See merge request nomadic-labs/data-encoding!45 01 June 2021, 16:48:46 UTC
52b1519 test int31 rejection of out-of-bounds values 01 June 2021, 09:53:05 UTC
853eaf6 Check bounds on int31 Fixes #28 01 June 2021, 08:11:13 UTC
0185bbe Merge branch 'support-for-user-invariants' into 'master' Support for user invariants Closes #14 and #9 See merge request nomadic-labs/data-encoding!43 28 May 2021, 14:37:49 UTC
15c3363 Fix code comments in binary readers 28 May 2021, 09:44:32 UTC
4b8391e Fix typos in documentation 28 May 2021, 09:42:49 UTC
73e86ec Do less catching (uses tiered exceptions (Local_read_error/Read_error)) 26 May 2021, 08:08:21 UTC
ad5821f Document read-errors (and remove dead constructor) 24 May 2021, 15:16:39 UTC
876f093 Tests for with_decoding_guard 21 May 2021, 09:37:18 UTC
fc15201 Minor rename of user-invariant encodings 21 May 2021, 09:37:14 UTC
42fab55 Merge branch 'encoding-docs' into 'master' Document some of the encoding constructors See merge request nomadic-labs/data-encoding!40 21 May 2021, 09:27:42 UTC
a2e12f1 fixup! Catch exceptions raised by user-provided functions 21 May 2021, 09:26:45 UTC
f9b6214 Fix comments in guard test 21 May 2021, 09:26:45 UTC
99b2622 Exception catching factorisation in binary decoders/encoders 21 May 2021, 09:26:45 UTC
d74afe4 Add with_decoding_guard 21 May 2021, 09:26:45 UTC
6936753 Special-case SO/OOM in other files 21 May 2021, 09:26:45 UTC
bc77cc4 fixup! More specific error from conv_guard 21 May 2021, 09:26:45 UTC
f01af98 More specific error from conv_guard 21 May 2021, 09:26:45 UTC
368a48f Provide a guarded conv to help user handle invariants 21 May 2021, 09:26:41 UTC
e21772e Catch exceptions raised by user-provided functions 21 May 2021, 09:25:16 UTC
6932288 add dune-workspace Necessary for `dune build @fmt` to stay local 21 May 2021, 09:10:04 UTC
c0189bd Document some of the encoding constructors 21 May 2021, 09:09:48 UTC
f67cb75 Merge branch 'slice' into 'master' Add binary slicing feature See merge request nomadic-labs/data-encoding!42 18 May 2021, 09:30:54 UTC
c80e772 Avoid catching runtime exception in registration slicer 18 May 2021, 09:16:58 UTC
f6875cb Export Slicer as a module (not as an include) 18 May 2021, 09:16:58 UTC
8f7ea0a Fix formatting 18 May 2021, 09:16:58 UTC
b4a516c Slicer: improve comments 18 May 2021, 09:16:58 UTC
c1df6c1 Cleaner interface for slicer 18 May 2021, 09:16:58 UTC
a654be0 Slicer: comments, renaming and minor code aesthetics 18 May 2021, 09:16:58 UTC
79d4275 Slicer: pass optional (rather than possibly empty) name around 18 May 2021, 09:16:58 UTC
2eacb86 Remove unused test file 17 May 2021, 09:50:15 UTC
547413b Add slicing tests Co-authored-by: hernouf@yandex.ru 17 May 2021, 09:50:15 UTC
53e0b4c Link slicing with registration Co-authored-by: hernouf@yandex.ru 17 May 2021, 09:50:15 UTC
51c2a9a Link slicing with data_encoding Co-authored-by: hernouf@yandex.ru 17 May 2021, 09:50:15 UTC
40e5f92 Add binary slicing feature Co-authored-by: hernouf@yandex.ru 17 May 2021, 09:50:15 UTC
9a1e364 Document integers better 09 March 2021, 08:43:28 UTC
34330d1 Using @gasche's basic CI config 17 February 2021, 13:00:30 UTC
b752d3d Separate benchmarks from tests 17 February 2021, 13:00:03 UTC
01cc025 Update ocamlformat and format 17 February 2021, 12:58:47 UTC
137219a Improve description of N and Z encodings 17 February 2021, 09:39:25 UTC
14b249b Add test for sub-string tampering safety 17 February 2021, 08:03:58 UTC
e68e79c Improve documentation of Binary.read 16 February 2021, 14:24:35 UTC
9fb13fd Fix json schema of Bytes 16 February 2021, 09:46:17 UTC
ec00948 Fix dune constraint upstreaming https://github.com/ocaml/opam-repository/pull/18078/commits/02f61426e730673db4eba22f9fb2f8c4a2d11ffc 03 February 2021, 15:16:53 UTC
23139a5 Fix more 32 bit compatibility in tests 03 February 2021, 11:43:11 UTC
a00eb9f Tests: 32-bit arch compatibility 03 February 2021, 10:10:46 UTC
5e3d772 update CHANGES for 0.3 release 03 February 2021, 08:37:49 UTC
28b1113 Test dedicated to check_size 02 February 2021, 15:28:20 UTC
049d97b maximum_length, fixed_length: improved documentation 02 February 2021, 14:53:29 UTC
a8b396a Binary.maximum_length 02 February 2021, 14:43:37 UTC
ad1ed4a Do not export unsafe value from encoding 02 February 2021, 13:55:02 UTC
6ea8e8d Simplify test boilerplate and expand test coverage 02 February 2021, 13:55:02 UTC
934cb3f Autoformatting 02 February 2021, 13:54:42 UTC
3a1296c Tests: better split and bigger coverage 02 February 2021, 13:54:42 UTC
2e45d6f Remove legacy union from source, move legacy test in test 02 February 2021, 13:54:42 UTC
3d7c735 Test for binary compatibility with legacy result 02 February 2021, 13:54:42 UTC
5dc1757 New result encoding - legacy encoding still available 02 February 2021, 13:54:26 UTC
7765e9e Use newer crowbar to test more 01 February 2021, 08:17:36 UTC
564a1f6 Bump dune-lang version 29 January 2021, 15:32:16 UTC
b35d497 Add converter from Json-lexeme-sequence to String-sequence Specifically, add three different variants with different intended uses. 29 January 2021, 15:32:13 UTC
ee85222 Adapt to newer json-data-encoding 29 January 2021, 15:29:08 UTC
64c2578 Expand tests to cover new string conversions 29 January 2021, 13:37:40 UTC
77aceda Provide `of_string` alongside `of_bytes` 29 January 2021, 13:35:33 UTC
fa2fe62 Provide `to_string` alongside `to_bytes` 29 January 2021, 13:22:04 UTC
10643b4 Build: pass -no-assert when building in release profile 29 January 2021, 11:19:57 UTC
e63484e Increase test coverage Specifically, focus on functions that have assertion checks - test lower-level binary backend (write) - test unions more - test check-size 29 January 2021, 11:19:50 UTC
dfd7a16 Bugfix: allow state to be exact minimal size 29 January 2021, 11:19:44 UTC
d07bf9d Optimize binary encoding of unions 29 January 2021, 11:14:32 UTC
c9ad487 Optimize allowed_bytes representation Signed-off-by: Yann Regis-Gianas <yann@nomadic-labs.com> 25 January 2021, 08:57:11 UTC
81bfdba Update LICENSE years 19 January 2021, 09:16:32 UTC
e7667ce Encoding: push assertions higher in the call graph when checking unions fail as early as possible 08 January 2021, 09:48:09 UTC
4d00663 Optimize binary decoder for unions Signed-off-by: Yann Regis-Gianas <yann@nomadic-labs.com> 08 January 2021, 09:48:02 UTC
5bc6e0e Memoize fix applications in Mu Co-authored-by: Raphaël Proust <code@bnwr.net> Signed-off-by: Yann Regis-Gianas <yann@nomadic-labs.com> 08 January 2021, 09:56:13 UTC
0897439 Update README.md 06 January 2021, 13:03:54 UTC
5e14f1f CI: use cache also for tests 06 January 2021, 12:30:01 UTC
7788b95 Remove temporary comment-out 06 January 2021, 12:21:46 UTC
2334f73 test 06 January 2021, 11:28:45 UTC
f04780c change .gitlab-ci to generate public accessible doc 06 January 2021, 11:28:45 UTC
a4083f0 Encoding.check_cases: Turn a quadratic complexity into a linear one Signed-off-by: Yann Regis-Gianas <yann@nomadic-labs.com> 06 January 2021, 08:06:52 UTC
2c2b795 Fixed comment placement 16 July 2020, 14:54:03 UTC
4ec152c Fix swapped Array/List_too_long errors in binary_reader 30 April 2020, 07:29:16 UTC
back to top