* io.c (rb_f_open): create copy of popen specifier. [ruby-dev:24656]
* string.c (rb_str_locktmp): lock string temporarily.
* string.c (str_independent): add tmplock check.
* io.c (io_write): lock output string temporarily.
[ruby-dev:24649]
* io.c (io_write): use rb_str_locktmp().
* io.c (read_all): ditto.
73 lines of code changed in:
process.c: on NetBSD don't use setruid() and setrgid().
4 lines of code changed in:
On NetBSD don't use setruid() and setrgid().
5 lines of code changed in:
* ext/ripper/MANIFEST: typofix(src.rb -> src_rb).
1 lines of code changed in:
* MANIFEST:
Added files:
ruby/lib/rss/maker:
0.9.rb 1.0.rb 2.0.rb base.rb content.rb dublincore.rb
syndication.rb trackback.rb
ruby/test/rss:
test_maker_0.9.rb test_maker_1.0.rb test_maker_2.0.rb
test_maker_content.rb test_maker_dc.rb test_maker_sy.rb
test_maker_trackback.rb test_maker_xml-stylesheet.rb
16 lines of code changed in:
* lib/rss/maker/*.rb: added RSS Maker.
* test/rss/test_maker_*.rb: added tests for RSS Maker.
2673 lines of code changed in:
add WIN32OLE.codepage, WIN32OLE.codepage=
109 lines of code changed in:
* ext/nkf/nkf-utf8/nkf.c: add "\075?UTF-8?Q?" for Gmail.
8 lines of code changed in:
* 2004-10-31
3 lines of code changed in:
* parse.y [ripper]: emit lexer-event values to the parser.
53 lines of code changed in:
* ext/win32ole/MANIFEST: added tests/testOLETYPELIB.rb.
1 lines of code changed in:
* 2004-10-30
3 lines of code changed in:
* eval.c (rb_eval): NODE_XSTR should pass copy of literal string.
* array.c (rb_ary_update): a[n,m]=nil no longer works as element
deletion.
* enum.c (enum_sort_by): protect continuation jump in.
[ruby-dev:24642]
115 lines of code changed in:
ext/win32ole/win32ole.c: add WIN32OLE_TYPELIB class. add
WIN32OLE#ole_typelib method.
ext/win32ole/tests/testOLETYPELIB.rb: add WIN32OLE_TYPELIB class.
839 lines of code changed in:
add a test for a problem of [ruby-talk:116455]
5 lines of code changed in:
add test for [ruby-dev:24643].
8 lines of code changed in:
* io.c (rb_io_check_initialized): new function to check uninitialized
object. [ruby-talk:118234]
* file.c (rb_file_path), io.c (rb_io_closed): check if initialized.
19 lines of code changed in:
obsoleted by nkf-utf8/nkf.c.
0 lines of code changed in:
* ext/nkf: follow nkf2.0.
4 lines of code changed in:
* CR stripped.
25 lines of code changed in:
* parse.y (ripper_s_allocate): add prototype for Microsoft compiler.
* range.c (range_step, range_each): need cast.
11 lines of code changed in:
* eval.c (rb_thread_start_0): forget to free some memory chunks.
[ruby-core:03611]
24 lines of code changed in:
from nkf 2.0.4
http://sourceforge.jp/projects/nkf/
9424 lines of code changed in:
follow to nkf 2.0.4
:new constants
NKF::VERSION
NKF::ASCII
NKF::UTF8
NKF::UTF16
NKF::UTF32
:new methods
NFK.guess1 (guess)
NKF.guess2 (from nkf2)
777 lines of code changed in:
follow to nkf 2.0.4
:new constants
NKF::VERSION
NKF::ASCII
NKF::UTF8
NKF::UTF16
NKF::UTF32
:new metHods
NFK.guess1 (guess)
NKF.guess2 (from nkf2)
1 lines of code changed in:
follow to nkf 2.0.4
:new constants
NKF::VERSION
NKF::ASCII
NKF::UTF8
NKF::UTF16
NKF::UTF32
:new methods
NFK.guess1 (guess)
NKF.guess2 (from nkf2)
3 lines of code changed in:
* parse.y (rb_parser_append_print, rb_parser_while_loop): body node
can be empty. [ruby-dev:24628]
11 lines of code changed in:
* 2004-10-29
3 lines of code changed in:
* eval.c (ruby_cleanup): ruby_finalize_1 may cause exception,
should be wrapped by PUSH_TAG/POP_TAG(). [ruby-dev:24627]
17 lines of code changed in:
* 2004-10-28
3 lines of code changed in:
* string.c (str_gsub): use STR_NOCAPA.
1 lines of code changed in:
* node.h (NODE_TYPESHIFT): allow 4 more bits for line numbers.
[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]
149 lines of code changed in:
* 2004-10-27
3 lines of code changed in:
* string.c (str_gsub): use a string object for exception safeness.
[ruby-dev:24601]
36 lines of code changed in:
* 2004-10-26
3 lines of code changed in:
Restore correct :nodoc: behavior with nested classes
7 lines of code changed in:
* win32/win32.c (isUNCRoot): should check NUL after '.'.
[ruby-dev:24590]
* win32/win32.c (isUNCRoot): fixed buffer overrun.
9 lines of code changed in:
2004-10-25
3 lines of code changed in:
* eval.c (get_backtrace): ignore illegal backtrace. [ruby-dev:24587]
5 lines of code changed in:
* ext/tk/sample/tkextlib/bwidget/tree.rb: bug fix
5 lines of code changed in:
* 2004-10-24
3 lines of code changed in:
* eval.c (rb_load, search_required, rb_require_safe, rb_require): use
frozen shared string to avoid outside modification. [ruby-dev:24580]
20 lines of code changed in:
* ext/zlib/zlib.c (zstream_append_input): clear klass for z->input
to avoid potential vulnerability.
26 lines of code changed in:
* 2004-10-23
3 lines of code changed in:
Use NUM2INT to convert short values.
2 lines of code changed in:
* ext/zlib/zlib.c (zstream_run): always use zstream_append_input()
to avoid SEGV. [ruby-dev:24568]
8 lines of code changed in:
* eval.c (rb_alias): was warning for wrong condition.
[ruby-dev:24565]
11 lines of code changed in:
* lib/webrick/httprequest.rb (WEBrick::HTTPRequest#meta_vars):
should check if path_info is not nil. [webrickja:126]
6 lines of code changed in:
* ext/zlib/zlib.c (zstream_shift_buffer): should restore class
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]
20 lines of code changed in:
* 2004-10-22
3 lines of code changed in:
* string.c (rb_str_include): should not treat char as negative value.
[ruby-dev:24558]
7 lines of code changed in:
remove ext/win32ole/.document.
add win32ole ext/.document.
create .document dynamically by extconf.rb.
17 lines of code changed in:
* lib/webrick/httpresponse.rb (WEBrick::HTTPResponse#send_body_io):
ensure to close @body. (http://bugs.debian.org/277520)
24 lines of code changed in:
* io.c (pipe_open): variable name "fpw" is conflicted.
7 lines of code changed in:
* 2004-10-21
3 lines of code changed in:
* parse.y (lex_getline): should not touch ruby_debug_lines if
RIPPER is defined. [ruby-dev:24547]
* string.c (str_gsub): reentrant check. [ruby-dev:24432]
17 lines of code changed in:
commit miss
5 lines of code changed in:
* parse.y (lex_getline): should update ruby_debug_lines.
13 lines of code changed in:
* io.c (rb_io_getline): rs modification check should not interfere in the loop.
1 lines of code changed in:
* 2004-10-20
3 lines of code changed in:
* MANIFEST: add ext/.document.
1 lines of code changed in:
rdoc
13 lines of code changed in:
rdoc
16 lines of code changed in:
* ext/dbm/dbm.c (fdbm_delete_if): should check if deleting element
is a string. [ruby-dev:24490]
* ext/sdbm/init.c (fsdbm_delete_if): ditto.
9 lines of code changed in:
* array.c (rb_ary_times): Array#* should return an instance of
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]
78 lines of code changed in:
Commit missed file.. Sorry folks
5 lines of code changed in:
* eval.c (search_required): required name must not be changed before
loading. [ruby-dev:24492]
6 lines of code changed in:
* eval.c (rb_require_safe): provide the feature after loaded.
[ruby-list:40085]
13 lines of code changed in:
RDoc can now deal with "attr" used as a variable
7 lines of code changed in:
* ext/win32ole.c(ole_invoke): retrieve the result value when
retrying the IDispatch::invoke.
13 lines of code changed in:
* io.c (read_all): block string buffer modification during
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]
126 lines of code changed in:
2004-10-19
3 lines of code changed in:
* indent and tabify
38 lines of code changed in:
* string.c (rb_str_upto): method result must be checked. [ruby-dev:24504]
* eval.c (error_print): ditto. [ruby-dev:24519]
64 lines of code changed in:
* marshal.c (r_object0): check inheritance by the internal function.
[ruby-dev:24515]
6 lines of code changed in:
* ext/tk/MANIFEST: add lib/tkextlib/tcllib/ico.rb.
1 lines of code changed in:
* io.c (rb_io_flags_mode, rb_io_mode_flags): distinguish whether file
not existing is created. [ruby-dev:24505]
11 lines of code changed in:
2004-10-18
3 lines of code changed in:
* file.c (rb_file_truncate): discard read buffer before truncation.
[ruby-dev:24197]
10 lines of code changed in:
* lib/webrick/httprequest.rb (WEBrick::HTTPRequest#initialize):
initial value of accpet-* should be array.
9 lines of code changed in:
* ext/tk/lib/tk/timer.rb: TkTimer#start and restart accept a block
15 lines of code changed in:
2004-10-17
3 lines of code changed in:
* ext/win32ole/win32ole.c (fole_func_methods): correct argument mismatch.
* ext/win32ole/win32ole.c (fole_get_methods): ditto.
* ext/win32ole/win32ole.c (fole_put_methods): ditto.
* ext/win32ole/tests/testWIN32OLE.rb: add test for WIN32OLE#ole_func_methods
WIN32OLE#ole_get_methods, WIN32OLE#ole_put_methods
30 lines of code changed in:
* lib/rss/0.9.rb (RSS::Rss#to_s): removed garbage.
5 lines of code changed in:
* lib/rss/: untabified.
* test/rss/: untabified.
* lib/rss/0.9.rb (RSS::Rss#to_s): inent -> indent.
3887 lines of code changed in:
* lib/rss: supported prety print.
* test/rss/test_1.0.rb: added test for calculating default indent size.
210 lines of code changed in:
* ext/tk/lib/tkextlib/tcllib: based on Tcllib 1.7
118 lines of code changed in:
* 2004-10-16
3 lines of code changed in:
* lib/mkmf.rb (create_makefile): install-rb is needed for statically
linked extensions. [ruby-dev:24491]
7 lines of code changed in:
.document : entry win32ole.c for rdoc.
0 lines of code changed in:
.document : entry win32ole.c for rdoc.
MANIFEST : add .document
1 lines of code changed in:
* 2004-10-15
3 lines of code changed in:
* ext/openssl/ossl_x509store.c
(ossl_x509stctx_initialize): setup OpenSSL::X509::StoreContext with
ossl_x509stctx_* functions instead of X509_STORE_CTX_*.
(ossl_x509store_set_time): add OpenSSL::X509::Store#time=.
(ossl_x509stctx_set_time): add OpenSSL::X509::StoreContext#time=.
* test/openssl/ossl_x509store.rb: test certificate validity times.
72 lines of code changed in:
* ext/tk/lib/tk/timer.rb: TkTimer.new(interval, loop){ ... } is acceptable.
Add TkTimer.start ( == new + start ).
42 lines of code changed in:
eval.c (Init_stack): make prototype declaration consistent with the definition in gc.c.
6 lines of code changed in:
* 2004-10-14
3 lines of code changed in:
* added link to Tutorial.
5 lines of code changed in:
* lib/webrick/config.rb:
add WEBrick::Config::FileHandler[:AcceptableLanguages].
* lib/webrick/httpservlet/filehandler.rb
(WEBrick::HTTPServlet::FileHandler#set_filename): search files
having suffix of language-name which Accept-Language header field
includes if :AcceptableLanguages options is present.
* lib/webrick/httpservlet/filehandler.rb
(WEBrick::HTTPServlet::FileHandler#get_servlet): new method to
search servlet correspond to the suffix of filename.
* lib/webrick/httprequest.rb: add attributes access methods: accept,
accept_charset, accept_encoding, accept_language, content_length
and content_type.
* lib/webrick/httpresponse.rb: add attribute access methods:
content_length, content_length=, content_type and content_type=.
* lib/webrick/httputils.rb (WEBrick::HTTPUtils.mime_types):
use the second suffix to detect media type. (the first suffix
may be a language name.)
* lib/webrick/httputils.rb (WEBrick::HTTPUtils.parse_qvalues):
add method to parse Accept header field. it returns an Array of
values sorted by the qvalues.
165 lines of code changed in:
* 2004-10-12
3 lines of code changed in:
* io.c (MODE_BINMODE, MODE_BINARY): fixed reversed condition.
6 lines of code changed in:
* 2004-10-11
3 lines of code changed in:
* ext/tk/lib/tk/*: untabify
13591 lines of code changed in:
* 2004-10-10
3 lines of code changed in:
Support "require" as variable name in RDoc
13 lines of code changed in:
* test/ripper/test_scanner_events.rb: test location information.
* test/ripper/test_scanner_events.rb: test \n between comments.
40 lines of code changed in:
* ext/ripper/lib/ripper/filter.rb: require ripper/tokenizer.
* ext/ripper/lib/ripper/filter.rb (parse): argument is optional.
8 lines of code changed in:
* parse.y [ripper]: \n between two comments disappeared.
5 lines of code changed in:
* lib/rss/converter.rb: changed to try to use Iconv for default
conversion.
* lib/rss/rss.rb: 0.0.9 -> 0.1.0.
16 lines of code changed in:
* 2004-10-09
3 lines of code changed in:
add test for [ruby-dev:24460]
12 lines of code changed in:
* io.c (rb_io_getline): should not treat char as negative value.
[ruby-dev:24460]
8 lines of code changed in:
* lib/fileutils.rb (fu_traverse): return value of Dir.entries is reliable. (pass $SAFE=1)
* lib/fileutils.rb (remove_dir): return value of Dir.foreach is reliable. (pass $SAFE=1)
11 lines of code changed in:
* 2004-10-08
3 lines of code changed in:
* pack.c (pack_pack): pointer modification check before each
iteration. [ruby-dev:24445]
8 lines of code changed in:
* ext/tk/lib/tk/optiondb.rb: make it more secure
38 lines of code changed in:
* ext/tk/lib/tk/scrollbar.rb: When 'set' operation, a scrollbar cannot
propagate view port information from the source widget (that calls
'set') to other assigned widgets.
17 lines of code changed in:
* ext/tk/lib/tk.rb: When CHILDKILLED and so on, Tk.errorCode returns
a Fixnum for 2nd element (it's pid) of the return value.
15 lines of code changed in:
* io.c (io_read): should freeze buffer before thread context
switch. [ruby-dev:24442]
4 lines of code changed in:
* pack.c (pack_unpack): string conversion should at the top of the
method. [ruby-dev:24439]
* io.c (io_read): buffer should be frozen only after the length
check. [ruby-dev:24440]
10 lines of code changed in:
fix typo in document.
2 lines of code changed in:
* ext/stringio/stringio.c: use FMODE_APPEND.
8 lines of code changed in:
* 2004-10-07
3 lines of code changed in:
* ext/tk/lib/tk.rb: add Tk.errorInfo and Tk.errorCode
* ext/tk/lib/tkextlib/bwidget.rb: bug fix
22 lines of code changed in:
* io.c (rb_io_s_sysopen): preserve path in the buffer allocated by
ALLOCA_N() to prevent modification. [ruby-dev:24438]
13 lines of code changed in:
* 2004-10-06
3 lines of code changed in:
* io.c (rb_io_modenum_mode): typo fix again.
1 lines of code changed in:
* 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]
90 lines of code changed in:
* io.c (rb_io_flags_mode): typo fix.
1 lines of code changed in:
2004-10-05
3 lines of code changed in:
* io.c (rb_fopen): mode string copy at the lowest level.
* 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]
133 lines of code changed in:
* io.c (rb_file_open_internal, rb_io_reopen): fname might be altered
while GC. [ruby-dev:24408]
17 lines of code changed in:
2004-10-04
3 lines of code changed in:
* ext/tk/lib/tk/image.rb: bug fix
* ext/tk/lib/tk/optiondb.rb: support definition of command resources on widgets
90 lines of code changed in:
* lib/net/imap.rb (TEXT_REGEXP): allow 8-bit characters for the german
version of Microsoft Exchange Server.
* lib/net/imap.rb (RTEXT_REGEXP): ditto.
* lib/net/imap.rb (CTEXT_REGEXP): ditto.
12 lines of code changed in:
2004-10-03
3 lines of code changed in:
* MANIFEST: add test/ruby/test_string.rb.
1 lines of code changed in:
test String#sum for bits=0..7.
1 lines of code changed in:
add test for String#sum.
19 lines of code changed in:
* parse.y (local_vars): moved to struct parser_params.
[ruby-dev:24391]
* parser.y (stmts): remove suspicious NODE_BEGIN. [ruby-dev:24390]
* node.h (NEW_DVAR): extra semicolon.
104 lines of code changed in:
* string.c (rb_str_sum): should use bignums when bits is greater
than or equals to sizeof(long)*CHAR_BITS. [ruby-dev:24395]
8 lines of code changed in:
* 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]
24 lines of code changed in:
* string.c (rb_str_sum): check was done with false pointer.
[ruby-dev:24383]
7 lines of code changed in:
2004-10-02
4 lines of code changed in:
* 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]
84 lines of code changed in:
* ext/tk/lib/tk/grid.rb: revive TkGrid.grid
* ext/tk/lib/tk/pack.rb: revive TkPack.pack
* ext/tk/lib/tk/place.rb: revive TkPlace.place
14 lines of code changed in: