akr
133a6011f7
* lib/rdoc/template.rb (RDoc): defined to avoid uninitialized constant
...
error by `./ruby test/rubygems/test_gem_server.rb'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-19 12:04:21 +00:00
tadf
3449e0710c
* lib/date.rb (once): use an instance variable which points a hash
...
as cache. [experimental]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-19 09:42:44 +00:00
tadf
bf031c9699
* lib/date.rb, lib/date/format.rb: parse's hints as an
...
experimental function has been removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-19 08:23:33 +00:00
drbrain
8d37cefaf8
* lib/rdoc/markup: Remove ListBase and Line constants.
...
* lib/rdoc/ri: Allow output IO to be specified.
* test/rdoc/parser/test_parse_c.rb: Move up one level, fixed.
* test/rdoc/parser/test_rdoc_markup_attribute_manager.rb: Renamed to
match new class name, updated to match new classes.
* test/rdoc/test_rdoc_ri_formatter.rb: Start of RI formatting tests.
* test/rdoc/test_rdoc_ri_attribute_manager.rb: Start of
RDoc::RI::AttributeManager tests.
* test/rdoc/test_simple_markup.rb: Moved to match new class name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-19 00:06:19 +00:00
drbrain
6d59907c0f
Fix namespacing
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-17 19:29:16 +00:00
tadf
49622de368
* lib/date.rb (Date::Infinity#<=>): didn't work. A patch from
...
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
2008-01-17 12:05:43 +00:00
drbrain
c3e2bdcc20
Clean up comments
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-16 01:36:19 +00:00
matz
d407e2fac8
* lib/shellwords.rb: scape should be an alias to shellescape. a
...
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
2008-01-14 07:14:14 +00:00
drbrain
fcb0b1f503
Renamespace lib/rdoc/markup from SM::SimpleMarkup to RDoc::Markup.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-14 03:34:05 +00:00
nobu
cbd4604c53
* lib/rake/ruby182_test_unit_fix.rb: removed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-14 01:59:03 +00:00
tadf
669e94a314
* lib/time.rb: do not reference Time directly from the inside of
...
definitions. [ruby-dev:33059]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-14 00:27:35 +00:00
drbrain
0feac89d2d
Cleanup RDoc
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-13 03:35:34 +00:00
drbrain
ec519b9b43
Complete RDoc namespace change
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-13 03:13:37 +00:00
drbrain
937b7ab8b5
Reorganize RDoc generators
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-13 03:02:49 +00:00
tadf
ea78055b08
* lib/date.rb, lib/date/format.rb: tuning for performance.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-12 03:03:31 +00:00
drbrain
7e6cf122ef
Remove lib/rdoc/usage.rb
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-11 09:31:15 +00:00
drbrain
b5417ef56d
Follow namespace change for RDoc/RI [ruby-core:14964]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-11 09:18:53 +00:00
nobu
8b39fb1045
* lib/rdoc/options.rb ():
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-11 01:24:05 +00:00
matz
b3f93b1f43
* lib/e2mmap.rb (Exception2MessageMapper::Raise): define fail.
...
[ruby-dev:32854]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-09 14:23:34 +00:00
kazu
cbf7c9adde
* lib/mathn.rb (Prime#each): returns an enumerator if no block
...
given. [ruby-dev:32815]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-09 13:10:31 +00:00
gotoyuzo
b04f5e661f
* lib/webrick/httprequest.rb: supprt X-Forwarded-* header fields.
...
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
2008-01-09 11:37:03 +00:00
gotoyuzo
a5505ab833
* lib/webrick/server.rb (WEBrick::HTTPServer#start):
...
:DoNotReverseLookup option had not been performed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-09 04:46:55 +00:00
drbrain
edeeefb7a5
Speed up Marshal load, fix bug with nested classes' methods
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-08 10:49:19 +00:00
drbrain
3e39ade457
Clean up namespacing of RI's classes
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-08 10:18:41 +00:00
drbrain
e539dc6080
Replace ri with Ryan Davis' cached ri
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-08 09:07:31 +00:00
drbrain
3938f9db46
Add additional information to RDoc template values
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-07 21:28:43 +00:00
gotoyuzo
cc3350f118
* lib/webrick/httpservlet/cgihandler.rb: external encoding of
...
tempfiles is set to "ASCII-8BIT".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-07 11:40:41 +00:00
drbrain
466d40ed15
Use ERB instead of custom template language for RDoc.
...
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
2008-01-07 10:40:50 +00:00
drbrain
ead85d123f
Namespace TokenStream under RDoc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-07 07:11:15 +00:00
drbrain
9ad5f854e7
Namespace RDoc::DOT. Clean up formatting of RDoc::Diagrams.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-07 07:06:59 +00:00
drbrain
4b93d732e4
Convert RDoc to OptionParser, clean up -h output, namespace Options under RDoc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-07 06:56:46 +00:00
drbrain
d9d3e87a52
Merge documentation from the same class on ri generation.
...
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
2008-01-07 02:52:15 +00:00
drbrain
b543ed3ac8
Collapse namespaces and refactor requires in RDoc
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-07 01:36:33 +00:00
drbrain
b0f13cfebe
Clean up comments and whitespace in RDoc generators
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-07 00:42:03 +00:00
akr
35f28e6b81
* lib/erb.rb (ERB::Revision): cut off locale dependent string in Date
...
keyword.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-06 16:07:04 +00:00
akr
6cdef2dc7e
* $Date$ keyword removed to avoid inclusion of locale dependent
...
string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-06 15:49:38 +00:00
technorama
4ca0782393
* lib/securerandom.rb: Add Win32 support.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-06 09:11:34 +00:00
tadf
352d72719b
* lib/date.rb, lib/date/format.rb: introduced some constants
...
(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
2008-01-06 00:38:22 +00:00
naruse
2435067f6c
* lib/resolv.rb (Reolv::DNS#each_address): get A record and then AAAA
...
record. [ruby-dev:32925]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-05 15:53:35 +00:00
matz
373d43f61e
* eval.c (Init_eval): move instance_eval and instance_exec to
...
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
2008-01-04 16:51:16 +00:00
tadf
3236366b90
use hard tab.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-02 01:46:26 +00:00
matz
1448668244
* lib/rexml: 1.9 patch from Sam Ruby mentioned in his blog:
...
<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
2008-01-01 05:43:50 +00:00
gotoyuzo
aaf78dec43
* lib/webrick/httpproxy.rb (WEBrick::HTTPProxyServer#proxy_service):
...
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
2007-12-31 14:17:41 +00:00
tadf
ce1834d658
* lib/date.rb (_valid_time?): I'm not sure to recommend such an
...
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
2007-12-30 13:48:03 +00:00
usa
99a24e9e15
* lib/mkmf.rb (depend_rules): need to convert `/' to `\' for windows
...
native commands.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-29 21:28:53 +00:00
gotoyuzo
5179e8a765
* Fix variable name.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-28 19:55:04 +00:00
gotoyuzo
d356ccc987
* lib/test/unit/assertions.rb (Test::Unit::Assertions#assert_throws):
...
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
2007-12-28 19:47:55 +00:00
naruse
727d85c0e3
* lib/resolv.rb (Resolv::DNS#each_address): now returns IPv6 address.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-28 07:38:56 +00:00
drbrain
c43f867852
Move lib/rdoc/dot/dot.rb to lib/rdoc, un-namespace.
...
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
2007-12-28 07:11:30 +00:00
drbrain
ecb7eb6ba4
Move RDoc markup samples to sample/rdoc/markup directory
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-28 06:39:15 +00:00