1
1
mirror of https://github.com/theoludwig/libcproject.git synced 2024-11-12 15:23:12 +01:00
Commit Graph

111 Commits

Author SHA1 Message Date
semantic-release-bot
d14b56904e
chore(release): 5.1.0 [skip ci] 2024-10-08 06:50:16 +00:00
b0fd3bf373
feat(date): add date_get_age
Fixes #7
2024-10-08 08:47:16 +02:00
95ad9f24f4
feat(date): add date_get_now_local
Related #7
2024-10-08 08:37:24 +02:00
ded2ca0795
feat(date): add date_get_now_utc
Related #7
2024-10-08 08:36:14 +02:00
semantic-release-bot
a7aef0b954
chore(release): 5.0.0 [skip ci] 2024-09-25 13:00:04 +00:00
336bbf6197
feat: add assert module 2024-09-25 14:57:34 +02:00
1be12c2a97
perf: allow to init array_list with initial capacity
Fixes #8
2024-09-25 14:34:33 +02:00
51d7123c8d
fix!: usage of stdint instead of int types for cross-platform compatibility
BREAKING CHANGE: Functions signatures changed.

Fixes #9
2024-09-25 14:26:15 +02:00
6ac47429e8
feat: use double instead of float for better precision
BREAKING CHANGE: Functions signatures changed
in the `mathematics` module.

BREAKING CHANGE: Renamed `MATHEMATICS_FLOAT_PRECISION` to `MATHEMATICS_DOUBLE_PRECISION`
2024-09-25 12:53:28 +02:00
semantic-release-bot
b3c17983b3
chore(release): 4.3.0 [skip ci] 2024-09-15 17:24:10 +00:00
aff8233483
feat: add date module 2024-09-15 19:21:35 +02:00
e1d9b714db
chore: update @since version 2024-09-15 18:43:39 +02:00
740aab1fcf
chore: rename master branch to main 2024-09-15 18:39:10 +02:00
fd6330c08c
build(deps): update latest 2024-09-15 18:38:21 +02:00
164ea2a7f8
docs: fix string_get_formatted_number examples 2024-09-15 18:25:01 +02:00
2fd8d102e9
feat: add mathematics_max, mathematics_min
Also add `mathematics_max_values` and
`mathematics_min_values` to check in array.
2024-09-13 15:35:19 +02:00
85ce5228ef
feat: add mathematics_opposite 2024-09-13 14:44:26 +02:00
c49d5f5421
feat: add string_zero_pad 2024-09-12 12:31:58 +02:00
35b868d0c1
feat: add string_pad_start 2024-09-12 12:22:53 +02:00
7683aa1db7
docs(license): add email address 2024-01-30 01:25:17 +01:00
semantic-release-bot
6eee39fffb
chore(release): 4.2.1 [skip ci] 2023-12-26 20:20:38 +00:00
ab9860e969
fix: markdownlint in LICENSE 2023-12-26 21:19:20 +01:00
semantic-release-bot
a50773e058
chore(release): 4.2.0 [skip ci] 2023-12-26 19:47:09 +00:00
1e0bf99ef6
feat: add string_last_position_of 2023-12-26 20:40:46 +01:00
ec6e748d24
feat: add string_position_of 2023-12-26 20:30:54 +01:00
9bb21e070f
build(deps): update latest 2023-12-26 19:42:12 +01:00
bb9c7a1668
Merge branch 'master' of github.com:theoludwig/libcproject 2023-10-23 23:02:35 +02:00
211648d29f
chore: better Prettier config for easier reviews 2023-10-23 23:02:29 +02:00
semantic-release-bot
574aeb414e
chore(release): 4.1.1 [skip ci] 2023-10-13 09:07:49 +00:00
ChepakiLeCookie
e0115dd7d9
fix: error in array_list_remove (always removed the last index and not the index given) (#6)
Co-authored-by: Maxime Rumpler <mrumpler68@gmail.com>
2023-10-13 11:04:38 +02:00
semantic-release-bot
269b1f7451
chore(release): 4.1.0 [skip ci] 2023-08-10 09:06:44 +00:00
c6df05e634
refactor: avoid usage of char*, instead use string_t 2023-08-10 00:32:49 +02:00
07e2f4db45
fix: convert numbers base to another only accept unsigned integers 2023-08-09 23:29:58 +02:00
b9ba3fbff4
docs: consistency improvements 2023-08-09 21:08:15 +02:00
7ef38fa993
chore: always use apt instead of apt-get 2023-08-09 20:29:19 +02:00
f99e4941e4
fix: correct usage of malloc and sizeof for structs 2023-08-09 20:25:03 +02:00
6505e3ba49
feat: add string_remove_character 2023-08-09 20:21:33 +02:00
f0716c2e12
docs: invalid @param for character_append 2023-08-09 20:17:54 +02:00
semantic-release-bot
78fe9ff404
chore(release): 4.0.0 [skip ci] 2023-08-08 12:24:43 +00:00
e5190818c4
perf: mutate destination string for string_concatenate
BREAKING CHANGE: Function signature changed
2023-08-07 00:42:11 +02:00
b922fd9cd3
fix: handle EXIT_FAILURE by printing error message with perror 2023-08-07 00:11:07 +02:00
72645da4b2
perf: mutate strings instead of copy when possible
BREAKING CHANGE: Most of string functions mutates the string instead of copying now.
This allows better performance when copy is not needed.
It also allows more granual control.
If copy is wanted, simply use `string_copy` before calling the function.

Impacted functions are:
`string_to_uppercase`, `string_to_lowercase`, `string_replace`,
`string_trim_start`, `string_trim_end`, `string_trim`,
`string_capitalize`, `string_reverse`
2023-08-06 23:17:07 +02:00
semantic-release-bot
01e9b71402
chore(release): 3.1.0 [skip ci] 2023-08-06 14:43:01 +00:00
5c6f4d8192
feat: improvements to filesystem_get_mimetype 2023-08-06 16:39:33 +02:00
d604288365
docs: improve usage explanations 2023-08-06 16:12:10 +02:00
dff2836bfc
feat: add filesystem_remove 2023-08-06 12:14:13 +02:00
ad0a460923
feat: add filesystem_exists 2023-08-06 12:06:43 +02:00
semantic-release-bot
be8a63ca8a
chore(release): 3.0.0 [skip ci] 2023-08-05 13:40:47 +00:00
693cab7a34
chore: only use sanitizer flags in test 2023-08-05 15:33:19 +02:00
3220c0e26b
chore: update @since version 2023-08-05 15:03:53 +02:00