aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* configure.in: use libtoolnobu2017-07-312-5/+9
| | | | | | | | * configure.in: use libtool on macOS to suppress a warning against debug_counter.o, which has no symbols unless USE_DEBUG_COUNTER is set to non-zero. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2017-07-31svn2017-07-311-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Improve error messagekazu2017-07-312-3/+3
| | | | | | ref [Bug #13761] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* UNALIGNED_MEMBER_ACCESS only for clangnobu2017-07-301-1/+2
| | | | | | | | * eval_intern.h (UNALIGNED_MEMBER_ACCESS): enable only on clang. gcc does not complain about pointers to member of unaligned struct. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* UNALIGNED_MEMBER_ACCESSnobu2017-07-304-16/+37
| | | | | | | * eval_intern.h (UNALIGNED_MEMBER_ACCESS): suppress address-of-packed-member warnings by clang 4.0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* hash.c: refactor env_enc_str_newnobu2017-07-301-17/+7
| | | | | | | | * hash.c (env_enc_str_new): convert to the expected encoding without intermediate string, and set econv flags if default internal encoding is set too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* string.c: rb_str_initializenobu2017-07-302-3/+11
| | | | | | | | * string.c (rb_str_initialize): new function to (re)initialize a string with data and encoding. extracted from rb_external_str_new_with_enc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2017-07-30svn2017-07-301-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* compile.c: replace adjuststacknobu2017-07-301-13/+17
| | | | | | | * compile.c (iseq_set_sequence): replace adjuststack with pop, or remove if possible instead of two nops. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* visibility of inherited methodnobu2017-07-292-2/+47
| | | | | | | | | | * vm_insnhelper.c (vm_call_method_each_type): honor the original visibility of inherited methods when a refinement is defined but not activated. [ruby-core:82209] [Bug #13776] Author: Mon_Ouie (Mon ouïe) <mon.ouie@gmail.com> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* adjust indent [ci skip]nobu2017-07-291-38/+38
| | | | | | | * vm_insnhelper.c (vm_call_method_each_type): adjust indent of a block in switch. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* file.c: [DOC] File.mkfifonobu2017-07-291-1/+1
| | | | | | | * file.c (rb_file_s_mkfifo): enclose rdoc by ifdef so it will be generated properly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* compile.c: fix flip-flop valuenobu2017-07-291-1/+0
| | | | | | | | * compile.c (iseq_compile_each0): as compile_flip_flop always ends with a jump instruction, successive instruction is never reached, but caused stack consistency error without peephole optimization. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2017-07-29svn2017-07-281-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Include sys/select.h when checking HAVE_RB_FD_INITodaira2017-07-281-1/+3
| | | | | | | * configure.in: include sys/select.h for fd_mask on AIX [Feature #13637] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rexml: Remove needless documentkou2017-07-281-2/+0
| | | | | | | | | [Fix GH-1671] Patch by madblobfish. Thanks!!! git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2017-07-28svn2017-07-281-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* csv.rb: fix incompatibility introduced in r59428glass2017-07-283-60/+58
| | | | | | | | | | | | | * lib/csv.rb: fix incompatibility introduced in r59428. CSV.new takes options as keyword arguments. * test/csv/test_features.rb: add a test to ensure it raises error againt unknown options * test/csv/test_features.rb: add a test to ensure row_sep option is properly applied git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* set auto-props to avoid commits setting propertiesnobu2017-07-270-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typenobu2017-07-271-3/+3
| | | | | | | * spec/rubyspec/optional/capi/ext/io_spec.c (io_spec_rb_io_wait_readable): fix type of read(2). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_core.h: shrink trap_list sizenobu2017-07-273-19/+14
| | | | | | | * vm_core.h (rb_vm_struct): separate trap_list cmd and safe to each arrays, to shrink the size. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.svn2017-07-270-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to ruby/spec@c3e6b90eregon2017-07-2721-485/+353
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.svn2017-07-270-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to ruby/mspec@353605feregon2017-07-278-35/+315
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update configuration for slack notification.hsbt2017-07-271-1/+5
| | | | | | | | * Encrypted slack token. * Only notify when build fails and it recovered. * Only notify trunk build without pull requests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* csv.rb: use keyword parametersglass2017-07-272-96/+71
| | | | | | | | * lib/csv.rb: usb keyword parameters to receive options * test/csv/test_features.rb: remove a test for checking options git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2017-07-27svn2017-07-271-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* csv.rb: use Array#to_hglass2017-07-271-2/+1
| | | | | | * lib/csv.rb (CSV::Row#to_hash): use Array#to_h git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vcs.rb: commitnobu2017-07-262-13/+14
| | | | | | | * tool/vcs.rb (commit): do commit, reset svn revision to sync git mirror. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/net/imap.rb: support CHANGEDSINCE and MODSEQshugo2017-07-262-8/+52
| | | | | | Patch by plehoux (Philippe-Antoine Lehoux). [ruby-core:64272] [Feature #10119] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* To use slack notification instead of email notification.hsbt2017-07-261-3/+1
| | | | | | It's easily customize configuration of test notify. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Removed definitions of mspec and ruby/spec.hsbt2017-07-261-4/+0
| | | | | | They are no longer used on ruby core repository. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Removed Ruby 2.1 from Travis CI. It's EOL status on 2017.hsbt2017-07-261-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: brace after array literal argnobu2017-07-262-1/+5
| | | | | | | | | * parse.y (parser_yylex): array is another literal. set state to END too not only ENDARG and after a literal, so that a left brace after it should be a primary block bound to the literal, which causes syntax error. [ruby-core:81037] [Bug #13547] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2017-07-26svn2017-07-261-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix typos [ci skip]kazu2017-07-261-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: limit codepoint lengthnobu2017-07-252-9/+10
| | | | | | | | * parse.y (parser_tokadd_codepoint): limit Unicode codepoint length. too long codepoint has been split unexpectedly since r57050. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* dir.c (ruby_brace_expand): RB_GC_GUARD safetynormal2017-07-251-6/+6
| | | | | | | | | | | | | The lifetime of a String VALUE must match or exceed the lifetime of its R*_PTR result; otherwise the GC can while reclaim the VALUE while the R*_PTR result is in use. * dir.c (ruby_brace_expand): add var parameter for GC guard (ruby_brace_glob_with_enc): adjust call (file_s_fnmatch): ditto (push_glob): remove misplaced GC guard git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2017-07-25svn2017-07-251-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* socket: system getaddrinfo on Windowsnobu2017-07-251-0/+1
| | | | | | | | | | * ext/socket/extconf.rb: use system getaddrinfo, getnameinfo, and freeaddrinfo on Windows if they are provided. they conflict with addrinfo.h and cannot compile. conftest.exe linked against msvcr90.dll segfaults when invoked in extconf.rb for unknown reason, and failed to check them. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2017-07-24svn2017-07-241-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* optparse.rb: case-sensitive candidatenobu2017-07-242-4/+9
| | | | | | | | * lib/optparse.rb (candidate): short options are case-sensitive by the default, should not match case-different options.. https://github.com/mernen/completion-ruby/pull/9#issuecomment-317287946 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2017-07-23svn2017-07-231-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* sprintf.c: width too bignobu2017-07-232-0/+7
| | | | | | | * sprintf.c (rb_str_format): explicitly reject too big negative width, instead of an empty string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces.svn2017-07-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add Doxygen commentsyugui2017-07-223-3/+221
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix documentskazu2017-07-221-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix typos and indentkazu2017-07-221-6/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces.svn2017-07-222-35/+35
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e