summaryrefslogtreecommitdiffstats
path: root/lib/rdoc/parsers/parse_c.rb
Commit message (Collapse)AuthorAgeFilesLines
* Import RDoc r101.drbrain2008-07-181-775/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/debug.rb, lib/profile.rb: fix to use RubyVM.ko12008-07-081-1/+1
| | | | | | | | * lib/rdoc/parsers/parse_c.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc.rb: massive spelling correction patch from Evan Farrarmatz2008-06-041-4/+4
| | | | | | <evanfarrar at gmail.com> in [ruby-doc:1382] applied. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/json/lib/json/pure/generator.rb,naruse2008-02-121-1/+1
| | | | | | | | | | | | | | | ext/json/lib/json/pure/parser.rb, ext/openssl/lib/openssl/x509.rb, ext/win32ole/sample/olegen.rb, lib/date/format.rb, lib/irb/context.rb, lib/irb/workspace.rb, lib/net/http.rb, lib/net/imap.rb, lib/rdoc/generator.rb, lib/rdoc/markup/to_html.rb, lib/rdoc/markup/to_latex.rb, lib/rdoc/parsers/parse_c.rb, lib/rdoc/ri/formatter.rb, lib/rexml/parsers/baseparser.rb, lib/rexml/quickpath.rb, lib/rexml/text.rb, lib/rss/parser.rb, lib/uri/common.rb, lib/uri/generic.rb, lib/webrick/httpresponse.rb, lib/webrick/httpservlet/filehandler.rb, lib/yaml/baseemitter.rb, lib/yaml/encoding.rb: performance tuning arround String#gsub. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Convert RDoc to OptionParser, clean up -h output, namespace Options under RDoc.drbrain2008-01-071-6/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix 1.9 warnings in RDocdrbrain2007-12-231-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser): handle morenobu2007-06-141-1/+1
| | | | | | | extensions. [ruby-dev:30972] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merge RDoc updates from matzruby 11502, 11503, 11504drbrain2007-01-071-1/+37
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Make RDoc accessible. Update constant value information.drbrain2006-12-311-92/+107
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Allow RDoc comment to give friendly value for rb_define_const.drbrain2006-12-311-3/+28
| | | | | | | | | | Patch by Daniel Berger <djberg96 at gmail.com>, [ruby-patches-7499]. Fix whitespace handling in constant comments. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::handle_method):matz2006-08-301-1/+2
| | | | | | | | rdoc documents C module methods as instance methods. a patch in [ruby-core:08536]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Include attributiondrbrain2006-08-271-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Make RDoc ignore C function prototypes by Tilman Sauerbeck [ruby-core:8574].drbrain2006-08-111-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* cached rdoc diagrams, private rdoc comments, minor clarifications in ↵ryan2006-07-081-0/+7
| | | | | | debug.rb and pp.rb git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10491 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: http://svn.ruby-lang.org/repos/ruby/trunk@9690 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: http://svn.ruby-lang.org/repos/ruby/trunk@8774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* restored @progressocean2005-05-141-2/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@8432 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: http://svn.ruby-lang.org/repos/ruby/trunk@8071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c: replace rb_protect_inspect() and rb_inspecting_p() bymatz2005-03-041-16/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@8068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Allow spaces around parameter to define_method_underdave2004-09-091-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Bugfix: looping on some toplevel symbols. Added SWIG supportdave2004-08-021-3/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update comment to show call-seq exampledave2004-07-071-0/+24
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Allow for HAVE_PROTOTYPES macrodave2004-04-181-4/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Don't be as eager to invent classes to documentdave2004-03-241-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Handle aliases in C filesdave2004-02-231-0/+14
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix typos (Doug Kearns)dave2004-02-191-0/+21
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parsers/parse_c.rb: escape '{' and '}' to avoid warnings.eban2004-01-191-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@5443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Finish documenting internal stuff. See Changelog for other detailsdave2004-01-021-2/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Make file in '// in sss.c' relativedave2003-12-311-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add RDoc for kernel functions, and tidy updave2003-12-301-14/+31
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add RDoc for Kernel global functions, tidy array and errordave2003-12-291-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* RDoc Struct and randomdave2003-12-281-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add RDoc documentation for stuff in object.cdave2003-12-281-18/+41
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix quoting of method names in regexpdave2003-12-271-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add "Document-method:" capabilitydave2003-12-271-1/+35
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Some Ruby source uses Init_xxx (lower case for the class name)dave2003-12-271-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Forgot to save buffer.... sighdave2003-12-241-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add file.c comments (and necessary support in parse_c.rb)dave2003-12-211-42/+67
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Document Class and Dirdave2003-12-191-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add boot_classes to rdoc parsing, fix a couple of bugsdave2003-12-191-0/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Annotate enum.c. Add pager support, and report on methods in included modulesdave2003-12-181-3/+26
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Put RDoc comments into array.c, and refine rdoc/ri to deal with stuff that arosedave2003-12-161-5/+30
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add RDocdave2003-12-011-0/+287
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e