lp:ruby

Created by VCS imports on 2008-06-02 and last modified on 2018-04-23
Get this branch:
bzr branch lp:ruby

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
VCS imports
Project:
Ruby
Status:
Development

Import details

Import Status: Reviewed

This branch is an import of the Subversion branch from http://svn.ruby-lang.org/repos/ruby/trunk.

The next import is scheduled to run in 1 hour.

Last successful import was 4 hours ago.

Import started 4 hours ago on alnitak and finished 4 hours ago taking 30 seconds — see the log
Import started 10 hours ago on izar and finished 10 hours ago taking 30 seconds — see the log
Import started 16 hours ago on izar and finished 16 hours ago taking 30 seconds — see the log
Import started 22 hours ago on alnitak and finished 22 hours ago taking 30 seconds — see the log
Import started on 2018-04-22 on alnitak and finished on 2018-04-22 taking 40 seconds — see the log
Import started on 2018-04-21 on izar and finished on 2018-04-21 taking 30 seconds — see the log
Import started on 2018-04-21 on alnitak and finished on 2018-04-21 taking 40 seconds — see the log
Import started on 2018-04-21 on izar and finished on 2018-04-21 taking 40 seconds — see the log
Import started on 2018-04-21 on alnitak and finished on 2018-04-21 taking 30 seconds — see the log
Import started on 2018-04-20 on izar and finished on 2018-04-20 taking 30 seconds — see the log

Recent revisions

50593. By nobu 7 hours ago

thread_pthread.c: fallback to CLOCK_REALTIME

* thread_pthread.c (Init_native_thread): fallback to the default
  CLOCK_REALTIME when failed to set to CLOCK_MONOTONIC, e.g. on
  Solaris. [Misc #14497]

50592. By normal 11 hours ago

net/imap: set SO_KEEPALIVE on TCP sockets

Otherwise connections (commonly on IDLE, but it could be any
command) may never receive notifications of link errors.

[ruby-core:86628] [Feature #14703]

50591. By stomar 13 hours ago

sprintf.c: fix typo

* sprintf.c: [DOC] fix typo.
  Patch by Lazarus Lazaridis (iridakos). [Fix GH-1789]

50590. By ko1 16 hours ago

Same as the last commit (comment out tests for CI).

50589. By svn 17 hours ago

* 2018-04-23

50588. By ko1 17 hours ago

Skip some tests to make CI healthy.

r63236 (or r63237) introduces test failures and CI shows errors.
This commit makes skipping these tests. Please revert this commit
after tests (and rubyspec) work fine.

Failure log example:
https://gist.github.com/ko1/8456cf25fe35a696bd33ac86135092e4

50587. By normal 21 hours ago

thread*: all condvars are monotonic

There's no reason to use CLOCK_REALTIME for any condvars in Ruby.
Indeed, we initialized all condvars with RB_CONDATTR_CLOCK_MONOTONIC
anyway; so simplify our code and reduce ifdefs.

[ruby-core:85639] [Misc #14497]

50586. By kou 23 hours ago

rexml: Fix XPath bug of //#{ELEMENT_NAME}[#{POSITION}]

The position should be counted for each nodeset but the previous
implementation counts position for union-ed nodeset.

For example, "/a/*/*[1]" should be matched to "<c1/>" and "<c2/>" with
the following XML.

    <a>
      <b>
        <c1/>
      </b>
      <b>
        <c2/>
      </b>
    </a>

But the previous implementation just returns only "<c1/>".

* lib/rexml/element.rb (REXML::Attributes#each_attribute):
  Support Enumerator for no block use.

* lib/rexml/element.rb (REXML::Attributes#each):
  Support Enumerator for no block use.

* lib/rexml/functions.rb (REXML::Functions.string):
  Support NaN again.

* lib/rexml/xpath_parser.rb: Re-implement "Step" evaluator.
  It should evaluate "AxisSpecifier", "NodeTest" and "Predicate" in one
  step to respect position for each nodeset.

* test/rexml/test_jaxen.rb: Enable more tests. Remained tests should
  be also enabled but it'll not be near future.

* test/rexml/xpath/test_base.rb: Fix expected value.

50585. By kou on 2018-04-22

rexml: Fix XPath bug of /#{ELEMENT_NAME}

It doesn't mean that all elements which name "ELEMENT_NAME" with any
namespace URI including null namespace URI. It means that all elements
which name "ELEMENT_NAME" with null namespace URI.

https://www.w3.org/TR/1999/REC-xpath-19991116/#NT-NodeTest

> if the QName does not have a prefix, then the namespace URI is null
> (this is the same way attribute names are expanded).

We need to use "*[local-name()='#{ELEMENT_NAME}']" for all elements
which name "ELEMENT_NAME" with any namespace URI including null
namespace URI in XPath 1.0. But it's inconvenient. So this change
includes "*:#{LOCAL_NAME}" syntax support that is introduced since
XPath 2.0.

* lib/rexml/parsers/xpathparser.rb: Support "*:#{LOCAL_NAME}" syntax that
  is introduced since XPath 2.0.

* lib/rexml/xpath_parser.rb:
  * Fix namespace URI processing for "#{ELEMENT_NAME}". Now,
    "#{ELEMENT_NAME}" doesn't accept elements with null namespace URI.
  * Add "*:#{LOCAL_NAME}" support.

* test/rexml/test_contrib.rb,
  test/rexml/test_core.rb,
  test/rexml/xpath/test_base.rb: Follow this change.

* test/rexml/test_jaxen.rb: Fix namespace processing.

50584. By k0kubun on 2018-04-22

mjit_compile.c: comment the intention of r63092 [ci skip]

It's for "leave" instruction.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers

No subscribers.