Граф коммитов

496 Коммитов

Автор SHA1 Сообщение Дата
matz 7bd38510a8 * 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/trunk@9956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-18 15:38:56 +00:00
usa 63b7978625 * lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser#get_tk): added
support of :'string' style Symbol.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-02 08:16:30 +00:00
ocean a0dc66d0b5 * 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/trunk@9862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-27 22:58:07 +00:00
ocean c9bfc9bb43 * 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/trunk@9828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-13 10:27:52 +00:00
nobu 55c4223064 * lib/rdoc/parsers/parse_c.rb (find_class_comment): fix for class
document with prototypes.  [ruby-core:06863]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-14 14:50:42 +00:00
matz 9974cb96d3 * 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.

* configure.in: use proper option for Sun linker. A patch from
  Shinya Kuwamura <kuwa@labs.fujitsu.com>.  [ruby-dev:27603]

* numeric.c (fix_rshift): RDoc fix.  [ruby-core:6351]

* util.h (strtod): add #undef for platforms defines strtod()
  macro.   [ruby-dev:27563]

* ext/etc/etc.c: document update from mathew <meta@pobox.com>.
  [ruby-core:06473]

* ext/fcntl/fcntl.c: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-01 13:04:35 +00:00
nobu a7f4a9dc03 * 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/trunk@9460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-24 17:13:42 +00:00
ocean 0b7f8eef40 * lib/rdoc/usage.rb: supress warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-29 11:07:10 +00:00
ocean 7c755d4174 * 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/trunk@9041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-29 10:56:05 +00:00
nobu 2bfa23f034 * 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/trunk@8774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-07-15 15:00:11 +00:00
ocean 2cf330ad77 restored @progress
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-14 02:23:45 +00:00
ocean d806a4daa7 * 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/trunk@8435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-12 07:53:39 +00:00
ocean bf4eb61819 * 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/trunk@8432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-12 07:00:37 +00:00
eban 75cff6289c * lib/rdoc/parsers/parse_rb.rb (lex_init): use IRB module.
[ruby-core:04737]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-20 02:04:05 +00:00
nobu 49af08e188 * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser#do_includes): replace
also locally defined modules.

* ext/iconv/iconv.c: rdocified.

* ext/strscan/strscan.c: moved misplaced rdoc.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-04 10:40:09 +00:00
matz 70bbad3cfd * array.c: replace rb_protect_inspect() and rb_inspecting_p() by
rb_exec_recursive() in eval.c.

* eval.c (rb_exec_recursive): new function.

* array.c (rb_ary_join): use rb_exec_recursive().

* array.c (rb_ary_inspect, rb_ary_hash): ditto.

* file.c (rb_file_join): ditto.

* hash.c (rb_hash_inspect, rb_hash_to_s, rb_hash_hash): ditto.

* io.c (rb_io_puts): ditto.

* object.c (rb_obj_inspect): ditto

* struct.c (rb_struct_inspect): ditto.

* lib/set.rb (SortedSet::setup): a hack to shut up warning.
  [ruby-talk:132866]

* lib/time.rb (Time::strptime): add new function.  inspired by
  [ruby-talk:132815].

* lib/parsedate.rb (ParseDate::strptime): ditto.

* regparse.c: move st_*_strend() functions from st.c.  fixed some
  potential memory leaks.

* exception error messages updated.  [ruby-core:04497]

* ext/socket/socket.c (Init_socket): add bunch of Socket
  constants.  Patch from Sam Roberts <sroberts@uniserve.com>.
  [ruby-core:04409]

* array.c (rb_ary_s_create): no need for negative argc check.
  [ruby-core:04463]

* array.c (rb_ary_unshift_m): ditto.

* lib/xmlrpc/parser.rb (XMLRPC::FaultException): make it subclass
  of StandardError class, not Exception class.  [ruby-core:04429]

* parse.y (fcall_gen): lvar(arg) will be evaluated as
  lvar.call(arg) when lvar is a defined local variable. [new]

* object.c (rb_class_initialize): call inherited method before
  calling initializing block.

* eval.c (rb_thread_start_1): initialize newly pushed frame.

* lib/open3.rb (Open3::popen3): $? should not be EXIT_FAILURE.
  fixed: [ruby-core:04444]

* eval.c (is_defined): NODE_IASGN is an assignment.

* ext/readline/readline.c (Readline.readline): use rl_outstream
  and rl_instream.  [ruby-dev:25699]

* 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.

* struct.c (make_struct): fixed: [ruby-core:04402]

* ext/curses/curses.c (window_color_set): [ruby-core:04393]

* ext/socket/socket.c (Init_socket): SO_REUSEPORT added.
  [ruby-talk:130092]

* object.c: [ruby-doc:818]

* parse.y (open_args): fix too verbose warnings for the space
  before argument parentheses.  [ruby-dev:25492]

* parse.y (parser_yylex): ditto.

* parse.y (parser_yylex): the first expression in the parentheses
  should not be a command.  [ruby-dev:25492]

* lib/irb/context.rb (IRB::Context::initialize): [ruby-core:04330]

* object.c (Init_Object): remove Object#type.  [ruby-core:04335]

* st.c (st_foreach): report success/failure by return value.
  [ruby-Bugs-1396]

* parse.y: forgot to initialize parser struct.  [ruby-dev:25492]

* parse.y (parser_yylex): no tLABEL on EXPR_BEG.
  [ruby-talk:127711]

* document updates - [ruby-core:04296], [ruby-core:04301],
  [ruby-core:04302], [ruby-core:04307]

* dir.c (rb_push_glob): should work for NUL delimited patterns.

* dir.c (rb_glob2): should aware of offset in the pattern.

* string.c (rb_str_new4): should propagate taintedness.

* env.h: rename member names in struct FRAME; last_func -> callee,
  orig_func -> this_func, last_class -> this_class.

* struct.c (rb_struct_set): use original method name, not callee
  name, to retrieve member slot.  [ruby-core:04268]

* time.c (time_strftime): protect from format modification from GC
  finalizers.

* object.c (Init_Object): remove rb_obj_id_obsolete()

* eval.c (rb_mod_define_method): incomplete subclass check.
  [ruby-dev:25464]

* gc.c (rb_data_object_alloc): klass may be NULL.
  [ruby-list:40498]

* bignum.c (rb_big_rand): should return positive random number.
  [ruby-dev:25401]

* bignum.c (rb_big_rand): do not use rb_big_modulo to generate
  random bignums.  [ruby-dev:25396]

* variable.c (rb_autoload): [ruby-dev:25373]

* eval.c (svalue_to_avalue): [ruby-dev:25366]

* string.c (rb_str_justify): [ruby-dev:25367]

* io.c (rb_f_select): [ruby-dev:25312]

* ext/socket/socket.c (sock_s_getservbyport): [ruby-talk:124072]

* struct.c (make_struct): [ruby-dev:25249]

* dir.c (dir_open_dir): new function.  [ruby-dev:25242]

* io.c (rb_f_open): add type check for return value from to_open.

* lib/pstore.rb (PStore#transaction): Use the empty content when a
  file is not found.  [ruby-dev:24561]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-04 06:47:45 +00:00
dave 2c32f0f918 Allow for colons in DOS file names
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-05 23:02:50 +00:00
dave 0eaf4872a6 Fix problem in ri formatting if heading contains markup
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-31 05:12:37 +00:00
dave a35058f9f9 Update kilmer template to use sections
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-29 02:16:33 +00:00
dave 5f87cfb94c Don't show r/w accessot flags if none were specified for custom attributes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-12 01:36:57 +00:00
dave 05b5e64ac3 Never exclude files given on command line
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-12 01:16:19 +00:00
dave 642e10156c Fix CSS typo that meant h2 headings were invisible
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-08 14:56:55 +00:00
dave 5d8d975434 Ignore leading and trailing lines in :section: blocks
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-04 05:38:17 +00:00
dave a052ef75ab Fix problem with :section: and new 1.9
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-26 04:32:11 +00:00
dave d9d5c88cf3 Don't include 'require's with variable arguments
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-22 13:37:39 +00:00
dave a80ba17d67 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/trunk@7344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-20 15:02:57 +00:00
dave 79c4db675a Change version numbering of RDoc and ri
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-08 15:55:23 +00:00
dave 37abc5eaa3 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/trunk@7226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-08 13:25:26 +00:00
nobu 6b8e5b303f * CR stripped.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-29 08:43:10 +00:00
dave 3ecf38f376 Restore correct :nodoc: behavior with nested classes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-26 14:33:17 +00:00
dave d43b40dbdd RDoc can now deal with "attr" used as a variable
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-19 13:46:05 +00:00
dave f5666a648d Support "require" as variable name in RDoc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-10 03:35:51 +00:00
dave 0964c47816 Add simple formatter to ri
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-14 14:49:19 +00:00
dave 61503bbf3b Fix up cross-file class merging
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-11 07:11:46 +00:00
dave a7a1ac81da James Buck's patch for call-seq
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-09 17:46:05 +00:00
dave 156ea41fa2 Allow spaces around parameter to define_method_under
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-09 02:48:32 +00:00
dave 8e94bb29ae ri now merges the documentation if it finds the same class in multiple places
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-30 14:22:26 +00:00
dave 4441ea370b Minor fix to error message
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-25 19:41:31 +00:00
dave 86e8e8a2f5 Get RDoc::usage playing better with OptionParser
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-16 16:41:21 +00:00
eban 8460e4adee * rdoc/markup/simple_markup/to_flow.rb: typo fix(CGI -> cgi).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-15 10:07:08 +00:00
dave dbc9856067 Add Ri environment variable support
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-13 18:43:21 +00:00
dave 3319ea129e Add "usage" interface
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-13 17:52:52 +00:00
dave 690face91a Commit miss
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-13 17:50:11 +00:00
dave ee580a5a92 Bugfix: looping on some toplevel symbols. Added SWIG support
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-02 02:59:17 +00:00
dave 9c54f61a50 Incorporate Micheal Neumanns client-side imagemap patch
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-16 20:28:43 +00:00
dave 30f3576610 Minor parse problem if hyperlink text starts \w+:...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-13 12:37:40 +00:00
dave 1811324f30 Allow optional : before call-seq:
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-12 17:21:21 +00:00
dave e191fde02e Use real right arrow for -> in call-seq
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-12 16:03:11 +00:00
dave 68b5d42563 Commit miss
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-12 15:54:25 +00:00
dave dcfe4ecff8 Support call-seq: for Ruby methods
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-12 15:52:35 +00:00
dave 67eb473942 Allow multiple words in braces before a link
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-12 12:20:51 +00:00
dave 77e092c31c Update comment to show call-seq example
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-07 02:15:17 +00:00
dave 417f9ec4aa Fixed parsing of %r{} when generating source popup
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-22 16:47:31 +00:00
dave 129313378f Allow "do" after "for". Fix up css for standalone code window
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-26 05:02:55 +00:00
dave c951f2f28e SYSTEM identifiers must be absolute
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-24 01:48:37 +00:00
dave 13e0f77bf4 Add '()' around parameters that don't have them
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-21 00:23:34 +00:00
dave cc7c48ff6a At Ryan Davis' suggestion, honor visibility modifers if guarded by a statement modifier
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-20 03:36:43 +00:00
dave 58ec532ac9 Change symbol lookup scheme in HTML generation
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-10 12:46:18 +00:00
dave 9b7b6016ce Search parent for unqualified constants
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-10 03:14:35 +00:00
dave 6bb2e55d0c Allow multiple arguments to include
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-07 12:51:18 +00:00
dave 3d33a14369 Don't include &block if we have yield parameters
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-05 17:02:47 +00:00
dave fb0878b310 Fix parsing problem with yield within block
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-03 00:49:33 +00:00
dave 04aa9a8f7d Alias alias to instance methods
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-26 12:42:01 +00:00
dave 8e47df7b6c Fix bug where consecutive headings were merged
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-24 01:39:45 +00:00
dave e5eb459089 Allow for HAVE_PROTOTYPES macro
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-18 23:15:30 +00:00
dave 902c0e2c57 Change :enddoc: to terminate processing of current file
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-17 03:23:10 +00:00
dave 7e9f3d2934 Forgot to check special case at top level
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-11 01:49:10 +00:00
dave 5d716f9303 Fix :enddoc"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-10 14:51:58 +00:00
dave 1f3819adc8 Fixed problem with \_cat_<b>dog</b>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-09 15:01:53 +00:00
dave f02159637a Remove leading ./ from filenames so that cross references work OK
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-04 23:19:58 +00:00
dave 440c26186c Allow multiple --exclude options to RDoc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-04 05:03:00 +00:00
dave 695fe49de9 checked in debug version in error
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-02 01:20:59 +00:00
dave ef38efca9f Fix parse bug with toplevel methods. Allow RDoc in =begin rdoc/=end comments (experimental)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-02 01:20:58 +00:00
dave d6dc168b22 Missing trailing "$"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-25 14:19:23 +00:00
dave 4cdf253e4d Add --version option to ri
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-25 14:19:22 +00:00
dave e147632bff Add the --list-names option
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 19:17:42 +00:00
dave 16040850af Must now use "::" to separate nested classes. This fixes bug where "ri Kernel.Array" was looking for a class called Array
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 18:59:27 +00:00
dave 154c29be3a Get --one-page working with C code
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 17:01:11 +00:00
dave 91faa496b3 Don't be as eager to invent classes to document
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 03:35:24 +00:00
dave 124a20d3d2 Allow templates to be specified outside the RDoc tree
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 02:14:18 +00:00
dave a42fb7a811 Force RDoc html background to white
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-20 06:26:57 +00:00
nobu 9778625be8 * ext/syck/rubyext.c: get rid of warnings.
* lib/rss/taxonomy.rb: ditto.

* lib/rdoc/ri/ri_formatter.rb: ditto.

* test/ruby/test_assignment.rb: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-03 23:08:45 +00:00
nobu 5dfa7cacd1 * lib/rdoc/ri/ri_display.rb (DefaultDisplay::page): wait until the
pager terminates.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-03 16:17:32 +00:00
nobu 57cbecdb4f * lib/rdoc/ri/ri_display.rb (DefaultDisplay::setup_pager): ensure
pager closes and stdout is restored.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-03 09:58:25 +00:00
nobu 5aad820604 * io.c (pipe_open): erred program name should be reported by
exceptions, instead of the first argument.

* process.c (rb_spawn): ditto.

* process.c (proc_spawn_v): use first argument as program name.

* win32/win32.c (rb_w32_aspawn): ditto.

* win32/win32.c (CreateChild): search executable file if no program
  name given.

* lib/drb/extservm.rb (invoke_service_command): use Process.spawn.
  [ruby-dev:23103]

* lib/rdoc/ri/ri_display.rb (setup_pager): use IO.popen.
  [ruby-dev:23086], [ruby-dev:23103]

* lib/rdoc/diagram.rb (convert_to_png): ditto.

* lib/rdoc/generators/chm_generator.rb (compile_project): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-02 07:30:35 +00:00
dave b84917766d Allow aliases to have parentheses
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-01 03:26:05 +00:00
dave 43d483d41d Handle :nodoc: om singleton classes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-29 14:16:33 +00:00
dave d22ade523f Improve heuristic for which files to include. See ChangeLog
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-24 04:24:02 +00:00
dave 47d12ab8d0 Deal with case where first file processed contains a :stopdoc:
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-24 04:07:46 +00:00
dave 810854455d Handle class vars in code listings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-23 21:41:14 +00:00
dave a928cfed87 Handle aliases in C files
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-23 21:34:01 +00:00
dave dc03b05a7e Check opdir _before_ parsing files
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-23 21:17:26 +00:00
dave 74d704c263 Fix constant value extraction. Escape HTML in constant values
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-23 21:10:42 +00:00
dave ba3a872a68 Support visibility modifiers for attributes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-19 14:26:05 +00:00
dave 23d081b993 Fix typos (Doug Kearns)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-19 03:23:51 +00:00
dave 847fd91e32 Strip extraneous spaces from included filename
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-18 15:12:55 +00:00
nobu ff9c34b3f4 * Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub, configure.in,
runruby.rb: run rdoc, test and so on with compiled extension
  libraries.  [ruby-dev:22688]

* ext/extmk.rb, lib/mkmf.rb: make extension libraries in separated
  directory, similar to the actual directory structure.

* lib/fileutils.rb (FileUtils.copy_file): use the mode of the original
  file to create new file.

* lib/rdoc/ri/ri_paths.rb (RI::Paths::SYSDIR): get rid of unexpected
  influence by envirionment variable.

* bcc32/configure.bat, win32/configure.bat: add install-doc options.

* win32/win32.c, win32/win32.h (rb_w32_fstat): fix Borland C runtime
  bug which returns wrong mode.  [ruby-dev:22846]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-09 08:48:55 +00:00
dave 7f55b0c39e Support https in hyperlinks
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-06 13:49:54 +00:00
dave 6dbf1140a4 Allow link: in Tidylinks
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-29 13:44:04 +00:00
dave c88e3627cf Add one_page_html
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-25 20:19:16 +00:00
dave f8c7b41165 Document lib/English. Add top-level aliases to rdoc html output
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-20 05:04:31 +00:00
eban 939e7877d3 * lib/rdoc/parsers/parse_c.rb: escape '{' and '}' to avoid warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-19 14:05:55 +00:00
dave 84c0dcfca2 Display full name in class list
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-12 19:32:24 +00:00
dave c8b7862e86 Checked in wrong version... :(
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-12 16:10:52 +00:00
dave 6cea9bc904 Try to use DESTDIR when installing
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-12 16:06:35 +00:00
dave a1d3a8e861 Add explicit line breaks in method signatures for ri. Fixup some comments in object.c. Support changes comments for "in xxx.c"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-12 03:11:25 +00:00
dave b4d94277bb Add HTML formatter to ri
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-11 17:34:05 +00:00
dave 60c8435e1f ri now accepts options via RI environment variable
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-10 17:10:19 +00:00
dave 305cc5d2d9 Fix problem with agreesive name matching (see ChangeLog)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-07 04:05:25 +00:00
dave 0ea74ce4e7 Check for shebang line in file that would otherwise be treated as plain text
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-06 23:26:42 +00:00
dave 96ff9b04c1 Split out ri display code and make pluggable
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-06 05:59:31 +00:00
dave 1b31d09edd Add RDoc to build. Add --ri-system to RDoc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-05 21:48:16 +00:00
dave 7336cf5424 Add --ri-system option
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-05 04:52:50 +00:00
dave 88c127c19b Finish documenting internal stuff. See Changelog for other details
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-02 06:01:12 +00:00
dave f5b7214548 Make file in '// in sss.c' relative
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-31 02:24:10 +00:00
dave e9a7fd1c92 Fix problem with private alias to public method
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-31 02:21:07 +00:00
dave 349f4e7db7 Add RDoc for kernel functions, and tidy up
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-30 16:38:32 +00:00
dave 5b76f13a89 Fix problem when class and method names the same
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-30 03:33:35 +00:00
dave e9b667daef Fix HTML generated for .chm post-processing
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-30 03:10:30 +00:00
dave 1da4596b0f Fix parse problem with complex yields
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-29 23:38:09 +00:00
dave d993e38f18 Add RDoc for Kernel global functions, tidy array and error
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-29 03:56:22 +00:00
dave 8d32798543 RDoc Struct and random
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-28 20:47:56 +00:00
dave 3c288b427d Add RDoc documentation for stuff in object.c
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-28 06:33:07 +00:00
dave 3f3c55f49c Fix quoting of method names in regexp
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-27 18:52:03 +00:00
dave 3009adaee2 Add support for rules in ri output
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-27 16:49:22 +00:00
dave 68d292236d Add "Document-method:" capability
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-27 16:39:44 +00:00
dave e554664426 Some Ruby source uses Init_xxx (lower case for the class name)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-27 15:50:03 +00:00
dave 11edb88f70 Fix problem with rule calculation
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-25 19:59:39 +00:00
dave 060f19e92c Fix bug where two adjacent =begin/=end blocks causes the parser to get out of step.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-24 15:44:41 +00:00
dave f0346bd249 Forgot to save buffer.... sigh
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-24 04:24:29 +00:00
dave a3ecd5c83d RDoc comments for Fixnum, Float, and Hash. Add heuristic to RDoc to handle yaml/stringio
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-23 16:21:17 +00:00
dave da99e407fb Add file.c comments (and necessary support in parse_c.rb)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-21 07:28:54 +00:00
dave 5076ed519b Document Class and Dir
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-19 15:18:09 +00:00
dave 8ed8664aa7 Add boot_classes to rdoc parsing, fix a couple of bugs
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-19 03:58:57 +00:00
dave d3b74e1806 Fix dependency issue
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-19 00:01:19 +00:00
dave 84f0b051de Annotate enum.c. Add pager support, and report on methods in included modules
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-18 21:08:25 +00:00
dave 1c1d2b9c34 Add pager support to ri, and start implementing command line options
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-17 05:43:17 +00:00
dave a366e19a12 commit miss
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-16 20:50:44 +00:00
dave bc8c73c42a Put RDoc comments into array.c, and refine rdoc/ri to deal with stuff that arose
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-16 20:28:44 +00:00
dave c5bbcadbe6 Initial load of support for ri/rdoc integration
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-16 05:44:25 +00:00
dave e735472d1f Support inline source in Kilmer template
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-07 02:54:38 +00:00
dave e78a9cdcdb Try to give nicer error messages on internal failures
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-04 15:10:38 +00:00
dave ad27a14136 Implicitly define classes in 'class <<ClassName' if we haven't come across them before
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-03 14:40:44 +00:00
dave 835e16733d Missing file
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-03 04:20:22 +00:00
dave 062616677f Allow string as argument to alias_method
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-01 17:00:05 +00:00
dave 87762adcb0 Add RDoc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-01 07:12:49 +00:00