summaryrefslogtreecommitdiff
path: root/ChangeLog
AgeCommit message (Collapse)Author
2011-02-06* ext/json/lib/json/common.rb (JSON::MissingUnicodeSupport.iconv):nobu
should not drop rest of the result. use Iconv.conv instead. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-06Ensure result encoding is the same as input encoding for String#gsub. [Bug ↵drbrain
#4340]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-06* parse.y (words, qwords): dispatch array events. based on anobu
patch from Michael Edgar. [Bug #4365]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-06* test/fileutils/fileasserts.rb (FileAssertions): separate module.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-06* ext/dbm/dbm.c: parenthesize macro arguments.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-05* lib/test/unit/assertions.rb (Test::Unit::Assertions#assert):kosaki
revert r30796. r30797 and r30798 are an alternative fix. [ruby-dev:43174] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-05* parse.y (mlhs_basic): include mlhs_post for ripper. a patchnobu
from Michael Edgar at [ruby-core:35078]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-05* lib/test/unit/assertions.rb (assert_block): move fromnobu
test/fileutils/fileasserts.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-05* test/fileutils/fileasserts.rb (assert_block): pass argumentsnobu
as-is. [ruby-dev:43174] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-05 * lib/test/unit/assertions.rb (Test::Unit::Assertions#assert):kosaki
msg can be passed nil. [Bug #4371] [ruby-dev:43174] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-05Import RDoc 3.5.2drbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-05* ext/syck/rubyext.c (syck_node_init_copy): SyckNode is notnobu
copiable. [ruby-core:35094] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-05* ext/openssl/ossl_cipher.c (ossl_cipher_alloc): leave data ptrnobu
NULL. * ext/openssl/ossl_cipher.c (ossl_cipher_new, ossl_cipher_initialize): allocate internal structure. [ruby-core:35094] * ext/openssl/ossl_cipher.c (ossl_cipher_copy): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-05* ext/json/parser/parser.h (GET_PARSER): raise TypeError.nobu
* ext/json/parser/parser.rl (cParser_initialize): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-05* ext/json/parser/parser.h (GET_PARSER): check if initialized.nobu
[ruby-core:35079] * ext/json/parser/parser.rl (cParser_initialize): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-05* load.c (rb_get_expanded_load_path): always expand load paths.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-05* transcode.c (encoded_dup): extract.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-04* lib/fileutils.rb (FileUtils::LowMethods): make low level methodsnobu
in NoWrite and DryRun to do nothing. [ruby-dev:43129] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-04* test/fileutils/fileasserts.rb: add message arguments.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-04* test/fileutils/fileasserts.rb (Test::Unit::Assertions#assert_block):nobu
show the given message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-04* parse.y (lex_getline, parser_set_encode): set encoding of linesnobu
in SCRIPT_LINES__ as source encoding. [ruby-dev:43168] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-04* vm.c (ruby_thread_data_type): add prefix.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-04 * vm_core.h (GetThreadPtr): use TypedData_Get_Struct() insteadkosaki
CoreDataFromValue() because we need type check. Otherwise, type mismatch can cause segmentation fault crash. [ruby-core:35086] [Ruby 1.9-Bug#4367] * vm.c (thread_data_type): remove static. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-04* enc/trans/utf8_mac.trans: parenthesize macro arguments.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-04 * string.c (str_utf8_nth): fixed a conditon of optimized leadkosaki
byte counting. [Bug #4366][ruby-dev:43170] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-03 * string.c (count_utf8_lead_bytes_with_word): wrote functionkosaki
comments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-03* ext/zlib/zlib.c (gzfile_reader_get_unused): no need to dupnobu
before rb_str_resurrect. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-03fix a typo.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-03* ext/curses/curses.c (CHECK): unused macro removed.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-03e ext/zlib/zlib.c (gzfile_reader_get_unused): use rb_str_resurrectnaruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-03* ext/zlib/zlib.c (gzfile_reader_get_unused): use rb_str_new_sharednaruse
because gz->z.input is hidden string. [ruby-core:35057] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-03* enc/shift_jis.c (code_to_mbc): cast as int from the subtraction of pointers.naruse
* enc/utf_16le.c (utf16le_mbc_enc_len): use ptrdiff_t. * enc/utf_32be.c (utf32be_left_adjust_char_head): ditto. * enc/utf_32le.c (utf32le_left_adjust_char_head): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-03* include/ruby/missing.h: don't use HAVE_STDDEF_H because it nevernaruse
defined by configure though configure.bat defines it. * include/ruby/ruby.h: move include stddef.h to defines.h * include/ruby/defines.h: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-03* include/ruby/encoding.h (rb_enc_step_back): cast 4th argument 'n'naruse
as int because Ruby usually treats length value as long but onigenc_step_back's 4th argument is int. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-03fix typoskazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-02* ext/psych/lib/psych/visitors/to_ruby.rb: use Regexp::NOENCODINGtenderlove
rather than magic number. * ext/syck/lib/syck/rubytypes.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-02* re.c (Init_Regexp): added a constant for ARG_ENCODING_NONEtenderlove
[ruby-core:35054] * test/ruby/test_regexp.rb: corresponding test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-02* ext/psych/lib/psych/visitors/to_ruby.rb: ARG_ENCODING_NONE regulartenderlove
expressions can round trip. [ruby-core:34969] * test/psych/test_yaml.rb: test for ARG_ENCODING_NONE regex * ext/sych/lib/syck/rubytypes.rb: ARG_ENCODING_NONE regular expressions can round trip. * test/syck/test_yaml.rb: test for ARG_ENCODING_NONE regex git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-02 * io.c (rb_io_fdatasync): Use fsync(2) if if the underlyingkosaki
operating system does not support fdatasync(2). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-02Commit files I forgot to adddrbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-02Import RDoc 3.5.1drbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-01 * include/ruby/st.h (st_table): Added comment why we need __extension__.kosaki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-01* enc/encdb.c: parenthesize macro arguments.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-01* test/ruby/test_require.rb (TestRequire#test_require_with_unc):usa
use ``127.0.0.1'' instead of ``localhost'' as host name, because XP or earlier cannot resolv it as NBT hostname. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-01 * test/benchmark/test_benchmark.rb (#capture_bench_output):kosaki
Added explict sleep. Windows have imprecise time support. Thus Tms.new.Add!{} may be or may be not equal 0. The test failure started since r30747. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-01Import rubygems 1.5.0 (released version @ 1fb59d0)ryan
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-31* ext/io/console/console.c (console_set_winsize): new method to setnobu
console size. [EXPERIMENTAL] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-31* ext/io/console/console.c (console_winsize): use GetWriteFD.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-31 * include/ruby/win32.h, win32/win32.c: add rb_w32_inet_ntop.tarui
inet_ntop's minimum supported client is Vista. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-31* lib/benchmark.rb: fix benchmarck to work with current ruby.naruse
patched by Benoit Daloze [ruby-core:33846] [ruby-dev:43143] merged from https://github.com/eregon/ruby/commits/benchmark * lib/benchmark (Report#width): update documentation * lib/benchmark: document the return value of #benchmark and the :list attribute in Report * lib/benchmark (Tms#format): rename variables, use String#% instead of Kernel.format * lib/benchmark: remove undocumented Benchmark::times (an alias of Process::times used twice) * lib/benchmark (#benchmark): use label_width for the caption * lib/benchmark (Tms#initialize): rename variables * lib/benchmark: allow title to not be a String and call #to_s * lib/benchmark (Benchmark#bm): return an Array of the times with the labels * lib/benchmark: correct output for Benchmark#bmbm (remove the extra space) * lib/benchmark: add a few tests for Benchmark::Tms output * lib/benchmark: improve style (enumerators, ljust, unused vars) * lib/benchmark: add spec about output and return value * lib/benchmark: improve basic style and consistency no parenthesis for print and use interpolation instead of printf * lib/benchmark: remove unnecessary conversions and variables * lib/benchmark: correct indentation * lib/benchmark: rename the FMTSTR constant and variable to FORMAT * lib/benchmark: remove useless exception * test/benchmark: remove unused variable warnings git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e