summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge changes between r11913 and r11943 from ruby_1_8.knu2007-02-281-5/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@11944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merge changes between r11871 and r11907 from ruby_1_8.knu2007-02-272-1/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@11908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date/format.rb: updated based on date2 4.0.3.knu2007-02-241-8/+8
| | | | | | | (Use one instance variable instead of many) git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@11857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/xmlrpc/client.rb (XMLRPC::Client::do_rpc): Make theknu2007-02-232-2/+2
| | | | | | | | | | | | Content-Length parameter optional for responses in xmlrpc/client.rb; suggested by Daniel Berger <Daniel.Berger@qwest.com> and approved by the maintainer. * lib/xmlrpc/create.rb (XMLRPC::Create::conv2value): Add DateTime support to xmlrpc; approved by the maintainer. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@11820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merge trivial changes to reduce diffs from ruby_1_8.knu2007-02-201-8/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@11798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/.document: Apply patch for irb, e2mmap and README by Hugh Sasseknu2007-02-172-6/+9
| | | | | | | | | <hgs at dmu.ac.uk> from [ruby-core:10135] * lib/prettyprint.rb: Suppress RDoc for PrettyPrint test suite. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@11765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/ftp.rb: Revert the previous change pending discussion.knu2007-02-151-68/+18
| | | | | | | Describe the "previous change" in ChangeLog. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@11757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/generic.rb (URI::Generic::userinfo): Considering howknu2007-02-151-6/+6
| | | | | | | | | `scheme://user:@...', `scheme://:password@...' and `scheme://:@...' are parsed, an empty user name or password should be allowed and represented as it is. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/generic.rb (URI::Generic::userinfo): should supportknu2007-02-156-38/+161
| | | | | | | | | | | | | | | empty password. [ruby-core:10290] * lib/uri/generic.rb (URI::Generic::set_password): password can be cleared by nil. [ruby-core:10290] * lib/uri/common.rb (escape): regard second string argument as a character set properly. [ruby-dev:27692] * lib/uri: Lovely RDOC patches from mathew (metaATpoboxDOTcom). git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb (CGI::unescapeHTML): invalid decoding for singleknu2007-02-151-5/+5
| | | | | | | | | unescaped ampersand. a patch from Tietew <tietew+ruby-dev at tietew.net> in [ruby-dev:30292]. fixed: [ruby-dev:30289] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb (CGI::QueryExtension::read_multipart): Properly parseknu2007-02-101-2/+2
| | | | | | | a quoted-string in a Content-Disposition value. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, ext/thread/extconf.rb, lib/thread.rb: Add aknu2007-02-101-0/+4
| | | | | | | | | configure option `--disable-fastthread', to choose the original, pure ruby version of the "thread" library instead of the new, much faster implementation in ext/thread. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/thread.rb: Remove an ineffective part of the code.knu2007-02-101-9/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Back out the previous commit which was unintended.knu2007-02-091-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal: Synchronize with trunk. Better functionknu2007-02-091-2/+2
| | | | | | | | prototypes, removal of a useless method `!=', and document updates. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb (CGI::QueryExtension::read_multipart): use == insteadmatz2007-01-231-1/+1
| | | | | | of ===. [ruby-dev:30176] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merge RDoc updates from matzruby 11502, 11503, 11504drbrain2007-01-071-1/+37
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* updated based on date2 4.0.1.tadf2007-01-071-2/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert r11453matz2007-01-037-282/+362
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (ruby_dup): start GC on ENOMEM as well.matz2007-01-037-362/+282
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merge 11443, 11444 and 11445 from trunk.drbrain2006-12-311-93/+133
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* updated based on date2 4.0.tadf2006-12-302-185/+225
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/locale.rb (IRB::Locale::puts): typo fixed. a patch frommatz2006-12-141-1/+1
| | | | | | | NAKAMURA Usaku <usa@ruby-lang.org>. [ruby-dev:30012] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/locale.rb (IRB::Locale::search_file): ues File.exist?matz2006-12-091-2/+2
| | | | | | | instead of File.exists?. [ruby-dev:30000] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/weakref.rb (WeakRef::__setobj__): should supportmatz2006-12-072-12/+19
| | | | | | | | | | marshaling. [ruby-talk:228508] * lib/delegate.rb (Delegator::marshal_load): need to call __setobj__. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb (CGI::QueryExtension::read_multipart): should quoteshugo2006-12-031-2/+3
| | | | | | | boundary. JVN#84798830 git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Cross-patch from Ruby CVS; mostly Nabu edits.ser2006-12-0114-81/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fixes ticket:68. ***** Note that this is an API change!!! ***** NOTE that this involves an API change! Entity declarations in the doctype now generate events that carry two, not one, arguments. * Implements ticket:15, using gwrite's suggestion. This allows Element to be subclassed. * Fixed namespaces handling in XPath and element. ***** Note that this is an API change!!! ***** Element.namespaces() now returns a hash of namespace mappings which are relevant for that node. * Fixes a bug in multiple decodings * The changeset 1230:1231 was bad. The default behavior is *not* to use the native REXML encodings by default, but rather to use ICONV by default. I'll have to think of a better way of managing translations, but the REXML codecs are (a) less reliable than ICONV, but more importantly (b) slower. The real solution is to use ICONV by default, but allow users to specify that they want to use the pure Ruby codecs. * Fixes ticket:61 (xpath_parser) * Fixes ticket:63 (UTF-16; UNILE decoding was bad) * Improves parsing error messages a little * Adds the ability to override the encoding detection in Source construction * Fixes an edge case in Functions::string, where document nodes weren't correctly converted * Fixes Functions::string() for Element and Document nodes * Fixes some problems in entity handling * Addresses ticket:66 * Fixes ticket:71 * Addresses ticket:78 NOTE: that this also fixes what is technically another bug in REXML. REXML's XPath parser used to allow exponential notation in numbers. The XPath spec is specific about what a number is, and scientific notation is not included. Therefore, this has been fixed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/0.9.rb (RSS::Rss): removed needless include.kou2006-11-061-1/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* updated based on date2 3.9.7.tadf2006-11-051-9/+37
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb: accept NOMODSEQ. [ruby-core:9002]shugo2006-11-041-1/+1
| | | | | | | (backported from HEAD) git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/set.rb (Set#^): Fix XOR operation against a container thatknu2006-11-021-2/+9
| | | | | | | holds duplicate values. [issue: #6444] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (time_dup): duplicate the class of original time.matz2006-10-311-5/+5
| | | | | | | | | | [ruby-core:09357] * lib/time.rb (Time::make_time, Time::rfc2822, Time::httpdate): should respect subclasses. [ruby-core:09357] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* updated based on date2 3.9.6.tadf2006-10-241-5/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb: fix typo.usa2006-10-201-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb: fixed the bug of handling COMMON_MACROS.eban2006-10-201-2/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/collector/dir.rb (Collector::Dir#collect): append basenobu2006-10-141-2/+3
| | | | | | | | | | directory but not prepend. * lib/test/unit/collector/dir.rb (Collector::Dir#collect_file): do not join with dot. fixed: [ruby-core:09179] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* updated based on date2 3.9.5.tadf2006-10-131-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (FileUtils.cp_r): dereference_root=true is default in ↵aamine2006-10-131-0/+1
| | | | | | Ruby 1.8. This line is wrongly removed in last commit. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/collector/dir.rb (Collector::Dir#collect): prependnobu2006-10-121-1/+5
| | | | | | | | | | | | | base directory to load path. * lib/test/unit/collector/dir.rb (Collector::Dir#collect_file): should use the given File-like interface, but not File directly. * test/testunit/collector/test_dir.rb (TestDir::FileSystem): implement File-like methods correctly. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date.rb (Date::self.complete_hash): need to check if g ismatz2006-10-121-1/+1
| | | | | | | nil before dereference. [ruby-core:09116] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/parsedate.rb: documentation patch from Konrad Meyermatz2006-10-093-35/+103
| | | | | | | | | <konrad.meyer@gmail.com>. [ruby-doc:1238] * lib/open3.rb, lib/ping.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/encoding.rb (REXML::Encoding::check_encoding): spacesmatz2006-10-092-3/+3
| | | | | | | | | are allowed around equal sign. [ruby-core:09032] * lib/rexml/parsers/baseparser.rb (REXML::Parsers::BaseParser): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/testcase.rb (Test::Unit::TestCase.suite): test namenobu2006-10-031-1/+1
| | | | | | | must be string. fixed: [ruby-core:08978] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/collector/dir.rb (Test::Unit::Collector::Dir#collect_file):nobu2006-10-021-1/+1
| | | | | | | load expanded path. fixed: [ruby-dev:29621] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/autorunner.rb (Test::Unit::AutoRunner::COLLECTORS):nobu2006-10-021-2/+2
| | | | | | | | | base directory should be lower precedence. fixed: [ruby-dev:29622] * lib/test/unit/autorunner.rb (Test::Unit::AutoRunner#options): typo. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (test-all): separate directory where running test casesnobu2006-10-012-8/+33
| | | | | | | | | | | | | from source tree. * lib/test/unit/autorunner.rb (options): added --basedir, --workdir and --load-path options. * lib/test/unit/collector/dir.rb (recursive_collect, collect_file): base directory support. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (OptionParser#make_switch): pass arguments directly.nobu2006-10-011-8/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* updated based on date2 3.9.4.tadf2006-09-302-465/+528
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * jcode.rb (succ!): call original succ! if $KCODE == 'n'.eban2006-09-291-2/+1
| | | | | | | fixed: [ruby-talk:216845] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (try_func): revert fallback checking undeclared function.nobu2006-09-291-1/+6
| | | | | | | fixed: [ruby-core:08949] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e