Commit graph

133 commits

Author SHA1 Message Date
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
dave
865cd4fc39 Incorporate Micheal Neumanns client-side imagemap patch
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-16 20:28:43 +00:00
dave
ec00c7e6fb Minor parse problem if hyperlink text starts \w+:...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-13 12:37:40 +00:00
dave
353b6c6d03 Allow optional : before call-seq:
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-12 17:21:21 +00:00
dave
fbaf7e98cb Use real right arrow for -> in call-seq
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-12 16:03:11 +00:00
dave
c874753bb2 Commit miss
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-12 15:54:25 +00:00
dave
e6de7978a1 Support call-seq: for Ruby methods
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-12 15:52:35 +00:00
dave
70462a011e Allow multiple words in braces before a link
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-12 12:20:51 +00:00
dave
03e766f2c3 Update comment to show call-seq example
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-07 02:15:17 +00:00
dave
256be3c09c Fixed parsing of %r{} when generating source popup
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-22 16:47:31 +00:00
dave
ea63eef678 Allow "do" after "for". Fix up css for standalone code window
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-26 05:02:55 +00:00
dave
b6a561ccc0 SYSTEM identifiers must be absolute
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-24 01:48:37 +00:00