drbrain
07b132f742
Don't print warnings when -q is set.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-14 22:19:36 +00:00
drbrain
cbb83fbf67
Don't merge ri files if is nil/empty
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-14 20:42:36 +00:00
matz
98d593dc9e
* lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::parse_symbol_arg):
...
typo fixed. a patch from Florian Gross <florg at florg.net>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-15 08:45:02 +00:00
matz
dafff6db59
* lib/rdoc/ri/ri_formatter.rb (RI::TextFormatter::wrap): removed
...
space before argument parenthesis. [ruby-talk:183630]
* ruby.1: a clarification patch from David Lutterkort
<dlutter at redhat.com>. [ruby-core:7508]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-03-11 08:27:43 +00:00
matz
6834f57ba0
* lib/rdoc/ri/ri_paths.rb (RI::Paths): adding paths from rubygems
...
directories. a patch from Eric Hodel <drbrain at segment7.net>.
[ruby-core:07423]
* eval.c (rb_thread_fd_writable): should not re-schedule output
from KILLED thread (must be error printing).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-03-03 17:39:28 +00:00
ocean
0c344f2b59
* lib/rdoc/parsers/parse_rb.rb (read_escape): could not handle /\^/.
...
merged Mr. Ishizuka's lib/irb/ruby-lex.rb 's patch rev 1.29.
[ruby-talk:181631] [ruby-dev:28404]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-28 15:27:24 +00:00
matz
729bafdf3a
* lib/tracer.rb (Tracer::Tracer.add_filter): turn on tracer mode
...
only when caller() level size is one. [ruby-core:07389]
* lib/rdoc/parsers/parse_rb.rb: need not to require "tracer".
[ruby-core:07389]
* sample/rtags.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-18 15:38:56 +00:00
ocean
40f9da0873
* lib/rdoc/usage.rb: support "a:0:33" style caller[-1]. In this case
...
file name is "a:0". I don't know this really happens though...
[ruby-Bugs:3344]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-27 22:58:07 +00:00
ocean
1383c1eb2d
* lib/rdoc/diagram.rb:
...
- properly quote bare element attributes
- terminates dangling elements (e.g. <img>, <br>, <link>, etc)
- converts "CVS" to the more HTML-friendly acronym element
- adds missing type attributes to style elements
based on Paul Duncan's patch <pabs@pablotron.org> [ruby-core:7028]
* lib/rdoc/generators/html_generator.rb: ditto.
* lib/rdoc/generators/template/html/hefss.rb: ditto.
* lib/rdoc/generators/template/html/html.rb: ditto.
* lib/rdoc/generators/template/html/kilmer.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-13 10:27:52 +00:00
matz
90509da425
* eval.c (rb_call_super): should call method_missing if super is
...
called from Kernel method.
* eval.c (exec_under): frame during eval should preserve external
information.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-01 13:45:00 +00:00
nobu
e8871610c9
* lib/rdoc/markup/simple_markup.rb (SM::SimpleMarkup::LABEL_LIST_RE):
...
reduce redundant backtrack. [ruby-talk:161771]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-24 17:13:42 +00:00
ocean
932c3997e9
* lib/rdoc/usage.rb: supress warning.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-29 11:07:10 +00:00
ocean
ce350d61b4
* lib/rdoc/usage.rb: improper exceptions. [ruby-dev:26870]
...
* lib/rdoc/usage.rb: support the case when non-ruby code exists before
shebang. (this is needed when ri.bat is executed on windows)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-29 10:56:05 +00:00
nobu
4a994c8454
* lib/rdoc/parsers/parse_c.rb (handle_class_module): handle a
...
module enclosed in a built-in module. fixed: [ruby-talk:148239]
* lib/rdoc/parsers/parse_c.rb (find_body): allow macros as methods.
* lib/rdoc/parsers/parse_c.rb (find_call_seq): allow :nodoc: modifier
in C. [ruby-core:04572]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-07-15 15:00:11 +00:00
ocean
afdbd6fc52
restored @progress
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-14 02:23:45 +00:00
ocean
5bac006483
* lib/rdoc/parsers/parse_c.rb: more readability for mixing
...
progress "c..." and warning message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-12 07:53:39 +00:00
ocean
bdbbf18c4a
* lib/rdoc/parsers/parse_c.rb: show parsing progress for C files.
...
[ruby-core:4341] (based on Tilman Sauerbeck's patch)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-12 07:00:37 +00:00
nobu
f132f2705d
* lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser#do_includes): replace
...
also locally defined modules.
* ext/iconv/iconv.c: backport Iconv::InvalidEncoding from CVS HEAD.
* ext/strscan/strscan.c: moved misplaced rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-04 10:39:46 +00:00
matz
8cdd45d15b
* ext/etc/etc.c (Init_etc): sGroup needs HAVE_ST_GR_PASSWD check.
...
[ruby-dev:25675]
* misc/ruby-mode.el: [ruby-core:04415]
* lib/rdoc/generators/html_generator.rb: [ruby-core:04412]
* lib/rdoc/generators/ri_generator.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-12 10:57:22 +00:00
matz
2ef0c6a109
* document updates - [ruby-core:04296], [ruby-core:04301],
...
[ruby-core:04302], [ruby-core:04307]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-24 06:45:50 +00:00
dave
556a2682d1
Allow for colons in DOS file names
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-05 23:02:50 +00:00
dave
2814dbe601
Fix problem in ri formatting if heading contains markup
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-31 05:22:05 +00:00
dave
9aa36880e1
Update kilmer template to use sections
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-29 02:16:33 +00:00
dave
1a33c544b7
Don't show r/w accessor flags if none were specified for custom attributes
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-12 01:37:24 +00:00
dave
975fc745b3
Never exclude files given on command line
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-12 01:16:19 +00:00
dave
2f6f96739b
Fix CSS typo that meant h2 headings were invisible
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-08 14:56:55 +00:00
dave
a4a18e67e0
1.8 doesn't have String#clear
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-06 01:19:06 +00:00
dave
e28c8d2c52
Ignore leading and trailing lines in :section: blocks
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-04 05:38:17 +00:00
dave
8d68de2482
Fix problem with :section: and new 1.9
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-26 04:32:11 +00:00
dave
02942d87b9
Don't include 'require's with variable arguments
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-22 13:37:39 +00:00
dave
3635edac9d
1. Force --inline-source if --one-file given
...
2. Add new :section: directive which starts a new section in the output.
The title following :section: is used as the section heading, and the
remainder of the comment containing the section is used as
introductory text. Subsequent methods, aliases, attributes,
and classes will be documented in this section.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-20 15:02:57 +00:00
dave
443c67721f
Change version numbering of RDoc and ri
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-08 15:55:23 +00:00
dave
a7b4316a3a
Fix bug where parent class wasn't being detected if the
...
child class was defined using the A::B notation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-08 13:25:26 +00:00
nobu
383723abc8
* CR stripped.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-29 08:43:10 +00:00
dave
8a0d7d99ae
Restore correct :nodoc: behavior with nested classes
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-26 14:33:17 +00:00
dave
3b832e90a2
RDoc can now deal with "attr" used as a variable
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-19 13:46:05 +00:00
dave
ff17f9ecbd
Support "require" as variable name in RDoc
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-10 03:35:51 +00:00
dave
f2ff67952f
Add simple formatter to ri
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-14 14:49:19 +00:00
dave
6a0f9a2c79
Fix up cross-file class merging
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-11 07:11:46 +00:00
dave
58b0e400aa
James Buck's patch for call-seq
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-09 17:46:05 +00:00
dave
6022ebe824
Allow spaces around parameter to define_method_under
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-09 02:48:32 +00:00
dave
2ad8cb5428
ri now merges the documentation if it finds the same class in multiple places
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-30 14:22:26 +00:00
dave
0779c3f960
*** empty log message ***
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-25 19:39:18 +00:00
dave
793f02e76b
Get RDoc::usage playing better with OptionParser
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-16 16:41:21 +00:00
eban
78bd9eec34
* rdoc/markup/simple_markup/to_flow.rb: typo fix(CGI -> cgi).
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-15 10:07:08 +00:00
dave
180e588b3d
Add Ri environment variable support
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-13 18:43:21 +00:00
dave
ceb85657e7
Forgot to backport
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-13 18:06:44 +00:00
dave
5d0abf80ff
Add "usage" interface
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-13 17:52:52 +00:00
(no author)
1ecae02404
This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-13 17:52:52 +00:00
dave
4742742880
Bugfix: looping on some toplevel symbols. Added SWIG support
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-02 02:59:17 +00:00