Permalink
Commits on Oct 28, 2013
  1. Merge pull request #2 from jcoleman/find-references

    Skip instances of BasicObject
    committed Oct 28, 2013
  2. Skip instances of BasicObject

    The other checks assume that the object under consideration descends from Object and can fail if the object descends from BasicObject instead.
    jcoleman committed Oct 28, 2013
Commits on May 23, 2013
  1. Merge pull request #1 from cout/find-references

    Add max distance to search and ignore certain globals
    committed May 23, 2013
Commits on May 10, 2013
  1. Add max distance to search and ignore certain globals

    - Specify maximum distance when constructing the ObjectGraph
    - We need to ignore hooked variables like $FILENAME, because evaluating
      hooked variables can have side effects
    cout committed May 10, 2013
Commits on Mar 3, 2013
  1. ObjectSpace.find_references

    committed Feb 28, 2013
Commits on Feb 22, 2013
  1. add tag v1_9_3_392

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_9_3_392@39386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 22, 2013
  2. merge revision(s) 39384:

    	* lib/rexml/document.rb (REXML::Document.entity_expansion_text_limit):
    	  new attribute to read/write entity expansion text limit.  the default
    	  limit is 10Kb.
    
    	* lib/rexml/text.rb (REXML::Text.unnormalize): check above attribute.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@39385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 22, 2013
  3. * vm.c (vm_exec): get rid of a SEGV when calling rb_iter_break() from

      some extention libraries.  [Backport #7896] [ruby-core:52607]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@39381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 22, 2013
  4. [Backport #7851]

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@39380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 22, 2013
  5. merge revision(s) 32688,33309,33408,33864,35874,38012: [Backport #7832]

    	* vm_method.c (rb_gc_mark_unlinked_live_method_entries): remove unused
      variables.
    	* vm_insnhelper.c (vm_call_cfunc): suppress a warning.  note that
    	  `volatile type *var' doesn't make var itself volatile.
    
    	* vm_insnhelper.c (vm_call_cfunc): remove useless hack.
    
    	* regparse.c (onig_number_of_names): suppress a warning.
    
    	* gc.c : remove a unused function.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@39379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 22, 2013
  6. merge revision(s) 34982: [Backport #5218]

    	* eval_jump.c (rb_exec_end_proc): remember the latest exit status.
    	  [ruby-core:43173][Bug #5218]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@39378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 22, 2013
  7. merge revision(s) 36130: [Backport #5023]

    	* ext/readline/readline.c (Init_readline): don't set 0 to
    	  rl_catch_signals and rl_catch_sigwinch. [Bug #5423]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@39377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 22, 2013
Commits on Feb 13, 2013
  1. * ext/json: Import JSON 1.5.5.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@39218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 13, 2013
Commits on Feb 6, 2013
  1. merge miss of r39093.

    I don't understand why svn merge didn't merge any files and reported no errors.
    terrible...
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@39113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 6, 2013
  2. * ChangeLog: forgotten to commit.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@39110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 6, 2013
  3. * lib/rdoc: Import RDoc 3.9.5.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@39101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 6, 2013
  4. fixed commit miss of previous commit.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@39099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 6, 2013
  5. merge revision(s) 35474,35479,38939,38943,38963,38991,38994: [Backpor…

    …t #7786]
    
    	* ext/socket/raddrinfo.c (init_unix_addrinfo): support the longest
    	  path in sockaddr_un.
    	  (inspect_sockaddr): ditto.
    	  (addrinfo_mdump): ditto.
    	  (addrinfo_mload): ditto.
    	  (rsock_unixpath_str): new function.
    	  (rsock_unixpath): removed.
    	  (rsock_unixaddr): use rsock_unixpath_str.
    
    	* ext/socket/socket.c (sock_s_pack_sockaddr_un): support the longest
    	  path in sockaddr_un.
    	  (sock_s_unpack_sockaddr_un): ditto.
    	  (sock_s_gethostbyaddr): unused variable removed.
    
    	* ext/socket/unixsocket.c (rsock_init_unixsock): support the longest
    	  path in sockaddr_un.
    
    	* ext/socket/rubysocket.h (rsock_unixpath_str): declared.
    	  (rsock_unixpath): removed.
    
    	* test/socket/test_unix.rb: comment out test_nul because abstract unix
    	  sockets may contain NULs.
    
    	* ext/socket/socket.c (sock_s_pack_sockaddr_un): support the longest
    	  path in sockaddr_un, really.
    	  reported by nagachika.
    	  http://d.hatena.ne.jp/nagachika/20120426/ruby_trunk_changes_35474_35476
    
    	* ext/socket/raddrinfo.c (rsock_unixpath_len, init_unix_addrinfo),
    	  ext/socket/unixsocket.c (unixsock_connect_internal,
    	  rsock_init_unixsock): calculate the correct address length of
    	  an abstract socket.  Without this fix, sizeof(struct sockaddr_un)
    	  is specified as the length of an abstract socket for bind(2) or
    	  connect(2), so the address of the socket is filled with extra NUL
    	  characters.  See unix(7) for details.
    
    	* ext/socket/lib/socket.rb (unix_server_socket): don't access the
    	  file system if the platform is Linux and path starts with NUL,
    	  which means that the socket is an abstract socket.
    
    	* test/socket/test_unix.rb: related test.
    
    	* ext/socket/raddrinfo (rsock_unix_sockaddr_len): renamed from
    	  rsock_unixpath_len, because it returns not the length of the path,
    	  but the length of a socket address for the path.
    
    	* ext/socket/socket.c (sock_s_pack_sockaddr_un): calculate the
    	  correct address length of an abstract socket.
    
    	* test/socket/test_unix.rb: related test.
    
    	* ext/socket/unixsocket.c (rsock_init_unixsock): use rb_inspect()
    	  because rb_sys_fail_str() fails if its argument contains NUL.
    
    	* test/socket/test_unix.rb: related test.
    
    	* ext/socket/raddrinfo.c (rsock_unix_sockaddr_len): return
    	  sizeof(sa_familiy_t) if path is empty.  see "Autobind Feature" in
    	  unix(7) for details.
    
    	* ext/socket/lib/socket.rb (unix_socket_abstract_name?): treat an
    	  empty path as an abstract name.
    
    	* test/socket/test_unix.rb: related test.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@39096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 6, 2013
  6. merge revision(s) 38993: [Backport #7775]

    	* ext/socket/basicsocket.c (bsock_getsockname): ignore truncated
    	  part of socket address.
    	  (bsock_getpeername): ditto.
    	  (bsock_local_address): ditto.
    	  (bsock_remote_address): ditto.
    
    	* ext/socket/unixsocket.c (unix_path): ditto.
    	  (unix_addr): ditto.
    	  (unix_peeraddr): ditto.
    
    	* ext/socket/init.c (cloexec_accept): ditto.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@39094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 6, 2013
  7. merge revision(s) 33210,33212: [Backport #5278]

    	* lib/rexml/parsers/baseparser.rb, test/rexml/test_comment.rb:
    	  allow a single hyphen in comment. [Bug 5278]
    	  Reported by Thomas Fritzsche. Thanks!!!
    	  allow a single hyphen in comment. [Bug #5278] [ruby-core:39289]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@39093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 6, 2013
  8. merge revision(s) 37174: [Backport #7754]

    	* file.c (realpath_rec): prevent link from GC while link_names refers
    	  the content.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@39092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 6, 2013
  9. merge revision(s) 36151: [Backport #7746]

    	* missing/setproctitle.c (environ): use (*_NSGetEnviron()) instead of
    	  environ on Darwin for namespace cleanness, same as [ruby-core:00537].
    	  [ruby-core:45615] [Bug #6576]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@39091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 6, 2013
  10. merge revision(s) 36905: [Backport #6977]

    	* dir.c (glob_make_pattern): names under recursive need to be single
    	  basenames to match for each name.  [ruby-core:47418] [Bug #6977]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@39090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 6, 2013
Commits on Jan 18, 2013
  1. * version.h: up the revision because nobu's bot accidentally changed …

    …this branch.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Jan 18, 2013
  2. * 2013-01-18

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed Jan 18, 2013
  3. * properties.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Jan 18, 2013
Commits on Jan 15, 2013
  1. * test/net/protocol/test_protocol.rb: the backported test assumed tha…

    …t the
    
      source encoding is UTF-8 (because it's 2.0.0 spec).
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Jan 15, 2013
  2. merge revision(s) 38819: [Backport #7693]

    	* thread_pthread.c (gvl_init): Reset gvl.wait_yield explicitly when
    	  fork()ing. Patch by Apollon Oikonomopoulos. Thanks!
    	  [Bug #7693][ruby-core:51424]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Jan 15, 2013
  3. merge revision(s) 38010: [Backport #7452]

    	* gc.c (rb_objspace_call_finalizer): finalize_deferred may free up
    	  a object which is reachable from a part after this function,
    	  e.g. ruby_vm_destruct(). [ruby-dev:46647] [Bug #7452]
    
    	* test/ruby/test_gc.rb (test_finalizing_main_thread): add a test
    	  for above.
    
    	* test/rdoc/test_rdoc_servlet.rb:  Tets for above
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Jan 15, 2013
  4. merge revision(s) 37487,37563: [Backport #7278]

    	* lib/net/protocol.rb (Net::InternetMessageIO#each_crlf_line):
    	  don't use /n in universal regexp. [ruby-dev:46394] [Bug #7278]
    
    	* lib/net/protocol.rb (Net::InternetMessageIO#each_crlf_line):
    	  treat \r as newline as mame pointed. [ruby-dev:46425] [Bug #7278]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Jan 15, 2013
  5. merge revision(s) 38801,38809,38810: [Backport #7404]

    	* ext/bigdecimal/bigdecimal.c (BigDecimal_sub):
    	  need to specify precision for converting Rational and Float.
    	  [ruby-dev:46544] [Bug #7404]
    
    	* ext/bigdecimal/bigdecimal.c (BigDecimal_mult): ditto.
    
    	* ext/bigdecimal/bigdecimal.c (BigDecimal_divide): ditto.
    
    	* ext/bigdecimal/bigdecimal.c (BigDecimal_DoDivmod): ditto.
    
    	* ext/bigdecimal/bigdecimal.c (BigDecimal_divremain): ditto.
    
    	* test/bigdecimal/test_bigdecimal.rb: add tests for the above fixes.
    
    	* ext/bigdecimal/bigdecimal.c: use `RB_TYPE_P(x, t)` instead of
    	  `TYPE(x) == t`.
    
    	* ext/bigdecimal/bigdecimal.c (BigDecimal_to_s): use CRuby style.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Jan 15, 2013
  6. merge revision(s) 38776: [Backport #7172]

    	* tool/mkconfig.rb: use configured libdir value to fix
    	  --enable-load-relative on systems where libdir is not default value,
    	  overridden in config.site files.  [ruby-core:47267] [Bug #6903]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Jan 15, 2013
  7. merge revision(s) 36272: [Backport #7634]

    	* object.c (Init_Object):  Added RDoc location pointers for
    	  Kernel#methods, Kernel#protected_methods, Kernel#private_methods and
    	  Kernel#public_methods.  [Bug #6666]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Jan 15, 2013
Commits on Jan 11, 2013
  1. merge revision(s) 38739: [Backport #7671]

    	* vm_core.h (rb_iseq_t): move flip_cnt from struct iseq_compile_data,
    	  because it has same life span as enclosing iseq.  [Bug #7671]
    	  [ruby-core:51296]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Jan 11, 2013