* 2005-10-01
4 lines of code changed in:
* lib/open-uri.rb (OpenURI.open_loop): prohibit multiple proxy
options.
22 lines of code changed in:
* ext/dl/cptr.c (rb_dlptr_s_to_ptr): abolish sizeof(FILE).
[ruby-dev:27317]
6 lines of code changed in:
* lib/open-uri.rb (:proxy_http_basic_authentication): new option.
52 lines of code changed in:
* evalc. (rb_f_send): underscores need to be escaped.
fixed by Doug Kearns. [ruby-core:06053]
6 lines of code changed in:
* 2005-09-29
3 lines of code changed in:
* eval.c (ev_const_get), variable.c (rb_const_get_0): retry only when
autoload succeeded.
* variable.c (rb_autoload_load): now return true if autoload
succeeded. fixed: [ruby-dev:27331]
14 lines of code changed in:
* file.c (rb_stat_inspect): constified.
7 lines of code changed in:
* lib/webrick/cgi.rb (WEBrick::CGI#start): req.query_string should
refer the value of QUERY_STRING. [ruby-list:41186]
* lib/webrick/httprequest.rb (WEBrick::HTTPRequest#query_string=):
add new method.
11 lines of code changed in:
banish a warning.
1 lines of code changed in:
* ext/tk/tcltklib.c: cannot compile with Tcl/Tk8.0.x
[ruby-dev:27335].
11 lines of code changed in:
* lib/yaml/basenode.rb (YAML::BaseNode::match_segment): fix typo.
[ruby-dev:27237], [ruby-core:05854]
* lib/yaml/tag.rb (Module#yaml_as): suppress warnings.
* lib/yaml/types.rb (YAML::PrivateType, YAML::DomainType): ditto.
63 lines of code changed in:
* 2005-09-27
3 lines of code changed in:
* rubysig.h: fixed build problem with --enable-pthread on platforms
which don't have setitimer().
6 lines of code changed in:
* 2005-09-27
3 lines of code changed in:
* io.c: fixed rdoc. [ruby-Bugs:2523]
2 lines of code changed in:
*** empty log message ***
14 lines of code changed in:
* parse.y: changed to ANSI function style.
166 lines of code changed in:
* 2005-09-26
3 lines of code changed in:
* lib/optparse.rb (RequiredArgument#parse): not consume unmatched
argument. fixed [ruby-dev:27316]
16 lines of code changed in:
typo fixed
5 lines of code changed in:
(Rinda::TemplateEntry::initialize): pull up method. Tabs converted to spaces.
105 lines of code changed in:
* parse.y: replaced `foo _((boo))' with `foo(boo)'.
87 lines of code changed in:
banish a warning.
1 lines of code changed in:
* test/rss/test_content.rb, test/rss/test_syndication.rb: use fcall
instead of send in order to override visibility.
13 lines of code changed in:
banish a warning.
5 lines of code changed in:
banish some ripper warnings.
5 lines of code changed in:
* misc/ruby-mode.el (ruby-calculate-indent): arrange deep-indent
closing parenthesis at same column as the opening.
11 lines of code changed in:
* process.c (proc_setrlimit): make the third argument (rlim_max)
optional.
28 lines of code changed in:
* 2005-09-25
3 lines of code changed in:
* misc/ruby-mode.el (ruby-expr-beg): deal with heredoc separately.
fixed: [ruby-list:41168]
* misc/ruby-mode.el (ruby-calculate-indent): not to deepen indent
level for continuous line inside parentheses.
http://nabeken.tdiary.net/20050915.html#p02
15 lines of code changed in:
banish some warnings.
3 lines of code changed in:
* ext/strscan/strscan.c: document enhancement.
* ext/strscan/strscan.c: update copyright year.
* ext/strscan/strscan.c: update coding style.
42 lines of code changed in:
add details
3 lines of code changed in:
* test/net/http/test_http.rb (teardown): ensure that Net::HTTP is version 1.2. [ruby-dev:27312]
10 lines of code changed in:
* 2005-09-24
3 lines of code changed in:
* test/net/http/test_http.rb: new file.
381 lines of code changed in:
banish some warnings.
8 lines of code changed in:
* lib/fileutils.rb (cd): no longer accept :noop option, related code is useless. [ruby-core:05858] [ruby-Bugs:2494]
6 lines of code changed in:
* lib/pathname.rb (Pathname#sub): new method.
13 lines of code changed in:
* lib/fileutils.rb: fix visibility of FileUtils::NoWrite, Verbose, DryRun. [ruby-core:05954]
* test/fileutils/test_nowrite.rb: test it.
* test/fileutils/test_dryrun.rb: new file.
* test/fileutils/test_verbose.rb: new file.
102 lines of code changed in:
* sample/ripper/colorize.rb: removed (replaced by ruby2html.rb).
* sample/ripper/ruby2html.rb: added.
118 lines of code changed in:
* ext/ripper: no longer generates .rb files.
* parse.y (Init_ripper): ripper_init_eventids*() takes 1 argument, self (class Ripper).
* ext/ripper/depend: target removed: `lib/ripper/core.rb'.
* ext/ripper/depend: new target `eventids2table.c'.
* ext/ripper/depend: new target `check'.
* ext/ripper/eventids2.c: include eventids2table.c.
* ext/ripper/eventids2.c: initialize SCANNER_EVENT_TABLE.
* ext/ripper/extconf.rb: update $cleanfiles list.
* ext/ripper/tools/generate.rb: no longer generate ripper/core.rb.
* ext/ripper/tools/generate.rb: new mode `check'.
* ext/ripper/tools/generate.rb: new mode `eventids2table'.
* ext/ripper/lib/ripper/core.rb.in: removed.
* ext/ripper/lib/ripper/core.rb: added.
* ext/ripper/lib/ripper/filter.rb: update copyright year.
* ext/ripper/lib/ripper/lexer.rb: ditto.
* ext/ripper/lib/ripper/sexp.rb: ditto.
186 lines of code changed in:
* ext/ripper/tools/generate.rb, ext/ripper/tools/preproc.rb: StringIO
is not available for miniruby. fixed: [ruby-dev:27307]
69 lines of code changed in:
avoid core dump with WIN32OLE_EVENT.
38 lines of code changed in:
* 2005-09-23
3 lines of code changed in:
* test/ripper/depend: use --output option instead of redirect; nmake does not remove a target when the target file is created by redirect. [ruby-dev:26466]
* test/ripper/tools/preproc.rb: new option --output.
72 lines of code changed in:
* test/ripper/tools/generate.rb: check parser event arity.
* test/ripper/tools/generate.rb: detect crash of parser-event-IDs and scanner-event-IDs.
38 lines of code changed in:
sync scanner event name.
3 lines of code changed in:
remove unexpected debug print
0 lines of code changed in:
build fix (tmp)
2 lines of code changed in:
* test/ruby/test_file.rb: check File#chown(nil,nil). [ruby-dev:27140]
20 lines of code changed in:
forgot to add
180 lines of code changed in:
* ext/ripper: refactoring code generation tools. [ruby-dev:27247] [ruby-dev:27273]
* ext/ripper/depend: use generate.rb.
* ext/ripper/lib/ripper/core.rb: removed.
* ext/ripper/tools/generate-eventids1.rb: removed (code moved to generate.rb).
* ext/ripper/tools/generate-ripper_rb.rb: removed (code moved to generate.rb).
* ext/ripper/tools/list-parse-event-ids.rb: removed (code moved to generate.rb).
* ext/ripper/tools/list-scan-event-ids.rb: removed (code moved to generate.rb).
* ext/ripper/lib/ripper/core.rb: removed.
* ext/ripper: refactoring tests. [ruby-dev:27273]
* ext/ripper/test/check-event-arity.rb: removed (code moved to tools/generate.rb).
* ext/ripper/test/check-event-coverage.rb: removed (code moved to test/ripper/test_parser_events.rb).
* ext/ripper/test/check-scanner-event-coverage.rb: removed (code moved to test/ripper/test_scanner_events.rb).
* ext/ripper/test/list-called-events.rb: removed.
* ext/ripper/test/src_rb: removed.
* ext/ripper/test/validate.rb: removed.
* test/ripper/test_scanner_events.rb: check event coverage.
* ext/ripper/lib/ripper/core.rb.in: update copyright year.
87 lines of code changed in:
* ext/ripper/extconf.rb (have_command): replaced with find_executable.
4 lines of code changed in:
* lib/mkmf.rb (find_executable0): default path if environment is not
set. [ruby-dev:27281]
16 lines of code changed in:
* test/readline/test_readline.rb (TestReadline::replace_stdio):
merged the patch of [ruby-dev:25232] instead of [ruby-dev:25223].
(merged from ruby_1_8 branch)
24 lines of code changed in:
* 2005-09-22
3 lines of code changed in:
* ext/tk/sample/demos-en/tcolor.bak: remove.
0 lines of code changed in:
* lib/mkmf.rb (configuration): generalized nmake dependent code.
11 lines of code changed in:
* ext/ripper/depend (SUFFIXES): no longer needed.
* ext/ripper/depend (c): avoid nmake problem. fixed [ruby-dev:27191]
7 lines of code changed in:
* 2005-09-21
3 lines of code changed in:
* ext/syck/token.c: correctly compute identation of a block
scalar's parent node. [ruby-talk:150620]
120 lines of code changed in:
* README.EXT, README.EXT.ja: add new features.
44 lines of code changed in:
* lib/optparse.rb (default_argv, Arguable#options): defaults strings
to be parsed to Arguable instance.
14 lines of code changed in:
* ChangeLog: tabified.
9 lines of code changed in:
* file.c (rb_stat_inspect): protoized function pointer.
41 lines of code changed in:
* ext/io/wait/lib/nonblock.rb: disable on platforms non-blocking flag
is not available. fixed: [ruby-dev:27187]
18 lines of code changed in:
* eval.c (thread_mark): mark th->last_status. [ruby-dev:27179]
5 lines of code changed in:
* test/webrick/test_cgi.rb: set ENV["PATH"] to CGIEnvPath on
windows. bcc32's runtime is not installed into system directory,
so it cannot be found without this setting. [ruby-dev:27166]
9 lines of code changed in:
* io.c: PIPE_BUF is not defined on BeOS. use _POSIX_PIPE_BUF instead.
[ruby-dev:27185]
13 lines of code changed in:
* ext/syck/emitter.c (syck_scan_scalar): prevent indicators from
appearing alone or at the end of plain scalars. [ruby-core:5826]
* ext/syck/emitter.c (syck_emit_scalar): treat typed scalar nodes
as complex keys.
* lib/syck.h: version 0.60.
* lib/yaml/basenode.rb (YAML::BaseNode#at): transform keys during
key searches.
* ext/syck/rubyext.c: loading of binary-typed nodes. prevent
emission of plain strings that look like symbols, but which aren't.
* ext/syck/emitter.c (syck_emit): passing an int* value to the
long* parameter causes unaligned access on LP64 systems.
[ruby-dev:27161]
395 lines of code changed in:
* test/xmlrpc/test_webrick_server.rb (setup_http_server):
should not include 'webrick/https' unless 'use_ssl' because
it fails where openssl is not installed.
17 lines of code changed in:
* file.c (rb_thread_flock): should have resolved conflict.
0 lines of code changed in:
* 2005-09-20
3 lines of code changed in:
* lib/mathn.rb (Fixnum): remove debug print.
* lib/rational.rb (Rational): ditto.
6 lines of code changed in:
* io.c (io_close): call rb_io_close() directly if io is a T_FILE
object. [ruby-dev:27156]
* file.c (file_expand_path): allow pathnames to expand.
[ruby-dev:27152]
* numeric.c (Init_Numeric): should define Fixnum#div.
[ruby-dev:27129]
* file.c (rb_thread_flock): wrap flock(2) by TRAP_BEG and
TRAP_END. [ruby-dev:27122]
* file.c (rb_file_join): call FilePathValue() to all Pathnames to
join. [ruby-dev:27127]
* file.c (rb_get_path): call StringValueCStr() to ensure no nul
bytes in path strings.
* gc.c (garbage_collect): need value for return. [ruby-dev:27127]
56 lines of code changed in:
* file.c (rb_file_chown): should accept nil. [ruby-dev:27171]
7 lines of code changed in:
not ruby-dev, but ruby-list. [ruby-list:41054]
1 lines of code changed in:
* lib/find.rb: should raise ENOENT if root entry does not exist. [ruby-dev:41054]
3 lines of code changed in:
* ext/ripper/depend: do not make ripper/core.rb. [ruby-dev:26462]
12 lines of code changed in:
* ext/ripper/eventids2.c: add prefix `t' to lambda related lexer events.
* ext/ripper/lib/ripper/core.rb: updated.
31 lines of code changed in:
forgot to check-in
1 lines of code changed in:
* parse.y (do_block): do_block event dispatches 2 args. [ruby-dev:26964]
* ext/ripper/lib/ripper/core.rb: updated.
* ext/ripper/tools/list-parser-event-ids.rb: check arity mismatch.
20 lines of code changed in:
additional ChangeLog for rb_w32_select
17 lines of code changed in:
* ext/openssl/ossl_pkey.h, ossl_pkey_rsa.c, ossl_pkey_dsa.c:
an instance variable "private" is added to OpenSSL::PKey class.
this ivar is a flag that shows whether there is a private key
in the instance.
* ext/openssl/ossl_engine.c: (ossl_engine_load_privkey): set private
key flag.
42 lines of code changed in:
* lib/fileutils.rb: method renaming: collect_methods -> collect_method.
10 lines of code changed in:
* lib/fileutils.rb: use module_function instead of single extend.
* test/fileutils/test_fileutils.rb: test existence of singleton methods.
258 lines of code changed in:
* lib/fileutils.rb (remove_entry_secure): does not use chdir(2).
35 lines of code changed in:
* 2005-09-19
3 lines of code changed in:
* file.c (rb_thread_flock): wrap the flock system call by
TRAP_BEG/TRAP_END to enable signals. [ruby-dev:27122]
* ext/socket/socket.c (bsock_send): wrap the sendto and send system
call by TRAP_BEG/TRAP_END to enable signals when writing to a socket
which is full. [ruby-dev:27132]
* io.c (rb_io_syswrite): wrap the write system call by
TRAP_BEG/TRAP_END to run signal hander in syswrite method.
[ruby-dev:27134]
24 lines of code changed in:
* ChangeLog: fix typo.
1 lines of code changed in:
* win32/win32.c (rb_w32_select): documented problem.
13 lines of code changed in:
* lib/yaml/rubytypes.rb: remove comments that are bungling up
the rdoc and ri output. output symbols as plain scalars.
* ext/syck/rubyext.c (syck_emitter_reset): emit headless
documents always.
* ext/syck/emitter.c (syck_scan_scalar): quote scalars with any
kind of surrounding line space, tabs or spaces alike.
* ext/syck/token.c: accept tabs as whitespace, not for indentation,
but strip from plain scalars.
* test/yaml/test_yaml.rb: remove outdated tests.
534 lines of code changed in:
* ChangeLog: commit miss, forgot to add log for file.c.
3 lines of code changed in:
* gc.c (garbage_collect): return false if no GC run.
1 lines of code changed in:
* file.c (rb_file_join): convert components by to_s instead of to_str.
fixed: [ruby-dev:27127]
2 lines of code changed in:
* gc.c (garbage_collect): return false if no GC run.
6 lines of code changed in:
* 2005-09-18
3 lines of code changed in:
* lib/mathn.rb (Rational::inspect): should preserve original
operand. [ruby-core:05806]
11 lines of code changed in:
* test/socket/test_tcp.rb (TestTCPSocket::test_recvfrom): typo
fixed. [ruby-dev:27123]
* string.c (rb_str_substr): should propagate taintness even for
empty strings. [ruby-dev:27121]
* string.c (rb_str_aref): should infect result if range argument
is tainted. [ruby-dev:27121]
26 lines of code changed in:
* win32/win32.c (rb_w32_select): fixed deadlock bug.
because select(2) modifies its fd_set arguments, it must be
restored sometimes.
43 lines of code changed in:
* 2005-09-17
3 lines of code changed in:
no message
2 lines of code changed in:
* test/ruby/test_readpartial.rb (test_open_pipe, test_with_stdio):
these tests are working now, so turned on. (windows)
5 lines of code changed in:
* win32/win32.c (rb_w32_select): I hope performance problem was
solved.
29 lines of code changed in:
* win32/win32.c (rb_w32_select): console support is back.
but still has performance problem because I loosely took 1 second
for wait time. I'll fix it later. (The reason I drastically changed
the code is that I wanted to implement the fileset management as
single function, and I was worried that if pipe or console
was always available, socket may not be processed any time)
51 lines of code changed in:
* win32/win32.c (rb_w32_select): select for socket didn't work.
this caused deadlock in drb test. this happened because GetFileType
for socket handle returns FILE_TYPE_PIPE. Of course, it's not a
pipe. So socket handle didn't reach winsock's select function.
* win32/win32.c (rb_w32_select): read for pipe still kept brocking
even if writer handle was closed.
r,w = IO.pipe
Thread.new {
sleep 3; puts "------- 1"
w.puts("foo")
sleep 3; puts "------- 2"
w.puts("boo")
sleep 3; puts "------- 3"
w.close
}
until r.eof? # should break by w.close but didn't.
puts r.gets
end
* win32/win32.c (rb_w32_select): temprary reverted console support
but it'll be back soon.
128 lines of code changed in:
* ext/tk/lib/multi-tk.rb: MultiTkIp#eval_string and bg_eval_string
should call Kernel.eval on caller's safe-level instead of slave's
safe-level (Of course, the given script should be evaluated on
slave's safe-level).
12 lines of code changed in:
* lib/rss/maker/base.rb (RSS::Maker::ItemsBase#normalize): fixed
strange RSS::Maker::Item#max_size behavior.
Thanks to Kazuhiko <kazuhiko@fdiary.net>.
* test/rss/test_maker_1.0.rb (RSS::TestMaker10#test_items): ditto.
67 lines of code changed in:
* lib/net/imap.rb: supported DIGEST-MD5. Thanks, Mathieu Arnold.
* lib/net/imap.rb: use fcall instead of send. Thanks, Satoru
Takabayashi.
117 lines of code changed in:
* dir.c (rb_push_glob): fix delimiter bug. fixed: [ruby-dev:27105]
* dir.c (dir_s_aref, dir_s_glob): allow multiple patterns.
[ruby-dev:27110]
* win32/win32.c (cmdglob): enable brace expansion.
121 lines of code changed in: