aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * pack.c (pack_pack): pointer modification check before eachmatz2004-10-082-0/+8
| | | | | | | iteration. [ruby-dev:24445] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/optiondb.rb: make it more securenagai2004-10-072-21/+38
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@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: svn+ssh://ci.ruby-lang.org/ruby/trunk@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: svn+ssh://ci.ruby-lang.org/ruby/trunk@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: svn+ssh://ci.ruby-lang.org/ruby/trunk@7011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_unpack): string conversion should at the top of thematz2004-10-073-2/+10
| | | | | | | | | | method. [ruby-dev:24439] * io.c (io_read): buffer should be frozen only after the length check. [ruby-dev:24440] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typo in document.akr2004-10-071-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c: use FMODE_APPEND.nobu2004-10-062-5/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2004-10-07eban2004-10-061-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7007 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@7006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_s_sysopen): preserve path in the buffer allocated bymatz2004-10-062-6/+13
| | | | | | | ALLOCA_N() to prevent modification. [ruby-dev:24438] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2004-10-06eban2004-10-061-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_modenum_mode): typo fix again.eban2004-10-061-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_mode_flags): preserve append mode flag.matz2004-10-0613-89/+90
| | | | | | | | | | | | | | | | | [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] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_flags_mode): typo fix.eban2004-10-051-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-10-05eban2004-10-051-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_fopen): mode string copy at the lowest level.matz2004-10-057-87/+133
| | | | | | | | | | | | | | | | | | | | | | | * io.c (rb_io_flags_mode): requires output buffer no more. no allocation needed. * array.c (rb_ary_index): takes a block to compare items in an array. [ruby-talk:113069] [Ruby2] * array.c (rb_ary_rindex): ditto. * 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] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_file_open_internal, rb_io_reopen): fname might be alterednobu2004-10-042-9/+17
| | | | | | | while GC. [ruby-dev:24408] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-10-04eban2004-10-041-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@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: svn+ssh://ci.ruby-lang.org/ruby/trunk@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: svn+ssh://ci.ruby-lang.org/ruby/trunk@6992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-10-03eban2004-10-031-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * MANIFEST: add test/ruby/test_string.rb.eban2004-10-031-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test String#sum for bits=0..7.akr2004-10-031-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test for String#sum.akr2004-10-031-0/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (local_vars): moved to struct parser_params.nobu2004-10-023-55/+106
| | | | | | | | | | | [ruby-dev:24391] * parser.y (stmts): remove suspicious NODE_BEGIN. [ruby-dev:24390] * node.h (NEW_DVAR): extra semicolon. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_sum): should use bignums when bits is greatermatz2004-10-023-2/+8
| | | | | | | than or equals to sizeof(long)*CHAR_BITS. [ruby-dev:24395] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_sum): wrong cast caused wrong result.matz2004-10-023-16/+24
| | | | | | | | | | [ruby-dev:24385] * enum.c (enum_sort_by): hide temporary array from ObjectSpace.each_object. [ruby-dev:24386] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_sum): check was done with false pointer.matz2004-10-022-4/+7
| | | | | | | [ruby-dev:24383] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-10-02eban2004-10-011-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_sum): string may be altered. [ruby-dev:24381]matz2004-10-019-39/+84
| | | | | | | | | | | | | | | | | | | | | | | * 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@6976 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@6975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-09-30eban2004-09-301-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@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: svn+ssh://ci.ruby-lang.org/ruby/trunk@6973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_delete): comparison may change the capacity.matz2004-09-298-76/+132
| | | | | | | | | | | | | | | | | | | [ruby-dev:24348] * array.c (rb_ary_fill): fill should honor length argument. [ruby-dev:24346] * array.c (rb_ary_replace): should not use ptr from shared array. [ruby-dev:24345] * ext/socket/socket.c (s_accept): don't retry for EWOULDBLOCK. [ruby-talk:113807] * array.c (flatten): element size might change during comparison. [ruby-dev:24343] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-09-29eban2004-09-291-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (sort_by_i): internally used object must not be changednobu2004-09-292-0/+6
| | | | | | | outside. [ruby-dev:24368] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add ML reference.nobu2004-09-271-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_call0): invoke finalizers periodically.nobu2004-09-274-42/+75
| | | | | | | | | * gc.c (gc_sweep): defer running finalizers. * gc.c (rb_gc_finalize_deferred): run deferred finalizers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-09-27eban2004-09-271-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y [ripper]: missing ';'.aamine2004-09-272-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * intern.h, struct.c (rb_struct_s_members, rb_struct_members): publicnobu2004-09-274-25/+28
| | | | | | | | | accessors. [ruby-dev:24342] * marshal.c (w_object, r_object0): use accessors. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-09-26eban2004-09-261-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* synchronized with date2 3.6.1tadf2004-09-253-32/+81
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c: iterator functions for hash_foreach() should return enumnobu2004-09-242-19/+24
| | | | | | | st_retval. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * struct.c (rb_struct_s_members): wrong call of struct_members.matz2004-09-243-6/+36
| | | | | | | | | | [ruby-dev:24333] * eval.c (proc_invoke): propagate DVAR_DONT_RECYCLE on termination to avoid double call to rb_gc_force_recycle(). [ruby-dev:24311] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-09-24eban2004-09-241-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (rb_parser_append_print): should handle prelude.matz2004-09-2411-155/+196
| | | | | | | | | | | | | | | | | | | | | | [llama@u01.gate0] * parse.y (rb_parser_while_loop): ditto. * array.c (rb_ary_subseq): original object might be modified after sharing data creation. [ruby-dev:24327] * array.c (rb_ary_replace): ditto. * array.c (ary_make_shared): freeze shared array. [ruby-dev:24325] * struct.c (struct_members): always check struct size and size of members list in the class. [ruby-dev:24320] * string.c (rb_str_sub_bang): check if string is not modified during iteration. [ruby-dev:24315] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/ripper/Makefile.dev: removed.aamine2004-09-2313-1352/+1365
| | | | | | | | | | | | * ext/ripper/ripper.rb.in: moved to lib/ripper/core.rb.in. * ext/ripper/lib/ripper/core.rb: new file. * ext/ripper/lib/ripper/core.rb.in: new file. * ext/ripper/tools/generate-ripper_rb.rb: change comment. * test/ripper/*.rb: on_scan removed. * test/ripper/*.rb: event name changed: on__ -> on_. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c: remove debug print.matz2004-09-231-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e