summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Support "require" as variable name in RDocdave2004-10-103-1/+13
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/converter.rb: changed to try to use Iconv for defaultkou2004-10-093-8/+16
| | | | | | | | conversion. * lib/rss/rss.rb: 0.0.9 -> 0.1.0. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2004-10-09eban2004-10-091-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test for [ruby-dev:24460]akr2004-10-090-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)2004-10-091-0/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test for [ruby-dev:24460]akr2004-10-091-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_getline): should not treat char as negative value.nobu2004-10-092-3/+8
| | | | | | | [ruby-dev:24460] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2004-10-08eban2004-10-081-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_pack): pointer modification check before eachmatz2004-10-082-0/+8
| | | | | | | iteration. [ruby-dev:24445] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/optiondb.rb: make it more securenagai2004-10-072-21/+38
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/scrollbar.rb: When 'set' operation, a scrollbar cannotnagai2004-10-072-2/+17
| | | | | | | | propagate view port information from the source widget (that calls 'set') to other assigned widgets. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: When CHILDKILLED and so on, Tk.errorCode returnsnagai2004-10-072-1/+15
| | | | | | | a Fixnum for 2nd element (it's pid) of the return value. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_read): should freeze buffer before thread contextmatz2004-10-072-1/+4
| | | | | | | switch. [ruby-dev:24442] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_unpack): string conversion should at the top of thematz2004-10-074-2/+12
| | | | | | | | | | method. [ruby-dev:24439] * io.c (io_read): buffer should be frozen only after the length check. [ruby-dev:24440] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c: use FMODE_APPEND.nobu2004-10-062-5/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: add Tk.errorInfo and Tk.errorCodenagai2004-10-065-2/+22
| | | | | | | * ext/tk/lib/tkextlib/bwidget.rb: bug fix git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2004-10-07eban2004-10-061-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_flags_mode): typo fix.eban2004-10-061-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_s_sysopen): preserve path in the buffer allocated bymatz2004-10-0610-168/+219
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ALLOCA_N() to prevent modification. [ruby-dev:24438] * io.c (rb_io_mode_flags): preserve append mode flag. [ruby-dev:24436] * io.c (rb_io_modenum_mode): do not use external output buffer. * string.c (rb_str_justify): differ pointer retrieval to prevent padding string modification. [ruby-dev:24434] * range.c (range_each_func): allow func to terminate loop by returning RANGE_EACH_BREAK. * range.c (member_i): use RANGE_EACH_BREAK. [ruby-talk:114959] * marshal.c (r_byte): retrieve pointer from string value for each time. [ruby-dev:24404] * marshal.c (r_bytes0): ditto. * enum.c (sort_by_i): re-entrance check added. [ruby-dev:24399] * io.c (io_read): should freeze all reading buffer. [ruby-dev:24400] * string.c (rb_str_sum): should use bignums when bits is greater than or equals to sizeof(long)*CHAR_BITS. [ruby-dev:24395] * eval.c (specific_eval): defer pointer retrieval to prevent unsafe sourcefile string modification. [ruby-dev:24382] * eval.c (specific_eval): defer pointer retrieval to prevent unsafe sourcefile string modification. [ruby-dev:24382] * string.c (rb_str_sum): wrong cast caused wrong result. [ruby-dev:24385] * enum.c (enum_sort_by): hide temporary array from ObjectSpace.each_object. [ruby-dev:24386] * string.c (rb_str_sum): check was done with false pointer. [ruby-dev:24383] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_file_open_internal, rb_io_reopen): fname might be alterednobu2004-10-042-8/+16
| | | | | | | while GC. [ruby-dev:24408] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-10-04eban2004-10-041-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/image.rb: bug fixnagai2004-10-046-1/+90
| | | | | | | * ext/tk/lib/tk/optiondb.rb: support definition of command resources on widgets git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (TEXT_REGEXP): allow 8-bit characters for the germanshugo2004-10-032-3/+12
| | | | | | | | | version of Microsoft Exchange Server. * lib/net/imap.rb (RTEXT_REGEXP): ditto. * lib/net/imap.rb (CTEXT_REGEXP): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-10-03eban2004-10-031-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* MANIFEST: add test/ruby/test_string.rb.eban2004-10-031-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test String#sum for bits=0..7.akr2004-10-031-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test for String#sum.akr2004-10-030-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)2004-10-031-0/+19
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * node.h (NEW_DVAR): extra semicolon.nobu2004-10-022-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-10-02eban2004-10-021-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_sum): check was done with false pointer.matz2004-10-0216-160/+328
| | | | | | | | | | | | | | | | | | | | | | | | | | | [ruby-dev:24383] * string.c (rb_str_sum): string may be altered. [ruby-dev:24381] * eval.c (rb_f_eval): defer pointer retrieval to prevent unsafe sourcefile string modification. [ruby-dev:24373] * io.c (io_read): block string buffer modification during rb_io_fread() by freezing it temporarily. [ruby-dev:24366] * io.c (rb_io_s_popen): mode argument may be altered. [ruby-dev:24375] * file.c (rb_file_s_basename): ext argument may be altered. [ruby-dev:24377] * enum.c (enum_sort_by): use NODE instead of 2 element arrays. [ruby-dev:24378] * string.c (rb_str_chomp_bang): StringValue() may change the receiver. [ruby-dev:24371] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/grid.rb: revive TkGrid.gridnagai2004-10-014-3/+14
| | | | | | | | * ext/tk/lib/tk/pack.rb: revive TkPack.pack * ext/tk/lib/tk/place.rb: revive TkPlace.place git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-09-30eban2004-09-301-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c (ip_init): bug fixnagai2004-09-298-10/+133
| | | | | | | | | | * ext/tk/tkutil.c (get_eval_string_core): accept a Regexp object * ext/tk/lib/multi-tk.rb: fix bug on 'exit' operation * ext/tk/lib/tk/text.rb: 'tksearch' accepts a Regexp object as a matting pattern argument git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-09-29eban2004-09-291-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (sort_by_i): internally used object must not be changednobu2004-09-292-3/+9
| | | | | | | outside. [ruby-dev:24368] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-09-28eban2004-09-281-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merged from HEAD.ttate2004-09-272-11/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_hash_rehash): add iteration check. [ruby-dev:24301]matz2004-09-225-17/+61
| | | | | | | | | | | | | | * st.c (st_foreach): add deep check. * array.c (rb_ary_collect_bang): element size might change during comparison. [ruby-dev:24300] * array.c (rb_ary_reject_bang): ditto. [ruby-dev:24300] * array.c (rb_ary_eql): ditto. [ruby-dev:24300] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typo(?).usa2004-09-221-1/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_call_handler): workaround for Ctrl-C.usa2004-09-222-1/+6
| | | | | | | merge from HEAD. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-09-22usa2004-09-221-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add documentation to fork()dave2004-09-212-2/+18
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_equal): merge miss.matz2004-09-212-10/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_uniq_bang): element size might change duringmatz2004-09-218-61/+124
| | | | | | | | | | | | | | | | | | | | | | | comparison. [ruby-dev:24298] * enum.c (enum_sort_by): do not use qsort directly. use rb_ary_sort_bang() instead. [ruby-dev:24291] * enum.c (enum_sort_by): pedantic type check added. [ruby-dev:24291] * hash.c (rb_hash_foreach_iter): check iter_lev after each iteration. [ruby-dev:24289] * array.c (rb_ary_and): element size might change during comparison. [ruby-dev:24290] * array.c (rb_ary_or): ditto. [ruby-dev:24292] * array.c (rb_ary_equal): wrong fix. [ruby-dev:24286] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_equal): element size might change duringmatz2004-09-187-62/+132
| | | | | | | | | | | | | | | | | | | | | | | comparison. [ruby-dev:24254] * array.c (rb_ary_diff): ditto. [ruby-dev:24274] * array.c (rb_ary_select): ditto. [ruby-dev:24278] * array.c (rb_ary_delete): ditto. [ruby-dev:24283] * array.c (rb_ary_rindex): ditto. [ruby-dev:24275] * array.c (rb_ary_initialize): element size might change during initializing block. [ruby-dev:24284] * dir.c (dir_s_chdir): avoid memory leak and unnecessary chdir to the original directory when exception has caused in changing direcotry or within block. thanks to Johan Holmberg <holmberg@iar.se> [ruby-core:03446] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (mkdir_p): backport from CVS HEAD 1.45. [ruby-core:03420]aamine2004-09-172-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/multi-tk.rb: improve exit operationnagai2004-09-172-55/+71
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-09-17eban2004-09-171-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c: fix SEGV when (thread_)vwait or (thread_)tkwaitnagai2004-09-177-208/+587
| | | | | | | | | | | | * ext/tk/lib/tk.rb: add alias wait_window to wait_destroy * ext/tk/lib/multi-tk.rb: support calling 'mainloop' on slave interpreters (however, the 'real' eventloop must be run on the Default Master IP) * ext/tk/lib/remote-tk.rb: follow the changes of ext/tk/lib/multi-tk.rb * ext/tk/sample/remote-ip_sample2.rb: ditto * ext/tk/sample/tkoptdb-safeTk.rb: ditto git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e