leptris 1.9.422.0-arm-linux → 1.9.423.0-arm-linux

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 91b1f0fb453e117dbbc4610f9a8911f5ea7665d0006a6e2f7a64ac5ad12edeaf
4
- data.tar.gz: ed841180274ec80c0d3c99dd88f8406d764b5eeb40691652520c362e01937bba
3
+ metadata.gz: 4c656a55cb79583d06041a37bce0f905401da7d5a6fd6e59700c5a81e3eb90b0
4
+ data.tar.gz: 0f9755c81a030263728a8559f5c6431161fe5afc82731928ac170145cbb31ada
5
5
  SHA512:
6
- metadata.gz: 700380bd74e619399f86e365be0a9ee8d5ea6341b1de2d63f0d7dd7854d1c39fb653acbaeee965516680bacdcfbf69a64e6917a2f23ade1104769297296e1391
7
- data.tar.gz: 679c09bb1233b92f76726113a5905f2f339adf898dd93a78670cd1040286372b49a95788d750f29f315efc8aeb8f9a144456d0d91dd9623da9477a24e11e51d7
6
+ metadata.gz: a19705c3ffb07b18779cb4b0e6ac579833c8f75bd60ce9c8a14ba5a57a5b863cd9fb1dae0bf25c6b0029dd851977b18c5658e4e56b8236ff6150296c3112fd23
7
+ data.tar.gz: 2ac3406e7962ed1485c021920021b3316d81ea51f6cba775f39a8d462dd85f5a427bdf60ce721ce9d5a481c08b7d760ed1fc0a6da1e092aef4ae9bb327ddbba2
data/Rakefile CHANGED
@@ -8,7 +8,7 @@ RSpec::Core::RakeTask.new(:spec)
8
8
  # Pin for `rake compile` and the platform-gem builds. Keep in lockstep
9
9
  # with .github/workflows/build.yml (which calls `rake compile`) and the
10
10
  # CHANGELOG when libleptris releases.
11
- LIBLEPTRIS_VERSION = "1.9.422"
11
+ LIBLEPTRIS_VERSION = "1.9.423"
12
12
  # Vendored alongside libleptris for fn:normalize-unicode (TODO
13
13
  # .restructure/20): built per platform with a RELOCATABLE @rpath
14
14
  # install name, loaded by ffi.rb before libleptris so the
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Leptris
4
- VERSION = "1.9.422.0"
4
+ VERSION = "1.9.423.0"
5
5
  end
data/lib/libleptris.so CHANGED
Binary file
data/vendor-src/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  Sources vendored in this gem (recompile rights; the ruby
2
2
  variant builds them at install via extconf.rb):
3
3
 
4
- - libleptris v1.9.422
4
+ - libleptris v1.9.423
5
5
  - utf8proc v2.11.0
6
6
 
7
7
  Rebuild by hand:
@@ -1,5 +1,12 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [1.9.423] - 2026-11-15
4
+
5
+ ### Fixed
6
+
7
+ - **simd: the AVX2 canary compiles on MinGW** — the #2039 canary (1.9.422) used POSIX `sigsetjmp`/`siglongjmp` unconditionally; MinGW's GCC provides neither, and every mingw build of the engine (the leptris-py native-ops probe, mingw Ruby builds) failed with `unknown type name 'sigjmp_buf'`. The canary block and its call site are now gated on POSIX (`!_WIN32`); MinGW keeps the CPUID-only verdict — its targets run real AVX2 hardware or the MSVC baseline, not the Rosetta/QEMU emulation the canary guards against. All other platforms unchanged: the canary still fires under Rosetta (re-verified on the failing platform after the regate).
8
+
9
+
3
10
  ## [1.9.422] - 2026-11-15
4
11
 
5
12
  ### Fixed
@@ -3,7 +3,7 @@
3
3
  cmake_minimum_required(VERSION 3.20)
4
4
 
5
5
  project(leptris
6
- VERSION 1.9.422
6
+ VERSION 1.9.423
7
7
  DESCRIPTION "Fast XML parser and XPath evaluator in pure C"
8
8
  LANGUAGES C CXX
9
9
  )
@@ -21,7 +21,11 @@
21
21
  # include <intrin.h>
22
22
  #endif
23
23
 
24
- #if defined(LEPTRIS_X86_GCC_BUILTINS)
24
+ /* POSIX-only: MinGW's GCC defines the builtins but has no
25
+ * sigsetjmp/siglongjmp — the mingw py-probe build died here
26
+ * (leptris-py ride/422 CI). MinGW keeps the CPUID-only verdict. */
27
+ #if defined(LEPTRIS_X86_GCC_BUILTINS) && !defined(_WIN32)
28
+ # define LEPTRIS_CANARY_POSIX 1
25
29
  # include <setjmp.h>
26
30
  # include <signal.h>
27
31
 
@@ -64,7 +68,11 @@ leptris_cpu_level leptris_cpu_detect(void) {
64
68
  return LEPTRIS_CPU_NEON;
65
69
  #elif defined(LEPTRIS_X86_GCC_BUILTINS)
66
70
  __builtin_cpu_init();
71
+ #if defined(LEPTRIS_CANARY_POSIX)
67
72
  if (__builtin_cpu_supports("avx2") && leptris_avx2_executable()) {
73
+ #else
74
+ if (__builtin_cpu_supports("avx2")) {
75
+ #endif
68
76
  return LEPTRIS_CPU_AVX2;
69
77
  }
70
78
  if (__builtin_cpu_supports("sse4.2")) return LEPTRIS_CPU_SSE42;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg/master/scripts/vcpkg.schema.json",
3
3
  "name": "leptris",
4
- "version": "1.9.422",
4
+ "version": "1.9.423",
5
5
  "description": "High-performance XML parser and XPath 1.0 engine in C (libleptris)",
6
6
  "homepage": "https://github.com/leptris/leptris",
7
7
  "license": "MIT",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: leptris
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.422.0
4
+ version: 1.9.423.0
5
5
  platform: arm-linux
6
6
  authors:
7
7
  - Ribose Inc.