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

381 Коммитов

Автор SHA1 Сообщение Дата
drbrain 0454c0a281 * doc/marshal.rdoc: Add description of Marshal format.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-04 21:35:31 +00:00
nobu b4795cdbba * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-19 03:11:09 +00:00
ktsj edb98f8b91 fix typos. Patch by k_takata.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-19 03:10:21 +00:00
zzak 119f675189 * doc/contributing.rdoc: Add guide for contributing to CRuby
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-09 02:15:24 +00:00
eregon 96e14ad252 * doc/syntax/refinements.rdoc : Fix a missing quote
Patch by Robin Dupret. [Fix GH-271]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-05 11:49:53 +00:00
zzak 5835461b16 * doc/security.rdoc: Add note about reporting security vulns
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-03 22:21:34 +00:00
zzak 3ae96e8c6b typo s/Singelton/Singleton
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-23 04:02:57 +00:00
zzak af4c2b3b4b fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-11 16:47:49 +00:00
nobu 7d3db3cc81 * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-01 15:10:33 +00:00
kazu f526fc2cfa fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-28 10:07:17 +00:00
drbrain 2e3b394dca * doc/globals.rdoc: $? is thread-local
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-14 01:01:20 +00:00
kazu b1f2460f8d fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-13 10:50:21 +00:00
kazu beafa477f1 old ChangeLog and NEWS move to doc
* doc/NEWS-2.0.0: moved from NEWS
* doc/ChangeLog-2.0.0: moved ChangeLog older than created ruby_2_0_0 branch
* NEWS: NEWS for 2.1.0 that describes changes since 2.0.0
* ChangeLog: ChangeLog since created ruby_2_0_0 branch

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-25 00:41:07 +00:00
marcandre 143a2f7ef1 * doc/NEWS-*: Update NEWS from their respective branches
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22 23:57:58 +00:00
drbrain 6b88b523f4 * doc/globals.rdoc: Document what setting $DEBUG does.
* doc/globals.rdoc:  Added pointer to $-d for full documentation.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-21 21:31:09 +00:00
drbrain 9c49b69d3e * doc/globals.rdoc: Document what setting $VERBOSE does. [Bug #7899]
* doc/globals.rdoc:  Added pointer to $-w and $-v for full
  documentation.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-21 21:27:25 +00:00
zzak 2bfa96ec84 * doc/rake/, lib/rake/doc/: Move Rake rdoc files to lib/rake
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-10 05:26:34 +00:00
zzak 20c05cdef0 * doc/rake/*: Removed stale Rake static files
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-10 03:00:36 +00:00
zzak 90eb265f86 * doc/pty/README: Remove static documentation file
* ext/pty/pty.c: Add License to PTY module overview


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-06 20:51:56 +00:00
zzak 4f74d59be9 * doc/security.rb: Translate japanese kanji to english
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-06 17:16:39 +00:00
zzak a99dc84165 * doc/security.rdoc: Link to japanese version of CVE page patch by
nagachika


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-06 16:35:15 +00:00
zzak a493ec0388 * doc/pty/README.expect: Removed static documentation file
* ext/pty/lib/expect.rb: Documentation for IO#expect


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-06 14:31:32 +00:00
zzak fe072cef25 * doc/security.rdoc: Add link to CVEs on ruby-lang.org/en/security
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-06 04:03:39 +00:00
zzak afea6f4706 * doc/rubygems/*: Removed outdated documentation files
* lib/rubygems/LICENSE.txt: Include license file
* lib/rubygems.rb: Move Gem module documentation so rdoc can parse it
  and link to LICENSE.txt
* lib/rubygems/*: Hide useless documentation from Gem module rdoc


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-05 20:52:28 +00:00
zzak 55f11348c3 * doc/security.rdoc: Remove documentation for unsafe CSV.load which
was deleted in r39077


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-05 18:44:46 +00:00
charliesome 81f9052c11 * doc/security.rdoc: add regex, eval and drb sections
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-05 09:49:09 +00:00
zzak 6dfd56696f * doc/security.rdoc: Wrap security guide at 80 columns
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-05 01:18:22 +00:00
zzak 47da37b0a0 * doc/security.rdoc: Grammatical error on security guide
Patch by Josh Bassett [Github fixes #245]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-05 01:14:52 +00:00
zzak 9cfc40ab96 * doc/standard_library.rdoc: Document list of libraries and extensions
and their purpose or short description
* lib/README: Remove lib/README in favor of doc/standard_library.rdoc


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-04 20:20:23 +00:00
charliesome cac38cd0a6 * doc/security.rdoc: add first cut at a Ruby security document
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-03 07:14:44 +00:00
drbrain dbcf20069a * doc/syntax/calling_methods.rdoc: Added a Method Lookup section.
* doc/syntax/refinements.rdoc (Method Lookup):  Clarified that
  refinement methods are looked up in classes, not instances.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-24 07:54:45 +00:00
drbrain 30a9931bbc * doc/syntax/refinements.rdoc: Added refinements document based on
the specification from the wiki.
* doc/syntax.rdoc:  Added link to refinements document.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-24 00:40:49 +00:00
drbrain 596ed9c781 * doc/syntax/assignment.rdoc (Implicit Array Assignment): Clarify
that "left-hand side" means "of the assignment".  Suggested by Jorge
  Dias.
* doc/syntax/assignment.rdoc (Multiple Assignment):  ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-23 01:41:37 +00:00
drbrain 2784129653 * doc/syntax/assignment.rdoc (Local Variables and Methods): Fixed
example showing caching of a method's results into a local variable.
  Added not about using an explicit receiver to call a method that
  matches a local variable.  Suggested by markov_twain on twitter.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-23 01:35:16 +00:00
drbrain b7ae472b58 * doc/syntax/miscellaneous.rdoc: Added section on defined?
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-19 00:52:57 +00:00
drbrain 1ecaf599ff * doc/syntax/assignment.rdoc (Local Variables and Methods): Made it
more clear that local variables are created by the parser, not
	  execution.  Thanks to John Hawthorn.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-19 00:27:45 +00:00
drbrain 6ff1653cf6 * doc/syntax/assignment.rdoc: Improved links
* doc/syntax/methods.rdoc:  ditto.

	* doc/syntax.rdoc:  Added link to assignment document


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-19 00:16:08 +00:00
drbrain d9d981b940 * doc/syntax/assignment.rdoc: Added a syntax document on assignment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-18 23:47:51 +00:00
drbrain 1d5a5c235f * doc/syntax/methods.rdoc: Added Array Decomposition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-18 05:15:44 +00:00
drbrain 66013dc6d0 * doc/syntax/miscellaneous.rdoc: Added Ending an Expression and
indentation.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-17 01:21:28 +00:00
drbrain 1be8ac57ab * doc/syntax/control_expressions.rdoc: Added ? : ternary if
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-17 00:08:53 +00:00
drbrain 1eb9f71c3a * doc/syntax/miscellaneous.rdoc: Added documentation for alias, undef,
BEGIN, END.
* doc/syntax/modules_and_classes.rdoc (Constants):  Fixed unwrapped
  paragraph with trailing whitespace.
* doc/syntax/modules_and_classes.rdoc (Scope):  Added section pointing
  to alias and undef documentation.
* doc/syntax.rdoc:  Added link to miscellaneous section.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-16 23:36:46 +00:00
drbrain 038c535e18 * doc/syntax/control_expressions.rdoc (Flip-Flop): Added a section on
the flip-flop.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-16 22:50:54 +00:00
drbrain 9ceb50972f * doc/syntax/control_expressions.rdoc (if Expressions): Fixed markup
error.  Fixes #235 on github by FlyingFoX.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-16 22:00:02 +00:00
drbrain d86ee14c5a * doc/syntax/literals.rdoc (Strings): Fixed typo. Fixes #236 on
github by Doug Yun.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-16 21:54:31 +00:00
drbrain a06f22f915 * doc/syntax/control_expressions.rdoc: Omit optional "then" for if and
unless expressions.  Improved description of "a if a = 0.zero?"
  NameError.  Note that "do" for for loop is optional.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-15 18:54:54 +00:00
drbrain 4cf9fa309d * doc/syntax/calling_methods.rdoc: Link to defining methods.
* doc/syntax/methods.rdoc:  Link to calling methods, fixed typo.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-15 18:29:05 +00:00
drbrain 8113321482 * doc/syntax/methods.rdoc: Fixed link
* doc/syntax/modules_and_classes.rdoc:  Fixed link
* doc/syntax.rdoc:  Updated with links to the recently added pages


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-15 18:15:12 +00:00
drbrain d902101b32 * doc/syntax/control_expressions.rdoc (redo Statement): Added note
about retry.
	* doc/syntax/exceptions.rdoc:  Added retry statement


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-15 18:06:24 +00:00
drbrain e071e13068 * doc/syntax/control_expressions.rdoc: Added description of control
expressions in ruby.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-15 06:55:43 +00:00
drbrain 68b072bfba * doc/syntax/methods.rdoc (Method Names): Added method names including
operator methods.
* doc/syntax/methods.rdoc (Return Values):  Added note that assignment
  methods ignore return values.
* doc/syntax/precedence.rdoc:  Added document describing precedence.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-15 04:33:28 +00:00
drbrain 108f3acbe4 * doc/syntax/methods.rdoc (Block Argument): Added section on block
argument.  Thanks to Andy Lindeman.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-15 02:49:54 +00:00
drbrain ec2bdfc763 * doc/syntax/calling_methods.rdoc (Arguments): Added improved
introduction to arguments including passing style and lazy
  evaluation.  Thanks to Matt Aimonetti.
* doc/syntax/calling_methods.rdoc (Positional Arguments):  Added
  description for sending a message to a method with *arguments
* doc/syntax/calling_methods.rdoc (Default Positional Arguments):
  Added description.  Thanks to Andy Lindeman.
* doc/syntax/calling_methods.rdoc (Block Local Arguments):
  Added description of block locals.  Thanks to Justin Collins.
* doc/syntax/calling_methods.rdoc (Hash to Keyword Arguments):  Added
  section describing ** operator.  Thanks  to Justin Collins.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-15 02:48:49 +00:00
drbrain 17bc951fc5 * doc/syntax/calling_methods.rdoc (Receiver): Added :: as pointed out
by Tony Arcieri
* doc/syntax/calling_methods.rdoc (Block Argument):  Fixed { } block
  examples as pointed out by David Copeland.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-15 00:29:56 +00:00
drbrain eeee190882 * doc/syntax/methods.rdoc (Array/Hash Argument): Moved above Keyword
Arguments
* doc/syntax/methods.rdoc (Keyword Arguments):  Described ** for
  gathering arbitrary keyword arguments.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-15 00:11:46 +00:00
drbrain c3319d991a * doc/syntax/calling_methods.rdoc: Added document describing method
calls.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-14 23:56:47 +00:00
drbrain 015997ecde * doc/syntax/modules_and_classes.rdoc: Fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-06 02:11:40 +00:00
drbrain ac67a2b6d4 * doc/syntax/modules_and_classes.rdoc: Added singleton classes
documentation.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-05 20:35:30 +00:00
drbrain 4061f5b6fc * doc/syntax/modules_and_classes.rdoc: Improved description of methods
on a module or class as suggested by Tobias Buhlmann


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-05 05:00:33 +00:00
drbrain a13aee62d2 * doc/syntax/modules_and_classes.rdoc: Added documentation of syntax
for Modules and Classes.
* doc/syntax/methods.rdoc:  Moved some text to the Modules and
  Classes syntax document.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-05 01:23:49 +00:00
drbrain 1da85070b0 * doc/syntax/methods.rdoc: Added return values and scope sections,
slightly modified from the original patch.  Fixes #227 from github by
  Dave Brown.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-04 23:39:48 +00:00
drbrain 4f7a6aafa5 * lib/rake/*: Updated to rake 0.9.6
* doc/rake/*:  ditto
* test/rake/*:  ditto


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-21 02:34:37 +00:00
marcandre 542a12d673 * doc/syntax/methods.rdoc: rdoc fix, patch by Dave Brown
[github:222]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-19 09:05:44 +00:00
drbrain 8255e83912 * doc/syntax/literals.rdoc: Added 0d decimal format. Thanks Nobu!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-19 07:30:58 +00:00
drbrain d8cda04488 * doc/syntax/methods.rdoc: Fixed typo. Thanks to Josh Susser.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-19 07:19:59 +00:00
drbrain 2c0d2db5cb * doc/syntax/methods.rdoc: Add () around keyword arguments example for
consistency.  Thanks to Josh Susser.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-19 06:24:02 +00:00
drbrain aa233d3f33 * doc/syntax/literals.rdoc: Used simplified heredoc example that
doesn't include method definition.  Added heredoc with backticks.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-18 07:46:33 +00:00
drbrain 87f099d069 * doc/syntax/literals.rdoc: Added 0o octal integers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-18 02:48:35 +00:00
drbrain 73b244d0de * doc/syntax/methods.rdoc: Added a description of singleton methods.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-17 03:05:45 +00:00
drbrain 85d3d572fa * doc/.document: Added doc/syntax
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-17 02:36:30 +00:00
drbrain 29fd593475 * doc/syntax.rdoc: Added syntax guide table of contents
* doc/syntax/exceptions.rdoc:  Syntax guide for exceptions
* doc/syntax/literals.rdoc:  Syntax guide for literals
* doc/syntax/methods.rdoc:  Syntax guide for methods


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-17 02:26:15 +00:00
zzak 536ecb3477 commit typo: remove file from r38358
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-13 05:25:15 +00:00
drbrain 52d4a465a8 * common.mk: Added --pages-dir to rdoc creation. Now doc/ items show
up at top-level.
* .document:  Moved doc/* entries to doc/.document
* doc/.document:  ditto


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-11 07:57:56 +00:00
zzak 65129f3a5d Remove file from r38201
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-07 07:10:10 +00:00
zzak a756aa75ea * doc/etc.rd: Removed stale documentation file
* ext/etc/etc.c:  Merged documentation from doc/etc.rd and updated
  rdoc, added documentation for Etc::Passwd and Etc::Group


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-07 07:08:06 +00:00
zzak 5452c2d625 * doc/forwardable.rd: Remove stale documentation file
* lib/forwardable.rb: Merge documentation from doc/forwardable.rd


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-07 04:08:29 +00:00
drbrain f8f5a9eb4e * .document: Add NEWS for `ri ruby:NEWS`
* NEWS:  Set format as rdoc
* doc/NEWS-1.8.7:  ditto
* doc/NEWS-1.9.1:  ditto
* doc/NEWS-1.9.2:  ditto
* doc/NEWS-1.9.3:  ditto


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-03 19:12:03 +00:00
zzak 118d9f43c8 * doc/globals.rdoc: Add documentation file for magic globals
[ruby-core:29048] [Bug #3022]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-27 23:57:20 +00:00
drbrain b8903f88f4 * doc/re.rdoc: Fix spelling
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-24 21:54:50 +00:00
drbrain a60a58b183 * doc/re.rdoc: Completed wording in the description of the =~ operator.
[ruby-trunk - Bug #6529]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-08 23:17:00 +00:00
drbrain 5f85fcc11f * doc/re.rdoc (Performance): Replaced incorrect example of reducing
backtracking through anchoring with reduced backtracking through a
  range.  [ruby-trunk - Bug #6525]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-01 22:05:46 +00:00
drbrain 8424e37992 * doc/re.rdoc (Performance): Removed useless sample output from final
performance example and switched from #match to #=~ for consistency.
  [ruby-trunk - Bug #6524]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-01 21:35:05 +00:00
kazu 86716b9768 remove unbalanced parenthesis
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-22 03:50:02 +00:00
nobu 01d54bc2c7 * doc/re.rdoc (Repetition): fix typo. reported by Ori Avtalion
and patched by Zachary Scott.  [Bug #5947]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-01 00:50:17 +00:00
marcandre 6c38e611e4 * vm_core.h: Fix comment about arg_opts of iseq and some typos
* doc/re.rdoc: Rdoc small fixes

* iseq.c: Fix comment

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-30 05:55:37 +00:00
nobu 15fb1619e3 * doc/ChangeLog-1.9.3, test/gdbm/test_gdbm.rb: fixed mingw typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-28 02:40:28 +00:00
kazu 327ea26b59 * ext/bigdecimal/README: Update redmine.ruby-lang.org to bugs.ruby-lang.org
* ext/socket/ancdata.c: ditto
* test/-ext-/wait_for_single_fd/test_wait_for_single_fd.rb: ditto
* test/syck/test_yaml.rb: ditto
* doc/ChangeLog-1.9.3: ditto

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-20 16:09:17 +00:00
drbrain 3e204989c1 * doc/re.rdoc: Document difference between match and =~, options with
Regexp.new and global variables.  Patch by Sylvain Daubert.
  [Ruby 1.9 - Bug #5709]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-07 23:22:30 +00:00
drbrain 52654367f6 * doc/re.rdoc: Fix example code to match documentation. Patch by
Jarno Lamberg.  [Ruby 1.9 - Bug #5624]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-07 23:02:58 +00:00
nobu 818ebcc54b * doc/rake/CHANGES: reverted. this file is not written in Japanese.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-05 06:05:31 +00:00
shyouhei 60c8455253 Change encoding from EUC-JP to UTF-8. [Feature #5128]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-04 12:22:46 +00:00
tadf 0acaab201a * ext/date/date_core.c (date_strftime_alloc): followed the change
of r32885.
	* doc/NEWS-1.9.3: followed the above change.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-13 00:12:05 +00:00
kazu 301a11b24b fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-14 07:56:22 +00:00
kazu dc08ed037f fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-13 13:55:57 +00:00
nagachika 145b721829 * ChangeLog: fix tyops.
* doc/ChangeLog-1.9.3: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-13 13:11:41 +00:00
ryan f078ced91f updated news for minitest
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-11 09:56:55 +00:00
mrkn 0b2db1ab4c * doc/NEWS-1.9.3: describe the improvement of BigDecimal#power and
BigDecimal#**.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-10 15:40:07 +00:00
yugui a4f423f18b * docs/NEWS-1.9.3: moved from NEWS.
* docs/ChangeLog-1.9.3: merged ChangeLog for 1.9.3.

* NEWS: NEWS for 1.9.4 that describes changes since 1.9.3

* ChangeLog: new ChangeLog for 1.9.4.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-10 14:54:03 +00:00
kosaki 58aa09cb14 * doc/irb/irb.rd: fix typo. patch by Nobuhiro IMAI.
[Bug #4843] [ruby-dev:43639]
* doc/irb/irb.rd.ja: ditto.
* doc/ChangeLog-YARV: ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-07 11:52:41 +00:00
nobu 3a47cf3395 * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-15 11:55:52 +00:00
kazu eb70987c2d doc/NEWS-1.9.2: add File#size
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-01 13:17:05 +00:00
knu e2c1e2969d Mention the command search path issue on Windows. Pointed out by
NAJIMA Hiroki in [ruby-dev:42276].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-22 04:13:03 +00:00
akr 3121057559 * ext/pathname/pathname.c (path_exist_p): Pathname#exist? translated
from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-31 12:11:02 +00:00
nobu e26c0d6d82 * NEWS: moved to doc/NEWS-1.9.2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-27 01:48:58 +00:00
nobu 0d5b1718c2 * doc/ChangeLog-1.9.3: mistake.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-23 21:03:42 +00:00
nobu 4be11cde44 * ChangeLog: flushed. [ruby-dev:42050]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-23 20:58:28 +00:00
knu e53a46a58b Mention the json library. (Pointed out by yhara)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-14 10:04:02 +00:00
nobu 80684e9c09 * ext/pty: moved documents and samples to the appropriate places.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-23 08:25:12 +00:00
nobu 9e67f6ecec * doc/etc.rd, doc/etc.rd.ja: moved from ext/etc.
* ext/etc.c (Init_etc): fixed rdoc.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-23 05:07:38 +00:00
drbrain 1325437297 * lib/rdoc: Import RDoc 2.5.2
* lib/rdoc/parser/ruby.rb (RDoc::Parser::Ruby): Don't parse rdoc
  files, reverts r24976 in favor of include directive support in C
  parser.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-10 06:36:13 +00:00
nobu b551e8c8b3 * lib/rubygems: update to 1.3.6.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-22 02:52:35 +00:00
nobu 65544f575b * doc/rubygems/ChangeLog: deleted garbage lines.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-22 02:42:11 +00:00
nobu ed5d5c5829 * lib/rubygems: update to 1.3.5.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-08 07:19:09 +00:00
nobu 719b0f8e30 * lib/rake: updated to rake code to rake-0.8.7 source code base.
* lib/rake/loaders/makefile.rb (Rake::MakefileLoader#process_line):
  respace dependencies too.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-02 19:07:55 +00:00
nobu d7f76f84d9 * doc/re.rdoc: use rdoc mode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-18 01:11:55 +00:00
nobu c922e50804 * lib/rdoc/parser/ruby.rb (RDoc::Parser::Ruby): parse also rdoc
files.

* doc/re.rdoc: renamed from re.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-17 04:12:38 +00:00
nobu 5a45c08ef2 * doc/re.rb (Regexp): not under Doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-17 04:06:18 +00:00
naruse 63c7ca40d8 * doc/re.rb: New document for Ruby's fork of Oniguruma.
written by Run Paint Run Run [ruby-core:25420]

* re.c: import document in doc/re.rb.

* .document: add doc/re.rb.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-17 00:40:49 +00:00
matz ace43dc721 * doc/ChangeLog-1.8.0: add forgotten entry contributed by
TAKAHASHI Kaoru.  [ruby-dev:39065]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-13 15:30:57 +00:00
knu 117c384560 Oops, my finger slipped.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-13 07:30:41 +00:00
knu 5aff5e79b8 Merge changes from ruby_1_8 except for the post-1.8.7 part.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-13 07:12:47 +00:00
yugui 2d42e704f4 Doxy-comments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-06-29 16:39:28 +00:00
knu 385b6a15ff Update with branches/ruby_1_9_1/NEWS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-12 15:04:41 +00:00
matz 1d07fd73d8 * doc/NEWS-1.9.1: typo fixed: collect_all -> collect.
[ruby-core:21706]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-02 10:19:26 +00:00
tadf 0e0c53a092 Numeric#scalar? has been renamed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-13 00:03:18 +00:00
knu 1757d80076 - Remove doc/NEWS when we have doc/NEWS-1.9.1.
- Add NEWS for keeping changes since 1.9.1.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-12 09:46:28 +00:00
knu cef2867e66 Add historical NEWS files for the record.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-12 09:42:26 +00:00
knu 9f37bc558c Remove things that have been backported to the ruby_1_8 branch. [trunk-only]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-11 11:25:49 +00:00
knu 566e7da773 Elaborate with Range#include?.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-11 11:09:02 +00:00
kouji 433095e50e * doc/NEWS: fixed typo, Readline.HISTORY::clear -> Readline::HISTORY.clear.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-22 17:16:15 +00:00
knu 3e8c3897ab * enumerator.c: Activate Enumerator#with_object and add
Enumerable#each_with_object.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-26 05:45:18 +00:00
knu cb32985d03 * enumerator.c (enumerator_initialize),
test/ruby/test_enumerator.rb: Add an ability to generate an
  enumerator from a block. [experimental] [ruby-dev:35903]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-26 05:42:12 +00:00
akr 72eaacaa15 "t" for Kernel#open described.
Encoding and Encoding::Converted described.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-25 15:04:53 +00:00
kouji 4e15017783 * doc/NEWS: Mention the Readline.vi_editing_mode?,
Readline.emacs_editing_mode?, Readline::HISTORY[] and
  Readline::HISTORY.clear change.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-13 01:25:40 +00:00
knu 7464de7e8b Mention the Array#choice removal and the Array#delete change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-12 09:23:19 +00:00
knu a938a52126 * enumerator.c (enumerator_with_object, Init_Enumerator):
Temporarily back out with_memo, for which we need a better name.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-16 00:49:25 +00:00
knu a96cf7a7a5 * enumerator.c (enumerator_with_memo): New method: with_memo().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-03 12:43:45 +00:00
knu edcbe2ac45 Remove what have been backported to 1.8.7.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-02 05:49:33 +00:00
knu 256edc39b0 Fix: nitem == count {|i| !i.nil?}
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-05-29 13:49:15 +00:00
knu 8f706b2d44 * array.c (rb_ary_nitems, Init_Array): Axe Array#nitems().
cf. [ruby-dev:34676]-[ruby-dev:34713]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-05-28 09:12:28 +00:00
knu c26af9e7ec Remove entries about what have already been backported to 1.8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-05-27 04:27:09 +00:00
ko1 3de80833a2 * gc.c (gc_count): add a GC.count method. This method returns
a GC invoking count.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-27 06:28:08 +00:00
akr 6cdef2dc7e * $Date$ keyword removed to avoid inclusion of locale dependent
string.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-06 15:49:38 +00:00
matz 1ffc06198e * doc/NEWS: changes for 1.9
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-25 14:19:55 +00:00
shyouhei fd81221a8e set svn:eol-style
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-12 23:01:19 +00:00
ko1 a3e1b1ce7e * Merge YARV
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-31 15:02:22 +00:00
keiju ff958cd44e * doc/irb/irb.rd.ja: a lost of release IRB 0.9.5.
* lib/irb/slex.rb: bug fix by [ruby-core :04707].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-13 20:45:54 +00:00
knu 3982f82b03 * lib/generator.rb: A new library which converts an internal
iterator to an external iterator.

* lib/abbrev.rb: A new library which creates an abbreviation table
  from a list.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-14 20:14:20 +00:00
knu b2de95d4af Add ext/enumerator, a helper module for the Enumerable interface.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-13 17:09:23 +00:00
nagai 24ff3f4448 * doc/ChangeLog-1.8.0: add changes of Ruby/Tk
* ext/tcltklib/tcltklib.c : some methods have no effect if on slave-IP
* ext/tcltklib/tcltklib.c : can create a interpreter without Tk
* ext/tcltklib/tcltklib.c : bug fix on handling exceptions
* ext/tcltklib/MANUAL.euc : modify
* ext/tk/lib/tk.rb : freeze some core modules
* ext/tk/lib/multi-tk.rb : more secure
* ext/tk/lib/tk.rb: TkVariable.new(array) --> treat the array as the
  Tk's list
* ext/tk/lib/tk.rb: improve accessibility of TkVariable object
* ext/tk/lib/tk.rb, ext/tk/lib/tkfont.rb, ext/tk/lib/tkcanvas.rb,
  ext/tk/lib/tktext.rb : fix bug of font handling
* ext/tk/lib/tkfont.rb TkFont.new() accepts compound fonts
* process.c: bug fix
* process.c: add rb_secure(2) to methods of Process::{UID,GID,Sys}
* process.c: deny handling IDs during evaluating the block given to
  the Process::{UID,GID}.switch method


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-29 08:34:14 +00:00
eban ef066d4dad doc/NEWS: typo fix(CVS -> CSV).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-05 02:14:52 +00:00
matz 816803095d * doc/NEWS, doc/ChangeLog-1.8.0: added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-04 08:31:24 +00:00
matz cdacb127fc * class.c (rb_obj_singleton_methods): should not go up to
ancestors unless the recursive flag is set. [ruby-list:38007]

* hash.c (env_each_key): use env_keys to avoid environment modify
  on the fly.

* hash.c (env_each_value): use env_values for safety.

* hash.c (env_each): allocate environment array first.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-01 20:16:53 +00:00
eban 81f52e532b * doc/NEWS: typo fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-01 02:43:42 +00:00
matz 23bcab8d63 * gc.c (Init_stack): IA64 requires STACK_LEVEL_MAX to be less than
magic number when optimizer turned on, regardless of rlimit
  values.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-31 16:34:07 +00:00
matz 5b9afca5e4 * numeric.c (rb_num_coerce_relop): export function.
* marshal.c (w_object): check has been dropped. "_dump must return
  string." [ruby-dev:21024]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-31 08:42:44 +00:00
matz f3e173c18e * update to 1.8.0 preview5 (but incomplete yet).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-30 09:10:38 +00:00
matz 34ca2ab058 * variable.c (rb_mod_const_missing): "const_missing" should not
appear in the caller(); add call frame adjustment.

* eval.c (rb_method_missing): simplify call frame adjustment.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-26 02:26:08 +00:00
knu 2a54402839 Really cvs rm these files from HEAD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-31 21:01:40 +00:00
knu a0a14ed14a Mention the open-uri.rb import.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-19 08:29:18 +00:00
knu 46586b2096 Add and update entries.
Submitted by: Matt Armstrong <matt@lickey.com> (mostly)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-15 21:15:58 +00:00
knu 59d4702438 Clarify that this file is not actively maintained.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-01 09:08:14 +00:00
knu fb00e309f6 Add set.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-08-30 13:47:49 +00:00
nobu 702dee81ad OptionParser
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-07-14 21:32:17 +00:00
aamine 6ad9e20504 * doc/net/smtp.rd.ja: add note for RubyMail/TMail.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-07-11 21:35:32 +00:00
aamine fa848fb6fd * lib/net/http.rb: rename HTTP.get_uri get_response.
* lib/net/http.rb: HTTP.get_print accepts URI objects.
* lib/net/http.rb: HTTP.get did not work with URI.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-07-11 21:33:38 +00:00
aamine d16897fa57 * NEWS: add note for net/http's incompatibility.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-07-11 19:25:45 +00:00
keiju daba1fcdc0 * bit changed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-07-10 12:47:38 +00:00
keiju 1f6f2325f8 * irb 0.9(doc)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-07-09 11:22:04 +00:00
nobu 0fdfc0bbef * parse.y (words, qwords): word list literal rules.
* parse.y (parse_string): ditto.

* parse.y (yylex): %W: word list literal with interpolation. [new]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-26 08:01:00 +00:00
tadf 0e866a2e51 updated to the new version (based on date2 3.3).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-22 15:26:58 +00:00
matz 4ab1577db3 * parse.y: yyparse #defines moved from intern.h
* ruby.c (proc_options): access prefixed "ruby_yydebug".

* applied modifies to pacify some of gcc -Wall warnings.

* parse.y (arg): no more ugly hack for "**", so that "-2**2" to be
  parsed as "(-2)**2", whereas "- 2**2" or "-(2)**2" to be parsed
  as "-(2**2)".

* parse.y (yylex): '-2' to be literal fixnum. [new]

* time.c (time_succ): new method for Range support.

* time.c (time_arg): nil test against v[6] (usec).


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-29 05:20:39 +00:00
matz 6e87a54aec * ruby.c (proc_options): removed "-*-" support for #! line.
* io.c (rb_io_s_sysopen): new method to get a raw file
  descriptor. [new]

* ext/socket/socket.c (tcp_sysaccept): new method to return an
  accepted socket fd (integer). [new]

* ext/socket/socket.c (unix_sysaccept,sock_sysaccept): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-23 05:35:32 +00:00
tadf a61dbb9231 added a summary of the changes in the new date.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-19 12:13:51 +00:00
nobu 9029decfe4 * eval.c (rb_thread_join): added an argument to limit time to wait
the thread.

* eval.c (rb_thread_join_m): new. and added optional argument.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-09 17:01:38 +00:00
knu 59c8d11b83 * ext/Setup*, ext/bigfloat/*: Back out the import of BigFloat in
favor of its forthcoming successor, BigDecimal.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-17 15:00:23 +00:00
ttate e34e13c0c4 Add entries to each Setup.* and remove Changes files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-02 13:16:00 +00:00
matz cf06d8b20b * io.c (rb_io_sysseek): new method based on a patch from Aristarkh
A Zagorodnikov <xm@bolotov-team.ru>. [new]

* io.c (READ_DATA_PENDING): use !feof(fp) for default behavior.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-27 05:28:00 +00:00
aamine 04168e7e3e * doc/net/protocol.rd.ja, smtp.rd.ja, pop.rd.ja: removed.
* MANIFEST: remove doc/net/* entries.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-26 11:17:13 +00:00
aamine fb54b37850 * lib/fileutils.rb: new file.
* lib/README: add fileutlis.rb.
* doc/NEWS: add fileutils.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-26 02:03:04 +00:00
aamine 9ef87823fa add raccrt, strscan entry
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-22 07:34:00 +00:00
knu c1c52ef76d Mention the import of BigFloat.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-22 04:55:03 +00:00
matz 6d2e56ce7c * re.c (rb_reg_search): should clear last_match if pos is out of
string range.

* string.c (rb_str_index_m): ditto.

* string.c (rb_str_rindex): ditto.

* class.c (rb_define_class): should handle autoload.

* class.c (rb_define_module): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-19 09:03:11 +00:00
nobu 390ae31a6f * ext/iconv: imported.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-14 13:26:28 +00:00
knu b9522c1687 * dir.c: FNM_PERIOD is obsoleted and FNM_DOTMATCH is introduced
instead, which has the opposite meaning of FNM_PERIOD.

* dir.c: Dir::glob now accepts optional FNM_* flags via the second
  argument, whereas Dir::[] doesn't.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-13 10:11:09 +00:00
knu 14461ddae6 * lib/getopts.rb: single_options can be nil[*], and is not not
optional. ([*]Pointed out by gotoken)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-13 09:44:59 +00:00
knu 9651a9db92 Remove the entries that have already been merged into the stable
branch.

[Note that the NEWS file on this branch should note the differences
from the latest snapshot of the stable branch]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-11 16:10:54 +00:00
akr e23025a694 tsort description modifed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-11 15:29:50 +00:00
akr d7594a43cb tsort library added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-11 15:22:24 +00:00
nobu 8579ace7b4 StringIO.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-11 12:55:52 +00:00
aamine 19f7f6ea12 aamine
* lib/net/protocol.rb: rename Protocol.port to default_port.
* lib/net/smtp.rb: ditto.
* lib/net/pop.rb: ditto.
* lib/net/http.rb: ditto.
* lib/net/protocol.rb: rename BufferedSocket class to InternetMessageIO.
* lib/net/smtp.rb: ditto.
* lib/net/pop.rb: ditto.
* lib/net/http.rb: ditto.
* lib/net/protocol.rb: rename InternetMessageIO#write_pendstr to write_message.
* lib/net/smtp.rb: ditto.
* lib/net/protocol.rb: new method InternetMessageIO#through_message.
* lib/net/smtp.rb: ditto.
* lib/net/protocol.rb: rename InternetMessageIO#read_pendstr to read_message_to.
* lib/net/pop.rb: ditto.
* lib/net/protocol.rb: rename InternetMessageIO#read_pendlist to each_list_item
* lib/net/pop.rb: ditto.
* lib/net/protocol.rb: Now block size is 1024.
* lib/net/smtp.rb: new methods SMTP#esmtp? and #esmtp=.
* lib/net/http.rb: Using singleton method syntax instead of singleton class clause, to avoid behavior change of class variables in ruby 1.7.
* lib/net/http.rb: HTTPResponse class does not inherit from Net::Response.
* lib/net/http.rb: devide HTTP#connecting into {begin,end}_transport.
* lib/net/http.rb: unused class Accumulator removed.
* lib/net/http.rb: Net::HTTP reads response. not HTTPRequest.
* lib/net/http.rb: proxy related class-instance-variables are not initialized correctly.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-19 12:33:52 +00:00
matz 7de72c4858 * parse.y (expr_value, arg_value, primary_value): value_expr()
check in place.

* eval.c (block_pass): "&nil" should clear block given.

* dir.c (push_braces): remove MAXPATHLEN dependency.

* dir.c (dir_s_globd): ditto.

* dln.c (init_funcname): ditto.

* dln.c (load_1): ditto.

* dln.c (dln_load): ditto.

* configure.in: add GNU/Hurd switches.

* pack.c (pack_pack): allows comment in template strings.

* pack.c (pack_unpack): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-18 09:52:48 +00:00
matz 4f38c453b4 * eval.c (is_defined): defined?(Foo::Baz) should check constants
only, no methods.

* eval.c (is_defined): should not dump core on defined?(a::b)
  where a is not a class nor a module.

* object.c (Init_Object): remove dup and clone from TrueClass,
  FalseClass, and NilClass.

* array.c (rb_ary_fill): Array#fill takes block to get the value to
  fill.

* string.c (rb_str_to_i): to_i(0) auto-detects base radix.

* array.c (rb_ary_initialize): fill by the block evaluation value
  if block is given.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-01-28 08:44:45 +00:00
matz f547c1150c * class.c (rb_include_module): detect cyclic module inclusion.
* eval.c (rb_thread_cleanup): need not to free thread stacks at
  process termination.

* array.c (rb_ary_fetch): use the block to get the default value
  if the block is given.

* eval.c (rb_thread_schedule): should check time only if BOTH
  WAIT_SELECT and WAIT_TIME.

* eval.c (umethod_bind): should update rklass field.

* hash.c (rb_hash_update): if a block is given, yields [key,
  value1, value2] to the block to resolve conflict.

* string.c (rb_str_split_m): no need to consider KANJI
characters, if the length of separator is 1 (byte).


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-01-25 08:22:11 +00:00
matz eb9708f386 * array.c (Init_Array): remove Array#filter.
* object.c (rb_mod_initialize): should accept zero argument.

* object.c (rb_mod_cmp): should raise ArgumentError if
  inheritance/inclusion relation between two classes/modules is
  not defined. [new]

* io.c (rb_io_fsync): new method. [new]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-01-23 07:30:43 +00:00
aamine 31e6676624 * doc/NEWS: moved syntax related issues to top of the list.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-01-11 11:24:11 +00:00
aamine e1ac9c6a0f * doc/NEWS: sorted by entry name.
* doc/NEWS: modify String#[re,n] entry.
* doc/NEWS: unify method expressions.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-01-11 10:54:23 +00:00
matz 85e32dd221 * re.c (match_select): should propagate taintness.
* hash.c (rb_hash_set_default): Hash#default= should return the
  new value.

* string.c (rb_str_to_i): accepts optional base argument. [new]

* numeric.c (rb_fix2str): should not handle negative fixnum values
  int32 via calling sprintf() directly.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-01-11 09:18:54 +00:00
aamine f3d9a0cc21 aamine
* lib/net/protocol.rb: Protocol#start returns the return value of block.
* lib/net/protocol.rb: set timeout limit by default.
* lib/net/protocol.rb: new methods WriteAdapter#write, puts, print, printf.
* lib/net/http.rb: rename HTTP#get2 to request_get, post2 to request_post ...
* lib/net/smtp.rb: should not resolve HELO domain automatically.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-12-30 19:18:45 +00:00
matz 63b6b9c430 * time.c (time_plus): result should not be negative unless
NEGATIVE_TIME_T is defined.

* time.c (time_new_internal): should check tv_sec overflow too.

* time.c (time_timeval): should check time_t range when time is
  initialized from float.

* time.c (time_plus): uses modf(3).

* variable.c (rb_cvar_set): add frozen class/module check.

* variable.c (rb_cvar_declare): add frozen class/module check.

* re.c (match_to_a): should propagate taint.

* re.c (rb_reg_s_quote): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-12-21 09:23:28 +00:00