aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * missing/setproctitle.c (ruby_init_setproctitle): changed prefix.nobu2012-01-173-2/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * confiugre.in (setproctitle): removed dupcated checks.nobu2012-01-171-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (aligned_malloc, aligned_free): covered missing definednobu2012-01-172-4/+9
| | | | | | | operators and fixes for cygwin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * st.c (add_packed_direct): ditto.nobu2012-01-171-2/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * st.c (do_hash): it's the time to remove cast to unsigned int.nobu2012-01-172-5/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-01-17svn2012-01-161-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * st.c (unpack_entries): Fix r34310: on unpacking, the position ofnaruse2012-01-162-2/+10
| | | | | | | | a hash must be do_hash-ed value. * st.c (add_packed_direct): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (Regexp): fix incorrect options when casting tonobu2012-01-166-1/+32
| | | | | | | | a Regexp, and suppress encoding option warnings. https://github.com/ruby/ruby/pull/82 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_chsize): no need to get the current file size.nobu2012-01-162-6/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* st optimize st_insertshyouhei2012-01-152-10/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* st refactor add_packed_direct a bitshyouhei2012-01-151-13/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* st macroses for allocationshyouhei2012-01-151-23/+33
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-01-16svn2012-01-151-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* st macroses for packed tableshyouhei2012-01-151-43/+49
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* st use function instead of macroshyouhei2012-01-151-159/+161
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_inspect): raise the result is not compatible withnaruse2012-01-153-3/+53
| | | | | | | | | | the default external encoding. [ruby-core:42095] [Bug #5848] If the default external encoding is ASCII compatible, the encoding of inspected result must be compatible with it. If the default external encoding is ASCII incomapatible, the result must be ASCII only. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-01-15svn2012-01-151-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/json/parser/parser.rl (json_string_unescape): workaround fixnaruse2012-01-153-2/+8
| | | | | | | for over optimization of GCC 4.7. [ruby-core:42085] [Bug #5888] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51862 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/callback/mkcallback.rb (gencallback): suppress unusednobu2012-01-142-5/+14
| | | | | | | variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_set_sequence): adjust indent.nobu2012-01-141-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c (iseq_data_to_ary): check line info table boundary. linenobu2012-01-143-2/+20
| | | | | | | | number 0 means no line number info is needed. [ruby-dev:45130] [Bug #5894] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.EXT, README.EXT.ja (rb_protect): add a note when ignoring the ↵nobu2012-01-142-0/+4
| | | | | | caught exception. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (exc_equal): clear rb_thread_t::errinfo when ignorenagachika2012-01-143-1/+28
| | | | | | 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
* * sprintf.c (rb_enc_vsprintf): relaxed the restriction. since thenobu2012-01-142-2/+9
| | | | | | | | 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
* * error.c (exc_equal): ignore exceptions during implicitnobu2012-01-143-0/+28
| | | | | | conversion. [ruby-core:41979] [Bug #5865] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert "* error.c (exc_equal): try implicit conversion for delegator."naruse2012-01-133-16/+1
| | | | | | | | | 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-14svn2012-01-131-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_s_read): Fix formatting of open_args comment. Reporteddrbrain2012-01-132-12/+21
| | | | | | | by Adam Prescott. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_enc_vsprintf): can be used for ASCII compatiblenobu2012-01-132-1/+12
| | | | | | | encodings only. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_mutex_unlock_th): simplified.nobu2012-01-132-16/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_barrier_waiting): fix potential overflows.nobu2012-01-132-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * load.c (load_unlock): update loading table at once.nobu2012-01-132-9/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (exc_equal): try implicit conversion for delegator.nobu2012-01-133-1/+16
| | | | | | | [ruby-core:41979] [Bug #5865] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Forgot to commit the test part.knu2012-01-131-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/shellwords.rb (Shellwords#shellescape): shellescape() nowknu2012-01-123-2/+24
| | | | | | | | | | 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
* * lib/shellwords.rb: Fix rdoc markups.knu2012-01-122-17/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/shellwords.rb (Shellwords#shellsplit): Fix a bug whereknu2012-01-123-1/+16
| | | | | | | 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
* Do not define _WIN32_WINNT multiple timesluislavena2012-01-122-1/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-01-13svn2012-01-121-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c: Improve rdoc for Module.constants [issue #5887]marcandre2012-01-121-5/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb: fix r33904 and revert r33905. initialize globalnobu2012-01-122-76/+72
| | | | | | | | 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
* * cont.c (cont_restore_0): prevent optimizing out `sp'. sp is used fornaruse2012-01-122-5/+14
| | | | | | | | | | | 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
* * object.c: Added examples for Object#is_a? and Object#instance_of?ayumin2012-01-112-4/+21
| | | | | | 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
* * lib/mkmf.rb: verbose-mode can use by RM, RMDIRS, etc.kazu2012-01-112-13/+18
| | | | | | (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-12svn2012-01-111-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_concat): set array element after definitionngoto2012-01-112-1/+8
| | | | | | | | 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
* * gc.c (ruby_mimmalloc): don't set allocated size to header.nagachika2012-01-112-3/+15
| | | | | | | | | | 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
* * test/readline/test_readline.rb (test_completion_proc_empty_result):nagachika2012-01-112-3/+16
| | | | | | 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-11svn2012-01-111-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typokazu2012-01-111-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e