aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix namespacingdrbrain2008-01-171-19/+21
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date.rb (Date::Infinity#<=>): didn't work. A patch fromtadf2008-01-172-7/+7
| | | | | | | | | | | Dirkjan Bussink <d.bussink AT gmail.com> [ruby-core:15098]. This is a bug obviously. However it didn't affect the library's functions. * lib/date.rb, lib/date/format.rb: some trivial changes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Clean up commentsdrbrain2008-01-161-41/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/shellwords.rb: scape should be an alias to shellescape. amatz2008-01-141-1/+1
| | | | | | | patch from Masahiro Kawato <m-kawato AT mwb.biglobe.ne.jp> in [ruby-dev:33060]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Renamespace lib/rdoc/markup from SM::SimpleMarkup to RDoc::Markup.drbrain2008-01-1429-2751/+2501
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rake/ruby182_test_unit_fix.rb: removed.nobu2008-01-142-29/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/time.rb: do not reference Time directly from the inside oftadf2008-01-141-9/+9
| | | | | | | definitions. [ruby-dev:33059] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Cleanup RDocdrbrain2008-01-138-211/+201
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Complete RDoc namespace changedrbrain2008-01-1315-46/+45
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Reorganize RDoc generatorsdrbrain2008-01-1314-251/+254
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date.rb, lib/date/format.rb: tuning for performance.tadf2008-01-122-13/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Remove lib/rdoc/usage.rbdrbrain2008-01-112-230/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Follow namespace change for RDoc/RI [ruby-core:14964]drbrain2008-01-111-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/options.rb ():nobu2008-01-111-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/e2mmap.rb (Exception2MessageMapper::Raise): define fail.matz2008-01-091-0/+1
| | | | | | [ruby-dev:32854] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mathn.rb (Prime#each): returns an enumerator if no blockkazu2008-01-091-0/+1
| | | | | | | given. [ruby-dev:32815] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httprequest.rb: supprt X-Forwarded-* header fields.gotoyuzo2008-01-091-2/+48
| | | | | | | | | | | | | | WEBrick::HTTPRequest#{host,port,request_uri} is derived having regards to X-Forwarded-Proto and X-Forwarded-Host. * lib/webrick/httprequest.rb (WEBrick::HTTPRequest#server_name?): new method. (WEBrick::HTTPRequest#remote_ip?): new method. (WEBrick::HTTPRequest#ssl?): new method. * string.c (rb_enc_cr_str_buf_cat): fix self appending. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/server.rb (WEBrick::HTTPServer#start):gotoyuzo2008-01-091-0/+1
| | | | | | | :DoNotReverseLookup option had not been performed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Speed up Marshal load, fix bug with nested classes' methodsdrbrain2008-01-081-3/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Clean up namespacing of RI's classesdrbrain2008-01-0818-1400/+1356
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Replace ri with Ryan Davis' cached ridrbrain2008-01-089-534/+525
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add additional information to RDoc template valuesdrbrain2008-01-071-36/+38
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpservlet/cgihandler.rb: external encoding ofgotoyuzo2008-01-071-0/+2
| | | | | | | tempfiles is set to "ASCII-8BIT". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use ERB instead of custom template language for RDoc.drbrain2008-01-0710-1573/+680
| | | | | | | | Remove old_html template. Convert all templates to ERB. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Namespace TokenStream under RDoc.drbrain2008-01-071-8/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Namespace RDoc::DOT. Clean up formatting of RDoc::Diagrams.drbrain2008-01-072-74/+77
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Convert RDoc to OptionParser, clean up -h output, namespace Options under RDoc.drbrain2008-01-0711-589/+624
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merge documentation from the same class on ri generation.drbrain2008-01-072-10/+16
| | | | | | | | Fixes bug where documentation could disappear. Fix typo in lib/rdoc/options.rb git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Collapse namespaces and refactor requires in RDocdrbrain2008-01-076-366/+352
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Clean up comments and whitespace in RDoc generatorsdrbrain2008-01-074-262/+248
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/erb.rb (ERB::Revision): cut off locale dependent string in Dateakr2008-01-061-1/+1
| | | | | | | keyword. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * $Date$ keyword removed to avoid inclusion of locale dependentakr2008-01-0658-58/+0
| | | | | | | string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/securerandom.rb: Add Win32 support.technorama2008-01-061-2/+47
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date.rb, lib/date/format.rb: introduced some constantstadf2008-01-062-59/+82
| | | | | | | | | (for internal use) and aliases (minute and second). * sample/cal.rb: trivial adjustments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/resolv.rb (Reolv::DNS#each_address): get A record and then AAAAnaruse2008-01-051-10/+2
| | | | | | | record. [ruby-dev:32925] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (Init_eval): move instance_eval and instance_exec tomatz2008-01-041-2/+4
| | | | | | | | BasicObject. [ruby-core:14747] * lib/delegate.rb: should preserve new methods in BasicObject. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use hard tab.tadf2008-01-021-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml: 1.9 patch from Sam Ruby mentioned in his blog:matz2008-01-0115-67/+85
| | | | | | | <http://intertwingly.net/blog/2007/12/31/Porting-REXML-to-Ruby-1-9> [ruby-core:14639] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpproxy.rb (WEBrick::HTTPProxyServer#proxy_service):gotoyuzo2007-12-311-102/+138
| | | | | | | | | | call do_XXX which corespond with request method. (WEBrick::HTTPProxyServer#do_CONNECT,do_GET,do_POST,do_HEAD): added. * test/webrick/test_httpproxy.rb: add test for WEBrick::HTTPProxyServer. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date.rb (_valid_time?): I'm not sure to recommend such antadf2007-12-301-4/+4
| | | | | | | expression. but anyway it is acceptable now. [ruby-core:14580] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (depend_rules): need to convert `/' to `\' for windowsusa2007-12-291-0/+4
| | | | | | | | native commands. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Fix variable name.gotoyuzo2007-12-281-5/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/assertions.rb (Test::Unit::Assertions#assert_throws):gotoyuzo2007-12-281-11/+11
| | | | | | | | | | | throw won't raise NameError nor ThreadError but ArgumentError on 1.9. (Test::Unit::Assertions#assert_not_throws): ditto. * test/testunit/test_assertions.rb: add assertions for throwing some objects other than Symbol. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/resolv.rb (Resolv::DNS#each_address): now returns IPv6 address.naruse2007-12-281-3/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Move lib/rdoc/dot/dot.rb to lib/rdoc, un-namespace.drbrain2007-12-283-274/+266
| | | | | | Fix lib/rdoc/diagrom.rb for 1.9 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Move RDoc markup samples to sample/rdoc/markup directorydrbrain2007-12-282-58/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Remove test directorydrbrain2007-12-281-2/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Remove garbage ("X=1").knu2007-12-281-2/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Move RDoc tests out of lib/drbrain2007-12-283-658/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/rss.rb, test/rss/test_version.rb: 0.2.2 -> 0.2.3.kou2007-12-282-15/+17
| | | | | | | | * lib/rss/parser.rb, test/rss/test_parser.rb: supported "-" in tag name. Reported by Ray Chen. Thanks. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e