aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rdoc/parsers
Commit message (Collapse)AuthorAgeFilesLines
* * lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser#get_tk): addedusa2006-02-021-2/+6
| | | | | | | support of :'string' style Symbol. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parsers/parse_c.rb (find_class_comment): fix for classnobu2005-12-141-1/+1
| | | | | | | document with prototypes. [ruby-core:06863] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_call_super): should call method_missing if super ismatz2005-11-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | 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
* * lib/rdoc/parsers/parse_c.rb (handle_class_module): handle anobu2005-07-151-15/+39
| | | | | | | | | | | | 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
* restored @progressocean2005-05-141-2/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parsers/parse_c.rb: more readability for mixingocean2005-05-121-4/+10
| | | | | | | progress "c..." and warning message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parsers/parse_c.rb: show parsing progress for C files.ocean2005-05-121-0/+11
| | | | | | | [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
* * lib/rdoc/parsers/parse_rb.rb (lex_init): use IRB module.eban2005-04-201-1/+1
| | | | | | | [ruby-core:04737] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser#do_includes): replacenobu2005-03-041-1/+1
| | | | | | | | | | | 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
* * array.c: replace rb_protect_inspect() and rb_inspecting_p() bymatz2005-03-043-20/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Ignore leading and trailing lines in :section: blocksdave2004-12-041-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix problem with :section: and new 1.9dave2004-11-261-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Don't include 'require's with variable argumentsdave2004-11-221-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 1. Force --inline-source if --one-file givendave2004-11-201-18/+5
| | | | | | | | | | | 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
* Fix bug where parent class wasn't being detected if thedave2004-11-081-1/+2
| | | | | | | 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
* RDoc can now deal with "attr" used as a variabledave2004-10-191-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Support "require" as variable name in RDocdave2004-10-101-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix up cross-file class mergingdave2004-09-111-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Allow spaces around parameter to define_method_underdave2004-09-091-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Bugfix: looping on some toplevel symbols. Added SWIG supportdave2004-08-021-3/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Allow optional : before call-seq:dave2004-07-121-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Commit missdave2004-07-121-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Support call-seq: for Ruby methodsdave2004-07-121-0/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update comment to show call-seq exampledave2004-07-071-0/+24
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fixed parsing of %r{} when generating source popupdave2004-06-221-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Allow "do" after "for". Fix up css for standalone code windowdave2004-05-261-1/+18
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add '()' around parameters that don't have themdave2004-05-211-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* At Ryan Davis' suggestion, honor visibility modifers if guarded by a ↵dave2004-05-201-1/+7
| | | | | | statement modifier git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Allow multiple arguments to includedave2004-05-071-4/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Don't include &block if we have yield parametersdave2004-05-051-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix parsing problem with yield within blockdave2004-05-031-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Allow for HAVE_PROTOTYPES macrodave2004-04-181-4/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Change :enddoc: to terminate processing of current filedave2004-04-171-18/+21
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix :enddoc"dave2004-04-101-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix parse bug with toplevel methods. Allow RDoc in =begin rdoc/=end comments ↵dave2004-04-021-22/+33
| | | | | | (experimental) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Don't be as eager to invent classes to documentdave2004-03-242-4/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Allow aliases to have parenthesesdave2004-03-011-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Handle :nodoc: om singleton classesdave2004-02-291-12/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Handle class vars in code listingsdave2004-02-231-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Handle aliases in C filesdave2004-02-231-0/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix constant value extraction. Escape HTML in constant valuesdave2004-02-231-2/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix typos (Doug Kearns)dave2004-02-191-0/+21
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Document lib/English. Add top-level aliases to rdoc html outputdave2004-01-201-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parsers/parse_c.rb: escape '{' and '}' to avoid warnings.eban2004-01-191-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add explicit line breaks in method signatures for ri. Fixup some comments in ↵dave2004-01-121-5/+3
| | | | | | 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
* Check for shebang line in file that would otherwise be treated as plain textdave2004-01-061-1/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add RDoc to build. Add --ri-system to RDocdave2004-01-051-1/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Finish documenting internal stuff. See Changelog for other detailsdave2004-01-025-7/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Make file in '// in sss.c' relativedave2003-12-311-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add RDoc for kernel functions, and tidy updave2003-12-301-14/+31
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e