aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * lib/uri/common.rb (URI::Parser#initialize_pattern):naruse2010-12-062-5/+11
| | | | | | workaround fix pattern of hostname for RFC 3986. [ruby-dev:42672] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-12-06svn2010-12-061-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (check_signedness): rename unused variable prelude.naruse2010-12-062-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c (make_metaclass): fix probable typo. builtin type flagnobu2010-12-052-1/+6
| | | | | | cannot be used with FL_TEST. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/init.rb (IRB.parse_opts): fix typo. [ruby-core:33574]nobu2010-12-053-1/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (load_file_internal): decrement for ungotten line.nobu2010-12-053-0/+12
| | | | | | [ruby-dev:42680] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-12-05svn2010-12-051-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c: parenthesize macro arguments.akr2010-12-052-10/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add documentation for OpenSSL::X509::Extension.newdrbrain2010-12-042-0/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_hash_update_by): new API for Hash#update.nobu2010-12-043-0/+43
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c: parenthesize macro arguments.akr2010-12-042-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_core.h (rb_vm_inc_const_missing_count): missing prototype.nobu2010-12-042-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/iconv/iconv.c (Init_iconv): no warnings if $VERBOSE is nil.nobu2010-12-032-1/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c (vm_call_method): revert r30064 and r30071,nobu2010-12-033-22/+9
| | | | | | because of [ruby-core:26761]. Bug#4106 rejected. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-12-04svn2010-12-031-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (String#tr_cpp): substitute * with P like asnobu2010-12-032-1/+6
| | | | | | autconf. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c (vm_call_method): protected methods should benobu2010-12-033-7/+8
| | | | | | checked against the real class. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (convertible_int): define printf format prefix too.nobu2010-12-033-9/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (convertible_int): detect convertible integer type.nobu2010-12-033-13/+98
| | | | | | port RUBY_REPLACE_INT from configure.in. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (check_sizeof): should return integer always.nobu2010-12-033-9/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: oops, typo.shyouhei2010-12-031-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (RCFLAGS): VC10 and after only. fixed the problemusa2010-12-032-1/+6
| | | | | | | of r30015. [ruby-core:33530] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (rb_objspace_free): With our "lazy-sweep" GC engine, it isshyouhei2010-12-033-3/+21
| | | | | | | | | | | | | | | possible for an object to survive until its surrounding object space is about to be freed. Those objects, if any, remains not leaked for the rest of a process life. This is problematic because for instance a T_DATA object may have its own destructor to terminate something. * vm.c (ruby_vm_destruct): ruby_current_vm termination should be somewhere after rb_objspace_free for above reason. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c (vm_call_method): protected singleton methods shouldnobu2010-12-033-1/+28
| | | | | | be visible from same real class methods. [ruby-core:33506] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (strio_getline): round upto next charnobu2010-12-023-1/+12
| | | | | | boundary. [ruby-dev:42674] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c: parenthesize macro arguments.akr2010-12-022-51/+55
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (ruby_cleanup): fix type.nobu2010-12-021-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (enc_alias_internal): use st_insert2 and change returnnaruse2010-12-022-9/+12
| | | | | | | | value to int. * encoding.c (enc_alias): follow enc_alias_internal. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert "* re.c (rb_reg_initialize): don't set US-ASCII to regexp"naruse2010-12-022-6/+3
| | | | | | This reverts commit r30058. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_initialize): don't set US-ASCII to regexpnaruse2010-12-022-3/+6
| | | | | | | when parser make initially compile a regexp. Usually regexp are used for the same of its script encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-12-03svn2010-12-021-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (enc_alias_internal): use xfree instead of free.naruse2010-12-022-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: entry for ruby_vm_at_exit().shyouhei2010-12-023-7/+17
| | | | | | | | * eval.c (ruby_cleanup): bug fix around at_exit (1) timing was wrong. (2) execution order was opposite. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (RCFLAGS): -nologo switch is only available inusa2010-12-022-1/+11
| | | | | | | newer versions of rc.exe. fixed the problem of r30012. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/json/lib/json/add/rails.rb: removed.naruse2010-12-023-210/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (enc_alias_internal): free the copied key andnaruse2010-12-022-4/+19
| | | | | | | | | return NULL when given key is already regisitered. * encoding.c (enc_alias): call set_encoding_const only when the alias is not registered yet. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (ruby_vm_at_exit): new API. This enables extension libs toshyouhei2010-12-025-0/+65
| | | | | | | | | | | | | | | | | | | | | | | hook a VM termination. Right now, because the VM we have is process global, most extensions do not deallocate resources and leave them to Operating System's reaping userland processes. But in a future we plan to have multiple VMs to run simultaneously in a single process (MVM project). At that stage we can no longer rely on OSes and have to manage every resources to be reclaimed properly. So it is. For a forward-compatibility reason this API is introduced now, encouraging you to be as gentle as you can for your resources; that is, tidy up your room. * include/ruby/vm.h: ditto. * vm_core.h (rb_vm_struct): new field. * vm.c (vm_init2): initialize above new field. * eval.c (ruby_cleanup): trigger those hooks. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c: parenthesize macro arguments.akr2010-12-022-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: typo.usa2010-12-021-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w43_read): more fix. [ruby-core:33513]usa2010-12-022-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_read): rollback debug code of previous commit.usa2010-12-021-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_read): workaround for console reading troubles.usa2010-12-022-3/+12
| | | | | | | fixed [ruby-core:33511] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Setup Symbol#to_json to avoid conflict.naruse2010-12-021-0/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/common.rb (URI.encode_www_form):naruse2010-12-022-3/+26
| | | | | | split key-value when the value is Array like object. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (Net::HTTP#set_form_data):naruse2010-12-022-11/+8
| | | | | | use URI.encode_www_form for application/x-www-form-urlencoded. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb: remove $makeflags.defined?, it should be $mflags.naruse2010-12-022-6/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (rc): suppress meaningless message.usa2010-12-022-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/json/generator/extconf.rb: remove the lines which set -O3naruse2010-12-023-20/+8
| | | | | | | | | when -O option is not set. Note that -O3 doesn't always exist. * ext/json/parser/extconf.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb: define $makeflags.defined? like $mflags.naruse2010-12-022-0/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (Test::Unit::GCStressOption): --gc-stressnobu2010-12-012-1/+31
| | | | | | option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e