aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * lib/matrix.rb: Clean up extra whitespace in output documentation.drbrain2012-01-262-93/+97
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-01-26svn2012-01-251-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/io/console/console.c (io_getch): default delegating methodnobu2012-01-254-19/+53
| | | | | | | | for StringIO. https://github.com/nobu/io-console/issues/4 * ext/stringio/stringio.c: moved some methods to hidden modules. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_file_s_basename): ignore non-ascii extension innobu2012-01-253-8/+11
| | | | | | | different encoding, which cannot match. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rmext): no extension to strip if empty string.nobu2012-01-252-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-01-25svn2012-01-251-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_enc_path_next, rb_enc_path_skip_prefix)nobu2012-01-258-179/+334
| | | | | | | | | | | | | | | (rb_enc_path_last_separator, rb_enc_path_end) (ruby_enc_find_basename, ruby_enc_find_extname): encoding-aware path handling functions. * file.c (rb_home_dir, file_expand_path, rb_realpath_internal) (rb_file_s_basename, rb_file_dirname, rb_file_s_extname) (rb_file_join): should respect the encodings of arguments than file system encoding. [ruby-dev:45145] [Bug #5919] * dir.c (check_dirname, ruby_glob0): ditto. * ext/pathname/pathname.c (path_sub_ext): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_Hash): fix mixed declaration and code.nobu2012-01-241-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.EXT, README.EXT.ja: rb_iter_break() and rb_iter_break_value().nobu2012-01-242-0/+21
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (rb_iter_break_value): new function to break a block withnobu2012-01-247-4/+43
| | | | | | the value. [ruby-dev:45132] [Feature #5895] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_Hash): trivial optimization.nobu2012-01-242-5/+5
| | | | | | | * test/ruby/test_object.rb (TestObject#test_convert_hash): fix arguments order. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_Hash): add Kernel#Hash conversion method likematz2012-01-244-0/+53
| | | | | | Array() or Float(). a patch from Run Paint Run Run. Fix #3131 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Additional test for r34358.naruse2012-01-241-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-01-24svn2012-01-241-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/common.rb (URI.encode_www_form_component): initialize onnaruse2012-01-242-28/+23
| | | | | | | | | requiring to support JRuby, which runs parallel multithreads. [ruby-core:42222] [Bug #5925] * lib/uri/common.rb (URI.decode_www_form_component): initialize on git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ChangeLog added.shyouhei2012-01-231-0/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Writing entire packet at once to avoid incomplete transmissionshyouhei2012-01-231-5/+5
| | | | | | Signed-off-by: URABE, Shyouhei <shyouhei@ruby-lang.org> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/mailto.rb (URI::MailTo.build): follow Array#to_s change ofnaruse2012-01-233-1/+16
| | | | | | Ruby 1.9; use Array#join. [Bug #5840] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (extract_binmode): raise an exception if binmode/textmodenaruse2012-01-233-4/+43
| | | | | | | is specified with both vmode and opthash. [ruby-core:42199] [Bug #5918] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_extract_modeenc): set ASCII-8BIT if binmode is specifiednaruse2012-01-233-1/+14
| | | | | | with opthash. [ruby-core:42197] [Bug #5917] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/cgi/test_cgi_util.rb (test_cgi_escape_preserve_encoding):mrkn2012-01-232-0/+20
| | | | | | | | | add a test for CGI::escape to preserve encoding. * test/cgi/test_cgi_util.rb (test_cgi_unescape_preserve_encoding): add a test for CGI::unescape to preserve encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-01-23svn2012-01-221-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/rdoc-mode.el (rdoc-imenu-create-index): Add imenu supportknu2012-01-222-11/+64
| | | | | | | | | | | to rdoc-mode. * misc/rdoc-mode.el (rdoc-mode): Fix regexp patterns containing "\s " where CR/LF is not supposed to match. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (rb_intern3): split to registration check and newnobu2012-01-222-15/+46
| | | | | | | | | registration. * parse.y (rb_intern_str): make interned string shared with the given string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-01-22svn2012-01-221-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (rb_intern3, rb_intern_str): check the coderange first.nobu2012-01-222-22/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (FIXNUM_P): simple flag should be int.nobu2012-01-212-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_compatible): fix segv on symbols.naruse2012-01-213-8/+25
| | | | | | [ruby-core:42204] [Bug #5921] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-01-21svn2012-01-211-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (dir_chdir, check_dirname): get rid of optimization-out.nobu2012-01-212-10/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: insert redmine's issue number for the previous commitmrkn2012-01-201-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/util.rb (CGI.escape): support a string with invalid bytemrkn2012-01-203-2/+18
| | | | | | | | | | sequence. * test/cgi/test_cgi_util.rb (test_cgi_escape_with_invalid_byte_sequence): test for the above change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (vm_exec): remove workaround for LLVM because r34278 fixes it.naruse2012-01-203-7/+6
| | | | | | * vm_insnhelper.c (vm_call_cfunc): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_rubyoptions.rb (TestRubyOptions#test_set_program_name): ↵nobu2012-01-201-1/+1
| | | | | | enabled the test too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-01-20svn2012-01-201-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (Net::HTTP#transport_request): retry a idempotentnaruse2012-01-204-2/+90
| | | | | | | | | | | | | | | request automatically. [ruby-dev:45030] [Bug #5790] [ruby-core:41821] [Bug #5813] * lib/net/http.rb (Net::HTTP#keep_alive_timeout=): added to specify the second to reconnect the TCP connection on Keep-Alive. The default value is 2 second because current servers uses 2 sec. http://ftp-admin.blogspot.com/2009/09/keepalivetimeout2.html * lib/net/http.rb (Net::HTTP#begin_transport): reconnect TCP connection on keep-alive timeout. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_file_exhaustive.rb (test_expand_path): fix commit miss, ↵nobu2012-01-191-1/+1
| | | | | | removed surplus downcase. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_file_exhaustive.rb (test_expand_path): ignore case of paths ↵nobu2012-01-191-5/+6
| | | | | | on DOSISH platforms. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_file_exhaustive.rb (test_expand_path): add tests for ↵nobu2012-01-191-0/+8
| | | | | | absolute paths and drive letters. [ruby-core:42177] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/date/date_strptime.c: moved detector of leftover.tadf2012-01-182-11/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-01-19svn2012-01-181-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/date/date_parse.c: [ruby-core:42173].tadf2012-01-184-14/+80
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: fix typos.nagachika2012-01-181-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/rdoc-mode.el (rdoc-mode): Add provide so that requiringknu2012-01-182-0/+7
| | | | | | | | this library succeeds. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/curses/curses.c (cWindow, cMouseEvent): made typed data.nobu2012-01-182-21/+52
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Suppress warnings.naruse2012-01-181-7/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/lib/psych/visitors/to_ruby.rb: Added support for loadingtenderlove2012-01-184-4/+55
| | | | | | | | | subclasses of String with ivars * ext/psych/lib/psych/visitors/yaml_tree.rb: Added support for dumping subclasses of String with ivars * test/psych/test_string.rb: corresponding tests git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-01-18svn2012-01-181-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/lib/psych/visitors/to_ruby.rb: Added ability to load arraytenderlove2012-01-184-3/+92
| | | | | | | | | subclasses with ivars. * ext/psych/lib/psych/visitors/yaml_tree.rb: Added ability to dump array subclasses with ivars. * test/psych/test_array.rb: corresponding tests git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (SPT_TYPE): enable as SPT_REUSEARGV on Darwin.nobu2012-01-172-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e