summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-08-30* io.c (nogvl_fsync, nogvl_fdatasync): on Windows, just ignore if theusa
fd is associated to non-disk device. if call fsync and/or fdatasync with such fds, it causes Errno::EBADF exception and the behavior is incomatible with ruby 2.1 and earlier unintendedly introduced. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-30fix r56030 [Bug #12711]naruse
check whether it was syscall or not by getting previous instruction. syscall instruction is 0x0f 0x05. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-30* doc/NEWS-2.1.0: fix method nameokkez
* doc/NEWS-2.2.0: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-30* doc/NEWS-2.1.0: fix method nameokkez
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-29* 2016-08-30svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-29* vm_dump.c (backtrace): use rip in the saved context for the casenaruse
the SIGSEGV is received when the process is in userland. Note that ip in the stack should be used if the signal is received when it is in kernel (when it is calling syscall) [Bug #12711] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-29* properties.svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-29* remove trailing spaces.svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-29import Ruby/OpenSSL 2.0.0.beta.1rhe
* NEWS, {ext,test,sample}/openssl: Import Ruby/OpenSSL 2.0.0.beta.1. ext/openssl is now converted into a default gem. The full commit history since r55538 can be found at: https://github.com/ruby/openssl/compare/08e1881f5663...v2.0.0.beta.1 [Feature #9612] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-29* 2016-08-29svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-29assertions.rb: add an alias pend for skiprhe
* test/lib/test/unit/assertions.rb (pend): Add an alias 'pend' for 'skip'. This is required for test-unit compatibility. In particular, ext/openssl uses it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-28* 2016-08-28svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-28thread_sync.c: alias_global_constnobu
* thread_sync.c (alias_global_const): extract from a macro. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-27multiple argumentsnobu
* array.c (rb_ary_concat_multi): take multiple arguments. based on the patch by Satoru Horie. [Feature #12333] * string.c (rb_str_concat_multi, rb_str_prepend_multi): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-26parse.y: heredoc tokennobu
* parse.y (parser_heredoc_identifier): gather branches by quote char. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-26test_regex_casefold.rb: skip if no data filenobu
* test/ruby/enc/test_regex_casefold.rb (setup): skip with error message if CaseFolding.txt does not present, instead of printing the message, which causes unknown command in parallel test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-26parse.y: STR_TERM_ENDnobu
* parse.y (parser_parse_string): store the end of string literal mark in nd_term instead of nd_func. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-26* 2016-08-27svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-26parse.y: parser_string_termnobu
* parse.y (parser_string_term): return the token of string or regexp literal terminator. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-26parse.y: reset indent in heredoc_dedentnobu
* parse.y (parser_heredoc_dedent): reset heredoc_indent and return the dedented node. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-26parse.y: new_string1nobu
* parse.y (new_string1): extract from the rule. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-26parse.y: new_xstring_gennobu
* parse.y (new_xstring_gen): extract from the rule. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-26* 2016-08-26svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-26parse.y: new_regexp_gennobu
* parse.y (new_regexp_gen): extract from the rule. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-25win32/file.c: use ALLOC_Nnobu
* win32/file.c (home_dir, replace_to_long_name): use ALLOC_N instead of casted xmalloc with multiplication. win32/file.c (rb_file_expand_path_internal): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-25win32/file.h: rb_w32_filecpnobu
* win32/file.h (rb_w32_filecp): add declaration. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-24win32/file.c: remove a codepage argumentnobu
* win32/file.c (append_wstr): remove a codepage argument, and use INVALID_CODE_PAGE for conversion by econv. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-24* 2016-08-25svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-24win32/file.c: fix result lengthnobu
* win32/file.c (append_wstr): exclude the terminator from the result length when input len == -1. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-24* gc.c (gc_reset_malloc_info): Remove too much ";".kou
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-24win32/file.c: use enumnobu
* win32/file.c (home_dir): use enum instead of magic numbers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-24Fix ChangeLog [ci skip]ngoto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-24* include/ruby/defines.h (ALWAYS_INLINE): Add alternative definition.ngoto
Fix compile error with compilers that do not have force inline attribute, including old version of fcc on Solaris 10. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-24* .gdbinit: follow r55766's VM change.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-24common.mk: unnecessary dependents of prelude.cnobu
* common.mk (PRELUDE_C): remove unnecessary dependents, which are not included directly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-24* 2016-08-24svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-24object.c: fix {Module,Class}.new rdoc [ci skip]nobu
* object.c (rb_mod_initialize, rb_class_initialize): [DOC] these methods do not invoke module_eval/class_eval, just eval the given block under the new module/class but sharing the context with the surrounding scope like those methods. [ruby-core:77023] [Bug #12696] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-23goruby.c: call Init_golf [ci skip]nobu
* goruby.c (init_golf): call Init_golf, because ruby_init_ext only registers the function since r43514. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-23test_ssl_server.rb: fix FD leaknobu
* test/webrick/test_ssl_server.rb (assert_self_signed_cert): close underlying TCP socket to fix FD leak. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-23test_psych.rb: close Tempfilenobu
* test/psych/test_psych.rb (test_load_file_with_fallback): fix Tempfile leak. https://github.com/tenderlove/psych/pull/288 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-23string.c: rb_fs_setternobu
* string.c (rb_fs_setter): check and convert $; value at assignment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-22* 2016-08-23svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-22string.c: $; name in error messagenobu
* string.c (rb_str_split_m): show $; name in error message when it is a wrong object. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-22csv.rb: performance with very long quoted linesnobu
* lib/csv.rb (CSV#shift): store partial quoted strings in an array and join at last, to improve performance with very long quoted lines. [ruby-core:76987] [Bug #12691] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-22irb.1: useless option [ci skip]nobu
* man/irb.1: remove useless -width option. [ruby-dev:49767] [Bug #12692] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-22array.c: elements in selfnobu
* array.c (rb_ary_splice): consider elements in middle of self. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-22* 2016-08-22svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-22iseq.c: undef allocatornobu
* iseq.c (Init_ISeq): undefine allocator of InstructionSequence, to get rid of segfaults at method call on uninitialized object. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-21fix a typo [ci skip]kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-21* ChangeLog: fix typo.tadd
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e