Commit Graph
100 Commits
Author SHA1 Message Date
Patrick Pelissier 3499a08207 Add support for MS Visual Studio 2022 2022-03-12 11:51:27 +01:00
Patrick Pelissier 0ac23e512e Fix CTL bench 2022-03-12 11:40:38 +01:00
PpHd 1852fabcd2 Merge pull request #98
Fix a few typos
2021-12-23 17:48:04 +01:00
Patrick Pelissier e72aa5fb79 Update doc 2021-12-03 22:59:33 +01:00
Patrick Pelissier f4b02b92cc Update documentation 2021-12-03 22:48:43 +01:00
Patrick Pelissier 39edcc560f Fix name of variable 2021-12-03 22:28:44 +01:00
Patrick Pelissier 50669a320c Add m_ prefix for GENINT module,
as it is purely internal (no need to prevent user space breakage).

It will put more stuff in the global m_ prefix
2021-12-03 22:08:15 +01:00
Patrick Pelissier d22c0b05ef Display CPU information 2021-12-03 21:50:36 +01:00
Patrick Pelissier 689be30803 Update README with an implicit constraint 2021-12-03 21:40:09 +01:00
Patrick Pelissier b393a83d38 Add example of JSON serialization on string 2021-12-03 21:39:41 +01:00
Patrick Pelissier 1a1339da6b Remove deprecated features 2021-11-20 13:05:50 +01:00
Patrick Pelissier 9926b51da0 Revert 829c20ba8 as there is an issue in calling M_KEYWORD_P within M_IF. 2021-11-20 10:15:31 +01:00
Patrick Pelissier 761447dea3 V0.6.1 2021-11-13 19:51:32 +01:00
Patrick Pelissier 829c20ba8a Update M_KEYWORD_P to support () . Add more recognized keywords (type, list, LIST, queue, QUEUE, INIT_WITH) 2021-11-13 19:51:23 +01:00
Patrick Pelissier 9ac734e191 Fix documentation 2021-11-12 20:03:36 +01:00
Patrick Pelissier 5420fc6c51 Fix documentation 2021-11-12 20:02:07 +01:00
Patrick Pelissier 62c8ac3e5d V0.6.0 2021-11-11 19:59:19 +01:00
Patrick Pelissier 1d7e93251c Fix overflow of one element in deque _remove 2021-11-11 19:59:19 +01:00
Patrick Pelissier 92fa4691d1 Add comment about the non presence of _it_remove 2021-11-09 21:20:16 +01:00
Patrick Pelissier a20fdf4713 Update documentation 2021-11-06 23:21:16 +01:00
Patrick Pelissier 570dedf1c3 Factorize _size & _empty_p for both dict 2021-11-06 13:54:17 +01:00
Patrick Pelissier 59e5c873ad Factorize _equal_p for both dict 2021-11-06 13:45:27 +01:00
Patrick Pelissier 8dbcdf9991 Uniformize field name between classic dict & OA dict 2021-11-06 13:38:49 +01:00
Patrick Pelissier cd43b50068 Fix name of method 2021-11-06 13:38:29 +01:00
Patrick Pelissier c0413a26f9 Add more example 2021-11-03 21:21:56 +01:00
Patrick Pelissier b2d3d86e0c Add alternative macro M_TEST_METHOD_ALTER_P 2021-11-03 20:54:03 +01:00
Patrick Pelissier bc7552f4a8 Update container summary 2021-11-03 20:53:31 +01:00
Patrick Pelissier 28ae13092f Workaround for MacOs special make 2021-11-02 18:42:41 +01:00
Patrick Pelissier 1f561da43f Add doc for deque _remove 2021-11-02 18:35:09 +01:00
Patrick Pelissier ef8dcda196 Add tests for deque _remove 2021-11-02 18:32:26 +01:00
Patrick Pelissier cf9eb892cf Update & finish deque _remove algorithm 2021-11-02 18:32:14 +01:00
Patrick Pelissier ffa1e2e59c Add WIP deque_remove method 2021-11-02 08:43:42 +01:00
Patrick Pelissier 9549e82b04 Remove launch of check-stl on MacOS as sanitizer=leak is not supported by clang on this system 2021-10-31 00:29:43 +02:00
Patrick Pelissier 50261e390e Update forgotten rename 2021-10-31 00:14:10 +02:00
Patrick Pelissier 618fc99cda Update Continuous Integration 2021-10-31 00:12:01 +02:00
Patrick Pelissier a9fc7e15f8 Rename GET_SET_KEY operator in SAFE_GET_KEY operator 2021-10-30 23:57:50 +02:00
Patrick Pelissier 6b064870f5 Rename CLEAN operator in RESET operator 2021-10-30 23:26:27 +02:00
Patrick Pelissier d78c50be3b Add new files in Makefile 2021-10-30 00:29:53 +02:00
Patrick Pelissier c96cea5a13 Port the examples to rename _get_at to _safe_get 2021-10-30 00:17:15 +02:00
Patrick Pelissier 51d4e930f5 Rename the suffix _get_at to the _safe_get suffix
(Better & clearer naming of the function)
2021-10-30 00:04:07 +02:00
Patrick Pelissier e650addfe4 Replace _clean into _reset (Fix issues for C11 build) 2021-10-28 18:42:15 +02:00
Patrick Pelissier 30afcb45d8 Replace _clean into _reset 2021-10-28 18:32:53 +02:00
Patrick Pelissier e10c3586a3 Rename BITSET & CONCURRENT _clean in _reset to avoid confusing _clean & _clear functions. See #97 2021-10-28 18:13:00 +02:00
Patrick Pelissier 836d892832 Rename BUFFER, I-LIST, PRIOQUEUE & SHARED _clean in _reset to avoid confusing _clean & _clear functions. See #97 2021-10-28 18:08:07 +02:00
Patrick Pelissier 826d251ffe Rename RBTREE & BPTREE _clean in _reset to avoid confusing _clean & _clear functions. See #97 2021-10-28 17:55:54 +02:00
Patrick Pelissier 510cd062ba Rename DICT, TUPLE & VARIANT _clean in _reset to avoid confusing _clean & _clear functions. See #97 2021-10-28 17:51:17 +02:00
Patrick Pelissier 2695cd6f3e Rename DEQUE _clean in _reset to avoid confusing _clean & _clear functions. See #97 2021-10-28 17:40:56 +02:00
Patrick Pelissier f6e3cbbb65 Rename LIST _clean in _reset to avoid confusing _clean & _clear functions. See #97 2021-10-28 17:38:18 +02:00
Patrick Pelissier f172bbaad2 Rename ARRAY _clean in _reset to avoid confusing _clean & _clear functions. See #97 2021-10-28 17:32:02 +02:00
Patrick Pelissier 9176953a8e Rename string_clean in string_reset to avoid confusing _clean & _clear functions. See #97 2021-10-28 17:27:41 +02:00
Patrick Pelissier ae6b87d646 Optimization in case of small constant strings 2021-10-24 21:48:02 +02:00
Patrick Pelissier f719b2387a Remove file 2021-10-14 21:28:26 +02:00
Patrick Pelissier 5bfa8321d0 Add check dict-set against STL 2021-10-14 21:26:02 +02:00
Patrick Pelissier e99fd23e69 Don't export IT_REF for DICT_SET as they should not be updated directly by algorithm 2021-10-14 21:23:37 +02:00
Patrick Pelissier 5057366fb2 Update documentation for RBTREE _remove 2021-10-10 20:36:02 +02:00
Patrick Pelissier 44801b8b91 Add more tests for _remove (that triggered an issue in _previous) 2021-10-10 20:35:44 +02:00
Patrick Pelissier 9eabc86bdd Fix issue in _next / _previous in some corner cases. Fix issue in _remove (IT was not updated to next item) 2021-10-10 20:35:18 +02:00
Patrick Pelissier fbc8f407eb Add test for method _remove 2021-10-10 10:18:06 +02:00
Patrick Pelissier 09a8b93634 Add method _remove for RBTREE 2021-10-10 10:17:55 +02:00
Patrick Pelissier 2caa7b77e7 Add check of RBTREE 2021-10-10 10:04:48 +02:00
Patrick Pelissier c057247126 Add missing exported method 2021-10-10 10:01:44 +02:00
Patrick Pelissier 0899be21c3 Add support for seed (set/random) for rand 2021-10-10 09:36:35 +02:00
Patrick Pelissier c29c9f9ccd Remove obsolete UPDATE operator 2021-10-09 17:57:49 +02:00
Patrick Pelissier c12f698f32 Restore exe target 2021-10-09 17:27:53 +02:00
Patrick Pelissier d6a8a6d159 Add test for _reserver and _resize 2021-10-09 17:25:43 +02:00
Patrick Pelissier 7bf325f91a Update recent framework to compute dependencies 2021-10-09 17:25:13 +02:00
Patrick Pelissier fdfff0c5c5 Add framework to test containers againts C++ library 2021-10-09 16:55:51 +02:00
Patrick Pelissier 4409f613e0 Add test more complete cases for the last issue 2021-10-09 10:11:27 +02:00
Patrick Pelissier 9de644b0f3 Fix issue in _pop_front & _front method that corrupts the deque in some cases 2021-10-09 10:11:02 +02:00
Patrick Pelissier 3e36363d28 Fix format 2021-10-09 10:08:13 +02:00
Patrick Pelissier 4f1d1a949c Document _get_at method for dict 2021-10-08 20:47:18 +02:00
Patrick Pelissier e52f3b8b30 Add more test cases for deque _next / _previous 2021-10-07 21:47:49 +02:00
Patrick Pelissier 36916e7b3d Fix issue in deque _next and deque _previous methods in some corner cases 2021-10-07 21:47:20 +02:00
Patrick Pelissier ba778e9bd2 Simplify 2021-10-07 21:40:42 +02:00
Patrick Pelissier df7112489a Add tag for identifying C code in documentation 2021-10-05 00:28:31 +02:00
Patrick Pelissier d9c203736f Update examples section 2021-10-04 20:36:39 +02:00
Patrick Pelissier 2b61ffa784 Ignore backup files 2021-10-02 19:15:03 +02:00
Patrick Pelissier ba85640172 Add bench for CTL library 2021-10-02 19:14:01 +02:00
Patrick Pelissier 4d21ad5050 Update 2021-10-02 19:13:10 +02:00
Patrick Pelissier aae14de62b Update documentation 2021-10-02 13:22:12 +02:00
Patrick Pelissier 70fa621745 Add test function for _splice function 2021-10-02 13:09:51 +02:00
Patrick Pelissier e97f4f7f41 Document _splice function for dictionary 2021-10-02 13:09:18 +02:00
Patrick Pelissier 7a08ddce9e Remove UPDATE opertor as there are no default operators that define it (and no one uses it as it is poorly documented). Replace by SET for RB-THREE. Replace by ADD for the splice function of dictionary 2021-10-02 13:06:30 +02:00
Patrick Pelissier e19c9d31a8 Update comments 2021-10-01 07:41:23 +02:00
Patrick Pelissier 51ae5f9f0c Fix spelling 2021-10-01 07:41:11 +02:00
Patrick Pelissier 22e8133f95 Test for corrected issue of IT_INSERT (Wrong behavior if IT==END) 2021-09-29 23:30:20 +02:00
Patrick Pelissier c2e19fed01 Fix issue in IT_INSERT (Wrong behavior if IT==END) 2021-09-29 23:29:57 +02:00
Patrick Pelissier 274afc9978 Fix syntax 2021-09-24 23:26:23 +02:00
Patrick Pelissier 0c337836ca Add CTL library as reference 2021-09-24 23:23:57 +02:00
Patrick Pelissier 1a3e694e20 Add new example of different containers 2021-09-23 23:06:24 +02:00
Patrick Pelissier a0572b63b1 Update documentation for tuple 2021-09-23 23:04:10 +02:00
Patrick Pelissier 1765d8ef06 Update test for testing new possibility of the tuples 2021-09-23 23:04:00 +02:00
Patrick Pelissier 1e00a102e8 TUPLE: Defined HASH/CMP/EQUAL methods if at least ONE methods is defined in the fields. Fields that don't have or have disabled method are supposed to be secondary fields that are not pertinent for comparing the objects. 2021-09-23 23:03:30 +02:00
Patrick Pelissier 61f8dcdbae Add string_set_char function 2021-09-22 23:07:35 +02:00
Patrick Pelissier 39eeb3aec7 Fix buffer overflow in ARRAY _pop_at function (reported by tyrone718) 2021-09-18 09:52:33 +02:00
Patrick Pelissier 2178dcfcab Add LIST_INIT_VALUE & LIST_DUAL_PUSH_INIT_VALUE. 2021-08-15 21:55:09 +02:00
Patrick Pelissier f8b4f44105 Add ARRAY_INIT_VALUE 2021-08-15 21:44:36 +02:00
Patrick Pelissier 9c2468c2b7 Update comments. 2021-08-15 21:27:54 +02:00
Patrick Pelissier 3d5cc55d0a Adding assembly generation for mserial-json
in order to check proper & full inlining.
2021-08-09 10:30:53 +02:00
Patrick Pelissier 5b9cccd2dd Adding more macros not to be expanded in coverage mode 2021-08-09 10:30:04 +02:00