Commit Graph
556 Commits
Author SHA1 Message Date
Patrick Pelissier e21b45d9ac Fix #3 (Empty containers & IN_STR operator). 2017-03-10 01:29:49 +01:00
Patrick Pelissier 6464acff57 Handle a little bit better the empty container case. 2017-03-10 00:08:28 +01:00
Patrick Pelissier 0483ae7028 Add test for empty array (currently it fails). 2017-03-09 22:35:58 +01:00
Patrick Pelissier 320977e1fa Fix bug in case of empty array and the type doesn't flush the stream. 2017-03-09 22:35:29 +01:00
Patrick Pelissier b3239e8391 Simplify code 2017-03-09 22:32:22 +01:00
Patrick Pelissier e164b3fb44 Add test for OUT_STR / IN_STR & GET_STR for BRTREE
Fix bugs
2017-03-09 22:24:34 +01:00
Patrick Pelissier 018e09a4b3 Add IN_STR / OUT_STR & GET_STR for RBTREE 2017-03-09 21:58:16 +01:00
Patrick Pelissier 9db1775db0 Work on coverage 2017-03-09 21:58:08 +01:00
Patrick Pelissier 988b7e03ff Add bitset_hash operator 2017-03-08 21:31:28 +01:00
Patrick Pelissier 5a9adae6b9 Minor change 2017-03-08 21:31:19 +01:00
Patrick Pelissier 2e814d03ed Rename string_search_string into string_search
Rename string_strcoll_string into string_strcoll
 (more coherent API)

Add for C11 a generic encapsulation allowing to
select either the string or the str function.
2017-03-08 21:22:52 +01:00
Patrick Pelissier 6ba2a60fe9 Add HASH & EQUAL methods in the oplist 2017-03-08 21:10:27 +01:00
Patrick Pelissier 61c5539151 Add EQUAL & HASH operators for RBTREE 2017-03-08 21:04:57 +01:00
Patrick Pelissier 1c3bb290dd Use of encapsulation macros for setting / reading color whenever possible. 2017-03-07 23:10:06 +01:00
Patrick Pelissier 14311272ca Minor cosmetics change 2017-03-07 22:57:44 +01:00
Patrick Pelissier 6c91c93a6f Add note 2017-03-07 22:44:34 +01:00
Patrick Pelissier ac8c712dbb Modify M_EACH to support container where only IT_CREF is defined
(and not IT_REF).
2017-03-07 22:42:47 +01:00
Patrick Pelissier 049ff58566 Add note 2017-03-07 22:42:27 +01:00
Patrick Pelissier 29e01a9e2d Add oplist for oplist of shared pointer
Fix issue in case of memory full of shared_pointer with no throw mechanism.
2017-03-06 22:45:15 +01:00
Patrick Pelissier ee578a5c44 Add sub oplist for dictionnary oplist 2017-03-06 22:38:10 +01:00
Patrick Pelissier ea9d624050 Add oplist for i-shared oplist 2017-03-06 22:34:11 +01:00
Patrick Pelissier a185d08734 Add comments 2017-03-06 22:25:35 +01:00
Patrick Pelissier 0c584420d7 Add sub OPLIST for OPLIST
Add missing contracts
2017-03-06 22:25:08 +01:00
Patrick Pelissier d01838f4f2 Fix error in doc 2017-03-06 22:22:51 +01:00
Patrick Pelissier dfb62fcadb Move external sections at the top. 2017-03-06 22:15:21 +01:00
Patrick Pelissier 58422b8445 Remove unused types. 2017-03-06 22:12:49 +01:00
Patrick Pelissier 80de5d06c8 Additional clean up 2017-03-06 22:06:22 +01:00
Patrick Pelissier e83a43172a Fixes #1 2017-03-06 22:04:37 +01:00
Patrick Pelissier fba63cae2b Fix issue with C++ build for M_ASSIGN_CAST. 2017-03-06 22:04:22 +01:00
Patrick Pelissier d29f9efca1 Intrusive list are defined as a struct instead of a mirror
of the previous interface:
prepare change for C++ compatibility.
2017-03-06 21:51:52 +01:00
Patrick Pelissier 7be58b4a97 Add code to check good generation with intrusive list. 2017-03-06 21:51:32 +01:00
Patrick Pelissier d6ee3c6329 Add comments 2017-03-05 22:37:00 +01:00
Patrick Pelissier fd751d7d07 Merge branch 'master' of https://github.com/P-p-H-d/mlib 2017-03-05 18:28:05 +01:00
PpHd 0c6699a21a Add new reference. 2017-03-05 14:03:57 +01:00
Patrick Pelissier 890486d181 Update examples / adding more comments. 2017-03-05 09:27:22 +01:00
Patrick Pelissier 03eaceaf35 Add generic add, mul, sub & div over containers. 2017-03-04 23:51:00 +01:00
Patrick Pelissier 709cd07995 Add I/O tests for variants.
Fix bugs in I/O operators for variants.
2017-03-04 19:45:28 +01:00
Patrick Pelissier 3b99c5b4b4 Add variant in_str 2017-03-04 19:25:17 +01:00
Patrick Pelissier 838ac00eb7 Clean up previous commit formatting and comments 2017-03-04 19:12:37 +01:00
Patrick Pelissier 9ce1c69753 Add special (and frequent !) handler for functions add, sum, and and or
for the reduction macro.
2017-03-04 19:10:56 +01:00
Patrick Pelissier dee40608d7 Fix bug in previous commit 2017-03-04 18:59:33 +01:00
Patrick Pelissier b600eac636 Add function algo_reduce 2017-03-04 18:58:52 +01:00
Patrick Pelissier 9f15637461 Change limb from unsigned char to unsigned int.
Should be faster for some operations, and we won't lose a lot of space anyway.
2017-03-04 18:55:29 +01:00
Patrick Pelissier dd6f52e3a1 Encapsulate unsigned char within new type bitset_limb 2017-03-04 18:49:49 +01:00
Patrick Pelissier 43ce32ab69 Add test for bitset logic
Add bitset_set_str
Add bitset_xor

Fix bugs
2017-03-04 18:46:33 +01:00
Patrick Pelissier 41a78097fd Add oplist parameter to ilist 2017-03-03 23:38:24 +01:00
Patrick Pelissier 6d874e77b4 Add new external library 2017-03-03 23:38:06 +01:00
Patrick Pelissier 95c6904ce5 Fix spelling issue 2017-03-03 21:33:44 +01:00
Patrick Pelissier 85596c1a7a Add ALGO_REDUCE macro 2017-03-03 21:30:38 +01:00
Patrick Pelissier 2af4cb2fc2 WIP: computing coverage of the tests. 2017-03-02 22:35:22 +01:00