summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 2003-03-28nobu2003-03-281-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (rb_class_path): hold temporary class path in anobu2003-03-282-1/+18
| | | | | | | | | | instance variable to get rid of GC. [ruby-dev:19932] * variable.c (classname): remove temporary class path when exact name found. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use rb_str2cstr() instead of STR2CSTR() macro.shigek2003-03-282-12/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Rubbish !shigek2003-03-281-7/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Entries for bigdecimal added.shigek2003-03-286-0/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Copied from rough/bigdecimal,documents & some sample programs added.shigek2003-03-2817-0/+6325
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Added comment for Net::HTTP.get(arg1, arg2, arg3)gsinclair2003-03-281-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regex.c (re_compile_pattern): fix [:name:] handling.akr2003-03-272-34/+39
| | | | | | | | | /[\[:digit:]]/ was treated as /[[:digit:]]/. /[[:-@]/ was treated as /[\[:\-@]/. /[%-[:digit:]]/ was treated as /[%-\[:digit:]\]/. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-03-27eban2003-03-271-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_capitalize_bang): check length before upcasenobu2003-03-262-0/+6
| | | | | | | first character. (ruby-bugs:PR#697) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* commit miss.nobu2003-03-261-1/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c (dln_find_1): break if path list end, even for too longnobu2003-03-262-1/+8
| | | | | | | path names. (ruby-bugs-ja:PR#412) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-03-26eban2003-03-261-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (avalue_splat): new function to do unary * (splat)matz2003-03-269-56/+113
| | | | | | | | | | | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@3616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* backoutnobu2003-03-261-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c (trap): return "DEFAULT" and "IGNORE" respectively formatz2003-03-253-6/+20
| | | | | | | previous sighandler SIG_DFL and SIG_IGN. [ruby-talk:67860] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-03-25eban2003-03-251-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_yield_0): call avalue_to_mrhs() to assign blockmatz2003-03-253-2/+12
| | | | | | | | | parameter |a|. [ruby-dev:19897] * ruby.c (ruby_set_argv): freeze argument strings. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_initialize): should check rb_secure(4).matz2003-03-256-2/+34
| | | | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@3611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/strscan/strscan.c: should infect also return values of #inspect.aamine2003-03-252-19/+25
| | | | | | | * ext/strscan/strscan.c: use snprintf() instead of sprintf(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* security enhancement of dl library (need test).matz2003-03-249-158/+175
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Added rb_secure(4). (Thanks to Minero Aoki)ttate2003-03-244-1/+23
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update NotImplementError to NotImplementedError.matz2003-03-236-11/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typos.akr2003-03-231-76/+77
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_fread): may lose data on nonblocking read.matz2003-03-234-12/+16
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (block_append): warn unused lteral.nobu2003-03-232-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/jcode.rb (tr!, delete!, szueeze!): add empty string checking.eban2003-03-232-1/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-03-23nobu2003-03-231-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (rb_gc_call_finalizer_at_exit): use free() if dfree is -1.nobu2003-03-232-1/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (make_time_t): try search_time_t if mktime/timegm is failed.akr2003-03-222-30/+27
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb, lib/jcode.rb, ext/tk/lib/tk.rb: reorder characterakr2003-03-224-13/+18
| | | | | | | class /[\]\[]/ to /[\[\]]/ to readability. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/common.rb: `[', `]', `-' in chracterakr2003-03-222-2/+2
| | | | | | | class in regexp to avoid warning. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date/format.rb, lib/uri/common.rb: `[', `]', `-' in chracterakr2003-03-213-4/+9
| | | | | | | class in regexp to avoid warning. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regex.c (re_compile_pattern): fix previous change.akr2003-03-2114-46/+56
| | | | | | | | | | | * instruby.rb, ext/extmk.rb, ext/tk/lib/tk.rb, lib/benchmark.rb, lib/cgi.rb, lib/debug.rb, lib/getoptlong.rb, lib/jcode.rb, lib/optparse.rb, lib/time.rb, lib/date/format.rb, lib/irb/ruby-lex.rb: escape `[', `]', `-' in chracter class in regexp to avoid warning. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-03-21eban2003-03-211-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regex.c (re_compile_pattern): give warning for unescaped squarematz2003-03-213-2/+21
| | | | | | | brackets and minus in character class. [ruby-dev:19868] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (bmcall): missing type.nobu2003-03-212-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_f_sprintf): copy sign bits only if value ismatz2003-03-202-1/+9
| | | | | | | negative. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing.h: include <stdarg.h> or <varargs.h> if HAVE_VSNPRINTFmatz2003-03-202-0/+10
| | | | | | | is not defined. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* *** empty log message ***nobu2003-03-201-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (OptionParser#order!): follow recent changenobu2003-03-202-1/+6
| | | | | | | of proc argument. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-03-20nobu2003-03-201-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (flo_to_s): change format specifier to "%.15g" tomatz2003-03-202-1/+6
| | | | | | | avoid unnecessary 9s (e.g. 99.59999999999999). (ruby-bugs-ja PR#406) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (stmt, primary): get rid of SEGV at empty or invalidnobu2003-03-202-16/+36
| | | | | | | | | condition. (ruby-bugs-ja:PR#410) * parse.y (cond_negative): negate condition node when NODE_NOT. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (load_dyna): clear ruby_errinfo. (ruby-bugs-ja PR#409)matz2003-03-2012-516/+685
| | | | | | | | | | | | | | | | | | | | | | | | | | | * io.c (read_all): make str empty if given. (ruby-bugs-ja PR#408) * io.c (io_read): ditto. * io.c (rb_io_sysread): ditto. * range.c: do not override min and max. * sprintf.c (remove_sign_bits): octal left most digit for negative numbers may be '3'. (ruby-bugs-ja PR#407) * sprintf.c (rb_f_sprintf): should prefix sign bits if bignum is negative, using sign_bits(). * eval.c (avalue_to_mrhs): split argument passing and assignment conversion. * eval.c (svalue_to_mrhs): ditto. * eval.c (avalue_to_svalue): avalue_to_svalue([[1,2]]) should be [[1,2]], not [1,2] to wrap-around. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (bmcall): add volatile to avoid GC problem.akr2003-03-202-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tracer.rb (trace_func): save and recover Thread.critical state.nahi2003-03-192-3/+9
| | | | | | | Fixed by Fukumoto Atsushi <fukumoto@imasy.or.jp> [ruby-dev:19830] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test for previous change.akr2003-03-161-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pp.rb (object_address_group): use to_s instead of nameakr2003-03-162-1/+6
| | | | | | | to get name of class. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (prep_stdio): set binmode only if the file descriptoreban2003-03-123-5/+12
| | | | | | | is not connected to a terminal on Cygwin. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e