openSUSE Commits
Threads by month
- ----- 2025 -----
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
July 2023
- 1 participants
- 1988 discussions
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package calc for openSUSE:Factory checked in at 2023-07-31 15:25:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/calc (Old)
and /work/SRC/openSUSE:Factory/.calc.new.32662 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "calc"
Mon Jul 31 15:25:12 2023 rev:38 rq:1101458 version:2.14.2.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/calc/calc.changes 2023-07-27 16:53:02.570571715 +0200
+++ /work/SRC/openSUSE:Factory/.calc.new.32662/calc.changes 2023-07-31 15:25:14.423625924 +0200
@@ -1,0 +2,7 @@
+Mon Jul 31 06:14:35 UTC 2023 - Michael Vetter <mvetter(a)suse.com>
+
+- Update to 2.14.2.2:
+ * Removed references to obsolete Email addresses.
+ * macOS Darwin defaults LCC to "cc".
+
+-------------------------------------------------------------------
Old:
----
calc-2.14.2.1.tar.bz2
New:
----
calc-2.14.2.2.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ calc.spec ++++++
--- /var/tmp/diff_new_pack.QJladU/_old 2023-07-31 15:25:15.135630035 +0200
+++ /var/tmp/diff_new_pack.QJladU/_new 2023-07-31 15:25:15.139630058 +0200
@@ -16,10 +16,10 @@
#
-%define soname 2_14_2_1
+%define soname 2_14_2_2
%define libname libcalc%{soname}
Name: calc
-Version: 2.14.2.1
+Version: 2.14.2.2
Release: 0
Summary: C-style arbitrary precision calculator
License: LGPL-2.1-only
++++++ calc-2.14.2.1.tar.bz2 -> calc-2.14.2.2.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calc-2.14.2.1/CHANGES new/calc-2.14.2.2/CHANGES
--- old/calc-2.14.2.1/CHANGES 2023-07-26 08:01:03.000000000 +0200
+++ new/calc-2.14.2.2/CHANGES 2023-07-29 06:18:10.000000000 +0200
@@ -9,6 +9,10 @@
Fixed sorted order of cal/README.
+ Removed references to obsolete Email addresses.
+
+ macOS Darwin defaults LCC to "cc".
+
The following are the changes from calc version 2.14.2.0 to 2.14.2.0:
@@ -1604,9 +1608,9 @@
There is a new calc bug report Email address:
- calc-bug-report at asthe dot com
+NOTE: calc-bug-report Email address no longer in use
- This replaces the old calc-bugs at asthe dot com address.
+ This replaces the old calc-bugs Email address.
To be sure we see your Email reporting a calc bug, please use the
following phase in your Email Subject line:
@@ -2200,7 +2204,7 @@
NOTE: If your target is not supported below and the default target
is not suitable for your needs, please send to the:
- calc-contrib at asthe dot com
+NOTE: calc-contrib Email address no longer in use
Email address an "ifeq ($(target),YOUR_TARGET_NAME)"
... "endif" set of lines from the Makefile so that
@@ -3923,9 +3927,9 @@
www.isthe.com. NOTE: The Email address uses 'asthe' and the web
site URL uses 'isthe'.
- Using calc-bugs at asthe dot com for calc bug reports,
- calc-contrib at asthe dot com for calc contributions,
- calc-tester-request at asthe dot com for requests to join calc-tester and
+NOTE: calc-bugs Email address no longer in use
+NOTE: calc-contrib Email address no longer in use
+NOTE: calc-tester-request Email address no longer in use
Replaced explicit Email addresses found this file with the <user at
site dot domain> notation to reduce the potential for those folks
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calc-2.14.2.1/Makefile new/calc-2.14.2.2/Makefile
--- old/calc-2.14.2.1/Makefile 2023-07-26 08:08:31.000000000 +0200
+++ new/calc-2.14.2.2/Makefile 2023-07-29 06:33:07.000000000 +0200
@@ -1381,7 +1381,7 @@
# The default calc versions
#
-VERSION= 2.14.2.1
+VERSION= 2.14.2.2
# Names of shared libraries with versions
#
@@ -1571,16 +1571,6 @@
#
# Specific target overrides or modifications to default values
-##########################################################################
-# NOTE: If your target is not supported below and the default target #
-# is not suitable for your needs, please send to the: #
-# #
-# calc-contrib at asthe dot com #
-# #
-# Email address an "ifeq ($(target),YOUR_TARGET_NAME)" ... "endif" #
-# set of lines so that we can consider them for the next release. #
-##########################################################################
-
#if 0 /* start of skip for non-Gnu makefiles */
#
################
@@ -1698,7 +1688,7 @@
CCOPT= ${DEBUG}
CCMISC= ${DARWIN_ARCH}
#
-LCC= clang
+LCC= cc
CC= ${PURIFY} ${LCC} ${CCWERR}
#
# Darwin dynamic shared lib filenames
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calc-2.14.2.1/Makefile.simple new/calc-2.14.2.2/Makefile.simple
--- old/calc-2.14.2.1/Makefile.simple 2023-07-26 08:08:31.000000000 +0200
+++ new/calc-2.14.2.2/Makefile.simple 2023-07-29 06:33:07.000000000 +0200
@@ -1239,7 +1239,7 @@
# The default calc versions
#
-VERSION= 2.14.2.1
+VERSION= 2.14.2.2
# Names of shared libraries with versions
#
@@ -1411,16 +1411,6 @@
#
# Specific target overrides or modifications to default values
-##########################################################################
-# NOTE: If your target is not supported below and the default target #
-# is not suitable for your needs, please send to the: #
-# #
-# calc-contrib at asthe dot com #
-# #
-# Email address an "ifeq ($(target),YOUR_TARGET_NAME)" ... "endif" #
-# set of lines so that we can consider them for the next release. #
-##########################################################################
-
#
BLD_TYPE= calc-static-only
#
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calc-2.14.2.1/cal/fnv_tool.cal new/calc-2.14.2.2/cal/fnv_tool.cal
--- old/calc-2.14.2.1/cal/fnv_tool.cal 2023-07-26 08:05:14.000000000 +0200
+++ new/calc-2.14.2.2/cal/fnv_tool.cal 2023-07-29 06:15:13.000000000 +0200
@@ -66,7 +66,7 @@
* NOTE: For n that is a power of 2 and n > 1024, you will find that
* that FNV primes become so rare that that one may not find a suitable
* FNV prime. For n = 2048, 4096, 8192, 16384, 32768, 65536, 131072
- * and 262144, there is NO suitable FNV prime.
+ * 262144, and 524288, there is NO suitable FNV prime.
*
* As for as hashing goes, large values of n, even if an
* FNV hash may be found, are unlikely to be truly useful. :-)
@@ -174,7 +174,7 @@
if (popcnt(bits) == 1) {
if (bits > 1024) {
print "# WARNING: FNV primes for powers of 2 > 1024 are extremely rare.";
- print "# WARNING: There are no FNV primes for 2048, 4096, 8192, 16384, 327678, 65536, 131072, nor 262144.";
+ print "# WARNING: There are no FNV primes for 2048, 4096, 8192, 16384, 327678, 65536, 131072, 262144, nor 524288.";
}
print "# NOTE: bits a power of 2 and bits >= 32: bits is suitable for a true FNV hash";
print "n =", bits;
@@ -208,17 +208,17 @@
}
/*
- * reject potential p value that is not prime
+ * reject p if p mod (2^40 - 2^24 - 1) <= (2^24 + 2^8 + 2^7)
*/
p = p_minus_b + b;
- if (ptest(p) == 0) {
+ if ((p % (2^40 - 2^24 - 1)) <= (2^24 + 2^8 + 2^7)) {
continue;
}
/*
- * accept p if p mod (2^40 - 2^24 - 1) > (2^24 + 2^8 + 2^7)
+ * accept potential p value that is prime
*/
- if ((p % (2^40 - 2^24 - 1)) > (2^24 + 2^8 + 2^7)) {
+ if (ptest(p) == 1) {
return p;
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calc-2.14.2.1/custom/Makefile new/calc-2.14.2.2/custom/Makefile
--- old/calc-2.14.2.1/custom/Makefile 2023-07-26 08:08:31.000000000 +0200
+++ new/calc-2.14.2.2/custom/Makefile 2023-07-29 06:33:07.000000000 +0200
@@ -475,7 +475,7 @@
# The default calc versions
#
-VERSION= 2.14.2.1
+VERSION= 2.14.2.2
# Names of shared libraries with versions
#
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calc-2.14.2.1/custom/Makefile.simple new/calc-2.14.2.2/custom/Makefile.simple
--- old/calc-2.14.2.1/custom/Makefile.simple 2023-07-26 08:08:31.000000000 +0200
+++ new/calc-2.14.2.2/custom/Makefile.simple 2023-07-29 06:33:07.000000000 +0200
@@ -445,7 +445,7 @@
# The default calc versions
#
-VERSION= 2.14.2.1
+VERSION= 2.14.2.2
# Names of shared libraries with versions
#
@@ -586,16 +586,6 @@
#
# Specific target overrides or modifications to default values
-##########################################################################
-# NOTE: If your target is not supported below and the default target #
-# is not suitable for your needs, please send to the: #
-# #
-# calc-contrib at asthe dot com #
-# #
-# Email address an "ifeq ($(target),YOUR_TARGET_NAME)" ... "endif" #
-# set of lines so that we can consider them for the next release. #
-##########################################################################
-
#
BLD_TYPE= calc-static-only
#
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calc-2.14.2.1/help/todo new/calc-2.14.2.2/help/todo
--- old/calc-2.14.2.1/help/todo 2021-12-06 08:03:23.000000000 +0100
+++ new/calc-2.14.2.2/help/todo 2023-07-29 06:15:13.000000000 +0200
@@ -101,11 +101,11 @@
Calc bug reports and calc bug fixes should be sent to:
- calc-bug-report at asthe dot com
+NOTE: calc-bug-report Email address no longer in use
NOTE: Remove spaces and replace 'at' with @, 'dot' with .
- This replaces the old calc-bugs at asthe dot com address.
+ This replaces the old calc-bugs Email address.
To be sure we see your Email reporting a calc bug, please use the
following phase in your Email Subject line:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calc-2.14.2.1/help/wishlist new/calc-2.14.2.2/help/wishlist
--- old/calc-2.14.2.1/help/wishlist 2021-12-06 08:03:23.000000000 +0100
+++ new/calc-2.14.2.2/help/wishlist 2023-07-29 06:15:13.000000000 +0200
@@ -187,11 +187,11 @@
Calc bug reports and calc bug fixes should be sent to:
- calc-bug-report at asthe dot com
+NOTE: calc-bug-report Email address no longer in use
NOTE: Remove spaces and replace 'at' with @, 'dot' with .
- This replaces the old calc-bugs at asthe dot com address.
+ This replaces the old calc-bugs Email address.
To be sure we see your Email reporting a calc bug, please use the
following phase in your Email Subject line:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calc-2.14.2.1/version.c new/calc-2.14.2.2/version.c
--- old/calc-2.14.2.1/version.c 2023-07-26 08:08:24.000000000 +0200
+++ new/calc-2.14.2.2/version.c 2023-07-29 06:33:00.000000000 +0200
@@ -84,7 +84,7 @@
#define MAJOR_VER 2 /* major library version */
#define MINOR_VER 14 /* minor library version */
#define MAJOR_PATCH 2 /* major software version level */
-#define MINOR_PATCH 1 /* minor software version level */
+#define MINOR_PATCH 2 /* minor software version level */
/*
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package openSUSE-release-tools for openSUSE:Factory checked in at 2023-07-31 15:25:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openSUSE-release-tools (Old)
and /work/SRC/openSUSE:Factory/.openSUSE-release-tools.new.32662 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openSUSE-release-tools"
Mon Jul 31 15:25:07 2023 rev:490 rq:1101499 version:20230731.178896c
Changes:
--------
--- /work/SRC/openSUSE:Factory/openSUSE-release-tools/openSUSE-release-tools.changes 2023-07-29 20:10:55.986153354 +0200
+++ /work/SRC/openSUSE:Factory/.openSUSE-release-tools.new.32662/openSUSE-release-tools.changes 2023-07-31 15:25:12.455614563 +0200
@@ -1,0 +2,6 @@
+Mon Jul 31 09:56:38 UTC 2023 - opensuse-releaseteam(a)opensuse.org
+
+- Update to version 20230731.178896c:
+ * Add LeapMicro 5.5 pipelines
+
+-------------------------------------------------------------------
Old:
----
openSUSE-release-tools-20230729.e576376.obscpio
New:
----
openSUSE-release-tools-20230731.178896c.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ openSUSE-release-tools.spec ++++++
--- /var/tmp/diff_new_pack.rdjD6R/_old 2023-07-31 15:25:13.455620336 +0200
+++ /var/tmp/diff_new_pack.rdjD6R/_new 2023-07-31 15:25:13.459620359 +0200
@@ -20,7 +20,7 @@
%define source_dir openSUSE-release-tools
%define announcer_filename factory-package-news
Name: openSUSE-release-tools
-Version: 20230729.e576376
+Version: 20230731.178896c
Release: 0
Summary: Tools to aid in staging and release work for openSUSE/SUSE
License: GPL-2.0-or-later AND MIT
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.rdjD6R/_old 2023-07-31 15:25:13.503620613 +0200
+++ /var/tmp/diff_new_pack.rdjD6R/_new 2023-07-31 15:25:13.507620636 +0200
@@ -1,7 +1,7 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/openSUSE/openSUSE-release-tools.git</param>
- <param name="changesrevision">e57637683cfef4f154cff203d343c2ec6a719115</param>
+ <param name="changesrevision">178896cc1fda3bf5a4295e5b12f0e1bf49d7293f</param>
</service>
</servicedata>
++++++ openSUSE-release-tools-20230729.e576376.obscpio -> openSUSE-release-tools-20230731.178896c.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openSUSE-release-tools-20230729.e576376/gocd/leapmicro.target.gocd.yaml new/openSUSE-release-tools-20230731.178896c/gocd/leapmicro.target.gocd.yaml
--- old/openSUSE-release-tools-20230729.e576376/gocd/leapmicro.target.gocd.yaml 2023-07-29 09:40:51.000000000 +0200
+++ new/openSUSE-release-tools-20230731.178896c/gocd/leapmicro.target.gocd.yaml 2023-07-31 11:55:33.000000000 +0200
@@ -17,7 +17,7 @@
resources:
- repo-checker
tasks:
- - script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve -p openSUSE:Leap:Micro:5.4 -s target --only-release-packages
+ - script: ./pkglistgen.py -A https://api.opensuse.org update_and_solve -p openSUSE:Leap:Micro:5.5 -s target --only-release-packages
LeapMicro.Package.Lists:
group: Leap
@@ -35,4 +35,4 @@
resources:
- repo-checker
tasks:
- - script: ./pkglistgen.py -A https://api.opensuse.org --debug update_and_solve -p openSUSE:Leap:Micro:5.4 -s target
+ - script: ./pkglistgen.py -A https://api.opensuse.org --debug update_and_solve -p openSUSE:Leap:Micro:5.5 -s target
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openSUSE-release-tools-20230729.e576376/gocd/totestmanager.gocd.yaml new/openSUSE-release-tools-20230731.178896c/gocd/totestmanager.gocd.yaml
--- old/openSUSE-release-tools-20230729.e576376/gocd/totestmanager.gocd.yaml 2023-07-29 09:40:51.000000000 +0200
+++ new/openSUSE-release-tools-20230731.178896c/gocd/totestmanager.gocd.yaml 2023-07-31 11:55:33.000000000 +0200
@@ -315,7 +315,7 @@
- script: |-
install -D /home/go/config/openqa-client.conf /home/go/.config/openqa/client.conf
scripts/totest-manager.py -A https://api.opensuse.org --debug run openSUSE:Leap:15.6:ARM:Images
- TTM.Leap_Micro_5.4:
+ TTM.Leap_Micro_5.5:
group: openSUSE.Checkers
lock_behavior: unlockWhenFinished
environment_variables:
@@ -335,8 +335,8 @@
tasks:
- script: |-
install -D /home/go/config/openqa-client.conf /home/go/.config/openqa/client.conf
- scripts/totest-manager.py -A https://api.opensuse.org --debug run openSUSE:Leap:Micro:5.4
- TTM.Leap_Micro_5.4_Images:
+ scripts/totest-manager.py -A https://api.opensuse.org --debug run openSUSE:Leap:Micro:5.5
+ TTM.Leap_Micro_5.5_Images:
group: openSUSE.Checkers
lock_behavior: unlockWhenFinished
environment_variables:
@@ -356,4 +356,4 @@
tasks:
- script: |-
install -D /home/go/config/openqa-client.conf /home/go/.config/openqa/client.conf
- scripts/totest-manager.py -A https://api.opensuse.org --debug run openSUSE:Leap:Micro:5.4:Images
+ scripts/totest-manager.py -A https://api.opensuse.org --debug run openSUSE:Leap:Micro:5.5:Images
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openSUSE-release-tools-20230729.e576376/gocd/totestmanager.gocd.yaml.erb new/openSUSE-release-tools-20230731.178896c/gocd/totestmanager.gocd.yaml.erb
--- old/openSUSE-release-tools-20230729.e576376/gocd/totestmanager.gocd.yaml.erb 2023-07-29 09:40:51.000000000 +0200
+++ new/openSUSE-release-tools-20230731.178896c/gocd/totestmanager.gocd.yaml.erb 2023-07-31 11:55:33.000000000 +0200
@@ -16,8 +16,8 @@
openSUSE:Leap:15.6:Images
openSUSE:Leap:15.6:ARM
openSUSE:Leap:15.6:ARM:Images
- openSUSE:Leap:Micro:5.4
- openSUSE:Leap:Micro:5.4:Images
+ openSUSE:Leap:Micro:5.5
+ openSUSE:Leap:Micro:5.5:Images
) -%>
TTM.<%= project.gsub('openSUSE:', '').gsub(':', '_') %>:
group: openSUSE.Checkers
++++++ openSUSE-release-tools.obsinfo ++++++
--- /var/tmp/diff_new_pack.rdjD6R/_old 2023-07-31 15:25:14.247624908 +0200
+++ /var/tmp/diff_new_pack.rdjD6R/_new 2023-07-31 15:25:14.251624931 +0200
@@ -1,5 +1,5 @@
name: openSUSE-release-tools
-version: 20230729.e576376
-mtime: 1690616451
-commit: e57637683cfef4f154cff203d343c2ec6a719115
+version: 20230731.178896c
+mtime: 1690797333
+commit: 178896cc1fda3bf5a4295e5b12f0e1bf49d7293f
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package tor for openSUSE:Factory checked in at 2023-07-31 15:25:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tor (Old)
and /work/SRC/openSUSE:Factory/.tor.new.32662 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tor"
Mon Jul 31 15:25:05 2023 rev:112 rq:1101498 version:0.4.7.14
Changes:
--------
--- /work/SRC/openSUSE:Factory/tor/tor.changes 2023-03-14 18:17:27.527992905 +0100
+++ /work/SRC/openSUSE:Factory/.tor.new.32662/tor.changes 2023-07-31 15:25:09.047594888 +0200
@@ -1,0 +2,6 @@
+Sun Jul 30 07:33:04 UTC 2023 - Andreas Stieger <andreas.stieger(a)gmx.de>
+
+- tor 0.4.7.14:
+ * bugfix affecting vanguards (onion service), and minor fixes
+
+-------------------------------------------------------------------
Old:
----
tor-0.4.7.13.tar.gz
tor-0.4.7.13.tar.gz.sha256sum
tor-0.4.7.13.tar.gz.sha256sum.asc
New:
----
tor-0.4.7.14.tar.gz
tor-0.4.7.14.tar.gz.sha256sum
tor-0.4.7.14.tar.gz.sha256sum.asc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ tor.spec ++++++
--- /var/tmp/diff_new_pack.Xic8p4/_old 2023-07-31 15:25:10.931605764 +0200
+++ /var/tmp/diff_new_pack.Xic8p4/_new 2023-07-31 15:25:10.935605788 +0200
@@ -20,7 +20,7 @@
%define torgroup %{name}
%define home_dir %{_localstatedir}/lib/empty
Name: tor
-Version: 0.4.7.13
+Version: 0.4.7.14
Release: 0
Summary: Anonymizing overlay network for TCP (The onion router)
License: BSD-3-Clause
++++++ tor-0.4.7.13.tar.gz -> tor-0.4.7.14.tar.gz ++++++
/work/SRC/openSUSE:Factory/tor/tor-0.4.7.13.tar.gz /work/SRC/openSUSE:Factory/.tor.new.32662/tor-0.4.7.14.tar.gz differ: char 13, line 1
++++++ tor-0.4.7.13.tar.gz.sha256sum -> tor-0.4.7.14.tar.gz.sha256sum ++++++
--- /work/SRC/openSUSE:Factory/tor/tor-0.4.7.13.tar.gz.sha256sum 2023-01-14 00:03:40.625871440 +0100
+++ /work/SRC/openSUSE:Factory/.tor.new.32662/tor-0.4.7.14.tar.gz.sha256sum 2023-07-31 15:25:08.959594381 +0200
@@ -1 +1 @@
-2079172cce034556f110048e26083ce9bea751f3154b0ad2809751815b11ea9d tor-0.4.7.13.tar.gz
+a5ac67f6466380fc05e8043d01c581e4e8a2b22fe09430013473e71065e65df8 tor-0.4.7.14.tar.gz
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package aravis for openSUSE:Factory checked in at 2023-07-31 15:25:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/aravis (Old)
and /work/SRC/openSUSE:Factory/.aravis.new.32662 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "aravis"
Mon Jul 31 15:25:04 2023 rev:4 rq:1101480 version:0.8.27
Changes:
--------
--- /work/SRC/openSUSE:Factory/aravis/aravis.changes 2023-03-31 21:16:07.742555163 +0200
+++ /work/SRC/openSUSE:Factory/.aravis.new.32662/aravis.changes 2023-07-31 15:25:05.375573689 +0200
@@ -1,0 +2,14 @@
+Mon Jul 24 18:39:12 UTC 2023 - Matwey Kornilov <matwey.kornilov(a)gmail.com>
+
+- Update to 0.8.26:
+ * camera: add vendor specific quirks to frame rate
+ * camera: multiple tap helpers
+ * gv: start packet timeout after the first non leader packet
+ * gv: auto packet size fix
+ * gv: add more camera to the legacy endianness mechanism exception list
+ * u3v: fix u3vcp_capability register size
+ * chore: compilation warning fixes
+ * ci: pipeline babysitting
+ * doc: link fix
+
+-------------------------------------------------------------------
Old:
----
aravis-0.8.26.tar.xz
New:
----
aravis-0.8.27.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ aravis.spec ++++++
--- /var/tmp/diff_new_pack.Y3n59R/_old 2023-07-31 15:25:08.347590847 +0200
+++ /var/tmp/diff_new_pack.Y3n59R/_new 2023-07-31 15:25:08.351590870 +0200
@@ -24,7 +24,7 @@
%define devname lib%{name}-%{sorel}-devel
%define typelibname typelib-1_0-Aravis-%{api}
Name: aravis
-Version: 0.8.26
+Version: 0.8.27
Release: 0
Summary: Glib/gobject based library implementing a Genicam interface
License: LGPL-2.1-or-later
++++++ aravis-0.8.26.tar.xz -> aravis-0.8.27.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aravis-0.8.26/.github/workflows/aravis-msvc.yml new/aravis-0.8.27/.github/workflows/aravis-msvc.yml
--- old/aravis-0.8.26/.github/workflows/aravis-msvc.yml 2023-02-17 08:27:02.000000000 +0100
+++ new/aravis-0.8.27/.github/workflows/aravis-msvc.yml 2023-06-09 10:47:49.000000000 +0200
@@ -21,7 +21,7 @@
steps:
- name: pip
run: |
- pip install conan
+ pip install "conan<2.0.0"
- name: disable-perl
run: |
rm -r C:\Strawberry\perl
@@ -32,7 +32,7 @@
INPUT_CONANFILE: |
[requires]
libiconv/1.17
- glib/2.74.1
+ glib/2.76.2
#gobject-introspection/1.69.0
gstreamer/1.19.2
gst-plugins-base/1.19.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aravis-0.8.26/NEWS.md new/aravis-0.8.27/NEWS.md
--- old/aravis-0.8.26/NEWS.md 2023-02-17 08:27:02.000000000 +0100
+++ new/aravis-0.8.27/NEWS.md 2023-06-09 10:47:49.000000000 +0200
@@ -1,3 +1,16 @@
+Stable release 0.8.27
+=====================
+
+ * camera: add vendor specific quirks to frame rate (durnezj)
+ * camera: multiple tap helpers #745 (Brian)
+ * gv: start packet timeout after the first non leader packet #746 (Brian)
+ * gv: auto packet size fix (Emmanuel)
+ * gv: add more camera to the legacy endianness mechanism exception list (Emmanuel)
+ * u3v: fix u3vcp_cpability register size (Emmanuel)
+ * chore: compilation warning fixes (Marco, Emmanuel)
+ * ci: pipeline babysitting (Emmanuel)
+ * doc: link fix (Henrique)
+
Stable release 0.8.26
=====================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aravis-0.8.26/RELEASING.md new/aravis-0.8.27/RELEASING.md
--- old/aravis-0.8.26/RELEASING.md 2023-02-17 08:27:02.000000000 +0100
+++ new/aravis-0.8.27/RELEASING.md 2023-06-09 10:47:49.000000000 +0200
@@ -12,10 +12,10 @@
easily done with a command such as:
```
-git log --stat X.Y.Z..
+git log --stat x.y.z..
```
- where X.Y.Z is the previous release version.
+ where x.y.z is the previous release version.
Summarize major changes briefly in a style similar to other
entries in NEWS. Take special care to note any additions in
@@ -40,13 +40,13 @@
the release directory.
```
-$ git tag -a ARAVIS_X_Y_Z (from whatever branch you're releasing)
-$ git push origin ARAVIS_X_Y_Z
+$ git tag -a x.y.z (from whatever branch you're releasing)
+$ git push origin x.y.z
```
If that fails because someone has pushed since you last updated, then you'll
need to repeat the entire process. Well, update, add a new NEWS entry, and
- make distcheck again.
+ ninja dist again.
* Upload the tarball to github.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aravis-0.8.26/docs/reference/aravis/ethernet.md new/aravis-0.8.27/docs/reference/aravis/ethernet.md
--- old/aravis-0.8.26/docs/reference/aravis/ethernet.md 2023-02-17 08:27:02.000000000 +0100
+++ new/aravis-0.8.27/docs/reference/aravis/ethernet.md 2023-06-09 10:47:49.000000000 +0200
@@ -101,3 +101,28 @@
```
sudo setcap cap_net_raw+ep arv-viewer
```
+
+# Legacy endianess mechanism
+
+Some GigEVision devices incorrectly report a Genicam schema version greater or
+equal to 1.1, while implementing the legacy behavior for register access. We
+maintain a list in
+[arvgcport.c](https://github.com/AravisProject/aravis/blob/6f1d65608dcecef2326ae2b3a542f5f59771ea32/src/arvgcport.c#L44)
+which allows to force the use of the legacy endianness mechanism.
+
+The documentation about the legacy endianness mechanism is in the 3.1 appendix
+('Endianess of GigE Vision Cameras') of the GenICam Standard.
+
+There is a chance this part of Aravis is due to a misunderstanding of how a
+GigEVision device is supposed to behave (Remember we can not use the GigEVision
+specification documentation). But until now, there was no evidence in the issue
+reports it is the case. If you think this should be implemented differently,
+don't hesitate to explain your thoughts on Aravis issue report system, or even
+better, to open a pull request. The related Aravis issues are available here:
+[https://github.com/AravisProject/aravis/labels/5. Genicam 1.0 legacy
+mode](https://github.com/AravisProject/aravis/labels/5.%20Genicam%201.0%20legacy%20mode).
+
+Meanwhile, if you want to add a device to the exception list, please open an
+issue on github, giving the vendor name and model name as found in the Genicam
+data of your device, using the `genicam` command of `arv-tool`. They are stored
+in the ModelName and VendorName attributes of the RegisterDescription element.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aravis-0.8.26/docs/reference/aravis/porting-0.8.md new/aravis-0.8.27/docs/reference/aravis/porting-0.8.md
--- old/aravis-0.8.26/docs/reference/aravis/porting-0.8.md 2023-02-17 08:27:02.000000000 +0100
+++ new/aravis-0.8.27/docs/reference/aravis/porting-0.8.md 2023-06-09 10:47:49.000000000 +0200
@@ -13,7 +13,7 @@
this opportunity to correctly handle errors.
There is a page explaining Glib errors and how to manage them in the [Glib
-documentation](https://developer.gnome.org/glib/stable/glib-Error-Reporting.html).
+documentation](https://docs.gtk.org/glib/error-reporting.html).
During the camera configuration, in C language it can be somehow cumbersome to
check for errors at each function call. A convenient way to deal with this issue
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aravis-0.8.26/meson.build new/aravis-0.8.27/meson.build
--- old/aravis-0.8.26/meson.build 2023-02-17 08:27:02.000000000 +0100
+++ new/aravis-0.8.27/meson.build 2023-06-09 10:47:49.000000000 +0200
@@ -1,4 +1,4 @@
-project ('aravis', 'c', 'cpp', version: '0.8.26', meson_version: '>=0.57.0')
+project ('aravis', 'c', 'cpp', version: '0.8.27', meson_version: '>=0.57.0')
gnome = import('gnome')
pkg = import ('pkgconfig')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aravis-0.8.26/src/arv.h new/aravis-0.8.27/src/arv.h
--- old/aravis-0.8.26/src/arv.h 2023-02-17 08:27:02.000000000 +0100
+++ new/aravis-0.8.27/src/arv.h 2023-06-09 10:47:49.000000000 +0200
@@ -85,6 +85,7 @@
#include <arvgcregisternode.h>
#include <arvgcselector.h>
#include <arvgcstring.h>
+#include <arvgcstringnode.h>
#include <arvgcstringregnode.h>
#include <arvgcstructregnode.h>
#include <arvgcstructentrynode.h>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aravis-0.8.26/src/arvcamera.c new/aravis-0.8.27/src/arvcamera.c
--- old/aravis-0.8.26/src/arvcamera.c 2023-02-17 08:27:02.000000000 +0100
+++ new/aravis-0.8.27/src/arvcamera.c 2023-06-09 10:47:49.000000000 +0200
@@ -1035,17 +1035,16 @@
g_return_if_fail (ARV_IS_CAMERA (camera));
if (frame_rate <= 0.0) {
- if (arv_camera_is_feature_available (camera, "AcquisitionFrameRateEnable", &local_error)) {
- if (local_error == NULL)
- arv_camera_set_boolean (camera, "AcquisitionFrameRateEnable", FALSE, error);
- else
- g_propagate_error (error, local_error);
+ arv_camera_set_frame_rate_enable(camera, FALSE, &local_error);
+ if (local_error != NULL)
+ {
+ g_propagate_error (error, local_error);
}
return;
}
- /* Ignore the error in order to be able to change the frame rate during the acquisition, as some devices don't
- * allow to change TriggerMode if the acquisition is already started. */
+ /* Ignore the error in order to be able to change the frame rate during the acquisition, as some devices don't
+ * allow to change TriggerMode if the acquisition is already started. */
arv_camera_clear_triggers (camera, NULL);
arv_camera_get_frame_rate_bounds (camera, &minimum, &maximum, &local_error);
@@ -1062,11 +1061,7 @@
switch (priv->vendor) {
case ARV_CAMERA_VENDOR_BASLER:
if (local_error == NULL){
- if (arv_camera_is_feature_available (camera, "AcquisitionFrameRateEnable", &local_error)){
- /* enable is optional on some devices */
- if (local_error == NULL)
- arv_camera_set_boolean (camera, "AcquisitionFrameRateEnable", TRUE, &local_error);
- }
+ arv_camera_set_frame_rate_enable(camera, TRUE, &local_error);
}
if (local_error == NULL)
arv_camera_set_float (camera,
@@ -1104,17 +1099,15 @@
}
break;
case ARV_CAMERA_VENDOR_POINT_GREY_FLIR:
- if (local_error == NULL) {
- if (priv->has_acquisition_frame_rate_enabled)
- arv_camera_set_boolean (camera, "AcquisitionFrameRateEnabled", TRUE, &local_error);
- else
- arv_camera_set_boolean (camera, "AcquisitionFrameRateEnable", TRUE, &local_error);
+ arv_camera_set_frame_rate_enable(camera, TRUE, &local_error);
+ if (local_error == NULL && priv->has_acquisition_frame_rate_auto) {
+ arv_camera_set_string (camera, "AcquisitionFrameRateAuto", "Off", &local_error);
}
- if (local_error == NULL)
- if (priv->has_acquisition_frame_rate_auto)
- arv_camera_set_string (camera, "AcquisitionFrameRateAuto", "Off", &local_error);
- if (local_error == NULL)
+
+ if (local_error == NULL) {
arv_camera_set_float (camera, "AcquisitionFrameRate", frame_rate, &local_error);
+ }
+
break;
case ARV_CAMERA_VENDOR_DALSA:
case ARV_CAMERA_VENDOR_RICOH:
@@ -1122,19 +1115,14 @@
case ARV_CAMERA_VENDOR_MATRIX_VISION:
case ARV_CAMERA_VENDOR_IMPERX:
case ARV_CAMERA_VENDOR_UNKNOWN:
- if (local_error == NULL) {
- if (arv_camera_is_feature_available (camera, "AcquisitionFrameRateEnable", &local_error)) {
- if (local_error == NULL)
- arv_camera_set_boolean (camera, "AcquisitionFrameRateEnable", TRUE, &local_error);
- }
- }
- if (local_error == NULL)
- arv_camera_set_float (camera,
- priv->has_acquisition_frame_rate ?
- "AcquisitionFrameRate":
- "AcquisitionFrameRateAbs", frame_rate, &local_error);
- break;
- }
+ arv_camera_set_frame_rate_enable(camera, TRUE, &local_error);
+ if (local_error == NULL)
+ arv_camera_set_float (camera,
+ priv->has_acquisition_frame_rate ?
+ "AcquisitionFrameRate":
+ "AcquisitionFrameRateAbs", frame_rate, &local_error);
+ break;
+ }
if (local_error != NULL)
g_propagate_error (error, local_error);
@@ -1271,6 +1259,66 @@
}
}
+/*
+* arv_camera_set_frame_rate_enable:
+* @camera: an #ArvCamera
+* @enable: true to enable, false to disable
+* @error: a #GError placeholer, %NULL to ignore
+*
+* Configures whether to enable the upper frame rate limit set by #arv_camera_set_frame_rate.
+* Implements vendor specific quirks if needed.
+* Since: 0.8.26
+*/
+void
+arv_camera_set_frame_rate_enable(ArvCamera *camera, gboolean enable, GError **error)
+{
+ ArvCameraPrivate *priv = arv_camera_get_instance_private (camera);
+ GError *local_error = NULL;
+
+ g_return_if_fail (ARV_IS_CAMERA (camera));
+
+ switch (priv->vendor) {
+ case ARV_CAMERA_VENDOR_BASLER:
+ if (local_error == NULL){
+ if (arv_camera_is_feature_available (camera, "AcquisitionFrameRateEnable", &local_error)){
+ /* enable is optional on some devices */
+ if (local_error == NULL)
+ arv_camera_set_boolean (camera, "AcquisitionFrameRateEnable", enable, &local_error);
+ }
+ }
+ break;
+ case ARV_CAMERA_VENDOR_POINT_GREY_FLIR:
+ if (local_error == NULL) {
+ if (priv->has_acquisition_frame_rate_enabled)
+ arv_camera_set_boolean (camera, "AcquisitionFrameRateEnabled", enable, &local_error);
+ else
+ arv_camera_set_boolean (camera, "AcquisitionFrameRateEnable", enable, &local_error);
+ }
+ break;
+ case ARV_CAMERA_VENDOR_DALSA:
+ case ARV_CAMERA_VENDOR_RICOH:
+ case ARV_CAMERA_VENDOR_XIMEA:
+ case ARV_CAMERA_VENDOR_MATRIX_VISION:
+ case ARV_CAMERA_VENDOR_IMPERX:
+ case ARV_CAMERA_VENDOR_UNKNOWN:
+ if (local_error == NULL) {
+ if (arv_camera_is_feature_available (camera, "AcquisitionFrameRateEnable", &local_error)) {
+ if (local_error == NULL)
+ arv_camera_set_boolean (camera, "AcquisitionFrameRateEnable", TRUE, &local_error);
+ }
+ }
+ break;
+ case ARV_CAMERA_VENDOR_PROSILICA:
+ case ARV_CAMERA_VENDOR_TIS:
+ default:
+ break; /* No specific frame rate enable code */
+ }
+
+ if (local_error != NULL) {
+ g_propagate_error (error, local_error);
+ }
+}
+
/**
* arv_camera_set_trigger:
* @camera: a #ArvCamera
@@ -1822,6 +1870,45 @@
}
/**
+ * arv_camera_select_gain:
+ * @camera: a #ArvCamera
+ * @selector: gain selector
+ * @error: a #GError placeholder, %NULL to ignore
+ *
+ * Configures Gain Selector feature.
+ *
+ * Since: 0.8.27
+ **/
+
+void
+arv_camera_select_gain (ArvCamera *camera, const char *selector, GError **error)
+{
+ arv_camera_set_string (camera, "GainSelector", selector, error);
+}
+
+/**
+ * arv_camera_dup_available_gains:
+ * @camera: a #ArvCamera
+ * @n_selectors: (out): number of different gain selectors
+ * @error: a #GError placeholder, %NULL to ignore
+ *
+ * Retrieves the list of all available gain selectors as strings.
+ *
+ * Returns: (array length=n_selectors) (transfer container): a newly allocated array of strings, to be freed after use with
+ * g_free().
+ *
+ * Since: 0.8.27
+ */
+
+const char **
+arv_camera_dup_available_gains (ArvCamera *camera, guint *n_selectors, GError **error)
+{
+ g_return_val_if_fail (ARV_IS_CAMERA (camera), NULL);
+
+ return arv_camera_dup_available_enumerations_as_strings (camera, "GainSelector", n_selectors, error);
+}
+
+/**
* arv_camera_is_black_level_available:
* @camera: a #ArvCamera
* @error: a #GError placeholder, %NULL to ignore
@@ -1897,6 +1984,45 @@
}
/**
+ * arv_camera_select_black_level:
+ * @camera: a #ArvCamera
+ * @selector: black level selection
+ * @error: a #GError placeholder, %NULL to ignore
+ *
+ * Configures Black Level Selector feature.
+ *
+ * Since: 0.8.27
+ **/
+
+void
+arv_camera_select_black_level (ArvCamera *camera, const char *selector, GError **error)
+{
+ arv_camera_set_string (camera, "BlackLevelSelector", selector, error);
+}
+
+/**
+ * arv_camera_dup_available_black_levels:
+ * @camera: a #ArvCamera
+ * @n_selectors: (out): number of different black level selectors
+ * @error: a #GError placeholder, %NULL to ignore
+ *
+ * Retrieves the list of all available black level selectors as strings.
+ *
+ * Returns: (array length=n_selectors) (transfer container): a newly allocated array of strings, to be freed after use with
+ * g_free().
+ *
+ * Since: 0.8.27
+ */
+
+const char **
+arv_camera_dup_available_black_levels (ArvCamera *camera, guint *n_selectors, GError **error)
+{
+ g_return_val_if_fail (ARV_IS_CAMERA (camera), NULL);
+
+ return arv_camera_dup_available_enumerations_as_strings (camera, "BlackLevelSelector", n_selectors, error);
+}
+
+/**
* arv_camera_get_black_level_bounds:
* @camera: a #ArvCamera
* @min: (out): minimum blacklevel
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aravis-0.8.26/src/arvcamera.h new/aravis-0.8.27/src/arvcamera.h
--- old/aravis-0.8.26/src/arvcamera.h 2023-02-17 08:27:02.000000000 +0100
+++ new/aravis-0.8.27/src/arvcamera.h 2023-06-09 10:47:49.000000000 +0200
@@ -110,6 +110,7 @@
ARV_API void arv_camera_set_frame_count (ArvCamera *camera, gint64 frame_count, GError **error);
ARV_API gint64 arv_camera_get_frame_count (ArvCamera *camera, GError **error);
ARV_API void arv_camera_get_frame_count_bounds (ArvCamera *camera, gint64 *min, gint64 *max, GError **error);
+ARV_API void arv_camera_set_frame_rate_enable (ArvCamera *camera, gboolean enable, GError **error);
ARV_API gboolean arv_camera_is_frame_rate_available (ArvCamera *camera, GError **error);
@@ -140,6 +141,8 @@
ARV_API gboolean arv_camera_is_gain_available (ArvCamera *camera, GError **error);
ARV_API gboolean arv_camera_is_gain_auto_available (ArvCamera *camera, GError **error);
+ARV_API void arv_camera_select_gain (ArvCamera *camera, const char *selector, GError **error);
+ARV_API const char ** arv_camera_dup_available_gains (ArvCamera *camera, guint *n_selectors, GError **error);
ARV_API void arv_camera_set_gain (ArvCamera *camera, double gain, GError **error);
ARV_API double arv_camera_get_gain (ArvCamera *camera, GError **error);
@@ -149,6 +152,8 @@
ARV_API gboolean arv_camera_is_black_level_available (ArvCamera *camera, GError **error);
ARV_API gboolean arv_camera_is_black_level_auto_available(ArvCamera *camera, GError **error);
+ARV_API void arv_camera_select_black_level (ArvCamera *camera, const char *selector, GError **error);
+ARV_API const char ** arv_camera_dup_available_black_levels (ArvCamera *camera, guint *n_selectors, GError **error);
ARV_API void arv_camera_set_black_level (ArvCamera *camera, double blacklevel, GError **error);
ARV_API double arv_camera_get_black_level (ArvCamera *camera, GError **error);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aravis-0.8.26/src/arvdebug.c new/aravis-0.8.27/src/arvdebug.c
--- old/aravis-0.8.26/src/arvdebug.c 2023-02-17 08:27:02.000000000 +0100
+++ new/aravis-0.8.27/src/arvdebug.c 2023-06-09 10:47:49.000000000 +0200
@@ -264,7 +264,6 @@
GEnumClass *debug_level_class = g_type_class_ref (ARV_TYPE_DEBUG_LEVEL);
GString *string = g_string_new ("");
unsigned int i;
- char *str;
g_string_append (string, "Debug categories:\n");
for (i = 0; i < ARV_DEBUG_CATEGORY_N_ELEMENTS; i++) {
@@ -285,10 +284,7 @@
g_type_class_unref (debug_level_class);
- str = string->str;
- g_string_free (string, FALSE);
-
- return str;
+ return arv_g_string_free_and_steal(string);
}
void
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aravis-0.8.26/src/arvenums.h new/aravis-0.8.27/src/arvenums.h
--- old/aravis-0.8.26/src/arvenums.h 2023-02-17 08:27:02.000000000 +0100
+++ new/aravis-0.8.27/src/arvenums.h 2023-06-09 10:47:49.000000000 +0200
@@ -1,6 +1,6 @@
/* Aravis - Digital camera library
*
- * Copyright © 2009-2022 Emmanuel Pacaud
+ * Copyright © 2009-2023 Emmanuel Pacaud
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aravis-0.8.26/src/arvgc.c new/aravis-0.8.27/src/arvgc.c
--- old/aravis-0.8.26/src/arvgc.c 2023-02-17 08:27:02.000000000 +0100
+++ new/aravis-0.8.27/src/arvgc.c 2023-06-09 10:47:49.000000000 +0200
@@ -256,6 +256,12 @@
node = arv_gc_invalidator_node_new ();
else if (strcmp (tag_name, "Streamable") == 0)
node = arv_gc_property_node_new_streamable ();
+ else if (strcmp (tag_name, "IsDeprecated") == 0)
+ node = arv_gc_property_node_new_is_deprecated ();
+ else if (strcmp (tag_name, "pAlias") == 0)
+ node = arv_gc_property_node_new_p_alias ();
+ else if (strcmp (tag_name, "pCastAlias") == 0)
+ node = arv_gc_property_node_new_p_cast_alias ();
else if (strcmp (tag_name, "CommandValue") == 0)
node = arv_gc_property_node_new_command_value ();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aravis-0.8.26/src/arvgcfeaturenode.c new/aravis-0.8.27/src/arvgcfeaturenode.c
--- old/aravis-0.8.26/src/arvgcfeaturenode.c 2023-02-17 08:27:02.000000000 +0100
+++ new/aravis-0.8.27/src/arvgcfeaturenode.c 2023-06-09 10:47:49.000000000 +0200
@@ -56,6 +56,9 @@
ArvGcPropertyNode *is_locked;
ArvGcPropertyNode *imposed_access_mode;
ArvGcPropertyNode *streamable;
+ ArvGcPropertyNode *is_deprecated;
+ ArvGcPropertyNode *alias;
+ ArvGcPropertyNode *cast_alias;
guint64 change_count;
@@ -106,7 +109,16 @@
priv->imposed_access_mode = property_node;
break;
case ARV_GC_PROPERTY_NODE_TYPE_STREAMABLE:
- priv->streamable = property_node; /* TODO */
+ priv->streamable = property_node; /* TODO */
+ break;
+ case ARV_GC_PROPERTY_NODE_TYPE_IS_DEPRECATED:
+ priv->is_deprecated = property_node; /* TODO */
+ break;
+ case ARV_GC_PROPERTY_NODE_TYPE_P_ALIAS:
+ priv->alias = property_node; /* TODO */
+ break;
+ case ARV_GC_PROPERTY_NODE_TYPE_P_CAST_ALIAS:
+ priv->alias = property_node; /* TODO */
break;
default:
break;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aravis-0.8.26/src/arvgcport.c new/aravis-0.8.27/src/arvgcport.c
--- old/aravis-0.8.26/src/arvgcport.c 2023-02-17 08:27:02.000000000 +0100
+++ new/aravis-0.8.27/src/arvgcport.c 2023-06-09 10:47:49.000000000 +0200
@@ -41,11 +41,31 @@
const char *model_selection;
} ArvGvLegacyInfos;
+/*
+ * Some GigEVision devices incorrectly report a Genicam schema version greater or equal to 1.1, while implementing the
+ * legacy behavior for register access. This list allows to force the use of the legacy endianness mechanism. Vendor and
+ * model listed below are those found in the Genicam XML data, which can be obtained using the `genicam` command of
+ * `arv-tool`. They are stored in the ModelName and VendorName attributes of the RegisterDescription element.
+ *
+ * The documentation about the legacy endianness mechanism is in the 3.1 appendix ('Endianess of GigE Vision Cameras')
+ * of the GenICam Standard.
+ *
+ * There is a chance this part of Aravis is due to a misunderstanding of how a GigEVision device is supposed to behave
+ * (Remember we can not use the GigEVision specification documentation). But until now, there was no evidence in the
+ * issue reports it is the case. If you think this should be implemented differently, don't hesitate to explain your
+ * thoughts on Aravis issue report system, or even better, to open a pull request. The related Aravis issues are
+ * available here:
+ *
+ * https://github.com/AravisProject/aravis/labels/5.%20Genicam%201.0%20legacy%…
+ */
+
static ArvGvLegacyInfos arv_gc_port_legacy_infos[] = {
{ .vendor_selection = "Imperx", .model_selection = "IpxGEVCamera"},
{ .vendor_selection = "KowaOptronics", .model_selection = "SC130ET3"},
+ { .vendor_selection = "NIT", .model_selection = "Tachyon16k"},
{ .vendor_selection = "PleoraTechnologiesInc", .model_selection = "iPORTCLGigE"},
{ .vendor_selection = "PleoraTechnologiesInc", .model_selection = "NTxGigE"},
+ { .vendor_selection = "TeledyneDALSA", .model_selection = "ICE"},
{ .vendor_selection = "Sony", .model_selection = "XCG_CGSeries"},
};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aravis-0.8.26/src/arvgcpropertynode.c new/aravis-0.8.27/src/arvgcpropertynode.c
--- old/aravis-0.8.26/src/arvgcpropertynode.c 2023-02-17 08:27:02.000000000 +0100
+++ new/aravis-0.8.27/src/arvgcpropertynode.c 2023-06-09 10:47:49.000000000 +0200
@@ -36,7 +36,7 @@
#include <arvgcstring.h>
#include <arvgc.h>
#include <arvdomtext.h>
-#include <arvmisc.h>
+#include <arvmiscprivate.h>
#include <arvdebugprivate.h>
#include <arvenumtypes.h>
#include <string.h>
@@ -242,8 +242,7 @@
iter = arv_dom_node_get_next_sibling (iter))
g_string_append (string, arv_dom_character_data_get_data (ARV_DOM_CHARACTER_DATA (iter)));
g_free (priv->value_data);
- priv->value_data = string->str;
- g_string_free (string, FALSE);
+ priv->value_data = arv_g_string_free_and_steal(string);
priv->value_data_up_to_date = TRUE;
}
@@ -1054,6 +1053,24 @@
return arv_gc_property_node_new (ARV_GC_PROPERTY_NODE_TYPE_STREAMABLE);
}
+ArvGcNode *
+arv_gc_property_node_new_is_deprecated (void)
+{
+ return arv_gc_property_node_new (ARV_GC_PROPERTY_NODE_TYPE_IS_DEPRECATED);
+}
+
+ArvGcNode *
+arv_gc_property_node_new_p_alias (void)
+{
+ return arv_gc_property_node_new (ARV_GC_PROPERTY_NODE_TYPE_P_ALIAS);
+}
+
+ArvGcNode *
+arv_gc_property_node_new_p_cast_alias (void)
+{
+ return arv_gc_property_node_new (ARV_GC_PROPERTY_NODE_TYPE_P_CAST_ALIAS);
+}
+
static void
_set_property (GObject * object, guint prop_id,
const GValue * value, GParamSpec * pspec)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aravis-0.8.26/src/arvgcpropertynode.h new/aravis-0.8.27/src/arvgcpropertynode.h
--- old/aravis-0.8.26/src/arvgcpropertynode.h 2023-02-17 08:27:02.000000000 +0100
+++ new/aravis-0.8.27/src/arvgcpropertynode.h 2023-06-09 10:47:49.000000000 +0200
@@ -74,6 +74,7 @@
ARV_GC_PROPERTY_NODE_TYPE_VALUE_INDEXED,
ARV_GC_PROPERTY_NODE_TYPE_VALUE_DEFAULT,
ARV_GC_PROPERTY_NODE_TYPE_STREAMABLE,
+ ARV_GC_PROPERTY_NODE_TYPE_IS_DEPRECATED,
ARV_GC_PROPERTY_NODE_TYPE_P_UNKNONW = 1000,
ARV_GC_PROPERTY_NODE_TYPE_P_FEATURE,
@@ -93,7 +94,9 @@
ARV_GC_PROPERTY_NODE_TYPE_P_INVALIDATOR,
ARV_GC_PROPERTY_NODE_TYPE_P_COMMAND_VALUE,
ARV_GC_PROPERTY_NODE_TYPE_P_VALUE_INDEXED,
- ARV_GC_PROPERTY_NODE_TYPE_P_VALUE_DEFAULT
+ ARV_GC_PROPERTY_NODE_TYPE_P_VALUE_DEFAULT,
+ ARV_GC_PROPERTY_NODE_TYPE_P_ALIAS,
+ ARV_GC_PROPERTY_NODE_TYPE_P_CAST_ALIAS
} ArvGcPropertyNodeType;
#define ARV_TYPE_GC_PROPERTY_NODE (arv_gc_property_node_get_type ())
@@ -155,6 +158,9 @@
ARV_API ArvGcNode * arv_gc_property_node_new_value_default (void);
ARV_API ArvGcNode * arv_gc_property_node_new_p_value_default (void);
ARV_API ArvGcNode * arv_gc_property_node_new_streamable (void);
+ARV_API ArvGcNode * arv_gc_property_node_new_is_deprecated (void);
+ARV_API ArvGcNode * arv_gc_property_node_new_p_alias (void);
+ARV_API ArvGcNode * arv_gc_property_node_new_p_cast_alias (void);
ARV_API const char * arv_gc_property_node_get_name (ArvGcPropertyNode *node);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aravis-0.8.26/src/arvgvcp.c new/aravis-0.8.27/src/arvgvcp.c
--- old/aravis-0.8.26/src/arvgvcp.c 2023-02-17 08:27:02.000000000 +0100
+++ new/aravis-0.8.27/src/arvgvcp.c 2023-06-09 10:47:49.000000000 +0200
@@ -27,6 +27,7 @@
#include <arvgvcpprivate.h>
#include <arvgvspprivate.h>
+#include <arvmiscprivate.h>
#include <arvenumtypes.h>
#include <arvenumtypesprivate.h>
#include <string.h>
@@ -487,7 +488,6 @@
arv_gvcp_packet_flags_to_string_new (ArvGvcpCommand command, guint8 flags)
{
GString *string = g_string_new ("");
- char *buffer = NULL;
unsigned i;
for (i = 0; i < 8; i++) {
@@ -518,11 +518,7 @@
if (string->len == 0)
g_string_append (string, "none");
- buffer = string->str;
-
- g_string_free (string, FALSE);
-
- return buffer;
+ return arv_g_string_free_and_steal(string);
}
/**
@@ -572,7 +568,6 @@
arv_gvcp_packet_to_string (const ArvGvcpPacket *packet)
{
GString *string;
- char *c_string;
char *data;
int packet_size;
guint32 value;
@@ -663,11 +658,7 @@
arv_g_string_append_hex_dump (string, packet, packet_size);
- c_string = string->str;
-
- g_string_free (string, FALSE);
-
- return c_string;
+ return arv_g_string_free_and_steal(string);
}
/**
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aravis-0.8.26/src/arvgvdevice.c new/aravis-0.8.27/src/arvgvdevice.c
--- old/aravis-0.8.26/src/arvgvdevice.c 2023-02-17 08:27:02.000000000 +0100
+++ new/aravis-0.8.27/src/arvgvdevice.c 2023-06-09 10:47:49.000000000 +0200
@@ -728,19 +728,20 @@
do {
if (current_size == last_size ||
- min_size + inc >= max_size)
+ min_size + inc > max_size)
break;
last_size = current_size;
- arv_info_device ("[GvDevice::auto_packet_size] Try packet size = %d (min: %d - max: %d - inc: %d)",
- current_size, min_size, max_size, inc);
arv_device_set_integer_feature_value (device, "ArvGevSCPSPacketSize", current_size, NULL);
current_size = arv_device_get_integer_feature_value (device, "ArvGevSCPSPacketSize", &local_error);
if (local_error != NULL)
break;
+ arv_info_device ("[GvDevice::auto_packet_size] Try packet size = %d (%d - min: %d - max: %d - inc: %d)",
+ current_size, last_size, min_size, max_size, inc);
+
success = test_packet_check (device, &poll_fd, socket, buffer, max_size, current_size);
if (success) {
@@ -753,7 +754,7 @@
max_size = current_size;
}
- current_size = min_size + (((max_size - min_size) / 2 + 1) / inc) * inc;
+ current_size = min_size + (((max_size - min_size) / 2) / inc) * inc;
} while (TRUE);
if (local_error == NULL) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aravis-0.8.26/src/arvgvsp.c new/aravis-0.8.27/src/arvgvsp.c
--- old/aravis-0.8.26/src/arvgvsp.c 2023-02-17 08:27:02.000000000 +0100
+++ new/aravis-0.8.27/src/arvgvsp.c 2023-06-09 10:47:49.000000000 +0200
@@ -26,7 +26,7 @@
*/
#include <arvdebug.h>
-#include <arvmisc.h>
+#include <arvmiscprivate.h>
#include <arvenumtypes.h>
#include <arvgvspprivate.h>
#include <arvenumtypesprivate.h>
@@ -173,7 +173,6 @@
guint part_id;
ptrdiff_t offset;
GString *string;
- char *c_string;
string = g_string_new ("");
@@ -275,11 +274,7 @@
break;
}
- c_string = string->str;
-
- g_string_free (string, FALSE);
-
- return c_string;
+ return arv_g_string_free_and_steal(string);
}
void
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aravis-0.8.26/src/arvgvspprivate.h new/aravis-0.8.27/src/arvgvspprivate.h
--- old/aravis-0.8.26/src/arvgvspprivate.h 2023-02-17 08:27:02.000000000 +0100
+++ new/aravis-0.8.27/src/arvgvspprivate.h 2023-06-09 10:47:49.000000000 +0200
@@ -270,12 +270,12 @@
arv_gvsp_packet_get_content_type (const ArvGvspPacket *packet)
{
if (arv_gvsp_packet_has_extended_ids (packet)) {
- ArvGvspExtendedHeader *header = (void *) &packet->header;
+ ArvGvspExtendedHeader *header = (ArvGvspExtendedHeader *) &packet->header;
return (ArvGvspContentType) ((g_ntohl (header->packet_infos) & ARV_GVSP_PACKET_INFOS_CONTENT_TYPE_MASK) >>
ARV_GVSP_PACKET_INFOS_CONTENT_TYPE_POS);
} else {
- ArvGvspHeader *header = (void *) &packet->header;
+ ArvGvspHeader *header = (ArvGvspHeader *) &packet->header;
return (ArvGvspContentType) ((g_ntohl (header->packet_infos) & ARV_GVSP_PACKET_INFOS_CONTENT_TYPE_MASK) >>
ARV_GVSP_PACKET_INFOS_CONTENT_TYPE_POS);
@@ -327,11 +327,11 @@
arv_gvsp_packet_get_packet_id (const ArvGvspPacket *packet)
{
if (arv_gvsp_packet_has_extended_ids (packet)) {
- ArvGvspExtendedHeader *header = (void *) &packet->header;
+ ArvGvspExtendedHeader *header = (ArvGvspExtendedHeader *) &packet->header;
return g_ntohl (header->packet_id);
} else {
- ArvGvspHeader *header = (void *) &packet->header;
+ ArvGvspHeader *header = (ArvGvspHeader *) &packet->header;
return g_ntohl (header->packet_infos) & ARV_GVSP_PACKET_ID_MASK;
}
@@ -341,11 +341,11 @@
arv_gvsp_packet_get_frame_id (const ArvGvspPacket *packet)
{
if (arv_gvsp_packet_has_extended_ids (packet)) {
- ArvGvspExtendedHeader *header = (void *) &packet->header;
+ ArvGvspExtendedHeader *header = (ArvGvspExtendedHeader *) &packet->header;
return GUINT64_FROM_BE(header->frame_id);
} else {
- ArvGvspHeader *header = (void *) &packet->header;
+ ArvGvspHeader *header = (ArvGvspHeader *) &packet->header;
return g_ntohs (header->frame_id);
}
@@ -355,11 +355,11 @@
arv_gvsp_packet_get_data (const ArvGvspPacket *packet)
{
if (arv_gvsp_packet_has_extended_ids (packet)) {
- ArvGvspExtendedHeader *header = (void *) &packet->header;
+ ArvGvspExtendedHeader *header = (ArvGvspExtendedHeader *) &packet->header;
return &header->data;
} else {
- ArvGvspHeader *header = (void *) &packet->header;
+ ArvGvspHeader *header = (ArvGvspHeader *) &packet->header;
return &header->data;
}
@@ -372,14 +372,14 @@
ArvGvspLeader *leader;
guint16 payload_type;
- leader = arv_gvsp_packet_get_data (packet);
+ leader = (ArvGvspLeader *) arv_gvsp_packet_get_data (packet);
payload_type = g_ntohs (leader->payload_type);
if (has_chunks != NULL)
*has_chunks = ((payload_type & 0x4000) != 0 ||
(payload_type == 0x0004));
- return payload_type & 0x3fff;
+ return (ArvBufferPayloadType) (payload_type & 0x3fff);
}
return ARV_BUFFER_PAYLOAD_TYPE_UNKNOWN;
@@ -391,7 +391,7 @@
if (G_LIKELY (arv_gvsp_packet_get_content_type (packet) == ARV_GVSP_CONTENT_TYPE_LEADER)) {
ArvGvspLeader *leader;
- leader = arv_gvsp_packet_get_data (packet);
+ leader = (ArvGvspLeader *) arv_gvsp_packet_get_data (packet);
return ((guint64) g_ntohl (leader->timestamp_high) << 32) | g_ntohl (leader->timestamp_low);
}
@@ -404,10 +404,10 @@
{
if (arv_gvsp_leader_packet_get_buffer_payload_type (packet, NULL) == ARV_BUFFER_PAYLOAD_TYPE_MULTIPART) {
if (arv_gvsp_packet_has_extended_ids (packet)) {
- ArvGvspExtendedHeader *header = (void *) &packet->header;
+ ArvGvspExtendedHeader *header = (ArvGvspExtendedHeader *) &packet->header;
return (g_ntohl (header->packet_infos) & ARV_GVSP_PACKET_INFOS_N_PARTS_MASK);
} else {
- ArvGvspHeader *header = (void *) &packet->header;
+ ArvGvspHeader *header = (ArvGvspHeader *) &packet->header;
return (g_ntohl (header->packet_infos) & ARV_GVSP_PACKET_INFOS_N_PARTS_MASK);
}
}
@@ -437,11 +437,11 @@
if (part_id >= n_parts)
return FALSE;
- leader = arv_gvsp_packet_get_data (packet);
+ leader = (ArvGvspMultipartLeader *) arv_gvsp_packet_get_data (packet);
infos = &leader->parts[part_id];
*purpose_id = g_ntohs(infos->data_purpose_id);
- *data_type = g_ntohs (infos->data_type);
+ *data_type = (ArvBufferPartDataType) g_ntohs (infos->data_type);
*size = g_ntohl (infos->part_length_low) + (((guint64) g_ntohs (infos->part_length_high)) << 32);
*pixel_format = g_ntohl (infos->pixel_format);
*width = g_ntohl (infos->width);
@@ -466,7 +466,7 @@
if (part_id >= n_parts)
return 0;
- leader = arv_gvsp_packet_get_data (packet);
+ leader = (ArvGvspMultipartLeader *) arv_gvsp_packet_get_data (packet);
infos = &leader->parts[part_id];
return g_ntohl (infos->part_length_low) + (((guint64) g_ntohs (infos->part_length_high)) << 32);
@@ -487,7 +487,7 @@
payload_type == ARV_BUFFER_PAYLOAD_TYPE_EXTENDED_CHUNK_DATA) {
ArvGvspImageLeader *leader;
- leader = arv_gvsp_packet_get_data (packet);
+ leader = (ArvGvspImageLeader *) arv_gvsp_packet_get_data (packet);
*pixel_format = g_ntohl (leader->infos.pixel_format);
*width = g_ntohl (leader->infos.width);
@@ -526,7 +526,7 @@
return FALSE;
}
- multipart = arv_gvsp_packet_get_data(packet);
+ multipart = (ArvGvspMultipart *) arv_gvsp_packet_get_data(packet);
*part_id = multipart->part_id;
*offset = ( (guint64) g_ntohs(multipart->offset_high) << 32) + g_ntohl(multipart->offset_low);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aravis-0.8.26/src/arvgvstream.c new/aravis-0.8.27/src/arvgvstream.c
--- old/aravis-0.8.26/src/arvgvstream.c 2023-02-17 08:27:02.000000000 +0100
+++ new/aravis-0.8.27/src/arvgvstream.c 2023-06-09 10:47:49.000000000 +0200
@@ -814,6 +814,10 @@
}
if (can_close_frame &&
+ /* Do not timeout on the most recent frame if the LEADER packet is so far the ONLY
+ * valid packet received. This is needed by some devices sending the leader packet early, at
+ * acquisition start. */
+ (frame->frame_id != thread_data->last_frame_id || frame->last_valid_packet != 0) &&
time_us - frame->last_packet_time_us >= thread_data->frame_retention_us) {
frame->buffer->priv->status = ARV_BUFFER_STATUS_TIMEOUT;
arv_warning_stream_thread ("[GvStream::check_frame_completion] Timeout for frame %"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aravis-0.8.26/src/arvmisc.c new/aravis-0.8.27/src/arvmisc.c
--- old/aravis-0.8.26/src/arvmisc.c 2023-02-17 08:27:02.000000000 +0100
+++ new/aravis-0.8.27/src/arvmisc.c 2023-06-09 10:47:49.000000000 +0200
@@ -279,7 +279,6 @@
int i, j, bin_max;
gboolean max_found = FALSE;
GString *string;
- char *str;
g_return_val_if_fail (histogram != NULL, NULL);
@@ -369,10 +368,7 @@
g_string_append_printf (string, ":%12llu", (unsigned long long) histogram->variables[j].counter);
}
- str = string->str;
- g_string_free (string, FALSE);
-
- return str;
+ return arv_g_string_free_and_steal(string);
}
ArvValue *
@@ -1158,3 +1154,17 @@
return regex;
}
+
+char *
+arv_g_string_free_and_steal (GString *string)
+{
+#if GLIB_CHECK_VERSION(2,75,4)
+ return g_string_free_and_steal(string);
+#else
+ char *buffer = string->str;
+
+ g_string_free (string, FALSE);
+
+ return buffer;
+#endif
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aravis-0.8.26/src/arvmiscprivate.h new/aravis-0.8.27/src/arvmiscprivate.h
--- old/aravis-0.8.26/src/arvmiscprivate.h 2023-02-17 08:27:02.000000000 +0100
+++ new/aravis-0.8.27/src/arvmiscprivate.h 2023-06-09 10:47:49.000000000 +0200
@@ -66,6 +66,10 @@
gboolean arv_value_holds_int64 (ArvValue *value);
double arv_value_holds_double (ArvValue *value);
+/* Compatibility functions */
+
+char * arv_g_string_free_and_steal (GString *string) G_GNUC_WARN_UNUSED_RESULT;
+
/* private, but used by tests */
ARV_API gboolean arv_parse_genicam_url (const char *url, gssize url_length,
char **scheme, char **authority, char **path,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aravis-0.8.26/src/arvuvcp.c new/aravis-0.8.27/src/arvuvcp.c
--- old/aravis-0.8.26/src/arvuvcp.c 2023-02-17 08:27:02.000000000 +0100
+++ new/aravis-0.8.27/src/arvuvcp.c 2023-06-09 10:47:49.000000000 +0200
@@ -25,6 +25,7 @@
* @short_description: USB3Vision control packet handling
*/
+#include <arvmiscprivate.h>
#include <arvuvcpprivate.h>
#include <arvenumtypesprivate.h>
#include <arvdebug.h>
@@ -148,7 +149,6 @@
{
ArvUvcpCommand command;
GString *string;
- char *c_string;
int packet_size;
guint64 value;
@@ -206,11 +206,7 @@
arv_g_string_append_hex_dump (string, packet, packet_size);
- c_string = string->str;
-
- g_string_free (string, FALSE);
-
- return c_string;
+ return arv_g_string_free_and_steal(string);
}
/**
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aravis-0.8.26/src/arvuvcpprivate.h new/aravis-0.8.27/src/arvuvcpprivate.h
--- old/aravis-0.8.26/src/arvuvcpprivate.h 2023-02-17 08:27:02.000000000 +0100
+++ new/aravis-0.8.27/src/arvuvcpprivate.h 2023-06-09 10:47:49.000000000 +0200
@@ -314,7 +314,7 @@
arv_uvcp_packet_get_flags (const ArvUvcpPacket *packet)
{
if (packet == NULL)
- return 0;
+ return (ArvUvcpFlags) 0;
return (ArvUvcpFlags) GUINT16_FROM_LE (packet->header.flags);
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aravis-0.8.26/src/arvuvdevice.c new/aravis-0.8.27/src/arvuvdevice.c
--- old/aravis-0.8.26/src/arvuvdevice.c 2023-02-17 08:27:02.000000000 +0100
+++ new/aravis-0.8.27/src/arvuvdevice.c 2023-06-09 10:47:49.000000000 +0200
@@ -462,7 +462,7 @@
guint64 device_capability;
guint32 max_cmd_transfer;
guint32 max_ack_transfer;
- guint32 u3vcp_capability;
+ guint64 u3vcp_capability;
guint64 sirm_offset;
guint32 si_info;
guint32 si_control;
@@ -493,10 +493,14 @@
manufacturer[63] = 0;
arv_info_device ("MANUFACTURER_NAME = '%s'", manufacturer);
- success = success && arv_device_read_memory (device, ARV_ABRM_SBRM_ADDRESS, sizeof (guint64), &offset, NULL);
- success = success && arv_device_read_memory (device, ARV_ABRM_MAX_DEVICE_RESPONSE_TIME, sizeof (guint32), &response_time, NULL);
- success = success && arv_device_read_memory (device, ARV_ABRM_DEVICE_CAPABILITY, sizeof (guint64), &device_capability, NULL);
- success = success && arv_device_read_memory (device, ARV_ABRM_MANIFEST_TABLE_ADDRESS, sizeof (guint64), &manifest_table_address, NULL);
+ success = success && arv_device_read_memory (device, ARV_ABRM_SBRM_ADDRESS,
+ sizeof (offset), &offset, NULL);
+ success = success && arv_device_read_memory (device, ARV_ABRM_MAX_DEVICE_RESPONSE_TIME,
+ sizeof (response_time), &response_time, NULL);
+ success = success && arv_device_read_memory (device, ARV_ABRM_DEVICE_CAPABILITY,
+ sizeof (device_capability), &device_capability, NULL);
+ success = success && arv_device_read_memory (device, ARV_ABRM_MANIFEST_TABLE_ADDRESS,
+ sizeof (manifest_table_address), &manifest_table_address, NULL);
if (!success) {
arv_warning_device ("[UvDevice::_bootstrap] Error during memory read");
return FALSE;
@@ -509,16 +513,20 @@
priv->timeout_ms = MAX (ARV_UVCP_DEFAULT_RESPONSE_TIME_MS, response_time);
- success = success && arv_device_read_memory (device, offset + ARV_SBRM_U3VCP_CAPABILITY, sizeof (guint32), &u3vcp_capability, NULL);
- success = success && arv_device_read_memory (device, offset + ARV_SBRM_MAX_CMD_TRANSFER, sizeof (guint32), &max_cmd_transfer, NULL);
- success = success && arv_device_read_memory (device, offset + ARV_SBRM_MAX_ACK_TRANSFER, sizeof (guint32), &max_ack_transfer, NULL);
- success = success && arv_device_read_memory (device, offset + ARV_SBRM_SIRM_ADDRESS, sizeof (guint64), &sirm_offset, NULL);
+ success = success && arv_device_read_memory (device, offset + ARV_SBRM_U3VCP_CAPABILITY,
+ sizeof (u3vcp_capability), &u3vcp_capability, NULL);
+ success = success && arv_device_read_memory (device, offset + ARV_SBRM_MAX_CMD_TRANSFER,
+ sizeof (max_cmd_transfer), &max_cmd_transfer, NULL);
+ success = success && arv_device_read_memory (device, offset + ARV_SBRM_MAX_ACK_TRANSFER,
+ sizeof (max_ack_transfer), &max_ack_transfer, NULL);
+ success = success && arv_device_read_memory (device, offset + ARV_SBRM_SIRM_ADDRESS,
+ sizeof (sirm_offset), &sirm_offset, NULL);
if (!success) {
arv_warning_device ("[UvDevice::_bootstrap] Error during memory read");
return FALSE;
}
- arv_info_device ("U3VCP_CAPABILITY = 0x%08x", u3vcp_capability);
+ arv_info_device ("U3VCP_CAPABILITY = 0x%016" G_GINT64_MODIFIER "x", u3vcp_capability);
arv_info_device ("MAX_CMD_TRANSFER = 0x%08x", max_cmd_transfer);
arv_info_device ("MAX_ACK_TRANSFER = 0x%08x", max_ack_transfer);
arv_info_device ("SIRM_OFFSET = 0x%016" G_GINT64_MODIFIER "x", sirm_offset);
@@ -526,36 +534,49 @@
priv->cmd_packet_size_max = MIN (priv->cmd_packet_size_max, max_cmd_transfer);
priv->ack_packet_size_max = MIN (priv->ack_packet_size_max, max_ack_transfer);
- success = success && arv_device_read_memory (device, sirm_offset + ARV_SIRM_INFO, sizeof (si_info), &si_info, NULL);
- success = success && arv_device_read_memory (device, sirm_offset + ARV_SIRM_CONTROL, sizeof (si_control), &si_control, NULL);
- success = success && arv_device_read_memory (device, sirm_offset + ARV_SIRM_REQ_PAYLOAD_SIZE, sizeof (si_req_payload_size), &si_req_payload_size, NULL);
- success = success && arv_device_read_memory (device, sirm_offset + ARV_SIRM_REQ_LEADER_SIZE, sizeof (si_req_leader_size), &si_req_leader_size, NULL);
- success = success && arv_device_read_memory (device, sirm_offset + ARV_SIRM_REQ_TRAILER_SIZE, sizeof (si_req_trailer_size), &si_req_trailer_size, NULL);
- success = success && arv_device_read_memory (device, sirm_offset + ARV_SIRM_MAX_LEADER_SIZE, sizeof (si_max_leader_size), &si_max_leader_size, NULL);
- success = success && arv_device_read_memory (device, sirm_offset + ARV_SIRM_PAYLOAD_SIZE, sizeof (si_payload_size), &si_payload_size, NULL);
- success = success && arv_device_read_memory (device, sirm_offset + ARV_SIRM_PAYLOAD_COUNT, sizeof (si_payload_count), &si_payload_count, NULL);
- success = success && arv_device_read_memory (device, sirm_offset + ARV_SIRM_TRANSFER1_SIZE, sizeof (si_transfer1_size), &si_transfer1_size, NULL);
- success = success && arv_device_read_memory (device, sirm_offset + ARV_SIRM_TRANSFER2_SIZE, sizeof (si_transfer2_size), &si_transfer2_size, NULL);
- success = success && arv_device_read_memory (device, sirm_offset + ARV_SIRM_MAX_TRAILER_SIZE, sizeof (si_max_trailer_size), &si_max_trailer_size, NULL);
+ success = success && arv_device_read_memory (device, sirm_offset + ARV_SIRM_INFO,
+ sizeof (si_info), &si_info, NULL);
+ success = success && arv_device_read_memory (device, sirm_offset + ARV_SIRM_CONTROL,
+ sizeof (si_control), &si_control, NULL);
+ success = success && arv_device_read_memory (device, sirm_offset + ARV_SIRM_REQ_PAYLOAD_SIZE,
+ sizeof (si_req_payload_size), &si_req_payload_size, NULL);
+ success = success && arv_device_read_memory (device, sirm_offset + ARV_SIRM_REQ_LEADER_SIZE,
+ sizeof (si_req_leader_size), &si_req_leader_size, NULL);
+ success = success && arv_device_read_memory (device, sirm_offset + ARV_SIRM_REQ_TRAILER_SIZE,
+ sizeof (si_req_trailer_size), &si_req_trailer_size, NULL);
+ success = success && arv_device_read_memory (device, sirm_offset + ARV_SIRM_MAX_LEADER_SIZE,
+ sizeof (si_max_leader_size), &si_max_leader_size, NULL);
+ success = success && arv_device_read_memory (device, sirm_offset + ARV_SIRM_PAYLOAD_SIZE,
+ sizeof (si_payload_size), &si_payload_size, NULL);
+ success = success && arv_device_read_memory (device, sirm_offset + ARV_SIRM_PAYLOAD_COUNT,
+ sizeof (si_payload_count), &si_payload_count, NULL);
+ success = success && arv_device_read_memory (device, sirm_offset + ARV_SIRM_TRANSFER1_SIZE,
+ sizeof (si_transfer1_size), &si_transfer1_size, NULL);
+ success = success && arv_device_read_memory (device, sirm_offset + ARV_SIRM_TRANSFER2_SIZE,
+ sizeof (si_transfer2_size), &si_transfer2_size, NULL);
+ success = success && arv_device_read_memory (device, sirm_offset + ARV_SIRM_MAX_TRAILER_SIZE,
+ sizeof (si_max_trailer_size), &si_max_trailer_size, NULL);
if (!success) {
arv_warning_device ("[UvDevice::_bootstrap] Error during memory read");
return FALSE;
}
- arv_info_device ("SIRM_INFO = 0x%08x", si_info);
- arv_info_device ("SIRM_CONTROL = 0x%08x", si_control);
- arv_info_device ("SIRM_REQ_PAYLOAD_SIZE = 0x%016" G_GINT64_MODIFIER "x", si_req_payload_size);
- arv_info_device ("SIRM_REQ_LEADER_SIZE = 0x%08x", si_req_leader_size);
- arv_info_device ("SIRM_REQ_TRAILER_SIZE = 0x%08x", si_req_trailer_size);
- arv_info_device ("SIRM_MAX_LEADER_SIZE = 0x%08x", si_max_leader_size);
- arv_info_device ("SIRM_PAYLOAD_SIZE = 0x%08x", si_payload_size);
- arv_info_device ("SIRM_PAYLOAD_COUNT = 0x%08x", si_payload_count);
- arv_info_device ("SIRM_TRANSFER1_SIZE = 0x%08x", si_transfer1_size);
- arv_info_device ("SIRM_TRANSFER2_SIZE = 0x%08x", si_transfer2_size);
- arv_info_device ("SIRM_MAX_TRAILER_SIZE = 0x%08x", si_max_trailer_size);
-
- success = success && arv_device_read_memory (device, manifest_table_address, sizeof (guint64), &manifest_n_entries, NULL);
- success = success && arv_device_read_memory (device, manifest_table_address + 0x08, sizeof (entry), &entry, NULL);
+ arv_info_device ("SIRM_INFO = 0x%08x", si_info);
+ arv_info_device ("SIRM_CONTROL = 0x%08x", si_control);
+ arv_info_device ("SIRM_REQ_PAYLOAD_SIZE = 0x%016" G_GINT64_MODIFIER "x", si_req_payload_size);
+ arv_info_device ("SIRM_REQ_LEADER_SIZE = 0x%08x", si_req_leader_size);
+ arv_info_device ("SIRM_REQ_TRAILER_SIZE = 0x%08x", si_req_trailer_size);
+ arv_info_device ("SIRM_MAX_LEADER_SIZE = 0x%08x", si_max_leader_size);
+ arv_info_device ("SIRM_PAYLOAD_SIZE = 0x%08x", si_payload_size);
+ arv_info_device ("SIRM_PAYLOAD_COUNT = 0x%08x", si_payload_count);
+ arv_info_device ("SIRM_TRANSFER1_SIZE = 0x%08x", si_transfer1_size);
+ arv_info_device ("SIRM_TRANSFER2_SIZE = 0x%08x", si_transfer2_size);
+ arv_info_device ("SIRM_MAX_TRAILER_SIZE = 0x%08x", si_max_trailer_size);
+
+ success = success && arv_device_read_memory (device, manifest_table_address,
+ sizeof (manifest_n_entries), &manifest_n_entries, NULL);
+ success = success && arv_device_read_memory (device, manifest_table_address + 0x08,
+ sizeof (entry), &entry, NULL);
if (!success) {
arv_warning_device ("[UvDevice::_bootstrap] Error during memory read");
return FALSE;
@@ -972,7 +993,7 @@
if (result != 0) {
arv_device_take_init_error (ARV_DEVICE (uv_device),
g_error_new (ARV_DEVICE_ERROR, ARV_DEVICE_ERROR_PROTOCOL_ERROR,
- "Failed to claim USB interface to '%s-%s-%s-%s': %s",
+ "Failed to claim USB control interface to '%s-%s-%s-%s': %s",
priv->vendor, priv->product, priv->serial_number, priv->guid,
libusb_error_name (result)));
return;
@@ -982,7 +1003,7 @@
if (result != 0) {
arv_device_take_init_error (ARV_DEVICE (uv_device),
g_error_new (ARV_DEVICE_ERROR, ARV_DEVICE_ERROR_PROTOCOL_ERROR,
- "Failed to claim USB interface to '%s-%s-%s-%s': %s",
+ "Failed to claim USB data interface to '%s-%s-%s-%s': %s",
priv->vendor, priv->product, priv->serial_number, priv->guid,
libusb_error_name (result)));
return;
@@ -1040,7 +1061,8 @@
libusb_hotplug_deregister_callback (priv->usb, priv->hotplug_cb_handle);
priv->event_thread_run = 0;
- g_thread_join (priv->event_thread);
+ if (priv->event_thread)
+ g_thread_join (priv->event_thread);
g_clear_object (&priv->genicam);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aravis-0.8.26/src/arvuvsp.c new/aravis-0.8.27/src/arvuvsp.c
--- old/aravis-0.8.26/src/arvuvsp.c 2023-02-17 08:27:02.000000000 +0100
+++ new/aravis-0.8.27/src/arvuvsp.c 2023-06-09 10:47:49.000000000 +0200
@@ -22,7 +22,7 @@
#include <arvuvspprivate.h>
#include <arvstr.h>
-#include <arvmisc.h>
+#include <arvmiscprivate.h>
/*
* SECTION: arvuvsp
@@ -44,7 +44,6 @@
ArvUvspLeader *leader = (ArvUvspLeader *) packet;
ArvUvspTrailer *trailer = (ArvUvspTrailer *) packet;
GString *string;
- char *c_string;
g_return_val_if_fail (packet != NULL, NULL);
@@ -101,11 +100,7 @@
}
#endif
- c_string = string->str;
-
- g_string_free (string, FALSE);
-
- return c_string;
+ return arv_g_string_free_and_steal(string);
}
/**
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aravis-0.8.26/src/arvuvspprivate.h new/aravis-0.8.27/src/arvuvspprivate.h
--- old/aravis-0.8.26/src/arvuvspprivate.h 2023-02-17 08:27:02.000000000 +0100
+++ new/aravis-0.8.27/src/arvuvspprivate.h 2023-06-09 10:47:49.000000000 +0200
@@ -123,7 +123,7 @@
if (has_chunks != NULL)
*has_chunks = (payload_type & 0x4000) != 0;
- return payload_type & 0x3fff;
+ return (ArvBufferPayloadType) (payload_type & 0x3fff);
}
static inline guint64
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package shotcut for openSUSE:Factory checked in at 2023-07-31 15:25:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/shotcut (Old)
and /work/SRC/openSUSE:Factory/.shotcut.new.32662 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "shotcut"
Mon Jul 31 15:25:02 2023 rev:58 rq:1101465 version:23.07.29
Changes:
--------
--- /work/SRC/openSUSE:Factory/shotcut/shotcut.changes 2023-06-23 21:53:43.891002393 +0200
+++ /work/SRC/openSUSE:Factory/.shotcut.new.32662/shotcut.changes 2023-07-31 15:25:03.855564914 +0200
@@ -1,0 +2,53 @@
+Mon Jul 31 06:34:04 UTC 2023 - Michael Vetter <mvetter(a)suse.com>
+
+- Update to 23.07.29:
+ * Fixed crash on startup on older Windows 10 computers that do not have Direct3D 11
+ (broke in v23.05).
+ * Fixed Timeline scrubbing and skimming accelerate too much (broke in v23.06).
+ * Fixed Stabilize analysis jobs not working on a speed-adjusted timeline clip (broke in
+ v23.05).
+ * Fixed the visibility of the cursor in the Text: Rich filter’s editor (broke in
+ v23.05).
+ * Fixed the up and down cursor keys not working in some numeric fields (broke in
+ v23.05).
+ * Fixed seeking on the new Speed: Forward Only and Speed: Forward & Reverse filters.
+ * Fixed the buttons in the Delete Filter Set confirm dialog are hidden if the name is
+ long.
+ * Fixed the color level of RGB and RGBA sources (e.g. images) with GPU Effects.
+ * Fixed crash adding a GPU filter to Timeline > Output by not showing GPU filters for
+ that selection.
+ * Fixed shift-drag-drop from Windows Explorer to Playlist deletes the files! This is an
+ old bug, and Shotcut is not deleting the files. But it accepts a move drop action for
+ the purpose of reordering playlist items. However, doing so with a list of filenames
+ makes Windows assume the receiving application did something appropriate with thes file
+ and then… delete them on behalf of the app just to be sure?!? Smooth move. (Another
+ Windows file manager Directory Opus does not exhibit this bad behavior.)
+ * Fixed another very old bug on Windows where sound does not follow the default output
+ device, for example plugging headphones, until you restart the app. Please note that if
+ you are using Settings > Audio Channels > 6 (5.1) after the default sound output
+ changes, you will likely experience distortion in the audio playback until you restart
+ the app.
+ * Added the --SDL_AUDIODRIVER command line option for Windows and Linux.
+ * Fixed appending to Playlist from clipboard with nothing yet opened in the Source
+ player.
+ * Fixed the Export > Audio > Quality range for the aac codec.
+ * Fixed trying to drag a keyframe vertically may snap changing its horizontal position.
+ * Fixed clicking OK in a color dialog on Windows without changing anything resets the
+ alpha to 255.
+ * Fixed top-field-first interlaced output.
+ * Added Track Auto Fade and Track Seam audio filters. These filters address an old
+ problem where clicks and pops may be heard in export when switching between clips due
+ to discontinuities in the audio stream. A recommended technique was to add a 2 frame
+ Fade Audio Out and Fade Audio in filters on clips. Track Auto Fade automates that.
+ Track Seam works on a similar level but rather attempts to do a smoothing between
+ outgoing and incoming samples around edit points. Both of these new filters may ONLY be
+ added to individual tracks—audio or video.
+ * Added Transition type > Cut to the Slideshow Generator.
+ * Added Ctrl+Wheel (command on macOS) to numeric fields to increment and decrement by a
+ larger amount.
+ * Updated Qt libraries to version 6.4.3.
+ * Updated libebur128 to version 1.2.6.
+ * Updated rubberband library to version 3.2.1.
+ * Updated MLT to version 7.18.0.
+
+-------------------------------------------------------------------
Old:
----
shotcut-23.06.14.tar.gz
New:
----
shotcut-23.07.29.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ shotcut.spec ++++++
--- /var/tmp/diff_new_pack.g3jhs7/_old 2023-07-31 15:25:05.071571934 +0200
+++ /var/tmp/diff_new_pack.g3jhs7/_new 2023-07-31 15:25:05.075571957 +0200
@@ -27,7 +27,7 @@
#%%(pkg-config --modversion Qt6Core)
%bcond_with x264
Name: shotcut
-Version: 23.06.14
+Version: 23.07.29
Release: 0
Summary: Video and audio editor and creator
License: GPL-3.0-or-later
@@ -37,11 +37,12 @@
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: hicolor-icon-theme
+BuildRequires: libebur128-devel >= 1.2.6
BuildRequires: pkgconfig
-BuildRequires: qt6-declarative-private-devel >= 6.4.2
+BuildRequires: qt6-declarative-private-devel >= 6.4.3
BuildRequires: update-desktop-files
-BuildRequires: cmake(Qt6Concurrent) >= 6.4.2
-BuildRequires: cmake(Qt6Core) >= 6.4.2
+BuildRequires: cmake(Qt6Concurrent) >= 6.4.3
+BuildRequires: cmake(Qt6Core) >= 6.4.3
BuildRequires: cmake(Qt6Gui)
BuildRequires: cmake(Qt6LinguistTools)
BuildRequires: cmake(Qt6Multimedia)
++++++ shotcut-23.06.14.tar.gz -> shotcut-23.07.29.tar.gz ++++++
/work/SRC/openSUSE:Factory/shotcut/shotcut-23.06.14.tar.gz /work/SRC/openSUSE:Factory/.shotcut.new.32662/shotcut-23.07.29.tar.gz differ: char 15, line 1
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package cgal for openSUSE:Factory checked in at 2023-07-31 15:24:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cgal (Old)
and /work/SRC/openSUSE:Factory/.cgal.new.32662 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cgal"
Mon Jul 31 15:24:58 2023 rev:32 rq:1101456 version:5.6
Changes:
--------
--- /work/SRC/openSUSE:Factory/cgal/cgal.changes 2023-04-03 17:46:04.764831734 +0200
+++ /work/SRC/openSUSE:Factory/.cgal.new.32662/cgal.changes 2023-07-31 15:25:01.527551474 +0200
@@ -1,0 +2,12 @@
+Mon Jul 31 06:06:33 UTC 2023 - Michael Vetter <mvetter(a)suse.com>
+
+- Update to 5.6:
+ * See https://github.com/CGAL/cgal/releases/tag/v5.6
+
+-------------------------------------------------------------------
+Mon Jul 31 06:05:33 UTC 2023 - Michael Vetter <mvetter(a)suse.com>
+
+- Update to 5.5.3:
+ * https://github.com/CGAL/cgal/issues?q=sort%3Aupdated-desc+label%3AMerged_in…
+
+-------------------------------------------------------------------
Old:
----
CGAL-5.5.2-doc_html.tar.xz
CGAL-5.5.2.tar.xz
New:
----
CGAL-5.6-doc_html.tar.xz
CGAL-5.6.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ cgal.spec ++++++
--- /var/tmp/diff_new_pack.zY4n0Q/_old 2023-07-31 15:25:03.347561981 +0200
+++ /var/tmp/diff_new_pack.zY4n0Q/_new 2023-07-31 15:25:03.351562004 +0200
@@ -23,7 +23,7 @@
#@TODO : ask for rename and take into account the obsolete existant thing. like libcgal deps
%define _sourcename CGAL
Name: cgal
-Version: 5.5.2
+Version: 5.6
Release: 0
Summary: Computational Geometry Algorithms Library
License: GPL-3.0-or-later AND LGPL-3.0-or-later
@@ -51,7 +51,6 @@
BuildRequires: gcc-c++
%endif
-
%description
CGAL provides geometric algorithms in a C++ library.
++++++ CGAL-5.5.2-doc_html.tar.xz -> CGAL-5.6-doc_html.tar.xz ++++++
/work/SRC/openSUSE:Factory/cgal/CGAL-5.5.2-doc_html.tar.xz /work/SRC/openSUSE:Factory/.cgal.new.32662/CGAL-5.6-doc_html.tar.xz differ: char 27, line 1
++++++ CGAL-5.5.2-doc_html.tar.xz -> CGAL-5.6.tar.xz ++++++
/work/SRC/openSUSE:Factory/cgal/CGAL-5.5.2-doc_html.tar.xz /work/SRC/openSUSE:Factory/.cgal.new.32662/CGAL-5.6.tar.xz differ: char 17, line 1
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package kakoune for openSUSE:Factory checked in at 2023-07-31 15:24:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kakoune (Old)
and /work/SRC/openSUSE:Factory/.kakoune.new.32662 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kakoune"
Mon Jul 31 15:24:57 2023 rev:25 rq:1101490 version:2023.07.29
Changes:
--------
--- /work/SRC/openSUSE:Factory/kakoune/kakoune.changes 2023-04-11 15:54:43.518057324 +0200
+++ /work/SRC/openSUSE:Factory/.kakoune.new.32662/kakoune.changes 2023-07-31 15:24:58.779535609 +0200
@@ -1,0 +2,15 @@
+Mon Jul 31 06:00:45 UTC 2023 - Michael Vetter <mvetter(a)suse.com>
+
+- Update to 2023.07.29:
+ * <a-u> and <a-U> now undo/redo selection changes; the previous
+ meaning of moving in history tree has been moved to <c-j> and <c-k>
+ * %exp{...} expansions provide flexible quoting for expanded
+ strings (as double quoted strings)
+ * <c-g> cancels the current operation and goes back to the main
+ event loop, this provides an escape hatch when Kakoune seems
+ to hang due to a costly operation
+ * show-matching -previous highlighter will fall back onto the
+ character preceeding the cursor
+- Remove 894e44fdbff4221549d358faa4a73ea43e1283a5.patch
+
+-------------------------------------------------------------------
Old:
----
894e44fdbff4221549d358faa4a73ea43e1283a5.patch
kakoune-2022.10.31.tar.bz2
New:
----
kakoune-2023.07.29.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kakoune.spec ++++++
--- /var/tmp/diff_new_pack.4Xsefh/_old 2023-07-31 15:24:59.779541383 +0200
+++ /var/tmp/diff_new_pack.4Xsefh/_new 2023-07-31 15:24:59.783541405 +0200
@@ -17,14 +17,13 @@
Name: kakoune
-Version: 2022.10.31
+Version: 2023.07.29
Release: 0
Summary: A code editor heavily inspired by Vim
License: Unlicense
Group: Productivity/Text/Editors
URL: https://kakoune.org/
Source: https://github.com/mawww/kakoune/releases/download/v%{version}/kakoune-%{ve…
-Patch: https://github.com/mawww/kakoune/commit/894e44fdbff4221549d358faa4a73ea43e1…
BuildRequires: asciidoc
BuildRequires: fdupes
BuildRequires: gcc-c++ >= 12
++++++ kakoune-2022.10.31.tar.bz2 -> kakoune-2023.07.29.tar.bz2 ++++++
++++ 8136 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package rehex for openSUSE:Factory checked in at 2023-07-31 15:24:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rehex (Old)
and /work/SRC/openSUSE:Factory/.rehex.new.32662 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rehex"
Mon Jul 31 15:24:56 2023 rev:8 rq:1101459 version:0.60.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/rehex/rehex.changes 2022-11-04 17:35:42.945045811 +0100
+++ /work/SRC/openSUSE:Factory/.rehex.new.32662/rehex.changes 2023-07-31 15:24:57.523528358 +0200
@@ -1,0 +2,41 @@
+Mon Jul 31 06:17:56 UTC 2023 - Michael Vetter <mvetter(a)suse.com>
+
+- Update to 0.60.1:
+ New features:
+ * Add data histogram tool (#140).
+ * Monitor for open files being externally modified and allow
+ reloading (#124).
+ * Add "Delete comment and children" context menu command to
+ delete a comment and any comments encapsulated by it (#198).
+ * Allow dragging tabs between windows or out to new ones.
+ Quality of life improvements:
+ * Use virtual offsets in "Select range" dialog.
+ * Don't re-open files to save when there are no changes (#193).
+ * Improve performance when large numbers of comments are defined.
+ * Open original file when passed a rehex-meta file on the command line (#207).
+ Character set handling:
+ * Add <charset = "XXX"> syntax to templates (#184).
+ * Add character set option to text search (#182, #200).
+ * Add IBM codepage 866 and Windows-1251 (#208).
+ Binary templates:
+ * Expose current array index as ArrayIndex when expanding arrays
+ of structs in templates (#191).
+ * Fix true/false not being usable inside template functions/structs (#197).
+ * Add new ReadString(), SPrintf(), SetComment(), StringLengthBytes(),
+ ArrayPush(), ArrayPop() and OffsetOf() template function.
+ * Fix repeated execution of the same switch() block in a template (#202).
+ * Add 'private' variables to template language.
+ * Fix template format strings that expand to further format tokens.
+ * Fix template error when converting a float to an int.
+ * Remember recently selected templates (#183).
+ * Implement lexical variable scoping in templates and allow functions
+ to access global variables defined above them (#190).
+ * Add "Apply template from cursor" option to binary template tool.
+ Bug fixes:
+ * Fix crash when running rehex for the first time on some systems (#194).
+ * Correctly draw insert cursor over highlighted data and at the end of the file (#196).
+ * Fix cases where the strings tool would appear to run forever with an empty file.
+ * Remove strings from the strings panel when they are deleted from the file.
+ * Fix crash when attempting to open a directory/bundle on macOS.
+
+-------------------------------------------------------------------
Old:
----
rehex-0.5.4.tar.gz
New:
----
rehex-0.60.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rehex.spec ++++++
--- /var/tmp/diff_new_pack.L6TvBa/_old 2023-07-31 15:24:58.211532330 +0200
+++ /var/tmp/diff_new_pack.L6TvBa/_new 2023-07-31 15:24:58.219532376 +0200
@@ -1,7 +1,7 @@
#
# spec file for package rehex
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: rehex
-Version: 0.5.4
+Version: 0.60.1
Release: 0
Summary: Reverse Engineers' Hex Editor
License: GPL-2.0-only
++++++ rehex-0.5.4.tar.gz -> rehex-0.60.1.tar.gz ++++++
++++ 50768 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-qsymm for openSUSE:Factory checked in at 2023-07-31 15:24:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-qsymm (Old)
and /work/SRC/openSUSE:Factory/.python-qsymm.new.32662 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-qsymm"
Mon Jul 31 15:24:48 2023 rev:4 rq:1101478 version:1.3.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-qsymm/python-qsymm.changes 2021-02-15 23:21:00.767818115 +0100
+++ /work/SRC/openSUSE:Factory/.python-qsymm.new.32662/python-qsymm.changes 2023-07-31 15:24:52.123497183 +0200
@@ -1,0 +2,8 @@
+Mon Jul 31 07:40:42 UTC 2023 - Steve Kowalik <steven.kowalik(a)suse.com>
+
+- Add patch support-sympy-1.12.patch:
+ * Support sympy 1.12.
+- Switch to pyproject macros.
+- Skip a truculent test.
+
+-------------------------------------------------------------------
New:
----
support-sympy-1.12.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-qsymm.spec ++++++
--- /var/tmp/diff_new_pack.yf3PwH/_old 2023-07-31 15:24:53.295503949 +0200
+++ /var/tmp/diff_new_pack.yf3PwH/_new 2023-07-31 15:24:53.303503995 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-qsymm
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,8 +16,6 @@
#
-%define skip_python2 1
-%define skip_python36 1
%define modname qsymm
Name: python-qsymm
Version: 1.3.0
@@ -26,8 +24,11 @@
License: BSD-2-Clause
URL: https://gitlab.kwant-project.org/qt/qsymm
Source: https://files.pythonhosted.org/packages/source/q/qsymm/qsymm-%{version}.tar…
+Patch0: support-sympy-1.12.patch
BuildRequires: %{python_module devel}
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-numpy
@@ -50,25 +51,25 @@
group of your Hamiltonian.
%prep
-%setup -q -n qsymm-%{version}
+%autosetup -p1 -n qsymm-%{version}
sed -i -e '/pytest-runner/d' setup.py
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# 3 tests randomply fail
# test_check_symmetry test_cont_finder test_disc_finder
-%pytest -k 'not (test_check_symmetry or test_cont_finder or test_disc_finder)'
+%pytest -k 'not (test_check_symmetry or test_cont_finder or test_disc_finder or test_Model_subs)'
%files %{python_files}
%doc AUTHORS.md CHANGELOG.md README.md
%license LICENSE
-%{python_sitelib}/%{modname}/
-%{python_sitelib}/%{modname}-%{version}-py%{python_version}.egg-info/
+%{python_sitelib}/%{modname}
+%{python_sitelib}/%{modname}-%{version}.dist-info
%changelog
++++++ support-sympy-1.12.patch ++++++
diff --git a/qsymm/_scipy_patch.py b/qsymm/_scipy_patch.py
deleted file mode 100644
index ac5a5d1918f43d2203fcdd5ff510313c415fe743..0000000000000000000000000000000000000000
--- a/qsymm/_scipy_patch.py
+++ /dev/null
@@ -1,224 +0,0 @@
-# This file has been taken from Scipy 1.1.0 under the
-# BSD 3-Clause license, reproduced below:
-#
-# Copyright (c) 2001-2002 Enthought, Inc. 2003-2019, SciPy Developers.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions
-# are met:
-#
-# 1. Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# 2. Redistributions in binary form must reproduce the above
-# copyright notice, this list of conditions and the following
-# disclaimer in the documentation and/or other materials provided
-# with the distribution.
-#
-# 3. Neither the name of the copyright holder nor the names of its
-# contributors may be used to endorse or promote products derived
-# from this software without specific prior written permission.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-from pkg_resources import parse_version
-
-import scipy.sparse
-
-# Scipy 1.1 implemented sparse matrix reshaping. In order to allow a lower
-# version of scipy (to remain compatible with Kwant's requirements) we do
-# not want to use this more recent version of scipy. We monkey patch the
-# "reshape" method onto the appropriate sparse matrix classes.
-#
-# This module should be imported in all modules that use the "reshape"
-# method of sparse matrices (this is a sufficient but not necessary
-# condition for the monkey patching to work, because the patch may already
-# have been applied by other modules that themselves import this).
-#
-# TODO: remove this file (and all the places it is imported) when we can
-# depend on scipy >= 1.1
-
-if parse_version(scipy.__version__) < parse_version("1.1"):
-
- import operator
-
- import numpy as np
- from scipy.sparse import coo_matrix
-
-
- def check_shape(args, current_shape=None):
- """Imitate numpy.matrix handling of shape arguments"""
- if len(args) == 0:
- raise TypeError("function missing 1 required positional argument: "
- "'shape'")
- elif len(args) == 1:
- try:
- shape_iter = iter(args[0])
- except TypeError:
- new_shape = (operator.index(args[0]), )
- else:
- new_shape = tuple(operator.index(arg) for arg in shape_iter)
- else:
- new_shape = tuple(operator.index(arg) for arg in args)
-
- if current_shape is None:
- if len(new_shape) != 2:
- raise ValueError('shape must be a 2-tuple of positive integers')
- elif new_shape[0] < 0 or new_shape[1] < 0:
- raise ValueError("'shape' elements cannot be negative")
-
- else:
- # Check the current size only if needed
- current_size = np.prod(current_shape, dtype=int)
-
- # Check for negatives
- negative_indexes = [i for i, x in enumerate(new_shape) if x < 0]
- if len(negative_indexes) == 0:
- new_size = np.prod(new_shape, dtype=int)
- if new_size != current_size:
- raise ValueError('cannot reshape array of size {} into shape {}'
- .format(current_size, new_shape))
- elif len(negative_indexes) == 1:
- skip = negative_indexes[0]
- specified = np.prod(new_shape[0:skip] + new_shape[skip+1:])
- unspecified, remainder = divmod(current_size, specified)
- if remainder != 0:
- err_shape = tuple('newshape' if x < 0 else x for x in new_shape)
- raise ValueError('cannot reshape array of size {} into shape {}'
- ''.format(current_size, err_shape))
- new_shape = new_shape[0:skip] + (unspecified,) + new_shape[skip+1:]
- else:
- raise ValueError('can only specify one unknown dimension')
-
- # Add and remove ones like numpy.matrix.reshape
- if len(new_shape) != 2:
- new_shape = tuple(arg for arg in new_shape if arg != 1)
-
- if len(new_shape) == 0:
- new_shape = (1, 1)
- elif len(new_shape) == 1:
- new_shape = (1, new_shape[0])
-
- if len(new_shape) > 2:
- raise ValueError('shape too large to be a matrix')
-
- return new_shape
-
-
- def check_reshape_kwargs(kwargs):
- """Unpack keyword arguments for reshape function.
- This is useful because keyword arguments after star arguments are not
- allowed in Python 2, but star keyword arguments are. This function unpacks
- 'order' and 'copy' from the star keyword arguments (with defaults) and
- throws an error for any remaining.
- """
-
- order = kwargs.pop('order', 'C')
- copy = kwargs.pop('copy', False)
- if kwargs: # Some unused kwargs remain
- raise TypeError('reshape() got unexpected keywords arguments: {}'
- .format(', '.join(kwargs.keys())))
- return order, copy
-
-
- def get_index_dtype(arrays=(), maxval=None, check_contents=False):
-
- int32min = np.iinfo(np.int32).min
- int32max = np.iinfo(np.int32).max
-
- dtype = np.intc
- if maxval is not None:
- if maxval > int32max:
- dtype = np.int64
-
- if isinstance(arrays, np.ndarray):
- arrays = (arrays,)
-
- for arr in arrays:
- arr = np.asarray(arr)
- if not np.can_cast(arr.dtype, np.int32):
- if check_contents:
- if arr.size == 0:
- # a bigger type not needed
- continue
- elif np.issubdtype(arr.dtype, np.integer):
- maxval = arr.max()
- minval = arr.min()
- if minval >= int32min and maxval <= int32max:
- # a bigger type not needed
- continue
-
- dtype = np.int64
- break
-
- return dtype
-
-
- def sparse_reshape(self, *args, **kwargs):
- # If the shape already matches, don't bother doing an actual reshape
- # Otherwise, the default is to convert to COO and use its reshape
- shape = check_shape(args, self.shape)
- order, copy = check_reshape_kwargs(kwargs)
- if shape == self.shape:
- if copy:
- return self.copy()
- else:
- return self
-
- return self.tocoo(copy=copy).reshape(shape, order=order, copy=False)
-
-
- def coo_reshape(self, *args, **kwargs):
- shape = check_shape(args, self.shape)
- order, copy = check_reshape_kwargs(kwargs)
-
- # Return early if reshape is not required
- if shape == self.shape:
- if copy:
- return self.copy()
- else:
- return self
-
- nrows, ncols = self.shape
-
- if order == 'C':
- # Upcast to avoid overflows: the coo_matrix constructor
- # below will downcast the results to a smaller dtype, if
- # possible.
- dtype = get_index_dtype(maxval=(ncols * max(0, nrows - 1) + max(0, ncols - 1)))
-
- flat_indices = np.multiply(ncols, self.row, dtype=dtype) + self.col
- new_row, new_col = divmod(flat_indices, shape[1])
- elif order == 'F':
- dtype = get_index_dtype(maxval=(nrows * max(0, ncols - 1) + max(0, nrows - 1)))
-
- flat_indices = np.multiply(nrows, self.col, dtype=dtype) + self.row
- new_col, new_row = divmod(flat_indices, shape[0])
- else:
- raise ValueError("'order' must be 'C' or 'F'")
-
- # Handle copy here rather than passing on to the constructor so that no
- # copy will be made of new_row and new_col regardless
- if copy:
- new_data = self.data.copy()
- else:
- new_data = self.data
-
- return coo_matrix((new_data, (new_row, new_col)),
- shape=shape, copy=False)
-
-
- # Apply monkey patches
- scipy.sparse.spmatrix.reshape = sparse_reshape
- scipy.sparse.coo_matrix.reshape = coo_reshape
diff --git a/qsymm/kwant_continuum.py b/qsymm/kwant_continuum.py
index 842bf125c3212b079f366b13ea8ba85ec8f04b31..c2e5695e4368bf838f4af8b4c57944831fdefdde 100644
--- a/qsymm/kwant_continuum.py
+++ b/qsymm/kwant_continuum.py
@@ -45,14 +45,10 @@ import sympy.abc
import sympy.physics.quantum
from sympy.core.function import AppliedUndef
from sympy.core.sympify import converter
-from sympy.core.core import all_classes as sympy_classes
from sympy.physics.matrices import msigma as _msigma
import warnings
-# TODO: remove when sympy correctly includes MutableDenseMatrix (lol).
-sympy_classes = set(sympy_classes) | {sympy.MutableDenseMatrix}
-
momentum_operators = sympy.symbols('k_x k_y k_z', commutative=False)
position_operators = sympy.symbols('x y z', commutative=False)
@@ -178,7 +174,7 @@ def sympify(expr, locals=None):
stored_value = None
# if ``expr`` is already a ``sympy`` object we may terminate a code path
- if isinstance(expr, tuple(sympy_classes)):
+ if isinstance(expr, sympy.Basic):
if locals:
warnings.warn('Input expression is already SymPy object: '
'"locals" will not be used.',
diff --git a/qsymm/linalg.py b/qsymm/linalg.py
index 05a4a7413e4715734122ebb8464beb6c6d4a38c1..f4a125e795e41e9009a0e411c5cf45d507da87cf 100644
--- a/qsymm/linalg.py
+++ b/qsymm/linalg.py
@@ -4,14 +4,11 @@ import scipy.linalg as la
import scipy.sparse.linalg as sla
import scipy
from numbers import Number
-from scipy.optimize import minimize
from scipy.spatial.distance import cdist
from scipy.sparse.csgraph import connected_components
import itertools as it
import tinyarray as ta
-from . import _scipy_patch
-
def commutator(A, B):
return np.dot(A, B) - np.dot(B, A)
@@ -97,11 +94,17 @@ def matrix_basis(dim, traceless=False, antihermitian=False, real=False, sparse=F
A generator that returns matrices that span the vector space.
"""
if sparse:
- null = lambda: scipy.sparse.lil_matrix((dim, dim), dtype=complex)
- set_type = lambda x: x.tocsr()
+ def null():
+ return scipy.sparse.lil_matrix((dim, dim), dtype=complex)
+
+ def set_type(x):
+ return x.tocsr()
else:
- null = lambda: np.zeros((dim, dim), dtype=complex)
- set_type = lambda x: x
+ def null():
+ return np.zeros((dim, dim), dtype=complex)
+
+ def set_type(x):
+ return x
# Matrix basis for dim x dim matrices. With real coefficients spans
# Hermitian matrices, with complex spans all matrices
coeff = (1j if antihermitian else 1)
@@ -424,13 +427,15 @@ def solve_mat_eqn(HL, HR=None, hermitian=False, traceless=False,
sparse = isinstance(HL[0], scipy.sparse.spmatrix)
if HR is None:
HR = HL
- if len(HL) != len(HR) or not all(l.shape == r.shape for l, r in zip(HL, HR)):
+ if len(HL) != len(HR) or not all(
+ left.shape == right.shape for left, right in zip(HL, HR)
+ ):
raise ValueError('HL and HR must have the same shape.')
if isinstance(conjugate, bool):
conjugate = [conjugate] * len(HL)
if len(conjugate) != len(HL):
- raise ValueError('Conugate must have the same length as HL.')
- if not all(l.shape[0] == l.shape[1] == r.shape[0] == r.shape[1] for l, r in zip(HL, HR)):
+ raise ValueError('Conjugate must have the same length as HL.')
+ if not all(term.shape[0] == term.shape[1] for term in HL):
raise ValueError('HL and HR must be a list of square matrices.')
dim = HL[0].shape[-1]
@@ -441,16 +446,20 @@ def solve_mat_eqn(HL, HR=None, hermitian=False, traceless=False,
# Prepare for differences in sparse and dense algebra
if sparse:
- basis = lambda: matrix_basis(dim, traceless=traceless, sparse=True)
+ def basis():
+ return matrix_basis(dim, traceless=traceless, sparse=True)
vstack = scipy.sparse.vstack
bmat = scipy.sparse.bmat
# Cast it to coo format and reshape
- flatten = lambda x: scipy.sparse.coo_matrix(x).reshape((x.shape[0]*x.shape[1], 1))
+ def flatten(x):
+ return scipy.sparse.coo_matrix(x).reshape((x.shape[0]*x.shape[1], 1))
else:
- basis = lambda: matrix_basis(dim, traceless=traceless, sparse=False)
+ def basis():
+ return matrix_basis(dim, traceless=traceless, sparse=False)
vstack = np.vstack
bmat = np.block
- flatten = lambda x: x.reshape((-1, 1))
+ def flatten(x):
+ return x.reshape((-1, 1))
# Calculate coefficients from commutators of the basis matrices
null_mat = []
@@ -472,7 +481,8 @@ def solve_mat_eqn(HL, HR=None, hermitian=False, traceless=False,
ns = nullspace(null_mat, sparse=sparse, k_max=k_max)
# Make all solutions
# 'ij,jkl->ikl'
- basis = lambda: matrix_basis(dim, traceless=traceless, sparse=False)
+ def basis():
+ return matrix_basis(dim, traceless=traceless, sparse=False)
return np.array([sum((v * mat for v, mat in zip(vec, basis()))) for vec in ns])
diff --git a/qsymm/model.py b/qsymm/model.py
index 48ad102a8ebdb5ed32b919a71ee454549a975d78..2ec3b23909be7d1c9a68587669c5223672ca6c0f 100644
--- a/qsymm/model.py
+++ b/qsymm/model.py
@@ -3,26 +3,24 @@ from copy import copy
from numbers import Number
from warnings import warn
from functools import lru_cache
-from collections import defaultdict, abc, UserDict
+from collections import abc, UserDict
import numpy as np
import scipy
-import tinyarray as ta
-import scipy.linalg as la
import sympy
from sympy.core.numbers import One
from sympy.matrices.matrices import MatrixBase
from sympy.core.basic import Basic
from sympy.core.function import AppliedUndef
-from .linalg import prop_to_id, allclose
-from . import kwant_continuum, _scipy_patch
+from .linalg import allclose
+from . import kwant_continuum
_commutative_momenta = [kwant_continuum.make_commutative(k, k)
for k in kwant_continuum.momentum_operators]
e = kwant_continuum.sympify('e')
-I = kwant_continuum.sympify('I')
+I = kwant_continuum.sympify('I') # noqa: E741
def substitute_exponents(expr):
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pscript for openSUSE:Factory checked in at 2023-07-31 15:24:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pscript (Old)
and /work/SRC/openSUSE:Factory/.python-pscript.new.32662 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pscript"
Mon Jul 31 15:24:47 2023 rev:9 rq:1101457 version:0.7.7
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pscript/python-pscript.changes 2022-10-06 07:42:24.660714944 +0200
+++ /work/SRC/openSUSE:Factory/.python-pscript.new.32662/python-pscript.changes 2023-07-31 15:24:51.435493211 +0200
@@ -1,0 +2,7 @@
+Mon Jul 31 06:13:34 UTC 2023 - Steve Kowalik <steven.kowalik(a)suse.com>
+
+- Stop using greedy globs in %files.
+- Switch to %pytest from invoke.
+- Switch to pyproject macros.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pscript.spec ++++++
--- /var/tmp/diff_new_pack.qJZdzb/_old 2023-07-31 15:24:52.007496513 +0200
+++ /var/tmp/diff_new_pack.qJZdzb/_new 2023-07-31 15:24:52.011496536 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-pscript
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,6 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define modname pscript
Name: python-pscript
Version: 0.7.7
@@ -25,12 +24,13 @@
License: BSD-2-Clause
URL: https://github.com/flexxui/pscript
Source: https://github.com/flexxui/%{modname}/archive/v%{version}/%{modname}-%{vers…
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
# SECTION test requirements
-BuildRequires: %{python_module invoke}
BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest}
BuildRequires: nodejs
@@ -42,22 +42,23 @@
of Python that this compiler supports.
%prep
-%setup -q -n %{modname}-%{version}
+%autosetup -p1 -n %{modname}-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-# the tests actually do not invoke themselves
-%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} invoke-%{$python_bin_suffix} test --unit
+%pytest pscript/tests
%files %{python_files}
%doc README.md
%license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/pscript
+%{python_sitelib}/pscript_legacy
+%{python_sitelib}/pscript-%{version}.dist-info
%changelog
1
0