summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * ext/tk/tcltklib.c (get_obj_from_str): suppressed a warning.nobu2009-07-111-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_io_m17n.rb (test_strip_bom): added.naruse2009-07-112-0/+18
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/readline.c (readline_attempted_completion_function):nobu2009-07-102-6/+14
| | | | | | | | | | array length is long. * ext/readline/readline.c (readline_s_get_filename_quote_characters): missing type of self. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (limited_rand): expands to long before shift so thatnobu2009-07-102-2/+7
| | | | | | | the result does not overflow. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (rand_init): got rid of buffer overflow.nobu2009-07-102-4/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (ary_join_1): should recurse for element array.nobu2009-07-104-2/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io.c (io_strip_bom): ungetbyte third byte when UTF-16LE.naruse2009-07-102-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix condition of second byte of UTF-16LE/UTF-32LE.naruse2009-07-102-1/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: commit miss.nobu2009-07-101-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* cosmetic changesnaruse2009-07-101-5/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/extconf.rb: checked rl_refresh_line in readline.kouji2009-07-104-0/+31
| | | | | | | | * ext/readline/readline.c (readline_s_refresh_line): add new method, a patch from Koichiro Ohba. see [ruby-list:45922]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/extconf.rb: checked rl_line_buffer and rl_point inkouji2009-07-105-38/+161
| | | | | | | | | | readline. * ext/readline/readline.c (readline_s_get_line_buffer): new method. (readline_s_get_point): new method. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_array.rb (test_join2): fixed typo.nobu2009-07-101-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (recursive_join): use obj to tell if recursion occurs.nobu2009-07-105-39/+33
| | | | | | | | | [ruby-core:24150] * enum.c (enum_join): reverted r23966. [ruby-core:24196] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add test for marshaling regexp.naruse2009-07-101-0/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (r_object0): set encoding only if the encoding is not US-ASCII.naruse2009-07-102-1/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (struct MT): ruby already assumes int has 32bit atnobu2009-07-102-48/+75
| | | | | | | | | least, so no needs to use long. * random.c (rand_init): git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (rb_obj_{untrust,untrusted,trust}): addednobu2009-07-102-0/+8
| | | | | | | prototypes. [ruby-dev:38756] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c (vm_search_superclass): checks for implicitnobu2009-07-103-7/+30
| | | | | | | argument passing before method search. [ruby-core:24244] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_data_type): typed.nobu2009-07-092-16/+50
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (compile_warn_print, warn_print): fixed false warnings.nobu2009-07-092-2/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-07-10svn2009-07-091-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Remove debug print.naruse2009-07-091-1/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Set encoding and strip bom when modeenc string is "r:foo-bom" [ruby-dev:37236]naruse2009-07-093-2/+127
| | | | | | | | | | | | | | * include/ruby/io.h (FMODE_STRIP_BOM): new constant. * io.c (io_encname_bom_p): judge whether the encoding name is *-bom or not. (parse_mode_enc): drop "-bom". (rb_io_modestr_fmode): set FMODE_STRIP_BOM if needed. (rb_io_extract_modeenc): ditto. (io_strip_bom): strip bom if exists. (io_set_encoding_by_bom): set encoding if there is bom. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-07-09svn2009-07-091-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (r_object0): replace \u by u when the regexp isnaruse2009-07-092-2/+17
| | | | | | made by Ruby 1.8. [ruby-dev:36750] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c (nucomp_div): omitted zero division check.tadf2009-07-082-2/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/inspector.rb: forget svn add.keiju2009-07-082-0/+107
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (rb_check_type): rejects typed data.nobu2009-07-082-1/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c ({proc,binding,method}_data_type): typed.nobu2009-07-082-3/+16
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c ({proc,method}_data_type): typed.nobu2009-07-082-44/+64
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_file_s_basename): returns new string instead ofnobu2009-07-083-4/+11
| | | | | | | shared string from FilePathStringValue(). [ruby-core:24199] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update ext/.document with extensions that appear to have documentation.drbrain2009-07-082-0/+17
| | | | | | Fixes #1738. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 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: http://svn.ruby-lang.org/repos/ruby/trunk@23987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2009-07-071-9/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@23983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c ({env,vm,thread}_data_type): constified.nobu2009-07-071-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@23981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (DEFINE_ENUMFUNCS): included function signature.nobu2009-07-072-22/+19
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@23976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-07-07svn2009-07-071-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c: provisional type fixes.nobu2009-07-071-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@23970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (proc_hash): use long.nobu2009-07-062-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e