summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Prefer dedecated assertionsNobuyoshi Nakada2019-11-191-4/+4
|
* pack is not using invokebuiltin anymoreTakashi Kokubun2019-11-181-6/+3
|
* Fix glob base in bundler.gemspecKazuhiro NISHIYAMA2019-11-191-1/+2
|
* Skip some tests if extracted from tarballKazuhiro NISHIYAMA2019-11-191-0/+9
|
* Allow unknown if ruby coreKazuhiro NISHIYAMA2019-11-191-2/+10
|
* * 2019-11-19 [ci skip]git2019-11-191-1/+1
|
* test/-ext-/string/test_fstring.rb: suppress a warning for taintYusuke Endoh2019-11-181-1/+6
|
* NEWS: Add an example for the warning of "yield in singleton class"Yusuke Endoh2019-11-181-0/+7
|
* Dependents on probes.h need the dummy header tooNobuyoshi Nakada2019-11-181-0/+3
|
* Update dependenciesNobuyoshi Nakada2019-11-1819-308/+109
|
* Build ruby-runnerNobuyoshi Nakada2019-11-181-1/+1
|
* Skip dependencies on timestamp filesNobuyoshi Nakada2019-11-181-0/+1
|
* Renamed assembly file like as e64f71f812324d098bed12ed68c2bc1d6e780c90Nobuyoshi Nakada2019-11-181-0/+0
|
* delete unused codes卜部昌平2019-11-183-8/+1
| | | | Suppress compiler warnings.
* should not use __func__Koichi Sasada2019-11-181-1/+1
|
* rb_tainted_str_new_with_enc is no longer usedNobuyoshi Nakada2019-11-181-7/+0
|
* add casts.Koichi Sasada2019-11-182-3/+3
| | | | | add casts to avoid compile error. http://ci.rvm.jp/results/trunk_clang_39@silicon-docker/2402215
* catch up last commit.Koichi Sasada2019-11-181-1/+1
| | | | Array#pack uses `opt_invokebuiltin_delegate_leave` now.
* vm_invoke_builtin_delegate with start index.Koichi Sasada2019-11-184-33/+73
| | | | | | | | | | | | | | | | | opt_invokebuiltin_delegate and opt_invokebuiltin_delegate_leave invokes builtin functions with same parameters of the method. This technique eliminate stack push operations. However, delegation parameters should be completely same as given parameters. (e.g. `def foo(a, b, c) __builtin_foo(a, b, c)` is okay, but __builtin_foo(b, c) is not allowed) This patch relaxes this restriction. ISeq has a local variables table which includes parameters. For example, the method defined as `def foo(a, b, c) x=y=nil`, then local variables table contains [a, b, c, x, y]. If calling builtin-function with arguments which are sub-array of the lvar table, use opt_invokebuiltin_delegate instruction with start index. For example, `__builtin_foo(b, c)`, `__builtin_bar(c, x, y)` is okay, and so on.
* update deps.Koichi Sasada2019-11-181-2/+3
| | | | https://travis-ci.org/ruby/ruby/jobs/613242256#L2205
* * remove trailing spaces. [ci skip]git2019-11-181-1/+1
|
* Update NEWS for $SAFE/taint changesJeremy Evans2019-11-181-0/+9
|
* Remove mention of $SAFE and taint from doc [ci skip]Jeremy Evans2019-11-183-39/+0
|
* Deprecate rb_eval_cmd, add rb_eval_cmd_kwJeremy Evans2019-11-184-5/+13
| | | | | | | | rb_eval_cmd takes a safe level, and now that $SAFE is deprecated, it should be deprecated as well. Replace with rb_eval_cmd_kw, which takes a keyword flag. Switch the two callers to this function.
* [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.
* [ruby/etc] Remove taint supportJeremy Evans2019-11-181-3/+4
| | | | | | | | | 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.
* [ruby/rss] Only check taint on Ruby <2.7Jeremy Evans2019-11-181-1/+1
| | | | Ruby 2.7 deprecates taint and it no longer has an effect.
* [ruby/rexml] Only taint on Ruby <2.7Jeremy Evans2019-11-181-2/+2
| | | | Ruby 2.7 deprecates taint and it no longer has an effect.
* More fixes for $SAFE/taint post mergingJeremy Evans2019-11-185-59/+29
|
* Deprecate taint/trust and related methods, and make the methods no-opsJeremy Evans2019-11-18201-2901/+2319
| | | | | | 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.
* Warn on access/modify of $SAFE, and remove effects of modifying $SAFEJeremy Evans2019-11-1859-745/+277
| | | | | | | | | | | | | | | | | 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 [ci skip]git2019-11-181-1/+1
|
* Remove unnecessary checkaycabta2019-11-181-1/+1
|
* [ruby/irb] Remove ruby-token.rb from spec.filesaycabta2019-11-171-1/+0
| | | | https://github.com/ruby/irb/commit/0180dc74bc
* [ruby/irb] Version 1.1.0.pre.4aycabta2019-11-171-1/+1
| | | | https://github.com/ruby/irb/commit/4945d0e676
* [ruby/reline] Version 0.0.5aycabta2019-11-171-1/+1
| | | | https://github.com/ruby/reline/commit/d57c7ea252
* * 2019-11-17 [ci skip]git2019-11-171-1/+1
|
* Fix typosKazuhiro NISHIYAMA2019-11-1723-23/+23
|
* [ruby/reline] Restore left cursor key support on Unix like OSes...aycabta2019-11-151-1/+1
| | | | https://github.com/ruby/reline/commit/98b72af751
* Implement em_set_mark and em_exchange_markaycabta2019-11-154-1/+56
|
* Fix a typo [ci skip]Kazuhiro NISHIYAMA2019-11-151-1/+1
|
* * 2019-11-15 [ci skip]git2019-11-151-1/+1
|
* load prelude.rb by builtin features.Koichi Sasada2019-11-153-3/+9
| | | | | | | | | The script in prelude.rb was embed in MRI to load it (eval this script at everyboot). This commit change the loading process of prelude.rb. MRI doesn't eval a script, but load from compiled binary with builtin feature. So that Init_prelude() does not load `prelude.rb` now.
* delete unused functions卜部昌平2019-11-1418-301/+7
| | | | | | | | | | | | Looking at the list of symbols inside of libruby-static.a, I found hundreds of functions that are defined, but used from nowhere. There can be reasons for each of them (e.g. some functions are specific to some platform, some are useful when debugging, etc). However it seems the functions deleted here exist for no reason. This changeset reduces the size of ruby binary from 26,671,456 bytes to 26,592,864 bytes on my machine.
* `#@1` is no longer an embedded variableNobuyoshi Nakada2019-11-143-4/+2
|
* Added default gems entry to NEWSHiroshi SHIBATA2019-11-141-0/+19
|
* Update RubyGems and Bundler entries on NEWSHiroshi SHIBATA2019-11-141-4/+4
|
* test/ruby/test_proc.rb: suppress "method redefined" warningsYusuke Endoh2019-11-141-1/+4
|