Patrick Pelissier
|
49a2e600c4
|
Add control of sub-oplist when creating a new oplist of a container
Add test case of this new control
Fix some corner bugs in some containers evolving their own oplists.
|
2020-05-15 21:19:39 +02:00 |
|
Patrick Pelissier
|
34f70a031f
|
Use M_STATIC_FAILURE to stop expanding methods in case of detected failure
|
2020-05-09 10:56:05 +02:00 |
|
Patrick Pelissier
|
4f7b0b9455
|
Happy new year 2020
|
2020-01-04 15:41:06 +01:00 |
|
Patrick Pelissier
|
90f248fbe8
|
Rename interface field of serial object into m_interface (WINDOWS compatibility as it defines a macro called interface)
|
2019-12-06 21:13:37 +01:00 |
|
Patrick Pelissier
|
1f18e788e6
|
Update comments
|
2019-07-11 12:36:01 +02:00 |
|
Patrick Pelissier
|
6b8938cf76
|
Update comments.
Rename / Uniformize internal macros.
|
2019-06-09 10:01:50 +02:00 |
|
Patrick Pelissier
|
05a68157bc
|
Add local argument to serial interface to enable serial interface to create local parameters if needed (for example for serial binary)
|
2019-05-18 11:17:14 +02:00 |
|
Patrick Pelissier
|
363c55668d
|
Add in_serial / out_serial methods for several containers
|
2019-05-18 11:17:14 +02:00 |
|
Patrick Pelissier
|
ead25c905a
|
Factorize common macro for FLA
|
2019-03-07 07:42:50 +01:00 |
|
Patrick Pelissier
|
8b3a4a802c
|
Happy new year!
|
2019-01-02 18:12:07 +01:00 |
|
Patrick Pelissier
|
a8620c3aff
|
Export method _size for operator GET_SIZE
|
2018-11-25 18:00:47 +01:00 |
|
Patrick Pelissier
|
e45437e19f
|
Add missing const
|
2018-11-01 16:11:42 +01:00 |
|
Patrick Pelissier
|
7c2d9c8643
|
Add missing const
|
2018-10-31 11:31:48 +01:00 |
|
Patrick Pelissier
|
02d4bf0e09
|
Export method _empty_p for operator TEST_EMPTY for all containers.
|
2018-10-29 11:06:54 +01:00 |
|
Patrick Pelissier
|
d56b794177
|
Fix bug in _get method of deque container.
|
2018-10-21 22:41:29 +02:00 |
|
Patrick Pelissier
|
4bf045e3d6
|
Make INIT conditional for DEQUE containers.
|
2018-10-21 22:31:22 +02:00 |
|
Patrick Pelissier
|
abb5480890
|
Port DEQUE to CALL infrastructure.
|
2018-10-20 19:02:48 +02:00 |
|
Patrick Pelissier
|
ff098c91f4
|
Add _capacity for deque
|
2018-10-07 09:05:09 +02:00 |
|
Patrick Pelissier
|
e0c456490a
|
Fix definition of oplist for containers:
if no argument is given, it shall behave as if it was defined with
a standard C type.
|
2018-09-15 17:59:50 +02:00 |
|
Patrick Pelissier
|
2e3b312fab
|
Fix issue of recursive usage of M_GLOBAL_OPLIST_OR_DEF
Update the way to use the macro to avoid being limited by the
preprocessor limitation.
|
2018-09-14 20:57:55 +02:00 |
|
Patrick Pelissier
|
b52222cad9
|
Add operator INIT_WITH for oplist with PUSH.
|
2018-09-01 21:22:18 +02:00 |
|
Patrick Pelissier
|
7447492c76
|
Fix issue with deque in case of successive _clean:
the CLEAR method was called more than once for an object.
|
2018-08-20 23:13:55 +02:00 |
|
Patrick Pelissier
|
3b0e940284
|
Add missing _ptr & _srcptr alias.
|
2018-08-19 17:58:23 +02:00 |
|
Patrick Pelissier
|
7e4d51bab0
|
Add support for global oplist for deque
|
2018-08-05 22:33:13 +02:00 |
|
Patrick Pelissier
|
143a5fdf4f
|
Fix issue if given type is a T * = TYPE:
token pasting created const T *, which is not the same as
const TYPE = T * const
|
2018-08-03 20:20:57 +02:00 |
|
Patrick Pelissier
|
75cb61fd36
|
Fix issue of deque's _init_move.
|
2018-07-31 23:11:43 +02:00 |
|
Patrick Pelissier
|
fdada9661f
|
Update comment.
|
2018-07-30 22:45:24 +02:00 |
|
Patrick Pelissier
|
d13849c173
|
Update formatting.
|
2018-07-30 22:42:09 +02:00 |
|
Patrick Pelissier
|
d8a0e73899
|
Update comment.
|
2018-07-30 22:24:03 +02:00 |
|
Patrick Pelissier
|
96202aa78f
|
Do not use reserved identifiers of the C standard (See 7.1.3 Reserved identifiers)
|
2018-07-14 14:35:14 +02:00 |
|
Patrick Pelissier
|
0fda117ffe
|
Add push/pop_front/back_move methods.
|
2018-06-27 20:10:42 +02:00 |
|
Patrick Pelissier
|
0221e555fe
|
Fix bug in deque: _clean doesn't call CLEAR on all created objects.
|
2018-05-22 05:46:37 +02:00 |
|
Patrick Pelissier
|
dc1445e0d6
|
Remove TODO comment.
|
2018-05-10 23:12:38 +02:00 |
|
Patrick Pelissier
|
7d08a7ba1a
|
Fix issue in _parse_str
|
2018-05-09 21:48:32 +02:00 |
|
Patrick Pelissier
|
7b0f71cc99
|
Add method _parse_str for deque
(missing tests for in, out, get_str & parse_str).
|
2018-05-03 17:34:17 +02:00 |
|
Patrick Pelissier
|
d269c23948
|
Remove warning with C++.
It'll will increase the size of the type a little bit.
TODO: Check compatibility between code using C def and code using C++ def
|
2018-03-16 23:00:46 +01:00 |
|
Patrick Pelissier
|
2ed95bfe16
|
Fix generic issue for deque
(was totaly broken before).
|
2018-02-21 22:05:51 +01:00 |
|
Patrick Pelissier
|
39fca33958
|
Reuse memory node in case of pop from the opposite side
if there is at least one free node in the opposite side.
This reduce the memory consumption ***a lot*** for FIFO queues
usage.
|
2018-02-21 21:50:40 +01:00 |
|
Patrick Pelissier
|
eb4cbe863e
|
Add some TODO
|
2018-02-20 23:10:47 +01:00 |
|
Patrick Pelissier
|
210e05f7fc
|
Update copyright to 2018
|
2018-01-29 20:28:30 +01:00 |
|
Patrick Pelissier
|
2089af8fd3
|
Fix broken code due to previous commits.
|
2018-01-24 22:26:46 +01:00 |
|
Patrick Pelissier
|
c0ccaf574d
|
Add assertion missing raised by scan-build.
|
2017-09-26 22:41:48 +02:00 |
|
Patrick Pelissier
|
0b44a55b6a
|
Replace method EXPECTED_SIZE by INC_ALLOC so that all the way of increasing
the size in case of reallocation can be configured and not only the minimum
size.
|
2017-09-16 18:46:22 +02:00 |
|
Patrick Pelissier
|
95f467f4be
|
Fix potential bug in case of ill-formed serialized container.
|
2017-09-16 13:30:09 +02:00 |
|
Patrick Pelissier
|
2e564088b0
|
Simplify the inclusion of headers.
|
2017-09-16 10:14:45 +02:00 |
|
Patrick Pelissier
|
1930bdeac1
|
_DEF macros checks if a global oplist is register if there is no one
given in the macro call. If it founds one, it will be it instead
of M_DEFAULT_OPLIST.
|
2017-09-16 08:31:22 +02:00 |
|
Patrick Pelissier
|
d08e2bba95
|
Add I/O for deque
|
2017-09-06 21:05:57 +02:00 |
|
Patrick Pelissier
|
ca08c62244
|
Fix bug.
|
2017-08-20 21:41:19 +02:00 |
|
Patrick Pelissier
|
07ddf39707
|
Fix bug.
|
2017-08-19 20:16:14 +02:00 |
|
Patrick Pelissier
|
65a6889552
|
Fix bug.
|
2017-08-19 18:40:47 +02:00 |
|