* signal.c (sighandler): call handler immediately only for default
handlers. [ruby-dev:25003]
7 lines of code changed in:
* io.c (pipe_open): errno should be preserved for rb_sys_fail() when
fork failed.
7 lines of code changed in:
* io.c (io_fread): need not to null terminate. [ruby-dev:24998]
* io.c (read_all): remove unnecessary rb_str_resize().
[ruby-dev:24996]
* io.c (io_readpartial): ditto.
* io.c (io_read): ditto.
8 lines of code changed in:
* eval.c (rb_eval): should check previous frame for ZSUPER.
12 lines of code changed in:
* eval.c (PUSH_FRAME): flags should have been initialized.
3 lines of code changed in:
* instruby.rb (install): add arguments explicitly to "super".
5 lines of code changed in:
* eval.c (rb_eval): [ruby-core:03856]
7 lines of code changed in:
* 2004-11-30
3 lines of code changed in:
* io.c (rb_io_sysread): use temporary lock. [ruby-dev:24992]
* lib/ostruct.rb (OpenStruct::method_missing): check method
duplication for -d.
* lib/ostruct.rb (OpenStruct::initialize): ditto.
24 lines of code changed in:
* regparse.c: now handles many alternatives (over 500000) in regexp. [ruby-dev:24773]
24 lines of code changed in:
* ext/stringio/stringio.c (strio_write): insufficiently filled string
being extended when overwriting. [ruby-core:03836]
16 lines of code changed in:
* test/io/nonblock/test_flush.rb: abandon tests when io/nonblock is
not supported.
11 lines of code changed in:
* object.c (convert_type): [ruby-core:03845]
* eval.c (rb_funcall_rescue): new function.
* object.c (rb_Array): avoid using rb_respond_to().
* object.c (rb_Integer): ditto.
* eval.c (get_backtrace): no conversion for nil.
* parse.y (reduce_nodes): empty body should return nil.
104 lines of code changed in:
* test/io/nonblock/test_flush.rb: test transferred data.
7 lines of code changed in:
* io.c (fptr_finalize): must not use FILE after fclose().
[ruby-dev:24985]
22 lines of code changed in:
* io.c (fptr_finalize): must not use FILE after fclose().
[ruby-dev:24985]
21 lines of code changed in:
* win32/win32.c (CreateChild): push back the last space before next
loop because CharNext() eats it.
6 lines of code changed in:
* 2004-11-29
3 lines of code changed in:
don't use READ_DATA_PENDING in previous change
3 lines of code changed in:
add ML ref.
1 lines of code changed in:
* io.c (rb_io_check_writable): restrict io_seek by
READ_DATA_PENDING because io_seek(fptr, 0, SEEK_CUR) is
meaningful only if read buffer is not empty.
call io_seek regardless of NEED_IO_SEEK_BETWEEN_RW.
9 lines of code changed in:
* added reference.
1 lines of code changed in:
* lib/rss/rss.rb (RSS::Element#tag): not use block_given? for
working with ruby 1.6 again.
* lib/rss/{0.9,2.0,trackback}.rb, lib/rss/maker/base.rb:
undef -> remove_method for working with ruby 1.6 again.
22 lines of code changed in:
* lib/rss/rss.rb (RSS::NotSetError): added.
* lib/rss/maker/{1.0,0.9,2.0}.rb: changed RSS Maker to raise
RSS::NotSetError if required values of maker.channel are not
set.
* test/rss/test_maker_{1.0,0.9,2.0}.rb: changed tests to check RSS
Maker raises or not.
255 lines of code changed in:
* 2004-11-28
3 lines of code changed in:
* regparse.c (fetch_token): fixed test failure on HP-UX ia64 ([ruby-dev:24859]).
15 lines of code changed in:
* regparse.c, test/ruby/test_regexp.rb: fixed problem with UTF-8 characters that have U+00FE or invalid characters.
26 lines of code changed in:
* regexec.c, test/ruby/test_regexp.rb: fixed segmentation falut ([ruby-dev:24887]).
10 lines of code changed in:
* regcomp.c, regint.h: fixed PLATFORM_UNALIGNED_WORD_ACCESS problem ([ruby-dev:24802] and [ruby-core:3733])
21 lines of code changed in:
io.c (rb_io_fwrite): set path to NULL
1 lines of code changed in:
String::IO -> StringIO
1 lines of code changed in:
typo
1 lines of code changed in:
* io.c: avoid avoid data loss with nonblocking fd and
stdio buffering in sync mode. [ruby-dev:24966]
based on matz's patch [ruby-dev:24967]
(io_fwrite): new primitive writing function which writes
directly if sync mode.
(rb_io_fwrite): wrapper for io_fwrite now.
(io_write): call io_fwrite instead of rb_io_fwrite.
57 lines of code changed in:
* lib/rss/{0.9,1.0,2.0,trackback,xml-stylesheet}.rb: added
#setup_maker.
* test/rss/test_setup_maker_*.rb: added tests for #setup_maker.
* lib/rss/maker/base.rb(RSS::Maker::Items#max_size=): supported
output item size limitation.
* sample/rss/blend.rb: added sample for RSS Maker.
1066 lines of code changed in:
* lib/rss/maker/0.9.rb: supported RSS::Maker.make("0.91"). Now,
"0.9" is just alias of "0.91."
* test/rss/test_maker_0.9.rb: make("0.9") -> maker("0.91").
* test/rss/test_to_s.rb: ditto.
41 lines of code changed in:
* sample/rss/list_description.rb: untabified.
* sample/rss/rss_recent.rb: ditto.
120 lines of code changed in:
* 2004-11-27
3 lines of code changed in:
* io.c (io_fread): [ruby-dev:24964]
29 lines of code changed in:
* ext/tk/lib/tk.rb: Tk.destroy uses TkWindow#epath
* ext/tk/lib/tk/image.rb: bug fix
* ext/tk/lib/tk/wm.rb: add 'iconphoto' method(Windows only)
* ext/tk/lib/tkextlib/*: some methods uses TkWindow#epath
67 lines of code changed in:
* io.c (rb_io_initialize): [ruby-dev:24963]
15 lines of code changed in:
* io.c (rb_io_initialize): [ruby-dev:24962]
14 lines of code changed in:
* io.c (rb_io_initialize): should retrieve flags from copying file
descriptor. [ruby-dev:24961]
* eval.c (method_missing): raise TypeError for classes do not
have allocators. [ruby-core:03752]
* lib/erb.rb: [ruby-core:03786]
18 lines of code changed in:
Fix problem with :section: and new 1.9
7 lines of code changed in:
* lib/erb.rb: CR striped.
0 lines of code changed in:
* 2004-11-26
3 lines of code changed in:
* io.c (io_read): move StringValue() check before GetOpenFile().
[ruby-dev:24959]
370 lines of code changed in:
* lib/thwait.rb (ThreadsWait#join_nowait): abnormally terminated
threads should be also processed. [ruby-talk:121320]
13 lines of code changed in:
add ML ref.
1 lines of code changed in:
* configure.in: AC_CHECK_SIZEOF(rlim_t) to include stdio.h to fix
problem with autoconf 2.52 or earlier.
revert AC_PREREQ to 2.50.
8 lines of code changed in:
bugfix for [ruby-talk:121309].
21 lines of code changed in:
Use 'P' instead of 'p' in types.rb.
6 lines of code changed in:
descriptions.
6 lines of code changed in:
* configure.in: AC_PREREQ(2.53) [ruby-core:03800]
* io.c (read_all): [ruby-dev:24955]
17 lines of code changed in:
* ChangeLog: add ML reference.
2 lines of code changed in:
* 2004-11-25
3 lines of code changed in:
improved encode_type() in types.rb for [ruby-talk:121175].
128 lines of code changed in:
* io.c (io_read): [ruby-dev:24952]
* configure.in, io.c: cancel [ ruby-Patches-1074 ].
55 lines of code changed in:
* 2004-11-24
3 lines of code changed in:
* io.c (io_read): [ruby-dev:24952]
12 lines of code changed in:
* ext/tk/lib/tk/menu.rb: improve usability of TkOptionMenubutton
45 lines of code changed in:
* file.c (rb_file_chown): [ruby-dev:24949]
5 lines of code changed in:
* ext/ripper/lib/ripper/core.rb: commit miss. sorry.
0 lines of code changed in:
* 2004-11-23
3 lines of code changed in:
* file.c (rb_file_chown): integer conversion should be prior to
GetOpenFile(). [ruby-dev:24947]
* file.c (rb_file_truncate): ditto.
* file.c (rb_file_s_truncate): ditto.
* dir.c (dir_seek): use NUM2OFFT().
* misc/ruby-mode.el (ruby-non-block-do-re): [ruby-core:03719]
32 lines of code changed in:
Don't include 'require's with variable arguments
9 lines of code changed in:
* 2004-11-22
3 lines of code changed in:
* dir.c (dir_seek): should retrieve dir_data after NUM2INT().
[ruby-dev:24941]
15 lines of code changed in:
add ChangeLog for last commit
2 lines of code changed in:
* test/ruby/test_io.rb (test_gets_rs): add more tests.
27 lines of code changed in:
* string.c (rb_str_splice): should place index wrapping after
possible modification. [ruby-dev:24940]
* eval.c (error_print): nicer traceback at interrupt.
[ruby-core:03774]
15 lines of code changed in:
* 2004-11-21
3 lines of code changed in:
1. Force --inline-source if --one-file given
2. Add new :section: directive which starts a new section in the output.
The title following :section: is used as the section heading, and the
remainder of the comment containing the section is used as
introductory text. Subsequent methods, aliases, attributes,
and classes will be documented in this section.
480 lines of code changed in:
* io.c (rb_io_getline): f.gets("") did not work. [ruby-core:03771]
12 lines of code changed in:
* test/runner.rb (CROSS_COMPILING): need to require rbconfig.rb before
using CROSS_COMPILNG.
7 lines of code changed in:
* ext/ripper/.cvsignore: add entries.
2 lines of code changed in:
* io.c (__fpending): commit miss.
3 lines of code changed in:
* ext/ripper/depend: fix ripper.o dependency.
5 lines of code changed in:
* io.c (io_reopen): work around problem with Cygwin fseeko
returning ESPIPE.
9 lines of code changed in:
* ext/nkf/nkf-utf8/nkf.c: original nkf.c rev:1.40
* ext/nkf/test.rb: add test for mime encode/decode
6 lines of code changed in:
* follow original nkf.c 1.40.(improve mime encode/decode support)
* add test for mime encode/decode
412 lines of code changed in:
* string.c (str_gsub): internal buffer should not be listed by
ObjectSpace.each_object() by String#gsub. [ruby-dev:24931]
* lib/cgi/session.rb (CGI::Session::FileStore::initialize): raise
exception if data corresponding to session specified from the
client does not exist.
41 lines of code changed in:
* 2004-11-20
3 lines of code changed in:
* test/xmlrpc/test_webrick_server.rb : move `requrie "webrick/https"'
into #setup_http_server mohtod to avoid soap test errors.
6 lines of code changed in:
* lib/test/unit/collector/dir.rb: typo fix.
1 lines of code changed in:
* lib/test/unit/collector/dir.rb: better regex.
2 lines of code changed in:
* lib/test/unit/collector/dir.rb: better support for -p/-x option.
5 lines of code changed in:
* lib/rss/maker/0.9.rb (RSS::Maker::RSS09::Image#have_required_values):
changed /rss/channel/image to be optional. [ruby-Bugs:1047]
* test/rss/test_maker_0.9.rb: added tests for the above.
11 lines of code changed in:
* lib/rss/rss.rb (RSS::VERSION): 0.1.0 -> 0.1.1.
* lib/rss: #to_s used #tag.
* test/rss/test_to_s.rb: added.
* lib/rss/maker.rb (RSS::Maker.make): changed API. It's not
received modules which is used as the second argument.
* lib/rss/xml-stylesheet.rb (RSS::XMLStyleSheet#alternate):
changed return value type which is not String but Boolean.
* lib/rss/2.0.rb (RSS::Rss::Channel#ttl): changed return value
type which is not String but Integer.
* lib/rss/0.9.rb (RSS::Rss::Channel): <skipDays> has <day>s and
<skipHours> has <hour>s.
* lib/rss/maker/0.9.rb (RSS::Maker::RSS09::Channel): ditto.
* lib/rss/0.9.rb (RSS::Rss::Channel::Item): <item> has <category>s.
* lib/rss/maker/2.0.rb (RSS::Maker::Rss20::Channel::Item): ditto.
* lib/rss/2.0.rb (RSS::Rss::Channel): <channel> has <category>s.
* lib/rss/maker/2.0.rb (RSS::Maker::RSS20::Channel): ditto.
* lib/rss/trackback.rb: parent element has <trackback:about>s.
* lib/rss/maker/trackback.rb: ditto.
1801 lines of code changed in:
* lib/xmlrpc/datetime.rb (XMLRPC::DateTime#==): should use Array()
instead of to_a.
4 lines of code changed in:
* lib/test/unit/collector/dir.rb: add support for directory name
with -p/-x options.
* test/testunit/collector/test_dir.rb: ditto.
11 lines of code changed in:
* ext/readline/readline.c (readline_s_set_completion_append_character):
accept nil. [ruby-core:03765]
23 lines of code changed in:
* 2004-11-19
3 lines of code changed in:
* string.c (str_gsub): internal buffer should not be listed by
ObjectSpace.each_object(). [ruby-dev:24919]
58 lines of code changed in:
* ext/ripper/depend: Never regenerate lib/ripper/core.rb automatically. [ruby-dev:24911]
7 lines of code changed in:
* win32/win32.[ch] (rb_w32_isatty): new function to replace MSVCRT's
isatty because it never sets errno.
24 lines of code changed in:
* hash.c (rb_f_getenv): prohibit for $SAFE=4. [ruby-dev:24908]
48 lines of code changed in:
* parse.y (f_rest_arg): store rest args into invisible local variabe
in order to get rid of SEGV at ZSUPER. [ruby-dev:24913]
74 lines of code changed in:
* ext/readline/readline.c: check $SAFE.
* test/readline/test_readline.rb: added tests for readline.
113 lines of code changed in:
* 2004-11-18
3 lines of code changed in:
* process.c (proc_getpgrp): prohibit for $SAFE=2.
[ruby-dev:24899]
* process.c (get_pid): ditto. [ruby-dev:24904]
* process.c (get_ppid): ditto.
* array.c (rb_ary_delete): defer rb_ary_modify() until actual
modification. [ruby-dev:24901]
66 lines of code changed in:
* ext/stringio/stringio.c: needs fcntl.h for O_* constants.
5 lines of code changed in:
* io.c, rubyio.h (rb_io_modenum_flags): exported.
* ext/stringio/stringio.c (strio_initialize): allow Fixnum as mode as
well as IO.new does. [ruby-dev:24896]
21 lines of code changed in:
Wed Nov 17 23:47:30 2004 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp>
* test/ruby/test_settracefunc.rb: added. [ruby-dev:24884]
30 lines of code changed in:
* lib/xmlrpc/parser.rb, test/xmlrpc/test_features.rb: fixed "assinging to constants" warnings
12 lines of code changed in:
* process.c (proc_getrlimit, proc_setrlimit): add rb_secure(2) to
methods of Process.{getrlimit,setrlimit}
patched by Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
9 lines of code changed in:
* test/openssl/ssl_server.rb: try to listen ports from 20443 to 20542
while failed in getting a TCPServer.
* test/openssl/test_x509name.rb: remove version dependence about
nickname of OIDs.
39 lines of code changed in:
* dir.c (rb_push_glob): fix overrun. [ruby-dev:24886]
13 lines of code changed in:
* 2004-11-17
3 lines of code changed in:
* re.c (rb_reg_initialize_m): should raise exception instead of
compile error. [ruby-core:03755]
* string.c (rb_str_splice): move rb_str_modify() after
StringValue(), which may alter the receiver. [ruby-dev:24878]
* error.c (rb_error_frozen): now raise RuntimeError instead of
TypeError.
49 lines of code changed in: