2004-04-30
3 lines of code changed in:
* time.c (SIZEOF_TIME_T): support SIZEOF_TIME_T == SIZEOF_INT.
6 lines of code changed in:
* oniguruma.h, regparse.c: imported Oni Guruma 2.2.8.
9 lines of code changed in:
This commit was generated by cvs2svn to compensate for changes in r6231,
which included commits to RCS files with non-trunk default branches.
44 lines of code changed in:
* oniguruma.h, regparse.c: imported Oni Guruma 2.2.7.
14 lines of code changed in:
This commit was generated by cvs2svn to compensate for changes in r6227,
which included commits to RCS files with non-trunk default branches.
25 lines of code changed in:
This commit was generated by cvs2svn to compensate for changes in r6225,
which included commits to RCS files with non-trunk default branches.
73 lines of code changed in:
* common.mk: LIBURUBY_A is needed for extconf.rb even when
cross-compiling.
6 lines of code changed in:
2004-04-27
3 lines of code changed in:
* lib/yaml/rubytypes.rb: passing Range tests.
* ext/syck/syck.h: version 0.44.
* ext/syck/gram.c: transfers no longer open an indentation.
fixed transfers which precede blocks.
* ext/syck/token.c: ditto.
* ext/syck/syck.c: fixed segfault if an anchor has been released already.
* ext/syck/node.c (syck_free_members): organized order of free'd nodes.
* ext/syck/rubyext.c (syck_emitter_write_m): test for proper string with
StringValue.
430 lines of code changed in:
add tests.
27 lines of code changed in:
2004-04-26
3 lines of code changed in:
* README.EXT, README.EXT.ja: fixed wrong function signature.
[ruby-talk:98349]
7 lines of code changed in:
Alias alias to instance methods
11 lines of code changed in:
2004-04-25
3 lines of code changed in:
* configure.in (ac_cv_func_fork): set to no on DJGPP.
5 lines of code changed in:
re.c: applied stack error handling patch. [ruby-dev:22431]
13 lines of code changed in:
2004-04-24
3 lines of code changed in:
Fix bug where consecutive headings were merged
6 lines of code changed in:
* Non-String attributes are now converted to Strings; this means code such as
elem.attributes["a"] = 1
will not cause an error when dumping the XML. It also means that:
elem.attributes["a"] # => "1", not 1
* Transitive indenting has been cleaned up.
* Fixed a potential bug in parsing non-ASCII encoded streams
* Fixed a bug where trying to fill in ParseException data was causing an
IO error (stream closed)
* Changes to Text mean that Element (and Text) can be used outside of a
Document context.
* In some rare cases, the base parser wasn't reading enough bytes from the
stream for the parsing algorithm to work properly. This has been fixed
(this was Ruby bug #48426)
49 lines of code changed in:
* lib/mkmf.rb: $hdrdir should not contain macros, for backward
compatibility. [bruby-dev:28]
* lib/mkmf.rb (create_makefile): in the case of extout, just copy
script files, without comparison.
11 lines of code changed in:
* lib/pathname.rb: sync taint/freeze flag between
a pathname object and its internal string object.
38 lines of code changed in:
* parse.y (stmt, arg, aref_args): should not make sole splat into
array, in aref_args other than aref with op_asgn.
11 lines of code changed in:
2004-04-23
3 lines of code changed in:
* lib/resolv.rb: don't use Regexp#source to embed regexps.
[ruby-dev:23432]
11 lines of code changed in:
* common.mk, ext/extmk.rb: make ext and .ext get removed by distclean.
10 lines of code changed in:
2004-04-22
3 lines of code changed in:
* */Makefile.sub (distclean-local): should remove $(RBCONFIG).
7 lines of code changed in:
* parse.y (aref_args): should pass expanded list. [ruby-core:02793]
4 lines of code changed in:
* eval.c (rb_mod_define_method): allow binding methods to modules.
[ruby-dev:23410]
7 lines of code changed in:
check hash tuple size
32 lines of code changed in:
* lib/open-uri.rb (URI::HTTP#proxy_open): set Host: field explicitly.
19 lines of code changed in:
* lib/net/smtp.rb: merge SMTP-TLS patch. This patch is contributed by Daniel Hob. [ruby-core:02789]
158 lines of code changed in:
* lib/net/smtp.rb: change coding style: def m( a ) -> def m(a).
31 lines of code changed in:
* lib/net/pop.rb: do not use class variables.
* lib/net/pop.rb (do_start): ensure to clean up connection when authentication failed.
65 lines of code changed in:
* lib/net/http.rb (connect): CONNECT must precede SSL connect. [ruby-dev:23379]
* lib/net/http.rb (HTTP.new): class variables are not inherited now.
41 lines of code changed in:
* lib/test/unit/ui/console/testrunner.rb (test_started): restore $0
after changing process title. [ruby-talk:97426]
7 lines of code changed in:
* process.c: Recover wrongly removed spaces at end of the lines.
158 lines of code changed in:
2004-04-21
3 lines of code changed in:
* process.c(rb_spawn): fix SEGV at "p system('command line here')"
(may happen only in bccwin32) [ruby-dev:23380]
162 lines of code changed in:
* dir.c: Updated RDocs.
3 lines of code changed in:
2004-04-19
3 lines of code changed in:
* dir.c: Updated RDocs.
35 lines of code changed in:
* dln.c, io.c, pack.c, lib/benchmark.rb, lib/cgi.rb, lib/csv.rb,
lib/date.rb, lib/ftools.rb, lib/getoptlong.rb, lib/logger.rb,
lib/matrix.rb, lib/monitor.rb, lib/set.rb, lib/thwait.rb,
lib/timeout.rb, lib/yaml.rb, lib/drb/drb.rb, lib/irb/workspace.rb,
lib/net/ftp.rb, lib/net/http.rb, lib/net/imap.rb, lib/net/pop.rb,
lib/net/telnet.rb, lib/racc/parser.rb, lib/rinda/rinda.rb,
lib/rinda/tuplespace.rb, lib/shell/command-processor.rb,
lib/soap/rpc/soaplet.rb, lib/test/unit/testcase.rb,
lib/test/unit/testsuite.rb: typo fix.
79 lines of code changed in:
Allow for HAVE_PROTOTYPES macro
17 lines of code changed in:
Change :enddoc: to terminate processing of current file
27 lines of code changed in:
* lib/drb/drb.rb (DRb::DRbUnknown::initialize): Exception#to_str is
deprecated.
* lib/drb/drb.rb (DRb::DRbServer::InvokeMethod::perform): multiple
value class changed.
* lib/drb/invokemethod.rb (DRb::DRbServer::InvokeMethod18Mixin::block_yield):
ditto.
15 lines of code changed in:
2004-04-16
3 lines of code changed in:
* ext/extmk.rb: skip linking when libraries to be preloaded not
compiled. [ruby-list:39561]
7 lines of code changed in:
* process.c (pst_success_p): new method Process::Status#success?.
[ruby-dev:23385]
1 lines of code changed in:
Add ruby-dev number.
2 lines of code changed in:
* rubytest.rb: do nothing while cross-compiling, return status in
system independent style.
12 lines of code changed in:
* process.c (pst_success_p): new method Process::Status#success?.
[ruby-dev:23385]
26 lines of code changed in:
2004-04-15
3 lines of code changed in:
* dir.c (rb_push_glob): Dir.glob() should return nil if block is given.
(http://www.ruby-lang.org/ja/man/index.cgi?cmd=view;name=Dir)
* dir.c (push_braces): Dir.glob() should handle '{ }' nested more than
3 times.
* dir.c (push_braces, rb_push_glob): Dir.glob() should handle escaped
'{' and '}' and ','.
47 lines of code changed in:
add test/gdbm/test_gdbm.rb.
1 lines of code changed in:
add a gdbm test for [ruby-dev:23381]
33 lines of code changed in:
* ext/gdbm/gdbm.c (Init_gdbm): define GDBM::READER, GDBM::WRITER,
GDBM::WRCREAT and GDBM::NEWDB.
(fgdbm_initialize): use specified read/write flag.
30 lines of code changed in:
* array.c, enum.c, eval.c, file.c, io.c, numeric.c, object.c, prec.c,
process.c, re.c, string.c: typos in RDoc comments. [ruby-core:02783]
24 lines of code changed in:
* numeric.c (flo_eq): workaround for bcc32's bug.
(ruby-bugs-ja:PR#594)
8 lines of code changed in:
2004-04-14
3 lines of code changed in:
* defines.h: include <net/socket.h> to get fd_set definition in BeOS.
9 lines of code changed in:
change pattern matching [druby-ja:98]
12 lines of code changed in:
* bcc32/Makefile.sub (PHONY): Borland make disallows empty command
rules.
7 lines of code changed in:
* lib/net/http.rb (begin_transport): should not overwrite HTTP request header. [ruby-list:39543]
8 lines of code changed in:
* lib/net/pop.rb: merge POP3S patch. This patch is contributed by Daniel Hobe.
128 lines of code changed in:
2004-04-13
3 lines of code changed in:
* common.mk: changed the order of ascii.c alphabetically.
8 lines of code changed in:
enable document for Kernel.open.
1 lines of code changed in:
* gc.c (rb_gc_copy_finalizer): typo. [ruby-core:02774]
5 lines of code changed in:
* ext/openssl/ossl_x509name.c (ossl_x509name_init_i): should return a value.
7 lines of code changed in:
2004-04-12
3 lines of code changed in:
* dir.c (rb_glob2, rb_glob, push_globs, push_braces, rb_push_glob):
fix memory leak to occur when block is interrupted in Dir.glob.
27 lines of code changed in:
ML reference
1 lines of code changed in:
2004-04-11
3 lines of code changed in:
* ruby.c (require_libraries): restore source file/line after
statically linked extensions initialized.
11 lines of code changed in:
Forgot to check special case at top level
8 lines of code changed in:
2004-04-10
3 lines of code changed in:
Fix :enddoc"
8 lines of code changed in:
Fixed problem with \_cat_<b>dog</b>
13 lines of code changed in:
2004-04-09
3 lines of code changed in:
* dir.c (has_magic, find_dirsep): incomplete '[' matches no character
in Dir.glob. (follows File.fnmatch's behavior)
* dir.c (fnmatch_helper): incomplete escape is ignored in File.fnmatch.
(follows Dir.glob's behavior)
* dir.c (find_dirsep): '/' between '[' and ']' is ignored in Dir.glob.
(follows File.fnmatch with File::FNM_PATHNAME 's behavior)
* dir.c (find_dirsep): escaped slash '\/' loses its meaning as
directory separator in Dir.glob.
[ruby-dev:23291]
65 lines of code changed in:
commit miss. _no
0 lines of code changed in:
* test/soap/calc/test_calc_cgi.rb: not parent, parent directory of it.
1 lines of code changed in:
* test/drb/drbtest.rb, test/soap/calc/test_calc_cgi.rb: restore $:
after require.
19 lines of code changed in:
* ext/extmk.rb (extmake): skip uncompiled extensions.
* lib/mkmf.rb (create_makefile): emit no rules for static library if
$static is nil, e.g., outside of ext/.
* lib/test/unit/ui/console/testrunner.rb (test_started): show test
name via $0.
* runruby.rb: set environments to use the compiled binary.
* test/runner.rb: do nothing while cross-compiling.
* test/drb/drbtest.rb, test/soap/calc/test_calc_cgi.rb: use envutil to
know ruby binary.
* test/ruby/envutil.rb: give priority to RUBY environment variable to
use just compiled binary and libraries.
40 lines of code changed in:
* io.c (rb_io_binmode): inverted condition. [ruby-dev:23349]
5 lines of code changed in:
2004-04-08
3 lines of code changed in:
* ext/iconv/iconv.c (iconv_s_list): return encoding list if no block
is given. [ruby-dev:23063]
19 lines of code changed in:
REXML CHANGES
The previous bug fixing the behavior of Element::text= introduced a bug that
occurred when calling (el.text = nil) to delete the first text node.
21 lines of code changed in:
* pack.c (pack_pack): use NUM2INT() instead of num2i32().
63 lines of code changed in:
add an assertion for [0x100000000].pack("U").
1 lines of code changed in:
update the document for to_path.
1 lines of code changed in:
add test for [ruby-dev:23344].
6 lines of code changed in:
2004-04-07
3 lines of code changed in:
* lib/rss/parser.rb, lib/rss/1.0.rb: accepted rdf:resource or
resource attribute in rdf:li.
* test/rss/test_parser.rb: added test for above change.
* lib/rss/dublincore.rb: reverted style.
* lib/rss/xmlparser.rb: normalized XMLParser class hierarchy.
84 lines of code changed in:
* file.c (rb_get_path): get path string via "to_path" method if
path object is not a string. [Ruby2]
* gc.c (rb_gc_call_finalizer_at_exit): do not free threads in the
exit finalizers.
* io.c (rb_io_reopen): should use rb_io_check_io().
221 lines of code changed in:
* Makefile.in, common.mk, */Makefile.sub (ext/extinit.o): OUTFLAG
doesn't work for object files on VC.
* */Makefile.sub (config.h): need SIZEOF_TIME_T now.
23 lines of code changed in:
fix hash tuple bug
63 lines of code changed in:
* configure.in: check the size of time_t.
* time.c (time_add): new function.
(time_plus): use time_add.
(time_minus): use time_add.
63 lines of code changed in:
* ext/socket/socket.c (raise_socket_error): never return.
* ext/socket/socket.c (make_hostent): must return value.
9 lines of code changed in:
2004-04-06
3 lines of code changed in:
* MANIFEST:
Added files:
ruby/test/zlib:
test_zlib.rb
1 lines of code changed in:
check zlib existence.
9 lines of code changed in:
* error.c (Init_Exception): remove Exception#to_str. [Ruby2]
* eval.c (error_print): should no call "to_str" anymore use
"message" method instead.
* io.c (rb_f_open): Kernel#open() calls "to_open" if the first
argument responds to it. [Ruby2]
34 lines of code changed in:
add require "drb/drb"
5 lines of code changed in:
update test_new_nil.
1 lines of code changed in:
* test/zlib/test_zlib.rb: new file.
(TestZlibGzipWriter#test_new_nil): test for [ruby-dev:23228].
21 lines of code changed in:
* parse.y (assoc_list): {a: 1, b: 2} should be allowed. [ruby-dev:23328]
19 lines of code changed in:
* regexec.c: imported Oni Guruma 2.2.6.
4 lines of code changed in:
* regparse.c, oniguruma.h: imported Oni Guruma 2.2.6.
117 lines of code changed in:
This commit was generated by cvs2svn to compensate for changes in r6093,
which included commits to RCS files with non-trunk default branches.
1 lines of code changed in:
* ext/socket/socket.c (raise_socket_error): some platforms don't have
EAI_SYSTEM.
9 lines of code changed in:
fix reference to ML: [ruby-dev:39475] to [ruby-list:39475].
1 lines of code changed in:
2004-04-05
3 lines of code changed in:
Remove leading ./ from filenames so that cross references work OK
7 lines of code changed in:
comments modified.
3 lines of code changed in:
2004-04-04
3 lines of code changed in:
Allow multiple --exclude options to RDoc
14 lines of code changed in:
2004-04-03
3 lines of code changed in:
* Fixed a bug in the evaluation of XPath's 'or'
* deprecated #type changed to class.name
* XPath's union was was being incorrectly interpreted
18 lines of code changed in:
* ext/syck/syck.h: version 0.43.
5 lines of code changed in:
* ext/syck/lib/gram.c: allow root-level inline collections.
[ruby-talk:94922]
* lib/yaml/rubytypes.rb (Symbol#to_yaml): emit symbols as implicits.
[ruby-talk:94930]
354 lines of code changed in:
* bcc32/Makefile.sub (OUTFLAG): needed for static-linked-ext.
7 lines of code changed in:
* ext/extmk.rb (extmake): extract necessary variables for static link
from Makefile.
* lib/mkmf.rb (create_makefile): save preload and libpath for next
compile.
43 lines of code changed in:
* eval.c (top_include): include in the wrapped load is done for
the wrapper, not for a singleton class for wrapped main.
[ruby-dev:23305]
* bignum.c (rb_big_eq): use temporary double variable to save the
result (internal float register may be bigger than 64 bits, for
example, 80 bits on x86). [ruby-dev:23311]
24 lines of code changed in:
* eval.c (block_pass): should increment unique identifier of the
block. [ruby-talk:96363]
6 lines of code changed in:
REXML changes
* The main purpose for this change is to get a fix in for nasty bug in XPath.
In the new code for the descendant-or-self axis, the document order code
was calling the wrong method to do node comparisons, causing a terrible
overhead that slowed the axis down to the point where it was unusable.
This is a common axis, also known as '//', so this fix is critical.
* Using Element#text= on a non-Text, non-String argument caused an error.
This has been changed so that the behavior is like puts() -- to_s() is
called on the object first.
* Refactored the pretty-printing code a little.
12 lines of code changed in:
* version.h: 2004-04-02
3 lines of code changed in:
* eval.c (Init_load): make $LOADED_FEATURES built-in. [ruby-dev:23299]
* ruby.c (ruby_prog_init): make $PROGRAM_NAME built-in.
* lib/English.rb: remove $LOADED_FEATURES and $PROGRAM_NAME.
11 lines of code changed in:
* ext/socket/socket.c: mistakingly removed do_not_reverse_lookup.
[ruby-dev:39475]
68 lines of code changed in:
checked in debug version in error
0 lines of code changed in:
Fix parse bug with toplevel methods. Allow RDoc in =begin rdoc/=end comments (experimental)
66 lines of code changed in:
* ext/socket/socket.c (make_hostent): fix memory leak, based on
the patch from HORIKAWA Hisashi <vzw00011@nifty.ne.jp>.
202 lines of code changed in:
2004-04-01
4 lines of code changed in:
add test_symmetry_bignum.
6 lines of code changed in:
* lib/soap/mapping/{factory.rb,registry.rb}: fixed illegal mapped URI
object with soap/marshal.
added URIFactory class for URI mapping. BasetypeFactory checks
instance_variables when original mapping is not allowed (ivar must
be empty). Instance of URI have instance_variables but it must be
llowed whenever original mapping is allowed or not.
26 lines of code changed in:
add test_pack_U.
11 lines of code changed in: