[Git][java-team/jruby-joni][master] 7 commits: bump jcodings
Hideki Yamane
gitlab at salsa.debian.org
Fri Oct 19 23:49:45 BST 2018
Hideki Yamane pushed to branch master at Debian Java Maintainers / jruby-joni
Commits:
522db76a by Marcin Mielzynski at 2018-10-12T17:46:15Z
bump jcodings
- - - - -
74472d94 by Marcin Mielzynski at 2018-10-12T17:46:41Z
add code range tests
- - - - -
6d1b49f5 by Marcin Mielzynski at 2018-10-14T19:22:00Z
Fix opEndLine singlebyte specialization
- - - - -
c92d23a7 by Marcin Mielzynski at 2018-10-14T19:34:22Z
better fix for jruby/5368
- - - - -
d575031f by Marcin Mielzynski at 2018-10-14T19:36:03Z
[maven-release-plugin] prepare release joni-2.1.25
- - - - -
a9c665ef by Marcin Mielzynski at 2018-10-14T19:36:13Z
[maven-release-plugin] prepare for next development iteration
- - - - -
7036b086 by Marcin Mielzynski at 2018-10-15T17:21:51Z
add regression for jruby/jruby#5368
- - - - -
3 changed files:
- pom.xml
- src/org/joni/ByteCodeMachine.java
- test/org/joni/test/TestU8.java
Changes:
=====================================
pom.xml
=====================================
@@ -4,7 +4,7 @@
<groupId>org.jruby.joni</groupId>
<artifactId>joni</artifactId>
<packaging>jar</packaging>
- <version>2.1.25-SNAPSHOT</version>
+ <version>2.1.26-SNAPSHOT</version>
<name>Joni</name>
<description>
Java port of Oniguruma: http://www.geocities.jp/kosako3/oniguruma
@@ -66,7 +66,7 @@
<dependency>
<groupId>org.jruby.jcodings</groupId>
<artifactId>jcodings</artifactId>
- <version>1.0.40</version>
+ <version>1.0.41</version>
</dependency>
<dependency>
<groupId>junit</groupId>
=====================================
src/org/joni/ByteCodeMachine.java
=====================================
@@ -1273,7 +1273,7 @@ class ByteCodeMachine extends StackMachine {
private void opEndLineSb() {
if (s == end) {
if (Config.USE_NEWLINE_AT_END_OF_STRING_HAS_EMPTY_LINE) {
- if (str == end || bytes[sprev] != Encoding.NEW_LINE) {
+ if (str == end || !(sprev < end && bytes[sprev] == Encoding.NEW_LINE)) {
if (isNotEol(msaOptions)) opFail();
}
return;
=====================================
test/org/joni/test/TestU8.java
=====================================
@@ -349,5 +349,10 @@ public class TestU8 extends Test {
ns("💌", "aa");
ns("aa", "💌");
+
+ x2s("\\P{In_Supplemental_Symbols_and_Pictographs}?", "", 0, 0);
+ x2s("\\P{In_Transport_and_Map_Symbols}?", "", 0, 0);
+
+ x2s("^(\"|)(.*)\\1$", "X6", 0, 2);
}
}
View it on GitLab: https://salsa.debian.org/java-team/jruby-joni/compare/e9c75c0ffca7bf33545294f364b8c3b72613aa41...7036b0860eeeddc283eb3d288316a191a2e2a045
--
View it on GitLab: https://salsa.debian.org/java-team/jruby-joni/compare/e9c75c0ffca7bf33545294f364b8c3b72613aa41...7036b0860eeeddc283eb3d288316a191a2e2a045
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20181019/3c3bd285/attachment.html>
More information about the pkg-java-commits
mailing list