Hiroshi SHIBATA and Claude Opus 5
224dc5c110
Use rb_len_t for path lengths
...
The file, dir, load and ruby.c changes go together because rb_get_expanded_load_path() returns the maximum path length through a pointer. Lengths passed to the Windows string conversion helpers that take `long *` stay `long`.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com >
2026-10-09 14:00:15 +09:00
Hiroshi SHIBATA and Claude Opus 5
cc3ba11012
Use rb_len_t in the C API for lengths and indices
...
Once rb_len_t widens this changes the `long *` output parameters of rb_range_beg_len(), rb_str_subpos(), rb_arithmetic_sequence_beg_len_step(), ruby_enc_find_basename() and ruby_enc_find_extname(), so extensions passing `long *` to them will need to be updated. The extension guides list these signatures verbatim and follow along.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com >
2026-10-09 14:00:15 +09:00
BurdetteLamar
7df1fefe21
[DOC] Respond to review
2026-07-13 04:19:52 +09:00
BurdetteLamar
188343f1c9
[DOC] Doc for Pathname#sub_ext
2026-07-13 04:19:52 +09:00
BurdetteLamar
df78d758f2
[DOC] Doc for Pathname#sub
2026-07-13 03:50:38 +09:00
BurdetteLamar
f3e4fc4fee
[DOC] Doc for Pathname#root?
2026-07-11 11:02:13 +09:00
Burdette Lamar
1a0bf682a7
[DOC] Tweaks for Pathname#absolute? ( #16980 )
2026-05-16 09:18:39 -04:00
Burdette Lamar
0dc4b2ee81
[DOC] Tweaks for Pathname#<=>
2026-05-14 16:56:57 -04:00
Nobuyoshi Nakada
de8d33295d
pathname: Move same_paths? to pathname.c
2026-05-13 17:37:48 +09:00
Nobuyoshi Nakada
7dad6c043e
pathname: Move split_names to pathname.c
2026-05-13 17:37:48 +09:00
Nobuyoshi Nakada
ce5a099901
pathname: Move del_trailing_separator to pathname.c
2026-05-13 17:37:48 +09:00
Nobuyoshi Nakada
e887ffa35e
pathname: Move add_trailing_separator to pathname.c
2026-05-13 17:37:48 +09:00
Nobuyoshi Nakada
516adc1f78
pathname: Move has_trailing_separator? to pathname.c
2026-05-13 17:37:48 +09:00
Nobuyoshi Nakada
e3cccd28ea
pathname: Move chop_basename to pathname.c
2026-05-13 17:37:48 +09:00
Nobuyoshi Nakada
820554c8d2
pathname: Move sub_ext to pathname.c
...
Including platform depending code.
2026-05-13 17:37:48 +09:00
Nobuyoshi Nakada
7c5c967fca
pathname: Define has_separator? instead of SEPARATOR_PAT
2026-05-13 17:37:48 +09:00
Nobuyoshi Nakada
488b8e58bc
pathname: Move root? to pathname.c
2026-05-13 17:37:48 +09:00
Nobuyoshi Nakada
9021799650
pathname: Move absolute? to pathname.c
2026-05-13 17:37:48 +09:00
Nobuyoshi Nakada
ded98a40dc
pathname: Check for path encoding and NUL terminators
2026-05-13 17:37:48 +09:00
Burdette Lamar
ffbfa0a1b3
[DOC] Doc for Pathname#<=> ( #16406 )
2026-03-22 15:21:07 -04:00
Hiroshi SHIBATA
f6ecbea675
Revert "Restore Pathname#realdirpath"
...
This reverts commit 7d79475bec .
2025-08-26 18:53:54 +09:00
Hiroshi SHIBATA
7d79475bec
Restore Pathname#realdirpath
2025-08-25 17:40:11 +09:00
Hiroshi SHIBATA
1b4a380855
Import https://github.com/ruby/pathname/pull/57
2025-08-25 17:40:11 +09:00
Nobuyoshi Nakada
4fab4cfe35
[ruby/pathname] Fix Init and InitVM
...
https://github.com/ruby/pathname/commit/2b63d44453
2025-07-15 19:33:34 +09:00
Hiroshi SHIBATA
b67e10257c
pathname.rbinc conflicts with lib/pathname.rb in our test suite.
...
We can use `pathname.rb` after merging `lib/pathname.rb` to `pathname_builtin.rb`.
2025-07-15 15:59:11 +09:00
Hiroshi SHIBATA
69d4c67347
Provide pathname.so with embedded Pathname
2025-07-15 13:36:03 +09:00
Hiroshi SHIBATA
8794406583
Move builtin methods to pathname.rbinc from lib/pathname.rb
2025-07-15 11:17:51 +09:00
Hiroshi SHIBATA
98ea78f347
Make Pathname to embedded class
2025-07-15 11:17:51 +09:00