-
-
Notifications
You must be signed in to change notification settings - Fork 925
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into truffle-head
Conflicts: truffle/src/main/java/org/jruby/truffle/nodes/interop/InteropNode.java truffle/src/main/java/org/jruby/truffle/runtime/core/RubyBasicObject.java
- 9.4.12.0
- 9.4.11.0
- 9.4.10.0
- 9.4.9.0
- 9.4.8.0
- 9.4.7.0
- 9.4.6.0
- 9.4.5.0
- 9.4.4.0
- 9.4.3.0
- 9.4.2.0
- 9.4.1.0
- 9.4.0.0
- 9.3.15.0
- 9.3.14.0
- 9.3.13.0
- 9.3.12.0
- 9.3.11.0
- 9.3.10.0
- 9.3.9.0
- 9.3.8.0
- 9.3.7.0
- 9.3.6.0
- 9.3.5.0
- 9.3.4.0
- 9.3.3.0
- 9.3.2.0
- 9.3.1.0
- 9.3.0.0
- 9.2.21.0
- 9.2.20.1
- 9.2.20.0
- 9.2.19.0
- 9.2.18.0
- 9.2.17.0
- 9.2.16.0
- 9.2.15.0
- 9.2.14.0
- 9.2.13.0
- 9.2.12.0
- 9.2.11.1
- 9.2.11.0
- 9.2.10.0
- 9.2.9.0
- 9.2.8.0
- 9.2.7.0
- 9.2.6.0
- 9.2.5.0
- 9.2.4.1
- 9.2.4.0
- 9.2.3.0
- 9.2.2.0
- 9.2.1.0
- 9.2.0.0
- 9.1.17.0
- 9.1.16.0
- 9.1.15.0
- 9.1.14.0
- 9.1.13.0
- 9.1.12.0
- 9.1.11.0
- 9.1.10.0
- 9.1.9.0
- 9.1.8.0
- 9.1.7.0
- 9.1.6.0
- 9.1.5.0
- 9.1.4.0
- 9.1.3.0
- 9.1.2.0
- 9.1.1.0
- 9.1.0.0
- 9.0.5.0
Showing
40 changed files
with
853 additions
and
545 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,2 @@ | ||
fails:Process.getrlimit returns a two-element Array of Integers | ||
fails:Process.getrlimit when passed an Object calls #to_int to convert to an Integer | ||
fails:Process.getrlimit when passed an Object raises a TypeError if #to_int does not return an Integer | ||
fails:Process.getrlimit when passed a Symbol coerces :AS into RLIMIT_AS | ||
fails:Process.getrlimit when passed a Symbol coerces :CORE into RLIMIT_CORE | ||
fails:Process.getrlimit when passed a Symbol coerces :CPU into RLIMIT_CPU | ||
fails:Process.getrlimit when passed a Symbol coerces :DATA into RLIMIT_DATA | ||
fails:Process.getrlimit when passed a Symbol coerces :FSIZE into RLIMIT_FSIZE | ||
fails:Process.getrlimit when passed a Symbol coerces :NOFILE into RLIMIT_NOFILE | ||
fails:Process.getrlimit when passed a Symbol coerces :STACK into RLIMIT_STACK | ||
fails:Process.getrlimit when passed a Symbol coerces :MEMLOCK into RLIMIT_MEMLOCK | ||
fails:Process.getrlimit when passed a Symbol coerces :NPROC into RLIMIT_NPROC | ||
fails:Process.getrlimit when passed a Symbol coerces :RSS into RLIMIT_RSS | ||
fails:Process.getrlimit when passed a Symbol raises ArgumentError when passed an unknown resource | ||
fails:Process.getrlimit when passed a String coerces 'AS' into RLIMIT_AS | ||
fails:Process.getrlimit when passed a String coerces 'CORE' into RLIMIT_CORE | ||
fails:Process.getrlimit when passed a String coerces 'CPU' into RLIMIT_CPU | ||
fails:Process.getrlimit when passed a String coerces 'DATA' into RLIMIT_DATA | ||
fails:Process.getrlimit when passed a String coerces 'FSIZE' into RLIMIT_FSIZE | ||
fails:Process.getrlimit when passed a String coerces 'NOFILE' into RLIMIT_NOFILE | ||
fails:Process.getrlimit when passed a String coerces 'STACK' into RLIMIT_STACK | ||
fails:Process.getrlimit when passed a String coerces 'MEMLOCK' into RLIMIT_MEMLOCK | ||
fails:Process.getrlimit when passed a String coerces 'NPROC' into RLIMIT_NPROC | ||
fails:Process.getrlimit when passed a String coerces 'RSS' into RLIMIT_RSS | ||
fails:Process.getrlimit when passed a String raises ArgumentError when passed an unknown resource | ||
fails:Process.getrlimit when passed on Object calls #to_str to convert to a String | ||
fails:Process.getrlimit when passed on Object calls #to_int if #to_str does not return a String | ||
fails:Process.getrlimit when passed a Symbol coerces :SBSIZE into RLIMIT_SBSIZE | ||
fails:Process.getrlimit when passed a Symbol coerces :RTTIME into RLIMIT_RTTIME | ||
fails:Process.getrlimit when passed a Symbol coerces :MSGQUEUE into RLIMIT_MSGQUEUE | ||
fails:Process.getrlimit when passed a Symbol coerces :SIGPENDING into RLIMIT_SIGPENDING | ||
fails:Process.getrlimit when passed a Symbol coerces :RTPRIO into RLIMIT_RTPRIO | ||
fails:Process.getrlimit when passed a Symbol coerces :NICE into RLIMIT_NICE | ||
fails:Process.getrlimit when passed a String coerces 'SBSIZE' into RLIMIT_SBSIZE | ||
fails:Process.getrlimit when passed a String coerces 'RTTIME' into RLIMIT_RTTIME | ||
fails:Process.getrlimit when passed a String coerces 'MSGQUEUE' into RLIMIT_MSGQUEUE | ||
fails:Process.getrlimit when passed a String coerces 'SIGPENDING' into RLIMIT_SIGPENDING | ||
fails:Process.getrlimit when passed a String coerces 'RTPRIO' into RLIMIT_RTPRIO | ||
fails:Process.getrlimit when passed a String coerces 'NICE' into RLIMIT_NICE |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
448 changes: 265 additions & 183 deletions
448
truffle/src/main/java/org/jruby/truffle/nodes/core/StringNodes.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
140 changes: 70 additions & 70 deletions
140
truffle/src/main/java/org/jruby/truffle/nodes/rubinius/StringPrimitiveNodes.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
80 changes: 80 additions & 0 deletions
80
truffle/src/main/java/org/jruby/truffle/runtime/core/CodeRangeableWrapper.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
/* | ||
* Copyright (c) 2013, 2015 Oracle and/or its affiliates. All rights reserved. This | ||
* code is released under a tri EPL/GPL/LGPL license. You can use it, | ||
* redistribute it and/or modify it under the terms of the: | ||
* | ||
* Eclipse Public License version 1.0 | ||
* GNU General Public License version 2 | ||
* GNU Lesser General Public License version 2.1 | ||
*/ | ||
package org.jruby.truffle.runtime.core; | ||
|
||
import org.jcodings.Encoding; | ||
import org.jruby.truffle.nodes.core.StringNodes; | ||
import org.jruby.util.ByteList; | ||
import org.jruby.util.CodeRangeable; | ||
|
||
public class CodeRangeableWrapper implements CodeRangeable { | ||
|
||
private final RubyString string; | ||
|
||
public CodeRangeableWrapper(RubyString string) { | ||
this.string = string; | ||
} | ||
|
||
@Override | ||
public int getCodeRange() { | ||
return StringNodes.getCodeRange(string); | ||
} | ||
|
||
@Override | ||
public int scanForCodeRange() { | ||
return StringNodes.scanForCodeRange(string); | ||
} | ||
|
||
@Override | ||
public boolean isCodeRangeValid() { | ||
return StringNodes.isCodeRangeValid(string); | ||
} | ||
|
||
@Override | ||
public final void setCodeRange(int newCodeRange) { | ||
StringNodes.setCodeRange(string, newCodeRange); | ||
} | ||
|
||
@Override | ||
public final void clearCodeRange() { | ||
StringNodes.clearCodeRange(string); | ||
} | ||
|
||
@Override | ||
public final void keepCodeRange() { | ||
StringNodes.keepCodeRange(string); | ||
} | ||
|
||
@Override | ||
public final void modify() { | ||
StringNodes.modify(string); | ||
} | ||
|
||
@Override | ||
public final void modify(int length) { | ||
StringNodes.modify(string, length); | ||
} | ||
|
||
@Override | ||
public final void modifyAndKeepCodeRange() { | ||
StringNodes.modifyAndKeepCodeRange(string); | ||
} | ||
|
||
@Override | ||
public Encoding checkEncoding(CodeRangeable other) { | ||
return StringNodes.checkEncoding(string, other); | ||
} | ||
|
||
@Override | ||
public ByteList getByteList() { | ||
return StringNodes.getByteList(string); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
178 changes: 178 additions & 0 deletions
178
truffle/src/main/java/org/jruby/truffle/runtime/rubinius/DarwinRubiniusConfiguration.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters