aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* import Ruby/OpenSSL 2.0.0.beta.1rhe2016-08-2969-1813/+2970
| | | | | | | | | | * 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-29svn2016-08-291-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* assertions.rb: add an alias pend for skiprhe2016-08-291-0/+3
| | | | | | | | * 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-28svn2016-08-281-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread_sync.c: alias_global_constnobu2016-08-281-1/+7
| | | | | | * 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
* multiple argumentsnobu2016-08-275-27/+106
| | | | | | | | * 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
* parse.y: heredoc tokennobu2016-08-261-3/+5
| | | | | | | * 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
* test_regex_casefold.rb: skip if no data filenobu2016-08-261-1/+1
| | | | | | | | * 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
* parse.y: STR_TERM_ENDnobu2016-08-261-3/+4
| | | | | | | * 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-27svn2016-08-261-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: parser_string_termnobu2016-08-261-4/+10
| | | | | | | * 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
* parse.y: reset indent in heredoc_dedentnobu2016-08-261-15/+15
| | | | | | | * 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
* parse.y: new_string1nobu2016-08-261-5/+3
| | | | | | * 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
* parse.y: new_xstring_gennobu2016-08-261-25/+33
| | | | | | * 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-26svn2016-08-261-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: new_regexp_gennobu2016-08-261-73/+87
| | | | | | * 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
* win32/file.c: use ALLOC_Nnobu2016-08-251-4/+4
| | | | | | | | | * 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
* win32/file.h: rb_w32_filecpnobu2016-08-253-4/+2
| | | | | | * 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
* win32/file.c: remove a codepage argumentnobu2016-08-242-11/+13
| | | | | | | * 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-25svn2016-08-241-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32/file.c: fix result lengthnobu2016-08-242-1/+7
| | | | | | | * 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
* * gc.c (gc_reset_malloc_info): Remove too much ";".kou2016-08-242-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32/file.c: use enumnobu2016-08-241-23/+16
| | | | | | * 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
* Fix ChangeLog [ci skip]ngoto2016-08-241-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/defines.h (ALWAYS_INLINE): Add alternative definition.ngoto2016-08-242-0/+9
| | | | | | | | 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
* * .gdbinit: follow r55766's VM change.naruse2016-08-242-14/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: unnecessary dependents of prelude.cnobu2016-08-241-3/+1
| | | | | | | * 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-24svn2016-08-241-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* object.c: fix {Module,Class}.new rdoc [ci skip]nobu2016-08-242-2/+10
| | | | | | | | | | * 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
* goruby.c: call Init_golf [ci skip]nobu2016-08-231-1/+2
| | | | | | | * 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
* test_ssl_server.rb: fix FD leaknobu2016-08-231-1/+3
| | | | | | | * 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
* test_psych.rb: close Tempfilenobu2016-08-232-2/+8
| | | | | | | * 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
* string.c: rb_fs_setternobu2016-08-233-7/+25
| | | | | | | * 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-23svn2016-08-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* string.c: $; name in error messagenobu2016-08-223-7/+32
| | | | | | | * 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
* csv.rb: performance with very long quoted linesnobu2016-08-222-5/+9
| | | | | | | | * 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
* irb.1: useless option [ci skip]nobu2016-08-222-2/+7
| | | | | | | * 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
* array.c: elements in selfnobu2016-08-221-4/+7
| | | | | | * 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-22svn2016-08-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* iseq.c: undef allocatornobu2016-08-223-0/+10
| | | | | | | * 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
* fix a typo [ci skip]kazu2016-08-211-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: fix typo.tadd2016-08-211-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* array.c: no temporary arraynobu2016-08-211-20/+18
| | | | | | | | | * array.c (rb_ary_splice): use pointer and length pair instead of an array object to replace. * array.c (rb_ary_insert): get rid of creating temporary array. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2016-08-21svn2016-08-201-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* enum.c (enum_sort): prevent wasteful array duplicaionmrkn2016-08-202-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rubystub.c: sys/param.h for MAXPATHLENnobu2016-08-201-0/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rubystubnobu2016-08-207-66/+99
| | | | | | * rubystub.c: generalize win32/stub.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2016-08-20svn2016-08-201-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32.c: no newline for rb_fatalnobu2016-08-201-2/+2
| | | | | | | * win32/win32.c (StartSockets): rb_fatal does not need a newline at the end. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ruby_cmdline_options_tnobu2016-08-191-18/+20
| | | | | | * ruby.c (ruby_cmdline_options_t): typedef. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e