Commit Graph

54 Commits

Author SHA1 Message Date
冰彦糖 93088fe4b8
Merge branch 'dev' into dev 2025-08-23 13:58:54 +08:00
BingChunMoLi f2a50d0963
feat: custom_user_agent 2025-08-23 12:58:23 +08:00
Aoran Zeng 43ff5c3fd1
消除 warning
Some checks failed
Publish 'chsrc-git' to AUR / publish (push) Has been cancelled
2025-08-22 19:16:58 +08:00
Aoran Zeng 25965b18d7
使用新宏 2025-08-22 17:15:11 +08:00
Aoran Zeng eb995e055d
添加 user_data 2025-08-22 12:16:53 +08:00
Aoran Zeng 1f81fa4efc
添加 `xy_seq_find()` 2025-08-22 11:23:19 +08:00
Aoran Zeng 4ef5fc7f18
使用 `xy_panic()` 2025-08-21 16:25:52 +08:00
Aoran Zeng 449da90daa
添加 `xy_developer_mistake()` 2025-08-21 16:04:09 +08:00
Aoran Zeng 98b2e14747
动态检测 OS 以及添加 `xy_init()` 2025-08-21 00:14:02 +08:00
Aoran Zeng e6d512eb83
重命名为 `XY_Build_On_xx` 2025-08-20 22:05:07 +08:00
Aoran Zeng 9d7543b681
更新文件头 2025-08-20 21:53:22 +08:00
Aoran Zeng 7d230bcf57
重命名为 `xy_run_iter_lines()` 2025-08-20 19:52:54 +08:00
Aoran Zeng f195709493
实现 `xy_run_capture()`
[GitHub #268 #269]
2025-08-20 19:49:01 +08:00
Aoran Zeng 0d232fba92
全部使用 `xy_strcat()` 弃用 `xy_strjoin()` 2025-08-20 18:32:30 +08:00
Aoran Zeng 63b3832ce9
重命名为 `xy_use_utf8()` 2025-08-20 18:19:58 +08:00
Aoran Zeng ef65acc5df
迁移 `xy_strjoin()` 2025-08-20 16:42:04 +08:00
Aoran Zeng 560a47f358
实现 `xy_map_get/each()` 2025-08-20 16:37:35 +08:00
Aoran Zeng ad087be36a
实现 `xy_map_set()` 2025-08-20 16:15:32 +08:00
Aoran Zeng b4e2a56abc
实现 `xy_seq_at()` 2025-08-20 15:34:05 +08:00
Aoran Zeng 2692f07a2b
使用 `xy_cant_be_null()` 2025-08-20 15:06:50 +08:00
Aoran Zeng 57d81b2edd
实现 `xy_seq_each/len/first/last()` 2025-08-20 14:57:58 +08:00
Aoran Zeng 77a3b458bd
实现 `xy_seq_pop()` 2025-08-20 13:31:15 +08:00
Aoran Zeng e2c8525027
添加 `xy_seq_push()` 2025-08-20 13:01:46 +08:00
Aoran Zeng c33a9dafd0
Rename `xy_arylen()` to `xy_c_array_len()` 2025-08-20 12:30:27 +08:00
Aoran Zeng 9023f8d0e7
Rename `xy_strjoin()` to `xy_strcat()` 2025-08-20 12:25:08 +08:00
Aoran Zeng 6fb8677451
标注更多 flavor 2025-08-20 12:02:37 +08:00
Aoran Zeng 6178b212a0
添加 `echo()` 并使用 `@flavor` 标注API参考依据 2025-08-20 11:42:45 +08:00
Aoran Zeng 34fa12edde
添加 `xy_noop()` 2025-08-20 11:32:37 +08:00
Mikachu2333 329b97a245 fix with suggestions 2025-08-19 09:18:33 +08:00
Mikachu2333 e98361f33b xy.h comments 2025-08-19 09:18:33 +08:00
Aoran Zeng 0d19ee249f
Fix `xy_normalize_path()` 2025-08-18 19:23:16 +08:00
Mikachu2333 07685390b0 fix parent 2025-08-18 18:42:44 +08:00
Mikachu2333 0a91a9bdd5 test 2025-08-18 18:42:44 +08:00
Mikachu2333 a3cf4fcc99
fix pwsh path error (#250)
* add version

* improve test actions

* use XY_On_Windows

---------

Co-authored-by: mikachu2333 <mikachu23333@zohomail.com>
2025-08-17 16:15:52 +08:00
Aoran Zeng 492ca4288c
Debug with \n 2025-08-11 03:00:26 +08:00
Aoran Zeng 4ff53269f0
Warn when` xy_strdup()` called with NULL 2025-08-09 19:38:14 +08:00
Aoran Zeng ca6498b547
Add `<stdint.h>` for `xy.h` 2025-08-09 19:36:41 +08:00
Aoran Zeng d97365ed4e
Fix: add missing `<ctype.h>`
Some checks failed
Publish 'chsrc-git' to AUR / publish (push) Has been cancelled
2025-08-09 12:26:07 +08:00
Aoran Zeng 1a73a31e06
Add test for `xy_streql_ic()` 2025-08-08 00:08:32 +08:00
Mikachu2333 695ce1072c
Add `xy_streql_ic` (#242)
* add xy_streql_ic

* fix format

* only target use it
2025-08-08 00:01:33 +08:00
Aoran Zeng 6f913b2170
Larger default allocation size for `xy_strjoin()` 2025-07-19 05:39:47 +08:00
Aoran Zeng 41d1775fb9
Fix: Undercounted one byte in `xy_strjoin()` causes buffer overflow
[GitHub #232]
2025-07-19 05:37:56 +08:00
Aoran Zeng 685ae27d23
Update maintain URL 2025-07-14 03:58:34 +08:00
Aoran Zeng 0df9d54b27
Prerelease `v0.2.1.4`
Some checks are pending
Publish 'chsrc-git' to AUR / publish (push) Waiting to run
2025-07-12 07:44:44 +08:00
Aoran Zeng d9dac7af6e
Fix typo
Some checks are pending
Publish 'chsrc-git' to AUR / publish (push) Waiting to run
2025-07-11 21:22:43 +08:00
Aoran Zeng ba6fa809d4
Enforce C11 2025-06-20 14:44:05 +08:00
Aoran Zeng 7841e9bf1e
Remove deprecated 2025-06-20 14:41:45 +08:00
Aoran Zeng 537ed4fd8c
Use `print` and `println` 2025-06-20 14:32:00 +08:00
Aoran Zeng 9cbad804c5
Add deprecations 2025-06-20 09:08:32 +08:00
Aoran Zeng 28a3aae6e1
Add `xy_os_family` 2025-06-20 08:51:00 +08:00