summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * eval.c (ruby_cleanup): ruby_finalize_1 may cause exception,matz2004-10-295-6/+17
| | | | | | | should be wrapped by PUSH_TAG/POP_TAG(). [ruby-dev:24627] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2004-10-28eban2004-10-271-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (str_gsub): use STR_NOCAPA.nobu2004-10-271-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * node.h (NODE_TYPESHIFT): allow 4 more bits for line numbers.matz2004-10-2718-80/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | | [ruby-talk:117841] * ruby.h (FL_ABLE): nodes are not subject for flag operations. * io.c (ARGF_FORWARD): should have specified argv explicitly, since we no longer have frame->argv saved. [ruby-dev:24602] * string.c (RESIZE_CAPA): check string attribute before modifying capacity member of string structure. [ruby-dev:24594] * ext/zlib/zlib.c (gzreader_gets): use memchr() to to gain performance. [ruby-talk:117701] * sprintf.c (rb_f_sprintf): raise ArgumentError for extra arguments, unless (digit)$ style used. * io.c (rb_io_fptr_finalize): leave stdin/stdout/stderr open in interpreter termination. [ruby-dev:24579] * eval.c (frame_free): Guy Decoux solved the leak problem. Thanks. [ruby-core:03549] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2004-10-27nobu2004-10-271-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (str_gsub): use a string object for exception safeness.nobu2004-10-272-29/+36
| | | | | | | [ruby-dev:24601] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2004-10-26eban2004-10-261-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Restore correct :nodoc: behavior with nested classesdave2004-10-262-1/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (isUNCRoot): should check NUL after '.'.eban2004-10-252-2/+9
| | | | | | | | [ruby-dev:24590] * win32/win32.c (isUNCRoot): fixed buffer overrun. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-10-25nobu2004-10-251-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (get_backtrace): ignore illegal backtrace. [ruby-dev:24587]nobu2004-10-242-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkextlib/bwidget/tree.rb: bug fixnagai2004-10-242-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2004-10-24eban2004-10-231-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_load, search_required, rb_require_safe, rb_require): usenobu2004-10-233-3/+20
| | | | | | | frozen shared string to avoid outside modification. [ruby-dev:24580] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c (zstream_append_input): clear klass for z->inputmatz2004-10-233-12/+26
| | | | | | | to avoid potential vulnerability. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2004-10-23eban2004-10-231-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use NUM2INT to convert short values.ttate2004-10-231-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c (zstream_run): always use zstream_append_input()matz2004-10-222-9/+8
| | | | | | | to avoid SEGV. [ruby-dev:24568] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_alias): was warning for wrong condition.matz2004-10-222-4/+11
| | | | | | | [ruby-dev:24565] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httprequest.rb (WEBrick::HTTPRequest#meta_vars):gotoyuzo2004-10-222-1/+6
| | | | | | | should check if path_info is not nil. [webrickja:126] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c (zstream_shift_buffer): should restore classmatz2004-10-214-1/+20
| | | | | | | | | | | | | field of a buffer. [ruby-dev:24562] * eval.c (rb_alias): should warn on method discarding. [ruby-dev:24546] * ext/zlib/zlib.c (zstream_expand_buffer_into): hide internal string buffer by clearing klass. [ruby-dev:24548] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2004-10-22eban2004-10-211-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_include): should not treat char as negative value.nobu2004-10-212-9/+7
| | | | | | | [ruby-dev:24558] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove ext/win32ole/.document.suke2004-10-215-2/+17
| | | | | | | | add win32ole ext/.document. create .document dynamically by extconf.rb. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpresponse.rb (WEBrick::HTTPResponse#send_body_io):gotoyuzo2004-10-212-16/+24
| | | | | | | ensure to close @body. (http://bugs.debian.org/277520) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (pipe_open): variable name "fpw" is conflicted.eban2004-10-212-3/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2004-10-21eban2004-10-201-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (lex_getline): should not touch ruby_debug_lines ifmatz2004-10-204-0/+17
| | | | | | | | | RIPPER is defined. [ruby-dev:24547] * string.c (str_gsub): reentrant check. [ruby-dev:24432] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* commit missnobu2004-10-201-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (lex_getline): should update ruby_debug_lines.matz2004-10-204-4/+13
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_getline): rs modification check should not interfere in the loop.nobu2004-10-201-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2004-10-20eban2004-10-201-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * MANIFEST: add ext/.document.eban2004-10-201-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdocnobu2004-10-203-0/+13
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdocnobu2004-10-201-0/+16
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dbm/dbm.c (fdbm_delete_if): should check if deleting elementmatz2004-10-193-0/+9
| | | | | | | | | is a string. [ruby-dev:24490] * ext/sdbm/init.c (fsdbm_delete_if): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_times): Array#* should return an instance ofmatz2004-10-196-21/+78
| | | | | | | | | | | | | | | the class of right operand. [ruby-dev:24526] * ext/zlib/zlib.c (zstream_detach_buffer): should not expose class-less object to Ruby world. [ruby-dev:24530] * eval.c (proc_dup): provide Proc#dup as well. [ruby-talk:116915] * eval.c (ruby_exec): stack marking position may be higher than expected. thanks to Guy Decoux. [ruby-core:03527] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Commit missed file.. Sorry folksdave2004-10-191-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (search_required): required name must not be changed beforenobu2004-10-192-5/+6
| | | | | | | loading. [ruby-dev:24492] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_require_safe): provide the feature after loaded.nobu2004-10-192-8/+13
| | | | | | | [ruby-list:40085] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* RDoc can now deal with "attr" used as a variabledave2004-10-192-1/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole.c(ole_invoke): retrieve the result value whensuke2004-10-192-6/+13
| | | | | | | retrying the IDispatch::invoke. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (read_all): block string buffer modification duringmatz2004-10-1919-124/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rb_io_fread() by freezing it temporarily. [ruby-dev:24479] * dir.c (rb_push_glob): block call at once the end of method. [ruby-dev:24487] * ext/enumerator/enumerator.c (enum_each_slice): remove rb_gc_force_recycle() to prevent potential SEGV. [ruby-dev:24499] * ext/zlib/zlib.c (zstream_expand_buffer): hide internal string buffer by clearing klass. [ruby-dev:24510] * ext/socket/socket.c (sock_s_getservbyaname): protocol string might be altered. [ruby-dev:24503] * string.c (rb_str_upto): check if return value from succ is a string. [ruby-dev:24504] * io.c (rb_io_popen): get mode string via rb_io_flags_mode() to avoid mode string modification. [ruby-dev:24454] * io.c (rb_io_getline_fast): should take delim as unsigned char to distinguish EOF and '\377'. [ruby-dev:24460] * io.c (rb_io_getline): add check for RS modification. [ruby-dev:24461] * enum.c (enum_sort_by): use qsort() directly instead using rb_iterate(). [ruby-dev:24462] * enum.c (enum_each_with_index): remove rb_gc_force_recycle() to prevent access to recycled object (via continuation for example). [ruby-dev:24463] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-10-19nobu2004-10-191-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * indent and tabifynobu2004-10-191-38/+38
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_upto): method result must be checked. [ruby-dev:24504]nobu2004-10-183-56/+64
| | | | | | | * eval.c (error_print): ditto. [ruby-dev:24519] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (r_object0): check inheritance by the internal function.nobu2004-10-182-1/+6
| | | | | | | [ruby-dev:24515] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/MANIFEST: add lib/tkextlib/tcllib/ico.rb.eban2004-10-181-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_flags_mode, rb_io_mode_flags): distinguish whether filenobu2004-10-183-2/+11
| | | | | | | not existing is created. [ruby-dev:24505] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-10-18nobu2004-10-171-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e