aboutsummaryrefslogtreecommitdiffstats
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
* [ruby/stringio] StringIO#initialize default to the source string encodingJean Boussier2020-03-151-4/+6
| | | | | | | [Bug #16497] https://github.com/ruby/stringio/commit/4958a5ccab (cherry picked from commit e257c08f2ec27e2d66cdfa7e2415deb492522e22)
* Use osuosl instead of GitHub releasesHiroshi SHIBATA2020-03-131-3/+3
| | | | | | Because the package provided by GitHub releases is different from sourceware. (cherry picked from commit 47a1872cd8b901b8aab6dedce7fa3807c97d290d)
* Switch to download libffi source package to github releases from sourceware.orgHiroshi SHIBATA2020-03-131-3/+3
| | | | | [Bug #16681] (cherry picked from commit 86022167461dc90b70164e2bb23316959bbfd6ba)
* [ruby/io-console] Set `OPOST` when `intr` is trueNobuyoshi Nakada2020-03-131-0/+1
| | | | | | | | | | 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 (cherry picked from commit 4e56ec4ef74cf77dbcb4ce7c669e0595cd0d12fa)
* Return the makefile contentNobuyoshi Nakada2020-02-131-0/+1
| | | | | Block for `create_makefile` is expected to return the content of the makefile.
* Move .IGNORE in extconf.rbNARUSE, Yui2020-02-132-3/+1
|
* Support nmakeNARUSE, Yui2020-02-131-0/+2
|
* Ignore expected errors on compiling C++ source [Bug #16331]NARUSE, Yui2020-02-131-0/+1
| | | | | | | | | | | | | | BSD make can run parallel more aggressively than GNU make. It communicate with other make process through -J option in MAKEFLAGS environment variable to notify a build failure happend in an other pararell make process. https://www.freebsd.org/cgi/man.cgi?make It usually works well but ext/-test-/cxxanyargs/Makefile has two targets which are expected to fail (failure.o and failurem1.o). Additional note: To test and debug this issue, following command will speed up it. `make -f exts.mk -j8 clean all`
* Update the version of bigdecimal to 2.0.0 (#2784)Kenta Murata2019-12-251-1/+1
|
* [ruby/readline-ext] Version 0.1.0aycabta2019-12-251-1/+1
| | | | https://github.com/ruby/readline-ext/commit/f5abaf5be1
* [ruby/io-console] bump up to 0.5.3Nobuyoshi Nakada2019-12-221-1/+1
|
* [ruby/io-console] Set raw mode strictly same as cfmakerawNobuyoshi Nakada2019-12-181-2/+4
| | | | | | | | | | * 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
* Remove unnecessary double bangs from Pathname#root?Masataka Pocke Kuwabara2019-12-171-1/+1
|
* [ruby/io-console] bump up to 0.5.2Nobuyoshi Nakada2019-12-171-1/+1
|
* [ruby/io-console] Use TCSANOW to prevent from discarding the input bufferYusuke Endoh2019-12-171-1/+1
| | | | | | | | 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
* [ruby/io-console] Disable implementation-defined special control charactersNobuyoshi Nakada2019-12-171-1/+1
| | | | | | In raw mode with interrupt enabled. https://github.com/ruby/io-console/commit/e9e8e3ff17
* [ruby/io-console] Removed dead codeNobuyoshi Nakada2019-12-171-1/+0
| | | | https://github.com/ruby/io-console/commit/a49462ed97
* Import json-2.3.0 from flori/jsonHiroshi SHIBATA2019-12-122-4/+4
|
* [ruby/io-console] update depend for f9c0fe77c0eNobuyoshi Nakada2019-12-101-0/+1
|
* [ruby/io-console] bump up to 0.5.1Nobuyoshi Nakada2019-12-101-1/+1
|
* [ruby/io-console] Suppress an unused-variable warningNobuyoshi Nakada2019-12-101-0/+1
| | | | https://github.com/ruby/io-console/commit/ae5c72e481
* [ruby/io-console] Use rb_thread_call_without_gvl instead of the deprecated ↵Nobuyoshi Nakada2019-12-101-3/+4
| | | | | | function https://github.com/ruby/io-console/commit/21338ab287
* [ruby/io-console] Warn vtime option without intr flagNobuyoshi Nakada2019-12-101-0/+3
| | | | https://github.com/ruby/io-console/commit/499ff3de48
* [ruby/io-console] bump up to 0.5.0Nobuyoshi Nakada2019-12-101-1/+1
|
* ext/openssl/extconf.rb: check with -Werror=deprecated-declarationsNobuyoshi Nakada2019-12-052-1/+21
| | | | | | This reverts commit 0d7d8b2989e1738dd902d354cc41186899e6b71e, but restore `$warnflags` without the flag, to get rid of using deprecated functions.
* ext/psych/extconf.rb: braced VPATH is for nmake onlyNobuyoshi Nakada2019-12-051-1/+1
|
* ext/openssl/extconf.rb: do not use -Werror=deprecated-declarationsYusuke Endoh2019-12-052-16/+1
| | | | | | | | | | | | | | | | | | | | | 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.
* new_cond before mon_initializeKoichi Sasada2019-12-041-2/+10
| | | | | | | 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
* [ruby/io-console] Fixed `intr: false` mode on WindowsNobuyoshi Nakada2019-12-041-12/+41
| | | | https://github.com/ruby/io-console/commit/4c172c01aa
* [ruby/zlib] Bump version to 1.1.0Hiroshi SHIBATA2019-11-301-1/+1
| | | | https://github.com/ruby/zlib/commit/5af77c1ee8
* [ruby/gdbm] Bump version to 2.1.0Hiroshi SHIBATA2019-11-301-1/+1
| | | | https://github.com/ruby/gdbm/commit/ffb2b063a3
* [ruby/etc] Bump version to 1.1.0Hiroshi SHIBATA2019-11-301-1/+1
| | | | https://github.com/ruby/etc/commit/78987ce56a
* [ruby/dbm] Bump version to 1.1.0Hiroshi SHIBATA2019-11-301-1/+1
| | | | https://github.com/ruby/dbm/commit/163078359d
* [ruby/readline-ext] Prepare to gem releaseHiroshi SHIBATA2019-11-301-1/+1
| | | | https://github.com/ruby/readline-ext/commit/e5b969215a
* [ruby/stringio] Bump version to 0.1.0Hiroshi SHIBATA2019-11-301-1/+1
| | | | https://github.com/ruby/stringio/commit/4c1e267e1a
* [ruby/stringio] RbConfig::LIMITS only provide after Ruby 2.5Hiroshi SHIBATA2019-11-301-1/+1
| | | | https://github.com/ruby/stringio/commit/1fed3aacd3
* [ruby/date] Bump version to 3.0.0Hiroshi SHIBATA2019-11-301-1/+1
| | | | https://github.com/ruby/date/commit/202b2dad93
* check interrupts at each frame pop timing.Koichi Sasada2019-11-291-1/+17
| | | | | | | | | | | | | | | | | | 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...
* Nmake needs `VPATH`Nobuyoshi Nakada2019-11-291-2/+3
|
* Add dependency on bundled yaml.h when usingNobuyoshi Nakada2019-11-292-1/+6
|
* Fix documentation of `MonitorMixin#new_cond` [ci skip] (#2707)y-yagi2019-11-271-1/+1
| | | | Since https://github.com/ruby/ruby/pull/2576, `new_cond` uses the Monitor object, not the receiver.
* Allow `$10` and more in the Ripper DSLNobuyoshi Nakada2019-11-261-7/+4
|
* Revert "Update dependencies"Vít Ondruch2019-11-221-45/+0
| | | | | | | | This reverts commit e1b234148829f65bea9f5ecc7018beb782ea6023. This allows to build Psych against system libyaml again on Fedora. [Bug #16359]
* Check -1 arity for C++Nobuyoshi Nakada2019-11-223-5/+23
|
* Revert the line for nextafter.c for FreeBSD makeNobuyoshi Nakada2019-11-201-0/+3
|
* Configure static extensions only if in chargeNobuyoshi Nakada2019-11-191-1/+5
| | | | | Get rid of races in parallel configuration when using the ext/Setup file.
* Update dependenciesNobuyoshi Nakada2019-11-1816-91/+106
|
* [ruby/strscan] Remove taint supportJeremy Evans2019-11-181-16/+8
| | | | | | 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.
* [ruby/openssl] Remove taint supportJeremy Evans2019-11-183-11/+0
| | | | | | 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.
* [ruby/io-console] Remove taint supportJeremy Evans2019-11-181-1/+0
| | | | | | 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.