Commit Graph
489 Commits
Author SHA1 Message Date
Patrick Pelissier 672c2d509d Update the way of working of the coverage so that it produces
more useful information about the line coveraged, and avoid
expanding low level macros.
2017-07-10 17:35:16 +02:00
Patrick Pelissier fc323a5feb Improve coverage. 2017-07-10 17:35:00 +02:00
Patrick Pelissier 25abbbc98a Improve coverage. 2017-07-10 16:18:14 +02:00
Patrick Pelissier 82bed274ec Fix issue with sanitizer 2017-07-10 16:03:47 +02:00
Patrick Pelissier 70980046ed Add more tests. 2017-07-10 14:07:23 +02:00
Patrick Pelissier 08112a3a6d Fix issue detected by scan-build 2017-07-10 13:47:34 +02:00
Patrick Pelissier c19c88deb8 Add test for string_get_word 2017-07-10 12:59:23 +02:00
Patrick Pelissier c34027e2ce Add missing exit(0) 2017-07-09 19:31:25 +02:00
Patrick Pelissier ee22399bab Add new assertion. 2017-07-09 19:28:57 +02:00
Patrick Pelissier 69177b6b69 Add missing exit(0) 2017-07-09 19:24:15 +02:00
Patrick Pelissier 5da62a898d Code factorisation. 2017-07-08 17:21:56 +02:00
Patrick Pelissier de45d61966 Add bench of map over string. 2017-07-08 17:13:02 +02:00
Patrick Pelissier e583625c78 Renumber the tests. 2017-07-08 15:33:10 +02:00
Patrick Pelissier 30484f4291 Factorisation. 2017-07-08 15:14:01 +02:00
Patrick Pelissier f8ff180b94 Prepare for conditionnal use of m-string by m-bitset. 2017-07-08 13:00:47 +02:00
Patrick Pelissier ec4c12eab5 Update comments. 2017-07-08 12:57:28 +02:00
Patrick Pelissier 5be073b9bd Fix comment. 2017-07-08 12:57:21 +02:00
Patrick Pelissier 2ef2dd1231 Add const to function definition. 2017-07-08 12:57:06 +02:00
Patrick Pelissier 138d3fe4eb Add const to function definition. 2017-07-08 12:56:57 +02:00
Patrick Pelissier e8781e2860 Add new possible const due to const added to array functions. 2017-07-07 23:03:43 +02:00
Patrick Pelissier 7d00caac83 Add const to iterators:
in fact, a const array for an iterator just means that it
 can't modify the order of the container (And that's what we want).
 It can still modify the pointed object.
2017-07-07 22:57:13 +02:00
Patrick Pelissier 64f3fc380e Update _insert prototype of array to match list _insert. 2017-07-07 22:53:42 +02:00
Patrick Pelissier f25a59c43c Update doc 2017-07-07 11:07:39 +02:00
Patrick Pelissier d3038cc758 Add _out_str, _in_str & _get_str to OA dict. 2017-07-06 23:14:26 +02:00
Patrick Pelissier 172df98c0d Add new example based on set and word counts. 2017-07-06 11:49:07 +02:00
Patrick Pelissier ac79b462fb Add missing contracts. 2017-07-06 11:48:52 +02:00
Patrick Pelissier 9e5e0a8a51 Add string_fget_word function. 2017-07-06 11:48:02 +02:00
Patrick Pelissier ffe164c09e Comment 2017-07-06 11:00:07 +02:00
Patrick Pelissier 987d50eba6 Improve prototype of fgets so that it handles better EOL.
Return true in case of something has been read.
2017-07-06 10:57:34 +02:00
Patrick Pelissier 2155df7d6f Fix bug detected by previous test. 2017-07-06 10:26:14 +02:00
Patrick Pelissier 4e55aca639 Add new test 2017-07-06 10:26:07 +02:00
Patrick Pelissier 93ff9c79b9 Rewrite comment (bis) 2017-07-06 10:20:13 +02:00
Patrick Pelissier 8bfb57cdb6 Rewrite comment 2017-07-06 10:19:57 +02:00
Patrick Pelissier c3114c439b Remove a contract from _clear since it has not to be true.
Add const to a proto.
2017-07-06 10:19:08 +02:00
Patrick Pelissier 5fae797e41 Do not increase size in _fgets if we reach the EOF. 2017-07-05 23:31:33 +02:00
Patrick Pelissier dbe24395f4 Add 'const' to _out_str & _equal_p
(==> rewrite the iteration loop)
2017-07-05 22:15:12 +02:00
Patrick Pelissier 75f0c94a59 Add seed example. 2017-07-05 21:58:03 +02:00
Patrick Pelissier 1dbc71c2a2 Update example 2017-07-05 18:04:15 +02:00
Patrick Pelissier af62fc7f5c Update example 2017-07-05 17:42:42 +02:00
Patrick Pelissier c464d62011 Add new example 2017-07-05 16:16:05 +02:00
Patrick Pelissier 6f21ee9098 Add TODO 2017-07-05 16:13:48 +02:00
Patrick Pelissier 91affebce7 Fix wrong name in exported OPLIST for dict's out_str, get_str & in_str 2017-07-05 16:13:26 +02:00
Patrick Pelissier d2006c6375 Update doc 2017-07-05 09:38:23 +02:00
Patrick Pelissier 76fc919ccb * Rename _slice into _splice.
* Rename _move_back into _splice_back
to uniform the interface.
2017-07-05 09:17:11 +02:00
Patrick Pelissier 8e203fac5e WIP 2017-07-05 09:16:48 +02:00
Patrick Pelissier 38413f2452 Fix #10 2017-07-04 23:36:18 +02:00
Patrick Pelissier b537ae6b5d Fix issue with C++ not performing like C... 2017-07-04 23:34:41 +02:00
Patrick Pelissier faaad909d3 Fix issue with C++ 2017-07-04 23:30:10 +02:00
Patrick Pelissier 75d8928da1 Remove TODO 2017-07-02 19:42:43 +02:00
Patrick Pelissier 373560f41e Update doc 2017-06-23 00:23:36 +02:00