aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * lib/rexml/source.rb: force_encoding("UTF-8") when the inputnaruse2010-04-143-14/+44
| | | | | | is already UTF-8. patched by Kouhei Sutou [ruby-core:23404] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (signbit): signbit is a macro in C99.mrkn2010-04-142-1/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_shift_cbuf): should terminate.nobu2010-04-142-4/+6
| | | | | | | http://golf.shinh.org/p.rb?DECimal+number+to+BINary#Ruby git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (GET_STACK_BOUNDS): fixed macro argument names. a patch fromnobu2010-04-144-4/+14
| | | | | | | | | | | | Satoshi Shiba <shiba AT rvm.jp> at [ruby-dev:40973]. * gc.h (ruby_get_stack_grow_direction): fixed prototype. * thread_pthread.c (get_stack, ruby_stack_overflowed_p): both side should be same type. [Bug #3145] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_string_value_cstr): make NUL terminated if it isnobu2010-04-142-1/+8
| | | | | | | not done. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap (encode_utf7): encode & properly. Thanks, Kengoshugo2010-04-143-1/+10
| | | | | | Matsuyama. [ruby-dev:38063] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/lib/syck/basenode.rb (Syck::BaseNode#match_path): fixednobu2010-04-142-2/+5
| | | | | | | library name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/lib/yaml/syck.rb: split from ext/syck/lib/syck.rb fornobu2010-04-143-94/+104
| | | | | | | backward compatibility. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-04-14svn2010-04-141-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-utf8/nkf.c: Refix [nkf-bug:21393]. (explicit -X)naruse2010-04-142-11/+21
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-utf8/nkf.c: Fix: Windows Codepages wrongly convertnaruse2010-04-132-7/+12
| | | | | | Halfwidth Katakana. [nkf-bug:21393] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (make_seed_value): fix leading-zero-guard condition onnobu2010-04-132-2/+14
| | | | | | bdigit is smaller than 32bit. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/completion.rb (CompletionProc): fix [ruby-dev:40953]keiju2010-04-132-3/+8
| | | | | | | | [Bug #3126]. Thanks Kazuhiro NISHIYAMA. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (transcode_loop): insert output the value whennaruse2010-04-133-3/+57
| | | | | | | | | | fallback hash has a related key. [ruby-dev:40540] [ruby-dev:40829] #3036 * transcode.c (rb_econv_prepare_opts): pass to newhash a value with the key :fallback. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test.akr2010-04-121-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-04-13svn2010-04-121-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (rand_init): use the absolute value of seed toakr2010-04-122-0/+8
| | | | | | | | make srand(-2**40) portable with 32bit and 64bit. [ruby-core:29292](2) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (inspect_enumerator): don't raise for uninitializedakr2010-04-122-2/+15
| | | | | | | enumerator. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * LEGAL: separated the section for parse.c. contributed by Paulnobu2010-04-122-1/+42
| | | | | | | Betteridge in [ruby-core:29472]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (fu_each_src_dest): ensure src is accessible.nobu2010-04-122-18/+11
| | | | | | | | | | * lib/fileutils.rb (fu_same): use File.identical? to get rid of exceptions. [ruby-core:28141] * lib/fileutils.rb (fu_have_st_ino): no longer used. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (fu_have_st_ino): check if required method isnobu2010-04-122-1/+6
| | | | | | | defined, instead of platform name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb: New method Matrix.build [ruby-core:28272]marcandre2010-04-112-1/+51
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/lib/psych/deprecated.rb: requiring 'date' for backwardstenderlove2010-04-111-0/+2
| | | | | | compatibility. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb: Deprecate Vector#elements_to{i/f/r}marcandre2010-04-113-27/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb: Deprecate elements_to_{f/i/r}marcandre2010-04-112-3/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb: Handle coercion errors by raising TypeErrors [ruby-core:26736]marcandre2010-04-112-27/+36
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: Add {Hash,ENV}#{keep_if,select!}marcandre2010-04-111-0/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-04-12svn2010-04-111-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_getline_fast, rb_io_getline_1): fix ARGF.lineno behavior. ↵kazu2010-04-113-4/+32
| | | | | | | | [ruby-core:25205] * test/ruby/test_argf.rb (TestArgf#test_lineno3): add a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: can not load libraries if --with-opt-dir is usedkanemoto2010-04-112-1/+6
| | | | | | | on AIX. [Bug #3107] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update doc.akr2010-04-111-6/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/ruby-lex.rb (RubyLex#getc): revert r10817, which causedmame2010-04-112-1/+6
| | | | | | | regression for handling case when there is no newline at the end of file. [ruby-core:28248] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_encoding.rb (TestEncoding#test_replicate): morenobu2010-04-111-1/+3
| | | | | | test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (enc_replicate): new encoding name must be validnobu2010-04-113-1/+7
| | | | | | | c-string. [ruby-dev:40954] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/win32.h (ftruncate): rename to get rid of conflictnobu2010-04-112-0/+6
| | | | | | | with same name but non-LFS function on MinGW. [ruby-core:24757] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix rdockazu2010-04-111-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/syck/test_struct.rb: modified to use only syck engine since thetenderlove2010-04-113-2/+20
| | | | | | | | | YAML is invalid. * test/syck/test_yaml.rb: ditto * test/syck/test_yamlstore.rb: modifications for multi-engine environment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to RDoc 2.5.3drbrain2010-04-115-32/+134
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/lib/syck/dbm.rb: moved to lib/yaml/dbm.rb since it is nottenderlove2010-04-113-12/+12
| | | | | | | | YAML engine specific * ext/syck/lib/syck/store.rb: moved to lib/yaml/store.rb since it is not YAML engine specific. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rubygems/gemutilities.rb: removing gem requirement on minitest.tenderlove2010-04-111-7/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/syck/*: Moved test/yaml to test/syck since it's actuallytenderlove2010-04-1117-86/+95
| | | | | | testing the syck YAML engine. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Ignore mkmf.log for psych and tmpdirdrbrain2010-04-110-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/rdoc.rb (setup_output_dir): compare by Time#to_i.naruse2010-04-112-2/+9
| | | | | | | | Cached created time doesn't have fractinal times, but FileStat#mtime has; so rdoc almost alway judged files are updated. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/parser.c: Fixing a segv in test-all. Thanks Yusuke!tenderlove2010-04-101-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/rdoc.rb (setup_output_dir): fix typo.naruse2010-04-102-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix :nodoc: definition. [ruby-dev:40949]naruse2010-04-102-6/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-04-11svn2010-04-101-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/common.rb (decode_www_form_component): validate.naruse2010-04-103-11/+18
| | | | | | | | | | [ruby-dev:40938] * lib/uri/common.rb (decode_www_form): allow empty string. * lib/uri/common.rb: fix nodoc for constant. [ruby-dev:40949] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/markup/preprocess.rb (RDoc::Markup::PreProcess#handle):naruse2010-04-102-1/+6
| | | | | | use File.binread to avoid locale dependency. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc: Import RDoc 2.5.2drbrain2010-04-1033-162/+395
| | | | | | | | | | * lib/rdoc/parser/ruby.rb (RDoc::Parser::Ruby): Don't parse rdoc files, reverts r24976 in favor of include directive support in C parser. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e