aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 2011-05-25svn2011-05-241-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tempfile.rb (Tempfile.{mkdir,rmdir}): internal methods to be ↵nobu2011-05-241-8/+2
| | | | | | overridden in subclasses. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * spec/README: fix typo.naruse2011-05-242-2/+7
| | | | | | 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
* * ext/tk/lib/tk.rb: fail to start Tk.mainloop (exit immediately) on some ↵nagai2011-05-236-234/+728
| | | | | | | | | | | | | | | 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-24svn2011-05-231-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml.rb: switch default YAML engine to Psych, old syck enginetenderlove2011-05-233-0/+17
| | | | | | 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
* * include/ruby/defines.h (CASEFOLD_FILESYSTEM): Revert r30508. Forgot to nahi2011-05-232-1/+7
| | | | | | | | 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
* * ext/openssl/ossl_asn1.c: Do not parse zero-tagged values as EOC. Doemboss2011-05-233-9/+44
| | | | | | | | 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
* * lib/net/smtp.rb: Document Net::SMTP::Response. Patch by J.R. Garcia.drbrain2011-05-232-0/+30
| | | | | | | [Ruby 1.9 - Bug #4768] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: fix typo.sorah2011-05-231-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/parallel.rb: Never Ignore SIGINT. When receivedsorah2011-05-233-6/+44
| | | | | | | | | 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
* * lib/mathn.rb: Improve documentation. Patch by Sandor Szucs.drbrain2011-05-232-9/+100
| | | | | | | [Ruby 1.9 - Bug #4767] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/ostruct.rb: Improve documentation. Patch by Franklin Webber.drbrain2011-05-222-18/+118
| | | | | | | [Ruby 1.9 - Bug #4761] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c: Improve documentation of Hash#key. Patch by Utkarshdrbrain2011-05-222-2/+9
| | | | | | | Kukreti. [Ruby 1.9 - Bug #4760] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c: Improve documentation. Patch by Dave Copeland.drbrain2011-05-222-142/+197
| | | | | | | [Ruby 1.9 - Bug #4757] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS (openssl): Infinite length support. Different behavior ofemboss2011-05-222-0/+10
| | | | | | | Constructive and Primitive constructors. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_asn1.c: Forbid Constructives whose value is not anemboss2011-05-223-2/+22
| | | | | | | Array to prevent segfault. Added test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_asn1.c: Forbid Constructive without infiniteemboss2011-05-223-0/+23
| | | | | | | | 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
* * ext/openssl/ossl_asn1.c: Fix decoding of infinite length values.emboss2011-05-223-136/+308
| | | | | | | | | 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
* * ext/openssl/ossl_asn1.c (ossl_asn1_initialize): Allow creation ofemboss2011-05-222-7/+16
| | | | | | | | | 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
* * ext/openssl/ossl_asn1.c (ossl_asn1_cons_to_der): Add an additionalemboss2011-05-222-31/+51
| | | | | | | | 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
* * ext/openssl/ossl_asn1.c (ossl_asn1data_to_der): Remove redundantemboss2011-05-221-4/+3
| | | | | | | flag tmp_cons. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-05-23svn2011-05-221-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (dump_bignum, bigmul1_balance, big_split, biglsh_bang,mrkn2011-05-223-22/+317
| | | | | | | | 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
* * ext/openssl/ossl_asn1.c: Instead of rb_intern use static symbols toemboss2011-05-222-13/+26
| | | | | | | improve performance. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_asn1.c: Use OpenSSL constants V_ASN1_xxx instead ofemboss2011-05-222-23/+28
| | | | | | | hardcoded numbers for initializing class_tag_map. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/defines.h (CASEFOLD_FILESYSTEM): Revert r30508. See #4255.nahi2011-05-223-33/+16
| | | | | | | | | | 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
* * ext/openssl/ossl_asn1.c(ossl_asn1_default_tag): avoid using RCLASS_SUPERnahi2011-05-222-6/+13
| | | | | | | 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
* * gc.c (vm_xcalloc): use calloc provided by platforms.nobu2011-05-222-20/+51
| | | | | | fixes #4754 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext: remove trailing spaces.nobu2011-05-2283-1033/+1033
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/pty/pty.c: Improve documentaton. Patch by David Copeland.drbrain2011-05-222-29/+77
| | | | | | | [Ruby 1.9 - Bug #4756] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/timeout.rb: Improve documentation. Patch by David Copeland.drbrain2011-05-222-20/+32
| | | | | | | [Ruby 1.9 - Bug #4755] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/ipaddr.rb: Improve documentation. Patch by Sandor Szucs.drbrain2011-05-222-0/+21
| | | | | | | [Ruby 1.9 - Bug #4753] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/forwardable.rb: Document def_delegator. Patch by Sandor Szucs.drbrain2011-05-222-1/+25
| | | | | | | [Ruby 1.9 - Bug #4752] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb: Document block behavior of FileUtils.cd. Patch bydrbrain2011-05-222-0/+9
| | | | | | | Bil Kleb. [Ruby 1.9 - Bug 4751] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/curses/curses.c: Complete documentation. Patch by Vincentdrbrain2011-05-222-4/+500
| | | | | | | Batts. [Ruby 1.9 - Bug #4748] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test cleanupkosaki2011-05-221-4/+26
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_rubyoptions.rb (TestRubyOptions#test_set_program_name):kosaki2011-05-222-2/+8
| | | | | | | | 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
* * ext/openssl/ossl_asn1.c: Default tag lookup in constant time via hashemboss2011-05-222-7/+41
| | | | | | | | 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
* * ext/openssl/ossl_digest.c: Explain DSS and DSS1 in documentation.emboss2011-05-212-2/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/openssl/test_pkey_dsa.rb: Add tests for sign/verify.emboss2011-05-212-0/+39
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/openssl/test_x509cert.rb: Merge DSA-related tests from ruby_1_8emboss2011-05-212-0/+39
| | | | | | | branch. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (Init_Thread): add a code comment why the meaninglesskosaki2011-05-212-0/+6
| | | | | | | | line is necessary. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/date_core.c: modified documentation.tadf2011-05-212-118/+120
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-05-22svn2011-05-211-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* removed a line.tadf2011-05-211-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/date_strftime(date_strftime_with_tmx): "%v" means "%e-%b-%Y".tadf2011-05-213-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_extract_modeenc): accept combination hash andkosaki2011-05-213-1/+20
| | | | | | | | | | File::Constants. (eg. File.open('yo', :mode => File::WRONLY)) [Feature #4742][ruby-core:36338] * test/ruby/test_io.rb (TestIO#test_open_mode): new test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* added tests.tadf2011-05-211-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/date/test_switch_hitter.rb: new.tadf2011-05-212-0/+279
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e