summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-01-10* gc.c (ruby_mimmalloc): defined for objects need not rb_objspace,naruse
but should return pointer suitable for ruby_xfree; main vm and main thread. patched by Sokolov Yura. https://github.com/ruby/ruby/pull/79 * internal.h: ditto. * vm.c (Init_BareVM): use ruby_mimmalloc. * ext/dl/cfunc.c: #include <ruby/util.h>. * ext/syslog/syslog.c: use xfree because it is allocated by ruby_strdup. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-10* ext/readline/readline.c (readline_attempted_completion_function): fix ↵kazu
compile error. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-10* test/readline/test_readline.rb (test_completion_proc_empty_result): rescue ↵nobu
NoMemoryError. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-10* ext/readline/readline.c (readline_attempted_completion_function):nobu
empty completion result does not mean memory error. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-09* test/ruby/test_io.rb (test_autoclose_true_closed_by_finalizer,nagachika
test_autoclose_true_closed_by_finalizer): skip if IO objects are not recycled yet. [ruby-dev:45098] [Bug #5850] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-09* lib/tempfile.rb (Tempfile#_close): clear @tempfile and @data[1] evennagachika
when an exception is raised at @tempfile.close. [ruby-dev:45113] * lib/tempfile.rb (Tempfile#unlink): fix a typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-09* 2012-01-10svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-09* gc.c (run_finalizer): clear rb_thread_t::errinfo when ignorenagachika
an exception under rb_protect(). [ruby-dev:45113] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-09* ChangeLog: fix a typo.nagachika
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-09* ext/readline/readline.c (readline_attempted_completion_function):nagachika
fix typos. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-09* gc.c : don't embed struct heaps_slot to a heap block because itnari
can causes copy-on-write of memory page on heap block when its free_next is rewirted. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-09* ext/pathname/pathname.c (path_entries): add document suggested byakr
the thread [ruby-core:41959] [Bug #5859]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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-09update doc.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-09update doc.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34240 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* 2012-01-09svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34237 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-07Cent OS 5.6 (2.6.18-238.19.1.el5xen) doesn't correctly worknaruse
sendmsg with pktinfo for link-local ipv6 addresses git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34232 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-07Fix typo of rdoc of Object#inspect.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-07Add test for word boundary.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-07* 2012-01-08svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34227 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* 2012-01-07svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34222 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* 2012-01-06svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34219 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-05* 2012-01-05svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-05Fix typoayumin
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34212 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* 2012-01-04svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e