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

23046 Коммитов

Автор SHA1 Сообщение Дата
drbrain ce9d84a9f0 * ext/curses/curses.c: Remove color constants block.
[Ruby 1.9 - Bug #4748]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-25 02:54:48 +00:00
drbrain eab122534d * ext/curses/curses.c: Add missing documentation for button state, MIN
and MAX comments.  Add Curses. to TABSIZE= and ESCDELAY= methods.
	  [Ruby 1.9 - Bug #4747]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-25 00:57:07 +00:00
drbrain 5bf1c145d4 * lib/benchmark.rb: Restore nodoc for Benchmark::Job and
Benchmark::Report.  [Ruby 1.9 - Bug #4726]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-25 00:38:30 +00:00
drbrain 0441079b58 * lib/net/pop.rb: Hide implementation details from RDoc.
[Ruby 1.9 - Bug #4711]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-25 00:30:04 +00:00
drbrain 9c711c0be6 * lib/net/ftp.rb: Add :nodoc: for private methods.
[Ruby 1.9 - Bug #4710]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-25 00:26:51 +00:00
drbrain 9af99106c1 * ext/zlib/zlib.c: Fix Document-method declarations. Improve
Zlib::GzipFile's method catalog.  [Ruby 1.9 - Bug #4695]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-25 00:19:37 +00:00
drbrain 421875eeff * lib/erb.rb: Restore documentation for ERB::Util and ERB::DefMethod
(oops).  [Ruby 1.9 - Bug #4694]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-24 23:24:32 +00:00
drbrain 373ea89e17 * lib/erb.rb: Hide documentation for implementation details of ERB.
[Ruby 1.9 - Bug #4694]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-24 23:22:40 +00:00
nobu c5c245554d * lib/tempfile.rb (Tempfile.{mkdir,rmdir}): revert for backward
compatibility.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-24 22:58:18 +00:00
nobu 6cbe0e0fd6 * spec/README: update the description.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-24 22:13:14 +00:00
nobu 9a7e295255 * lib/tempfile.rb (Tempfile.{lock,unlock}_tempfile): refactor.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-24 22:12:20 +00:00
svn 18684395c6 * 2011-05-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-24 21:22:05 +00:00
nobu 54bbfe811e * lib/tempfile.rb (Tempfile.{mkdir,rmdir}): internal methods to be overridden in subclasses.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-24 21:22:00 +00:00
naruse 5c9c28b3a0 * spec/README: fix typo.
patched by bowsersenior. https://github.com/ruby/ruby/pull/24

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-24 08:31:30 +00:00
nagai 3ca633b890 * ext/tk/lib/tk.rb: fail to start Tk.mainloop (exit immediately) on some environment (reported on [ruby-talk:381444]).
* ext/tk/lib/tk/canvas.rb: support creating a canvas item object from an item ID number.

* ext/tk/lib/tk/image.rb: import documents which are pull-requested. [Ruby 1.9 - Feature #4595]

* ext/tk/lib/tk/extconf.rb: search directories for 64bit library (e.g. /usr/lib64), add some new configure options (see README.tcltklib), and bug fix.

* ext/tk/lib/tk/README.tcltklib: modify docs for some new configure options.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-23 22:37:44 +00:00
svn 08f2c46ce1 * 2011-05-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-23 19:05:51 +00:00
tenderlove 4eaf3d4a51 * lib/yaml.rb: switch default YAML engine to Psych, old syck engine
may be enabled via YAML::ENGINE.yamler = "syck". [ruby-core:36374]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-23 19:05:47 +00:00
nahi 7d20942bf6 * include/ruby/defines.h (CASEFOLD_FILESYSTEM): Revert r30508. Forgot to
include this file in the commit r31692. __APPLE__ is not
  CASEFOLD_FILESYSTEM again, from this time.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-23 01:04:07 +00:00
emboss 5b3dd70232 * ext/openssl/ossl_asn1.c: Do not parse zero-tagged values as EOC. Do
not let current length become negative for infinite length constructed
values. Support constructed values of length zero. Added tests.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-23 01:01:49 +00:00
drbrain 1cb6879c82 * lib/net/smtp.rb: Document Net::SMTP::Response. Patch by J.R. Garcia.
[Ruby 1.9 - Bug #4768]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-23 00:21:10 +00:00
sorah b452755c5c * ChangeLog: fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-23 00:13:56 +00:00
sorah 6dc0488148 * lib/test/unit/parallel.rb: Never Ignore SIGINT. When received
Interrupt, immediately puts result and exit. [ruby-dev:43571]

* lib/test/unit.rb: When received Interrupt, wait results from workers
and correct them. [ruby-dev:43571]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-23 00:10:49 +00:00
drbrain 1e13786700 * lib/mathn.rb: Improve documentation. Patch by Sandor Szucs.
[Ruby 1.9 - Bug #4767]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-23 00:08:30 +00:00
drbrain c651520c13 * lib/ostruct.rb: Improve documentation. Patch by Franklin Webber.
[Ruby 1.9 - Bug #4761]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-22 23:46:08 +00:00
drbrain 317e2a5021 * hash.c: Improve documentation of Hash#key. Patch by Utkarsh
Kukreti.  [Ruby 1.9 - Bug #4760]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-22 23:37:03 +00:00
drbrain 6cfb4b614a * enumerator.c: Improve documentation. Patch by Dave Copeland.
[Ruby 1.9 - Bug #4757]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-22 23:33:21 +00:00
emboss b7576c3d7a * NEWS (openssl): Infinite length support. Different behavior of
Constructive and Primitive constructors.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-22 22:22:16 +00:00
emboss 7d6529a415 * ext/openssl/ossl_asn1.c: Forbid Constructives whose value is not an
Array to prevent segfault. Added test.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-22 22:00:24 +00:00
emboss a65d506d83 * ext/openssl/ossl_asn1.c: Forbid Constructive without infinite
length. This also prevents a segfault. Added test and improved
documentation.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-22 21:34:28 +00:00
emboss e7d04f4b82 * ext/openssl/ossl_asn1.c: Fix decoding of infinite length values.
Simplified ossl_asn1_decode0 by splitting it into three separate
functions. Add tests.
[Ruby 1.9 - Bug #4374][ruby-core:35123]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-22 21:01:13 +00:00
emboss 2cf8b26bf8 * ext/openssl/ossl_asn1.c (ossl_asn1_initialize): Allow creation of
Constructives with an explicit tag_class parameter without
automatically setting tagging to :EXPLICIT. Fixes a bug when encoding
infinite length primitive values.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-22 19:38:05 +00:00
emboss efd99b781b * ext/openssl/ossl_asn1.c (ossl_asn1_cons_to_der): Add an additional
EOC for infinite length Constructives that are supposed to be encoded
with explicit tagging. Also tabify method correctly.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-22 19:08:45 +00:00
emboss 9253bd7797 * ext/openssl/ossl_asn1.c (ossl_asn1data_to_der): Remove redundant
flag tmp_cons.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-22 18:48:31 +00:00
svn 00cfe4d26b * 2011-05-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-22 15:37:03 +00:00
mrkn 4eb3654178 * bignum.c (dump_bignum, bigmul1_balance, big_split, biglsh_bang,
bigrsh_bang, big_split3, bigmul1_toom3, bigmul0): implement Toom3 (Toom-Cook)
  multiplication.
* include/ruby/defines.h: add format prefixes for BDIGIT and BDIGIT_DBL.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-22 15:37:00 +00:00
emboss fbeca091ed * ext/openssl/ossl_asn1.c: Instead of rb_intern use static symbols to
improve performance.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-22 14:27:02 +00:00
emboss 4fc3431ba1 * ext/openssl/ossl_asn1.c: Use OpenSSL constants V_ASN1_xxx instead of
hardcoded numbers for initializing class_tag_map.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-22 12:58:23 +00:00
nahi 27ddbc5972 * include/ruby/defines.h (CASEFOLD_FILESYSTEM): Revert r30508. See #4255.
Now __APPLE__ is not CASEFOLD_FILESYSTEM again.

* load.c (loaded_feature_path, rb_feature_p, load_lock): Revert r30508. 
  See #4255. Make $LOADED_FEATURES scanning case-sensitive again.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-22 12:52:18 +00:00
nahi 75431b924c * ext/openssl/ossl_asn1.c(ossl_asn1_default_tag): avoid using RCLASS_SUPER
to make it compilable. Plus, tabify and change variable definition style.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-22 10:17:46 +00:00
nobu 70b4b6dc8b * gc.c (vm_xcalloc): use calloc provided by platforms.
fixes #4754

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-22 09:26:46 +00:00
nobu 0d6d23b25d * ext: remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-22 09:26:02 +00:00
drbrain 87dbea7bbf * ext/pty/pty.c: Improve documentaton. Patch by David Copeland.
[Ruby 1.9 - Bug #4756]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-22 02:45:12 +00:00
drbrain 883fb2bbfc * lib/timeout.rb: Improve documentation. Patch by David Copeland.
[Ruby 1.9 - Bug #4755]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-22 02:27:09 +00:00
drbrain 95e1fc5b4e * lib/ipaddr.rb: Improve documentation. Patch by Sandor Szucs.
[Ruby 1.9 - Bug #4753]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-22 02:21:56 +00:00
drbrain bb34bcbe47 * lib/forwardable.rb: Document def_delegator. Patch by Sandor Szucs.
[Ruby 1.9 - Bug #4752]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-22 02:14:57 +00:00
drbrain 55aa4dce3b * lib/fileutils.rb: Document block behavior of FileUtils.cd. Patch by
Bil Kleb.  [Ruby 1.9 - Bug 4751]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-22 02:12:15 +00:00
drbrain d235b822d2 * ext/curses/curses.c: Complete documentation. Patch by Vincent
Batts.  [Ruby 1.9 - Bug #4748]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-22 02:08:30 +00:00
kosaki 2a126b08a0 test cleanup
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-22 01:06:37 +00:00
kosaki 20f635d6b2 * test/ruby/test_rubyoptions.rb (TestRubyOptions#test_set_program_name):
use spawn. it prevent that other tests inherit renamed $0.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-22 00:31:19 +00:00
emboss db87405345 * ext/openssl/ossl_asn1.c: Default tag lookup in constant time via hash
instead of previous linear algorithm.
[Ruby 1.9 - Feature #4309][ruby-core:34813]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-22 00:01:06 +00:00