summaryrefslogtreecommitdiff
path: root/ext
AgeCommit message (Collapse)Author
2020-01-18[ruby/io-console] bump up to 0.5.5Nobuyoshi Nakada
2020-01-18[ruby/io-console] Set `OPOST` when `intr` is trueNobuyoshi Nakada
To enable implementation-defined output processing, for the compatibility with readline. [Bug #16509] https://bugs.ruby-lang.org/issues/16509 https://github.com/ruby/io-console/commit/8c8b0b6757
2020-01-18[ruby/io-console] Update the minimum requirement of Ruby versionHiroshi SHIBATA
https://github.com/ruby/io-console/commit/73e7b6318a
2020-01-17Update dependenciesNobuyoshi Nakada
internal/rational.h needs internal/warnings.h with Apple clang, for `UNALIGNED_MEMBER_ACCESS`.
2020-01-17Update dependencies in makefiles againKazuhiro NISHIYAMA
patch from https://travis-ci.org/ruby/ruby/jobs/638231960
2020-01-17rb_rational_raw: make a denominator always positiveKenta Murata
2020-01-17Update dependencies in makefilesKazuhiro NISHIYAMA
patch from https://travis-ci.org/ruby/ruby/jobs/638226493
2020-01-06[flori/json] Add :nodoc: for GeneratorMethodszverok
https://github.com/flori/json/commit/2f3f44c180
2020-01-06[flori/json] Fix examples syntaxzverok
https://github.com/flori/json/commit/3845491d92
2020-01-06[flori/json] Enchance generic JSON and #generate docszverok
https://github.com/flori/json/commit/4ede0a7d19
2020-01-06[flori/json] Remove invalid JSON.generate description from JSON module rdocJeremy Evans
This text used to be true in older versions of json, but has not been true for a number of years (since json version 2 I think). https://github.com/flori/json/commit/373b633f38
2020-01-02Fully separate positional arguments and keyword argumentsJeremy Evans
This removes the warnings added in 2.7, and changes the behavior so that a final positional hash is not treated as keywords or vice-versa. To handle the arg_setup_block splat case correctly with keyword arguments, we need to check if we are taking a keyword hash. That case didn't have a test, but it affects real-world code, so add a test for it. This removes rb_empty_keyword_given_p() and related code, as that is not needed in Ruby 3. The empty keyword case is the same as the no keyword case in Ruby 3. This changes rb_scan_args to implement keyword argument separation for C functions when the : character is used. For backwards compatibility, it returns a duped hash. This is a bad idea for performance, but not duping the hash breaks at least Enumerator::ArithmeticSequence#inspect. Instead of having RB_PASS_CALLED_KEYWORDS be a number, simplify the code by just making it be rb_keyword_given_p(). Notes: Merged: https://github.com/ruby/ruby/pull/2794
2019-12-31Updated dependencies on internal/warnings.hNobuyoshi Nakada
Needed for `UNALIGNED_MEMBER_ACCESS` using `COMPILER_WARNING_`* macros. Notes: Merged: https://github.com/ruby/ruby/pull/2799
2019-12-30[ruby/io-console] bump up to 0.5.4Nobuyoshi Nakada
2019-12-29ext/openssl/ossl_ssl.c: nodoc for private methodsHiroshi SHIBATA
[Misc #11712][ruby-core:71565]
2019-12-29[ruby/io-console] Enable only interrupt bits on `intr: true`Nobuyoshi Nakada
https://github.com/ruby/io-console/commit/baaf929041
2019-12-26update dependencies卜部昌平
Notes: Merged: https://github.com/ruby/ruby/pull/2711
2019-12-26decouple internal.h headers卜部昌平
Saves comitters' daily life by avoid #include-ing everything from internal.h to make each file do so instead. This would significantly speed up incremental builds. We take the following inclusion order in this changeset: 1. "ruby/config.h", where _GNU_SOURCE is defined (must be the very first thing among everything). 2. RUBY_EXTCONF_H if any. 3. Standard C headers, sorted alphabetically. 4. Other system headers, maybe guarded by #ifdef 5. Everything else, sorted alphabetically. Exceptions are those win32-related headers, which tend not be self- containing (headers have inclusion order dependencies). Notes: Merged: https://github.com/ruby/ruby/pull/2711
2019-12-25Update the version of bigdecimal to 2.0.0 (#2784)Kenta Murata
Notes: Merged-By: mrkn <mrkn@ruby-lang.org>
2019-12-25[ruby/readline-ext] Version 0.1.0aycabta
https://github.com/ruby/readline-ext/commit/f5abaf5be1
2019-12-22[ruby/io-console] bump up to 0.5.3Nobuyoshi Nakada
2019-12-18[ruby/io-console] Set raw mode strictly same as cfmakerawNobuyoshi Nakada
* Default VMIN and VTIME to minimum input. * Disable parity check bits explicitly. * Disable all bits for flow control on input. Co-Authored-By: NARUSE, Yui <naruse@airemix.jp> https://github.com/ruby/io-console/commit/5ce201a686
2019-12-17Remove unnecessary double bangs from Pathname#root?Masataka Pocke Kuwabara
Notes: Merged: https://github.com/ruby/ruby/pull/2732
2019-12-17[ruby/io-console] bump up to 0.5.2Nobuyoshi Nakada
2019-12-17[ruby/io-console] Use TCSANOW to prevent from discarding the input bufferYusuke Endoh
TCSAFLUSH discards the buffer read before the mode change, which makes IRB ignore the buffer input immediately after invoked. TCSANOW preserves the buffer. https://github.com/ruby/io-console/commit/b362920182
2019-12-17[ruby/io-console] Disable implementation-defined special control charactersNobuyoshi Nakada
In raw mode with interrupt enabled. https://github.com/ruby/io-console/commit/e9e8e3ff17
2019-12-17[ruby/io-console] Removed dead codeNobuyoshi Nakada
https://github.com/ruby/io-console/commit/a49462ed97
2019-12-12Import json-2.3.0 from flori/jsonHiroshi SHIBATA
2019-12-10[ruby/io-console] update depend for f9c0fe77c0eNobuyoshi Nakada
2019-12-10[ruby/io-console] bump up to 0.5.1Nobuyoshi Nakada
2019-12-10[ruby/io-console] Suppress an unused-variable warningNobuyoshi Nakada
https://github.com/ruby/io-console/commit/ae5c72e481
2019-12-10[ruby/io-console] Use rb_thread_call_without_gvl instead of the deprecated ↵Nobuyoshi Nakada
function https://github.com/ruby/io-console/commit/21338ab287
2019-12-10[ruby/io-console] Warn vtime option without intr flagNobuyoshi Nakada
https://github.com/ruby/io-console/commit/499ff3de48
2019-12-10[ruby/io-console] bump up to 0.5.0Nobuyoshi Nakada
2019-12-05ext/openssl/extconf.rb: check with -Werror=deprecated-declarationsNobuyoshi Nakada
This reverts commit 0d7d8b2989e1738dd902d354cc41186899e6b71e, but restore `$warnflags` without the flag, to get rid of using deprecated functions.
2019-12-05ext/psych/extconf.rb: braced VPATH is for nmake onlyNobuyoshi Nakada
2019-12-05ext/openssl/extconf.rb: do not use -Werror=deprecated-declarationsYusuke Endoh
It fails to build on Solaris: ``` ossl_cipher.c: 関数 ‘ossl_cipher_init’ 内: ossl_cipher.c:228:2: エラー: ‘EVP_md5’ is deprecated [-Werror=deprecated-declarations] 228 | EVP_BytesToKey(EVP_CIPHER_CTX_cipher(ctx), EVP_md5(), iv, | ^~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:73, from /usr/include/openssl/x509v3.h:63, from ossl.h:23, from ossl_cipher.c:10: /usr/include/openssl/evp.h:732:26: 備考: ここで宣言されています 732 | DEPRECATED const EVP_MD *EVP_md5(void); | ^~~~~~~ ``` I agree that `-Werror=` is a good habit, but adding it by default is too aggressive.
2019-12-04new_cond before mon_initializeKoichi Sasada
MonitorMixin#new_cond can be called before mon_initialize, so we need to initialize `@monitor` before it. https://bugs.ruby-lang.org/issues/16255#note-4
2019-12-04[ruby/io-console] Fixed `intr: false` mode on WindowsNobuyoshi Nakada
https://github.com/ruby/io-console/commit/4c172c01aa
2019-11-30[ruby/zlib] Bump version to 1.1.0Hiroshi SHIBATA
https://github.com/ruby/zlib/commit/5af77c1ee8
2019-11-30[ruby/gdbm] Bump version to 2.1.0Hiroshi SHIBATA
https://github.com/ruby/gdbm/commit/ffb2b063a3
2019-11-30[ruby/etc] Bump version to 1.1.0Hiroshi SHIBATA
https://github.com/ruby/etc/commit/78987ce56a
2019-11-30[ruby/dbm] Bump version to 1.1.0Hiroshi SHIBATA
https://github.com/ruby/dbm/commit/163078359d
2019-11-30[ruby/readline-ext] Prepare to gem releaseHiroshi SHIBATA
https://github.com/ruby/readline-ext/commit/e5b969215a
2019-11-30[ruby/stringio] Bump version to 0.1.0Hiroshi SHIBATA
https://github.com/ruby/stringio/commit/4c1e267e1a
2019-11-30[ruby/stringio] RbConfig::LIMITS only provide after Ruby 2.5Hiroshi SHIBATA
https://github.com/ruby/stringio/commit/1fed3aacd3
2019-11-30[ruby/date] Bump version to 3.0.0Hiroshi SHIBATA
https://github.com/ruby/date/commit/202b2dad93
2019-11-29check interrupts at each frame pop timing.Koichi Sasada
Asynchronous events such as signal trap, finalization timing, thread switching and so on are managed by "interrupt_flag". Ruby's threads check this flag periodically and if a thread does not check this flag, above events doesn't happen. This checking is CHECK_INTS() (related) macro and it is placed at some places (laeve instruction and so on). However, at the end of C methods, C blocks (IMEMO_IFUNC) etc there are no checking and it can introduce uninterruptible thread. To modify this situation, we decide to place CHECK_INTS() at vm_pop_frame(). It increases interrupt checking points. [Bug #16366] This patch can introduce unexpected events...
2019-11-29Nmake needs `VPATH`Nobuyoshi Nakada
2019-11-29Add dependency on bundled yaml.h when usingNobuyoshi Nakada