summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-11-21Fixed for old gitNobuyoshi Nakada
2019-11-21Skip updating revision.h when the revision is unchangedNobuyoshi Nakada
note: GNU make only.
2019-11-21Support %U/%u/%W/%w/%V/%g/%G formats in Time.strptimeJeremy Evans
Most of these formats were documented as supported, but were not actually supported. Document that %g and %G are supported. If %U/%W is specified without yday and mon/mday are not specified, then Date.strptime is used to get the appropriate yday. If cwyear is specifier without the year, or cwday and cweek are specified without mday and mon, then use Date.strptime and convert the resulting value to Time, since Time.make_time cannot handle those conversions Fixes [Bug #9836] Fixes [Bug #14241] Notes: Merged: https://github.com/ruby/ruby/pull/2685
2019-11-21Add test/reline/test_string_processing.rbaycabta
2019-11-21[ruby/reline] Version 0.0.7aycabta
https://github.com/ruby/reline/commit/09d370bdc19e62f0a27c2240e19b07963afd922f
2019-11-21Version 0.0.6aycabta
2019-11-21Version 1.1.0aycabta
2019-11-21Consider escape sequence to calculate prompt widthaycabta
2019-11-21Add a proper cast to pass JIT tests on mswin.Koichi Sasada
https://ci.appveyor.com/project/ruby/ruby/builds/29001248/job/ye80bsrmewdgw294
2019-11-21Add a warning message and --legacy of an alias of --singlelineaycabta
2019-11-21Refactor filter_backtraceY. Ushiki
2019-11-21Fix filter_backtrace for context-mode 0Y. Ushiki
2019-11-21Use singleline/multiline instead of readline/reidlineaycabta
2019-11-21Refined inspection of argument forwardingNobuyoshi Nakada
2019-11-21* 2019-11-21 [ci skip]git
2019-11-21Change argument `Proc` to `#call` defined object.manga_osyo
This is the same as the behavior of Readline.
2019-11-21Add <Home> <End> keys.manga_osyo
2019-11-20Add tests of argument forwarding's parameters and inspectKazuhiro NISHIYAMA
2019-11-20Mintty on Cygwin isn't a kind of command prompt, can process ANSI escape codeaycabta
2019-11-20add a NEWS entry for Method#inspectKoichi Sasada
2019-11-20Always forward declaration is neededNobuyoshi Nakada
`rb_resolve_refined_method_callable` is referenced in `refine_sym_proc_call`, even when pre-compiling mjit header on mswin.
2019-11-20Turn C4047 warning into errorNobuyoshi Nakada
Warned at making precompiled header on mswin. ``` building rb_mjit_header-2.7.0.pch vm.c d:\a\ruby\ruby\src\vm_args.c(1117): warning C4047: '=': 'const rb_callable_method_entry_t *' differs in levels of indirection from 'int' rb_mjit_header-2.7.0.pch updated ```
2019-11-20re-add function prototypes卜部昌平
This commit reverts a part of 0e8219f591f3f17cb7ee361e8a60dbef08145883 which broke icc. See also https://rubyci.org/logs/rubyci.s3.amazonaws.com/icc-x64/ruby-master/log/20191120T010006Z.fail.html.gz
2019-11-20Revert the line for nextafter.c for FreeBSD makeNobuyoshi Nakada
2019-11-20Update representation (discussed on ruby tracker)zverok
Notes: Merged: https://github.com/ruby/ruby/pull/2618
2019-11-20Fix test_module.rbzverok
Notes: Merged: https://github.com/ruby/ruby/pull/2618
2019-11-20Method parameters inspectzverok
Example: def m(a, b=nil, *c, d:, e: nil, **rest, &block) end p method(:m) #=> #<Method: m(a, b=<default>, *c, d:, e: <default>, **rest, &block) ...> Notes: Merged: https://github.com/ruby/ruby/pull/2618
2019-11-20Fix indent of a line when a newline is inserted to the nextaycabta
2019-11-20Replace typo "bock" with "block"aycabta
2019-11-20A preceding token of "do" of block has EXPR_CMDARG or EXPR_ENDFNaycabta
meth do # the preceding token of "do" has EXPR_CMDARG end meth() do # the preceding token of "do" has EXPR_ENDFN end
2019-11-20Number sign comment (# bla bla) is a kind of newline characteraycabta
2019-11-20Generate history file path correctly when $HOME/.irbrc doesn't existaycabta
2019-11-19Fix memory corruption in Enumerable#reverse_each [ruby-dev:50867] [Bug #16354]Kazuki Tsujimoto
2019-11-20Revert "[ripper] Quoted label without expression must be a local variable"Nobuyoshi Nakada
This reverts commit 0b8c73aa65add5c57b46b0cfdf4e661508802172, which seems breaking RVALUE consistency check.
2019-11-20* 2019-11-20 [ci skip]git
2019-11-19Avoid needless object allocationKazuki Tsujimoto
2019-11-19Add a testKazuhiro NISHIYAMA
and rename from b.rb [ruby-core:95055] [Bug #16177]
2019-11-19[ripper] Quoted label without expression must be a local variableNobuyoshi Nakada
2019-11-19care about TAG_FATAL.Koichi Sasada
TAG_FATAL represents interpreter closing state and ec->errinfo contains FIXNUM (eTerminateSignal, etc). If we need to change the state, then errinfo is also changed because TAG_RAISE assumes that ec->errinfo contains a Exception object. Without this patch, TAG_FATAL is ignored and no ec->errinfo change so that it causes critical issue. [Bug #16177]
2019-11-19Configure static extensions only if in chargeNobuyoshi Nakada
Get rid of races in parallel configuration when using the ext/Setup file.
2019-11-19peep-hole optimize VM instructions卜部昌平
Some minor optimizations. Calculating ------------------------------------- ours trunk vm2_regexp 8.479M 8.346M i/s - 6.000M times in 0.707612s 0.718916s vm2_regexp_invert 8.605M 8.350M i/s - 6.000M times in 0.697298s 0.718576s Comparison: vm2_regexp ours: 8479223.3 i/s trunk: 8345893.8 i/s - 1.02x slower vm2_regexp_invert ours: 8604647.4 i/s trunk: 8349852.8 i/s - 1.03x slower Calculating ------------------------------------- ours+jit trunk+jit Optcarrot Lan_Master.nes 68.603 64.167 fps Comparison: Optcarrot Lan_Master.nes ours+jit: 68.6 fps trunk+jit: 64.2 fps - 1.07x slower
2019-11-19Remove TEST_BUNDLED_GEMS_ALLOW_FAILURESKazuhiro NISHIYAMA
https://github.com/seattlerb/minitest/pull/798 is closed
2019-11-19make functions static卜部昌平
These functions are used from within a compilation unit so we can make them static, for better binary size. This changeset reduces the size of generated ruby binary from 26,590,128 bytes to 26,584,472 bytes on my macihne. Notes: Merged: https://github.com/ruby/ruby/pull/2682
2019-11-19Clarify documentation for `InstructionSequence#compile`.Samuel Williams
We incorrectly assumed that the `file` argument should be the file name and caused https://github.com/scoutapp/scout_apm_ruby/issues/307 because exception backtrace did not contain correct path. This documentation clarifies the role of the different arguments and provides extra examples.
2019-11-19Suppress `stty` error on Apple TerminalNobuyoshi Nakada
`stty` called in `Reline::ANSI.deprep` command shows the following error message on macOS Apple Terminal, with some settings. ``` $ LANG=C irb irb(main):001:0> stty: 'standard input': unable to perform all requested operations stty: 'standard input': unable to perform all requested operations ```
2019-11-19Prefer dedecated assertionsNobuyoshi Nakada
2019-11-18pack is not using invokebuiltin anymoreTakashi Kokubun
2019-11-19Fix glob base in bundler.gemspecKazuhiro NISHIYAMA
Notes: Merged: https://github.com/ruby/ruby/pull/2683
2019-11-19Skip some tests if extracted from tarballKazuhiro NISHIYAMA
Notes: Merged: https://github.com/ruby/ruby/pull/2683
2019-11-19Allow unknown if ruby coreKazuhiro NISHIYAMA
Notes: Merged: https://github.com/ruby/ruby/pull/2683