summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fix typos. Patch by k_takata.ktsj2013-05-1962-132/+132
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/fiddle/extconf.rb: ignore rc version of libffi to fix build failure.ktsj2013-05-192-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-electric.el (ruby-electric-delete-backward-char): Useknu2013-05-192-1/+7
| | | | | | | | delete-char instead of delete-backward-char, which is an interactive function. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_inspect): fix typo and error messageeregon2013-05-181-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (str_scrub0): added for refactoring.naruse2013-05-182-24/+55
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/common.rb (URI.decode_www_form): scrub string if decodednaruse2013-05-183-13/+16
| | | | | | bytes are invalid for the encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/set.rb (Set#delete_if, Set#keep_if): Make Set#delete_if andknu2013-05-183-2/+19
| | | | | | Set#keep_if more space and time efficient by avoiding to_a. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-electric.el (ruby-electric-setup-keymap): Makeknu2013-05-182-2/+7
| | | | | | | backquotes electric as well. It was listed in ruby-electric-expand-delimiters-list but not activated. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-electric.el (ruby-electric-delete-backward-char):knu2013-05-182-2/+35
| | | | | | | Introduce electric DEL that deletes what the previous electric command has input. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-electric.el (ruby-electric-matching-char): Makeknu2013-05-182-1/+19
| | | | | | electric quotes work again at the end of buffer. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-05-19svn2013-05-181-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: setjmpexnobu2013-05-183-2/+12
| | | | | | | | | | * configure.in (setjmp-type): check if setjmpex() is really available. workaround for i686-w64-mingw32 which declares it but lacks its definition. * include/ruby/defines.h: include setjmpex.h only if also setjmpex() is available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: setjmpexnobu2013-05-183-5/+27
| | | | | | | | | * configure.in (setjmp-type): use setjmpex() on w64-mingw32 to get rid of -Wclobbered warnings. * include/ruby/defines.h: include setjmpex.h here becase setjmp.h is included from win32.h via intrin.h, winnt.h, and so on. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/mkconstants.rb (INTEGER2NUM): Make less comparisons.akr2013-05-182-6/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (str_scrub_bang): add String#scrub!. [Feature #8414]naruse2013-05-184-1/+45
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/mkconstants.rb (INTEGER2NUM): Renamed from INTEGER2VALUE.akr2013-05-182-4/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/mkconstants.rb (INTEGER2VALUE): Suppress a warning:akr2013-05-182-2/+7
| | | | | | | | comparison between signed and unsigned integer expressions git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* compile.c: forward kwrestnobu2013-05-183-1/+36
| | | | | | | * compile.c (iseq_compile_each): forward anonymous and first keyword rest argument one. [ruby-core:55033] [Bug #8416]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_core.h: move jmpbuf between tag and prevnobu2013-05-183-12/+10
| | | | | | | * vm_core.h (rb_vm_tag): move jmpbuf between tag and prev so ensure to be accessible. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* enumerator.c: use VALUEnobu2013-05-183-17/+25
| | | | | | | * enumerator.c (inspect_enumerator): use VALUE instead of mere char* by using rb_sprintf() and rb_id2str(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* enumerator.c: append_methodnobu2013-05-182-15/+24
| | | | | | * enumerator.c (append_method): extract from inspect_enumerator(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* enumerator.c: fix stylenobu2013-05-181-1/+2
| | | | | | * enumerator.c (enumerator_initialize): no cuddle up else. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/mkconstants.rb (INTEGER2VALUE): Use LONG2FIX if possible.akr2013-05-182-2/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-05-18svn2013-05-171-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/mkconstants.rb: Convert integer constants bigger than intakr2013-05-172-13/+19
| | | | | | | | correctly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/ifaddr.c: Use unsigned LONG_LONG to represent flagsakr2013-05-172-4/+24
| | | | | | | | because SunOS 5.11 (OpenIndiana) defines ifa_flags as uint64_t. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c: Typo in constant MAX_MACHINE_STACK_CACHE from '..MAHINE..'zzak2013-05-172-3/+8
| | | | | | | patch by @schmurfy [Fixes GH-307] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-electric.el (ruby-electric-matching-char): Do not putknu2013-05-172-10/+19
| | | | | | | | a closing quote when the quote typed does not start a string, as in $', ?\' or ?\". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: Consider error messages to find out version option ofakr2013-05-172-1/+12
| | | | | | | | | | C compiler. The C compiler of Sun Studio C emits "Warning: Option -qversion passed to ld, if ld is invoked, ignored otherwise" and exit successfully. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gc.c: rb_gc_guarded_ptrnobu2013-05-173-2/+16
| | | | | | | * gc.c (rb_gc_guarded_ptr): unoptimize on other compilers than gcc and msvc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm.c: narrow variable scopenobu2013-05-171-1/+2
| | | | | | | * vm.c (vm_exec): move escape_ep into exception block, since it is updated every time entering the block. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Enable the document for Socket::Ifaddr#ifindex.akr2013-05-171-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-05-17svn2013-05-171-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* eval_intern.h: jmpbuf must be accessiblenobu2013-05-172-0/+16
| | | | | | | * eval_intern.h (TH_PUSH_TAG): ensure jmpbuf to be accessible before pushing tag to get rid of unaccessible tag by stack overflow. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * template/verconf.h.in: unexpand exec_prefix.nobu2013-05-161-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix a dependency.akr2013-05-161-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/util.rb: Constant parameter is faster and economy thanxibbar2013-05-161-1/+1
| | | | | | string parameter. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/core.rb: Constant parameter is faster and economy thanxibbar2013-05-161-5/+5
| | | | | | string parameter. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/util.rb: Use String#b instead of dup.force_encoding("ASCII-8BIT")xibbar2013-05-161-1/+1
| | | | | | [Feature #8394] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (rb_catch_obj): add volatile to tag to prevent crashnaruse2013-05-162-1/+8
| | | | | | | experimentally. http://www.rubyist.net/~akr/chkbuild/debian/ruby-trunk/log/20130515T133500Z.log.html.gz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Makefile.in: loadpath from loadpath.cnobu2013-05-163-3/+10
| | | | | | | | | * Makefile.in (loadpath): $LOAD_PATH in miniruby is empty by default now. * win32/Makefile.sub (loadpath): separate for quirky cmd.exe syntax. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32/Makefile.sub: fix verconfnobu2013-05-162-9/+6
| | | | | | | * win32/Makefile.sub (verconf.in): no longer used. * win32/Makefile.sub (config.status): fix typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* verconf.h: fix for default prefixnobu2013-05-163-18/+24
| | | | | | | * configure.in, template/verconf.h.in (RUBY_EXEC_PREFIX): fix for default prefix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * template/verconf.h.in: not typo.nobu2013-05-162-6/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * template/verconf.h.in: typos.usa2013-05-162-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* verconf.h.in: template for verconf.hnobu2013-05-165-58/+71
| | | | | | | * template/verconf.h.in: generate verconf.h from the template and rbconfig.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* generic_erb.rb: --source optionnobu2013-05-161-1/+3
| | | | | | * tool/generic_erb.rb: -x, --source option for debug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: verconf.h for parallel buildnobu2013-05-161-1/+1
| | | | | | | * common.mk (verconf.h): depend on the timestamp file instead of rbconfig.rb, for parallel build. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/lib/psych/visitors/yaml_tree.rb: fix syntax error.tenderlove2013-05-152-1/+6
| | | | | | Thanks @spastorino! [ruby-core:55011] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (rb_node_newnode): use newobj_of() instead of rb_newobj().ko12013-05-152-8/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e