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

sort by:
Revision Author Date Message Commit Date
79d0e63 Merge branch 'export-all-type-equalities-when-including-encoding' into 'master' export all type and module equalities when including Encoding See merge request nomadic-labs/data-encoding!106 20 September 2022, 14:10:10 UTC
737eb32 export all type and module equalities when including Encoding 20 September 2022, 13:50:48 UTC
db56bce Merge branch 'avoid-duplicate-pipelines' into 'master' Avoid running a pipeline for the MR and one for the branch See merge request nomadic-labs/data-encoding!107 20 September 2022, 10:00:05 UTC
0e47d50 Avoid running a pipeline for the MR and one for the branch Use official recommendations from https://docs.gitlab.com/ee/ci/yaml/workflow.html#switch-between-branch-pipelines-and-merge-request-pipelines 20 September 2022, 09:57:11 UTC
c507b33 Merge branch 'fix-bug' into 'master' Small refactoring and bug fix. See merge request nomadic-labs/data-encoding!104 20 September 2022, 09:13:07 UTC
36af670 Refactoring: small renaming 20 September 2022, 09:09:50 UTC
ab227c7 Test: expose bug with stream read 20 September 2022, 08:55:18 UTC
fed3434 Merge branch 'ci-fmt' into 'master' CI checks doc and fmt in a dedicated job See merge request nomadic-labs/data-encoding!105 20 September 2022, 08:30:20 UTC
9f5e7f7 new job for fmt and doc 15 September 2022, 12:37:10 UTC
e5ed296 Merge branch 'hsaito@list_with_length' into 'master' Use List.length for the prefix of a list in binary encoding instead of byte length See merge request nomadic-labs/data-encoding!94 14 September 2022, 15:55:17 UTC
08541ad Add array_with_length and list_with_length: with length headers Co-authored-by: Raphaël Proust <code@bnwr.net> 14 September 2022, 15:42:46 UTC
a9d7ab4 Fix Binary_stream_reader.read_fixed_list Fixed.list may have raised error in remaining_bytes 14 September 2022, 15:35:26 UTC
d8ebedf Merge branch 'length-should-fail-if-write-would-fail-too' into 'master' Length should fail if write would fail too See merge request nomadic-labs/data-encoding!101 14 September 2022, 13:53:44 UTC
f35a7d1 add PBT generators for more dyn and checksize 14 September 2022, 13:09:58 UTC
bd713ac Provide res variant of exn-raising length function 14 September 2022, 13:03:21 UTC
e89f38a Tighter maximum-length bound based on dynamic-size header size 14 September 2022, 13:00:19 UTC
c4ce0d1 Use binding operators rather than custom infixes in binary-legnth 14 September 2022, 13:00:13 UTC
afff868 Check dynamic-size overflow when computing binary-size 14 September 2022, 12:31:24 UTC
90a9d53 Merge branch 'hhugo-bytes-strings' into 'master' New combinator to control the json encoding of bytes and strings See merge request nomadic-labs/data-encoding!98 07 September 2022, 14:55:26 UTC
2f60fff Mention new combinators in tutorial 07 September 2022, 13:41:38 UTC
ba62c94 New combinator to control the json encoding of bytes and strings 07 September 2022, 13:41:38 UTC
15e68ff Add expect test (regression) for string and bytes 07 September 2022, 13:41:38 UTC
36601e8 Merge branch 'add-uint-as-n-encoding' into 'master' Add uint as n encoding See merge request nomadic-labs/data-encoding!97 07 September 2022, 10:27:58 UTC
b8a0211 Tweak int-like impelementation 07 September 2022, 10:13:12 UTC
5839902 Allow min_value = max_value in int-like combinators 06 September 2022, 15:54:33 UTC
f75cd7b Rename leftover "as" to "like" 06 September 2022, 15:26:35 UTC
88e39a7 Generalise negative test for int-like using `Sys.int_size` 06 September 2022, 15:26:35 UTC
71161f3 Fix documentation errors 06 September 2022, 15:26:35 UTC
66c77e9 give name to intermediate values in int-like combinator implementation 06 September 2022, 15:26:35 UTC
a5e3236 int-like encodings: move optional bound logic to a single place 06 September 2022, 13:53:49 UTC
709f560 JSON's int-like-* is now as strict as binary's w.r.t. bounds 06 September 2022, 12:28:55 UTC
09604ed Fix sizing of `int_as_n` (and improve code) 06 September 2022, 10:01:49 UTC
d556b1f Factor int_like_z and uint_like_n code 06 September 2022, 09:22:33 UTC
20c5bc6 Less in-line constants, more predefined values 06 September 2022, 09:17:11 UTC
0f9e126 Add entries for uint_like_n and int_like_z to the tutorial 01 September 2022, 14:30:38 UTC
82290cb Rename uint_as_n and int_as_z into uint_like_n and int_like_z 01 September 2022, 14:02:54 UTC
7256407 Comment lack of is-positive check in `uint_as_n` code 31 August 2022, 15:47:47 UTC
3dc4b67 Add expect tests for int_as_z and uint_as_n 31 August 2022, 15:36:15 UTC
f38f108 Simplify checks for uint_as_n and int_as_z 31 August 2022, 14:28:26 UTC
f682060 Improve test diagnostics for int-as-z 31 August 2022, 12:39:30 UTC
70a797a Add int-as-z encoding 31 August 2022, 10:19:11 UTC
05008fd Add `uint30_as_n` encoding 31 August 2022, 09:33:26 UTC
603b5d9 Merge branch 'fix-check-size-on-negative-inputs' into 'master' Handle negative size limits with Invalid_argument See merge request nomadic-labs/data-encoding!95 23 August 2022, 09:30:59 UTC
924db68 raise Invalid_argument when `check_size` gets a negative limit 23 August 2022, 09:25:43 UTC
c251ec2 Add one more test 23 August 2022, 09:25:43 UTC
04b3cfb New test for check-size with `-1` Note that `-1` is used to encode `none` in the `Uint_option` internal module. Ultimately, this causes an assert false during serialisation. 23 August 2022, 09:25:38 UTC
f214434 Merge branch 'prepare-for-release-v0-6' into 'master' V0.6 release See merge request nomadic-labs/data-encoding!91 19 July 2022, 08:55:14 UTC
10ebe6e Set tutorial.mld as a promoted file to avoid release dependency on md2mld 19 July 2022, 08:53:17 UTC
f436d98 CHANGES for v0.6 19 July 2022, 08:53:17 UTC
1909acf Merge branch 'raphael-p@improve-doc-structure' into 'master' Improve doc structure See merge request nomadic-labs/data-encoding!92 19 July 2022, 08:06:13 UTC
434b923 Avoid before-scirpt running in the pages/doc stage 18 July 2022, 12:06:45 UTC
5b51c76 Introduce index.mld to point to the tutorial and the API on the landing page 18 July 2022, 12:06:04 UTC
e8ca479 Merge branch 'raphael-p@dont-unroll-mu-nodes' into 'master' `mu` now avoids the first unrolling See merge request nomadic-labs/data-encoding!88 13 July 2022, 08:17:18 UTC
2908d88 Add another test for mu 13 July 2022, 08:13:02 UTC
6e262f8 Add PBT rule to generate more complex mu 13 July 2022, 08:13:02 UTC
1d57f9c `mu` now avoids the first unrolling I.e., the encoding `mu (fun e -> union [ … ; … e])` is now represented as a `Mu` constructor rather than a `Union` constructor. 13 July 2022, 08:13:02 UTC
8ba4d07 Merge branch 'hhugo-ppx-hash' into 'master' Use ppx_hash See merge request nomadic-labs/data-encoding!89 16 June 2022, 13:15:06 UTC
cd83ef0 Use ppx_hash 16 June 2022, 10:05:17 UTC
eb1a29a Merge branch 'hhugo-small-refactoring' into 'master' Small refactoring See merge request nomadic-labs/data-encoding!90 14 June 2022, 12:34:02 UTC
2b521f4 Binary_description.dedup_canonicalize: Simpler check for detecting fix-point 14 June 2022, 11:55:08 UTC
f53eff7 Binary_description.dedup_canonicalize: turn fold into filter_map 14 June 2022, 11:54:47 UTC
c9c26be Binary_description.dedup_canonicalize: accumulator not longer needed 14 June 2022, 11:53:50 UTC
523e9f6 Binary_description.dedup_canonicalize: make List.fold explicit 14 June 2022, 11:53:20 UTC
62cd95f Merge branch 'hhugo-cleanup' into 'master' Some small cleanup preserving semantic See merge request nomadic-labs/data-encoding!74 13 June 2022, 10:04:32 UTC
211362b Tests: fix test/mu.ml 10 June 2022, 22:14:08 UTC
4609a8f Fix build after 10 June 2022, 19:39:55 UTC
53faf1d Refactor code to avoid un-annotated ignore 10 June 2022, 19:29:57 UTC
f0c5724 Annotate ignored values 10 June 2022, 19:29:09 UTC
fe24304 Avoid catch all 10 June 2022, 19:28:52 UTC
8afbb14 Cleanup src/dune 10 June 2022, 19:14:02 UTC
0ffeb0b Merge branch 'raphael-p@documentation-a-lot-of-documentation' into 'master' Documentation, a lot of documentation See merge request nomadic-labs/data-encoding!85 09 June 2022, 09:23:49 UTC
2a105d6 Workaround for ocaml-ci bug 09 June 2022, 08:23:54 UTC
f7c9778 Fix eval_numsizes compilation 08 June 2022, 07:33:23 UTC
09e2760 Mention tutorial in README 07 June 2022, 09:10:52 UTC
1eecd29 Better documentation of the internal modules being internal 07 June 2022, 09:10:52 UTC
097f061 Tutorial 07 June 2022, 09:10:38 UTC
529d8b0 Fix some documentation errors 31 May 2022, 10:22:53 UTC
6e0cfce Merge branch 'expect' into 'master' Introduce expect tests for checking encoding stability See merge request nomadic-labs/data-encoding!79 15 April 2022, 14:22:46 UTC
36924c9 Introduce expect test for testing encoding stability 15 April 2022, 14:08:04 UTC
977f29a Move pbt into its own directory 15 April 2022, 14:07:16 UTC
9eb07af Merge branch 'diane@add-padding-generator' into 'master' Tests: add add_padding to generators See merge request nomadic-labs/data-encoding!87 15 April 2022, 13:14:52 UTC
ff8c8a8 Tests: add add_padding to generators 15 April 2022, 13:12:19 UTC
9e07502 Merge branch 'widen-CI-range' into 'master' Makle the CI run on ocaml.4.14 See merge request nomadic-labs/data-encoding!86 13 April 2022, 09:16:01 UTC
8d074f0 Makle the CI run on ocaml.4.14 13 April 2022, 09:08:10 UTC
4209b1e Merge branch 'raphael-p@fix-tests-on-32-bit' into 'master' Make integer literal 32-bit compatible in test See merge request nomadic-labs/data-encoding!84 04 April 2022, 09:27:29 UTC
6ca8e08 Make integer literal 32-bit compatible in test 24 March 2022, 07:43:15 UTC
0eda787 Merge branch 'make-compact-json-identical-to-standard-json' into 'master' Make compact JSON identical to vanilla JSON See merge request nomadic-labs/data-encoding!82 23 March 2022, 15:23:19 UTC
4dfa145 Add CHANGELOG entry 23 March 2022, 15:19:23 UTC
5f32244 Expand compatibility tests for compact-vs-vanilla JSON 23 March 2022, 15:19:23 UTC
8c94b0d Compact: make json compatible, provide additional constructors 23 March 2022, 15:19:23 UTC
c0a35f0 Add test for json identity between vanilla and compact 23 March 2022, 10:31:19 UTC
91487cd Merge branch 'trip-binary-descr' into 'master' Improve the description/schema system See merge request nomadic-labs/data-encoding!83 23 March 2022, 10:29:58 UTC
8701e07 Add CHANGELOG item 23 March 2022, 10:26:07 UTC
d93bf5d Binary-schema: support zero-byte structs This can happen for trivial encodings such as `tup2 unit unit`, less trivial ones such as `obj1 (req "kind" (constant "Nil"))` (common when translating variant types), or when the value is moved to the tag of a union by the `Compact` encodings (e.g., `Compact.bool`). Either way, such an encoding used to be represented as a table with a header but no body — which is invalid in RST — but now simply features a plain-English message indicating that the value is represented with zero bytes. 22 March 2022, 07:38:32 UTC
194ad63 Merge branch 'prepare-for-release-052' into 'master' 0.5.2 See merge request nomadic-labs/data-encoding!81 16 March 2022, 15:00:55 UTC
1b800f7 update CHANGES.md 16 March 2022, 10:15:19 UTC
cb79b68 Merge branch 'make-compact-more-like-vanilla' into 'master' Make Compact.union's JSON encoding similar to Vanilla's union See merge request nomadic-labs/data-encoding!80 16 March 2022, 10:13:49 UTC
747b16b Make Compact.union's JSON encoding similar to Vanilla's union 11 March 2022, 10:40:50 UTC
692e1b7 Merge branch 'prepare-for-release-051' into 'master' Update CHANGES.md to 0.5.1 See merge request nomadic-labs/data-encoding!78 01 March 2022, 08:22:56 UTC
cd7d58a Update CHANGES.md to 0.5.1 28 February 2022, 13:38:19 UTC
back to top