aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 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
* * ChangeLog: revert the line accidentally removed at r40763.nobu2013-05-151-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/depend: Add a dependency for ifaddr.o.akr2013-05-152-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* yaml_tree.rb: fix warning messagenobu2013-05-151-1/+1
| | | | | | | * ext/psych/lib/psych/visitors/yaml_tree.rb: fix warning message. Class.create does not exist. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: verconf.h dependencynobu2013-05-151-1/+1
| | | | | | | * common.mk (verconf.h): no needs to update always unless rbconfig.rb is updated. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk, Makefile.sub: fix build failure on mswinnobu2013-05-153-6/+15
| | | | | | | | | * common.mk (verconf.h): $< cannot be used in explicit rules with nmake. * win32/Makefile.sub (CONFIG_H): create verconf.in instead of verconf.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/lib/psych/visitors/yaml_tree.rb: only emit warnings whentenderlove2013-05-152-1/+8
| | | | | | -w is enabled. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-05-16svn2013-05-151-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* revert r40760nobu2013-05-151-1/+1
| | | | | | | * vm.c (vm_invoke_proc): revert r40760 partially, which causes timeout in test/ruby/test_thread.rb:test_stack_size. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces.nobu2013-05-151-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (newobj): rename to `newobj_of' and accept additionalko12013-05-152-27/+34
| | | | | | | | | | | three parameters v1, v2, v3. newobj_of() do OBJSETUP() and fill values with v1, v2, v3. * gc.c (rb_data_object_alloc, rb_data_typed_object_alloc): use newobj_of(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: move RUBY_PLATFORM to config.hnobu2013-05-152-6/+9
| | | | | | | * configure.in (RUBY_PLATFORM): move to config.h as needed by version.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (verconf.h): fix dependency.nobu2013-05-151-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: add an additional RGENGC_PROFILE mode (2).ko12013-05-152-6/+43
| | | | | | | | | Profiling result can be check by GC.stat. * gc.c (type_name): separate from obj_type_name(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm.c: suppress warningsnobu2013-05-152-3/+3
| | | | | | | * vm.c (vm_invoke_proc, vm_exec), vm_eval.c (rb_eval_cmd): add volatile to suppress -Wclobbered warnings by gcc 4.9.0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_eval.c: suppress warningnobu2013-05-151-1/+1
| | | | | | | * vm_eval.c (eval_string_with_cref): narrow a variable scope into the EXEC_TAG block to suppress -Wclobberd warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: shvar_to_cpp in rubynobu2013-05-155-84/+54
| | | | | | | | | | * configure.in: save configured load path values into verconf.in. * common.mk (verconf.h): create from verconf.in with shvar_to_cpp.rb. * tool/shvar_to_cpp.rb: turn shell variables into C macros. [Bug #7959] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* loadpath.c: splitnobu2013-05-156-77/+103
| | | | | | | | | * loadpath.c: split load path staffs from version.c. * dmyloadpath.c: miniruby has no builtin load paths, so verconf.h is not needed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: escapenobu2013-05-151-2/+2
| | | | | | | * configure.in (unexpand_shvar): escape $. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ifchange: --keep optionnobu2013-05-151-0/+8
| | | | | | | * tool/ifchange (--keep=suffix): new option for debug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/lib/psych/visitors/yaml_tree.rb: adding backwardstenderlove2013-05-142-0/+12
| | | | | | compatible YAMLTree.new method git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: remove incorret lines of r40668.nagachika2013-05-141-2/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.nobu2013-05-140-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/lib/psych.rb: Adding Psych.safe_load for loading a usertenderlove2013-05-1419-60/+383
| | | | | | | | | | | | | | | | | | | | | | | | | defined, restricted subset of Ruby object types. * ext/psych/lib/psych/class_loader.rb: A class loader for encapsulating the logic for which objects are allowed to be deserialized. * ext/psych/lib/psych/deprecated.rb: Changes to use the class loader * ext/psych/lib/psych/exception.rb: ditto * ext/psych/lib/psych/json/stream.rb: ditto * ext/psych/lib/psych/nodes/node.rb: ditto * ext/psych/lib/psych/scalar_scanner.rb: ditto * ext/psych/lib/psych/stream.rb: ditto * ext/psych/lib/psych/streaming.rb: ditto * ext/psych/lib/psych/visitors/json_tree.rb: ditto * ext/psych/lib/psych/visitors/to_ruby.rb: ditto * ext/psych/lib/psych/visitors/yaml_tree.rb: ditto * ext/psych/psych_to_ruby.c: ditto * test/psych/helper.rb: ditto * test/psych/test_safe_load.rb: tests for restricted subset. * test/psych/test_scalar_scanner.rb: ditto * test/psych/visitors/test_to_ruby.rb: ditto * test/psych/visitors/test_yaml_tree.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/psych/helper.rb: envutil is not available outside Ruby, sotenderlove2013-05-144-5/+42
| | | | | | | | | | port the functions from envutil to the test helper. * test/psych/test_deprecated.rb: ditto * test/psych/test_encoding.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* changing variable nametenderlove2013-05-141-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: typo.usa2013-05-141-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-05-15svn2013-05-141-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c: need to include unistd.h for write(2).usa2013-05-142-0/+9
| | | | | | | | unistd.h is now included via ruby/defines.h, but should implicitly include here. (suggested by kosaki) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/.document: Add ifaddr.c.akr2013-05-142-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ruby.h: fix typonobu2013-05-141-1/+1
| | | | | | | * include/ruby/ruby.h (ruby_check_sizeof_long_long): fix typo of availablity macro. [ruby-dev:47341] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* socket: fix build error and warnings on mingwnobu2013-05-144-1/+37
| | | | | | | | | | | | * ext/socket/extconf.rb: check for if_nametoindex() for i686-w64-mingw32, and check for declarations of if_indextoname() and if_nametoindex(). * ext/socket/ifaddr.c (ifaddr_ifindex): not-implement unless if_nametoindex() is available. * ext/socket/rubysocket.h: declare if_indextoname() and if_nametoindex() if available but not declared. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update doc.akr2013-05-141-18/+18
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/lib/dl/func.rb (DL::Function#call): check tainted whennagachika2013-05-144-0/+30
| | | | | | | | $SAFE > 0. * ext/fiddle/function.c (function_call): check tainted when $SAFE > 0. * test/fiddle/test_func.rb (module Fiddle): add test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typokazu2013-05-141-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add NEWS about Kernel#singleton_method r40684 [Feature #8391]naruse2013-05-141-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* iphlpapi is unavailable with older VCnobu2013-05-143-1/+9
| | | | | | | * include/ruby/win32.h, win32/Makefile.sub, win32/win32.c: iphlpapi is not available with older Visual C. works with VC9 or later at least. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: fix argument typenobu2013-05-141-1/+1
| | | | | | | * parse.y (is_global_name_punct): fix argument type, to get rid of implicit promotion. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32.h: fix for VC9nobu2013-05-142-4/+20
| | | | | | | | * include/ruby/win32.h (INTPTR_MAX, INTPTR_MIN, UINTPTR_MAX): split from intptr_t and uintptr_t, since VC9 defines the latters only in crtdefs.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (NET_LUID): mingw may have NET_LUID and not definedusa2013-05-142-1/+6
| | | | | | | _IFDEF_. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e