Patrick Pelissier
f7277884a6
Fix issue for intrusive list & free :
...
we read the next pointer after freeing the memory !
2017-08-05 13:06:04 +02:00
Patrick Pelissier
a780a7d144
Add string_pbrk
2017-08-02 22:24:12 +02:00
Patrick Pelissier
7165740af3
Add function string_replace_at
...
(Compatible with C++ interface)
2017-08-02 22:02:49 +02:00
Patrick Pelissier
80c273e6e2
Remove dict_ prefix for dictionnary.
...
See commit on shared-pointer.
2017-07-29 13:01:38 +02:00
Patrick Pelissier
34943e5b2a
Remove array_ prefix from ARRAY_DEF
...
See commit on shared pointers.
2017-07-27 22:16:15 +02:00
Patrick Pelissier
4cb92a92b8
Remove list_ prefix from all lists.
...
See commit on shared-pointers.
Rename the iteration type to be prefix by name list_it_name_t ==> name_it_t
2017-07-27 21:40:35 +02:00
Patrick Pelissier
7d2848e16a
Remove rbtree_prefix from Red Black Tree.
...
(See commit on shared-pointer).
Rename rbntree_name_it_t into name_it_t.
Update tests, documentation, bench in accordance.
2017-07-26 22:56:25 +02:00
Patrick Pelissier
b49e286ae2
Remove prefix mempool from mempools.
...
See commit about shared pointer.
2017-07-25 23:03:23 +02:00
Patrick Pelissier
a69c67e850
Remove buffer prefix from buffers.
...
See commit on shared pointer.
2017-07-25 22:52:19 +02:00
Patrick Pelissier
8a716cd4f4
Remove prefix snapshot from snapshot.
...
See previous commit on shared pointer.
2017-07-25 22:44:17 +02:00
Patrick Pelissier
da9d87bf4b
Remove ilist_ prefix from Intrusive List
...
See commit on Shared Pointer
Additional Fix:* the iterator name is also impacted
and shall be converted in the sources (_it_ change from being a prefix to a suffix).
2017-07-25 22:27:48 +02:00
Patrick Pelissier
ad27d331a1
Remove ishared prefix from the Intrusive Shared Port
...
See commit on shared pointer.
2017-07-25 22:27:00 +02:00
Patrick Pelissier
e8c952def8
Remove prefix shared_ from all definition of the functions / types of shared pointer.
...
This make the name shorter, give the user full control over the prefix,
give the user full power over the name,
allow more flexibility over the kind of container (allowing switch quickly),
and uniformize with variant_, tuple_ & algo_.
This is better than the current situation and all containers will switch.
==> Break API compatibility:
To fix this quickly, just add shared_ before the name into the
macro SHARED_PTR_DEF & SHARED_OPLIST.
This will generate the same name than before.
2017-07-25 22:19:08 +02:00
Patrick Pelissier
38c15cebe2
Add statistics about how much overwrite has been done by the buffer.
...
Unlikley the test about overwrite.
2017-07-19 22:46:53 +02:00
Patrick Pelissier
8a0755b863
Do not expand the contract macro of the buffer for the coverage.
2017-07-19 22:39:00 +02:00
Patrick Pelissier
50e4fc482d
Improve coverage.
2017-07-17 13:37:56 +02:00
Patrick Pelissier
b49640214d
Test new function.
2017-07-17 00:00:21 +02:00
Patrick Pelissier
b955eab0a8
Improve coverage.
2017-07-16 23:51:04 +02:00
Patrick Pelissier
c0f7ae188b
Improve quality of coverage report.
2017-07-16 23:50:29 +02:00
Patrick Pelissier
ff5691f0cd
Add new test for coverage.
2017-07-15 21:31:55 +02:00
Patrick Pelissier
540471b7b8
Add tests for reduce functions
2017-07-15 20:46:02 +02:00
Patrick Pelissier
faf7f1ba17
Start measuring coverage for buffer.
2017-07-15 16:43:06 +02:00
Patrick Pelissier
b6b1f604cd
Add more test.
2017-07-14 10:43:50 +02:00
Patrick Pelissier
02df885ecd
Improve coverage.
2017-07-12 23:53:14 +02:00
Patrick Pelissier
291fb2ab56
Improve coverage.
2017-07-12 22:31:32 +02:00
Patrick Pelissier
82f5c29aa1
Improve coverage
2017-07-12 17:31:48 +02:00
Patrick Pelissier
9f277b0eed
Improve quality of coverage report.
2017-07-12 11:01:58 +02:00
Patrick Pelissier
37225eaf57
Fix issue with test-mdict generation:
...
we shall not replace "{" by "{\n" as { is not part of the language.
2017-07-11 23:52:59 +02:00
Patrick Pelissier
88f8ec05a8
Add forgotten header coverage.h
2017-07-11 23:36:44 +02:00
Patrick Pelissier
9ba26ae368
Improve coverage
2017-07-11 23:32:26 +02:00
Patrick Pelissier
d76bfdedb1
Improve coverage test.
2017-07-11 22:55:39 +02:00
Patrick Pelissier
7ffe20bea7
Add test
2017-07-11 22:39:40 +02:00
Patrick Pelissier
ae2ac8be2a
Add new test
2017-07-11 09:32:37 +02:00
Patrick Pelissier
cb99eb4ce9
Add new test
2017-07-11 09:27:52 +02:00
Patrick Pelissier
e0aa57b845
Replace string_shrink2fit by string_reserve (More generic).
2017-07-11 09:21:03 +02:00
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
c19c88deb8
Add test for string_get_word
2017-07-10 12:59:23 +02:00
Patrick Pelissier
69177b6b69
Add missing exit(0)
2017-07-09 19:24:15 +02:00
Patrick Pelissier
64f3fc380e
Update _insert prototype of array to match list _insert.
2017-07-07 22:53:42 +02:00
Patrick Pelissier
4e55aca639
Add new test
2017-07-06 10:26:07 +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
faaad909d3
Fix issue with C++
2017-07-04 23:30:10 +02:00
Patrick Pelissier
985b9a04e4
Remove useless function set_empty.
...
clean is enough.
2017-06-13 00:14:40 +02:00
Patrick Pelissier
305c7ed2c1
Add more tests.
2017-06-04 23:44:29 +02:00
Patrick Pelissier
8cfbe56945
Fix issue with M_PARENTHESIS_P
...
Add M_OPLIST_P
2017-06-04 23:43:05 +02:00
Patrick Pelissier
eaa8277f10
Add macro M_CONST_CAST
2017-05-26 12:40:37 +02:00