summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-11-15iseq.c: fix values for truenobu
* iseq.c (make_compile_option): fill with 1 of int, not char if opt is true. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-14* 2013-11-15svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-14objspace_dump.c: refine outputnobu
* ext/objspace/objspace_dump.c (dump_output): allow IO object as output, and use Tempfile.create and return open file instead of mkstemp() and path name for :file output. [ruby-core:58266] [Bug #9102] * test/objspace/test_objspace.rb (TestObjSpace#dump_my_heap_please): remove temporary output file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-14* ext/bigdecimal/lib/bigdecimal/util.rb: [DOC] remove example ofnagachika
Rational#to_d without argument. [Bug #8958] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-14* ruby_atomic.h (ATOMIC_SIZE_CAS): fix compile error on Solaris since r43460.ngoto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-14* test/openssl/test_cipher.rb (test_aes_gcm_wrong_tag): Don't useakr
String#succ because it can make modified (wrong) auth_tag longer than 16 bytes. The longer auth_tag makes that EVP_CIPHER_CTX_ctrl (and internally aes_gcm_ctrl) fail. [ruby-core:55143] [Bug #8439] reported by Vit Ondruch. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-14hash.c: restore iter_levnobu
* hash.c (hash_foreach_ensure): restore iter_lev to the previous value, not just decrement. [ruby-dev:47803] [Bug #9105] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-14hash.c, st.c: fix for ST_CHECKnobu
* hash.c (foreach_safe_i, hash_foreach_iter): deal with error detected by ST_CHECK. * st.c (st_foreach_check): call with non-error argument in normal case. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-13* ext/thread/thread.c: [DOC] This patch accomplishes the following:zzak
- Teach RDoc about ConditionVariable - Teach RDoc about Queue - Teach RDoc about SizedQueue - Use fully-qualified namespace for Document-method This is necessary to separate definitions between classes - Fix rdoc bug in call_seq vs. call-seq - Correct doc for SizedQueue#pop patch by @jackdanger [Bug #8988] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-13* ext/bigdecimal/lib/bigdecimal/util.rb: [DOC] +precision+ is requiredzzak
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-13* 2013-11-14svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-13Squashed commit of the following:nagachika
commit 6895f38bfc3c0ad6bd212b8f9acc3c71384dfcb7 Author: Chikanaga Tomoyuki <nagachika00@gmail.com> Date: Thu Nov 14 00:14:00 2013 +0900 * ChangeLog: fix a typo at r43666 * ext/openssl/ossl_asn1.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-13* ext/bigdecimal/lib/bigdecimal/util.rb: [DOC] Document the requiredzzak
+precision+ argument for Rational#to_d [Bug #8958] -This line, and those below, will be ignored-- M ChangeLog M ext/bigdecimal/lib/bigdecimal/util.rb git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-13* ext/digest/*: [DOC] Fix several typos and broken http links.zzak
Improved examples for Digest overview and fixed a broken example in Digest::HMAC overview. This patch also adds a description of Digest::SHA256.bubblebabble to the Digest overview. Patched by @stomar [Bug #9027] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-13* ext/openssl/ossl_config.c: [DOC] Document the following:zzak
- OpenSSL::ConfigError - OpenSSL::Config::DEFAULT_CONFIG_FILE Patched by @vbatts via GH-436 https://github.com/ruby/ruby/pull/436 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-13* ext/openssl/ossl_asn1.c: [DOC] Document parts ofzzak
OpenSSL::ASN1::ObjectId included a fix for the class overview, which previously showed the documentation for Constructive due to missing ObjectId overview. This patch also includes a note for Primative. Based on a patch by @vbatts via GH-436 https://github.com/ruby/ruby/pull/436 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-13* ext/openssl/lib/openssl/config.rb: In #parse use +string+ for +str+zzak
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-13commit typozzak
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-13* ext/openssl/lib/openssl/*.rb: [DOC] Document the following:zzak
- Integer#to_bn - OpenSSL::Buffering module - Document deprecated OpenSSL::Digest::Digest compatibility class - OpenSSL::Config These changes were based on a patch by @vbatts via GH-436 https://github.com/ruby/ruby/pull/436 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-13io-console.gemspec: certificationnobu
* ext/io/console/io-console.gemspec: add a certification. http://www.benjaminfleischer.com/2013/11/08/how-to-sign-your-rubygem-cert/ git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-13* doc/regexp.rdoc: [DOC] Fix typo in Special global variables section.zzak
Reported by Alex Johnson on ruby-doc.org git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-13* hash.c: [DOC] Adds an example for Hash#storezzak
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-13* 2013-11-13svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-13* doc/regexp.rdoc: [DOC] add note about Bug #4044 as suggested byzzak
duerst-san in [ruby-core:43612] [Fixes GH-443] Patched by @rosenfeld https://github.com/ruby/ruby/pull/443 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-12* test/rubygems/insure_session.rb: Remove unused test file.drbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-12* 2013-11-12svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-12* lib/rubygems: Update to RubyGems master b9213d7. Changes include:drbrain
Fixed tests on Windows (I hope) by forcing platform for platform-dependent tests. Fixed File.exists? warnings. Improved testing infrastructure. * test/rubygems: ditto. * test/rdoc/test_rdoc_rubygems_hook.rb: Switch to util_spec like RubyGems. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-11* internal.h: move common string/hash flags to include file.tmm1
* ext/objspace/objspace_dump.c: remove flags shared above. * hash.c: ditto. * string.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-10* lib/rubygems/specification.rb: Include 2.2.0.preview.2 when checkingdrbrain
if extensions should be built. Fixes a ruby-ci failure. * test/rubygems/test_gem_specification.rb: Test for the above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-10* vm_trace.c (symbol2event_flag): add secret feature.ko1
add a_call/a_return events. a_call is call | b_call | c_call, and same as a_return. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-10* properties.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-10* lib/rubygems: Update to RubyGems master 4bdc4f2. Important changesdrbrain
in this commit: RubyGems now chooses the test server port reliably. Patch by akr. Partial implementation of bundler's Gemfile format. Refactorings to improve the new resolver. Fixes bugs in the resolver. * test/rubygems: Tests for the above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-10fix typoskazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-10commit miss [DOC] tagzzak
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-10* lib/timeout.rb: Added note about change from #8730 [Fixes GH-440]zzak
* NEWS: Improve grammar on change to Timeout Patched by @srawlins in https://github.com/ruby/ruby/pull/440 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-10* 2013-11-11svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-10Exception#causenobu
* NEWS (Core classes updates): add Exception#cause. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-10* gc.c (rb_gcdebug_print_obj_condition): catch up recent changesktsj
to compile on GC_DEBUG. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-10error.c: Exception#causenobu
* error.c (exc_cause): captured previous exception. * eval.c (make_exception): capture previous exception automagically. [Feature #8257] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-10fix a typokazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-10parse.y: remove "f" suffix [ruby-core:57966] [Feature #9042]nobu
revert r42847 "test_string.rb: add test string encoding" revert r42846 "parse.y: freeze in advance to reduce objects" revert r42843 "parse.y: deduplicate frozen string literals" revert r42780 "test_string.rb: yet another test" revert r42779 "parse.y: valid suffix word only" revert r42778 "test_string.rb: remove duplicated code" revert r42775 "parse.y: force_encoding" This reverts commit 93ea04ecec7639ca8d0e58948e78461434782ecc. revert r42773 "Add frozen string literals" git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-09* thread.c: [DOC] Remove duplicate referencezzak
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-09* lib/drb/drb.rb: [DOC] promote better windows-safe filename regularzzak
expression in DRb Logger example. Reported by Chris Pheonix [Bug #9074] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-09gc.c: finalizer functionsnobu
* gc.c (rb_define_finalizer, rb_undefine_finalizer): rename and export finalizer functions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-09* lib/weakref.rb: [DOC] fix typos by @xaviershay [Fixes GH-439]zzak
https://github.com/ruby/ruby/pull/439 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-09* lib/e2mmap.rb: [DOC] Fix typo in e2mmap documentation.charliesome
Patch by Xavier Shay. Closes GH-438. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-09* remove trailing spaces.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-09* compile.c (iseq_compile_each): emit opt_str_freeze if the #freezecharliesome
method is called on a static string literal with no arguments. * defs/id.def (firstline): add freeze so idFreeze is available * insns.def (opt_str_freeze): add opt_str_freeze instruction which pushes a frozen string literal without allocating a new object if String#freeze is not overriden * string.c (Init_String): define String#freeze * vm.c (vm_init_redefined_flag): define BOP_FREEZE on String class as a basic operation * vm_insnhelper.h: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-09test_objectspace.rb: run in separate processnobu
* test/ruby/test_objectspace.rb (TestObjectSpace#test_finalizer): run in separate process so that finalizers run at termination certainly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-09envutil.rb: under_gc_stress parameternobu
* test/ruby/envutil.rb (EnvUtil#under_gc_stress): add stress parameter so that making possible to disable stressing explicitly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e