aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 2015-05-05svn2015-05-051-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io/console: vk_header only on Windowsnobu2015-05-051-2/+2
| | | | | | | * ext/io/console/extconf.rb: vk_header is used only on Windows, nonsense to update on other platforms. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* console.c: pressed? on Windowsnobu2015-05-035-1/+1122
| | | | | | | * ext/io/console/console.c (console_key_pressed_p): new method IO#pressed? on Windows. [EXPERIMENTAL] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2015-05-04svn2015-05-030-0/+0
|\ | | | | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* | * 2015-05-04svn2015-05-031-2/+2
| | | | | | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* | console.c: cursor position on Windowsnobu2015-05-031-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | * ext/io/console/console.c (console_goto): new method IO#goto on Windows. [EXPERIMENTAL] * ext/io/console/console.c (console_cursor_pos): new method IO#cursor on Windows. [EXPERIMENTAL] * ext/io/console/console.c (console_cursor_set): new method IO#cursor= on Windows. [EXPERIMENTAL] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* | console.c: IO#beepnobu2015-05-031-0/+19
|/ | | | | | | * ext/io/console/console.c (console_beep): new method IO#beep. [EXPERIMENTAL] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/-test-/file/fs.c: need to include sys/statvfs.hodaira2015-05-033-1/+12
| | | | | | | | | to use statvfs(). * ext/-test-/file/extconf.rb: check the existence of sys/statvfs.h git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml.rb: fix typo. [ci skip][fix GH-890]hsbt2015-05-032-1/+6
| | | | | | Patch by @miketheman git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* range.c: covered for linear objectsnobu2015-05-033-2/+29
| | | | | | | * range.c (linear_object_p, range_include): test if covered for linear objects. [ruby-core:69052] [Bug #11113] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2015-05-03svn2015-05-031-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* console.c: remove old ifdefnobu2015-05-031-4/+0
| | | | | | | * ext/io/console/console.c (LAST_ERROR): remove old ifdef, should use rb_w32_map_errno always. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2015-05-02svn2015-05-011-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* range.c: predefined IDsnobu2015-05-011-3/+3
| | | | | | * range.c (id_cmp, id_succ): use predefined IDs in id.def. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* dln.c: fix EXTERNAL_PREFIXnobu2015-05-013-4/+7
| | | | | | | | | | | * configure.in (EXPORT_PREFIX): revert r50410. * dln.c (EXTERNAL_PREFIX): define by predefined macros. configured EXPORT_PREFIX is different thing. * win32/Makefile.sub: r50414-50415. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Makefile.sub: EXPORT_PREFIXnobu2015-05-011-1/+1
| | | | | | * win32/Makefile.sub (config.h): fix typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Makefile.sub: EXPORT_PREFIXnobu2015-05-011-0/+1
| | | | | | * win32/Makefile.sub (config.h): add EXPORT_PREFIX for r50410. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* dln.c: raise fatalnobu2015-05-011-2/+4
| | | | | | | * dln.c (dln_load): raise fatal error on OSX not other extension libraries to refer different libruby. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* dln.c: check incompatible librubynobu2015-05-012-0/+21
| | | | | | | | * dln.c (dln_load): check if a different libruby is loaded by the extension library, and then bail out to get rid of very frequent reported stale bug reports. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2015-05-01svn2015-05-011-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* dln.c: use EXPORT_PREFIXnobu2015-05-012-7/+2
| | | | | | | | | | * configure.in (EXPORT_PREFIX): define exported symbol prefix string in config.h. * dln.c (FUNCNAME_PREFIX): use configured EXPORT_PREFIX, not hardcoded condition. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: %-string cannot be a labelnobu2015-04-302-3/+13
| | | | | | | * parse.y (parser_yylex): %-string cannot be a label even if terminated by single/double quotes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* compile.c: disallow private readersnobu2015-04-303-11/+16
| | | | | | | | * compile.c (iseq_compile_each): revert r46873 and r46875, not to allow to execute private readers by pretending op assign. [ruby-core:68984] [Bug #11096] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces.svn2015-04-301-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * rational.c: Added documentation for rational literal.hsbt2015-04-302-2/+8
| | | | | | [Bug #11075][fix GH-885][ci skip] Patch by @shishir127 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ipsocket.c: fix merge missnobu2015-04-301-1/+1
| | | | | | | * 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
* ipsocket.c: sys_errornobu2015-04-302-2/+12
| | | | | | | | * 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-30svn2015-04-301-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: push cmdarg_stacknobu2015-04-303-2/+17
| | | | | | | * 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
* cookie.rb: trailing commanobu2015-04-292-6/+6
| | | | | | * 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-29svn2015-04-291-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: simplifiednobu2015-04-291-15/+15
| | | | | | | * 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
* compile.c: move expansion of massignnobu2015-04-292-21/+29
| | | | | | | | * 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
* gc.c: event hook thread argumentnobu2015-04-261-3/+2
| | | | | | * 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
* vm_trace.c: unified a_call and a_returnnobu2015-04-251-2/+6
| | | | | | | * 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
* vm_trace.c: not a static variablenobu2015-04-251-1/+1
| | | | | | | | * 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
* enc/utf_8.c: limit UTF-8nobu2015-04-252-18/+8
| | | | | | | * 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
* vm_trace.c: indentnobu2015-04-251-1/+1
| | | | | | * vm_trace.c (thread_tracepoint): adjust indent. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_trace.c: unnecessary method undefnobu2015-04-251-1/+0
| | | | | | | * 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-26svn2015-04-251-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ChangeLog: fix issue numbernobu2015-04-251-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2015-04-25svn2015-04-251-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* revert r50336nobu2015-04-252-1/+6
| | | | | | | * 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
* Import ruby-electric.el version 2.2.3 from upstreamknu2015-04-242-9/+29
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c: restore a license comment accidentally removed at r50381.usa2015-04-241-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32.c: fix for mingwnobu2015-04-241-11/+3
| | | | | | | | | * 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
* * win32/win32.c (rb_w32_{getc,putc}): removed. they are needed for oldusa2015-04-243-57/+5
| | | | | | | ruby (before 1.8), but not now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c: remove bcc related code.naruse2015-04-233-236/+15
| | | | | | * include/ruby/win32.h: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_acrt_lowio_lock_fh): wrap _pioinfo(i)->lock.naruse2015-04-232-28/+36
| | | | | | * 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
* * win32/win32.c (_filbuf): msvc14 doesn't have it, use _fgetc_nolock.naruse2015-04-232-11/+58
| | | | | | | | | | | | | | | | | | | | | * 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