aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * iseq.c (compile_string): rename to parse_string(), becauseko12009-09-252-2/+7
| | | | | | | | this function only parse String to NODE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-09-26svn2009-09-251-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2009-09-251-15/+18
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c, include/ruby/win32.h (rb_w32_access): new function tousa2009-09-254-3/+24
| | | | | | | | | | | replace MSVCRT's access(). [ruby-core:25761] * file.c (eaccess): workaround for recent MSVCRT is no longer needed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (missing_wrap): reverted.nobu2009-09-253-5/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (missing_wrap): new_arg is already given if argc > 1.nobu2009-09-252-4/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (mnew): fix for instance method of Module, BasicObjectnobu2009-09-253-3/+21
| | | | | | | | | and subclass of a class which overrides respond_to_missing?. based on a patch from Nikolai Lugovoi <nlugovoi AT gmail.com> in [ruby-core:25748]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_method.c (check_definition): fixed typo.nobu2009-09-251-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_method.c (obj_respond_to_missing): added rdoc.nobu2009-09-251-0/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_method.c (rb_mod_method_defined): should return true or false.nobu2009-09-252-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_method.c (rb_mod_method_defined): should return true or false.nobu2009-09-252-3/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fixed heredoc to play with emacs better. Added :startdoc: to fix broken rdoc ↵ryan2009-09-241-2/+3
| | | | | | processing git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (Method#== doc): Fix doc, cf [ruby-core:24791]marcandre2009-09-241-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (Hash#each): Fix documentation to reflect insertion order. A patch ↵marcandre2009-09-241-3/+2
| | | | | | by Run Paint Run Run [ruby-core:23644] and [ruby-core:21231] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-09-25svn2009-09-241-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (doc): doc fix, patch by Run Paint Run Run [ruby-core:23644]marcandre2009-09-241-6/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2009-09-241-18/+48
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (mnew): generate method object that wraps method_missing,matz2009-09-243-0/+62
| | | | | | | | | when #respond_to_missing? is defined. * test/ruby/test_object.rb (test_respond_to_missing): add test suites for #respond_to_missing? changes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mathn.rb (Bignum#**): Fixed bignum**fixnum that was broken when ↵marcandre2009-09-243-4/+10
| | | | | | | | requiring lib/mathn [ruby-core:25740] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * load.c (Kernel#autoload?, Module#autoload?): added doc [ruby-core:19983]marcandre2009-09-231-2/+18
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/lib/bigdecimal/math.rb (atan): atan(Infinity) isnobu2009-09-233-15/+13
| | | | | | | PI/2. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/lib/bigdecimal/math.rb (atan): reduce loop withnobu2009-09-232-1/+11
| | | | | | | | the formula of the double corner. based on a patch from Masahiro Kanai (CanI) in [ruby-dev:39367]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c (aix_loaderror): fixed typo. suppress warnings.kanemoto2009-09-232-3/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-09-24svn2009-09-231-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (enum_minmax): reduce comparison.akr2009-09-232-36/+140
| | | | | | | (enum_minmax_by): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/thread.rb (ConditionVariable#wait): add timeout argument.akr2009-09-233-2/+14
| | | | | | | [ruby-talk:346154] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/lib/bigdecimal/math.rb (atan): refined.nobu2009-09-232-0/+15
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* cosmetic change.akr2009-09-231-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* describe Enumerable#chunk and Enumerable#slice_before.akr2009-09-231-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_method.c (basic_obj_respond_to): new function to fundamentalmatz2009-09-232-10/+36
| | | | | | | | | | behavior for #respond_to? * vm_method.c (basic_obj_respond_to): calls #respond_to_missing method if overridden, to check responsiveness of methods implemented by #method_missing. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (assign_in_cond): also should warn assignment to dvar innobu2009-09-233-2/+28
| | | | | | | conditional. [ruby-dev:39363] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c: fixed type.nobu2009-09-231-7/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c: fixed type.nobu2009-09-231-51/+52
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_upto): keep first width. [ruby-dev:39361]nobu2009-09-234-4/+28
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * range.c: fixed type.nobu2009-09-231-9/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/instruction.rb (make_header_prepare_stack): check stacknobu2009-09-233-4/+35
| | | | | | | | | | overflow. [ruby-core:25714] * tool/instruction.rb (make_footer_stack_val): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (umethod_bind, rb_mod_define_method): Fix bug that disallowed ↵marcandre2009-09-222-4/+13
| | | | | | methods from singleton classes to be used for UnboundMethod#bind, Kernel#define_singleton_method and Module#define_method, even when that singleton class was of the right kind_of. A patch by Shane O'Brien [ruby-core:25632] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (rb_mod_define_method): doc fixmarcandre2009-09-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-09-23svn2009-09-221-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_mod_define_method): Doc fix (accepts UnboundMethod too)marcandre2009-09-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c: fixed type.nobu2009-09-221-13/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regint.h: commit miss.nobu2009-09-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * st.c (st_table_entry, st_get_key): use st_index_t.nobu2009-09-222-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regenc.h (PosixBracketEntryType): constified.nobu2009-09-223-19/+23
| | | | | | | * regenc.h (PosixBracketEntryInit): suppress warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regerror.c (onig_error_code_to_str, onig_snprintf_with_pattern):nobu2009-09-222-3/+6
| | | | | | | fixed type. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regparse.c (st_str_end_key, str_end_cmp, str_end_hash):nobu2009-09-222-10/+17
| | | | | | | constified. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (proc_setgroups): fixed type.nobu2009-09-221-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/transcode-tblgen.rb (transcode_generated_code): fixed type.nobu2009-09-222-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (enum_chunk): new method Enumerable#chunk.akr2009-09-223-0/+401
| | | | | | | | * enum.c (enum_slice_before): new method Enumerable#slice_before. [ruby-dev:38392] [ruby-dev:39240] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (run_exec_dup2): fixed type.nobu2009-09-211-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e