summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-01-14* README.EXT, README.EXT.ja (rb_protect): add a note when ignoring the ↵nobu
caught exception. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-14* error.c (exc_equal): clear rb_thread_t::errinfo when ignorenagachika
an exception under rb_protect(). [ruby-core:41979] [Bug #5865] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-14* sprintf.c (rb_enc_vsprintf): relaxed the restriction. since thenobu
implementation deeply depends on plain char, so wchar_t based encodings are not supported. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-14* error.c (exc_equal): ignore exceptions during implicitnobu
conversion. [ruby-core:41979] [Bug #5865] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-13Revert "* error.c (exc_equal): try implicit conversion for delegator."naruse
This reverts commit r34291 because it breaks objects whose "exception" method doesn't allow no argument like XMLRPC::FaultException class. To reproduce: `RuntimeError.new == XMLRPC::FaultException`. [ruby-core:41979] [Bug #5865] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-13* 2012-01-14svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-13* io.c (rb_io_s_read): Fix formatting of open_args comment. Reporteddrbrain
by Adam Prescott. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-13* sprintf.c (rb_enc_vsprintf): can be used for ASCII compatiblenobu
encodings only. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-13* thread.c (rb_mutex_unlock_th): simplified.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-13* thread.c (rb_barrier_waiting): fix potential overflows.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-13* load.c (load_unlock): update loading table at once.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-13* error.c (exc_equal): try implicit conversion for delegator.nobu
[ruby-core:41979] [Bug #5865] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-13Forgot to commit the test part.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-12* lib/shellwords.rb (Shellwords#shellescape): shellescape() nowknu
stringifies the given object using to_s. * lib/shellwords.rb (Shellwords#shelljoin): shelljoin() accepts non-string objects in the given array, each of which is stringified using to_s. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-12* lib/shellwords.rb: Fix rdoc markups.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-12* lib/shellwords.rb (Shellwords#shellsplit): Fix a bug whereknu
consecutive backslashes in double quotes are all removed except the one at the tail. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-12Do not define _WIN32_WINNT multiple timesluislavena
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-12* 2012-01-13svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-12* eval.c: Improve rdoc for Module.constants [issue #5887]marcandre
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-12* lib/mkmf.rb: fix r33904 and revert r33905. initialize globalnobu
variables with init_mkmf before initializing constants. [ruby-dev:45124] [Bug #5879] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-12* cont.c (cont_restore_0): prevent optimizing out `sp'. sp is used fornaruse
reserving a memory space with ALLOCA_N for restoring machine stack stored in cont->machine_stack, but clang optimized out it (and maybe #5851 is also caused by this). This affected TestContinuation#test_check_localvars. * cont.c (cont_restore_1): revert workaround introduced in r32201. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-11* object.c: Added examples for Object#is_a? and Object#instance_of?ayumin
patcheed from Manoj Kumar. [Bug #5880] [ruby-core:42057] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-11* lib/mkmf.rb: verbose-mode can use by RM, RMDIRS, etc.kazu
(e.g. make V=1 realclean) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-11* 2012-01-12svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-11* string.c (rb_str_concat): set array element after definitionngoto
to fix compile error with Fujitsu C Compiler 5.6 on Solaris 10 on Sparc. [Bug #5878] [ruby-dev:45123] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-11* gc.c (ruby_mimmalloc): don't set allocated size to header.nagachika
ruby_mimmalloc() doesn't increment allocated_size/allocations and decrement them in ruby_xfree() cause inconsistency. * gc.c (ruby_xfree): don't decrement allocated_size/allocations if allocated size record is 0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-11* test/readline/test_readline.rb (test_completion_proc_empty_result):nagachika
ensure clearance of Readline's line_buffer after the test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-11* 2012-01-11svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-11fix a typokazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-10* ext/dbm/dbm.c (Init_dbm): fix a build error on mswin32.shirosaki
use `extern __declspec(dllimport)` for dll link with VC. [ruby-core:41996] [Bug #5869] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-10* test/ruby/test_enumerator.rb (test_nested_iteration): fix typo.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-10* gc.c (HEAP_OBJ_LIMIT): suppress narrowing down warning from gcc 4.2.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-10* vm.c (vm_exec): refix r34162; suppress warning and add description.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-10* ext/readline/readline.c (readline_attempted_completion_function):naruse
use rb_memerror(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-10* gc.c: in fact, i686-linux doesn't need to define _XOPEN_SOURCE 600.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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