summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-04-072003-04-07eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-07* ext/socket/socket.c (sock_s_unpack_sockaddr_in): remove structmatz
size check. getnameinfo(3) can handle. [ruby-dev:19967] * io.c (io_read): do not call rb_sys_fail() when required data length is zero. (ruby-bugs-ja PR#420) * eval.c (umethod_proc): should raise TypeError, instead of returning error causing Proc. Following the principle of "fail early". [ruby-core:00927] * pack.c (pack_pack): small but serious typo. * eval.c (backtrace): skip internal allocator frame. (ruby-bugs-ja PR#416) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-06* zlib.c (rb_gzreader_getc): the return value of GzipReader#getc must be ↵katsu
unsigned. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-05* sample/exyacc.rb: use Regexp in gsub!.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-042003-04-04eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-04* eval.c (assign): should prepare mrhs by svalue_to_mrhs().matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-032003-04-03eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-03* eval.c (rb_f_missing): use "inspect" for T_OBJECT as well.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-02* README.EXT, README.EXT.ja (3.3): clarified -1 as free fornobu
Data_Wrap_Struct(). [ruby-dev:19881] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-312003-03-31eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-31* hash.c (env_reject_bang): untaint key string.matz
* hash.c (env_delete_m): execute block only if deleting key does not exist. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-29* pack.c (pack_pack): do not call rb_str_buf_cat() with NULL ptr,matz
which causes SEGV; jump to grow instead. [ruby-dev:19944] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-292003-03-29eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-29* instruby.rb, ext/extmk.rb, lib/benchmark.rb, lib/cgi.rb,akr
lib/debug.rb, lib/getoptlong.rb, lib/optparse.rb, lib/time.rb, lib/date/format.rb, lib/irb/ruby-lex.rb lib/uri/common.rb: revert escape for `-' in character class. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-29* eval.c (avalue_to_svalue): use rb_check_array_type() again.matz
Clarify how "to_ary" and "to_a" work. [ruby-talk:68155] * eval.c (svalue_to_avalue): ditto. * eval.c (svalue_to_mrhs): ditto. * eval.c (rb_eval): unary splat to use to_a, but we need a hack to exclude Object#to_a until it's removed. * object.c (rb_Array): check obj.respond_to?("to_a"). Currently all object respond_to "to_a", but Object#to_a will be removed. * range.c (Init_Range): undefine to_ary. * re.c (Init_Regexp): ditto. * regex.c (re_compile_pattern): do not warn if "-" is at the top or last of character class. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-29* MANIFEST (ext/aix_mksym.rb): remove obsolete file.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-28Import Ruby/zlib from rough.katsu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-282003-03-28nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-28* variable.c (rb_class_path): hold temporary class path in anobu
instance variable to get rid of GC. [ruby-dev:19932] * variable.c (classname): remove temporary class path when exact name found. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-28Use rb_str2cstr() instead of STR2CSTR() macro.shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-28Rubbish !shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-28Entries for bigdecimal added.shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-28Copied from rough/bigdecimal,documents & some sample programs added.shigek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-28Added comment for Net::HTTP.get(arg1, arg2, arg3)gsinclair
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-27* regex.c (re_compile_pattern): fix [:name:] handling.akr
/[\[:digit:]]/ was treated as /[[:digit:]]/. /[[:-@]/ was treated as /[\[:\-@]/. /[%-[:digit:]]/ was treated as /[%-\[:digit:]\]/. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-272003-03-27eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-26* string.c (rb_str_capitalize_bang): check length before upcasenobu
first character. (ruby-bugs:PR#697) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-26commit miss.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-26* dln.c (dln_find_1): break if path list end, even for too longnobu
path names. (ruby-bugs-ja:PR#412) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-262003-03-26eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-26* eval.c (avalue_splat): new function to do unary * (splat)matz
operator. * eval.c (avalue_to_svalue,svalue_to_avalue,svalue_to_mrhs): do not use implicit "to_ary" conversion. * ext/curses/curses.c (GetWINDOW,GetMOUSE): add taint check. * ext/curses/curses.c (curses_init_screen): ditto. * ext/curses/curses.c (window_initialize): ditto. * gc.c (os_each_obj): prohibit ObjectSpace#each_object in safe mode ($SAFE >= 4). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-26backoutnobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-25* signal.c (trap): return "DEFAULT" and "IGNORE" respectively formatz
previous sighandler SIG_DFL and SIG_IGN. [ruby-talk:67860] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-252003-03-25eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-25* eval.c (rb_yield_0): call avalue_to_mrhs() to assign blockmatz
parameter |a|. [ruby-dev:19897] * ruby.c (ruby_set_argv): freeze argument strings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-25* io.c (rb_io_initialize): should check rb_secure(4).matz
* dir.c (dir_s_getwd): should check rb_secure(4). * object.c (rb_obj_infect): function version of OBJ_INFECT(). * eval.c (rb_secure_update): new function to check object update. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-25* ext/strscan/strscan.c: should infect also return values of #inspect.aamine
* ext/strscan/strscan.c: use snprintf() instead of sprintf(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-24security enhancement of dl library (need test).matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-24Added rb_secure(4). (Thanks to Minero Aoki)ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-23update NotImplementError to NotImplementedError.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-23fix typos.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-23* io.c (rb_io_fread): may lose data on nonblocking read.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-23* parse.y (block_append): warn unused lteral.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-23* lib/jcode.rb (tr!, delete!, szueeze!): add empty string checking.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-232003-03-23nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-23* gc.c (rb_gc_call_finalizer_at_exit): use free() if dfree is -1.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-22* time.c (make_time_t): try search_time_t if mktime/timegm is failed.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-22* lib/optparse.rb, lib/jcode.rb, ext/tk/lib/tk.rb: reorder characterakr
class /[\]\[]/ to /[\[\]]/ to readability. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-22* lib/uri/common.rb: `[', `]', `-' in chracterakr
class in regexp to avoid warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-21* lib/date/format.rb, lib/uri/common.rb: `[', `]', `-' in chracterakr
class in regexp to avoid warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e