Patrick Pelissier
|
2e4404ca7e
|
Fix a (strange) warning for gcc 8 without assertions.
Add back the assertions as compile hints.
|
2020-11-22 23:20:04 +01:00 |
|
Patrick Pelissier
|
29eebaf38d
|
Factorization of the allocation.
|
2020-11-22 23:11:09 +01:00 |
|
Patrick Pelissier
|
d0d69aebfa
|
Add final null char in computation of the needed size for the new function _replace_all
|
2020-11-22 23:09:37 +01:00 |
|
Patrick Pelissier
|
477c5853f1
|
Update bench to use new function.
|
2020-11-22 23:04:50 +01:00 |
|
Patrick Pelissier
|
55e7b3083a
|
Add function string_replace_all[_str]
to replace all occurences of a string by another.
|
2020-11-22 23:04:32 +01:00 |
|
Patrick Pelissier
|
0b9e27fb7f
|
Add note on 32 bits systems where atomic library is needed
|
2020-11-21 11:45:25 +01:00 |
|
Patrick Pelissier
|
36ac6d5104
|
Fix issue on single core system
|
2020-11-21 10:53:11 +01:00 |
|
Patrick Pelissier
|
d898d6d4cc
|
Remove duplicate function
|
2020-11-21 10:26:02 +01:00 |
|
Patrick Pelissier
|
e7388929c4
|
Migrate to msys2 v2 for github actions.
|
2020-11-19 22:43:05 +01:00 |
|
Patrick Pelissier
|
45f8b31efc
|
Add function string_subset
|
2020-11-19 22:31:33 +01:00 |
|
Patrick Pelissier
|
ebf440731d
|
Fix address sanitizer issue
|
2020-11-15 09:43:41 +01:00 |
|
Patrick Pelissier
|
501a4a65ec
|
Add test cases
|
2020-11-15 09:39:29 +01:00 |
|
Patrick Pelissier
|
800d03f728
|
Update documentation.
|
2020-11-15 09:39:15 +01:00 |
|
Patrick Pelissier
|
19ff6bfeac
|
Add equal_p method for m-prioqueue
|
2020-11-15 09:39:01 +01:00 |
|
Patrick Pelissier
|
24f5739a3b
|
Update documentation.
|
2020-11-14 23:56:28 +01:00 |
|
Patrick Pelissier
|
b658598e02
|
Update documentation for _update & _erase of priority queues.
|
2020-11-14 23:48:46 +01:00 |
|
Patrick Pelissier
|
47343a2893
|
Add proper test cases for _update of priority queue
|
2020-11-14 23:48:23 +01:00 |
|
Patrick Pelissier
|
c1f99359be
|
Fix issue in update of priority in priority queue:
* Rename _update_further into _update.
* it now supports increase or decrease of priority.
* _update_further is deprecated (and was broken).
|
2020-11-14 23:48:08 +01:00 |
|
Patrick Pelissier
|
bd89e162fc
|
Add support for additional parameter id
|
2020-11-14 23:45:38 +01:00 |
|
Patrick Pelissier
|
983a63fbbc
|
Add more comments to explain how it works.
|
2020-11-14 22:45:39 +01:00 |
|
Patrick Pelissier
|
978e0ea5d7
|
Fix format
|
2020-11-14 22:45:18 +01:00 |
|
Patrick Pelissier
|
85c4b50b6f
|
Improve coverage of prioriy queue.
|
2020-11-08 01:00:17 +01:00 |
|
Patrick Pelissier
|
e77aec4619
|
Reduce test case for MacOS / MINGW (returning incorrect return value for printf)
|
2020-11-05 23:33:26 +01:00 |
|
Patrick Pelissier
|
d67e084010
|
Fix introduced warning
|
2020-11-05 22:55:03 +01:00 |
|
Patrick Pelissier
|
b0a74f162e
|
Fix string_printf in case of error in formating.
|
2020-11-05 22:51:28 +01:00 |
|
Patrick Pelissier
|
d92126b97e
|
Add more tests (improve coverage)
|
2020-11-05 22:51:02 +01:00 |
|
Patrick Pelissier
|
c055358fa2
|
Reformat
|
2020-11-05 22:50:38 +01:00 |
|
Patrick Pelissier
|
9f89148b69
|
Remove valgrind
(not working in Multithread code)
|
2020-11-05 22:02:44 +01:00 |
|
Patrick Pelissier
|
ef1145603a
|
Update comments.
|
2020-10-31 17:30:14 +01:00 |
|
Patrick Pelissier
|
d169a06f79
|
Rename STRING_ASSERT_SLOW into M_ASERT_SLOW
|
2020-10-31 17:30:14 +01:00 |
|
Patrick Pelissier
|
8e15a8cfe9
|
Fix warnings of CodeQL
|
2020-10-31 00:35:28 +01:00 |
|
Patrick Pelissier
|
6466cefbf4
|
Fix yml syntax
|
2020-10-31 00:17:13 +01:00 |
|
Patrick Pelissier
|
bec9a897c9
|
Update codeql to use test executable
|
2020-10-31 00:13:03 +01:00 |
|
Patrick Pelissier
|
37d47cb0f1
|
Cleanup static analyser
|
2020-10-31 00:12:40 +01:00 |
|
Patrick Pelissier
|
0854136005
|
Add target exe for analyser
Cleanup of static analyzer
|
2020-10-31 00:12:02 +01:00 |
|
Patrick Pelissier
|
9427931e45
|
Add CodeQL in continuous integration backend
|
2020-10-31 00:01:05 +01:00 |
|
Patrick Pelissier
|
6aa28b4cfe
|
Fix warnings on ARM
|
2020-10-30 08:02:37 +01:00 |
|
Patrick Pelissier
|
a29682ca29
|
Create M_ASSERT macro to encapsulate assert within M*LIB
The goal is to enable the user to override this macro if needed so that it can enable or disable the M*LIB witout impacting its own assertions.
|
2020-10-29 22:46:17 +01:00 |
|
Patrick Pelissier
|
f5afd6e275
|
Update comments.
|
2020-10-25 21:16:43 +01:00 |
|
Patrick Pelissier
|
7b5fd14bcf
|
Update comment.
|
2020-10-24 23:29:02 +02:00 |
|
Patrick Pelissier
|
22ce001f03
|
Remove incorrect use of M_ASSUME by assert
|
2020-10-24 23:14:14 +02:00 |
|
Patrick Pelissier
|
6f761091cc
|
Update comment.
|
2020-10-24 23:07:29 +02:00 |
|
Patrick Pelissier
|
bb9e0e4f6e
|
Adding test for M_LET for bounded string
|
2020-10-24 14:03:31 +02:00 |
|
Patrick Pelissier
|
5e658a81fe
|
Adding INIT_WITH support for bounded string within M_LET
|
2020-10-24 14:03:27 +02:00 |
|
Patrick Pelissier
|
ddc722bf78
|
Add FIXME
|
2020-10-23 21:50:57 +02:00 |
|
Patrick Pelissier
|
0818d0ac7c
|
Fix macro formatting.
|
2020-10-23 21:46:34 +02:00 |
|
Patrick Pelissier
|
2f315793cd
|
Use of M_ASSERT_INDEX for deque
|
2020-10-23 21:45:37 +02:00 |
|
Patrick Pelissier
|
067a034bc9
|
Use of M_ASSERT_INDEX for list.
|
2020-10-23 21:39:33 +02:00 |
|
Patrick Pelissier
|
201cc45fd8
|
Use of M_ASSERT_INDEX for bitset.
|
2020-10-23 21:37:44 +02:00 |
|
Patrick Pelissier
|
7a270ffacb
|
Update documentation
|
2020-10-23 21:32:06 +02:00 |
|