Commit Graph

83 Commits

Author SHA1 Message Date
Julien Tesson
48094c9989
Stdlib: add Option.pp 2019-02-21 14:45:35 +01:00
Grégoire Henry
2e85409d25
Stdlib: better debug message in List.Bounded.insert 2019-02-19 21:43:51 +01:00
Grégoire Henry
9fdf0636c9
Opam: add upper constraint on dune
The "old" version of Lwt we use is incompatible with `dune >= 1.7`.
2019-02-19 17:37:52 +01:00
Grégoire Henry
96aa1aa621
Opam: add version contraint for lwt. 2019-01-22 17:16:51 +01:00
Grégoire Henry
c5eb5bb93d
Opam: add strict dependencies for ocp-indent 2019-01-22 17:16:50 +01:00
Grégoire Henry
dbf4736e6b
Opam: update package description to opam.2.0
Co-authored-by: Pietro Abate <pietro.abate@nomadic-labs.com>
Co-authored-by: Gregoire Henry <gregoire.henry@tezos.com>
2019-01-21 17:54:19 +01:00
Grégoire Henry
de171a63f0
OPAM: strict version constraints on dune are not required anymore 2019-01-21 17:54:18 +01:00
Philippe Bidinger
6895d7a87b
Stdlib: add some docstrings 2019-01-02 19:22:09 +01:00
Pietro Abate
e7b00b368d
Stdlib: remove spurious comment in weakTableRing 2018-12-20 17:06:34 +01:00
MBourgoin
58a3abcb4c
StdLib: introduce a WeakRingTable based on ephemerons for bounded cache/memoization purposes
Co-authored-by: MBourgoin <mathias.bourgoin@tezcore.com>
Co-authored-by: Raphaël Proust <code@bnwr.net>
Co-authored-by: Pietro Abate <pietro.abate@tezcore.com>
2018-12-18 16:02:18 +01:00
Vincent Botbol
14b1ba2adc
Stdlib/Ring: fix ring's semantics 2018-10-26 15:56:36 +02:00
Pietro Abate
8b8b355bd3
Add Registry to stdlib
Co-authored-by: Pietro Abate <pietro.abate@tezcore.com>
Co-authored-by: Raphaël Proust <code@bnwr.net>
2018-10-17 10:32:35 +02:00
Raphaël Proust
e02ba41a65
Tooling: do not enter _opam when fixing indent 2018-10-10 18:49:09 +02:00
Pierre Boutillier
b5fc7f582e
Update license in opam files 2018-08-22 14:50:13 +02:00
Vincent Botbol
e5b2927310
Shell/Prevalidation: add the streaming of the newly validated operations 2018-08-20 11:04:54 +02:00
Grégoire Henry
87e0de9826 Dune: use the new syntax 2018-08-01 10:52:24 +02:00
Grégoire Henry
5362b321d9 Dune: rename s/jbuild/dune/ 2018-08-01 10:32:12 +02:00
Pietro
b89682e441 Build: Jbuilder -> Dune 1.0.1 2018-07-24 19:15:04 +02:00
Vincent Bernardoff
41f6757ef8 Everywhere: exception Not_found -> _opt 2018-07-13 01:31:04 +02:00
b
322710c56c Update wrong licenses 2018-07-03 12:04:24 +02:00
Pierre Boutillier
140bd6b1ca Tezos is now Open Source 2018-06-30 17:41:32 +02:00
James Deikun
b76e759361 Make all logging level checks the same shape.
see https://gitlab.com/tezos/tezos/merge_requests/411#note_83833997
2018-06-29 14:52:47 +02:00
James Deikun
135cb2c326 Use MESSAGE for all Logging functor parameters.
see https://gitlab.com/tezos/tezos/merge_requests/411#note_83833997
2018-06-29 14:52:47 +02:00
James Deikun
634c398a70 Use text: string option since text may be absent
see https://gitlab.com/tezos/tezos/merge_requests/411#note_83833997
2018-06-29 14:52:46 +02:00
James Deikun
99c37d5214 expose find_opt and improve comments.
Thanks to Raphael Proust for the discussion on this.
2018-06-29 14:52:46 +02:00
James Deikun
91472ff1cf add log level to taps 2018-06-29 14:52:46 +02:00
James Deikun
24de29c703 documentation and untap
AMENDED: More realistic code example at a more helpful place.
2018-06-29 14:52:46 +02:00
James Deikun
0bbc18c23b split Logging.Tag out and add documentation 2018-06-29 01:48:18 -04:00
James Deikun
d7a6973335 added a new semantic logging pathway
AMENDED: Syn has always been DSL, Semantic has always been
Make_semantic.
2018-06-29 01:43:55 -04:00
Grégoire Henry
a7022b2ef0 Opam: use opam2, a local switch, and a fixed remote. 2018-06-28 13:45:05 +02:00
Raphaël Proust
1c2a771832 Everywhere: return_{none,some,nil,true,false} 2018-06-27 10:57:21 +02:00
Raphaël Proust
103d5355f2 Everywhere: return_unit 2018-06-27 10:57:21 +02:00
Pierre Chambart
892c91e3ac Fix some more logging name leak
The section list is only useful for functor instantiated before command
line argument parsing.
2018-06-27 02:06:09 +02:00
Pierre Chambart
ce926e575a Teamwork: Prevent leaks with never_ending
Lwt_utils.never_ending is a global variable, hence a GC root. A promise
created by binding it cannot ever be garbage collected. This fixes the
known leak in the baker an endorser by allocating a fresh one for each
use (by turning it into a function). This porbably fix other slower
leaks.

High five Klakplok and Vincent.
2018-06-19 03:06:21 +02:00
Grégoire Henry
39ca91cd57 Stdlib: add List.split_n 2018-06-12 21:27:55 +02:00
Grégoire Henry
5fd5c1c5f7 Dune: upgrade to 1.0+beta20 2018-06-08 15:27:23 +00:00
James Deikun
afa335ff48 move module-specific logging to the modules that use it 2018-05-31 17:05:00 -04:00
Grégoire Henry
0d8990887c Jbuilder: fix the target @runtest_indent 2018-05-26 20:08:03 +02:00
Pietro
73b7fc89a5 Client: introduce tezos-signer 2018-05-25 17:18:41 +02:00
Grégoire Henry
2a85c34c67 Indentation fixes 2018-05-25 16:47:48 +02:00
Grégoire Henry
72fc71be67 Data_encoding: rename Binary into Binary_writer 2018-05-24 15:43:15 +00:00
Grégoire Henry
aee6718148 Data_encoding: use CPS for the stream reader 2018-05-24 15:43:15 +00:00
Grégoire Henry
1f358b7f9a Data_encoding: move cut_bytes into MBytes 2018-05-24 15:43:15 +00:00
Grégoire Henry
cb28ca1cd5 Stdlib: reintroduce MBytes.pp_hex 2018-05-24 15:43:15 +00:00
Grégoire Henry
01941fa725 Opam: fix tezos-stdlib.opam 2018-05-13 01:42:05 +02:00
Vincent Bernardoff
049efb2169 Stdlib/String: add Set module 2018-05-12 23:57:32 +02:00
Vincent Bernardoff
b48ba96106 Stdlib: use bigstring to implement MBytes 2018-05-12 23:11:35 +02:00
Vincent Bernardoff
1cd82f5d82 Stdlib: do not use deprecated stringext 2018-05-12 23:11:35 +02:00
Benjamin Canou
636fecb6ff Utils: add Compare.Z 2018-05-09 16:36:51 +00:00
Benjamin Canou
294e270f32 Add missing opam dependency 2018-05-04 19:23:04 +02:00