summaryrefslogtreecommitdiff
path: root/ChangeLog
AgeCommit message (Collapse)Author
2012-01-09* ext/socket/lib/socket.rb (family_addrinfo): don't require protocolakr
equality. For example, protocol 0 and IPPROTO_TCP is not problem for TCP. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-09* ext/socket/lib/socket.rb (family_addrinfo): return the givenakr
addrinfo object. Patch by Ippei Obayashi. [ruby-dev:45095] [Bug #5845] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-09* test/zlib/test_zlib.rb (TestZlibGzipWriter#test_writer_wrap): setusa
binmode explicitly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-09* gc.c: free_slots is changed Singly linked list. clearnari
free_slots before sweep. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-08* gc.c: i686-linux needs to define _XOPEN_SOURCE 600 for posix_memalign.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-08* gc.c (rb_objspace_free): global_List is allocated with xmalloc.naruse
patched by Sokolov Yura. https://github.com/ruby/ruby/pull/78 * dln_find.c: remove useless replacement of free. * ext/readline/readline.c (readline_attempted_completion_function): strings for readline must allocated with malloc. * process.c (run_exec_dup2): use free; see also r20950. * re.c (onig_new_with_source): use malloc for oniguruma. * vm.c (ruby_vm_destruct): use free for VMs. * vm.c (thread_free): use free for threads. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-08* numeric.c (rb_enc_uint_char): raise RangeError when added codepointnaruse
is invalid. [Feature #5855] [Bug #5863] [Bug #5864] * string.c (rb_str_concat): ditto. * string.c (rb_str_concat): set encoding as ASCII-8BIT when the string is US-ASCII and the argument is an integer greater than 127. * regenc.c (onigenc_mb2_code_to_mbclen): rearrange error code. * enc/euc_jp.c (code_to_mbclen): ditto. * enc/shift_jis.c (code_to_mbclen): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-08* gc.c : consider header bytes which are used by malloc.nari
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-08* gc.c (aligned_free): support MinGW. Patch by Hiroshi Shirosaki.nari
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-08* gc.c (slot_sweep): add a assertion instead of a debug print.nari
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-07* test/-ext-/old_thread_select/test_old_thread_select.rb:ayumin
avoid platform bug. [Bug #5858] [ruby-dev:45108] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-07* gc.c: get rid of implicit narrowing conversion.kosaki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-07* configure.in: check posix_memalign(3) and menalign(3).naruse
* gc.c (aligned_malloc): use configure's result instead of _POSIX_C_SOURCE and _XOPEN_SOURCE because they can't be used to check availability at least on FreeBSD. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-07* gc.c: use Bitmap Marking algorithm to avoid copy-on-write ofnari
memory pages. See [ruby-dev:45085] [Feature #5839] [ruby-core:41916]. * include/ruby/ruby.h : FL_MARK rename to FL_RESERVED1. * node.h : ditto. * debug.c : ditto. * object.c (rb_obj_clone): FL_MARK move to a bitmap. * class.c (rb_singleton_class_clone): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-06* configure.in: always define CANONICALIZATION_FOR_MATHN.nagachika
[ruby-dev:45100] [Bug #5852] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-06* include/ruby/version.h: RUBY_API_VERSION 2.0.0ayumin
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-06* object.c (rb_inspect): raises Encoding::CompatibilityError if thenaruse
result is incompatible with the default external encoding. [ruby-core:41931] [Bug #5848] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-05* ChangeLog: fix a typo.nagachika
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-05* win32/win32.c (check_valid_dir): strict checking of root.usa
GetDriveType() succeeds with non root directory as the argument, even if MSDN says that the API needs the root directory. this patch fixes a failure of test/ruby/test_file_exhaustive.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-05* file.c (rb_file_join): separator is appended by array length - 1naruse
times. patched by Benoit Daloze [ruby-core:41901] [Bug #5841] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-05* lib/uri/common.rb (URI::Parser#initialize_regexp):naruse
use \A \z instead of ^ $. [Bug #5843] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-04replace zero to space.ayumin
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-04* array.c (rb_ary_sample): add examples for Array#sample.ayumin
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-04* string.c (str_nth_len): count ascii-only run at the end. thisnobu
bug appears only when single-byte-optimization is disabled due to unknown coderange. [ruby-core:41896] [Bug #5836] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-04* win32/win32.c (check_valid_dir): special case for a root directory.usa
Reported by Masateru OKAMOTO at [Bug #5819]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-03* lib/rexml/parsers/baseparser.rb: use private instead of _xxxkou
method name. This is Ruby code not Python code. refs #5696 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-03* lib/rexml/parsers/baseparser.rb: rexml BaseParser usesayumin
instance_eval unnecessarily on listener add. patch from Charles Nutter. [Bug #5696] [ruby-core:41437] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-03* README: add comment for Git user. patch from Arun Agrawal.ayumin
* README.ja: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-03* thread.c: changed documentation for "thread-local" variables.ayumin
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-03* process.c: Fix typo. patch from Aviv Ben-Yosef.ayumin
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-03* tool/merger.rb: allow r0123 style revision number.kosaki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-03* tool/merger.rb (#version_up): version.h date should be Japanesekosaki
locale date. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-02* tool/file2lastrev.rb (VCS::detect): Add support for Subversionknu
1.7 which adopted a whole new working directory structure. * tool/file2lastrev.rb (VCS::detect): Simply use .each instead of .sort.reverse_each which looks too arbitrary. If you want SVN to be tried first, then you just have to register it first as it is right now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-02* lib/securerandom.rb (random_bytes): use IO#read instead ofakr
IO#readpartial to make the intent more clear. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-02* test/ruby/test_object.rb (test_send_with_block): add a normal case.ktsj
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-02* test/ruby/test_object.rb (test_send_with_block): moved fromktsj
bootstraptest/test_flow.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-02* lib/test/unit/parallel.rb: use pack("m0") instead ofkazu
pack("m").gsub("\n",""). * lib/test/unit.rb (Test::Unit::Runner::Worker#run): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-02* lib/test/unit.rb (Test::Unit::Runner::Worker#run): usekazu
File.basename with suffix instead of gsub. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-02* lib/test/unit.rb (Test::Unit::Runner#_run_parallel): find maykazu
return nil and nil can not dup. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-01* lib/shellwords.rb (Shellwords#shellescape): Drop the //n flagknu
that only causes warnings with no real effect. [Bug #5637] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-31Fix typoayumin
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-30* thread.c (rb_barrier_waiting): save the number of waiting threadsnaruse
in RBASIC()->flags. [ruby-dev:45002] [Bug #5768] * thread.c (rb_barrier_wait): increment and decrement around rb_mutex_lock, and use rb_barrier_waiting(). * thread.c (rb_barrier_release): use rb_barrier_waiting(). * thread.c (rb_barrier_destroy): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-30* vm.c (vm_exec): add guard to prevent optimization for LLVM clang.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-30* vm_eval.c (rb_f_send): fix [Bug #5125] [ruby-core:38633]ayumin
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-29* lib/test/unit.rb (Test::Unit::Runner::Worker#_run_parallels): fixnagachika
premature exit when all workers' status are :ready or :prepare. [ruby-dev:45061] [Bug #5822] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-28* include/ruby/ruby.h: fix #error pragma. LLP64 platform is supported.nagachika
* include/ruby/st.h: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-28fix indentkazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-28* lib/fileutils.rb (FileUtils::Entry_#entries): use utility methodnobu
instead of typoed regexp. [ruby-core:41829] [Bug #5817] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-27* ChangeLog: fix some typos.nagachika
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-27* vm_insnhelper.c (unknown_keyword_error): add GC guard to preventnagachika
intermediate object from GC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e