summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * proc.c (missing_wrap): new_arg is already given if argc > 1.nobu2009-09-251-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (mnew): fix for instance method of Module, BasicObjectnobu2009-09-251-0/+7
| | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@25089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_method.c (rb_mod_method_defined): should return true or false.nobu2009-09-251-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_method.c (rb_mod_method_defined): should return true or false.nobu2009-09-251-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (mnew): generate method object that wraps method_missing,matz2009-09-241-0/+8
| | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@25073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mathn.rb (Bignum#**): Fixed bignum**fixnum that was broken when ↵marcandre2009-09-241-0/+6
| | | | | | | | requiring lib/mathn [ruby-core:25740] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/lib/bigdecimal/math.rb (atan): atan(Infinity) isnobu2009-09-231-1/+4
| | | | | | | PI/2. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/lib/bigdecimal/math.rb (atan): reduce loop withnobu2009-09-231-0/+6
| | | | | | | | the formula of the double corner. based on a patch from Masahiro Kanai (CanI) in [ruby-dev:39367]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c (aix_loaderror): fixed typo. suppress warnings.kanemoto2009-09-231-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (enum_minmax): reduce comparison.akr2009-09-231-0/+5
| | | | | | | (enum_minmax_by): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/thread.rb (ConditionVariable#wait): add timeout argument.akr2009-09-231-0/+5
| | | | | | | [ruby-talk:346154] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/lib/bigdecimal/math.rb (atan): refined.nobu2009-09-231-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_method.c (basic_obj_respond_to): new function to fundamentalmatz2009-09-231-0/+9
| | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@25054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (assign_in_cond): also should warn assignment to dvar innobu2009-09-231-0/+5
| | | | | | | conditional. [ruby-dev:39363] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_upto): keep first width. [ruby-dev:39361]nobu2009-09-231-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/instruction.rb (make_header_prepare_stack): check stacknobu2009-09-231-0/+8
| | | | | | | | | | overflow. [ruby-core:25714] * tool/instruction.rb (make_footer_stack_val): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (umethod_bind, rb_mod_define_method): Fix bug that disallowed ↵marcandre2009-09-221-0/+8
| | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@25046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * st.c (st_table_entry, st_get_key): use st_index_t.nobu2009-09-221-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regenc.h (PosixBracketEntryType): constified.nobu2009-09-221-1/+5
| | | | | | | * regenc.h (PosixBracketEntryInit): suppress warnings. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regerror.c (onig_error_code_to_str, onig_snprintf_with_pattern):nobu2009-09-221-1/+4
| | | | | | | fixed type. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regparse.c (st_str_end_key, str_end_cmp, str_end_hash):nobu2009-09-221-1/+4
| | | | | | | constified. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/transcode-tblgen.rb (transcode_generated_code): fixed type.nobu2009-09-221-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (enum_chunk): new method Enumerable#chunk.akr2009-09-221-0/+6
| | | | | | | | * enum.c (enum_slice_before): new method Enumerable#slice_before. [ruby-dev:38392] [ruby-dev:39240] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c, cont.c, gc.c, insns.def, iseq.c, iseq.h, process.c,nobu2009-09-211-0/+7
| | | | | | | | | thread.c, vm.c, vm_core.h, vm_dump.c, vm_eval.c, vm_insnhelper.c, vm_method.c, template/insns_info.inc.tmpl, tool/instruction.rb: fixed types. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/lib/bigdecimal/{ludcmp,math}.rb: depend onnobu2009-09-211-1/+4
| | | | | | | bigdecimal. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/lib/bigdecimal/*.rb: made module functions.nobu2009-09-211-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (GetVpValue): support conversion fromnobu2009-09-211-0/+5
| | | | | | | Rational. [ruby-core:25697] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, win32/Makefile.sub (INSNS): depend on tools.nobu2009-09-211-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ossl_ocsp.c (ossl_ocspres_to_der): Bug fix in Response#to_def. Patch by ↵marcandre2009-09-211-0/+5
| | | | | | Chris Chandler [ruby-core:18411] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ossl_config.c (ossl_config_add_value_m, ossl_config_set_section): Check if ↵marcandre2009-09-211-0/+5
| | | | | | frozen (or untrusted for $SECURE >= 4) [ruby-core:18377] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (proc_binding): allow proc from method. [ruby-core:25589]nobu2009-09-211-0/+6
| | | | | | | * vm.c (collect_local_variables_in_env): block iseq can be NULL. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c (cont_new, cont_capture, fiber_t_alloc): needs alreadynobu2009-09-211-0/+5
| | | | | | | running thread. cf. [ruby-core:25681] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/lib/bigdecimal/math.rb (sin, cos, atan, exp, log):nobu2009-09-201-0/+6
| | | | | | | | improved precision and performance. based on a patch from Makoto Yamashita in [ruby-core:25600] and [ruby-core:25602]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * struct.c (rb_struct_equal, rb_struct_eql): Handle comparison of recursive ↵marcandre2009-09-201-0/+7
| | | | | | | | structures [ruby-core:24759] * range.c (range_eq, range_eql): ditto for ranges git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_core.h (ENABLE_VM_OBJSPACE): socklist needs st_table innobu2009-09-191-0/+5
| | | | | | | rb_w32_sysinit(), before object space initialization. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (GlobPathValue), file.c (rb_get_path_check): path namesnobu2009-09-191-0/+5
| | | | | | | must be ASCII compatible. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (rb_type): forward declaration to suppress anobu2009-09-181-0/+5
| | | | | | | warning. a patch from Naohisa Goto at [ruby-dev:39350] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (GlobPathValue): adjust return types. based on a patchnobu2009-09-181-0/+5
| | | | | | | from Naohisa Goto at [ruby-dev:39350]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (r_object0): entry regexp object before its encodingnobu2009-09-181-0/+5
| | | | | | | name. [ruby-core:25625] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (eval.o): needs vm.h.nobu2009-09-181-0/+10
| | | | | | | | | | | * eval.c (ruby_cleanup): destruct current VM before exit. * gc.c (rb_objspace_free): free object space. * vm.c (ruby_vm_destruct): destruct and free VM struct. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each), parse.y (stmt, arg): arg_concat()nobu2009-09-181-0/+5
| | | | | | | on op_asgn was inversed. [ruby-core:25629] [Bug #2050] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (GlobPathValue): glob allows null bytes as separators.nobu2009-09-181-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/re.rdoc: use rdoc mode.nobu2009-09-181-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/rdoc-mode.el: added.nobu2009-09-181-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/rdoc.rb (RDoc::RDoc#parse_files): don't branch bynobu2009-09-181-1/+4
| | | | | | | RUBY_VERSION. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/rdoc.rb (RDoc::RDoc#parse_files): emacs local variablesnobu2009-09-181-0/+5
| | | | | | | are delimited by a semicolon. supported Vim style. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/fileutils/test_fileutils.rb: add a test for [ruby-dev:39345]kazu2009-09-171-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typoskazu2009-09-171-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (push_glob): str should be a string always.nobu2009-09-171-0/+7
| | | | | | | | * dir.c (rb_push_glob, dir_globs): use #to_path to convert non- string values. cf. [ruby-dev:39345] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (rm_f, rm_rf): FileUtils.rm can take an array.nobu2009-09-171-1/+4
| | | | | | | [ruby-dev:39345] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e