aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ChangeLog: add issue refnobu2014-11-191-1/+1
| | | | | | * ChangeLog: r48504 fixed [ruby-dev:48714] [Bug #10437] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb: Vector#independent? and associated class methodmarcandre2014-11-194-1/+65
| | | | | | patch by gogo tanaka [#10451] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb: Add Vector#angle_withmarcandre2014-11-194-0/+32
| | | | | | Patch by Egunov Dmitriy [#10442] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: regexp error in rippernobu2014-11-193-9/+68
| | | | | | | * parse.y (ripper_flush_string_content, parser_parse_string): preserve parsed string content. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: ripper_new_yylvalnobu2014-11-192-4/+23
| | | | | | | * parse.y (ripper_new_yylval): abstract function to create ripper wrapper, and make it able to hold another object. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: predefined IDnobu2014-11-192-3/+7
| | | | | | | * parse.y (reg_named_capture_assign_gen): use predefined ID instead of rb_intern. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * internal.h (ruby_init_setproctitle): Declare here.akr2014-11-193-4/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: append directly to delayed contentnobu2014-11-192-3/+19
| | | | | | | | * parse.y (parser_here_document): append byte sequence directly to the delayed content instead of creating an intermediate string object. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: fix build errornobu2014-11-192-2/+2
| | | | | | | | | | * common.mk (ext/ripper/ripper.c): VPATH is always ../.. from ext/ripper. * ext/ripper/depend (.y.c): VPATH is not needed for an intermediate file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-11-20svn2014-11-191-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: ims=nil optionnobu2014-11-192-6/+8
| | | | | | | | | * common.mk (update-gems): use ims=nil option. * tool/downloader.rb (Downloader.download): show the message if no need to download in verbose mode. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (ext/json/parser/parser.c): don't touch parse.c,naruse2014-11-192-6/+6
| | | | | | ruby repo is a downstream. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (ext/ripper/ripper.c): use $(PWD) to getnaruse2014-11-192-2/+7
| | | | | | <build-directory>/ext/ripper. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/downloader.rb (RubyGems.download): Don't download gem if thenaruse2014-11-192-0/+10
| | | | | | | version is already downloaded. A gem file is versioned and it must be identical if the version is the same. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (ext/ripper/ripper.c): pass build directory as VPATH.naruse2014-11-193-3/+10
| | | | | | * ext/ripper/depend (.y.c): use VPATH for y.tab.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add comments.akr2014-11-191-11/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* prelude.c.tmpl: strip prefixnobu2014-11-193-1/+12
| | | | | | | | * template/prelude.c.tmpl (Prelude#translate): strip VPATH prefix from prelude names, so that srcdir diffrences do not make the generated code diffrent. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_write): should set the error ofusa2014-11-182-1/+7
| | | | | | | | GetOverlappedResult()'s, not WriteFile()'s (it's always ERROR_IO_PENDING, of course). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (gc_record): add information for debug print.ko12014-11-182-4/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: revert r48486 because it breaks mswin build. start over.usa2014-11-181-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: remove srcdir prefixnobu2014-11-181-2/+2
| | | | | | | * common.mk (PRELUDE_SCRIPTS): since tool/generic_erb.rb searches files in VPATH, srcdir prefix is not needed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * debug.c (set_debug_option): need the declaration.usa2014-11-182-1/+11
| | | | | | | | * debug.c (set_debug_option): use the same macro with the implementation at win32/win32.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: fix literal symbol list node typenobu2014-11-183-1/+22
| | | | | | | * parse.y (symbol_list): fix the node type of literal symbol list with no interpolation. [ruby-core:66343] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Dependencies updated.akr2014-11-188-236/+307
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/update-deps: Sort dependencies.akr2014-11-182-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/encdb.c: Include internal.h.akr2014-11-182-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * internal.h: Gather declarations in non-header files.akr2014-11-1820-55/+62
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-11-19svn2014-11-181-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_exception.rb: missing testnobu2014-11-181-0/+17
| | | | | | | * test/ruby/test_exception.rb (test_name_error_info): add missing test of NoMethodError and NameError. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * debug.c (SET_WHEN): Don't declare debug variables here.akr2014-11-183-6/+15
| | | | | | | | | | | ruby_initial_gc_stress_ptr is changed int* to VALUE* at r41406. * internal.h (ruby_initial_gc_stress_ptr): Declared. (ruby_enable_coredump): Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/io.h (FMODE_WSPLIT): Removed. The write() system callakr2014-11-183-51/+15
| | | | | | | | | | | | | | | is not required to split. It was useful to avoid whole process blocking in Ruby 1.8 but not useful since write() is invoked without GVL. (FMODE_WSPLIT_INITIALIZED): Ditto. * io.c (wsplit_p): Removed. (io_writable_length): Removed. (rb_fcntl): Don't update the removed flags. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_module.rb: fix encodingnobu2014-11-181-1/+3
| | | | | | | * test/ruby/test_module.rb (test_const_set_invalid_name): warning message encoding depends on Encoding.default_internal. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* .gdbinit: update for r47913nobu2014-11-171-1/+1
| | | | | | | * .gdbinit (rp): update for r47913. RSymbol has id, so needs mask by scope mask. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_inadvertent_creation.rb: split testnobu2014-11-171-0/+7
| | | | | | | | * test/-ext-/symbol/test_inadvertent_creation.rb: split test_module_const_defined? from test_module_const_get, and assertion for the latter. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* object.c: fix error messagenobu2014-11-173-5/+12
| | | | | | | * object.c (check_setter_id): show the original argument instead of nil on TypeError. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-11-18svn2014-11-171-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* symbol.c: symbol type predicate functionsnobu2014-11-174-7/+62
| | | | | | | * symbol.h (is_{local,global,instance,attrset,const,class,junk}_sym): fix ID type names. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/win32ole/win32ole_event.c: use typed data.suke2014-11-172-6/+25
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/*, test/rubygems/*: Update to RubyGems 2.4.4hsbt2014-11-1712-35/+29
| | | | | | master (2f6e42e). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* timeout.rb: same object across fibernobu2014-11-171-2/+1
| | | | | | | | * lib/timeout.rb (Timeout::ExitException.catch): do not freeze the exception for tag, so that the same object can be passed to the target fiber without duplication to attach backtrace at raise. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* proc.c: fix method proc binding locationnobu2014-11-163-0/+13
| | | | | | | * proc.c (proc_binding): use the original iseq on a binding from proc from method object to get the location. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* string.c: escape a backslash [ci skip]nobu2014-11-161-1/+1
| | | | | | | * string.c (rb_str_count): [DOC] add a backslash to escape a backslash itself. [ruby-core:66321] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-11-17svn2014-11-161-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* proc/receiver.c: commit missnobu2014-11-161-0/+21
| | | | | | | * ext/-test-/proc/receiver.c: wrapper for rb_current_receiver. [Feature #10195] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_eval.c: rb_current_receivernobu2014-11-166-0/+38
| | | | | | | * vm_eval.c (rb_current_receiver): new function to return the receiver in the current control frame. [Feature #10195] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/-test-/proc/super.c: renamenobu2014-11-162-5/+4
| | | | | | | * ext/-test-/proc/super.c: renamed the file and maker method. [Feature #10195] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* timeout.rb: use UncaughtThrowErrornobu2014-11-162-2/+7
| | | | | | | | * lib/timeout.rb (Timeout::ExitException#exception): rescue UncaughtThrowError which is specific for throw, instead of ArgumentError. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/update-deps: warning to disable ccachenormal2014-11-162-0/+12
| | | | | | | | I spent several minutes wondering why -save-temps=obj was not taking effect, hopefully this saves somebody else the trouble. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_eval.c: define IDsnobu2014-11-161-4/+8
| | | | | | * vm_eval.c (Init_vm_eval): define :tag and :value in advance. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* id.def: move IDs for exceptionnobu2014-11-165-13/+9
| | | | | | | * defs/id.def: add :mesg and :exception and move from other sources. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e