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

309 Коммитов

Автор SHA1 Сообщение Дата
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
aamine 39c0252e04 aamine
* lib/net/pop.rb: new method Net::POP3.APOP
* lib/net/http.rb: set default Content-Type to x-www-form-urlencoded (causes warning)
* lib/net/protocol.rb: remove Net::NetPrivate module.
* lib/net/smtp.rb: ditto.
* lib/net/pop.rb: ditto.
* lib/net/http.rb: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-12-13 19:15:21 +00:00
aamine fa6dc283cd aamine
* lib/net/protocol.rb: calls on_connect before conn_command


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-12-09 08:58:30 +00:00
knu 09a4937b2f Import the "syslog" module from the rough ruby project. This module
provides the interface to the UNIX system logger (syslog).


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-11-26 12:00:40 +00:00
matz dc98adf839 * process.c (security): always give warning for insecure PATH.
* dir.c (my_getcwd): do not rely on MAXPATHLEN.

* file.c (rb_file_s_readlink): ditto.

* file.c (path_check_1): ditto.

* eval.c (rb_yield_0): should not call rb_f_block_given_p().

* string.c (rb_str_chomp_bang): should terminate string by NUL.

* eval.c (rb_yield_0): better error message.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-11-08 06:43:14 +00:00
matz b47a99485b * parse.y (yylex): ternary ? can be followed by newline.
* eval.c (rb_f_require): should check static linked libraries
  before raising exception.

* array.c (rb_ary_equal): check identiry equality first.

* string.c (rb_str_equal): ditto.

* struct.c (rb_struct_equal): ditto.

* numeric.c (Init_Numeric): undef Integer::new.

* eval.c (rb_eval): NODE_WHILE should update result for each
  conditional evaluation.

* eval.c (rb_eval): NODE_UNTIL should return last evaluated value
  (or value given to break).


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-08-29 06:28:51 +00:00
aamine 772ed5507e aamine
* lib/net/protocol.rb: Protocol.new requires at least one arg.
* lib/net/smtp.rb: ditto.
* lib/net/pop.rb: ditto.
* lib/net/http.rb: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-08-17 03:08:45 +00:00
knu 1414cebea8 Mention ext/curses.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-08-16 08:13:54 +00:00
matz 04a8e85bc5 * range.c (range_step): new method.
* string.c (rb_str_cmp): remove needless conditional.

* string.c (rb_str_lstrip_bang) `return Qnil' was missing.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-08-14 08:13:31 +00:00
knu 0aa005f8e9 Update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-08-13 05:56:30 +00:00
knu dd246c36b9 Update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-08-13 05:32:59 +00:00
matz f33a61c28d * string.c (rb_str_lstrip_bang): new method.
* string.c (rb_str_rstrip_bang): new method.

* string.c (rb_str_associate): should consider STR_ASSOC too.

* eval.c (rb_undefined): do not recurse if method_missing is
  undefined.

* process.c (proc_waitpid): now all arguments are optional.

* process.c (Init_process): waitpid is now alias to wait.

* process.c (Init_process): waitpid2 is now alias to wait2.

* process.c (rb_waitpid): made public.

* ext/pty/pty.c (pty_getpty): avoid disturbing SIGCHLD using
  thread and rb_waitpid.

* process.c (proc_getpgrp): now takes no argument on all
  platforms.

* process.c (proc_setpgrp): ditto.

* ext/socket/socket.c (sock_s_pack_sockaddr_in): added
  Socket::pack_sockaddr_in(). [new]

* ext/socket/socket.c (sock_s_pack_sockaddr_un): added
  Socket::pack_sockaddr_un(). [new]

* ext/socket/socket.c (sock_s_pack_sockaddr_in): added
  Socket::unpack_sockaddr_in(). [new]

* ext/socket/socket.c (sock_s_pack_sockaddr_un): added
  Socket::unpack_sockaddr_un(). [new]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-08-06 03:05:23 +00:00
knu ea82a51a15 Update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-07-24 10:19:46 +00:00
knu f50be7cba7 Update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-07-19 05:49:51 +00:00
knu eaddc4a94b Rename *.jp to *.ja, since jp is a region code and ja is a language
code.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-07-19 05:44:26 +00:00
aamine b84329fb53 add doc/net/http.rd.ja pop.rd.ja smtp.rd.ja
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-07-18 20:45:55 +00:00
knu d59652ef25 Reflect the previous backport.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-07-05 16:07:53 +00:00
knu 0c92a85e6a * ext/readline/readline.c: add new methods:
Readline::completion_append_character and
  Readline::completion_append_character=.k


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-06-19 09:21:38 +00:00
knu a74a6b0d91 Update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-06-19 05:28:10 +00:00
knu 6aa71d4c80 * dir.c (Init_Dir): add a new method File::fnmatch? along with
File::Constants::FNM_*.  While I am here, FNM_NOCASE is renamed
  to FNM_CASEFOLD which is commonly used by *BSD and GNU libc.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-06-13 10:51:39 +00:00
knu 68ebfef615 Update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-06-12 05:34:03 +00:00
knu 53a2b14909 Add an entry.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-06-09 06:00:52 +00:00
knu dd90741112 Update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-06-05 08:17:25 +00:00
knu 9b650354b4 Add NEWS, in which we describe the changes that affect users.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-06-04 05:30:25 +00:00
keiju 3c024ba5e2 * irb messages: fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-06-01 15:26:47 +00:00
knu d9a07d5506 * doc/shell.rd.jp: RD'ify and make some fixes.
* doc/shell.rd: RD'ify, delete Japanese leftovers, make overall
English fixes, and sync with doc/shell.rd.jp.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-17 10:09:49 +00:00
knu d9350f5600 Initial revision
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-17 10:02:47 +00:00
knu 6ea8746048 Hit `=begin' and `=end' in proper places so rd2 can format them
without a problem.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-07 23:52:57 +00:00
knu 32d17e265c Initial revision
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-07 23:38:52 +00:00
knu 6bbab099c0 Convert from JIS to EUC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-07 23:35:09 +00:00
knu 8752585250 Initial revision
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-04-30 18:17:38 +00:00
knu f8ab487e4d Initial revision
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-04-30 17:38:21 +00:00