summaryrefslogtreecommitdiff
path: root/ext/etc
AgeCommit message (Collapse)Author
2022-02-22[Feature #18249] Update dependenciesPeter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/5474
2022-01-21[ruby/etc] Exclude change logs for pre 1.0Nobuyoshi Nakada
https://github.com/ruby/etc/commit/c8a133fe95
2022-01-21[ruby/etc] Derive extra_rdoc_files from filesNobuyoshi Nakada
https://github.com/ruby/etc/commit/e8ecce3442
2022-01-21[ruby/etc] Move development dependencies to GemfileNobuyoshi Nakada
https://github.com/ruby/etc/commit/5cabc3996a
2022-01-02[ruby/etc] Note for rb_deprecate_constant [ci skip]Nobuyoshi Nakada
https://github.com/ruby/etc/commit/f87fe7ad93
2022-01-02[ruby/etc] Remove deprecate constants under StructNobuyoshi Nakada
https://github.com/ruby/etc/commit/143edbd215
2022-01-02[ruby/etc] bump up to 1.4.0Nobuyoshi Nakada
https://github.com/ruby/etc/commit/ca41f182f6
2022-01-02[ruby/etc] bump up to 1.3.1Nobuyoshi Nakada
https://github.com/ruby/etc/commit/82dd69a4cf
2022-01-02[ruby/etc] [DOC] Refine Etc::Passwd#passwd descriptionNobuyoshi Nakada
https://github.com/ruby/etc/commit/17b99fe42e
2022-01-02[ruby/etc] [DOC] Document Etc::Passwd and Etc::Group as classesNobuyoshi Nakada
https://github.com/ruby/etc/commit/106429f10b
2022-01-02[ruby/etc] [DOC] Add document taskNobuyoshi Nakada
https://github.com/ruby/etc/commit/8c8c6198e2
2022-01-02[ruby/etc] Update ruby versionsNobuyoshi Nakada
https://github.com/ruby/etc/commit/959416b18a
2021-11-21Update dependenciesNobuyoshi Nakada
2021-10-19[ruby/etc] Bump up etc version to 1.3.0Hiroshi SHIBATA
https://github.com/ruby/etc/commit/85ca541d0b
2021-10-19[ruby/etc] Remove unnecessary declarationNobuyoshi Nakada
Fix https://github.com/ruby/etc/pull/12 https://github.com/ruby/etc/commit/7cbf03d22d
2021-10-14[ruby/etc] Get rid of alloca in the loopNobuyoshi Nakada
https://github.com/ruby/etc/commit/c989bacc4c
2021-10-05ruby tool/update-deps --fix卜部昌平
Notes: Merged: https://github.com/ruby/ruby/pull/4909
2021-04-13dependency updates卜部昌平
Notes: Merged: https://github.com/ruby/ruby/pull/4371
2021-01-11[ruby/etc] Added fallback definition of RUBY_ATOMIC_EXCHANGENobuyoshi Nakada
https://github.com/ruby/etc/commit/0c5900bd21
2021-01-11[ruby/etc] Check blocking variables at releaseNobuyoshi Nakada
https://github.com/ruby/etc/commit/f017bdfedf
2020-12-24etc: use atomic operation instead of mutexNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/3983
2020-12-23Update version for Ractor-safe extensionsHiroshi SHIBATA
2020-12-22[ruby/etc] Make Ractor safeMarc-Andre Lafortune
Notes: Merged: https://github.com/ruby/ruby/pull/3954
2020-12-22[ruby/etc] Refactor locks using mutex APIMarc-Andre Lafortune
Notes: Merged: https://github.com/ruby/ruby/pull/3954
2020-08-27sed -i '/rmodule.h/d'卜部昌平
Notes: Merged: https://github.com/ruby/ruby/pull/3347
2020-08-27sed -i '/r_cast.h/d'卜部昌平
Notes: Merged: https://github.com/ruby/ruby/pull/3346
2020-08-27sed -i '\,2/extern.h,d'卜部昌平
Notes: Merged: https://github.com/ruby/ruby/pull/3338
2020-08-18Update the license for the default gems to dual licensesHiroshi SHIBATA
2020-05-11sed -i 's|ruby/impl|ruby/internal|'卜部昌平
To fix build failures. Notes: Merged: https://github.com/ruby/ruby/pull/3079
2020-05-11sed -i s|ruby/3|ruby/impl|g卜部昌平
This shall fix compile errors. Notes: Merged: https://github.com/ruby/ruby/pull/3079
2020-04-09Ignore upper bits of pw_change on macOS tooNobuyoshi Nakada
2020-04-09Ignore upper bits of pw_expire on macOSNobuyoshi Nakada
`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-08Suppress -Wshorten-64-to-32 warningsNobuyoshi Nakada
2020-04-08Merge pull request #2991 from shyouhei/ruby.h卜部昌平
Split ruby.h Notes: Merged-By: shyouhei <shyouhei@ruby-lang.org>
2020-04-02[ruby/etc] Deprecate names under `Struct`Nobuyoshi Nakada
https://github.com/ruby/etc/commit/25c538120c
2020-04-02Revert "[ruby/etc] Deprecate names under `Struct`"Nobuyoshi Nakada
This reverts commit 69f698d85ada116db5747873e53c597991bedff8. Again.
2020-04-02Revert "[ruby/etc] Hack to get rid of linking against static library"Nobuyoshi Nakada
This reverts commit 5885550c8cb80fb8784598d3af1d90823f4f6604. It didn't work without `--enable-shared`.
2020-04-02[ruby/etc] Hack to get rid of linking against static libraryNobuyoshi Nakada
2020-04-02[ruby/etc] Deprecate names under `Struct`Nobuyoshi Nakada
https://github.com/ruby/etc/commit/25c538120c
2020-04-01Revert "[ruby/etc] Deprecate names under `Struct`"Nobuyoshi Nakada
This reverts commit 919b175afc389f8df6a3caa05ffdd28f5fc4bfca. Since 604689628dc64d050a68f1ebe5e06f9105474936, 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[ruby/etc] Deprecate names under `Struct`Nobuyoshi Nakada
https://github.com/ruby/etc/commit/25c538120c
2020-04-01[ruby/etc] Drop binary gems supportNobuyoshi Nakada
Revert "Added build:mingw" e1674c18f5a0faf881b362363f428d139baef3b4. https://github.com/ruby/etc/commit/d8f1dd85d3
2019-11-30[ruby/etc] Bump version to 1.1.0Hiroshi SHIBATA
https://github.com/ruby/etc/commit/78987ce56a
2019-11-18[ruby/etc] Remove taint supportJeremy Evans
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. Notes: Merged: https://github.com/ruby/ruby/pull/2476
2019-11-18Deprecate taint/trust and related methods, and make the methods no-opsJeremy Evans
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. Notes: Merged: https://github.com/ruby/ruby/pull/2476
2019-11-18Warn on access/modify of $SAFE, and remove effects of modifying $SAFEJeremy Evans
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. Notes: Merged: https://github.com/ruby/ruby/pull/2476
2019-08-29drop-in type check for rb_define_module_function卜部昌平
We can check the function pointer passed to rb_define_module_function like how we do so in rb_define_method. The difference is that this changeset reveales lots of atiry mismatches.
2019-08-27rb_ensure now free from ANYARGS卜部昌平
After 5e86b005c0f2ef30df2f9906c7e2f3abefe286a2, I now think ANYARGS is dangerous and should be extinct. This commit deletes ANYARGS from rb_ensure, which also revealed many arity / type mismatches.
2019-07-14Include ruby/assert.h in ruby/ruby.h so that assertions can be thereNobuyoshi Nakada
2019-07-10Added Etc::VERSIONNobuyoshi Nakada