summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* All of the tickets and issues mentioned in this log can be found at:ser2005-12-3010-31/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://www.germane-software.com/projects/rexml/ticket/# where '#' is the issue or ticket number. * Fixes ticket:3 (Issue38 in Roundup.) However, this needs further testing. * Fixed a couple of bugs in the SAX2 parser, plus a bunch of other changes I don't remember. * More XPath ordering testing added * Fixed the documentation WRT the raw mode of text nodes (ticket:4) * Fixes roundup issue 43: substring-after bug. See: http://www.germane-software.com/cgi-bin/roundup/rexml/issue43 * Fixed issue44, 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 issue... 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 (and adds a unit test) * Merges a user-contributed patch for issue #40 * Changes Date, Version, and Copyright to upper case, to avoid conflicts with the Date class. * Minor, yet incomplete, documentation changes. * Resolves issue #34 (SAX parser change makes it impossible to parse IO feeds.) * Moves parser.source.position() to parser.position() * Improves the build script (less work for me to package a distribution) git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (ev_const_get): fixed a bug in constant reference duringmatz2005-12-261-1/+1
| | | | | | | | | | | | | 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] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb (test_kernel_open): use File.identical?.akr2005-12-211-7/+3
| | | | | | | [ruby-talk:171804] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c (Init_signal): revert C++ style comment.matz2005-12-153-16/+38
| | | | | | | [ruby-dev:28041] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)2005-12-111-0/+178
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/encoding.rb (encoding=): give priority to particularnobu2005-12-094-33/+57
| | | | | | | conversion to iconv. [ruby-core:06520] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): should not change sodir withocean2005-11-281-1/+1
| | | | | | | | dir.gsub!. (bccwin32 failed to install third party exntesions) [ruby-dev:27834] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/wsdl/xmlSchema/complexContent.rb: missingnahi2005-11-261-0/+4
| | | | | | | ComplexContent#elementformdefault method. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb: match incomplete (in current enconding) multibytenobu2005-11-221-4/+4
| | | | | | | string. http://inamode6.tokuhirom.dnsalias.org/show/1551 git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (FileUtils::ln): ln documentation fix.ocean2005-11-201-1/+1
| | | | | | | [ruby-core:06661] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/find.rb (Find::find): should not ignore symbolic links tomatz2005-11-151-2/+2
| | | | | | | non-existing files. [ruby-talk:165866] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/drb/ssl.rb (DRb::SSLConfig#accept): fixed typo.ocean2005-11-081-1/+1
| | | | | | | [ruby-dev:27560] [ruby-core:4627] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml.rb: removed :nodoc: to generate Kernel doc. [ruby-core:6324]ocean2005-11-061-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_call_super): should call method_missing if super ismatz2005-11-011-0/+1
| | | | | | | | | | called from Kernel method. * eval.c (exec_under): frame during eval should preserve external information. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpservlet/cgihandler.rbgotoyuzo2005-10-302-0/+30
| | | | | | | | | | | | | | (WEBrick::HTTPServlet::CGIHandler#do_GET): the value of Set-Cookie: header field should be splited into each cookie. [ruby-Bugs:2199] * lib/webrick/cookie.rb (WEBrick::Cookie.parse_set_cookie): new method to parse the value of Set-Cookie: header field. * test/webrick/test_cookie.rb, test/webrick/test_cgi.rb, test/webrick/webrick.cgi: add some test for cookie. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 1.8.3 preview1matz2005-10-281-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (scan_once): wrong condition to use mbclen2().matz2005-10-272-14/+209
| | | | | | | [ruby-dev:27535] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rational.rb: applied documentation patch from Gavin Sinclairmatz2005-10-253-71/+250
| | | | | | | | | | <gsinclair@gmail.com>. [ruby-core:06364] * lib/irb.rb (IRB::Irb::eval_input): handle prompts with newlines in irb auto-indentation mode. [ruby-core:06358] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/markup/simple_markup.rb (SM::SimpleMarkup::LABEL_LIST_RE):nobu2005-10-241-2/+1
| | | | | | | reduce redundant backtrack. [ruby-talk:161771] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* RDoc documentation from Eric Hodel <Drbrain@segment7.net> added.seki2005-10-243-92/+443
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb, lib/mkmf.rb (with_config): support --with-extensionnobu2005-10-221-4/+18
| | | | | | | options. [ruby-dev:27449] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): Borland make seems not to allowocean2005-10-201-2/+2
| | | | | | | | empty dependency list. If this change is not good, please correct it. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): get rid of a restrictionnobu2005-10-191-1/+2
| | | | | | | of Borland make. fixed: [ruby-dev:27460] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): do not create unnecessary emptynobu2005-10-191-3/+2
| | | | | | | directories. fixed: [ruby-dev:27451] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* check remote hash tupleseki2005-10-161-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/config.rb (Config::FileHandler): :UserDir should be nil.gotoyuzo2005-10-141-1/+1
| | | | | | | | It is harmful to permit the access to ~/public_html by default. suggested by Hiroyuki Iwatsuki. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb (CGI::Cookie::parse): Cookies from Nokia devices maymatz2005-10-071-1/+1
| | | | | | | | | | not be parsed correctly. A patch from August Z. Flatby (augustzf) in [ruby-Patches-2595]. [ruby-core:06183] * pack.c (EXTEND16): [ruby-dev:27383] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/xmlrpc/server.rb (XMLRPC::Server#initialize): should mount thegotoyuzo2005-10-041-1/+1
| | | | | | | servlet on "/". git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/xmlrpc/server.rb (XMLRPC::Server#serve): delete wrong callgotoyuzo2005-10-041-1/+1
| | | | | | | of "join". git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/delegate.rb: document update from James Edward Gray IImatz2005-09-282-0/+2
| | | | | | | <james@grayproductions.net>. [ruby-core:06027] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/cgi.rb (WEBrick::CGI#start): req.query_string shouldgotoyuzo2005-09-282-2/+3
| | | | | | | | | | refer the value of QUERY_STRING. [ruby-list:41186] * lib/webrick/httprequest.rb (WEBrick::HTTPRequest#query_string=): add new method. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/basenode.rb (YAML::BaseNode::match_segment): fix typo.nobu2005-09-273-41/+51
| | | | | | | | | | | [ruby-dev:27237], [ruby-core:05854] * lib/yaml/tag.rb (Module#yaml_as): suppress warnings. * lib/yaml/types.rb (YAML::PrivateType, YAML::DomainType): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (set_trace_func): add rb_secure(4) to prevent addingmatz2005-09-263-46/+321
| | | | | | | | | | tracing function. * lib/delegate.rb: document update from James Edward Gray II <james@grayproductions.net>. [ruby-core:05942] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* *** empty log message ***nobu2005-09-261-10/+14
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (RequiredArgument#parse): not consume unmatchednobu2005-09-251-15/+11
| | | | | | | argument. fixed [ruby-dev:27316] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (cd): no longer accept :noop option, related code is ↵aamine2005-09-231-1/+1
| | | | | | useless (backported from trunk, rev 1.67). [ruby-core:05858] [ruby-Bugs:2494] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb: fix visibility of FileUtils::NoWrite, Verbose, DryRun ↵aamine2005-09-231-0/+20
| | | | | | | | | | | (backported from trunk, rev 1.66). [ruby-core:05954] * test/fileutils/test_nowrite.rb: test it. * test/fileutils/test_dryrun.rb: new file. * test/fileutils/test_verbose.rb: new file. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (find_executable0): default path if environment is notnobu2005-09-221-1/+10
| | | | | | | set. [ruby-dev:27281] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (configuration): generalized nmake dependent code.nobu2005-09-211-1/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (default_argv, Arguable#options): defaults stringsnobu2005-09-201-3/+9
| | | | | | | to be parsed to Arguable instance. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml.rb: require 'yaml/constants'. [ruby-core:5776]matz2005-09-201-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/xmlrpc/client.rb (XMLRPC::Client::do_rpc): add charsetmatz2005-09-202-4/+4
| | | | | | | | | | | | | information to content-type header.[ruby-core:5127] * lib/xmlrpc/server.rb (CGIServer::serve): ditto. * lib/xmlrpc/server.rb (ModRubyServer::serve): ditto. * lib/xmlrpc/server.rb (WEBrickServlet::service): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/emitter.c (syck_scan_scalar): prevent indicators fromwhy2005-09-202-9/+10
| | | | | | | | | | | | | | | | | | 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. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (cp_r): default is :dereference_root=>true for backward ↵aamine2005-09-191-0/+1
| | | | | | | | | compatibility. [ruby-dev:27145] * test/fileutils/test_fileutils.rb (test_cp_r): test it. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb: backported from trunk (rev 1.65):aamine2005-09-181-352/+856
| | | | | | | | | | | | | | | | | | | | | | | * lib/fileutils.rb (rm_r): new option :secure. * lib/fileutils.rb (rm_rf): new option :secure. * lib/fileutils.rb: new method #remove_entry_secure. * lib/fileutils.rb (cd): remove option :noop. * lib/fileutils.rb (cp_r): new option :dereference_root. * lib/fileutils.rb (cp_r): new option :dereference_root. * lib/fileutils.rb: new method #remove_entry. * lib/fileutils.rb: new method #chmod_R. * lib/fileutils.rb: new method #chown. * lib/fileutils.rb: new method #chown_R. * lib/fileutils.rb: new method .commands. * lib/fileutils.rb: new method .options. * lib/fileutils.rb: new method .have_option?. * lib/fileutils.rb: new method .options_of. * lib/fileutils.rb: new method .collect_method. * lib/fileutils.rb: use module_function instead of single extend. * test/fileutils/test_fileutils.rb: backported from trunk (1.36). git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/rubytypes.rb: remove comments that are bungling upwhy2005-09-171-39/+4
| | | | | | | | | | | | | | | | | | 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. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mathn.rb (Rational::inspect): should preserve originalmatz2005-09-171-2/+3
| | | | | | | operand. [ruby-core:05806] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb (CGI::Cookie): should handle multiple values for amatz2005-09-171-3/+4
| | | | | | | | | | | | | cookie name. [ruby-talk:156140] * 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] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/maker/base.rb (RSS::Maker::ItemsBase#normalize): fixedkou2005-09-161-1/+5
| | | | | | | | | | 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. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c (syck_resolver_transfer): remove C++ stylematz2005-09-161-0/+1
| | | | | | | comment (//). [ruby-core:05793] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e