summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-04-30ipsocket.c: fix merge missnobu
* ext/socket/ipsocket.c (init_inetsock_internal): fix local variable name by merge miss. [ruby-core:68531] [Bug #10975] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-30ipsocket.c: sys_errornobu
* ext/socket/ipsocket.c (init_inetsock_internal): preserve errno before other library calls and use rb_syserr_fail. [ruby-core:68531] [Bug #10975] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-30* 2015-04-30svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-30parse.y: push cmdarg_stacknobu
* parse.y (lambda): push and reset cmdarg_stack in lambda body. [ruby-core:69017] [Bug #11107] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-29cookie.rb: trailing commanobu
* lib/cgi/cookie.rb: add trailing comma for further lines. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-29* 2015-04-29svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-29parse.y: simplifiednobu
* parse.y (primary): turned nested if-else blocks into a switch statement. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-29compile.c: move expansion of massignnobu
* compile.c (iseq_compile_each): move expansion for massign to variable of for-loop from the parser, to reduce method calls on intermediate objects. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-26gc.c: event hook thread argumentnobu
* gc.c (gc_event_hook_body): move th to an argument. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-25vm_trace.c: unified a_call and a_returnnobu
* vm_trace.c (symbol2event_flag): use a uniform macro for a_call and a_return too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-25vm_trace.c: not a static variablenobu
* vm_trace.c (symbol2event_flag): should not be static but a mere local variable, so that unnecessary race condition does not happen. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-25enc/utf_8.c: limit UTF-8nobu
* enc/utf_8.c (code_to_mbclen, code_to_mbc): reject values larger than UTF-8 max codepoints. [Feature #11094] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-25vm_trace.c: indentnobu
* vm_trace.c (thread_tracepoint): adjust indent. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-25vm_trace.c: unnecessary method undefnobu
* vm_trace.c (Init_vm_trace): remove unnecessary method undef, that is overridden just after it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-25* 2015-04-26svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-25ChangeLog: fix issue numbernobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-25* 2015-04-25svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-25revert r50336nobu
* string.c (str_buf_cat): expand later so that the buffer can be larger for further use. [Bug #11080] [Bug #11080] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-24Import ruby-electric.el version 2.2.3 from upstreamknu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-24* win32/win32.c: restore a license comment accidentally removed at r50381.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-24win32.c: fix for mingwnobu
* win32/win32.c (_pioinfo): necessary on mingw too. * win32/win32.c (init_stdhandle): remove stale function for Borland C. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-24* win32/win32.c (rb_w32_{getc,putc}): removed. they are needed for oldusa
ruby (before 1.8), but not now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-23* win32/win32.c: remove bcc related code.naruse
* include/ruby/win32.h: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-23* win32/win32.c (rb_acrt_lowio_lock_fh): wrap _pioinfo(i)->lock.naruse
* win32/win32.c (rb_acrt_lowio_unlock_fh): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-23* win32/win32.c (_filbuf): msvc14 doesn't have it, use _fgetc_nolock.naruse
* win32/win32.c (_flsbuf): msvc14 doesn't have it, use _fputc_nolock. * win32/win32.c (vcruntime_file): define vcruntime_file on msvc14 because it doesn't export FILE's internal structure. * win32/win32.c (FILE_COUNT): added to abstract FILE->_cnt. * win32/win32.c (FILE_READPTR): added to abstract FILE->_ptr. * win32/win32.c (FILE_FILENO): added to abstract FILE->_file. * win32/win32.c (init_stdhandle): use FILE_FILENO. * win32/win32.c (rb_w32_getc): use FILE_COUNT and FILE_READPTR. * win32/win32.c (rb_w32_putc): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-23* win32/win32.c (dupfd): use _set_osfhnd.naruse
* win32/win32.c (rb_w32_wopen): use _set_osflags. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-23* gc.c (gc_mark_roots): fox to work PRINT_ROOT_TICKS.ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-23* 2015-04-24svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-23* win32/Makefile.sub: MSVC14 have struct timespec.naruse
* win32/rtname.cmd: support vcruntime140.dll. * time.c (localtime_with_gmtoff_zone): MSVC14 doesn't have tzname and daylight but have _tzname and _daylight. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-23fix a typo [ci skip]kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-23vm_eval.c: allow symbols to instance_eval/execnobu
* vm_eval.c (rb_obj_instance_eval, rb_obj_instance_exec): allow symbols to just instance_eval/exec, execept for definition of singletons. [ruby-core:68961] [Bug #11086] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-23* 2015-04-23svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-23* lib/delegate.rb: fix a typo.hsbt
[fix GH-881][ci skip] Patch by @Zorbash git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-22* lib/net/imap.rb (move, uid_move): support the MOVE command definedshugo
in RFC6851. Patch by ojab ojab. [ruby-core:68960] [Feature #11077] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-22* test/ruby/test_object.rb: add tests for Kernel#String and Kernel#Array.gogotanaka
[fix GH-879][fix GH-880] Patch by @yui-knk git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-21* 2015-04-22svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-21* test/ruby/test_m17n_comb.rb: test_str_crypt split into strictheadius
and non-strict versions to allow masking out non-strict when glibc version cannot be determined (#11045). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-21* test/ruby/test_object.rb: renamed tests to explicitly class name.hsbt
[fix GH-877] Patch by @yui-knk git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-20* 2015-04-21svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-20socket: avoid common exceptions when calling connect_nonblocknormal
Errno::EISCONN and IO::WaitReadable exceptions are common, expensive, and noisy under normal use. Avoid raising on them since they are not exceptional. * ext/socket/lib/socket.rb (connect_internal): avoid common exceptions from connect_nonblock. [ruby-core:68909] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-20* win32/win32.c (rb_w32_wreadlink): follow the official format ofusa
REPARSE_DATA_BUFFER structure. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-20fix a typo [ci skip]kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-20* tool/expand-config.rb: typo, too.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-20* ChangeLog: typo.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-20* common.mk: commit miss of r50357.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-20* common.mk ($(arch)-fake.rb): revert r50354 because bsdmake seems notusa
to handle such substitution. * tool/expand-config.rb: convert path separators here. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-20* too/fake.rb: don't fake libdir. use libdirname instead.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-20* lib/mkmf.rb (MakeMakefile#configuration): DESTDIR should never affectusa
top_srcdir and builddir. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-20* common.mk ($(arch)-fake.rb): fix the path separator up for Windows.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-20fix a typonobu
* ChangeLog: fix a typo, junction is not junktion, of course. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e