aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* win32/win32.c: add rb_w32_inet_ptonnobu2014-02-233-0/+23
| | | | | | | | * include/ruby/win32.h, win32/win32.c (rb_w32_inet_pton): add a wrapper function for inet_pton minimum supported client is Vista, as well as inet_ntop. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/net/imap/test_imap.rb: remove unused variables.hsbt2014-02-234-4/+8
| | | | | | | * test/net/imap/test_imap_response_parser.rb: ditto. * test/net/pop/test_pop.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c: [DOC] typo fix by @jkassemi [fix GH-544][ci skip]hsbt2014-02-231-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.ja.md: [DOC] fixed wasted spaces by @gogotanaka [fix GH-545][ci skip]hsbt2014-02-231-22/+21
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* raddrinfo.c: suppress warningsnobu2014-02-231-11/+9
| | | | | | | | * ext/socket/raddrinfo.c (numeric_getaddrinfo): move conditionally used variables inside the block, to suppress warnings on platforms where inet_pton() is not available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-02-23svn2014-02-221-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/resolv.rb (bind_random_port): Rescue EPERM for FreeBSD whichakr2014-02-222-1/+10
| | | | | | | | | | security.mac.portacl.port_high is changed. See mac_portacl(4) for details. Reported by Jakub Szafranski. [ruby-core:60917] [Bug #9544] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/xpath_parser.rb: Fix indent.kou2014-02-222-10/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: Fix formatkou2014-02-221-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rexml/xpath/test_attribute.rb: Simplify.kou2014-02-222-75/+21
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add backport commit detectionnaruse2014-02-221-1/+23
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/redmine-backporter.rb: should add the value after checking error.usa2014-02-221-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/redmine-backporter.rb: fixed bug of background color.usa2014-02-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/redmine-backporter.rb: more friendly.usa2014-02-222-11/+58
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rexml/test_xpath*.rb: Move to ...kou2014-02-226-10/+11
| | | | | | | * test/rexml/xpath/*.rb: ... here. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rexml/listener.rb: Untabify.kou2014-02-222-47/+51
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/io/console/console.c (console_dev): need read access for conout$usa2014-02-222-1/+6
| | | | | | | because some functions need it. [Bug#9554] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* .gitignore: ignore benchmark filesnormal2014-02-222-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix a filename.akr2014-02-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_logdevice.rb: no utimenobu2014-02-221-2/+3
| | | | | | | * test/logger/test_logdevice.rb (test_shifting_midnight): do not set mtime to get rid of an error on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gc.c: suppress warningsnobu2014-02-221-2/+2
| | | | | | * gc.c (gc_marks): cast explicitly to suppress warnings by VC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_logdevice.rb: use assert_in_out_errnobu2014-02-221-2/+2
| | | | | | | | | * test/logger/test_logdevice.rb (test_shifting_midnight): use verbose assert_in_out_err instead of assert_ruby_status. * test/logger/test_logdevice.rb (test_shifting_dst_change): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (bary_mul_precheck): fix a copy-paste error.mame2014-02-212-1/+6
| | | | | | Coverity Scan found this bug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-02-22svn2014-02-211-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix second argument of MEMZEROkazu2014-02-212-1/+6
| | | | | | | * ext/socket/raddrinfo.c (rb_getaddrinfo): second argument of MEMZERO is type. Coverity Scan found this bug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/init.c (wait_connectable): break if the socket isshugo2014-02-212-2/+17
| | | | | | | | | | | | writable to avoid infinite loops on FreeBSD and other platforms which conforms to SUSv3. This problem cannot be reproduced with loopback interfaces, so it's hard to write test code. rsock_connect() and wait_connectable() are overly complicated, so they should be refactored, but I commit this fix as a workaround for the release of Ruby 1.9.3 scheduled on Feb 24. [ruby-core:60940] [Bug #9547] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/redmine-backporter.rb: added to handle redmine tickets.naruse2014-02-212-0/+351
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* class.c: do nothing if copying selfnobu2014-02-218-2/+32
| | | | | | | | * class.c (rb_mod_init_copy): do nothing if copying self. [ruby-dev:47989] [Bug #9535] * hash.c (rb_hash_initialize_copy): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_logdevice.rb: run iff timezene supportednobu2014-02-211-1/+1
| | | | | | | * test/logger/test_logdevice.rb (test_shifting_dst_change): test only on platforms where timezone is supported. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* logger.rb: DSTnobu2014-02-213-11/+49
| | | | | | | * lib/logger.rb (next_rotate_time, previous_period_end): consider DST change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* logger.rb: fix midnight log rotation missnobu2014-02-213-7/+78
| | | | | | | | | | * lib/logger.rb (Logger::LogDevice#check_shift_log): compare the current time with the time for the next rotation to fix rotation miss when date changed between the comparison and log writing. based on the patch by megayu <yuhg2310 AT gmail.com>. [Fixes GH-539] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/logger: splitnobu2014-02-214-403/+411
| | | | | | * test/logger: split for each test cases. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* typo fixhsbt2014-02-211-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/monitor/test_monitor.rb: remove unused variabels.hsbt2014-02-215-5/+10
| | | | | | | | * test/resolv/test_dns.rb: ditto. * test/rexml/test_functions.rb: ditto. * test/rss/test_setup_maker_itunes.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* socket: sendmsg/recvmsg only retries blocking on errorsnormal2014-02-213-10/+37
| | | | | | | | * ext/socket/ancdata.c (bsock_sendmsg_internal): only retry on error (bsock_recvmsg_internal): ditto * test/socket/test_unix.rb: test above for infinite loop git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-02-21svn2014-02-201-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gc.c: RB_GC_GUARD should be robust enough for any compilernormal2014-02-203-4/+20
| | | | | | | | | | * include/ruby/ruby.h (RB_GC_GUARD): use rb_gc_guarded_ptr_val on non-GCC/MSC * gc.c (rb_gc_guarded_ptr_val): rename and adjust argument. RB_GC_GUARD should be robust enough for any compiler. [ruby-core:60816] [Bug #7805] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/raddrinfo.c (numeric_getaddrinfo): Use xcalloc.akr2014-02-202-4/+8
| | | | | | | | | Suggested by Eric Wong. https://bugs.ruby-lang.org/issues/9525#note-14 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_hash_flatten): fix behavior of flatten(0).glass2014-02-202-4/+11
| | | | | | | | | [ruby-dev:47988] [Bug #9533] * test/ruby/test_array.rb: test for above. patch is from Takeshi Sasaki. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-02-20svn2014-02-201-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_hash_flatten): fix behavior of flatten(-1).glass2014-02-203-6/+17
| | | | | | | | [ruby-dev:47988] [Bug #9533] * test/ruby/test_array.rb: test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket: Bypass getaddrinfo() if node and serv are numeric.akr2014-02-195-9/+146
| | | | | | | | | | | | | | | | | | | | | Reporeted by Naotoshi Seo. [ruby-core:60801] [Bug #9525] * ext/socket/extconf.rb: Detect struct sockaddr_in6.sin6_len. * ext/socket/sockport.h (SET_SIN6_LEN): New macro. (INIT_SOCKADDR_IN6): Ditto. * ext/socket/rubysocket.h (struct rb_addrinfo): Add allocated_by_malloc field. * ext/socket/raddrinfo.c (numeric_getaddrinfo): New function. (rb_getaddrinfo): Call numeric_getaddrinfo at first. (rb_freeaddrinfo): Free struct addrinfo properly when it is allocated by numeric_getaddrinfo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket: Wrap struct addrinfo by struct rb_addrinfo.akr2014-02-196-76/+104
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/ipsocket.c (ip_s_getaddress): Don't access freed memory.akr2014-02-192-2/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-02-19svn2014-02-191-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: it must see rb_cv_broken_memmem not rb_cv_func_memmem.naruse2014-02-192-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/socket/test_socket.rb: unix socket is required by test case.hsbt2014-02-182-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/socket/test_addrinfo.rb: remove unused variables.hsbt2014-02-189-31/+31
| | | | | | | | | | | | * test/socket/test_nonblock.rb: ditto. * test/socket/test_socket.rb: ditto. * test/socket/test_unix.rb: ditto. * test/testunit/test_parallel.rb: ditto. * test/webrick/test_filehandler.rb: ditto. * test/xmlrpc/test_features.rb: ditto. * test/zlib/test_zlib.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb: Requires minitest < 5.0.0 if Gem is available.sorah2014-02-182-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/test-unit.gemspec: Add minitest < 5.0.0 dependencysorah2014-02-183-0/+21
| | | | | | | | * tool/rbinstall.rb: Add empty implementations for `add_dependency`, `add_runtime_dependency`, `add_development_dependency` for Gem::Specification. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e