Sébastien Helleu
|
d5e6c94246
|
core: fix compiler warning on possible buffer overflow in function util_parse_time (closes #2289)
|
2025-11-30 11:21:42 +01:00 |
|
Sébastien Helleu
|
1c53d3d466
|
api: add functions to parse integer numbers
New functions:
- util_parse_int
- util_parse_long
- util_parse_longlong
|
2025-11-12 20:24:00 +01:00 |
|
Sébastien Helleu
|
665773b119
|
doc/api: add supported date/time format in function util_parse_time
|
2025-08-31 12:15:33 +02:00 |
|
Sébastien Helleu
|
1c09118fe1
|
api: allow lower characters "t" and "z" in function util_parse_time
The following dates are now parsed with the same result:
2025-08-30T20:12:55.866643Z
2025-08-30t20:12:55.866643z
|
2025-08-31 12:15:33 +02:00 |
|
Sébastien Helleu
|
5acbfe9b7d
|
api: fix parsing of date/times with timezone offset in function util_parse_time
|
2025-08-31 12:15:33 +02:00 |
|
Sébastien Helleu
|
7980a6d100
|
api: add support of date like ISO 8601 but with spaces in function util_parse_time
So for example the format "2024-01-04 22:01:02.123456 +0100" is supported in
addition to ""2024-01-04T22:01:02.123456+0100".
|
2025-08-31 12:15:33 +02:00 |
|
Sébastien Helleu
|
8106db400d
|
core: add support of specifier %@ for UTC time in function util_strftimeval
|
2025-05-18 22:15:06 +02:00 |
|
Sébastien Helleu
|
1d808a1f1c
|
core: fix buffer overflow in function util_parse_time
|
2025-05-08 19:09:18 +02:00 |
|
Sébastien Helleu
|
2bc290b6ed
|
core: fix integer overflow and return "unsigned long" in function util_version_number
|
2025-05-08 18:45:39 +02:00 |
|
Sébastien Helleu
|
f6cace609c
|
core: fix memory leak in function util_parse_delay
|
2025-05-08 18:12:11 +02:00 |
|
Sébastien Helleu
|
2475f20cb7
|
all: move description of C files below the copyright and license
|
2025-03-31 11:47:49 +02:00 |
|
Sébastien Helleu
|
3a6ac9ee76
|
all: add SPDX license tag
|
2025-03-31 07:49:26 +02:00 |
|
Sébastien Helleu
|
d8987a1678
|
all: replace Copyright lines by SPDX copyright tag
|
2025-03-30 14:47:12 +02:00 |
|
Sébastien Helleu
|
ca22e49041
|
core, irc: replace "long" by "long long" to store seconds in timeval structure
|
2025-03-16 14:05:11 +01:00 |
|
Sébastien Helleu
|
764b309e92
|
core, irc, relay: fix formatting of seconds and microseconds
|
2025-03-16 14:04:28 +01:00 |
|
Sébastien Helleu
|
c0402bce52
|
core: fix formatting of microseconds in function util_strftimeval
|
2025-03-16 14:01:04 +01:00 |
|
Sébastien Helleu
|
9fe5fa23a0
|
core: convert "long long" to "unsigned long long" in functions util_get_microseconds_string and util_parse_delay
|
2025-03-16 11:13:25 +01:00 |
|
Sébastien Helleu
|
547e2b934e
|
core: update copyright dates
|
2025-02-01 23:13:18 +01:00 |
|
Sébastien Helleu
|
50a9c88b79
|
core: check that version is not NULL or empty string in function util_version_number
|
2024-10-21 08:23:55 +02:00 |
|
Sébastien Helleu
|
3057d846d9
|
core: remove check of NULL pointers before calling string_free_split() (issue #865)
|
2024-04-26 08:53:22 +02:00 |
|
Sébastien Helleu
|
9bc4352089
|
core: fix tests on function strftimeval on Alpine
|
2024-03-24 20:56:29 +01:00 |
|
Sébastien Helleu
|
24c4029c96
|
core: remove "wee-" prefix from source files in src/core and src/core/hook
|
2024-03-12 21:27:37 +01:00 |
|