Commit Graph

22 Commits

Author SHA1 Message Date
auronandace 2488e523cb add documentation to ctype header 2026-06-10 13:49:28 +01:00
auronandace 71560ce9ca move ctype bits from C to cbindgen 2026-03-27 08:07:18 +00:00
auronandace cfb16cd888 cleanup bits_time, crypt and ctype headers 2026-02-20 12:06:16 +00:00
auronandace ea61d11e92 verify ctype header includes 2026-02-03 14:35:24 +00:00
Connor-GH 7beaba6bce ctype/mod.rs: add locale_t type definition 2026-01-22 08:26:56 -06:00
Connor-GH 71d192fa4c ctype.h: add *_l family of functions
This commit adds all of the locale-based versions of the ctype
functions, like `isalpha_l`. This allows 14 more tests to pass for
os-test.
2026-01-22 07:39:24 -06:00
Connor-GH cfd291f698 ctype.h: add locale_t type 2026-01-21 19:20:10 -06:00
sourceturner defd2ce7c3 Deny deny-unsafe_op_in_unsafe_fn on the crate level 2026-01-21 00:41:57 +01:00
auronandace 6696d26eb4 locale fnmatch dirent and ctype header cleanup 2025-12-30 20:57:47 +00:00
Jeremy Soller 82084440ad Support nightly-2025-10-03 2025-10-03 21:51:10 -06:00
Josh Megnauth 5348273ccc Emit C attributes via cbindgen 2024-11-17 16:15:07 +00:00
Peter Limkilde Svendsen 3e7f0eebd4 Add ctype.h docs 2024-10-29 23:57:14 +01:00
jD91mZM2 593925ceb4 Unambiguate all include guards
GNU binutils also uses _FNMATCH_H for a guard, maybe along others!
2020-06-29 11:34:51 +02:00
Peter Limkilde Svendsen 0b4b3cd55c Use lossless type conversion in ctype.h 2020-01-20 17:57:56 +00:00
jD91mZM2 c7d499d4f2 Upgrade to the 2018 edition
I didn't think it'd be this useful first, but thank god for `cargo fix --edition`!
2019-08-04 19:05:45 +02:00
Mateusz Mikuła 63a1319e50 Cbindgen update 2019-07-10 10:08:39 +00:00
Tibor Nagy d38a1d0da3 ctype: Implement _tolower, _toupper 2019-02-20 11:49:06 +01:00
Tibor Nagy 5fac72298f ctype: Fix iscntrl, isgraph, ispunct, make tests exhaustive
iscntrl: Didn't handle the EOF macro correctly
isgraph: Didn't handle '~' (tilde) correctly
ispunct: Several issues
2019-02-19 19:53:54 +01:00
Tibor Nagy 8d05067ac7 ctype: fix isspace to test all space class characters 2018-11-28 20:33:02 +01:00
jD91mZM2 1c92751a73 Don't rely on integer wrapping in ctype
Don't rely on integer wrapping in ctype and fix strcasecmp on
non-alphabetic characters
2018-11-17 20:26:43 +01:00
Jeremy Soller 7ab700315d Fix warnings and add c_str 2018-08-26 15:15:29 -06:00
Jeremy Soller c20ce5ffed Large reorganization of headers (WIP) 2018-08-26 08:11:35 -06:00