summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-11-24Remove debug code...aycabta
2019-11-24* 2019-11-24 [ci skip]git
2019-11-24Disable tracer ext of IRB when tracer doesn't foundaycabta
2019-11-23Show include directive differences only when under gitv2_7_0_preview3Nobuyoshi Nakada
When building from tarballs, the source directory is not a git repository.
2019-11-23Use realpath to try to fix failures with symlinksKazuhiro NISHIYAMA
2019-11-22Stop using undefined matrix.os for macOSTakashi Kokubun
and use github.workflow instead. Applied a similar change to MJIT too.
2019-11-23Tracer.set_get_line_procs should support block and Proc objectaycabta
Original Tracer.set_get_line_procs is implemented by "def set_get_line_procs(p = proc)". It means that original Tracer.set_get_line_procs supports block and Proc object.
2019-11-23Tracer.add_filter should support block and Proc objectaycabta
Original Tracer.add_filter is implemented by "def add_filter(p = proc)". It means that original Tracer.add_filter supports block and Proc object.
2019-11-22Count pinned slots using only bitmapJohn Hawthorn
This is significantly faster than checking BUILTIN_TYPEs because we access significantly less memory. We also use popcount to count entire words at a time. The only functional difference from the previous implementation is that T_ZOMBIE objects will no longer be counted. However those are temporary objects which should be small in number, and this method has always been an estimate. Notes: Merged: https://github.com/ruby/ruby/pull/2688
2019-11-22Optimize pinned page sortingJohn Hawthorn
Previously we would count the pinned objects on each comparison. Since sorting is O(N log N) and we calculated this on both left and right pages on each comparison this resulted in a extra iterations over the slots. Notes: Merged: https://github.com/ruby/ruby/pull/2688
2019-11-22Use value of use_verifier in gc_compactJohn Hawthorn
Notes: Merged: https://github.com/ruby/ruby/pull/2688
2019-11-23* 2019-11-23 [ci skip]git
2019-11-23Suppress git error messageKazuhiro NISHIYAMA
`fatal: not a git repository (or any of the parent directories): .git`
2019-11-23Skip test_validate_gemspec when tarball and git installed tooKazuhiro NISHIYAMA
`git --version` failed as expected when git is not installed, but unexpectedly pass when git installed and pwd is not in git working directory. So use `git rev-parse` instead, and it failed when git installed too.
2019-11-22internal.h: Add a prototype declaration for rb_gvar_readonly_setterYusuke Endoh
emscripten fails to compile ruby due to lack of this.
2019-11-22Revert "Update dependencies"Vít Ondruch
This reverts commit e1b234148829f65bea9f5ecc7018beb782ea6023. This allows to build Psych against system libyaml again on Fedora. [Bug #16359]
2019-11-22Add github repo to remove_tagNARUSE, Yui
2019-11-22Check -1 arity for C++Nobuyoshi Nakada
2019-11-22* 2019-11-22 [ci skip]git
2019-11-22Use jsDelivr instead of raw.githubusercontent.comKazuhiro NISHIYAMA
Try to fix download error on Solaris CI https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable11x/ruby-master/log/20191121T162422Z.fail.html.gz ``` tool/downloader.rb:243:in `rescue in download': failed to download config.guess (RuntimeError) Net::HTTPFatalError: 503 "Service Unavailable": https://raw.githubusercontent.com/gcc-mirror/gcc/master/config.guess ```
2019-11-21Use more strict regexp to avoid to match naninanirb.rbKazuhiro NISHIYAMA
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