aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* string.c: smart chompnobu2015-02-243-6/+27
| | | | | | | | * string.c (chompped_length): enable smart chomp for all non-dummy encoding strings, not only default_rs. [ruby-core:68258] [Bug #10893] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vcs.rb: do not use -C for older gitnobu2015-02-232-17/+41
| | | | | | | | | * tool/vcs.rb (IO.popen): support :chdir option. * tool/vcs.rb (VCS::GIT.get_revisions): use :chdir option instead of -C option which is not supported by older git. [ruby-dev:48880] [Bug #10890] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* zone may be ASCII-8BIT on Windows [Bug #10887]naruse2015-02-231-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* bold closed ticketsnaruse2015-02-231-1/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* eval.c: static IDsnobu2015-02-235-9/+21
| | | | | | | * eval.c (ruby_static_id_signo, ruby_static_id_status): add static IDs, signo and status. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Makefile.in: make static IDs symbols localnobu2015-02-234-4/+8
| | | | | | | * Makefile.in (LIBRUBY_SO): make symbols for static IDs which begin with ruby_static_id_ local too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_args.c: rb_exc_set_backtracenobu2015-02-231-1/+3
| | | | | | | * vm_args.c (raise_argument_error): call rb_exc_set_backtrace directly instead of funcall. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* error.c: predefined IDsnobu2015-02-232-4/+4
| | | | | | | | * error.c (id_bt, id_bt_locations): use IDs predefined in id.h. * vm_args.c (raise_argument_error): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* string.c: raise a RegexpErrornobu2015-02-231-1/+1
| | | | | | | * string.c (get_pat_quoted): simply raise a RegexpError, TypeError is never raised. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* string.c: proper exceptionnobu2015-02-233-2/+26
| | | | | | | | * string.c (rb_str_split_m): raise ArgumentError at broken string not RegexpError, as Regexp is not involved in. [ruby-core:68229] [Bug #10886] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* error.c: use static IDsnobu2015-02-221-9/+9
| | | | | | | * error.c: use rb_ivar_set with static IDs instead of rb_iv_set with strings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c: zone encoding should be US-ASCII if all 7-bits. Fix r46907.eregon2015-02-224-4/+14
| | | | | | * test/ruby/test_time.rb, test/ruby/test_time_tz.rb: Update tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2015-02-23svn2015-02-221-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb: [Doc] Fix Vector multiplication documentation [ci-skip]marcandre2015-02-221-1/+1
| | | | | | [Fixes GH-837] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: use ruby organization for rubyspec.hsbt2015-02-222-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tabify [ci skip]kazu2015-02-221-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typo [ci skip]kazu2015-02-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c (rb_vm_rewrite_cref_stack): copy nd_refinementsktsj2015-02-225-20/+62
| | | | | | | | | | | of orignal crefs. It fixes segmentation fault when calling refined method in duplicate module. [ruby-dev:48878] [Bug #10885] * vm_core.h, class.c: change accordingly. * test/ruby/test_refinement.rb: add a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (rb_objspace_call_finalizer): control GC execution duringko12015-02-222-12/+30
| | | | | | | | | | | | | | | | | | | | | | force firnalizations at the end of interpreter process. [Bug #10768] 1) Prohibit incremental GC while running Ruby-level finalizers to avoid any danger. 2) Prohibit GC while invoking T_DATA/T_FILE data structure because these operations break object relations consistency. This patch can introduce another memory consuming issue because Ruby-level finalizers can run after (2), GC is disabled. However, basically object consistency was broken at (2) as I described above. So that running Ruby-level finalizers contains danger originally. Because of this point, I need to suggest to remove these 3 lines (invoking remaining finalizers). And add a rule to add that finalizers should not add new finalizers, or say there is no guarantee to invoke finalizers that added by another finalizer. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* sprintf.c: ruby specific functionsnobu2015-02-222-40/+33
| | | | | | | * sprintf.c (ruby_vsnprintf, ruby_snprintf): move ruby specific functions from vsnprintf.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ossl_bn.c: [DOC] expand rdocs [ci skip]nobu2015-02-211-61/+164
| | | | | | | * ext/openssl/ossl_bn.c: [DOC] expand rdocs as RDoc does not expand C-preprocessor macros. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ossl_asn1.c: fix docnobu2015-02-211-1/+1
| | | | | | | * ext/openssl/ossl_asn1.c (ossl_asn1obj_get_oid): [DOC] fix notation, an instance method but not a class method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_asn1.c: [DOC] RDoc formatting fixes forzzak2015-02-211-0/+7
| | | | | | | | ASN1::ObjectId with patch from @vbatts [Fixes GH-834] * ext/openssl/ossl_bn.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2015-02-22svn2015-02-211-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* [DOC] Backport ruby/openssl@86eb721 [ci skip]zzak2015-02-212-24/+50
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* re.c: RMatch::regexp can be nilnobu2015-02-213-2/+21
| | | | | | | * re.c (match_aref): RMatch::regexp is Qnil after matching by a string since r45451. [ruby-core:68209] [Bug #10877] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2015-02-21svn2015-02-211-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* compar.c: variable name [ci skip]nobu2015-02-212-2/+7
| | | | | | | * compar.c (Init_Comparable): [DOC] Replace camelcase variable name. [Fix GH-833] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* file.c: fix handle leaknobu2015-02-203-2/+35
| | | | | | | * file.c (rb_file_identical_p): fix handle leak, ensure to close the handle of the first argument. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ChangeLog: add refnobu2015-02-201-1/+1
| | | | | | | * win32/win32.c (different_device_p): compare by volume serial numbers, not by path names. [ruby-core:68162] [Bug #10865] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_file_exhaustive.rb: tests for File.identical?nobu2015-02-201-1/+16
| | | | | | | * test/ruby/test_file_exhaustive.rb (test_path_identical_p): rename and add other tests for File.identical? method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_file_exhaustive.rb: remove useless assignmentnobu2015-02-201-1/+1
| | | | | | | * test/ruby/test_file_exhaustive.rb (make_tmp_filename): not assign to instance variable, @hardlinkfile. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_file.rb: just skip assertionnobu2015-02-201-2/+4
| | | | | | | * test/ruby/test_file.rb (TestFile#test_stat): skip an assertion only, not making the entire test skipped git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2015-02-20svn2015-02-201-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32.c: volume serial numbersnobu2015-02-202-19/+24
| | | | | | | * win32/win32.c (different_device_p): compare by volume serial numbers, not by path names. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_rubyoptions.rb: fix for r46355 and r49638nobu2015-02-191-4/+4
| | | | | | | * test/ruby/test_rubyoptions.rb (test_version, test_verbose): extra lines (currently last_commit and malloc_conf) may be shown. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2015-02-19svn2015-02-181-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32/file.c: fix drive letternobu2015-02-183-0/+9
| | | | | | | | | * win32/file.c (rb_file_expand_path_internal): neither the drive of base directory nor the current drive are involved in the result if different than the drive of path. [ruby-core:68130] [Bug #10858] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* version.c: last commit titlenobu2015-02-183-2/+11
| | | | | | | * version.c (ruby_show_version): show last commit title, if different than the trunk. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vcs.rb: refactornobu2015-02-181-6/+4
| | | | | | * tool/vcs.rb (VCS::GIT.get_revisions): refactor git -C option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* [DOC] ENV keys must be strings [ci skip]nobu2015-02-182-0/+3
| | | | | | | | * hash.c (env_aset): state that ENV keys must be strings. * process.c (rb_f_spawn): ditto. [ruby-core:68146] [Bug #10859] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32.c: EXDEV for directorynobu2015-02-182-2/+39
| | | | | | | | * win32/win32.c (wrename): return EXDEV if moving a directory to another drive, since MoveFileExW does not set proper error code. [ruby-core:68162] [Bug #10865] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2015-02-18svn2015-02-171-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/lib/psych.rb: bump psych version.tenderlove2015-02-176-11/+18
| | | | | | | | | * ext/psych/psych.gemspec: ditto * ext/psych/yaml/scanner.c: add latest libyaml change. * test/psych/helper.rb: support newer minitest * test/psych/test_to_yaml_properties.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/merger.rb (help): hilighten.usa2015-02-171-8/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* resolv.rb: fix equalitynobu2015-02-173-3/+30
| | | | | | | | * lib/resolv.rb (Resolv::DNS::Resource#==, #hash): elements returned by Kernel#instance_variables are Symbols now. [ruby-core:68128] [Bug #10857] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/calling_methods.rdoc: Fix documentation for "calling_methods"hsbt2015-02-172-1/+6
| | | | | | Patch by @sos4nt [fix GH-830][ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32/file.c: fix drive letternobu2015-02-173-6/+19
| | | | | | | | * win32/file.c (rb_file_expand_path_internal): do not make invalid (or ADS) path if the path has a drive letter, the result also should have be under it. [ruby-core:68130] [Bug #10858] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2015-02-17svn2015-02-171-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c: Added docs to explain that #include? and #member? do nothsbt2015-02-173-0/+15
| | | | | | | check member equality * lib/set.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e