summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-10-21lib/mutex_m.rb: fix example code in documentationstomar
* lib/mutex_m.rb: [DOC] fix invalid example code to make it syntax highlighted. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-21vm_core.h: fix typo [ci skip]k0kubun
The comment didn't make sense. As it's allocated with `ZALLOC_N(struct rb_call_cache, body->ci_size + body->ci_kw_size)`, it's very likely to be forgotten to press shift key on US keyboard. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-21_mjit_compile_send.erb: don't split send_guardk0kubun
to another file, because it's no longer shared. It was created when attr_reader was inlined but it's no longer included. common.mk: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-21mjit.c: copy inline cache values to MJIT workerk0kubun
on VM_CHECK_INTS. Letting MJIT worker directly see inline cache which may be being updated could result in inconsistent IC index and serial. mjit_worker.c: request the copy job after dequeue, and receive the result synchronously. tool/ruby_vm/views/_mjit_compile_ivar.erb: use the copied IC mjit_compile.c: change the interface to pass is_entries mjit.h: ditto === Optcarrot Benchmark === Thankfully this didn't have major performance regression. $ benchmark-driver benchmark.yml --rbenv 'before::before --disable-gems --jit;after::after --disable-gems --jit' -v --repeat-count 24 before: ruby 2.6.0dev (2018-10-21 trunk 65263) +JIT [x86_64-linux] after: ruby 2.6.0dev (2018-10-21 trunk 65263) +JIT [x86_64-linux] last_commit=mjit.c: copy inline cache values to MJIT worker Calculating ------------------------------------- before after Optcarrot Lan_Master.nes 85.421 85.454 fps Comparison: Optcarrot Lan_Master.nes after: 85.5 fps before: 85.4 fps - 1.00x slower git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-21fix sign of integer variablenaruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-21Improve doc of yield_selfaycabta
* object.c: Add code samples for yield_self. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-21Add missing info for Mutex_m to the doc [Bug #13598]aycabta
* lib/mutex_m.rb: The #initialize method in a class that includes Mutex_m needs calling #super. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-21Improve doc of Regexp about "ignore case" behavior [Misc #10836]aycabta
* doc/regexp.rdoc: RDoc for "ignore case" behavior git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-21`--excludes` option must be in TEST_ALL_TESTOPTSnobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-21Quote `$(TESTSDIR)`nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-21* properties.svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-21Exclude CI platform specific failures by --excludes optionnobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-21fix a warning message.ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-21skip tests broken with OpenSSL 1.1.1 on Travis osxk0kubun
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-21appveyor.yml: workaround wrong command line escapek0kubun
backslash in %APPVEYOR_BUILD_FOLDER% is somehow dropped somewhere when being passed to test runner via mingw32-make. Anyway we know the relative path to the project directory, so we can specify that with slash. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-21.travis.yml: mspec -j is unstablek0kubun
https://travis-ci.org/ruby/ruby/jobs/444232677 Instead of that, add -fs to know problematic test case when failed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-21.travis.yml: use --job-status=replacek0kubun
-v is too long, and "--color=never --job-status=normal" is too verbose. Trying --job-status=replace to make Travis log easier to read. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-21appveyor.yml: fix wrong spec directoryk0kubun
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-21.travis.yml: debug problematic test case on osxk0kubun
osx build is stucking somewhere. We want to debug that. https://travis-ci.org/ruby/ruby/jobs/444059226 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-21check version of .debug_infonaruse
and refactor related code. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-21Skip dwarf if its version is not supportednaruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-20appveyor.yml: don't run win32ole with -jk0kubun
since it lets worker crash https://ci.appveyor.com/project/ruby/ruby/builds/19659321/job/swnu2b5yj960t9gr git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-20lldb_cruby.py: T_COMPLEX support [ci skip]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-20NEWS: Fix keywords [ci skip]kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-20* 2018-10-21svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-20NEWS: Fix `,`s [ci skip]kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-20Merge branch 'modify_test_win32ole' into trunksuke
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-20support --disable-mjit-support on mswin32/64.ko1
* win32/configure.bat: add --enable/disable-mjit-support configure.bat options. * win32/setup.mak: ditto. * win32/Makefile.sub: ditto. * win32/Makefile.sub: fix typo for congig.status file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-20refactoring. suppress warning.suke
* test/win32ole/test_win32ole_record.rb: refactoring. suppress warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-20Run background threads while testing drbkazu
Do not start background thread on load test/drb/drbtest.rb, and stop threads on each test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-20Revert "Revert "Reset primary_server when remove_server"" [ci skip]kazu
This reverts commit d2671c96f32e6fbbd39162a2c9042dcaf3bf2d68. previous reverting is commit miss git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-20NEWS: fix languagestomar
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-20lldb_cruby.py: T_RATIONAL support [ci skip]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-20Allow to stop by push(nil) for testkazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-20Revert "Reset primary_server when remove_server"kazu
This reverts commit 2948d3bd2e78b5b9110454a7135a81c3fecb2575. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-20use System Monitor Control to test win32olesuke
* test/win32ole/test_win32ole_method_event.rb: use System Monitor Control to test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-20Added entry about new default gems.hsbt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-20NEWS: update about MJIT [ci skip]k0kubun
Rails performance is somewhat improved by compaction. Still not great though. MinGW support is much stable now, and mswin support is added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-20Add the oneshot coverage feature to NEWSmame
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-20* properties.svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-20refactoring define AvailableOLE.sysmon_available?suke
* test/win32ole/test_win32ole_type_event.rb: refactoring. use AvailableOLE.sysmon_available? * test/win32ole/available_ole.rb: define AvailableOLE.sysmon_available? git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-20Document File.{setuid?,setgid?,sticky?} support for IO objects [Bug #13972]aycabta
* file.c (rb_file_setuid_p): rdoc for IO object support (rb_file_sgid_p): ditto (rb_file_sticky_p): ditto * NEWS: inform users of new feature * test/file/test_file_exhaustive.rb (io_open): wrapper for bare IO object (test_suid): test for bare IO support (test_sgid): ditto (test_sticky): ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-20fix macro-name.ko1
* win32/Makefile.sub: Not MJIT_SUPPORT, but USE_MJIT. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-20Add negotiated SSL protocol and cipher to Net::HTTP debug outputnaruse
From: Bart de Water <bartdewater@gmail.com> https://github.com/ruby/ruby/pull/1877 [Feature #15009] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-20fix MJIT_SUPPORT on win32.ko1
* win32/Makefile.sub: add MJIT_SUPPORT macro for C codes and variable for Makefile. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-20mjit_worker.c: don't refer to freed valuek0kubun
remove_from_list() frees node, but after that node->next could be used git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-20Improve doc of multipart/form-data [Bug #15019]aycabta
* lib/net/http.rb: Documentation for Net::HTTP claims that multipart/form-data is not supported, but Net::HTTPHeader#set_form supports it since 1.9.3. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-20parse.y: Fix the compile erroryui-knk
* parse.y: Fix "error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]" git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-20Improve safe navigation operator's docs [Misc #15109]aycabta
* doc/syntax/calling_methods.rdoc: Add Safe navigation operator section. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-20Fix locations of NODE_SCOPE in lambda.yui-knk
* parse.y: Fix to start with the argument. e.g. The locations of the NODE_SCOPE is fixed: ``` -> x { 1 + 2 } ``` * Before ``` NODE_SCOPE (line: 1, location: (1,2)-(1,14)) ``` * After ``` NODE_SCOPE (line: 1, location: (1,3)-(1,14)) ``` git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e