summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2006-07-06* ext/racc/cparse/cparse.c: sync with original code, rev 1.8.aamine
* ext/racc/cparse/cparse.c: should mark CparseParams objects. * lib/racc/parser.rb: sync with original code, rev 1.8. * lib/racc/parser.rb: update coding style. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-28RDoc patch by Robin Stocker <robin@nibor.org>drbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-27Remove duplicated requiredrbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-26Merge from HEAD.drbrain
Add --system, --site, --home, --gems to ri. Allow --doc-dir to be specified multiple times. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-22* lib/net/http.rb (Net::HTTPResponse): duplicated error 501;matz
HTTPInternalServerError should be error 500. [ruby-core:08037] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-21fixed an issue about mathn.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-20* lib/xmlrpc/create.rb (XMLRPC::Create::conv2value): merge Datematz
and Time processing. [ruby-core:08033] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-20Fix typodrbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-20* lib/rss/rss.rb: RSS::Element.def_corresponded_attr_writerkou
supported date type. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-20* lib/rss/rss.rb: provided default RSS::Element#children.kou
* lib/rss/0.9.rb: used default RSS::Element#children. * lib/rss/1.0.rb: ditto. * lib/rss/2.0.rb: ditto. * lib/rss/taxonomy.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-20* lib/rss/rss.rb: provided default RSS::Element#_tags.kou
* lib/rss/0.9.rb: used default RSS::Element#_tags. * lib/rss/1.0.rb: ditto. * lib/rss/2.0.rb: ditto. * lib/rss/image.rb: ditto. * lib/rss/taxonomy.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-20* lib/rss/rss.rb: hide RSS::Element.install_model.kou
(RSS::Element.install_have_child_element, RSS::Element.install_have_children_element, RSS::Element.install_text_element, RSS::Element.install_date_element): call RSS::Element.install_model internally. * lib/rss/0.9.rb: followed new API. * lib/rss/1.0.rb: ditto. * lib/rss/2.0.rb: ditto. * lib/rss/content.rb: ditto. * lib/rss/dublincore.rb: ditto. * lib/rss/image.rb: ditto. * lib/rss/syndication.rb: ditto. * lib/rss/taxonomy.rb: ditto. * lib/rss/trackback.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-19Merge RDoc from HEADdrbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-19* lib/rss/rss.rb:kou
- cleanup validation mechanism. Now, #XXX_validation is needless. - changed internal variable name RSS::Element::MODEL to RSS::Element::MODELS. - RSS::Element.install_model requires uri. * lib/rss/0.9.rb: followed new validation API. * lib/rss/1.0.rb: ditto. * lib/rss/2.0.rb: ditto. * lib/rss/content.rb: ditto. * lib/rss/dublincore.rb: ditto. * lib/rss/image.rb: ditto. * lib/rss/syndication.rb: ditto. * lib/rss/taxonomy.rb: ditto. * lib/rss/trackback.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-19* lib/mathn.rb (Integer::prime_division): raise ZeroDivisionErrormatz
on zeros. [ruby-dev:28739] * version.h: 1.8.5 - prepare for preview1. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-19* lib/rss/rss.rb:kou
- provided default #to_s as RSS::Element#to_s. - removed RSS::Element#other_element. - RSS::Element#tag requires attributes as Hash instead of Array. * lib/rss/0.9.rb: removed #to_s to use RSS::Element#to_s. * lib/rss/1.0.rb: ditto. * lib/rss/image.rb: ditto. * lib/rss/taxonomy.rb: ditto. * lib/rss/trackback.rb: ditto. * lib/rss/2.0.rb: removed #other_element. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-18* lib/rss/rss.rb: automatically detected attributes.kou
* lib/rss/0.9.rb: removed #_attrs. * lib/rss/1.0.rb: ditto. * lib/rss/2.0.rb: ditto. * lib/rss/image.rb: ditto. * lib/rss/taxonomy.rb: ditto. * lib/rss/trackback.rb: ditto. * lib/rss/parser.rb: followed new internal API. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-18* lib/rss/rss.rb: RSS::Element#initialize accepts initialkou
attributes. * lib/rss/0.9.rb: ditto. * lib/rss/1.0.rb: ditto. * lib/rss/2.0.rb: ditto. * lib/rss/dublincore.rb: ditto. * lib/rss/image.rb: ditto. * lib/rss/taxonomy.rb: ditto. * lib/rss/trackback.rb: ditto. * lib/rss/utils.rb: added Utils.element_initialize_arguments? to detect backward compatibility initial arguments. * lib/rss/parser.rb: user initial attributes to initialize RSS::Element. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-18* lib/rss/converter.rb: use NKF for Uconv fallback.kou
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-18* lib/rss/rss.rb: improved ignore_unknown_elementkou
handling. RSS::NotExpectedTagError provides tag URI. * lib/rss/parser.rb: ditto. * lib/rss/0.9.rb: ditto. * lib/rss/1.0.rb: ditto. * lib/rss/content.rb: ditto. * lib/rss/dublincore.rb: ditto. * lib/rss/image.rb: ditto. * lib/rss/syndication.rb: ditto. * lib/rss/taxonomy.rb: ditto. * lib/rss/trackback.rb: ditto. * test/rss/rss-assertions.rb: checked URI of not expected tag too. * test/rss/test_parser.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-18* lib/rss/rss.rb: changed empty namespace URI representation to ""kou
from nil. * lib/rss/parser.rb: ditto. * lib/rss/0.9.rb: ditto. * lib/rss/1.0.rb: ditto. * lib/rss/2.0.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-18* lib/rss/parser.rb: removed a guard for requiring open-uri.kou
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-18* lib/rss/rss.rb: fixed typo: except -> expectkou
* lib/rss/parser.rb: ditto. * test/rss/rss-assertions.rb: ditto. * test/rss/test_parser.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-18* lib/rss/rss.rb: RSS::Element#calc_indent became to be deprecated.kou
* lib/rss/0.9.rb: ditto. * lib/rss/1.0.rb: ditto. * lib/rss/image.rb: ditto. * lib/rss/taxonomy.rb: ditto. * lib/rss/trackback.rb: ditto. * test/rss/test_1.0.rb: removed RSS::Element.indent_size tests. * test/rss/test_2.0.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-17* lib/pathname.rb: backport from 1.9.akr
(Kernel#Pathname): new method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-17* lib/rss/rss.rb (Hash#merge, Enumerable#sort_by): removed.kou
* lib/rss/rss.rb (RSS::RootElementMixin#to_xml): added. [ruby-talk:197284] We can convert RSS version easily like the following: rss10 = RSS::Parser.parse(File.read("1.0.rdf")) File.open("2.0.rss", "w") {|f| f.print(rss10.to_xml("2.0"))} * test/rss/test_1.0.rb: added #to_xml test. * test/rss/test_2.0.rb: ditto. * test/rss/rss-testcase.rb: added some helper methods that generates sample RSS 2.0. * sample/rss/convert.rb: added a sample script to convert RSS format. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-17* lib/rss/rss.rb (Kernel#funcall): removed.kou
* lib/rss/parser.rb (Kernel.URI): removed. * lib/rss/maker/: supported xxx.new_yyy do |yyy| yyy.zzz = zzz ... end style and this style became the style of the recommendation. Old style yyy = xxx.new_yyy yyy.zzz = zzz ... is supported too but this style isn't recommended. [ruby-talk:197284] * test/rss/test_*maker*.rb: used new recommended style. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-17* lib/rss, test/rss: backported from trunk. (2005-11-16 - now)kou
* lib/rss/rss.rb: added backward compatibility codes. * lib/rss/parser.rb: ditto. * test/rss/test_parser.rb: ditto. * test/rss/test_2.0.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-17* lib/rss, test/rss: backported from trunk. (2005-11-16 - now)kou
* lib/rss/rss.rb: improved type conversion. * lib/rss/1.0.rb: ditto. * lib/rss/0.9.rb: ditto. * lib/rss/2.0.rb: ditto. * lib/rss/image.rb: ditto. * lib/rss/syndication.rb: ditto. * test/rss/test_2.0.rb: added type conversion tests. * test/rss/test_accessor.rb: ditto. * test/rss/test_to_s.rb: ditto. * test/rss/test_syndication.rb: ditto. * test/rss/test_setup_maker_2.0.rb: ditto. * test/rss/test_setup_maker_1.0.rb: ditto. * test/rss/test_setup_maker_0.9.rb: ditto. * test/rss/test_maker_sy.rb: ditto. * test/rss/test_maker_image.rb: ditto. * test/rss/test_maker_2.0.rb: ditto. * test/rss/test_maker_0.9.rb: ditto. * test/rss/test_image.rb: ditto. * test/rss/test_maker_1.0.rb: use assert instead of assert_equal. * test/rss/rss-assertions.rb: improved type conversion assertions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-17* lib/rss, test/rss: backported from trunk. (2005-11-16 - now)kou
* lib/rss/image.rb: added Image prefix. * lib/rss/maker/image.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-17* lib/rss, test/rss: backported from trunk. (2005-11-16 - now)kou
* test/rss/test_2.0.rb: added RSS 2.0 tests. * test/rss/rss-assertions.rb: extended XML stylesheet assertion. * lib/rss/0.9.rb: added initialize method. * test/rss/test_1.0.rb: cleanup. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-17* lib/rss, test/rss: backported from trunk. (2005-11-16 - now)kou
* lib/rss/parser.rb: added entity handling type predicate. * lib/rss/rexmlparser.rb: ditto. * lib/rss/xmlparser.rb: ditto. * lib/rss/xmlscanner.rb: ditto. * lib/rss/xmlscanner.rb: more robust entity handling. * test/rss/test_parser.rb: added an entity handling test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-17* lib/rss, test/rss: backported from trunk. (2005-11-16 - now)kou
* lib/rss/: use #__send__ instead of #send. * test/rss/: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-17* lib/rss, test/rss: backported from trunk. (2005-11-16 - now)kou
* lib/rss/taxonomy.rb: changed class or module prefix to Taxonomy from Taxo. * lib/rss/maker/taxonomy.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-17* lib/rss, test/rss: backported from trunk. (2005-11-16 - now)kou
* lib/rss/maker/taxonomy.rb: implemented taxonomy module for RSS Maker. * lib/rss/taxonomy.rb: supported RSS Maker. * lib/rss/maker.rb: added taxonomy module support. * lib/rss/rss.rb: adjusted to other element API. * lib/rss/1.0.rb: adjusted to other element API but backward compatibility is reserved. * lib/rss/0.9.rb: ditto. * test/rss/test_maker_taxo.rb: added test case for taxonomy module for RSS Maker. * test/rss/test_setup_maker_1.0.rb: added tests for taxo:topic. * test/rss/test_setup_maker_1.0.rb: added backward compatibility test. * test/rss/test_setup_maker_0.9.rb: ditto. * test/rss/test_setup_maker_2.0.rb: ditto. * test/rss/rss-testcase.rb: added convenience method for setting up taxo:topic. * test/rss/rss-assertions.rb: added assertion for taxo:topic. * sample/rss/blend.rb: followed new API. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-17* lib/rss, test/rss: backported from trunk. (2005-11-16 - now)kou
* lib/rss/rss.rb: fixed a indentation bug. * lib/rss/taxonomy.rb: fixed <taxo:topic> #to_s bug. * test/rss/test_taxonomy.rb: added a #to_s test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-17* lib/rss, test/rss: backported from trunk. (2005-11-16 - now)kou
* lib/rss/1.0.rb: added convenience method 'resources'. * lib/rss/taxonomy.rb: ditto. * test/rss/rss-assertions.rb: added test for 'resources'. * test/rss/test_taxonomy.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-17* lib/rss, test/rss: backported from trunk. (2005-11-16 - now)kou
* lib/rss/taxonomy.rb: implemented taxonomy module. * test/rss/test_taxonomy.rb: added tests for taxonomy support. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-17* lib/rss, test/rss: backported from trunk. (2005-11-16 - now)kou
* lib/rss/1.0.rb: added rdf:Bag. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-17* lib/rss, test/rss: backported from trunk. (2005-11-16 - now)kou
* lib/rss/rss.rb : removed needless argument 'prefix'. * lib/rss/parser.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-17* lib/rss, test/rss: backported from trunk. (2005-11-16 - now)kou
* lib/rss/trackback.rb: added TrackBack prefix. * lib/rss/maker/trackback.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-17* lib/rss, test/rss: backported from trunk. (2005-11-16 - now)kou
* lib/rss/rss.rb (RSS::VERSION): 0.1.5 -> 0.1.6. * test/rss/test_version.rb (RSS::TestVersion#test_version): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-16* lib/pp.rb (Kernel#pretty_inspect): defined for pretty printedakr
string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-14Don't print warnings when -q is set.drbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-14Don't merge ri files if is nil/emptydrbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-11* lib/optparse.rb (OptionParser::Arguable#getopts): pass self to thenobu
parser. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-10* lib/optparse.rb (OptionParser#getopts): new methods.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-10* ext/bigdecimal/lib/bigdecimal/newton.rb (Newton::nlsolve): typomatz
fixed: raize -> raise. [ruby-talk:196608] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-02* lib/forwardable.rb: RDoc typo fix from Jan Svitokmatz
<jan.svitok at gmail.com>. [ruby-core:07943] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-02* lib/mkmf.rb (CLEANINGS): remove extconf.h by distclean if created.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e