Commit graph

1503 commits

Author SHA1 Message Date
Simon Cruanes
c359b3d570 Merge pull request #94 from mseri/patch-1
Fix `CCSemaphore.with_acquire`: release a non locked mutex is UB (thanks to @mseri)
2017-01-24 23:59:51 +01:00
Marcello Seri
b50c9f4027 Fix with_acquire: release a non locked mutex is UB
This is segfaulting (on ubuntu 16.04 and 16.10) when trying to release the unlocked mutex in the release stage (in general this is an undefined behavior).
2017-01-24 16:42:42 +00:00
Simon Cruanes
0046bea415 bugfix: do not use Sequence.flatMap (close #90)
the function was deprecated and has been removed in sequence 0.9
2016-12-29 10:45:33 +01:00
Simon Cruanes
e8cd571005 prepare 0.22 2016-12-18 01:32:52 +01:00
Simon Cruanes
331d87e6a9 update opam file 2016-12-17 17:29:29 +01:00
Simon Cruanes
617727617c update 'authors' 2016-12-16 21:24:48 +01:00
Simon Cruanes
478a1be535 Merge pull request #89 from dsheets/try-lock
threads/CCLock: add `try_with_lock` to wrap `Mutex.try_lock` (thansk @dsheets)
2016-12-16 21:24:22 +01:00
David Sheets
35859508c0 threads/CCLock: add try_with_lock to wrap Mutex.try_lock 2016-12-16 18:58:04 +00:00
Simon Cruanes
ef07decbac Revert "add Array.append" (already in stdlib Array)
This reverts commit cdb4ba5dbc.
2016-12-12 14:18:05 +01:00
Simon Cruanes
cdb4ba5dbc add Array.append 2016-12-07 16:20:13 +01:00
Simon Cruanes
85d0ff8f3f Merge pull request #87 from jpdeplaix/master
Add `CCMultiSet.remove_all` (thanks @jpdeplaix)
2016-12-06 19:22:12 +01:00
Jacques-Pascal Deplaix
5279304b40 Add CCMultiSet.remove_all 2016-12-06 18:29:50 +01:00
Simon Cruanes
d1e33cd135 document errors in CCIO (close #86) 2016-11-30 20:52:18 +01:00
Simon Cruanes
0b3e1cea77 update readme 2016-11-15 22:04:19 +01:00
Simon Cruanes
c7b815509d prepare for 0.21 2016-11-03 16:04:12 +01:00
Simon Cruanes
af4c3fc195 change boxing in CCFormat.Dump; add example/doc 2016-11-03 15:57:03 +01:00
Simon Cruanes
9045fcca0b add CCFormat.{with_color_sf,fprintf_dyn_color,sprintf_dyn_color}
more dynamic way of adding colors, switching colors on/off, etc.
2016-11-03 15:48:21 +01:00
Simon Cruanes
0d9d17d5db add CCFormat.Dump for easy debugging (see #82) 2016-11-03 15:36:25 +01:00
Simon Cruanes
4ff174ce18 (breaking) make default start/stop arguments empty in printers (#82) 2016-11-03 15:19:50 +01:00
Simon Cruanes
269d4a7ba9 handle '\r` in CCSexpM (fixes #83) 2016-11-03 09:48:50 +01:00
Simon Cruanes
89c63a5357 update oasis setup 2016-11-02 11:49:09 +01:00
Simon Cruanes
3e7cbc1420 add alias Containers.IO 2016-11-02 08:22:03 +01:00
Simon Cruanes
18b32f8313 bugfixes in CCArray.Sub 2016-11-01 12:17:01 +01:00
Simon Cruanes
61ff75dca0 bugfix + tests for CCArray.Sub.sub 2016-11-01 11:46:14 +01:00
Simon Cruanes
b7db149e27 add CCArray.Sub.to_list 2016-11-01 11:27:07 +01:00
Simon Cruanes
73bb61a2de disable parallel build to support cygwin 2016-10-26 18:21:39 +02:00
Simon Cruanes
7ba8f58571 fix typo 2016-10-19 23:59:23 +02:00
Simon Cruanes
2a872907a1 add CCArray.{sorted,sort_indices,sort_ranking} (closes #81) 2016-10-19 18:18:05 +02:00
Simon Cruanes
bc7967054f prepare for 0.20 2016-10-14 11:33:53 +02:00
Simon Cruanes
81ca239ccc bugfix in CCArray.equal 2016-10-14 11:28:44 +02:00
Simon Cruanes
59a463a882 small fix + test 2016-10-14 11:24:57 +02:00
Simon Cruanes
fed7dd41e0 add functions in CCArray: fold2,iter2,map2 2016-10-13 10:04:58 +02:00
Simon Cruanes
53030c4c29 more general types for CCArray.{for_all2,exists2} 2016-10-13 10:04:23 +02:00
Simon Cruanes
a99720945b add CCArray.rev 2016-10-13 10:01:21 +02:00
Simon Cruanes
f0381ae0d9 update authors 2016-10-04 13:35:46 +02:00
Simon Cruanes
6cd4e6923c Merge pull request #79 from little-arhat/patch-1
fix `CCResult.map_or` type signature (thanks to @little-arhat)
2016-10-04 13:34:31 +02:00
Roma Sokolov
d4d22b1488 Fixes map_or
~default arg for `map_or`, as well as function, should not depend on the type of error case.
2016-10-04 14:27:34 +03:00
Simon Cruanes
d7e8cb24fd add CCFloat.round 2016-09-25 19:43:21 +02:00
Simon Cruanes
103963dc45 style 2016-09-25 19:39:02 +02:00
Simon Cruanes
e4c6752b6b add CCVector.append_gen 2016-09-25 19:38:03 +02:00
Simon Cruanes
3e50420ce8 add CCList.{head_opt,last_opt} 2016-09-25 19:34:05 +02:00
Simon Cruanes
7a823b16d8 fix CCString.*_ascii; add CCChar.{upper,lower}case_ascii 2016-09-18 20:31:53 +02:00
Simon Cruanes
b249adf86f add CCInt.{print_binary,to_string_binary} + tests (thanks @gsg) 2016-09-18 10:37:05 +02:00
Simon Cruanes
8cd06599ae update readme 2016-08-22 10:21:19 +02:00
Simon Cruanes
656565c195 add gh-pages doc generation to makefile 2016-08-22 10:15:37 +02:00
Simon Cruanes
913cfcacea prepare for 0.19 2016-08-22 09:58:09 +02:00
Simon Cruanes
7b49dd7f3d fix bug in CCString.Split thanks to @copy (close #75) 2016-08-22 09:26:36 +02:00
Simon Cruanes
a0b10101c7 add regression test for #75 2016-08-22 09:20:17 +02:00
Simon Cruanes
779376f2b1 move test from cppo.ml file to .mli file 2016-08-22 09:19:49 +02:00
Fabian
47abd87f74 Fix CCString.Split.{left,right} (#75) 2016-08-22 01:52:44 +02:00