* 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:
* gc.c (rb_memerror, ruby_xmalloc, ruby_xrealloc, rb_newobj): just
abondon if no memoray available, when interpreter is not running.
[ruby-dev:27104]
* gc.c (garbage_collect): return whether GC could run.
22 lines of code changed in:
* file.c (rb_file_s_extname): empty string for path name ending with a
period. fixed: [ruby-core:05651]
* file.c (rb_file_join): smarter behavior at edge cases.
fixed: [ruby-core:05706]
21 lines of code changed in:
* ext/syck/node.c (syck_replace_str): was using return from the
void function. a patch from MIYAMUKO Katsuyuki
<miyamuko@mtb.biglobe.ne.jp>. [ruby-dev:27111]
7 lines of code changed in:
* ext/bigdecimal/bigdecimal.c: patch from "NATORI Shin"
(u-tokyo.ac.jp) applied to fix rounding bug.
43 lines of code changed in:
* ext/tk/lib/multi-tk.rb: fix typo on MultiTkIp#bg_eval_string
6 lines of code changed in:
* ext/syck/rubyext.c (syck_resolver_transfer): remove C++ style
comment (//). [ruby-core:05793]
* lib/net/telnet.rb (Net::Telnet::waitfor): replace sysread with
readpartial. [ruby-talk:127641]
26 lines of code changed in:
* test/logger/test_logger.rb: unintentionally overwritten changes by
Usa. reverted.
7 lines of code changed in:
* 2005-09-16
3 lines of code changed in:
forgot to update some files in the previous soap4r-1.5.5 import.
113 lines of code changed in:
* lib/webrick/cgi.rb (WEBrick::CGI::Socket#initialize): should set
$stdout.binmode.
6 lines of code changed in:
* lib/{soap,wsdl,xsd}, test/{soap,wsdl,xsd}: imported soap4r/1.5.5.
#nnn is a ticket number at http://dev.ctor.org/soap4r
* SOAP
* allow to configure an envelope namespace of SOAP request. (#124)
TemporaryNamespace = 'http://www.w3.org/2003/05/soap-envelope'
@client.options["soap.envelope.requestnamespace"] =
TemporaryNamespace
@client.options["soap.envelope.responsenamespace"] =
TemporaryNamespace
@client.do_proc(...)
* let SOAP request XML indent space configuable. see
"soap.envelope.no_indent" option. (#130)
* let external CES configuable.
ex. client["soap.mapping.external_ces"] = 'SJIS'. $KCODE is used
by default. (#133)
external CES ::= CES used in Ruby object of client and server
internal CES ::= CES used in SOAP/OM
* add iso-8859-1 external CES support. (#106)
* fixed illegal 'qualified' handling of elements. it caused
ASP.NET inteoperability problem. (#144)
* added 'soap.envelope.use_numeric_character_reference' (boolean)
option to let query XML use numeric character reference in XML,
not plain UTF-8 character. !GoogleSearch server seems to not
allow plain UTF-8 character since 2005-08-15 update. (#147)
* SOAP::Header::SimpleHeader (de)serialization throws an exception
on !SimpleHeader.on_(in|out)bound when header is a String. so we
could not use a simple single element headerItem. fixed. thanks
to emil. (#129)
* out parameter of rpc operation did not work. (#132)
* follow HTTP redirect only if using http-access2. (#125) (#145)
* add a workaround for importing an WSDL whose path begins with
drive letter. (#115)
* WSDL
* SOAP Data which is defined as a simpletype was not mapped
correctly to Ruby obj when using wsdl2ruby.rb generated classdef
file. (#123)
* rpc/literal support. (#118)
* re-implemented local element qualify/unqualify control. handles
elementFormDefault and form in WSDL. (#119)
* Array of an element which has simpleType causes a crash. (#128)
* prarmeterOrder may not contain return part so it can be shorter
than parts size. Thanks to Hugh. (#139)
* Samples
* added !BasicAuth client sample. (#117)
* added Base64 client/server sample.
* added Flickr SOAP interface client sample. (#122)
* added !SalesForce client sample. (#135)
* updated Thawte CA certificate for !GoogleAdWords sample.
* updated a client script with the newer version made by Johan.
thanks!
* shortened long file names. (#120)
* fixed typo in authheader sample. (#129)
* updated deprecated method usage. (#138)
3853 lines of code changed in:
* test/ruby/test_signal.rb (test_exit_action): skip the test using
fork on fork-less platforms.
15 lines of code changed in:
* lib/open-uri.rb: add :read_timeout option.
[ruby-core:4848]
16 lines of code changed in:
* ext/tk/lib/tk/dialog.rb: If a dialog does not show up yet,
TkDialogObj#name raises an exception. [ruby-talk:156109]
13 lines of code changed in:
* 2005-09-15
3 lines of code changed in:
* win32/win32.c (rb_w32_pipe_exec): remove unnecessary CloseHandle().
* win32/win32.c (extract_console_fd, peek_console): new functions.
* win32/win32.c (rb_w32_select): check consoles by polling them.
102 lines of code changed in:
* win32/win32.c (collect_file_fd): rename from extract_file_fd.
* win32/win32.c (extract_pipe_fd, peek_pipe): new functions.
* win32/win32.c (rb_w32_select): check pipes by polling them.
136 lines of code changed in:
* dir.c (ruby_glob): glob function not using ruby exception system.
60 lines of code changed in:
* dir.c: changed `foo (*bar)_((boo))' to `foo (*bar)(boo)`.
* enumerator.c, eval.c, gc.c, intern.h, io.c, process.c, ruby.c,
ruby.h, signal.c: ditto.
30 lines of code changed in:
* 2005-09-14
3 lines of code changed in:
* bignum.c: changed `foo _((boo))' to `foo(boo)`. [ruby-dev:27056]
* defines.h, dir.c, dln.h, enumerator.c, env.h, error.c, eval.c, file.c,
gc.c, hash.c, inits.c, intern.h, io.c, lex.c, marshal.c, missing.h,
node.h, numeric.c, pack.c, process.c, re.h, ruby.c, ruby.h, rubyio.h,
rubysig.h, signal.c, sprintf.c, st.h, string.c, struct.c, time.c,
util.c, util.h, variable.c: ditto.
826 lines of code changed in:
* lib/logger.rb (Logger): added formatter accessor to logger for
dictating the way in which the logger should format the messages it
displays. Thanks to Nicholas Seckar (cf. [ruby-talk:153391]) and
Daniel Berger.
* lib/logger.rb (Logger): added VERSION constant.
* lib/logger.rb: removed document for LogDevice. It is an
implementation detail and is not a public interface.
* test/logger/test_logger.rb: added tests.
109 lines of code changed in:
* eval.c (BEGIN_CALLARGS): pop halfly pushed status.
fixed: [ruby-dev:26881]
11 lines of code changed in:
* test/socket/test_socket.rb (test_listen): missed to modify.
* test/socket/test_udp.rb (test_bind): ditto.
2 lines of code changed in:
* ruby.h (PRINTF_ARGS): new macro for printf style argument checking.
25 lines of code changed in:
* lib/net/http.rb: wrote docuemntation of HTTPRequest/HTTPResponse classes.
126 lines of code changed in:
* string.c, missing.h: failed to build on powerpc-apple-darwin7.9.0
because of crypt argument's constness mismatch. (I hope this works)
(http://mput.dip.jp/autobuild/ruby-trunk/log/20050913T110001.gz)
8 lines of code changed in:
* lib/yaml.rb: reworking YAML::Stream to use the new
emitter.
* lib/yaml/stream.rb: ditto.
* lib/yaml/rubytypes.rb: added Object#yaml_new.
* lib/yaml/tag.rb: the tag_subclasses? method now
shows up in the class. allow taguri to be set using an accessor.
continue support of Object#to_yaml_type.
* ext/syck/rubyext.c: new emitter code. yaml_new and yaml_initialize
get called, should they be present. consolidated all the diaspora of internal
node types into the family below YAML::Syck::Node -- Map,
Seq, Scalar -- all of whom are SyckNode structs pointing to
Ruby data. moved Object#yaml_new into the node_import and made it the
default behavior. the target_class is always called wih yaml_new, prepended
a parameter, which is the klass. loaded nodes through GenericResolver show their style.
new Resolver#tagurize converts type ids to taguris.
* ext/syck/implicit.re: were 'y' and 'n' seriously omitted??
* ext/syck/emitter.c: renovated emitter, walks the tree in advance.
consolidated redundant block_styles struct into
the scalar_style struct. (this means loaded nodes can now
be sent back to emitter and preserve at least its very basic
formatting.)
* ext/syck/gram.c: headless documents of any kind allowed.
* ext/syck/node.c: new syck_replace_str methods and syck_empty_*
methods for rewriting node contents, while keeping the ID
and other setup info. added syck_seq_assign.
* ext/syck/syck.h: reflect block_styles and new node functions.
4279 lines of code changed in:
Removal of lib/yaml/baseemitter.rb was accidental.
247 lines of code changed in:
* lib/yaml.rb: reworking YAML::Stream to use the new
emitter.
* lib/yaml/stream.rb: ditto.
* lib/yaml/rubytypes.rb: added Object#yaml_new.
* lib/yaml/tag.rb: the tag_subclasses? method now
shows up in the class. allow taguri to be set using an accessor.
continue support of Object#to_yaml_type.
* ext/syck/rubyext.c: new emitter code. yaml_new and yaml_initialize
get called, should they be present. consolidated all the diaspora of internal
node types into the family below YAML::Syck::Node -- Map,
Seq, Scalar -- all of whom are SyckNode structs pointing to
Ruby data. moved Object#yaml_new into the node_import and made it the
default behavior. the target_class is always called wih yaml_new, prepended
a parameter, which is the klass. loaded nodes through GenericResolver show their style.
new Resolver#tagurize converts type ids to taguris.
* ext/syck/implicit.re: were 'y' and 'n' seriously omitted??
* ext/syck/emitter.c: renovated emitter, walks the tree in advance.
consolidated redundant block_styles struct into
the scalar_style struct. (this means loaded nodes can now
be sent back to emitter and preserve at least its very basic
formatting.)
* ext/syck/gram.c: headless documents of any kind allowed.
* ext/syck/node.c: new syck_replace_str methods and syck_empty_*
methods for rewriting node contents, while keeping the ID
and other setup info. added syck_seq_assign.
* ext/syck/syck.h: reflect block_styles and new node functions.
38 lines of code changed in:
* lib/ostruct.rb (new_ostruct_member): Object#send no longer call
private methods. [ruby-dev:27044]
* test/rss/test_dublincore.rb, test/rss/test_trackback.rb,
test/ruby/test_eval.rb, test/socket/test_socket.rb: ditto.
* test/ruby/test_lambda (test_call_with_block): lambda makes new scope
for formal block parameter.
20 lines of code changed in:
* test/socket/test_{udp,socket}.rb: revert unintentional commit.
2 lines of code changed in:
* test/testunit/test_assertions.rb: revert unintentional commit.
1 lines of code changed in:
* eval.c (proc_save_safe_level): no need to restrict safe level
memoize in $SAFE>=3. [ruby-dev:27050]
14 lines of code changed in:
* test/dbm/test_dbm.rb: remove locking test, which may not be
supported on some platforms. [ruby-dev:27030]
7 lines of code changed in:
* test/dbm/test_dbm.rb: remove locking test, which may not be
supported on some platforms. [ruby-dev:27030]
0 lines of code changed in:
2005-09-13
3 lines of code changed in:
* file.c (apply2files): stricter callback definition.
* file.c (rb_path_check): constified.
31 lines of code changed in:
* test/openssl/test_pkcs7.rb (test_enveloped): skip this test
to avoid a bug of PKCS7_enctypt() (only if ext/openssl is
compiled with OpenSSL-0.9.7d or earlier versions).
http://www.mail-archive.com/openssl-dev@openssl.org/msg17376.html
13 lines of code changed in:
* win32/win32.[hc] (rb_w32_argv_size, ...): reverted my latest change
to avoid incompatible pointer warning. (mingw32)
16 lines of code changed in:
* dln.c: avoid warning of const to non-const convertion.
[ruby-dev:27041]
* eval.c, io.c, ruby.c: ditto.
30 lines of code changed in:
2005-09-12
3 lines of code changed in:
* array.c: moved to ANSI function style from K&R function style.
(used protoize on windows, so still K&R remains on #ifdef part of
other platforms. And `foo _((boo))' stuff is still there)
[ruby-dev:26975]
* bignum.c, class.c, compar.c, dir.c, dln.c, dmyext.c, enum.c,
enumerator.c, error.c, eval.c, file.c, gc.c, hash.c, inits.c,
io.c, main.c, marshal.c, math.c, numeric.c, object.c, pack.c,
prec.c, process.c, random.c, range.c, re.c, regcomp.c, regenc.c,
regerror.c, regexec.c, regparse.c, regparse.h, ruby.c, signal.c,
sprintf.c, st.c, string.c, struct.c, time.c, util.h, variable.c,
version.c: ditto.
2211 lines of code changed in:
* lib/net/imap.rb (starttls): supported the STARTTLS command.
22 lines of code changed in:
set ERB#filename so that it is used when reporting syntax/runtime errors.
Tabs converted to spaces.
82 lines of code changed in:
2005-09-11
3 lines of code changed in:
* array.c: protoize.
* eval.c (splat_value): simpler and consistent array conversion
for argument splat. [yarv-dev:599]
149 lines of code changed in:
2005-09-10
3 lines of code changed in:
tiny ChangeLog fix
1 lines of code changed in:
* ext/iconv/iconv.c (iconv_try), ext/iconv/extconf.rb: get rid of meta
characters in command line option. fixed: [ruby-talk:155369]
* ext/iconv/iconv.c: protoized.
41 lines of code changed in:
2005-09-09
3 lines of code changed in:
* string.c (rb_str_times): make empty strings to keep taintness,
and a little improvement. [ruby-dev:26900]
9 lines of code changed in:
* merged a patch from Takahiro Kambe <taca@back-street.net> to
support DragonFly BSD. [ruby-dev:26984]
6 lines of code changed in:
* missing/strchr.c (strrchr): fixed a bug for detecting NUL in a
string. [ruby-dev:26985]
* string.c (rb_str_times): should taint empty strings as well.
* object.c (Init_Object): make class_variable_{get,set} public.
[ruby-dev:26965]
20 lines of code changed in:
* missing/strchr.c (strrchr): fixed a bug in detecting NUL in a
string. [ruby-dev:26985]
* string.c (rb_str_times): should taint empty strings as well.
* object.c (Init_Object): make class_variable_{get,set} public.
[ruby-dev:26965]
3 lines of code changed in:
Added .document file for lib/uri.
Added mathew's patches to test_ftp.rb
Fixed a minor typo in getoptlong.rb
29 lines of code changed in:
2005-09-08
3 lines of code changed in:
* ext/openssl/ossl_engine.c (ossl_engine_s_by_id):
OpenSSL::Engine.by_id calls given block before calling ENGINE_init
(block parameter is the return value of this method itself).
this functionality is useful to load dynamic shared engines.
require "openssl"
pkcs11 = OpenSSL::Engine.by_id("dynamic"){|e|
e.ctrl_cmd("SO_PATH", "/usr/lib/opensc/engine_pkcs11.so")
e.ctrl_cmd("LIST_ADD", "1")
e.ctrl_cmd("LOAD")
}
pkcs11.ctrl_cmd("PIN", "secret")
key = pkcs11.load_private_key
* ext/openssl/ossl_engine.c (ossl_engine_ctrl_cmd): new method
OpenSSL::Engine#ctrl_cmd. it wraps ENGINE_ctrl_cmd_string.
* ext/openssl/ossl_engine.c (ossl_engine_get_cmds): new method
OpenSSL::Engine#cmds. it returms engine command definitions.
22 lines of code changed in:
* ext/openssl/ossl_engine.c (ossl_engine_s_by_id):
OpenSSL::Engine.by_id calls given block before calling ENGINE_init
(block parameter is the return value of this method itself).
this functionality is useful to load dynamic shared engines.
require "openssl"
pkcs11 = OpenSSL::Engine.by_id("dynamic"){|e|
e.ctrl_cmd("SO_PATH", "/usr/lib/opensc/engine_pkcs11.so")
e.ctrl_cmd("LIST_ADD", "1")
e.ctrl_cmd("LOAD")
}
pkcs11.ctrl_cmd("PIN", "secret")
key = pkcs11.load_private_key
* ext/openssl/ossl_engine.c (ossl_engine_ctrl_cmd): new method
OpenSSL::Engine#ctrl_cmd. it wraps ENGINE_ctrl_cmd_string.
* ext/openssl/ossl_engine.c (ossl_engine_get_cmds): new method
OpenSSL::Engine#cmds. it returms engine command definitions.
58 lines of code changed in:
* ext/openssl/ossl_asn1.c (asn1str_to_str): new function.
* ext/openssl/ossl_pkcs7.c: new class OpenSSL::PKCS7::RecipientInfo.
this class wraps PKCS7_RECIP_INFO struct.
* ext/openssl/ossl_pkcs7.c: OpenSSL::PKCS7::Signer is renamed to
OpenSSL::PKCS7::SignerInfo. ("Signer" remains as an alias of
SignerInfo.)
* test/openssl/test_pkcs7.rb: new file.
329 lines of code changed in:
* lib/open-uri.rb: abolish mod === tempfile to avoid a problem
[ruby-dev:26967].
7 lines of code changed in:
* eval.c (rb_thread_switch): convert all exceptions to
SystemExit. fixed: [ruby-core:05724]
* eval.c (rb_thread_terminated): show backtrace before propagate
exceptions to main thread.
12 lines of code changed in:
* win32/win32.[hc] (rb_w32_utime): constified.
* win32/win32.h (rb_w32_stat): added prototype.
* win32/win32.[hc] (rb_w32_argv_size,rb_w32_join_argv,rb_w32_aspawn):
changed `char *const *' to `const char *const *'. (constify string)
25 lines of code changed in:
* lib/mkmf.rb (what_type?): guesstimate type.
* ext/etc/etc.c (setup_passwd), ext/etc/extconf.rb: pw_age might be
char*. fixed: [ruby-core:05470]
78 lines of code changed in:
* Makefile.in, configure.in (MINIOBJS): miniruby on HP-UX can not load
extension libraries.
* bignum.c (bignew_1, bigadd): K&R style argument actually can't be
defined as char.
* missing/vsnprintf.c: ANSI compiler supports const keyword.
* ext/digest/sha2/extconf.rb: reject platforms which has inttypes.h
but no 64bit integer.
23 lines of code changed in:
2005-09-07
3 lines of code changed in:
fix.
0 lines of code changed in:
add a test to parse files by ripper.
20 lines of code changed in:
2005-09-06
3 lines of code changed in:
document a blocking behavior of IO#eof?.
21 lines of code changed in:
* parse.y (stmt, mlhs_node, lhs, arg, method_call): aref_args might be
nothing. fixed: [ruby-dev:26952]
* ext/ripper/eventids2.c: added new tokens. fixed: [ruby-dev:26952]
44 lines of code changed in:
* lib/observer.rb: a patch from nornagon <nornagon@gmail.com>
merged to allow arbitrary names for update methods.
[ruby-core:05416]
* eval.c (rb_f_fcall): new method to avoid inefficiency of
obj.instance_eval{send(...)} tricks.
75 lines of code changed in:
* lib/ostruct.rb: a patch from Florian Gross <florgro@gmail.com>
merged to allow recursive inspect (and to_s) for OpenStruct.
[ruby-core:05532]
* lib/observer.rb: a patch from nornagon <nornagon@gmail.com>
merged to allow arbitrary names for update methods.
[ruby-core:05416]
* eval.c (rb_f_fcall): new method to avoid inefficiency of
obj.instance_eval{send(...)} tricks.
47 lines of code changed in:
* lib/observer.rb: a patch from nornagon <nornagon@gmail.com>
merged to allow arbitrary names for update methods.
[ruby-core:05416]
* eval.c (rb_f_fcall): new method to avoid inefficiency of
obj.instance_eval{send(...)} tricks.
1 lines of code changed in:
* ext/openssl/openssl/lib/openssl/buffering.rb (Buffering#do_write):
should clear data from the buffer which already been output.
6 lines of code changed in:
2005-09-05
3 lines of code changed in:
2005-09-04
3 lines of code changed in:
* parse.y (f_arg): Ripper should not do semantic check. [ruby-dev:26948]
8 lines of code changed in:
* lib/pathname.rb (Pathname#descend): Pathname.new("./a/b/c").descend
didn't yield "."
(Pathname#ascend): ditto.
35 lines of code changed in:
2005-09-03
3 lines of code changed in:
* lib: do not use __send__ to access private methods. [ruby-dev:26935]
47 lines of code changed in:
2005-09-02
3 lines of code changed in:
* parse.y (f_arg): f_norm_arg is a VALUE in ripper, not an ID.
fixed: [ruby-dev:26942]
23 lines of code changed in:
* eval.c (rb_call0): wrong condition for $SAFE restoration.
6 lines of code changed in:
* ext/tk/lib/multi-tk.rb: On Tcl8.5, MultiTkIp#invoke_hidden doesn't
work (gives wrong order of arguments).
* ext/tk/lib/multi-tk.rb: add MultiTkIp#invoke_hidden_on_namespace
to support '-namespace' option of 'interp invokehidden' command
on Tcl8.5.
31 lines of code changed in:
2005-09-01
4 lines of code changed in: