aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 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
* * ext/date/date_{core,parse}.c: moved nearly all core code from ext/date/lib.tadf2011-05-218-2715/+7240
| | | | | | | | * ext/date/lib/{date,date/format}.rb: removed nearly all code. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/.document: Add curses to documented extensions.drbrain2011-05-203-61/+983
| | | | | | | | * ext/curses/curses.c: Improve documentation. Patch by Vincent Batts. [Ruby 1.9 - Bug #4747] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/lib/bigdecimal/util.rb: Improve documentation. Patchdrbrain2011-05-202-18/+50
| | | | | | | by Pete Higgins. [Ruby 1.9 - Bug #4746] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/lib/bigdecimal/jacobian.rb: Document isEqual. Patchdrbrain2011-05-202-2/+7
| | | | | | | by Kuba Fietkiewicz. [Ruby 1.9 - Bug #4744] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-05-21svn2011-05-201-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/lib/date/format.rb: Document date formats. Patch bydrbrain2011-05-202-0/+29
| | | | | | | Clinton Nixon. [Ruby 1.9 - Bug #4743] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/scanf.rb: fix typosnagachika2011-05-201-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: monomaniac and meaningless format checks.usa2011-05-201-36/+55
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: Fix build on m68k by 'error: too few arguments toiwamatsu2011-05-202-1/+6
| | | | | | | function 'mark_locations_array''. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/scanf.rb: Improve documentation. Patch by Gabe McArthur.drbrain2011-05-192-326/+381
| | | | | | | [Ruby 1.9 - Bug #4735] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-05-20svn2011-05-191-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/ibm737-tbl.rb: greek code page. fixes #4738nobu2011-05-193-0/+135
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* revert O_CLOEXEC patch series completely.kosaki2011-05-193-70/+0
| | | | | | | | | | because boron chkbuild test result says, An old linux kernel ignore O_CLOEXEC silently instead of return an error. It may lead to bring new security risk. So, we have to be pending it until finish to implement proper fallback logic. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_signal.rb (test_signal_requiring): skip on Windows.usa2011-05-192-0/+6
| | | | | | | we can send SIGINT only to pid 0 and the process itself. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib: revert r31635-r31638 and untabify with expand(1).nobu2011-05-1959-1935/+1939
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/openssl/test_pkey_rsa.rb: Add tests for sign/verify.emboss2011-05-182-0/+35
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* *ext/openssl/ossl_pkey.c: Add documentation.emboss2011-05-182-0/+113
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e