summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-02-04bigdecimal.c: format specifiersnobu
* ext/bigdecimal/bigdecimal.c (VpInit, VpPower, VpVarCheck): fix format specifiers of BDIGIT. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-04bigdecimal.c: fix a typonobu
* ext/bigdecimal/bigdecimal.c (VpSetPTR): fix a typo, 'expoennt' to 'exponent'. [ruby-core:67980] [Bug #10823] [Fix GH-825] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-04_sdbm.c: ruby/ruby.h for PRIdPTRDIFFnobu
* ext/sdbm/_sdbm.c: include ruby/ruby.h for PRIdPTRDIFF when a macro `DEBUG` is defined. based on the patch by Owen Rodley in [ruby-core:67987]. [Bug #10825] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-04Makefile.in: do not rebuild unnecessarilynobu
* Makefile.in (probes.stamp): rebuild dtrace dependent objects only when `dtrace -G` modifies its input files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-04* 2015-02-04svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-04mkmf.rb: err by non existent filenobu
* lib/mkmf.rb (try_cppflags, try_cflags, try_ldflags): err by non existent source file. [ruby-core:67962] [Bug #10821] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-03fix a typo [ci skip]kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-03* common.mk (ruby-glommed.o): dependency on $(OBJ) should be writtenngoto
in common.mk (in which OBJ is defined) because of Makefile include and parse order. This partly reverts r49419. [ruby-dev:48849] [Bug #10808] * Makefile.in (ruby-glommed.o): ditto. * Makefile.in (ruby-glommed.o): remove excess $(DTRACE_OBJ) because it is included in $(OBJS) since r49451. * Makefile.in (probes.o): should depend on $(DTRACE_DEPENDENT_OBJS) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-03fix a typo [ci skip]kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-03error.c: fix r49479nobu
* error.c (rb_mod_sys_fail_str): copy the given format. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-03mkmf.rb: avoid interferencenobu
* lib/mkmf.rb (try_cppflags, try_cflags, try_ldflags): get rid of interference by modifying global variables in have_devel? method. [ruby-core:67962] [Bug #10821] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-03* remove trailing spaces.svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-03* vm_method.c (remove_method): When remove refinedshugo
method, raise a NameError if the method is not defined in refined class. But if the method is defined in refined class, it should keep refined method and remove original method. Patch by Seiei Higa. [ruby-core:67722] [Bug #10765] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-03remove duplication in warningnobu
* dir.c (sys_warning_1): remove duplication in the message. * error.c (rb_mod_sys_fail_str): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-03dir.c: glob legacy short namenobu
* dir.c (glob_helper): obtain real name with FindFirstFile API instead of matchin all entries, on Windows. [ruby-core:67954] [Bug #10819] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-03dir.c: GC guardnobu
* dir.c (do_opendir): prevent intermediate string for transcoding from GC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-03mkmf.rb: set cxxflagsnobu
* lib/mkmf.rb (configuration): set the default cxxflags, which is referred from the default CXXFLAGS, for extension libraries. [Fix GH-823] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-02* 2015-02-03svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-02gc.c: ensure GC state is consistent during VM shutdowntmm1
* gc.c (rb_objspace_free): cause rb_bug if lazy sweep is in progress during rb_objspace_free. Adds extra protection for r46340. Patch by Vicent Marti. [Bug #10768] [ruby-core:67734] * gc.c (rb_objspace_call_finalizer): Ensure GC is completed after finalizers have run. We already call gc_rest() before invoking finalizers, but finalizer can allocate new objects and start new GC cycle, so we call gc_rest() again after finalizers are complete. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-02* 2015-02-02svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-02security.rdoc: update about Symbol GC [ci skip]nobu
* doc/security.rdoc (Symbols): update about Symbol GC. Symbols explicitly converted from Strings now can be collected, but reflection/metaprogramming still can cause memory flooding. [Fix GH-725] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-01test_backtrace.rb: add testsnobu
* test/ruby/test_backtrace.rb (test_caller_locations_base_label): test for Thread::Backtrace::Location#base_label. * test/ruby/test_backtrace.rb (test_caller_locations_label): test for Thread::Backtrace::Location#label. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-01rbinstall.rb: no batch installationnobu
* tool/rbinstall.rb (bin-comm): drop batch file installation. Windows 95 support has not been supported already. [Feature #10806] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-01* 2015-02-01svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-01signal.c: SIGBUS by stack overflow on Funtoonobu
* signal.c (sigbus): seems that Funtoo Linux also delivers SIGBUS at stack overflow. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-31test_backtrace.rb: add testnobu
* test/ruby/test_backtrace.rb (test_caller_locations_lineno): test for Thread::Backtrace::Location#lineno. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-31test_backtrace.rb: split testnobu
* test/ruby/test_backtrace.rb (test_caller_locations_absolute_path): split from test_caller_locations_path. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-31test_backtrace.rb: add testnobu
* test/ruby/test_backtrace.rb (test_caller_locations_path): test for Thread::Backtrace::Location#path and #absolute_path. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-31* tool/downloader.rb (Downloader::RubyGems.download): Gem::Security::*#ui= isusa
very new feature. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-31rbinstall.rb: duplicate codenobu
* tool/rbinstall.rb (gem): remove duplicate load path and require. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-31rbinstall.rb: trilingual batch filesnobu
* tool/rbinstall.rb (bin-comm): trilingual, (sh, cmd, and ruby) prolog for batch files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-31rbinstall.rb: no CRnobu
* tool/rbinstall.rb (bin-comm): no CR at EOF in batch files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-31rbinstall.rb: no chdirnobu
* tool/rbinstall.rb (PROLOG_SCRIPT): use the given symlinked directory name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-31fix a typo [ci skip]kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-31* 2015-01-31svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-31thread_pthread.c: Fix intermittent SIGBUS on Linuxnobu
* thread_pthread.c (reserve_stack): fix intermittent SIGBUS on Linux, by reserving the stack virtual address space at process start up so that it will not clash with the heap space. [Fix GH-822] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-30common.mk: link DTRACE_OBJnobu
* common.mk (COMMONOBJS): include $(DTRACE_OBJ) which is necessary for $(DTRACE_DEPENDENT_OBJS). * configure.in (RUBY_DTRACE_POSTPROCESS): separate whether dtrace is needed to genearate probes.o and whether it modifies input object files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-30math.c: optimization for Bignumnobu
* math.c (num2dbl_with_to_f): make faster when Bignum passed by direct conversion using rb_big2dbl(). [Feature #10800] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-29* 2015-01-30svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-29* string.c: [DOC] Specify to_s on subclasses [ci skip]marcandre
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-29* ext/bigdecimal/bigdecimal.c (rb_rational_num): add fallback functionmrkn
for rubies lower than 2.2.0. * ext/bigdecimal/bigdecimal.c (rb_rational_den): ditto. * ext/bigdecimal/extconf.rb: check the existences of struct RRational, rb_rational_num, and rb_rational_den. * ext/bigdecimal/bigdecimal.bundle: bump version. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-29parse.y: no optimization in defined?nobu
* parse.y (logop_gen): no needs for optimization in defined? operator. literal conditions are optimized away eventually. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-29parse.y: condition nodenobu
* parse.y (logop_gen): keep non-null condition node. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-29* tool/make-snapshot: removed md5 digest with package infomationhsbt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-29rbinstall.rb: literal colonnobu
* tool/rbinstall.rb (PROLOG_SCRIPT): ":" in "Use Alternate Value" parameter expansion is not a path separator, but a literal colon. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-29parse.y: optimize conditionsnobu
* parse.y (new_if_gen, logop_gen): simplify constant conditional expressions to help the optimizer. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-29math.c: deoptimizenobu
* math.c (Get_Double): restrict direct casting only when Fixnum#to_f is not redefined, and convert with rb_to_float(). [Feature #10785] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-29math.c: Get_Doublenobu
* math.c (Get_Double): direct casting from Fixnum to double. [Feature #10785] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-28* ext/psych/lib/psych/visitors/to_ruby.rb: fix parsing hashes withtenderlove
instance variables when it is referenced multiple times. * ext/psych/lib/psych.rb: bump version * ext/psych/psych.gemspec: bump version * test/psych/test_hash.rb: test for fix git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-28* 2015-01-29svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e