summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2006-05-13* lib/pp.rb (PP.mcall): new method.akr
(Struct#pretty_print): call Kernel#class and Struct#members even if overriden. (Struct#pretty_print_cycle): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-07* lib/resolv.rb (Resolv::DNS::Requester::ConnectedUDP#initialize):akr
Use AF_INET6 for nameservers containing colons. patch by Stephan Maka. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-15Short summary:ser
This is a version bump to REXML 3.1.4 for Ruby HEAD. This change log is identical to the log for the 1.8 branch. It includes numerous bug fixes and is a pretty big patch, but is nonetheless a minor revision bump, since the API hasn't changed. For more information, see: http:/www.germane-software.com/projects/rexml/milestone/3.1.4 For all tickets, see: http://www.germane-software.com/projects/rexml/ticket/# Where '#' is replaced with the ticket number. Changelog: * Fixed the documentation WRT the raw mode of text nodes (ticket #4) * Fixes roundup ticket #43: substring-after bug. * Fixed ticket #44, Element#xpath * Patch submitted by an anonymous doner to allow parsing of Tempfiles. I was hoping that, by now, that whole Source thing would have been changed to use duck typing and avoid this sort of ticket... but in the meantime, the patch has been applied. * Fixes ticket:30, XPath default namespace bug. The fix was provided by Lucas Nussbaum. * Aliases #size to #length, as per zdennis's request. * Fixes typo from previous commit * Fixes ticket #32, preceding-sibling fails attempting delete_if on nil nodeset * Merges a user-contributed patch for ticket #40 * Adds a forgotten-to-commit unit test for ticket #32 * Changes Date, Version, and Copyright to upper case, to avoid conflicts with the Date class. All of the other changes in the altered files are because Subversion doesn't allow block-level commits, like it should. English cased Version and Copyright are aliased to the upper case versions, for partial backward compatability. * Resolves ticket #34, SAX parser change makes it impossible to parse IO feeds. * Moves parser.source.position() to parser.position() * Fixes ticket:48, repeated writes munging text content * Fixes ticket:46, adding methods for accessing notation DTD information. * Encodes some characters and removes a brokes link in the documentation * Deals with carriage returns after XML declarations * Improved doctype handling * Whitespace handling changes * Applies a patch by David Tardon, which (incidentally) fixes ticket:50 * Closes #26, allowing anything that walks like an IO to be a source. * Ticket #31 - One unescape too many This wasn't really a bug, per se... "value" always returns a normalized string, and "value" is the method used to get the text() of an element. However, entities have no meaning in CDATA sections, so there's no justification for value to be normalizing the content of CData objects. This behavior has therefore been changed. * Ticket #45 -- Now parses notation declarations in DTDs properly. * Resolves ticket #49, Document.parse_stream returns ArgumentError * Adds documentation to clarify how XMLDecl works, to avoid invalid bug reports. * Addresses ticket #10, fixing the StreamParser API for DTDs. * Fixes ticket #42, XPath node-set function 'name' fails with relative node set parameter * Good patch by Aaron to fix ticket #53: REXML ignoring unbalanced tags at the end of a document. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-04* lib/pathname.rb: use a subclass for instantiation exceptakr
methods take pathname argument. suggested by Evan Phoenix. [ruby-core:7618] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-03-15* lib/mkmf.rb (create_makefile): support libraries without *.so.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-03-05* lib/fileutils.rb: do not repeat command options.aamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-03-05* lib/net/http.rb (send_request_with_body): #content_type never return ↵aamine
false, use #main_type instead. [ruby-core:07476] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-03-03* lib/fileutils.rb (FileUtils.cp_r): implement :remove_destinationakr
option. * ext/extmk.rb: use :remove_destination to install extension libraries to avoid SEGV. [ruby-dev:28417] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-28* lib/rdoc/parsers/parse_rb.rb (read_escape): could not handle /\^/.ocean
merged Mr. Ishizuka's lib/irb/ruby-lex.rb 's patch rev 1.29. [ruby-talk:181631] [ruby-dev:28404] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-28 * lib/irb/ruby-lex.rb: fixed that irb can't parse /\^/. [ruby-dev:28404] ↵keiju
and http://rubyforge.org/tracker/index.php?func=detail&aid=3302&group_id=426&atid=1698 * lib/irb/ruby-lex.rb: support "\s" in irb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-22* lib/pathname.rb (Pathname#each_filename): use split_names properly.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-20* mkconfig.rb: generate RbConfig instead of Config.akr
* instruby.rb, rubytest.rb, runruby.rb, bcc32/Makefile.sub, ext/extmk.rb, ext/dl/extconf.rb, ext/iconv/charset_alias.rb, lib/mkmf.rb, lib/rdoc/ri/ri_paths.rb, lib/webrick/httpservlet/cgihandler.rb, test/dbm/test_dbm.rb, test/gdbm/test_gdbm.rb, test/ruby/envutil.rb, test/soap/calc/test_calc_cgi.rb, test/soap/header/test_authheader_cgi.rb, test/soap/ssl/test_ssl.rb, win32/mkexports.rb, win32/resource.rb: Use RbConfig instead of Config. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-20* lib/find.rb: should raise ENOENT if root entry does not exist,usa
without opening it. [ruby-dev:28345] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-20* lib/rational.rb (Integer::gcd): small typo fix. [ruby-core:07395]matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-20* lib/delegate.rb (Delegator): should not delegate "funcall".matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-20* lib/webrick/httpservlet/cgihandler.rb (WEBrick::HTTPServlet::CGIHandler):matz
qualify the access for Config constant. [ruby-dev:28338] * lib/resolv.rb (Resolv::DNS::Resource::IN::A): qualify ClassValue. [ruby-dev:28338] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-19* lib/open-uri.rb: add :ssl_verify_mode option.akr
suggested by Will Glynn. * lib/open-uri.rb: add :ssl_ca_cert option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-18* lib/tracer.rb (Tracer::Tracer.add_filter): turn on tracer modematz
only when caller() level size is one. [ruby-core:07389] * lib/rdoc/parsers/parse_rb.rb: need not to require "tracer". [ruby-core:07389] * sample/rtags.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-17* lib/tracer.rb: merged a minor clarification patch from Danielmatz
Berger <Daniel.Berger at qwest.com>. [ruby-core:07376] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-17* eval.c (ev_const_get): simplified using rb_const_get_fallback().matz
* eval.c (ev_const_defined): adopt to ev_const_get() using rb_const_defined_fallback(). * variable.c (rb_const_get_fallback): new function to implement constant search. * variable.c (rb_const_defined_fallback): new function to implement constant definition check. * variable.c (rb_const_get_0): adopt to new behavior. constants are looked up in the order of: current class, super classes (but Object), lexically external classes/modules, and Object. * variable.c (rb_const_defined_0): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-13* parse.y (parser_parse_string): mention "regexp" in a errormatz
message. a patch from Mauricio Fernandez <mfp at acm.org> [ruby-core:07340] * eval.c (rb_f_autoload): check if ruby_cbase is nil (during instance_eval for objects cannot have singleton classes, e.g. fixnums and symbols). [ruby-dev:28178] * gc.c (rb_gc_call_finalizer_at_exit): turn on during_gc while invoking finalizers. * gc.c (rb_gc_finalize_deferred): ditto. * io.c (rb_write_error2): use fwrite(3) if rb_stderr is not updated or is already freed. [ruby-dev:28313] * eval.c (error_line): include the class name of a surrounding method in error position description. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-05* lib/net/http.rb (add_field, get_fields): keep 1.8.2 compatibility. This ↵aamine
patch is contributed by Rob Pitt. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-05* lib/mkmf.rb (create_makefile): Kernel#sub! was removed on HEAD.ocean
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-05* lib/pstore.rb: should return default value if name is not found.ocean
[ruby-core:7304] * lib/pstore.rb: should raise PStore::Error if not in transaction. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-03* eval.c: unify ruby_class (for method definition) and ruby_cbasematz
(for constant reference). * eval.c (rb_call0): use TMP_ALLOC() instead of allocating a temporary array object. * eval.c (eval): need not to protect $SAFE value. [ruby-core:07177] * error.c (Init_Exception): change NameError to direct subclass of Exception so that default rescue do not handle it silently. * struct.c (rb_struct_select): update RDoc description. [ruby-core:7254] * numeric.c (int_upto): return an enumerator if no block is attached to the method. * numeric.c (int_downto): ditto. * numeric.c (int_dotimes): ditto. * enum.c (enum_first): new method Enumerable#first to take first n element from an enumerable. * enum.c (enum_group_by): new method Enumerable#group_by that groups enumerable values according to their block values. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-02* lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser#get_tk): addedusa
support of :'string' style Symbol. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-27* lib/rdoc/usage.rb: support "a:0:33" style caller[-1]. In this caseocean
file name is "a:0". I don't know this really happens though... [ruby-Bugs:3344] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-22* lib/test/unit/autorunner.rb (process_args): ignore arguments afternobu
'--' so that test scripts can handle them. fixed: [ruby-dev:28258] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-19* lib/fileutils.rb (mv): should remove file after copying. [ruby-dev:28223]aamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-13* lib/rdoc/diagram.rb:ocean
- properly quote bare element attributes - terminates dangling elements (e.g. <img>, <br>, <link>, etc) - converts "CVS" to the more HTML-friendly acronym element - adds missing type attributes to style elements based on Paul Duncan's patch <pabs@pablotron.org> [ruby-core:7028] * lib/rdoc/generators/html_generator.rb: ditto. * lib/rdoc/generators/template/html/hefss.rb: ditto. * lib/rdoc/generators/template/html/html.rb: ditto. * lib/rdoc/generators/template/html/kilmer.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-10(ERB::Compiler): add instance variable @insert_cmd to change <%='s behavior.seki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-10* lib/yaml/rubytypes.rb (Fixnum): Bignum could not be loaded inocean
ruby 1.8.3/1.8.4. [ruby-core:6115] * lib/yaml/rubytypes.rb (Numeric): Subclass of Numeric could not be dumped properly. [ruby-core:7047] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-10* lib/yaml/rubytypes.rb (Symbol#yaml_new): YAML loading of quotedocean
Symbols broken. [ruby-Bugs:2535] (written by Aaron Schrab) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-09* win32/Makefile.sub (OPTFLAGS): I have experienced trouble on y- flag,ocean
(VisualC++6) so use -O2b2xg- if $(MSC_VER) < 1400. [ruby-core:7040] * lib/webrick/httpservlet/filehandler.rb: fixed typo. (Kero van Gelder) [ruby-core:7075] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-31* lib/generator.rb: (Generator#initialize): should kill @loop_threadocean
before starting new thread. (occurs when called via Generator#rewind) [ruby-dev:28184] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-30Sorry again, incorrent exception propagation.ocean
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-30Sorry, reverted. Mutex is damn slow.....ocean
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-30* lib/generator.rb: uses Mutex instead of Thread.critical.ocean
[ruby-dev:28184] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-30* lib/generator.rb: (Generator#initialize) ensured to stop @loop_thread.ocean
Mr. Tanaka pointed out one Thread.pass is not enough. [ruby-dev:28185] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-30* lib/generator.rb: (Generator#initialize) fixed dead lock. this occuredocean
when end? was called before @loop_thread was stopped. [ruby-core:7029] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-29* lib/generator.rb: should work with another thread. (more robust code)ocean
[ruby-dev:28177] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-29* eval.c (rb_mod_define_method): should save safe_level in thematz
proc object. [ruby-dev:28146] * test/drb/drbtest.rb (DRbService::self.ext_service): increase timeout limit. a patch from Kazuhiro NISHIYAMA <zn at mbf.nifty.com>. [ruby-dev:28132] * eval.c (ev_const_get): fixed a bug in constant reference during instance_eval. [yarv-dev:707] * eval.c (ev_const_defined): ditto. * lib/yaml.rb (YAML::add_domain_type): typo fixed. a patch from Joel VanderWerf <vjoel at path.berkeley.edu>. [ruby-talk:165285] [ruby-core:6995] * ext/digest/sha2/sha2.c (ULL): support AIX C. a patch from Kailden <kailden at gmail.com>. [ruby-core:06984] * ext/syck/rubyext.c (rb_syck_compile): avoid potential memory leak. * ext/syck/rubyext.c (syck_set_ivars): avoid potential memory leak by explicit symbol allocation. * lib/delegate.rb (Delegator::method_missing): should delegate block as well. * lib/cgi.rb (CGI::QueryExtension::MorphingBody): fix criteria to use Tempfile. A fix from Zev Blut <rubyzbibd at ubit.com>. [ruby-core:06076] * string.c: remove global functions work on $_. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-29* lib/generator.rb: reimplemented Generator class with Thread instead ofocean
callcc, in order to fix memory leak. [ruby-dev:28142] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-27* lib/optparse.rb (CompletingHash#match): fix for 1.9.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-15* lib/tmpdir.rb: merged RDoc patch from Eric Hodel <drbrain atmatz
segment7.net>. [ruby-core:06894] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-14* lib/rdoc/parsers/parse_c.rb (find_class_comment): fix for classnobu
document with prototypes. [ruby-core:06863] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-09 * lib/matrix.rb: add Matrix#determinant_e, Matrix#rank_e.keiju
[ruby-dev:27820] and related thread. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-09* lib/rexml/encoding.rb (encoding=): give priority to particularnobu
conversion to iconv. [ruby-core:06520] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-07* eval.c (call_trace_func): klass parameter should be amatz
class/module that defines calling method. [ruby-talk:169307] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-07* sprintf.c (rb_f_sprintf): [ruby-dev:27967]matz
* range.c (range_include): use discrete membership for non Numeric values, for example, String. * numeric.c (num_scalar_p): new method. [ruby-dev:27936] * lib/complex.rb (Complex#scalar?): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e