Commit Graph

46 Commits

Author SHA1 Message Date
Aoran Zeng 6ff06c41b4 Fix break 2024-04-18 22:41:15 +08:00
Aoran Zeng d52286cf60 Set version of xy.h 2024-04-18 22:18:28 +08:00
Aoran Zeng 0ef468f524 Format 2024-04-18 22:12:22 +08:00
Aoran Zeng afe6f96611 Add `xy_parent_dir()` 2023-09-29 21:16:16 +08:00
Aoran Zeng b032ec7710 Refactor `xy_getcmd()` 2023-09-27 19:31:23 +08:00
Aoran Zeng fe7e08c6a5 Rename to uniform path 2023-09-27 18:31:45 +08:00
Aoran Zeng 87858ed7a8 Rename to `xy_unix_path_to_win_if_on_win` 2023-09-27 18:14:43 +08:00
Aoran Zeng b92c68ebed Extract `xy_unix_path_to_win()` 2023-09-27 16:52:33 +08:00
Aoran Zeng ce309b6c8d Hide debug info 2023-09-27 16:41:28 +08:00
Aoran Zeng 621291069f Add `assert_str` 2023-09-27 16:36:48 +08:00
Aoran Zeng 4492b7a3fc Add print 2023-09-27 16:25:59 +08:00
Aoran Zeng bd6f35c1a4 Refactor `xy_str_strip()` 2023-09-27 16:12:22 +08:00
Aoran Zeng 236e5e74ac New function `xy_str_gsub()` 2023-09-27 16:01:40 +08:00
Aoran Zeng 629e860ae9 Fix wrong size in `xy_getcmd()` 2023-09-27 12:46:47 +08:00
Aoran Zeng b5b32bcee8 Get cmd result in `netbsd` 2023-09-27 11:35:30 +08:00
Aoran Zeng fd6b9c6b9e Refactor `xy_getcmd()` 2023-09-27 11:32:13 +08:00
Aoran Zeng 54e33cab23 Rename back to `chsrc_` 2023-09-26 21:41:47 +08:00
Aoran Zeng c60ffb8c80 Change macro name 2023-09-26 20:52:49 +08:00
Aoran Zeng 57bf9f86a4 Add `xy_run()`, `xy_append_to_file()` and `xy_overwrite_file()` 2023-09-26 19:20:12 +08:00
Aoran Zeng 20fb805ada Remove macro semicolon 2023-09-22 15:57:30 +08:00
Aoran Zeng c54b273faa Use macro for os 2023-09-22 15:45:12 +08:00
Aoran Zeng 208c60431b Update info 2023-09-16 22:10:54 +08:00
Aoran Zeng 5f729f7989 Fix macOS macro
Close #I80IGH
2023-09-13 22:41:16 +08:00
Aoran Zeng c2ee5d14d6 Fix header file 2023-09-10 14:50:41 +08:00
Aoran Zeng e9cd2a327f Add powershell profile location 2023-09-10 13:31:48 +08:00
Aoran Zeng 9b2a662f26 Add `xy_file_exist()` 2023-09-10 13:15:34 +08:00
Aoran Zeng 2f01b69c9c Update file headers 2023-09-09 16:57:06 +08:00
Aoran Zeng 67d28684d7 Fix some warning 2023-09-06 19:45:37 +08:00
Aoran Zeng 6bec4937ec Make up the fogotten return for `xy_strdup()` 2023-09-06 16:56:38 +08:00
Heng Guo 18863a065b Modify os in README 2023-09-06 15:59:53 +08:00
Heng Guo 1a8f7ee07f Fix bugs in ubuntu to 'make' successfully 2023-09-05 22:09:40 +08:00
Heng Guo 898c7cf24c add new getcmd 2023-09-05 22:09:40 +08:00
Aoran Zeng 615e9a6a7a Add license info to headers 2023-09-05 22:08:24 +08:00
ccmywish d825a2c145
Merge pull request #5 from RubyMetric/feature-os-archlinux
Add feature os-archlinux,os-gentoolinux,os-other-arch of ubuntu; Add getcmd to help.h
2023-09-05 16:56:29 +08:00
Heng Guo c658fbabcb Add feature os-archlinux,os-gentoolinux,os-other-arch of ubuntu; Add getcmd to help.h 2023-09-05 16:32:56 +08:00
Aoran Zeng db131f335e Remove intermediate impl 2023-09-05 15:36:26 +08:00
Aoran Zeng 5ba6146ca0 Add `xy_str_to_` styles 2023-09-05 15:15:55 +08:00
Aoran Zeng 76ac8dc3ca Add `xy_str_strip()` 2023-09-05 11:09:35 +08:00
Aoran Zeng 07ce4c217e Add `xy_str_start_with()` and `xy_str_delete_prefix()` 2023-09-05 10:30:44 +08:00
Aoran Zeng 78869c9dad Add last space to `xy_str_to_quietcmd()` 2023-09-05 09:32:02 +08:00
Aoran Zeng e92509d0e0 Add `xy_str_delete_suffix()` 2023-09-04 21:21:36 +08:00
Aoran Zeng 28eb3fae31 Add `xy_str_end_with()` 2023-09-04 21:15:16 +08:00
Aoran Zeng d089646058 Use xy_str_to_quietcmd 2023-09-04 15:10:18 +08:00
Aoran Zeng dad186a071 Add two put 2023-09-04 14:55:38 +08:00
Aoran Zeng 152e061d9d Update header signature 2023-09-04 09:08:03 +08:00
Aoran Zeng eb6481256b Rename to xy.h 2023-09-04 09:08:03 +08:00