Commit graph

212 commits

Author SHA1 Message Date
Hiroshi SHIBATA
ea880e624e [ruby/etc] Bump up v1.4.6
c9c9b9d15e
2025-07-15 07:24:28 +00:00
Jeremy Evans
0b23a8db60 Update dependencies for addition of set.h to public headers 2025-07-11 15:24:23 +09:00
Nobuyoshi Nakada
11fe8b26c1 [ruby/etc] Run have_func with the header providing the declarations
6668bfd42a
2025-07-01 11:00:23 +00:00
Nobuyoshi Nakada
311167ee3a [ruby/etc] Suppress unused function warning
410c8dd4ae
2025-04-13 22:03:59 +00:00
Nobuyoshi Nakada
6d00fa2270 [ruby/etc] Check members only for defined structs
15c2696794
2025-04-13 22:03:59 +00:00
Benoit Daloze
bfc5b8305d [ruby/etc] Etc.sysconfdir does not work in a Ractor
* Because it uses RbConfig::CONFIG.
* See 3939950214 (step):12:947

12dbe03b6a
2025-03-25 21:27:16 +00:00
Benoit Daloze
b9e9a1034a [ruby/etc] Most Etc methods are not Ractor-safe currently
* See https://bugs.ruby-lang.org/issues/21115

ae62b7619c
2025-03-25 20:17:01 +00:00
Hiroshi SHIBATA
7716124759 [ruby/etc] Bump up 1.4.5
5019f4314a
2024-12-09 14:06:05 +09:00
Hiroshi SHIBATA
80a5db55e3 [ruby/etc] Use same license files with ruby/ruby
8d585ea0c9
2024-12-03 04:59:13 +00:00
Nobuyoshi Nakada
577e6a3e19 [ruby/etc] Prefer rb_intern_const over rb_intern for literal strings
53362d891c
2024-11-20 16:38:33 +00:00
Hiroshi SHIBATA
c866fb7caf [ruby/etc] Bump up v1.4.4
0d2f76ffb4
2024-11-01 04:09:41 +00:00
Nobuyoshi Nakada
9da60a14bf [ruby/etc] Fix sysconfdir when load-relative
When relative load paths option is enabled, the prefix is determined
at the runtime.  The only way to get it outside libruby is to use
rbconfig.rb.

e5b498fad9
2024-10-17 07:32:38 +00:00
卜部昌平
c844968b72 ruby tool/update-deps --fix 2024-04-27 21:55:28 +09:00
Nobuyoshi Nakada
93556d4620 [ruby/etc] Drop support for old ERB
11677318ac
2024-03-02 16:40:16 +00:00
Nobuyoshi Nakada
c027dcfde2 [ruby/etc] [DOC] Add minimal documents for constants
97a4f798d4
2023-12-27 10:09:24 +00:00
Nobuyoshi Nakada
862cfcaf75 [ruby/etc] [DOC] Improve Etc documents
fae932ff61
2023-12-27 05:30:20 +00:00
Nobuyoshi Nakada
4d344dc194 [ruby/etc] [DOC] Move rdoc files to .documnet
44425427ab
2023-12-25 21:12:49 +09:00
Nobuyoshi Nakada
12e78fbfcd [ruby/etc] [DOC] Missing constant
a39e982129
2023-12-25 21:12:49 +09:00
Hiroshi SHIBATA
12c775c942 [ruby/etc] Bump up 1.4.3
743c26086d
2023-12-13 05:01:16 +00:00
Nobuyoshi Nakada
40391faeab [ruby/etc] Fix inconsistent dll linkage warning
e4c71e5996
2023-11-05 11:50:07 +00:00
Nobuyoshi Nakada
88f1d380ea [ruby/etc] Start 1.4.3
a9e4d4730d
2023-10-29 07:15:24 +00:00
Nobuyoshi Nakada
47cb789332 [ruby/etc] Declare getlogin even if unistd.h is not available
Although MinGW provides this header but not the function, Windows
version ruby provides the function.

f7fa1884fa
2023-07-12 16:22:54 +00:00
Nobuyoshi Nakada
4fced78605 [ruby/etc] Chec if the target file exists, not "depend" file
b95ddef386
2023-07-12 14:18:40 +00:00
Nobuyoshi Nakada
2fa77fb82d [ruby/etc] Fix for srcdir with spaces
Fixes https://github.com/ruby/etc/pull/22.
Build failure when the ruby installed directory name contains spaces.

1ab19d5815
2023-07-12 14:18:39 +00:00
Nobuyoshi Nakada
efd8ea366b [ruby/etc] Declare getlogin only if unistd.h is not available
365398ea47
2023-07-12 14:18:39 +00:00
Benoit Daloze
610038f3bf [ruby/etc] Use the correct pattern for the fallback of rb_io_descriptor()
* See d1d9aef45c

5185685003
2023-05-29 19:31:55 +00:00
Samuel Williams
00d6674636 [ruby/etc] Remove usage of IO internals.
(https://github.com/ruby/etc/pull/26)

ea15eceb13
2023-05-28 05:08:40 +00:00
Matt Valentine-House
5e4b80177e Update the depend files 2023-02-28 09:09:00 -08:00
Matt Valentine-House
f38c6552f9 Remove intern/gc.h from Make deps 2023-02-27 10:11:56 -08:00
Nobuyoshi Nakada
899ea35035
Extract include/ruby/internal/attr/packed_struct.h
Split `PACKED_STRUCT` and `PACKED_STRUCT_UNALIGNED` macros into the
macros bellow:
* `RBIMPL_ATTR_PACKED_STRUCT_BEGIN`
* `RBIMPL_ATTR_PACKED_STRUCT_END`
* `RBIMPL_ATTR_PACKED_STRUCT_UNALIGNED_BEGIN`
* `RBIMPL_ATTR_PACKED_STRUCT_UNALIGNED_END`
2023-02-08 12:34:13 +09:00
Hiroshi SHIBATA
d7baa17b49 [ruby/etc] Bump version to 1.4.2
5cac138538
2022-12-09 05:57:49 +00:00
Hiroshi SHIBATA
a0deb64909 [ruby/etc] Bump version to 1.4.1
b3e9d9ceb0
2022-12-05 06:07:32 +00:00
卜部昌平
437800d3b0 getenv: is in stdlib.h
getenv is a very basic function that has been in stdlib.h since
ISO/IEC 9899:1990.  There is absolutely zero need for us to redeclare.

pty.c already includes stdlib.h out of the box so we need nothing.
2022-09-21 11:44:09 +09:00
Nobuyoshi Nakada
5f8c73405e [ruby/etc] [DOC] Markup constant path names
6c9a0b4e5d
2022-06-19 11:06:43 +09:00
Nobuyoshi Nakada
ea38758322 [ruby/etc] [DOC] Markup string literals
a8801e07d1
2022-06-19 10:46:50 +09:00
Nobuyoshi Nakada
cc67a11768 [ruby/etc] [DOC] Fix reference to different module
ea51739974
2022-06-19 10:46:48 +09:00
Nobuyoshi Nakada
c594370c6e [ruby/etc] [DOC] Update
System-dependent feature macros are automatically detected by
extconf.rb, and are not used by users.

e7343b4e69
2022-06-19 10:46:47 +09:00
Peter Zhu
2d5ecd60a5 [Feature #18249] Update dependencies 2022-02-22 09:55:21 -05:00
Nobuyoshi Nakada
542bd9b408 [ruby/etc] Exclude change logs for pre 1.0
c8a133fe95
2022-01-21 12:22:04 +09:00
Nobuyoshi Nakada
563d0fdada [ruby/etc] Derive extra_rdoc_files from files
e8ecce3442
2022-01-21 12:21:59 +09:00
Nobuyoshi Nakada
3fea4f9d8c [ruby/etc] Move development dependencies to Gemfile
5cabc3996a
2022-01-21 12:21:54 +09:00
Nobuyoshi Nakada
1136985cc0 [ruby/etc] Note for rb_deprecate_constant [ci skip]
f87fe7ad93
2022-01-02 15:16:43 +09:00
Nobuyoshi Nakada
462079611a [ruby/etc] Remove deprecate constants under Struct
143edbd215
2022-01-02 15:03:29 +09:00
Nobuyoshi Nakada
eb294491c0 [ruby/etc] bump up to 1.4.0
ca41f182f6
2022-01-02 15:03:05 +09:00
Nobuyoshi Nakada
91d09ca95b [ruby/etc] bump up to 1.3.1
82dd69a4cf
2022-01-02 14:52:31 +09:00
Nobuyoshi Nakada
bb0a725f1f [ruby/etc] [DOC] Refine Etc::Passwd#passwd description
17b99fe42e
2022-01-02 14:52:28 +09:00
Nobuyoshi Nakada
314effdf77 [ruby/etc] [DOC] Document Etc::Passwd and Etc::Group as classes
106429f10b
2022-01-02 14:52:27 +09:00
Nobuyoshi Nakada
9135a3e864 [ruby/etc] [DOC] Add document task
8c8c6198e2
2022-01-02 14:52:25 +09:00
Nobuyoshi Nakada
546dbcfe69
[ruby/etc] Update ruby versions
959416b18a
2022-01-02 13:29:01 +09:00
Nobuyoshi Nakada
ac152b3cac
Update dependencies 2021-11-21 16:21:18 +09:00