summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-04-21add tag v1_9_2_320v1_9_2_320naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_9_2_320@35421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-20* lib/rubygems/ssl_certs/AddTrustExternalCARoot.pem: Removed to avoiddrbrain
conflict with ca-bundle.pem * lib/rubygems/ssl_certs/VerisignClass3PublicPrimaryCertificationAuthority-G2.pem: ditto. * lib/rubygems/ssl_certs/Entrust_net-Secure-Server-Certification-Authority.pem: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@35413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-20* 2012-04-20svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@35408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-20Backport security fixes for RubyGems 1.3.7:drbrain
* lib/rubygems: Apply the following security fixes to RubyGems 1.3.7: RubyGems now disallows redirection from HTTPS to HTTP. RubyGems now verifies SSL connections. Patch by Hiroshi Nakamura. * test/rubygems: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@35407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-18* 2012-02-18svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@34677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-18merges r28134 from trunk into ruby_1_9_2.yugui
-- Allow bin/* install from dot-dirs. Fixes rvm and multiruby installations. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@34676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-18merges r33532 from trunk into ruby_1_9_2.yugui
-- * include/ruby/ruby.h (SIZE_MAX): define SIZE_MAX if not defined. patched by The Written Word Inc. [ruby-core:40422] [Bug #5489] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@34675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-13merge revision(s) 34033: [Backport #5997]okkez
* thread_pthread.c (rb_thread_create_timer_thread): fix memory leak. [ruby-dev:44904] [Bug #5688] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@34583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-09* 2012-02-10svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@34526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-09* backport r34482 from trunkemboss
* ext/openssl/ossl_ssl.c: Add SSL constants and allow to unset SSL option to prevent BEAST attack. See [Bug #5353]. In OpenSSL, OP_DONT_INSERT_EMPTY_FRAGMENTS is used to prevent TLS-CBC-IV vulunerability described at http://www.openssl.org/~bodo/tls-cbc.txt It's known issue of TLSv1/SSLv3 but it attracts lots of attention these days as BEAST attack. (CVE-2011-3389) Until now ossl sets OP_ALL at SSLContext allocation and call SSL_CTX_set_options at connection. SSL_CTX_set_options updates the value by using |= so bits set by OP_ALL cannot be unset afterwards. This commit changes to call SSL_CTX_set_options only 1 time for each SSLContext. It sets the specified value if SSLContext#options= are called and sets OP_ALL if not. To help users to unset bits in OP_ALL, this commit also adds several constant to SSL such as OpenSSL::SSL::OP_DONT_INSERT_EMPTY_FRAGMENTS. These constants were not exposed in Ruby because there's no way to unset bits in OP_ALL before. Following is an example to enable 0/n split for BEAST prevention. ctx.options = OP_ALL & ~OP_DONT_INSERT_EMPTY_FRAGMENTS * test/openssl/test_ssl.rb: Test above option exists. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@34525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-05* 2012-02-05svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@34431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-05merges r32349 from trunk into ruby_1_9_2.yugui
-- * string.c (tr_trans): free heap ptr when the str is not embeded. patched by Eric Wong. [Bug #4956] [ruby-core:37708] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@34430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-05merges r32347 from trunk into ruby_1_9_2.yugui
-- * vm_insnhelper.c (vm_getivar): check vm state version to invalidate inline chache (ivar index). fixes Bug #4926. * vm_insnhelper.c (vm_setivar): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@34429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-01* doc/re.rdoc (Repetition): fix typo. reported by Ori Avtalionnobu
and patched by Zachary Scott. [Bug #5947] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@34411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-31* 2012-02-01svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@34408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-31merging r34364 from trunk into ruby_1_9_2tenderlove
-- * lib/uri/common.rb (URI.encode_www_form_component): initialize on requiring to support JRuby, which runs parallel multithreads. [ruby-core:42222] [Bug #5925] * lib/uri/common.rb (URI.decode_www_form_component): initialize on git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@34407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-16* 2012-01-16svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@34318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-16* lib/optparse.rb (Regexp): fix incorrect options when casting tonobu
a Regexp, and suppress encoding option warnings. https://github.com/ruby/ruby/pull/82 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@34316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-10* 2012-01-10svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@34264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-10* test/ruby/test_enumerator.rb (test_nested_iteration): fix typo.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@34262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-28* doc/ChangeLog-1.9.3, test/gdbm/test_gdbm.rb: fixed mingw typo.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@34149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-28* 2011-12-28svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@34147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-28* lib/fileutils.rb (FileUtils::Entry_#entries): use utility methodnobu
instead of typoed regexp. [ruby-core:41829] [Bug #5817] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@34146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-17* 2011-12-18svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@34062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-17* NEWS: Add {Proc|{Unbound}Method}#parameters and typo fixesmarcandre
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@34061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-11merges r32345 from trunk into ruby_1_9_2.yugui
-- * thread.c (rb_threadptr_check_signal): only wake up main thread. * thread.c (rb_threadptr_execute_interrupts_common): check signal deliverly if it is main thread. fixes [ruby-dev:44005] [Ruby 1.9 - Bug #4950] * bootstraptest/test_fork.rb: add a test for above. * signal.c (rb_get_next_signal): skip if signal_buff is empty. (check signal_buff.size first) * vm_core.h: remove unused variable rb_thread_t::exec_signal. * thread.c (rb_thread_check_trap_pending): check rb_signal_buff_size() because rb_thread_t::exec_signal is no longer available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-11merges r32342 from trunk into ruby_1_9_2.yugui
-- * class.c (Init_class_hierarchy): should name BasicObject explicitly. * variable.c (rb_const_defined_0): should not check for superclasses as const_get. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-11merges r32334 and r32335 from trunk into ruby_1_9_2.yugui
-- * vm_insnhelper.c (vm_call_bmethod): fix to hook call/return event for methods defined by define_method(). * thread.c (call_trace_proc): Fix to skip if class is not given (0). Note that ID and Class object are passed for call/return event if the called method was defined by define_method(). If you are author of tracer/profiler/debugger, this may be an important change. You should check passed class as zero or non-zero instead of checking the event type. * test/ruby/test_settracefunc.rb: add a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-11merges r32333 from trunk into ruby_1_9_2.yugui
-- configure.in: Add warnflags for XL/C on AIX during configure to avoid [Bug #3971]. See [ruby-core:32859] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-11merges r32327 from trunk into ruby_1_9_2.yugui
-- * test/ruby/test_module.rb: tests for [Bug #3422] and [Bug #3423]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-11merges r32319 from trunk into ruby_1_9_2.yugui
-- * thread_pthread.c (rb_thread_create_timer_thread): allocate machine stack for the timer thread at least 12KB. FreeBSD 8.2 AMD64 causes machine stack overflow (SIGSEGV) only with PTHREAD_STACK_MIN (maybe defined as 2KB). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-11merges r32298,r32299,r32300 and r32301 from trunk into ruby_1_9_2.yugui
-- * thread.c (rb_thread_run): change RDoc. The old example is buggy and may cause deadlock. The patch is suggested by Heesob Park <phasis@gmail.com>. Thank you! [Bug #3606][ruby-core:31454] -- * thread.c (rb_thread_wakeup): change RDoc sample code. The old example is buggy and may not display anything by a race. The patch is suggested by Heesob Parrk <phasis@gmail.com>. Thank you! [Bug #3606][ruby-core:31454] -- * thread.c (rb_thread_stop): change RDoc sample code. The old example is buggy and may cause deadlock. The patch is suggested by Heesob Park <phasis@gmail.com>. Thank you! [Bug #3606][ruby-core:31454] -- * thread.c (thread_s_pass): change RDoc description and remove a sample code. The actual implementaion never behave as explained by an example. It's a documentation bug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-11merges r32295 from trunk into ruby_1_9_2.yugui
-- * lib/irb/completion.rb: complate correctry string literal. fix [Bug #1145]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-11merges r32288 and r32292 from trunk into ruby_1_9_2.yugui
-- * ext/openssl/ossl.h (OPENSSL_SYS_WIN32): support for mingw(msys). -- * ext/openssl/ossl.h (OPENSSL_SYS_WIN32): define only if not defined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-11merges r32283 from trunk into ruby_1_9_2.yugui
-- * variable.c (rb_const_get_0): should not look for superclasses if the second optional argument is given for #const_get(). fix [Bug #3422] [Bug #3423] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-11merges r32272 from trunk into ruby_1_9_2.yugui
-- * lib/irb/ruby-lex.rb: recognize '\char' in ruby statement. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-11merges r32271 from trunk into ruby_1_9_2.yugui
-- * lib/debug.rb (var_list): Command 'var *' did not work on 1.9(!). global_variables, local_variables, and instance_variables returns Symbols from 1.9 and need to stringify before evaling it. See #4931. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-11merges r32261 from trunk into ruby_1_9_2.yugui
-- * object.c (Init_Object): Teach RDoc what Init_class_hierarchy does to hook up ri for BasicObject, Object, Module and Class. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-11merges r32257 from trunk into ruby_1_9_2.yugui
-- * lib/irb/ruby-lex.rb: fix [Bug #4232]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-11merges r32254 from trunk into ruby_1_9_2.yugui
-- fix [Bug #4409]. add DRbServer#here? git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-11merges r32252 from trunk into ruby_1_9_2.yugui
-- * lib/irb/workspace.rb: fix BUG#4793. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-11merges r32242 from trunk into ruby_1_9_2.yugui
-- * test/etc/test_etc.rb (TestEtc#test_get{pw,gr}nam): skip entries start with + sign, which means NIS. these are returned in the case that passwd and group entries in /etc/nsswitch.conf are set to use "nis" explicitly on Debian. fixed #3683 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-11merges r32239 from trunk into ruby_1_9_2.yugui
-- * parse.y (rb_parser_end_seen_p): fix documentation about return value. patched by Sho Hashimoto. [Bug #4511] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-07merges r31875 from trunk into ruby_1_9_2.yugui
-- * load.c (loaded_feature_path): cut nonsence loop execution to fix performance bug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-07merges 32227 from trunk into ruby_1_9_2.yugui
-- * vm_insnhelper.c (vm_search_superclass): avoid control frame stack overrun. currently super() in Proc created in a method defined by Module#define_method raise NoMethodError. [Bug #4881] * test/ruby/test_method.rb t_super_in_proc_from_define_method): add test for it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-07merges 32211 from trunk into ruby_1_9_2.yugui
-- * ext/openssl/ossl_ssl_session.c (ossl_ssl_session_set_time): Check argument type with NUM2LONG if the arg is not a Time object. See #4919. * ext/openssl/ossl_ssl_session.c (ossl_ssl_session_set_timeout): Check type with NUM2LONG. Time as an arg is not allowed. See #4919. * test/openssl/test_ssl.rb (test_session_time, test_session_timeout): Test it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-07merges r32222 from trunk into ruby_1_9_2.yugui
-- * lib/webrick/httprequest.rb (setup_forwarded_info): Parsing request header failed when the request is from 2 or more Apache reverse proxies. It's said that all X-Forwarded-* headers will contain more than one (comma-separated) value if the original request already contained one of these headers. Since we could use these values as Host header, we choose the initial(first) value. See #4922. * test/webrick/test_httprequest.rb (test_forwarded): Test it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-09* 2011-07-09svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-09* ext/tk/extconf.rb: I gave up to fix the build issue of ext/tk with Windowsyugui
installer (mingw32). Ported whole ext/tk/extconf.rb from trunk. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-03* 2011-07-04svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e