aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * include/ruby/ruby.h:ko12009-07-077-23/+35
| | | | | | | | | | | | | | rename "...TypeStruct" and "typed_struct" to "TypedData..." and "typeddata", respectively. rename rb_data_type_t#name to rb_data_type_t#wrap_struct_name. * error.c, gc.c, iseq.c, vm.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2009-07-071-9/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bin/irb, lib/irb.rb lib/irb/*: irb-0.9.6, extend inspect-modekeiju2009-07-0737-49/+92
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (rb_gc_call_finalizer_at_exit): deal with typed struct likenobu2009-07-072-3/+7
| | | | | | | as obj_free(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (rb_typed_struct_is_kind_of): new function to see if thenobu2009-07-073-0/+17
| | | | | | | given typed struct. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c ({env,vm,thread}_data_type): constified.nobu2009-07-071-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (rb_check_typed_struct): new function to check typednobu2009-07-073-0/+34
| | | | | | | | | | struct. * include/ruby/ruby.h (Check_TypedStruct, Data_Get_TypedStruct): new macro to check typed struct. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (DEFINE_ENUMFUNCS): included function signature.nobu2009-07-072-22/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (rb_enum_join): non-nil separator must be convertible tonobu2009-07-073-0/+15
| | | | | | | String. [ruby-core:24172] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (rb_enum_join): should propagate taint to the returnmatz2009-07-072-1/+10
| | | | | | value. the change was overridden by r23967. [ruby-core:24176] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (GC_PROF_SET_MALLOC_INFO, GC_PROF_SET_HEAP_INFO): simplified.nobu2009-07-072-16/+20
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_ext_int_to_encs): Set external encoding ifnaruse2009-07-072-1/+6
| | | | | | ext==intern. [ruby-dev:38278] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-07-07svn2009-07-071-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c: provisional type fixes.nobu2009-07-071-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (enum_to_a): should propagate taint to the return value.matz2009-07-062-0/+11
| | | | | | | | [ruby-core:24152] * enum.c (enum_sort_by): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (make_curry_proc): should propagate lambda-ness.nobu2009-07-063-3/+21
| | | | | | | [ruby-core:24127] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (proc_hash): use long.nobu2009-07-062-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_module.rb (TestModule#test_undef): adjust tomatz2009-07-063-4/+13
| | | | | | | | | | message change. * test/ruby/test_object.rb (TestObject#test_redefine_method_which_may_case_serious_problem): ditto. * test/ruby/test_object.rb (TestObject#test_remove_method): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (enum_join): deals with self recursive objects to get ridnobu2009-07-061-0/+14
| | | | | | | of infinite recursion. [ruby-core:24150] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (enum_join): deals with self recursive objects to get ridnobu2009-07-062-1/+30
| | | | | | | of infinite recursion. [ruby-core:24150] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (enum_join): added rdoc.nobu2009-07-051-0/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * rational.c: edited rdoc.tadf2009-07-052-5/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-07-06svn2009-07-051-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (find_time_t): fix Time.local(2009,2,31) failure on 64bitakr2009-07-052-10/+63
| | | | | | | time_t environment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c (nucomp_s_polar): now arg is optional.tadf2009-07-052-4/+20
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c (float_arg): returns PI for -0.0.tadf2009-07-052-1/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_threadptr_exec_event_hooks): new function tonobu2009-07-054-19/+39
| | | | | | | execute event hooks, with preserving errinfo. [ruby-core:24118] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_method.c (rb_add_method, remove_method, rb_undef): fixednobu2009-07-042-4/+8
| | | | | | | | minor grammatical errors in warnings. a patch from Run Paint Run Run at [ruby-core:24141]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_method.c (Init_eval_method): registers notimplement_body as anobu2009-07-042-3/+6
| | | | | | | mark-object. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c (vm_yield_setup_block_args): restores the firstnobu2009-07-044-4/+20
| | | | | | | arg where is overwritten at funcall. [ruby-core:24139] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (dbl2ival): should raise FloatDomainError on Infinitymatz2009-07-042-7/+6
| | | | | | and NaN as 1.8 does. [ruby-dev:38726] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-07-04svn2009-07-031-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (enum_join): add Enumerable#join.matz2009-07-033-32/+112
| | | | | | | | | * array.c (ary_join_1): recursive join for Enumerators (and objects with #to_a). * array.c (rb_ary_join): performance tune. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* added examples.tadf2009-07-031-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (find_time_t): less number of guesses for hh:mm:60.akr2009-07-032-2/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c (nucomp_equal_p): removed.tadf2009-07-033-43/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * rational.c: renamed equal_p to eqeq_p.tadf2009-07-035-26/+82
| | | | | | | | | | | * complex.c: ditto. * complex.c (nucomp_equal_p): added. Complex(NaN).equal?(Complex(NaN)) should return true. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c: undef-ed shome methods. [ruby-core:24110]tadf2009-07-033-5/+36
| | | | | | | | * complex.c (Numeric#arg): NaN for NaN. [ruby-core:24116] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_core.h (struct rb_iseq_struct): fixed types.nobu2009-07-032-3/+9
| | | | | | | * vm_core.h (ic_vmstat): VM state version is VALUE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: stripped.nobu2009-07-031-5/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (find_time_t): time guess strategy refined again.akr2009-07-022-115/+49
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* suppress a warning.akr2009-07-021-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-07-03svn2009-07-021-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (find_time_t): time guess strategy refined.akr2009-07-022-109/+144
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* don't use a string for Time.at argument.akr2009-07-021-15/+15
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb: added response to Net::IMAP::ResponseError.shugo2009-07-022-4/+19
| | | | | | | a patch from Eric Hodel in [ruby-core:24111]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (num_exact): rb_check_to_integer() can deal with both ofnobu2009-07-012-5/+7
| | | | | | | Fixnum and Bignum together. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_yylex): fixed wrong variable.nobu2009-07-012-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix svn:ignore settingdrbrain2009-07-010-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_hash_hash): documentation fix. a patch frommatz2009-07-016-15/+33
| | | | | | | | | | | | | | Marc-Andre Lafortune. [ruby-core:23943] * object.c (rb_mod_cmp): ditto. * range.c (range_eq): ditto. * string.c (rb_str_partition, rb_str_rpartition): ditto. * struct.c (rb_struct_s_def): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e