Граф коммитов

179 Коммитов

Автор SHA1 Сообщение Дата
Nobuyoshi Nakada 5f8c73405e [ruby/etc] [DOC] Markup constant path names
https://github.com/ruby/etc/commit/6c9a0b4e5d
2022-06-19 11:06:43 +09:00
Nobuyoshi Nakada ea38758322 [ruby/etc] [DOC] Markup string literals
https://github.com/ruby/etc/commit/a8801e07d1
2022-06-19 10:46:50 +09:00
Nobuyoshi Nakada cc67a11768 [ruby/etc] [DOC] Fix reference to different module
https://github.com/ruby/etc/commit/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.

https://github.com/ruby/etc/commit/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
https://github.com/ruby/etc/commit/c8a133fe95
2022-01-21 12:22:04 +09:00
Nobuyoshi Nakada 563d0fdada [ruby/etc] Derive extra_rdoc_files from files
https://github.com/ruby/etc/commit/e8ecce3442
2022-01-21 12:21:59 +09:00
Nobuyoshi Nakada 3fea4f9d8c [ruby/etc] Move development dependencies to Gemfile
https://github.com/ruby/etc/commit/5cabc3996a
2022-01-21 12:21:54 +09:00
Nobuyoshi Nakada 1136985cc0 [ruby/etc] Note for rb_deprecate_constant [ci skip]
https://github.com/ruby/etc/commit/f87fe7ad93
2022-01-02 15:16:43 +09:00
Nobuyoshi Nakada 462079611a [ruby/etc] Remove deprecate constants under Struct
https://github.com/ruby/etc/commit/143edbd215
2022-01-02 15:03:29 +09:00
Nobuyoshi Nakada eb294491c0 [ruby/etc] bump up to 1.4.0
https://github.com/ruby/etc/commit/ca41f182f6
2022-01-02 15:03:05 +09:00
Nobuyoshi Nakada 91d09ca95b [ruby/etc] bump up to 1.3.1
https://github.com/ruby/etc/commit/82dd69a4cf
2022-01-02 14:52:31 +09:00
Nobuyoshi Nakada bb0a725f1f [ruby/etc] [DOC] Refine Etc::Passwd#passwd description
https://github.com/ruby/etc/commit/17b99fe42e
2022-01-02 14:52:28 +09:00
Nobuyoshi Nakada 314effdf77 [ruby/etc] [DOC] Document Etc::Passwd and Etc::Group as classes
https://github.com/ruby/etc/commit/106429f10b
2022-01-02 14:52:27 +09:00
Nobuyoshi Nakada 9135a3e864 [ruby/etc] [DOC] Add document task
https://github.com/ruby/etc/commit/8c8c6198e2
2022-01-02 14:52:25 +09:00
Nobuyoshi Nakada 546dbcfe69
[ruby/etc] Update ruby versions
https://github.com/ruby/etc/commit/959416b18a
2022-01-02 13:29:01 +09:00
Nobuyoshi Nakada ac152b3cac
Update dependencies 2021-11-21 16:21:18 +09:00
Hiroshi SHIBATA 847eeafd65 [ruby/etc] Bump up etc version to 1.3.0
https://github.com/ruby/etc/commit/85ca541d0b
2021-10-19 20:55:33 +09:00
Nobuyoshi Nakada ae25313e80
[ruby/etc] Remove unnecessary declaration
Fix https://github.com/ruby/etc/pull/12

https://github.com/ruby/etc/commit/7cbf03d22d
2021-10-19 17:25:40 +09:00
Nobuyoshi Nakada d210950196
[ruby/etc] Get rid of alloca in the loop
https://github.com/ruby/etc/commit/c989bacc4c
2021-10-14 18:44:27 +09:00
卜部昌平 5c167a9778 ruby tool/update-deps --fix 2021-10-05 14:18:23 +09:00
卜部昌平 6413dc27dc dependency updates 2021-04-13 14:30:21 +09:00
Nobuyoshi Nakada d2aaf865e3 [ruby/etc] Added fallback definition of RUBY_ATOMIC_EXCHANGE
https://github.com/ruby/etc/commit/0c5900bd21
2021-01-11 11:39:12 +09:00
Nobuyoshi Nakada f6e2c41db3 [ruby/etc] Check blocking variables at release
https://github.com/ruby/etc/commit/f017bdfedf
2021-01-11 11:39:10 +09:00
Nobuyoshi Nakada 66719d7dc8 etc: use atomic operation instead of mutex 2020-12-24 11:43:21 +09:00
Hiroshi SHIBATA 5cf25c55a6
Update version for Ractor-safe extensions 2020-12-23 14:03:54 +09:00
Marc-Andre Lafortune cd63f0358f [ruby/etc] Make Ractor safe 2020-12-22 19:46:07 -05:00
Marc-Andre Lafortune 3286380ebc [ruby/etc] Refactor locks using mutex API 2020-12-22 19:46:07 -05:00
卜部昌平 490010084e sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
卜部昌平 756403d775 sed -i '/r_cast.h/d' 2020-08-27 15:03:36 +09:00
卜部昌平 0da2a3f1fc sed -i '\,2/extern.h,d' 2020-08-27 14:07:49 +09:00
Hiroshi SHIBATA 8fb02b7a97
Update the license for the default gems to dual licenses 2020-08-18 20:26:39 +09:00
卜部昌平 9e41a75255 sed -i 's|ruby/impl|ruby/internal|'
To fix build failures.
2020-05-11 09:24:08 +09:00
卜部昌平 d7f4d732c1 sed -i s|ruby/3|ruby/impl|g
This shall fix compile errors.
2020-05-11 09:24:08 +09:00
Nobuyoshi Nakada 97f73bd0e2
Ignore upper bits of pw_change on macOS too 2020-04-09 12:23:15 +09:00
Nobuyoshi Nakada f099bb040c
Ignore upper bits of pw_expire on macOS
`pw_expire` is declared as `time_t`, but actually not, and
`getpwuid` returns a garbage there.

Also the declaration of `struct passwd` in pwd.h and the manual
page contradict each other, interal `pw_fields` is mentioned only
in the latter.  Maybe there is a confusion.
2020-04-09 09:44:18 +09:00
Nobuyoshi Nakada d8720eb7de
Suppress -Wshorten-64-to-32 warnings 2020-04-08 16:28:38 +09:00
卜部昌平 9e6e39c351
Merge pull request #2991 from shyouhei/ruby.h
Split ruby.h
2020-04-08 13:28:13 +09:00
Nobuyoshi Nakada 78b6eb9f9f
[ruby/etc] Deprecate names under `Struct`
https://github.com/ruby/etc/commit/25c538120c
2020-04-02 22:01:01 +09:00
Nobuyoshi Nakada bd0a7d8dd5
Revert "[ruby/etc] Deprecate names under `Struct`"
This reverts commit 69f698d85a.

Again.
2020-04-02 22:00:00 +09:00
Nobuyoshi Nakada 11ddfd4c91
Revert "[ruby/etc] Hack to get rid of linking against static library"
This reverts commit 5885550c8c.

It didn't work without `--enable-shared`.
2020-04-02 21:59:33 +09:00
Nobuyoshi Nakada 5885550c8c
[ruby/etc] Hack to get rid of linking against static library 2020-04-02 21:32:36 +09:00
Nobuyoshi Nakada 69f698d85a
[ruby/etc] Deprecate names under `Struct`
https://github.com/ruby/etc/commit/25c538120c
2020-04-02 21:20:58 +09:00
Nobuyoshi Nakada fad0a1451b
Revert "[ruby/etc] Deprecate names under `Struct`"
This reverts commit 919b175afc.

Since 604689628d, to let `try_run`
work before LIBRUBY_SO is installed, `try_link` links against the
static library which defines even symbols unexported in the shared
library.
2020-04-01 19:29:39 +09:00
Nobuyoshi Nakada 919b175afc
[ruby/etc] Deprecate names under `Struct`
https://github.com/ruby/etc/commit/25c538120c
2020-04-01 18:34:25 +09:00
Nobuyoshi Nakada 552f05ef27
[ruby/etc] Drop binary gems support
Revert "Added build:mingw" e1674c18f5a0faf881b362363f428d139baef3b4.

https://github.com/ruby/etc/commit/d8f1dd85d3
2020-04-01 18:34:25 +09:00
Hiroshi SHIBATA 56567c7648 [ruby/etc] Bump version to 1.1.0
https://github.com/ruby/etc/commit/78987ce56a
2019-11-30 18:11:01 +09:00
Jeremy Evans 398cd3cc7d [ruby/etc] Remove taint support
Ruby 2.7 deprecates taint and it no longer has an effect.
The lack of taint support should not cause a problem in
previous Ruby versions.

Still untaint the tmpdir object on Ruby <2.7, as returning
a tainted string there could cause problems.
2019-11-18 01:00:25 +02:00
Jeremy Evans ffd0820ab3 Deprecate taint/trust and related methods, and make the methods no-ops
This removes the related tests, and puts the related specs behind
version guards.  This affects all code in lib, including some
libraries that may want to support older versions of Ruby.
2019-11-18 01:00:25 +02:00
Jeremy Evans c5c05460ac Warn on access/modify of $SAFE, and remove effects of modifying $SAFE
This removes the security features added by $SAFE = 1, and warns for access
or modification of $SAFE from Ruby-level, as well as warning when calling
all public C functions related to $SAFE.

This modifies some internal functions that took a safe level argument
to no longer take the argument.

rb_require_safe now warns, rb_require_string has been added as a
version that takes a VALUE and does not warn.

One public C function that still takes a safe level argument and that
this doesn't warn for is rb_eval_cmd.  We may want to consider
adding an alternative method that does not take a safe level argument,
and warn for rb_eval_cmd.
2019-11-18 01:00:25 +02:00