This website requires JavaScript.
6de8eab5c3
Add comments, rename macro for maintenance
Patrick Pelissier
2025-03-05 22:43:43 +01:00
9e63289a38
Port to new memory model
Patrick Pelissier
2025-03-04 23:18:07 +01:00
bf617ab6ab
Port to new memory interface (WIP)
Patrick Pelissier
2025-03-04 00:16:40 +01:00
3f8c30e592
Port ARRAY & STRING to new memory model with memory context support
Patrick Pelissier
2025-02-26 21:24:31 +01:00
37b2f4d2ac
Update test suite to properly allocation & deallocation
Patrick Pelissier
2024-12-23 22:30:24 +01:00
50e8d1f469
Fix old size parameter for memory allocation
Patrick Pelissier
2024-12-23 22:30:08 +01:00
d40a6e5bc3
Document limitation
Patrick Pelissier
2024-12-23 22:29:30 +01:00
b4c29d5423
Update spec
Patrick Pelissier
2024-12-23 22:29:16 +01:00
9f4f9d1d5d
Update
Patrick Pelissier
2024-12-21 13:06:52 +01:00
1e196fe22a
Port to new spec M_MEMORY_FULL
Patrick Pelissier
2024-12-21 13:02:17 +01:00
450d2c9000
Update spec of M_MEMORY_FULL
Patrick Pelissier
2024-12-21 13:01:52 +01:00
93112a5a7c
Update example
Patrick Pelissier
2024-12-21 13:01:15 +01:00
1f2584ccea
Port to new memory model
Patrick Pelissier
2024-12-21 12:36:01 +01:00
5b4c9cd618
Update spec of memory functions
Patrick Pelissier
2024-12-21 12:35:46 +01:00
f4e3d9cd4c
Release V0.7.4
V0.7.4
Patrick Pelissier
2025-05-07 21:02:01 +02:00
4988661b7d
Fix target armv6 (2) for Continuous Integration
Patrick Pelissier
2025-05-06 00:47:29 +02:00
7033a922c7
Fix target armv6 for Continuous Integration
Patrick Pelissier
2025-05-05 23:50:43 +02:00
dd607252eb
Add target risc64, ppc64le and armv6 for Continuous Integration
Patrick Pelissier
2025-05-05 23:46:09 +02:00
73da9a4316
Update obsolete header section
Patrick Pelissier
2025-04-18 21:58:15 +02:00
b3a0d70147
Fix memory safety errors in examples.
Patrick Pelissier
2025-04-08 21:46:16 +02:00
c55bb6b9ad
Fix random segfault on AARCH64 CI
Patrick Pelissier
2025-03-13 22:24:13 +01:00
68fdc2dde1
Fix undefined behavior in using setjmp
Patrick Pelissier
2025-03-06 15:38:44 +01:00
8877af10b0
Update copyright
Patrick Pelissier
2025-03-03 23:45:04 +01:00
782963dec5
Add example of disabling small name usage
Patrick Pelissier
2025-03-01 12:20:28 +01:00
36d11bc2bd
Fix small name usage
Patrick Pelissier
2025-03-01 11:10:29 +01:00
6d621703eb
Copyright go to 2025 year
Patrick Pelissier
2025-03-01 11:03:38 +01:00
76b40d247d
Fix #133 : forgotten const for second argument (reported by Brian Sipos)
Patrick Pelissier
2025-02-03 23:12:22 +01:00
033deac9f5
Workaround for GCC 12 bug in warning
Patrick Pelissier
2025-02-03 23:06:41 +01:00
b60553165d
Fix usage of M_USE_SMALL_NAME (Reported by Brian Sipos)
Patrick Pelissier
2025-02-03 22:33:07 +01:00
e1a4d359a2
Update doc
Patrick Pelissier
2025-02-02 10:50:41 +01:00
4ab2615a1c
Clarify constraint on _splice
Patrick Pelissier
2024-12-25 20:48:34 +01:00
9136a4a972
Update
Patrick Pelissier
2024-12-08 19:34:15 +01:00
55dcf0e438
Fix example
Patrick Pelissier
2024-11-30 13:04:45 +01:00
fb604f02b7
Update / add todo
Patrick Pelissier
2024-11-30 10:26:11 +01:00
1db417e30e
Rename _new_copy into _clone
Patrick Pelissier
2024-11-30 10:25:51 +01:00
5b77fe7207
Add some missing const in the interface
Patrick Pelissier
2024-11-30 10:25:36 +01:00
dd509f2b7e
Update documentation of new shared pointer interface.
Patrick Pelissier
2024-11-30 10:25:15 +01:00
50d4e15297
Simplify lock as mutex should be released by the thread that performed the initial lock to be portable
Patrick Pelissier
2024-11-26 22:26:25 +01:00
f6d1b16338
Fix C++ warning
Patrick Pelissier
2024-11-25 00:04:54 +01:00
64a035559d
Update test suite
Patrick Pelissier
2024-11-24 23:57:22 +01:00
c4bc37560c
Improve testing of new shared pointer Adding measure of coverage. Need to move some codes outside the main C file, to avoid polluting the measure of the coverage by some functions we don't need to measure.
Patrick Pelissier
2024-11-24 18:21:21 +01:00
e7309b7d3a
Add forgotten "const" attribute to string_length_u and string_utf8_p
Patrick Pelissier
2024-11-24 18:20:19 +01:00
c461b4eca4
Update shared pointer new interface
Patrick Pelissier
2024-11-22 21:15:03 +01:00
f21d427de1
Convert example to new shared ptr interface
Patrick Pelissier
2024-11-16 18:02:13 +01:00
0f9edaa7ee
Fix oplist usage of new shared-ptr
Patrick Pelissier
2024-11-16 18:01:58 +01:00
64888127c4
Update to get the lastest v2
Patrick Pelissier
2024-11-16 16:55:42 +01:00
d5b4ec249b
Update test suite
Patrick Pelissier
2024-11-16 13:26:21 +01:00
0bcd78a8f5
Fix warning.
Patrick Pelissier
2024-11-12 22:31:05 +01:00
27b0850af4
Fix case of the same variable is passed as 2/3 arguments of a function.
Patrick Pelissier
2024-11-12 22:26:45 +01:00
ae55ccfc40
Update test to consider change of default for deque
Patrick Pelissier
2024-11-11 23:56:33 +01:00
5bf644ccf0
Improve test suite
Patrick Pelissier
2024-11-11 22:38:10 +01:00
3f09adc507
Fix ADD/SUB/MUL/DIV methods of a shared pointer
Patrick Pelissier
2024-11-11 22:38:02 +01:00
4e851142c2
Change the operator POP of a DEQUE to pop_front instead of pop_back: it is more inline with what we expects / uses a deque for. (buffer FIFO)
Patrick Pelissier
2024-11-11 22:36:56 +01:00
fec6b42260
Add comment
Patrick Pelissier
2024-11-11 21:47:54 +01:00
9dbc48aa5d
Update
Patrick Pelissier
2024-11-09 19:07:08 +01:00
b92bae34eb
Update comments
Patrick Pelissier
2024-11-09 14:54:16 +01:00
8faf7f79c4
Add first test cases for m-shared-ptr
Patrick Pelissier
2024-11-09 14:27:16 +01:00
c3e29a16df
Fix warnings
Patrick Pelissier
2024-11-09 14:26:57 +01:00
1bc33a10fc
Fix issues (WIP)
Patrick Pelissier
2024-11-09 11:12:12 +01:00
b7074d1c69
Fix some issues
Patrick Pelissier
2024-11-06 23:13:23 +01:00
26d541fe06
Move internal functions to internal namespace
Patrick Pelissier
2024-11-05 23:17:28 +01:00
2991c7cc5a
Add oplist
Patrick Pelissier
2024-11-02 23:35:21 +01:00
4e7cbae766
Add short name support
Patrick Pelissier
2024-11-02 17:35:25 +01:00
d5e0620e4c
Minor fix
Patrick Pelissier
2024-11-02 17:21:59 +01:00
32cfbd23bc
Update comments.
Patrick Pelissier
2024-11-02 16:59:40 +01:00
0e09681a6a
Move m_typeof to core module.
Patrick Pelissier
2024-10-30 23:42:45 +01:00
bc8098b337
Update comments.
Patrick Pelissier
2024-10-30 23:31:47 +01:00
c5692e7e9f
Update comment
Patrick Pelissier
2024-10-28 17:46:48 +01:00
f43db93791
Adding first WIP version of the new shared pointer header.
Patrick Pelissier
2024-10-27 22:01:00 +01:00
14c954c6ce
Adding new property: multithread safety if the container handles itself the multi thread
Patrick Pelissier
2024-10-27 20:38:36 +01:00
60280087c7
Fix default of FULL_P
Patrick Pelissier
2024-10-27 20:37:57 +01:00
1e57d9c6d6
Fix default of FULL_P
Patrick Pelissier
2024-10-27 19:48:47 +01:00
eeaf74d24f
Add FULL_P operator Add M_EMPLACE_LIST_TYPE_VAR_ALTER which doesn't put a comma before.
Patrick Pelissier
2024-10-26 16:56:54 +02:00
a318d36c35
Fix concurrent access.
Patrick Pelissier
2024-10-19 11:55:41 +02:00
edcf8ee37a
Final update of the byte string
Patrick Pelissier
2024-10-05 11:40:23 +02:00
8a1f30eeff
Finish implementation of Byte String
Patrick Pelissier
2024-10-05 10:23:47 +02:00
2995b119b7
Add precision
Patrick Pelissier
2024-10-05 10:21:19 +02:00
08bd5a888b
Fix formatting
Patrick Pelissier
2024-10-05 10:21:09 +02:00
2f1b17f805
Fix for clang
Patrick Pelissier
2024-09-26 22:36:45 +02:00
0379f5f1c6
Add header for handling Byte String as per #123 API designed for streaming bytes and easy integration with other libraries.
Patrick Pelissier
2024-09-26 22:31:56 +02:00
45b11fb49b
Fix #129 :
Patrick Pelissier
2024-09-21 12:39:29 +02:00
82ea4341de
Fix documentation (#128 )
Patrick Pelissier
2024-08-19 22:02:56 +02:00
341d145b4d
Fix internal terminoligy
Patrick Pelissier
2024-07-26 23:22:58 +02:00
847f52fa5e
Fix clang warning
Patrick Pelissier
2024-07-11 22:07:51 +02:00
02828a0109
Fix interface of Intrusive List (Reported by Brian Sipos): * incorrect clear operator usage * useless prototype of _insert, inconsistent with the policy of other functions * syntax error in _insert
Patrick Pelissier
2024-07-11 21:41:14 +02:00
0f7d5bf366
Update doc
Patrick Pelissier
2024-06-15 09:51:51 +02:00
1277c75ea3
Update doc
Patrick Pelissier
2024-06-15 09:47:10 +02:00
47a51ee5c4
Update doc
Patrick Pelissier
2024-06-15 09:45:13 +02:00
3f102c2270
Use of memcmp instead of strcmp for string_equal_p
Patrick Pelissier
2024-06-12 23:15:56 +02:00
4ba55dc3ca
Rename new USE directive to be uniform with string one.
Patrick Pelissier
2024-06-08 00:08:27 +02:00
2c0db40158
Simplify logic for set_at of both dict, (after analyzing which condition is likely) which should help code size & performance a little bit.
Patrick Pelissier
2024-06-01 23:44:47 +02:00
8987288a10
Fix spelling
Patrick Pelissier
2024-06-01 11:05:35 +02:00
cf8c2afddd
Fix warning on previous modification
Patrick Pelissier
2024-06-01 11:03:39 +02:00
0a8e336037
Fix internal & subtil issue when comparing two methods to check for their presence in an oplist, we may generate the name of an already existing macro. For example, in the oplist (SIZE()) when we expanded we get the macro M_ADD_SIZE to check if ADD is present, but M_ADD_SIZE is an already existing macro, which generates an error. To avoid this issue, define a prefix for the definition of the operators (M_X)
Patrick Pelissier
2024-06-01 10:47:21 +02:00
e7e29d913e
Add new example of variant
Patrick Pelissier
2024-06-01 10:16:59 +02:00
f3ebc8c7eb
Update comments
Patrick Pelissier
2024-06-01 10:16:47 +02:00
2d4fc9dc97
Allow generation of EMPLACE_TYPE for variant if all oplists defined a FIELD operator.
Patrick Pelissier
2024-06-01 10:16:39 +02:00
afedb06dee
Fix buffer overflow in 32 bits mode
Patrick Pelissier
2024-05-28 23:31:26 +02:00
3fd2146bbe
Fix issue in 32 bits mode
Patrick Pelissier
2024-05-28 23:31:16 +02:00
8e70b6175a
Fix clang warning
Patrick Pelissier
2024-05-28 23:14:44 +02:00