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

382 Коммитов

Автор SHA1 Сообщение Дата
yugui 396650e0bd * prec.c: removed. Precision will be redesigned and be back again.
c.f. [ruby-dev:36352].

* common.mk (COMMON_OBJS): removed prec.o.

* inits.c (rb_call_inits): removed Init_Precision.

* numeric.c (Init_Numeric): removed inclusion of Precision.
  removed #induced_from from each class.

* rational.c: ditto.

* ext/bigdecimal/bigdecimal.c: ditto.

* lib/rdoc/knwon_classes.rb: removed the entry for Precision.

* test/ruby/test_prec.rb: removed.

* test/ruby/test_integer.rb: removed tests for Precision.

* test/ruby/test_fixnum.rb: ditto.

* test/ruby/test_float.rb: ditto.

* test/ruby/test_rational.rb: ditto.

* test/ruby/test_complex.rb: ditto.

* test/bigdecimal/test_bigdecimal.rb: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-19 13:10:54 +00:00
drbrain cd9e9c6deb Update to RDoc 2.1.0 r112
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-21 18:35:14 +00:00
drbrain 71b4ecb3d3 Import RDoc r104. Various test fixes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-18 21:10:47 +00:00
drbrain fd25f74d64 Import RDoc r101.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-18 00:46:16 +00:00
ko1 7e16f9e777 * lib/debug.rb, lib/profile.rb: fix to use RubyVM.
* lib/rdoc/parsers/parse_c.rb: ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-08 13:28:57 +00:00
nobu 47f5c15e8d * lib/rdoc/parsers/parse_rb.rb (RDoc#collect_first_comment): skip
magic comment.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-21 06:57:28 +00:00
matz e6c1752137 * lib/rdoc.rb: massive spelling correction patch from Evan Farrar
<evanfarrar at gmail.com> in [ruby-doc:1382] applied.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-04 09:37:38 +00:00
drbrain c42a631063 Import RDoc 2.0.0 r56.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-26 16:14:19 +00:00
usa bf310cb64f * lib/rdoc/ri/descriptions.rb: fixed wrong class nestings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-23 15:27:09 +00:00
drbrain be710a0391 * lib/rdoc/parsers/parse_rb.rb: Fix uninitialized variable warnings.
* lib/rdoc/generator/html.rb: ditto.

* lib/rdoc/options.rb: Fix shadowed variable warning.

* lib/webrick/httprequest.rb: Fix redefined method warning.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-04 21:16:19 +00:00
matz 4514a6bee6 * lib/irb/cmd/help.rb: should be updated for new ri structure.
[ruby-core:15825]

* lib/rdoc/ri/driver.rb (RDoc::initialize): allow options to be optional.

* lib/rdoc/ri/driver.rb (RDoc::class_cache): map_dirs may be
  empty.

* lib/rdoc/ri/driver.rb (RDoc::get_info_for): revive get_info_for
  method.  maybe broken.

* lib/rdoc/ri/util.rb (RDoc::initialize): should not use RiError
  no more.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-12 18:13:48 +00:00
drbrain 74a1543645 Restore missing line to RDoc::Generator#params. Patch by Lincoln Stoll.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-09 04:52:53 +00:00
drbrain 0d3f9dbfe1 * lib/rdoc/code_objects.rb: Remove debugging Kernel#p. Patch by Lincoln Stoll
<lstoll at lstoll.net>
* lib/rdoc/generator/html.rb: Fully qualify AllReferences.  Patch by Lincoln
  Stoll <lstoll at lstoll.net>
* lib/rdoc/ri/writer.rb: Fix 1.8 backwards compatibility.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-09 00:59:23 +00:00
drbrain ab3e8e6143 Preserve ri compatibility with 1.8
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-14 22:38:20 +00:00
drbrain bcd4deb6c5 Allow inline markup to have a leading '#' or '\', or trailing punctuation.
i.e. *#freeze?*, *\foo?*.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-12 23:59:03 +00:00
drbrain b797fdc7e8 Separate HTML linking and crossreferencing into separate files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-12 22:23:00 +00:00
naruse 40d8d38909 * ext/json/lib/json/pure/generator.rb,
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@15442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-12 06:18:06 +00:00
drbrain 030a513a49 Wrap parse_files' read in a version check for backwards compatibility.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-12 01:27:52 +00:00
drbrain 0ecb56f170 Restore require rubygems check
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-12 01:17:39 +00:00
drbrain 455b051a00 * lib/rdoc/code_objects.rb: Make some attributes accessible for reuse.
* lib/rdoc/generator/html.rb: Pull out ContextUser classes and related
	  methods for reuse.
	* lib/rdoc/generator.rb: Move ContextUser classes to
	  RDoc::Generator::Context for reuse.
	* lib/rdoc/rdoc.rb: Make RDoc::RDoc initialization a little easier.
	* lib/rdoc/options.rb: Make RDoc::Options easier to use without
	  parsing an ARGV.
	* lib/rdoc/markup/to_*.rb: Subclass RDoc::Markup::Formatter.
	* lib/rdoc/markup/formatter.rb: Add RDoc::Markup::Formatter to make
	  RDoc markup conversion easier.
	* lib/rdoc/markup/fragments.rb: Make RDoc::Markup::ListItem easier to
	  test.
	* lib/rdoc/markup/to_html_hyperlink.rb: Pulled out of the HTML
	  generator for easier reusability.
	* lib/rdoc/markup.rb: Fix bug with labeled lists containing bullet
	  lists.
	* lib/rdoc/generators/html/html.rb: Fix Constant display.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-10 03:59:08 +00:00
naruse baa1468895 * lib/rdoc/ri/driver.rb (read_yaml): remove SM* for compatibility.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-08 00:54:21 +00:00
usa 1672df1870 * lib/rdoc/ri/formatter.rb (output): add accessor.
* lib/rdoc/ri/display.rb (page): replace @formatter.output instead of
	  $stdout.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-31 06:48:35 +00:00
usa d2bb8975e1 * lib/rdoc/ri/display.rb (display_method_list, display_class_list):
use @formatter.raw_print_line instead of puts.

	* lib/rdoc/ri/driver.rb (select_methods): new method to collect all
	  instance/class methods which match with passed pattern.

	* lib/rdoc/ri/driver.rb (run): use class_cache's result directly
	  instead of select_classes' because it's removed now.

	* lib/rdoc/ri/driver.rb (run): search methods when passed name is not
	  class name. [ruby-core:15309]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-31 05:10:58 +00:00
usa 087801b64b * lib/rdoc/ri/driver.rb (cache_file_for): shoudn't use `:' in filename.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-30 05:33:49 +00:00
drbrain 02f4dcca2c * lib/rdoc/ri/formatter.rb: Indent labeled lists like note lists.
* test/rdoc/test_rdoc_ri_overstrike_formatter.rb:  Added.

* test/rdoc/test_rdoc_ri_formatter.rb:  Added tests.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-22 00:01:59 +00:00
akr 133a6011f7 * lib/rdoc/template.rb (RDoc): defined to avoid uninitialized constant
error by `./ruby test/rubygems/test_gem_server.rb'.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-19 12:04:21 +00:00
drbrain 8d37cefaf8 * lib/rdoc/markup: Remove ListBase and Line constants.
* lib/rdoc/ri: Allow output IO to be specified.

* test/rdoc/parser/test_parse_c.rb: Move up one level, fixed.

* test/rdoc/parser/test_rdoc_markup_attribute_manager.rb: Renamed to
  match new class name, updated to match new classes.

* test/rdoc/test_rdoc_ri_formatter.rb: Start of RI formatting tests.

* test/rdoc/test_rdoc_ri_attribute_manager.rb: Start of
  RDoc::RI::AttributeManager tests.

* test/rdoc/test_simple_markup.rb: Moved to match new class name.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-19 00:06:19 +00:00
drbrain 6d59907c0f Fix namespacing
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-17 19:29:16 +00:00
drbrain c3e2bdcc20 Clean up comments
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-16 01:36:19 +00:00
drbrain fcb0b1f503 Renamespace lib/rdoc/markup from SM::SimpleMarkup to RDoc::Markup.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-14 03:34:05 +00:00
drbrain 0feac89d2d Cleanup RDoc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-13 03:35:34 +00:00
drbrain ec519b9b43 Complete RDoc namespace change
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-13 03:13:37 +00:00
drbrain 937b7ab8b5 Reorganize RDoc generators
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-13 03:02:49 +00:00
drbrain 7e6cf122ef Remove lib/rdoc/usage.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-11 09:31:15 +00:00
drbrain b5417ef56d Follow namespace change for RDoc/RI [ruby-core:14964]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-11 09:18:53 +00:00
nobu 8b39fb1045 * lib/rdoc/options.rb ():
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-11 01:24:05 +00:00
drbrain edeeefb7a5 Speed up Marshal load, fix bug with nested classes' methods
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-08 10:49:19 +00:00
drbrain 3e39ade457 Clean up namespacing of RI's classes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-08 10:18:41 +00:00
drbrain e539dc6080 Replace ri with Ryan Davis' cached ri
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-08 09:07:31 +00:00
drbrain 3938f9db46 Add additional information to RDoc template values
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-07 21:28:43 +00:00
drbrain 466d40ed15 Use ERB instead of custom template language for RDoc.
Remove old_html template.

Convert all templates to ERB.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-07 10:40:50 +00:00
drbrain ead85d123f Namespace TokenStream under RDoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-07 07:11:15 +00:00
drbrain 9ad5f854e7 Namespace RDoc::DOT. Clean up formatting of RDoc::Diagrams.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-07 07:06:59 +00:00
drbrain 4b93d732e4 Convert RDoc to OptionParser, clean up -h output, namespace Options under RDoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-07 06:56:46 +00:00
drbrain d9d3e87a52 Merge documentation from the same class on ri generation.
Fixes bug where documentation could disappear.

Fix typo in lib/rdoc/options.rb

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-07 02:52:15 +00:00
drbrain b543ed3ac8 Collapse namespaces and refactor requires in RDoc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-07 01:36:33 +00:00
drbrain b0f13cfebe Clean up comments and whitespace in RDoc generators
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-07 00:42:03 +00:00
drbrain c43f867852 Move lib/rdoc/dot/dot.rb to lib/rdoc, un-namespace.
Fix lib/rdoc/diagrom.rb for 1.9

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-28 07:11:30 +00:00
drbrain ecb7eb6ba4 Move RDoc markup samples to sample/rdoc/markup directory
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-28 06:39:15 +00:00
drbrain cc54d01f8b Remove test directory
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-28 06:31:47 +00:00
drbrain 2a812650a8 Move RDoc tests out of lib/
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-28 06:13:06 +00:00
akr 7ee205d1d1 * lib/rdoc/rdoc.rb (parse_files): don't depend on the default external
encoding.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-27 16:28:45 +00:00
drbrain 29962f8fb6 Enable RDoc debugging only with $DEBUG_RDOC
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-25 00:13:12 +00:00
akr 8db7c837f9 * lib/rdoc/rdoc.rb (parse_files): interpret coding cookie.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 16:44:39 +00:00
gotoyuzo 0c395fbd90 * lib/rdoc/diagram.rb (RDoc::Diagram#initialize): use fileuitls
instead of ftools.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 14:15:45 +00:00
nahi 1019297323 Mon Dec 24 23:04:57 2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
* lib/ftools.rb: removed obsoleted lib.  use fileutils instead (by eban).

        * lib/rdoc/rdoc.rb, lib/rdoc/generators/*, lib/rake.rb: let it use
          fileutils instead of ftools.

        * lib/shell/command-processor.rb: removed unused references to ftools.

        * lib/parsedate.rb: removed.  see [ruby-core:12535], [ruby-dev:31969].

        * lib/README: updated.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 14:09:57 +00:00
drbrain 836a01c510 Fix formatting of multiple paths
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 02:44:13 +00:00
drbrain 7c92ab16a9 Fix display of GEMDIRS, make command command examples match ri's name.
Only allow latest ri dirs in ri output.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 02:25:39 +00:00
drbrain edfcee2bd2 Fix 1.9 warnings in RDoc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23 07:13:09 +00:00
drbrain cbc4bb6b92 Don't call private fail anymore.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-18 06:20:24 +00:00
matz 0f0f79d34b * lib/rdoc/options.rb (Options::parse): do not access $KCODE any
longer.  [ruby-core:14079]

* lib/irb/init.rb (IRB::IRB.parse_opts): ditto.

* lib/cgi.rb (CGI::CGI): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-14 17:05:15 +00:00
shyouhei c5e449d866 * lib/rdoc/options.rb (Options::check_diagram): dot -V output
changed. [ ruby-Bugs-11978 ], Thanks Florian Frank.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-22 20:58:40 +00:00
nobu 0dc3a071d3 * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser): handle more
extensions.  [ruby-dev:30972]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-14 08:08:13 +00:00
drbrain d9591028f2 Merge RDoc updates from matzruby 11502, 11503, 11504
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-07 03:33:19 +00:00
drbrain 47eea50002 Make RDoc accessible. Update constant value information.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-31 21:27:31 +00:00
drbrain 4e6f681b40 Allow RDoc comment to give friendly value for rb_define_const.
Patch by Daniel Berger <djberg96 at gmail.com>, [ruby-patches-7499].

Fix whitespace handling in constant comments.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-31 21:13:27 +00:00
matz b6ec2b7c6d * lib/rdoc/ri/ri_options.rb: prevent NameError. [ruby-dev:29597]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-22 23:41:47 +00:00
nobu 392f342f04 * lib/rdoc/rdoc.rb (RDoc::RDoc#document): scan only files modified
after the previous generation.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-17 14:46:13 +00:00
nobu 8114a2edb0 * common.mk (install-doc): reverted.
* instruby.rb: stores file name list without destdir prefix.

* lib/rdoc/generators/ri_generator.rb: do not chdir twice.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-17 08:43:19 +00:00
matz 51525e12b8 * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::handle_method):
rdoc documents C module methods as instance methods. a patch in
  [ruby-core:08536].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-30 09:39:47 +00:00
drbrain 6e83a71d3b Include attribution
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-27 23:03:20 +00:00
drbrain c3321a0266 Make RDoc ignore C function prototypes by Tilman Sauerbeck [ruby-core:8574].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-11 22:39:12 +00:00
drbrain 75a60a8174 Leave HTML escaped for HtmlFormatter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-04 19:07:41 +00:00
drbrain 2311929dd1 Don't document test or sample directories.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-04 18:12:07 +00:00
drbrain 52c034aecb Documentation cleanup.
Includes patches by Hugh Sasse:
* ping.rb
* weakref.rb
* mailread.rb


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-04 18:05:50 +00:00
matz c09cea5e1b * object.c (rb_mod_attr): make Module#attr to be an alias to
attr_reader.  [RCR#331]

* ruby.h: export classes/modules to implement sandbox.
  [ruby-core:08283]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-20 17:36:36 +00:00
ryan 2bf2f48a0b cached rdoc diagrams, private rdoc comments, minor clarifications in debug.rb and pp.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-08 23:17:53 +00:00
ryan 8e1789ded7 Massive rdoc for fortran overhaul from Yasuhiro Morikawa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-08 22:25:45 +00:00
drbrain 90952d32f8 Add --system, --site, --home and --gems to limit ri search path.
Allow --doc-dir to be specified mulitple times.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-26 18:10:30 +00:00
drbrain 9a811c98e6 Don't merge ri files if is nil/empty
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-14 22:24:36 +00:00
drbrain df05423ad8 Don't print warnings when -q is set.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-14 22:09:28 +00:00
usa 85c86a4e29 * lib/rdoc/ri/ri_writer.rb: use String#ord.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-10 22:28:42 +00:00
usa 8686ee1861 * lib/getoptlong.rb (GetoptLong#set_options): recieve arguments
as Array.

* lib/irb/slex.rb: use Proc#yield.

* lib/rdoc/markup/simple_markup/inline.rb: follow the new behavior
  of String#[].

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


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-10 01:20:24 +00:00
matz 9b383bd6cf * sprintf.c (rb_str_format): allow %c to print one character
string (e.g. ?x).

* lib/tempfile.rb (Tempfile::make_tmpname): put dot between
  basename and pid.  [ruby-talk:196272]
* parse.y (do_block): remove -> style block.

* parse.y (parser_yylex): remove tLAMBDA_ARG.

* eval.c (rb_call0): binding for the return event hook should have
  consistent scope.  [ruby-core:07928]

* eval.c (proc_invoke): return behavior should depend whether it
  is surrounded by a lambda or a mere block.

* eval.c (formal_assign): handles post splat arguments.

* eval.c (rb_call0): ditto.

* st.c (strhash): use FNV-1a hash.

* parse.y (parser_yylex): removed experimental ';;' terminator.

* eval.c (rb_node_arity): should be aware of post splat arguments.

* eval.c (rb_proc_arity): ditto.

* parse.y (f_args): syntax rule enhanced to support arguments
  after the splat.

* parse.y (block_param): ditto for block parameters.

* parse.y (f_post_arg): mandatory formal arguments after the splat
  argument.

* parse.y (new_args_gen): generate nodes for mandatory formal
  arguments after the splat argument.

* eval.c (rb_eval): dispatch mandatory formal arguments after the
  splat argument.

* parse.y (args): allow more than one splat in the argument list.

* parse.y (method_call): allow aref [] to accept all kind of
  method argument, including assocs, splat, and block argument.

* eval.c (SETUP_ARGS0): prepare block argument as well.

* lib/mathn.rb (Integer): remove Integer#gcd2. [ruby-core:07931]

* eval.c (error_line): print receivers true/false/nil specially.

* eval.c (rb_proc_yield): handles parameters in yield semantics.

* eval.c (nil_yield): gives LocalJumpError to denote no block
  error.

* io.c (rb_io_getc): now takes one-character string.

* string.c (rb_str_hash): use FNV-1a hash from Fowler/Noll/Vo
  hashing algorithm.

* string.c (rb_str_aref): str[0] now returns 1 character string,
  instead of a fixnum.	[Ruby2]

* parse.y (parser_yylex): ?c now returns 1 character string,
  instead of a fixnum.	[Ruby2]

* string.c (rb_str_aset): no longer support fixnum insertion.

* eval.c (umethod_bind): should not update original class.
  [ruby-dev:28636]

* eval.c (ev_const_get): should support constant access from
  within instance_eval().  [ruby-dev:28327]

* time.c (time_timeval): should round for usec floating
  number.  [ruby-core:07896]

* time.c (time_add): ditto.

* dir.c (sys_warning): should not call a vararg function
  rb_sys_warning() indirectly.	[ruby-core:07886]

* numeric.c (flo_divmod): the first element of Float#divmod should
  be an integer. [ruby-dev:28589]

* test/ruby/test_float.rb: add tests for divmod, div, modulo and remainder.

* re.c (rb_reg_initialize): should not allow modifying literal
  regexps.  frozen check moved from rb_reg_initialize_m as well.

* re.c (rb_reg_initialize): should not modify untainted objects in
  safe levels higher than 3.

* re.c (rb_memcmp): type change from char* to const void*.

* dir.c (dir_close): should not close untainted dir stream.

* dir.c (GetDIR): add tainted/frozen check for each dir operation.

* lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::parse_symbol_arg):
  typo fixed.  a patch from Florian Gross <florg at florg.net>.

* eval.c (EXEC_EVENT_HOOK): trace_func may remove itself from
  event_hooks.	no guarantee for arbitrary hook deletion.
  [ruby-dev:28632]

* util.c (ruby_strtod): differ addition to minimize error.
  [ruby-dev:28619]

* util.c (ruby_strtod): should not raise ERANGE when the input
  string does not have any digits.  [ruby-dev:28629]

* eval.c (proc_invoke): should restore old ruby_frame->block.
  thanks to ts <decoux at moulon.inra.fr>.  [ruby-core:07833]
  also fix [ruby-dev:28614] as well.

* signal.c (trap): sig should be less then NSIG.  Coverity found
  this bug.  a patch from Kevin Tew <tewk at tewk.com>.
  [ruby-core:07823]

* math.c (math_log2): add new method inspired by
  [ruby-talk:191237].

* math.c (math_log): add optional base argument to Math::log().
  [ruby-talk:191308]

* ext/syck/emitter.c (syck_scan_scalar): avoid accessing
  uninitialized array element.	a patch from Pat Eyler
  <rubypate at gmail.com>.  [ruby-core:07809]

* array.c (rb_ary_fill): initialize local variables first.  a
  patch from Pat Eyler <rubypate at gmail.com>.	 [ruby-core:07810]

* ext/syck/yaml2byte.c (syck_yaml2byte_handler): need to free
  type_tag.  a patch from Pat Eyler <rubypate at gmail.com>.
  [ruby-core:07808]

* ext/socket/socket.c (make_hostent_internal): accept ai_family
  check from Sam Roberts <sroberts at uniserve.com>.
  [ruby-core:07691]

* util.c (ruby_strtod): should not cut off 18 digits for no
  reason.  [ruby-core:07796]

* array.c (rb_ary_fill): internalize local variable "beg" to
  pacify Coverity.  [ruby-core:07770]

* pack.c (pack_unpack): now supports CRLF newlines.  a patch from
  <tommy at tmtm.org>.	[ruby-dev:28601]

* applied code clean-up patch from Stefan Huehner
  <stefan at huehner.org>.  [ruby-core:07764]

* lib/jcode.rb (String::tr_s): should have translated non
  squeezing character sequence (i.e. a character) as well.  thanks
  to Hiroshi Ichikawa <gimite at gimite.ddo.jp> [ruby-list:42090]

* ext/socket/socket.c: document update patch from Sam Roberts
  <sroberts at uniserve.com>.  [ruby-core:07701]

* lib/mathn.rb (Integer): need not to remove gcd2.  a patch from
  NARUSE, Yui <naruse at airemix.com>.	[ruby-dev:28570]

* parse.y (arg): too much NEW_LIST()

* eval.c (SETUP_ARGS0): remove unnecessary access to nd_alen.

* eval.c (rb_eval): use ARGSCAT for NODE_OP_ASGN1.
  [ruby-dev:28585]

* parse.y (arg): use NODE_ARGSCAT for placeholder.

* lib/getoptlong.rb (GetoptLong::get): RDoc update patch from
  mathew <meta at pobox.com>.  [ruby-core:07738]

* variable.c (rb_const_set): raise error when no target klass is
  supplied.  [ruby-dev:28582]

* prec.c (prec_prec_f): documentation patch from
  <gerardo.santana at gmail.com>.  [ruby-core:07689]

* bignum.c (rb_big_pow): second operand may be too big even if
  it's a Fixnum.  [ruby-talk:187984]

* README.EXT: update symbol description.  [ruby-talk:188104]

* COPYING: explicitly note GPLv2.  [ruby-talk:187922]

* parse.y: remove some obsolete syntax rules (unparenthesized
  method calls in argument list).

* eval.c (rb_call0): insecure calling should be checked for non
  NODE_SCOPE method invocations too.

* eval.c (rb_alias): should preserve the current safe level as
  well as method definition.

* process.c (rb_f_sleep): remove RDoc description about SIGALRM
  which is not valid on the current implementation. [ruby-dev:28464]

 Thu Mar 23 21:40:47 2006  K.Kosako  <sndgk393 AT ybb.ne.jp>

* eval.c (method_missing): should support argument splat in
  super.  a bug in combination of super, splat and
  method_missing.  [ruby-talk:185438]

* configure.in: Solaris SunPro compiler -rapth patch from
  <kuwa at labs.fujitsu.com>.  [ruby-dev:28443]

* configure.in: remove enable_rpath=no for Solaris.
  [ruby-dev:28440]

* ext/win32ole/win32ole.c (ole_val2olevariantdata): change behavior
  of converting  OLE Variant object with VT_ARRAY|VT_UI1 and Ruby
  String object.

* ruby.1: a clarification patch from David Lutterkort
  <dlutter at redhat.com>.  [ruby-core:7508]

* 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_clear_cache_by_class): clearing wrong cache.

* ext/extmk.rb: use :remove_destination to install extension libraries
  to avoid SEGV.  [ruby-dev:28417]

* eval.c (rb_thread_fd_writable): should not re-schedule output
  from KILLED thread (must be error printing).

* array.c (rb_ary_flatten_bang): allow specifying recursion
  level.  [ruby-talk:182170]

* array.c (rb_ary_flatten): ditto.

* gc.c (add_heap): a heap_slots may overflow.  a patch from Stefan
  Weil <weil at mail.berlios.de>.

* eval.c (rb_call): use separate cache for fcall/vcall
  invocation.

* eval.c (rb_eval): NODE_FCALL, NODE_VCALL can call local
  functions.

* eval.c (rb_mod_local): a new method to specify newly added
  visibility "local".

* eval.c (search_method): search for local methods which are
  visible only from the current class.

* class.c (rb_class_local_methods): a method to list local methods.

* object.c (Init_Object): add BasicObject class as a top level
  BlankSlate class.

* ruby.h (SYM2ID): should not cast to signed long.
  [ruby-core:07414]

* class.c (rb_include_module): allow module duplication.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-09 21:20:17 +00:00
ocean 0ecd958d97 * 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/trunk@10004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-28 15:21:24 +00:00
akr 04946de81b * mkconfig.rb: generate RbConfig instead of Config.
* instruby.rb, rubytest.rb, runruby.rb, bcc32/Makefile.sub,
  ext/extmk.rb, ext/dl/extconf.rb, ext/iconv/charset_alias.rb,
  lib/mkmf.rb, lib/rdoc/ri/ri_paths.rb,
  lib/webrick/httpservlet/cgihandler.rb,
  test/dbm/test_dbm.rb, test/gdbm/test_gdbm.rb,
  test/ruby/envutil.rb, test/soap/calc/test_calc_cgi.rb,
  test/soap/header/test_authheader_cgi.rb, test/soap/ssl/test_ssl.rb,
  win32/mkexports.rb, win32/resource.rb: Use RbConfig instead of
  Config.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-20 08:34:53 +00:00
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