summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-07-09Moved error messagesNobuyoshi Nakada
2019-07-09* 2019-07-09git
2019-07-09Suppress uninitialized instance variable warningsNobuyoshi Nakada
2019-07-08Adopt the directory structure of ruby repository for racc extension.Hiroshi SHIBATA
2019-07-08Check indent of `end` against `else` if presentNobuyoshi Nakada
2019-07-08Get rid of toplevel methodsNobuyoshi Nakada
2019-07-08* expand tabs.git
2019-07-08Fix indentNobuyoshi Nakada
2019-07-08Renamed fib to fiberNobuyoshi Nakada
2019-07-08Let struct dump_config in objspace fit in a single cache lineLourens Naudé
Let dump_config boolean members roots and full_heap be bit flags instead Closes: https://github.com/ruby/ruby/pull/2274
2019-07-08Suppress a warning when `write_headers: true`Nobuyoshi Nakada
2019-07-08* 2019-07-08git
2019-07-07Fix default argument values for OptParse::Switch#summarizeJeremy Evans
The documentation describes these arguments being hashes, and the method is called with hashes, so a hash default makes more sense. The method would fail previously if called without arguments and @short or @long contained a non-integer value. Fixes [Bug #10928]
2019-07-07Fix a typoKazuhiro NISHIYAMA
2019-07-07Git branch name can contain `#{}` tooNobuyoshi Nakada
2019-07-07Unescape #{} in the last commit titleNobuyoshi Nakada
Get rid of unknown escape sequence warning, as `#` is not a special character in C. ``` version.c:126:26: warning: unknown escape sequence '\#' [-Wunknown-escape-sequence] fputs("last_commit=" RUBY_LAST_COMMIT_TITLE, stdout); ^~~~~~~~~~~~~~~~~~~~~~ revision.h:4:42: note: expanded from macro 'RUBY_LAST_COMMIT_TITLE' ^~ ```
2019-07-07Add coroutine context switch for i386-mingw32Lars Kanis
It's essentially a translation of Context.asm from Intel to AT&T syntax.
2019-07-07Message to pipe should end with a newlineNobuyoshi Nakada
2019-07-07* 2019-07-07git
2019-07-07Enable indentation warning against `if` just after `else`Nobuyoshi Nakada
```ruby if false puts 'false' else if true puts 'true' end # -:5: warning: mismatched indentations at 'end' with 'if' at 3 end ``` [Feature #15990]
2019-07-07Renamed column in token_info to indentNobuyoshi Nakada
2019-07-06Added assertions for Unicode escaped CHAR scanner eventsNobuyoshi Nakada
2019-07-05Fix segfault when using method reference operator without using resultJeremy Evans
Fixes [Bug #15985]
2019-07-06Refactored width calculationsNobuyoshi Nakada
2019-07-06SimplifiedNobuyoshi Nakada
2019-07-06* 2019-07-06git
2019-07-06Fix showing document of ClassName.method_name in IRBaycabta
In IRB, Time.new is split as "Time", ".", and "new". The receiver "Time" is processed by #class method but it means that "Time" changes to "Class". This commit fixes it.
2019-07-05Multiple codepoints are not allowed at single character literalNobuyoshi Nakada
It has unintentionally passed since 2.5.
2019-07-05* 2019-07-05git
2019-07-05Fix a typoKazuhiro NISHIYAMA
2019-07-04Support Control- and Meta-aycabta
2019-07-04Move a comment to proper placeaycabta
2019-07-04Check commented out line in inputrc correctlyaycabta
2019-07-04Parse key sequence more strictlyNobuyoshi Nakada
2019-07-04Use lstrip instead of gsub which can match only onceNobuyoshi Nakada
2019-07-04Skip indented comment lines [Bug #15981]Nobuyoshi Nakada
2019-07-04Suppress uninitialized instance variable warningsNobuyoshi Nakada
2019-07-04Do not dispatch a nil token in ripperNobuyoshi Nakada
As a comment token includes the newline, so delayed newline token just follows it should not be dispatched. [Bug #11485] Co-Authored-By: Jeremy Evans <code@jeremyevans.net>
2019-07-04Revert self-referencing finalizer warning [Feature #15974]Nobuyoshi Nakada
It has caused CI failures. * d0cd0866d82a58933e5dccd073c753c0c2ad4eb5 Disable GC during rb_objspace_reachable_object_p * 89cef1c56b3a0f9c5e6ccc22a5044477a4fd16c1 Version guard for [Feature #15974] * 796eeb6339952d92ae1b353d450c7883e589852d. Fix up [Feature #15974] * 928260c2a613bbdd4402c300e0bf86ae7562e52a. Warn in verbose mode on defining a finalizer that captures the object
2019-07-04* 2019-07-04git
2019-07-04* expand tabs.git
2019-07-04Disable GC during rb_objspace_reachable_object_pNobuyoshi Nakada
Try to fix CI breakage by [Feature #15974].
2019-07-03Renamed to rb_objspace_reachable_object_pNobuyoshi Nakada
2019-07-03Check code_block_open for whether code continuesaycabta
2019-07-03Ensure that GC is disabled during compactionAaron Patterson
Various things can cause GC to occur when compaction is running, for example resizing the object identity map: ``` frame #24: 0x000000010c784a10 ruby`gc_grey [inlined] push_mark_stack(stack=<unavailable>, data=<unavailable>) at gc.c:4311:42 frame #25: 0x000000010c7849ff ruby`gc_grey(objspace=0x00007fc56c804400, obj=140485906037400) at gc.c:4907 frame #26: 0x000000010c78f881 ruby`gc_start at gc.c:6464:8 frame #27: 0x000000010c78f5d1 ruby`gc_start [inlined] gc_marks_start(objspace=0x00007fc56c804400, full_mark=<unavailable>) at gc.c:6009 frame #28: 0x000000010c78f3c0 ruby`gc_start at gc.c:6291 frame #29: 0x000000010c78f399 ruby`gc_start(objspace=0x00007fc56c804400, reason=<unavailable>) at gc.c:7104 frame #30: 0x000000010c78930c ruby`objspace_xmalloc0 [inlined] objspace_malloc_fixup(objspace=<unavailable>, mem=0x000000011372a000, size=<unavailable>) at gc.c:9665:5 frame #31: 0x000000010c7892f5 ruby`objspace_xmalloc0(objspace=0x00007fc56c804400, size=12582912) at gc.c:9707 frame #32: 0x000000010c89bc13 ruby`st_init_table_with_size(type=<unavailable>, size=<unavailable>) at st.c:605:39 frame #33: 0x000000010c89c5e2 ruby`rebuild_table_if_necessary [inlined] rebuild_table(tab=0x00007fc56c40b250) at st.c:780:19 frame #34: 0x000000010c89c5ac ruby`rebuild_table_if_necessary(tab=0x00007fc56c40b250) at st.c:1142 frame #35: 0x000000010c89c379 ruby`st_insert(tab=0x00007fc56c40b250, key=140486132605040, value=140485922918920) at st.c:1161:5 frame #36: 0x000000010c794a16 ruby`gc_compact_heap [inlined] gc_move(objspace=0x00007fc56c804400, scan=<unavailable>, free=<unavailable>, moved_list=140485922918960) at gc.c:7441:9 frame #37: 0x000000010c794917 ruby`gc_compact_heap(objspace=0x00007fc56c804400, comparator=<unavailable>) at gc.c:7695 frame #38: 0x000000010c79410d ruby`gc_compact [inlined] gc_compact_after_gc(objspace=0x00007fc56c804400, use_toward_empty=1, use_double_pages=<unavailable>, use_verifier=1) at gc.c:0:22 ``` We *definitely* need the heap to be in a consistent state during compaction, so this commit sets the current state to "during_gc" so that nothing will trigger a GC until the heap finishes compacting. This fixes the bug we saw when running the tests for https://github.com/ruby/ruby/pull/2264
2019-07-03Try to avoid `not delagated` errorKazuhiro NISHIYAMA
``` .../ruby/lib/delegate.rb:405:in `__getobj__': not delegated (ArgumentError) ``` https://rubyci.org/logs/rubyci.s3.amazonaws.com/debian9/ruby-master/log/20190703T063006Z.fail.html.gz
2019-07-03Version guard for [Feature #15974]Nobuyoshi Nakada
2019-07-03Fix order of testsNobuyoshi Nakada
`check` includes `test-testframework`, `test-short` and its preceeding tests, but `test-all` does not.
2019-07-03Just disable inlining with local varaible for nowTakashi Kokubun
This partially reverts commit 712a66b0741605f5b2db670a292b9bb352f8a716. The previous fix made CI strange like: http://ci.rvm.jp/results/trunk-vm-asserts@silicon-docker/2124178 Let me just downgrade the behavior for now and deal with it later. [Bug #15971]
2019-07-03Debugging failures on x86_64-darwin17 of travis-ciKazuhiro NISHIYAMA
https://travis-ci.org/ruby/ruby/jobs/553346285