openSUSE Commits
Threads by month
- ----- 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
August 2024
- 2 participants
- 1399 discussions
02 Aug '24
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package golang-github-prometheus-node_exporter for openSUSE:Factory checked in at 2024-08-02 17:27:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/golang-github-prometheus-node_exporter (Old)
and /work/SRC/openSUSE:Factory/.golang-github-prometheus-node_exporter.new.7232 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "golang-github-prometheus-node_exporter"
Fri Aug 2 17:27:20 2024 rev:28 rq:1191119 version:1.8.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/golang-github-prometheus-node_exporter/golang-github-prometheus-node_exporter.changes 2024-06-03 17:44:52.066125927 +0200
+++ /work/SRC/openSUSE:Factory/.golang-github-prometheus-node_exporter.new.7232/golang-github-prometheus-node_exporter.changes 2024-08-02 17:28:02.419043946 +0200
@@ -1,0 +2,6 @@
+Sun Jul 14 15:22:00 UTC 2024 - Johannes Kastl <opensuse_buildservice(a)ojkastl.de>
+
+- update to 1.8.2:
+ * [BUGFIX] Fix CPU pressure metric collection #3054
+
+-------------------------------------------------------------------
Old:
----
node_exporter-1.8.1.obscpio
New:
----
node_exporter-1.8.2.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ golang-github-prometheus-node_exporter.spec ++++++
--- /var/tmp/diff_new_pack.t6eEQ5/_old 2024-08-02 17:28:02.947065725 +0200
+++ /var/tmp/diff_new_pack.t6eEQ5/_new 2024-08-02 17:28:02.951065890 +0200
@@ -20,7 +20,7 @@
%{go_nostrip}
Name: golang-github-prometheus-node_exporter
-Version: 1.8.1
+Version: 1.8.2
Release: 0
Summary: Prometheus exporter for machine metrics
License: Apache-2.0
@@ -34,7 +34,7 @@
BuildRequires: fdupes
BuildRequires: golang-github-prometheus-promu >= 0.12.0
BuildRequires: golang-packaging
-BuildRequires: golang(API) >= 1.20
+BuildRequires: golang(API) >= 1.21
%{?systemd_ordering}
Requires(post): %fillup_prereq
Requires(pre): shadow
++++++ _service ++++++
--- /var/tmp/diff_new_pack.t6eEQ5/_old 2024-08-02 17:28:02.987067375 +0200
+++ /var/tmp/diff_new_pack.t6eEQ5/_new 2024-08-02 17:28:02.991067540 +0200
@@ -4,7 +4,7 @@
<param name="scm">git</param>
<param name="exclude">.git</param>
<param name="versionformat">@PARENT_TAG@</param>
- <param name="revision">v1.8.1</param>
+ <param name="revision">v1.8.2</param>
<param name="versionrewrite-pattern">v(.*)</param>
</service>
<service name="tar" mode="buildtime"/>
@@ -16,7 +16,7 @@
<param name="basename">node_exporter</param>
</service>
<service name="go_modules" mode="manual">
- <param name="archive">node_exporter-1.8.1.obscpio</param>
+ <param name="archive">node_exporter-1.8.2.obscpio</param>
</service>
</services>
++++++ node_exporter-1.8.1.obscpio -> node_exporter-1.8.2.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/node_exporter-1.8.1/CHANGELOG.md new/node_exporter-1.8.2/CHANGELOG.md
--- old/node_exporter-1.8.1/CHANGELOG.md 2024-05-21 20:34:32.000000000 +0200
+++ new/node_exporter-1.8.2/CHANGELOG.md 2024-07-14 13:52:11.000000000 +0200
@@ -5,6 +5,10 @@
* [ENHANCEMENT]
* [BUGFIX]
+## 1.8.2 / 2024-06-19
+
+* [BUGFIX] Fix CPU pressure metric collection #3054
+
## 1.8.1 / 2024-05-16
* [BUGFIX] Fix CPU seconds on Solaris #2963
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/node_exporter-1.8.1/VERSION new/node_exporter-1.8.2/VERSION
--- old/node_exporter-1.8.1/VERSION 2024-05-21 20:34:32.000000000 +0200
+++ new/node_exporter-1.8.2/VERSION 2024-07-14 13:52:11.000000000 +0200
@@ -1 +1 @@
-1.8.1
+1.8.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/node_exporter-1.8.1/collector/pressure_linux.go new/node_exporter-1.8.2/collector/pressure_linux.go
--- old/node_exporter-1.8.1/collector/pressure_linux.go 2024-05-21 20:34:32.000000000 +0200
+++ new/node_exporter-1.8.2/collector/pressure_linux.go 2024-07-14 13:52:11.000000000 +0200
@@ -106,7 +106,7 @@
level.Debug(c.logger).Log("msg", "pressure information returned no 'some' data")
return ErrNoData
}
- if vals.Full == nil {
+ if vals.Full == nil && res != "cpu" {
level.Debug(c.logger).Log("msg", "pressure information returned no 'full' data")
return ErrNoData
}
++++++ node_exporter.obsinfo ++++++
--- /var/tmp/diff_new_pack.t6eEQ5/_old 2024-08-02 17:28:03.235077604 +0200
+++ /var/tmp/diff_new_pack.t6eEQ5/_new 2024-08-02 17:28:03.239077769 +0200
@@ -1,5 +1,5 @@
name: node_exporter
-version: 1.8.1
-mtime: 1716316472
-commit: 400c3979931613db930ea035f39ce7b377cdbb5b
+version: 1.8.2
+mtime: 1720957931
+commit: f1e0e8360aa60b6cb5e5cc1560bed348fc2c1895
++++++ vendor.tar.gz ++++++
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package clang-extract for openSUSE:Factory checked in at 2024-08-02 17:27:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/clang-extract (Old)
and /work/SRC/openSUSE:Factory/.clang-extract.new.7232 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "clang-extract"
Fri Aug 2 17:27:18 2024 rev:10 rq:1191106 version:0~20240801.6cf5b73
Changes:
--------
--- /work/SRC/openSUSE:Factory/clang-extract/clang-extract.changes 2024-08-01 22:05:50.719970549 +0200
+++ /work/SRC/openSUSE:Factory/.clang-extract.new.7232/clang-extract.changes 2024-08-02 17:28:00.566967554 +0200
@@ -1,0 +2,10 @@
+Fri Aug 02 06:34:40 UTC 2024 - mvetter(a)suse.com
+
+- Update to version 0~20240801.6cf5b73:
+ * libcextract: Passes: Drop attributes when creating the KLP_RELOC entries
+ * SymbolExternalizer: Drop initializer from expanded macros
+ * libcextract: ArgvParser: Use vmlinux on PatchObject when DEBUGINFO is different
+ * libcextract: Passes.cpp: Use vmlinux if sym_mod is empty
+ * Drop klpe_ prefix for extern function symbols
+
+-------------------------------------------------------------------
Old:
----
clang-extract-0~20240731.94276b7.tar.xz
New:
----
clang-extract-0~20240801.6cf5b73.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ clang-extract.spec ++++++
--- /var/tmp/diff_new_pack.LxQQZj/_old 2024-08-02 17:28:00.970984218 +0200
+++ /var/tmp/diff_new_pack.LxQQZj/_new 2024-08-02 17:28:00.970984218 +0200
@@ -17,7 +17,7 @@
Name: clang-extract
-Version: 0~20240731.94276b7
+Version: 0~20240801.6cf5b73
Release: 0
Summary: A tool to extract code content from source files
License: Apache-2.0 WITH LLVM-exception AND NCSA
++++++ _service ++++++
--- /var/tmp/diff_new_pack.LxQQZj/_old 2024-08-02 17:28:01.006985703 +0200
+++ /var/tmp/diff_new_pack.LxQQZj/_new 2024-08-02 17:28:01.010985868 +0200
@@ -2,7 +2,7 @@
<service name="tar_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://github.com/SUSE/clang-extract</param>
- <param name="revision">94276b701c40beb0edd4cac490d8ac74e53d86fb</param>
+ <param name="revision">6cf5b73ebe772a2727a1e65d4243c3c6ff1a5856</param>
<param name="versionformat">0~%cd.%h</param>
<param name="changesgenerate">enable</param>
<param name="changesauthor">mvetter(a)suse.com</param>
++++++ clang-extract-0~20240731.94276b7.tar.xz -> clang-extract-0~20240801.6cf5b73.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/clang-extract-0~20240731.94276b7/libcextract/ArgvParser.cpp new/clang-extract-0~20240801.6cf5b73/libcextract/ArgvParser.cpp
--- old/clang-extract-0~20240731.94276b7/libcextract/ArgvParser.cpp 2024-07-31 19:59:31.000000000 +0200
+++ new/clang-extract-0~20240801.6cf5b73/libcextract/ArgvParser.cpp 2024-08-01 21:54:30.000000000 +0200
@@ -19,6 +19,8 @@
#include <clang/Basic/Version.h>
+#include <filesystem>
+
#ifndef CLANG_VERSION_MAJOR
# error "Unable to find clang version"
#endif
@@ -82,6 +84,17 @@
}
Insert_Required_Parameters();
+
+ /* For kernel, check if the object patch is not the same as DebugInfo. If they
+ * are not the same, it means that the module from PatchObject is builtin, so
+ * assign vmlinux to PatchObject. */
+ if (Kernel && DebuginfoPath) {
+ std::string obj_path = std::filesystem::path(DebuginfoPath).filename();
+ /* As the DebugInfo can point to a file with suffix (btrfs.ko for example),
+ * check the substring */
+ if (obj_path.find(PatchObject) == std::string::npos)
+ PatchObject = "vmlinux";
+ }
}
void ArgvParser::Insert_Required_Parameters(void)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/clang-extract-0~20240731.94276b7/libcextract/Passes.cpp new/clang-extract-0~20240801.6cf5b73/libcextract/Passes.cpp
--- old/clang-extract-0~20240731.94276b7/libcextract/Passes.cpp 2024-07-31 19:59:31.000000000 +0200
+++ new/clang-extract-0~20240801.6cf5b73/libcextract/Passes.cpp 2024-08-01 21:54:30.000000000 +0200
@@ -26,6 +26,7 @@
#include "NonLLVMMisc.hh"
#include "Error.hh"
#include "HeaderGenerate.hh"
+#include "LLVMMisc.hh"
#include "clang/Frontend/ASTUnit.h"
#include "clang/Frontend/CompilerInstance.h"
@@ -105,6 +106,27 @@
"." + std::string(PassName) + extension;
}
+static std::string Get_Output_From_Input_File(std::string &input)
+{
+ std::string work = input;
+
+ size_t last_dot = work.find_last_of(".");
+ std::string no_extension = work.substr(0, last_dot);
+ std::string extension = work.substr(last_dot, work.length());
+
+ return no_extension + ".CE" + extension;
+}
+
+static std::string Get_Output_Path(PassManager::Context *ctx)
+{
+ std::string output_path = ctx->OutputFile;
+ if (output_path == "") {
+ output_path = Get_Output_From_Input_File(ctx->InputPath);
+ }
+
+ return output_path;
+}
+
/** BuildASTPass: Built the AST object and store it into the Context object.
*
* This may be the first pass of the pass queue, as the AST object is used by
@@ -277,17 +299,6 @@
ctx->FuncExtractNames.size() > 0;
}
- std::string Get_Output_From_Input_File(std::string &input)
- {
- std::string work = input;
-
- size_t last_dot = work.find_last_of(".");
- std::string no_extension = work.substr(0, last_dot);
- std::string extension = work.substr(last_dot, work.length());
-
- return no_extension + ".CE" + extension;
- }
-
virtual bool Run_Pass(PassManager::Context *ctx)
{
ctx->CodeOutput = std::string();
@@ -331,10 +342,7 @@
/* Set output stream to a file if we set to print to a file. */
if (PrintToFile) {
- std::string output_path = ctx->OutputFile;
- if (output_path == "") {
- output_path = Get_Output_From_Input_File(ctx->InputPath);
- }
+ std::string output_path = Get_Output_Path(ctx);
PrettyPrint::Set_Output_To(output_path);
} else {
ctx->CodeOutput = std::string();
@@ -459,16 +467,6 @@
ClangCompat_None, ctx->OFS);
PrettyPrint::Set_AST(ctx->AST.get());
- if (ctx->Ibt && ctx->AST && externalizer.Has_Externalizations()) {
- /* Do a sanity check on IBT macros. Some kernel branches can't use it,
- so do a check here for sanity reasons. */
- Preprocessor &pp = ctx->AST->getPreprocessor();
- if (pp.isMacroDefined("KLP_RELOC_SYMBOL") == false) {
- throw std::runtime_error("KLP_RELOC_SYMBOL not defined, kernel may not "
- "be compatible with IBT.");
- }
- }
-
const DiagnosticsEngine &de = ctx->AST->getDiagnostics();
return !de.hasErrorOccurred();
}
@@ -528,6 +526,70 @@
}
};
+
+/** IbtTailGeneratePass: Generate the tail content of the output file when IBT
+ * is enabled.
+ */
+class IbtTailGeneratePass : public Pass
+{
+public:
+ IbtTailGeneratePass(void)
+ {
+ PassName = "IbtTailGeneratePass";
+ }
+
+ virtual bool Gate(PassManager::Context *ctx)
+ {
+ return ctx->Ibt && ctx->Externalize.size() > 0;
+ }
+
+ virtual bool Run_Pass(PassManager::Context *ctx)
+ {
+ PrettyPrint::Print_Raw("/* ---- IBT Tail Content ---- */\n\n");
+ PrettyPrint::Print_Raw(
+ "#define KLP_RELOC_SYMBOL_POS(LP_OBJ_NAME, SYM_OBJ_NAME, SYM_NAME, SYM_POS) \\\n"
+ "\tasm(\"\\\".klp.sym.rela.\" #LP_OBJ_NAME \".\" #SYM_OBJ_NAME \".\" #SYM_NAME \",\" #SYM_POS \"\\\"\")\n"
+ "#define KLP_RELOC_SYMBOL(LP_OBJ_NAME, SYM_OBJ_NAME, SYM_NAME) \\\n"
+ "\tKLP_RELOC_SYMBOL_POS(LP_OBJ_NAME, SYM_OBJ_NAME, SYM_NAME, 0)\n\n");
+
+ for (const ExternalizerLogEntry &entry : ctx->NamesLog) {
+ if (entry.Type == ExternalizationType::STRONG) {
+ DeclContextLookupResult decls = Get_Decl_From_Symtab(ctx->AST.get(),
+ entry.NewName);
+
+ for (auto decl : decls) {
+ /* Make sure our declaration is a DeclaratorDecl (variable or function). */
+ if (!isa<DeclaratorDecl>(decl)) {
+ continue;
+ }
+
+ std::string o;
+ llvm::raw_string_ostream outstr(o);
+
+ std::string sym_mod = ctx->IA.Get_Symbol_Module(entry.OldName);
+ if (sym_mod.empty())
+ sym_mod = "vmlinux";
+
+ decl->dropAttrs();
+ decl->print(outstr);
+
+ outstr << " \\\n" << "\tKLP_RELOC_SYMBOL(" << ctx->PatchObject << ", " <<
+ sym_mod << ", " << entry.OldName << ");\n\n";
+
+ PrettyPrint::Print_Raw(o);
+ }
+ }
+ }
+
+ return true;
+ }
+
+ virtual void Dump_Result(PassManager::Context *ctx)
+ {
+ /* The dump is the generated file itself. */
+ }
+};
+
class HeaderGenerationPass : public Pass
{
public:
@@ -572,6 +634,7 @@
new FunctionExternalizerPass(),
new GenerateDscPass(),
new ClosurePass(/*PrintToFile=*/true),
+ new IbtTailGeneratePass(),
new HeaderGenerationPass(),
};
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/clang-extract-0~20240731.94276b7/libcextract/SymbolExternalizer.cpp new/clang-extract-0~20240801.6cf5b73/libcextract/SymbolExternalizer.cpp
--- old/clang-extract-0~20240731.94276b7/libcextract/SymbolExternalizer.cpp 2024-07-31 19:59:31.000000000 +0200
+++ new/clang-extract-0~20240801.6cf5b73/libcextract/SymbolExternalizer.cpp 2024-08-01 21:54:30.000000000 +0200
@@ -121,23 +121,26 @@
ExternalizationType type = sym->ExtType;
if (type == ExternalizationType::STRONG) {
if (!sym->Done) {
+ /* If we are dealing with a symbol that is a function, and we are
+ * extracting code with IBT set, do not change the function now with a
+ * prefix. This helps to reduce the number of expanded headers, and also
+ * helps to match the code extracted with teh original source code.
+ */
std::string sym_name = decl->getName().str();
+ const std::string new_name = SE.Ibt ? sym_name
+ : EXTERNALIZED_PREFIX + sym_name;
+ DeclaratorDecl *new_decl = SE.Create_Externalized_Var(decl, new_name);
/* If we found the first instance of the function we want to externalize,
then proceed to annotate the Decl so we can later decide what to do with
it. */
- const std::string new_name = EXTERNALIZED_PREFIX + sym_name;
- DeclaratorDecl *new_decl = SE.Create_Externalized_Var(decl, new_name);
sym->NewName = new_name;
sym->OldDecl = decl;
sym->NewDecl = new_decl;
- SE.Log.push_back({.OldName = sym_name,
- .NewName = new_name,
- .Type = type});
-
-
sym->Done = true;
sym->Wrap = !SE.Ibt;
+ /* Log entry is added in Late_Externalize(), once we may discard
+ externalizations due to it not being covered by the closure. */
}
} else if (type == ExternalizationType::WEAK) {
/* Now checks if this is a function or a variable delcaration. */
@@ -203,7 +206,7 @@
* Only execute the code in the visitor if we have already externalized the
* symbol
*/
- if (sym == nullptr || !sym->Done)
+ if (sym == nullptr)
return VISITOR_CONTINUE;
/* Get the first effective use, which means an DeclRefExpr of a decl that
@@ -224,7 +227,7 @@
/* We must be careful to ensure that the reference we got is actually
written cleanly, e.g. it doesn't come from a macro expansion. */
- if (sym_name == PrettyPrint::Get_Source_Text(range)) {
+ if (sym_name == PrettyPrint::Get_Source_Text(range) && sym->Needs_Sym_Rename()) {
/* Issue a text modification. */
SE.Replace_Text(range, sym->getUseName(), 100);
}
@@ -279,6 +282,41 @@
return false;
}
+template <typename DECL>
+bool SymbolExternalizer::Drop_Static_Add_Extern(DECL *decl)
+{
+ if (decl->getStorageClass() == StorageClass::SC_Static) {
+ auto ids = Get_Range_Of_Identifier(decl->getSourceRange(), StringRef("static"));
+ assert(ids.size() > 0 && "static decl without static keyword?");
+
+ SourceRange static_range = ids[0].second;
+ Replace_Text(static_range, "extern", 10);
+
+ /* Update the storage class. */
+ decl->setStorageClass(StorageClass::SC_Extern);
+
+ return true;
+ }
+
+ return false;
+}
+
+template <typename DECL>
+bool SymbolExternalizer::Add_Extern(DECL *decl)
+{
+ StorageClass storage = decl->getStorageClass();
+ if (storage == StorageClass::SC_Static) {
+ Drop_Static_Add_Extern(decl);
+ return true;
+ } else if (storage == StorageClass::SC_None) {
+ Insert_Text(decl->getBeginLoc(), "extern ");
+ decl->setStorageClass(StorageClass::SC_Extern);
+ return true;
+ }
+
+ return false;
+}
+
/* ---- Delta and TextModifications class ------ */
@@ -722,7 +760,7 @@
if (!maybe_macro && !MacroWalker::Is_Identifier_Macro_Argument(info, id_info)) {
SymbolUpdateStatus *sym = getSymbolsUpdateStatus(id_info->getName());
- if (sym)
+ if (sym && sym->Needs_Sym_Rename())
Replace_Text(SourceRange(tok.getLocation(), tok.getLastLoc()), sym->getUseName(), 10);
}
}
@@ -734,7 +772,8 @@
for (auto &tok_range : ranges) {
// At this point, tok_range will contain a valid symbol
SymbolUpdateStatus *sym = getSymbolsUpdateStatus(tok_range.first);
- Replace_Text(tok_range.second, sym->getUseName(), 10);
+ if (sym->Needs_Sym_Rename())
+ Replace_Text(tok_range.second, sym->getUseName(), 10);
}
}
}
@@ -817,6 +856,78 @@
}
}
+void SymbolExternalizer::Drop_Function_Body(FunctionDecl *decl)
+{
+ if (decl->doesThisDeclarationHaveABody()) {
+ Stmt *body = decl->getBody();
+ Replace_Text(body->getSourceRange(), ";", 1000);
+ }
+}
+
+void SymbolExternalizer::Drop_Var_Initializer(VarDecl *decl)
+{
+ if (decl->hasInit() && decl->getInitStyle() == VarDecl::InitializationStyle::CInit) {
+ Expr *init = decl->getInit();
+ SourceLocation init_loc = init->getSourceRange().getBegin();
+ SourceLocation head = init_loc.getLocWithOffset(-1);
+
+ StringRef text = PrettyPrint::Get_Source_Text(init->getSourceRange());
+ if (text.data() == nullptr) {
+ std::string o;
+ llvm::raw_string_ostream outstr(o);
+
+ decl->setInit(nullptr);
+ decl->print(outstr);
+ decl->setInit(init);
+
+ Replace_Text(decl->getSourceRange(), o, 1000);
+ return;
+ }
+
+ /* Search for the '=' initializer token. */
+ while (true) {
+ StringRef text = PrettyPrint::Get_Source_Text({head, init_loc});
+ if (*text.data() == '=') {
+ break;
+ }
+ head = head.getLocWithOffset(-1);
+ }
+
+ Replace_Text({head, init->getSourceRange().getEnd()}, ";", 1000);
+ }
+}
+
+void SymbolExternalizer::Handle_IBT_Ext(SymbolUpdateStatus *sym)
+{
+ /* Get the last usage (more recent decl), and check if it was the
+ * first usage. If yes, drop the declartion and use the NewDecl form
+ * SymbolUpdateStatus.
+ *
+ * For functions, drop the declarations and change the later
+ * prototypes to have the extern storage type.
+ *
+ * For variables, remove all references but the first one, because
+ * this will also be replaced by outstr (NewDecl from
+ * SymbolUpdateStatus).
+ */
+ Decl *ibt_decl = sym->OldDecl->getMostRecentDecl();
+ if (FunctionDecl *func = dyn_cast<FunctionDecl>(ibt_decl)) {
+ while (func) {
+ Drop_Function_Body(func);
+ Drop_Static_Add_Extern(func);
+
+ func = func->getPreviousDecl();
+ }
+ } else if (VarDecl *var = dyn_cast<VarDecl>(ibt_decl)) {
+ while (var) {
+ Add_Extern(var);
+ Drop_Var_Initializer(var);
+
+ var = var->getPreviousDecl();
+ }
+ }
+}
+
void SymbolExternalizer::Late_Externalize(void)
{
SymbolExternalizer &SE = *this;
@@ -831,24 +942,24 @@
continue;
}
+ if (Ibt) {
+ /* When IBT is enabled we handle things a little differently. We don't
+ do Late Externalization but rather change the symbols in where they
+ were defined once we need to change them to extern and drop bodies. */
+ Handle_IBT_Ext(sym);
+
+ /* Remember that we externalized it. */
+ Log.push_back({.OldName = sym->OldDecl->getName().str(),
+ .NewName = sym->NewDecl->getName().str(),
+ .Type = sym->ExtType});
+ continue;
+ }
+
/* Create a string with the new variable type and name. */
std::string o;
llvm::raw_string_ostream outstr(o);
/*
- * It won't be a problem to add the code below multiple times, since
- * clang-extract will remove ifndefs for already defined macros
- */
- if (SE.Ibt) {
- outstr << "#ifndef KLP_RELOC_SYMBOL_POS\n"
- "# define KLP_RELOC_SYMBOL_POS(LP_OBJ_NAME, SYM_OBJ_NAME, SYM_NAME, SYM_POS) \\\n"
- " asm(\"\\\".klp.sym.rela.\" #LP_OBJ_NAME \".\" #SYM_OBJ_NAME \".\" #SYM_NAME \",\" #SYM_POS \"\\\"\")\n"
- "# define KLP_RELOC_SYMBOL(LP_OBJ_NAME, SYM_OBJ_NAME, SYM_NAME) \\\n"
- " KLP_RELOC_SYMBOL_POS(LP_OBJ_NAME, SYM_OBJ_NAME, SYM_NAME, 0)\n"
- "#endif\n\n";
- }
-
- /*
* Get the location of the original decl so we can output the right comment
* location when LateExternalization is active.
*/
@@ -858,14 +969,6 @@
sym->NewDecl->print(outstr);
std::string sym_name = sym->OldDecl->getName().str();
- if (SE.Ibt) {
- std::string sym_mod = SE.IA.Get_Symbol_Module(sym_name);
- if (sym_mod == "")
- sym_mod = "vmlinux";
-
- outstr << " \\\n" << "\tKLP_RELOC_SYMBOL(" << SE.PatchObject << ", " <<
- sym_mod << ", " << sym_name << ")";
- }
outstr << ";\n";
/* In case we successfully have a late insertion location, put the new decl
@@ -888,6 +991,11 @@
DiagsClass::Emit_Warn(msg);
}
}
+
+ /* Remember that we externalized it. */
+ Log.push_back({.OldName = sym->OldDecl->getName().str(),
+ .NewName = sym->NewDecl->getName().str(),
+ .Type = sym->ExtType});
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/clang-extract-0~20240731.94276b7/libcextract/SymbolExternalizer.hh new/clang-extract-0~20240801.6cf5b73/libcextract/SymbolExternalizer.hh
--- old/clang-extract-0~20240731.94276b7/libcextract/SymbolExternalizer.hh 2024-07-31 19:59:31.000000000 +0200
+++ new/clang-extract-0~20240801.6cf5b73/libcextract/SymbolExternalizer.hh 2024-08-01 21:54:30.000000000 +0200
@@ -100,6 +100,15 @@
return OldDecl && NewDecl && FirstUse;
}
+ /* For IBT, NewDecl and OldDecl are the same if the symbols is a function, so
+ don't replace text if the name didn't change. */
+ inline bool Needs_Sym_Rename(void) {
+ if (NewDecl == nullptr)
+ return true;
+
+ return NewDecl->getName() != OldDecl->getName();
+ }
+
void Dump(SourceManager &SM)
{
llvm::outs() << "SymbolUpdateStatus at 0x" << this << '\n';
@@ -323,9 +332,16 @@
SymbolUpdateStatus *getSymbolsUpdateStatus(const StringRef &sym);
- /* Drop `static` keyword in decl. */
bool Drop_Static(FunctionDecl *decl);
+ /* Replace `static` keyword in decl with extern. */
+ template <typename DECL>
+ bool Add_Extern(DECL *decl);
+
+ /* Replace `static` keyword in decl with extern. */
+ template <typename DECL>
+ bool Drop_Static_Add_Extern(DECL *decl);
+
/** Commit changes to the loaded source file buffer. Should NOT modify the
original file, only the content that was loaded in llvm's InMemory file
system. */
@@ -376,6 +392,15 @@
void Remove_Text(const SourceRange &range, int priority);
void Insert_Text(const SourceLocation &range, StringRef text);
+ /** Drop body of function. */
+ void Drop_Function_Body(FunctionDecl *decl);
+
+ /** Drop Variable Initializer. */
+ void Drop_Var_Initializer(VarDecl *decl);
+
+ /** Handle externalization on IBT case. */
+ void Handle_IBT_Ext(SymbolUpdateStatus *);
+
/** AST in analysis. */
ASTUnit *AST;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/clang-extract-0~20240731.94276b7/testsuite/linux/ibt-1.c new/clang-extract-0~20240801.6cf5b73/testsuite/linux/ibt-1.c
--- old/clang-extract-0~20240731.94276b7/testsuite/linux/ibt-1.c 2024-07-31 19:59:31.000000000 +0200
+++ new/clang-extract-0~20240801.6cf5b73/testsuite/linux/ibt-1.c 2024-08-01 21:54:30.000000000 +0200
@@ -14,6 +14,6 @@
return 0;
}
-/* { dg-final { scan-tree-dump "u32 klpe_crc32c|u32 \(klpe_crc32c\)" } } */
+/* { dg-final { scan-tree-dump "u32 crc32c\(" } } */
/* { dg-final { scan-tree-dump "KLP_RELOC_SYMBOL\(libcrc32c, libcrc32c, crc32c\)" } } */
/* { dg-final { scan-tree-dump-not "\(\*klpe_crc32c\)" } } */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/clang-extract-0~20240731.94276b7/testsuite/linux/ibt-2.c new/clang-extract-0~20240801.6cf5b73/testsuite/linux/ibt-2.c
--- old/clang-extract-0~20240731.94276b7/testsuite/linux/ibt-2.c 2024-07-31 19:59:31.000000000 +0200
+++ new/clang-extract-0~20240801.6cf5b73/testsuite/linux/ibt-2.c 2024-08-01 21:54:30.000000000 +0200
@@ -14,6 +14,6 @@
return 0;
}
-/* { dg-final { scan-tree-dump "u32 klpe_crc32c|u32 \(klpe_crc32c\)" } } */
+/* { dg-final { scan-tree-dump "u32 crc32c\(" } } */
/* { dg-final { scan-tree-dump "KLP_RELOC_SYMBOL\(libcrc32c, libcrc32c, crc32c\)" } } */
/* { dg-final { scan-tree-dump-not "\(\*klpe_crc32c\)" } } */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/clang-extract-0~20240731.94276b7/testsuite/linux/ibt-typeof-1.c new/clang-extract-0~20240801.6cf5b73/testsuite/linux/ibt-typeof-1.c
--- old/clang-extract-0~20240731.94276b7/testsuite/linux/ibt-typeof-1.c 2024-07-31 19:59:31.000000000 +0200
+++ new/clang-extract-0~20240801.6cf5b73/testsuite/linux/ibt-typeof-1.c 2024-08-01 21:54:30.000000000 +0200
@@ -15,7 +15,7 @@
return 0;
}
-/* { dg-final { scan-tree-dump "u32 klpe_crc32c|u32 \(klpe_crc32c\)" } } */
+/* { dg-final { scan-tree-dump "u32 crc32c\(" } } */
/* { dg-final { scan-tree-dump "KLP_RELOC_SYMBOL\(libcrc32c, libcrc32c, crc32c\)" } } */
-/* { dg-final { scan-tree-dump "typeof\(klpe_crc32c\)" } } */
+/* { dg-final { scan-tree-dump "typeof\(crc32c\)" } } */
/* { dg-final { scan-tree-dump-not "\(\*klpe_crc32c\)" } } */
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package neatvnc for openSUSE:Factory checked in at 2024-08-02 17:27:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/neatvnc (Old)
and /work/SRC/openSUSE:Factory/.neatvnc.new.7232 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "neatvnc"
Fri Aug 2 17:27:15 2024 rev:13 rq:1191110 version:0.8.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/neatvnc/neatvnc.changes 2024-02-26 19:46:23.328073363 +0100
+++ /work/SRC/openSUSE:Factory/.neatvnc.new.7232/neatvnc.changes 2024-08-02 17:27:57.266831435 +0200
@@ -1,0 +2,7 @@
+Fri Aug 2 06:25:29 UTC 2024 - Michael Vetter <mvetter(a)suse.com>
+
+- bsc#1228777 (CVE-2024-42458)
+ Update to 0.8.1:
+ * Add sanity check for chosen security type
+
+-------------------------------------------------------------------
Old:
----
v0.8.0.tar.gz
New:
----
v0.8.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ neatvnc.spec ++++++
--- /var/tmp/diff_new_pack.hefBr3/_old 2024-08-02 17:27:57.690848924 +0200
+++ /var/tmp/diff_new_pack.hefBr3/_new 2024-08-02 17:27:57.690848924 +0200
@@ -19,7 +19,7 @@
%define libsoname libneatvnc0
Name: neatvnc
-Version: 0.8.0
+Version: 0.8.1
Release: 0
Summary: A VNC server library
License: ISC
++++++ v0.8.0.tar.gz -> v0.8.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/neatvnc-0.8.0/include/common.h new/neatvnc-0.8.1/include/common.h
--- old/neatvnc-0.8.0/include/common.h 2024-02-25 12:11:28.000000000 +0100
+++ new/neatvnc-0.8.1/include/common.h 2024-08-01 23:01:01.000000000 +0200
@@ -38,6 +38,7 @@
#define MAX_OUTGOING_FRAMES 4
#define MSG_BUFFER_SIZE 4096
#define MAX_CUT_TEXT_SIZE 10000000
+#define MAX_SECURITY_TYPES 32
enum nvnc_client_state {
VNC_CLIENT_STATE_ERROR = -1,
@@ -167,6 +168,9 @@
struct crypto_rsa_priv_key* rsa_priv;
#endif
+ int n_security_types;
+ enum rfb_security_type security_types[MAX_SECURITY_TYPES];
+
uint32_t n_damage_clients;
};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/neatvnc-0.8.0/meson.build new/neatvnc-0.8.1/meson.build
--- old/neatvnc-0.8.0/meson.build 2024-02-25 12:11:28.000000000 +0100
+++ new/neatvnc-0.8.1/meson.build 2024-08-01 23:01:01.000000000 +0200
@@ -1,7 +1,7 @@
project(
'neatvnc',
'c',
- version: '0.8.0',
+ version: '0.8.1',
license: 'ISC',
default_options: [
'c_std=gnu11',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/neatvnc-0.8.0/src/server.c new/neatvnc-0.8.1/src/server.c
--- old/neatvnc-0.8.0/src/server.c 2024-02-25 12:11:28.000000000 +0100
+++ new/neatvnc-0.8.1/src/server.c 2024-08-01 23:01:01.000000000 +0200
@@ -67,7 +67,6 @@
#endif
#define DEFAULT_NAME "Neat VNC"
-#define SECURITY_TYPES_MAX 3
#define APPLE_DH_SERVER_KEY_LENGTH 256
#define UDIV_UP(a, b) (((a) + (b) - 1) / (b))
@@ -215,52 +214,79 @@
return 0;
}
-static int on_version_message(struct nvnc_client* client)
+static void init_security_types(struct nvnc* server)
{
- struct nvnc* server = client->server;
-
- if (client->buffer_len - client->buffer_index < 12)
- return 0;
-
- char version_string[13];
- memcpy(version_string, client->msg_buffer + client->buffer_index, 12);
- version_string[12] = '\0';
+#define ADD_SECURITY_TYPE(type) \
+ assert(server->n_security_types < MAX_SECURITY_TYPES); \
+ server->security_types[server->n_security_types++] = (type);
- if (strcmp(RFB_VERSION_MESSAGE, version_string) != 0)
- return handle_unsupported_version(client);
+ if (server->n_security_types > 0)
+ return;
- uint8_t buf[sizeof(struct rfb_security_types_msg) +
- SECURITY_TYPES_MAX] = {};
- struct rfb_security_types_msg* security =
- (struct rfb_security_types_msg*)buf;
-
- security->n = 0;
if (server->auth_flags & NVNC_AUTH_REQUIRE_AUTH) {
assert(server->auth_fn);
#ifdef ENABLE_TLS
if (server->tls_creds) {
- security->types[security->n++] = RFB_SECURITY_TYPE_VENCRYPT;
+ ADD_SECURITY_TYPE(RFB_SECURITY_TYPE_VENCRYPT);
}
#endif
#ifdef HAVE_CRYPTO
- security->types[security->n++] = RFB_SECURITY_TYPE_RSA_AES256;
- security->types[security->n++] = RFB_SECURITY_TYPE_RSA_AES;
+ ADD_SECURITY_TYPE(RFB_SECURITY_TYPE_RSA_AES256);
+ ADD_SECURITY_TYPE(RFB_SECURITY_TYPE_RSA_AES);
if (!(server->auth_flags & NVNC_AUTH_REQUIRE_ENCRYPTION)) {
- security->types[security->n++] = RFB_SECURITY_TYPE_APPLE_DH;
+ ADD_SECURITY_TYPE(RFB_SECURITY_TYPE_APPLE_DH);
}
#endif
} else {
- security->n = 1;
- security->types[0] = RFB_SECURITY_TYPE_NONE;
+ ADD_SECURITY_TYPE(RFB_SECURITY_TYPE_NONE);
}
- if (security->n == 0) {
+ if (server->n_security_types == 0) {
nvnc_log(NVNC_LOG_PANIC, "Failed to satisfy requested security constraints");
}
+#undef ADD_SECURITY_TYPE
+}
+
+static bool is_allowed_security_type(const struct nvnc* server, uint8_t type)
+{
+ for (int i = 0; i < server->n_security_types; ++i) {
+ if ((uint8_t)server->security_types[i] == type) {
+ return true;
+ }
+ }
+ return false;
+}
+
+static int on_version_message(struct nvnc_client* client)
+{
+ struct nvnc* server = client->server;
+
+ if (client->buffer_len - client->buffer_index < 12)
+ return 0;
+
+ char version_string[13];
+ memcpy(version_string, client->msg_buffer + client->buffer_index, 12);
+ version_string[12] = '\0';
+
+ if (strcmp(RFB_VERSION_MESSAGE, version_string) != 0)
+ return handle_unsupported_version(client);
+
+ uint8_t buf[sizeof(struct rfb_security_types_msg) +
+ MAX_SECURITY_TYPES] = {};
+ struct rfb_security_types_msg* security =
+ (struct rfb_security_types_msg*)buf;
+
+ init_security_types(server);
+
+ security->n = server->n_security_types;
+ for (int i = 0; i < server->n_security_types; ++i) {
+ security->types[i] = server->security_types[i];
+ }
+
stream_write(client->net_stream, security, sizeof(*security) +
security->n, NULL, NULL);
@@ -798,6 +824,11 @@
uint8_t type = client->msg_buffer[client->buffer_index];
nvnc_log(NVNC_LOG_DEBUG, "Client chose security type: %d", type);
+ if (!is_allowed_security_type(client->server, type)) {
+ security_handshake_failed(client, NULL, "Illegal security type");
+ return sizeof(type);
+ }
+
switch (type) {
case RFB_SECURITY_TYPE_NONE:
security_handshake_ok(client, NULL);
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package labwc for openSUSE:Factory checked in at 2024-08-02 17:27:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/labwc (Old)
and /work/SRC/openSUSE:Factory/.labwc.new.7232 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "labwc"
Fri Aug 2 17:27:08 2024 rev:7 rq:1191069 version:0.7.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/labwc/labwc.changes 2024-07-22 17:18:47.899180214 +0200
+++ /work/SRC/openSUSE:Factory/.labwc.new.7232/labwc.changes 2024-08-02 17:27:52.078617438 +0200
@@ -1,0 +2,32 @@
+Fri Aug 2 03:19:38 UTC 2024 - Muhammad Akbar Yanuar Mantari <mantarimay(a)pm.me>
+
+- Update to wlroots version 0.17.4
+ - render/pixman: Improve transform performance
+ - render/pixman: Fix non-uniform scale with rotation
+ - wlr_surface: update get_root_surface() docs
+ - output: reset hardware_cursor on failure
+ - scene: fix double scaling of opaque region for blend mode
+ optimization
+ - xdg-toplevel: allow edge_none for resizing
+ - output: extract hardware cursor disabling logic
+ - output: disable hardware cursor when falling back to software
+ - render/vulkan: fix texture clip region leak
+ - render/vulkan: free pipeline layouts on destroy
+ - render/vulkan: free render format setups on destroy
+ - backend/x11: send correct keyboard layout
+ - xdg-popup: don't emit parent's new_popup signal too early
+ - xdg-popup: validate positioner on reposition request
+ - input-method: unmap popup surfaces on deactivate
+ - backend/wayland: destroy ignored tablet proxies
+ - backend/drm: add support for libliftoff v0.5.0
+ - render/vulkan: don't use UNDEFINED layout for imported DMA-BUFs
+ - wlr_pointer_gestures_v1: init destroy signal
+ - wlr_pointer_gestures_v1: emit destroy signal in destroy function
+ - backend/libinput: Fix call of handle_libinput_readable() when
+ WLR_LIBINPUT_NO_DEVICES is set
+- Build under submodule wlroots v0.17.4
+- add pkgconfig(xwayland) BuildRequires: enable xwayland on wlroots
+- add pkgconfig(xcb-errors) BuildRequires: enable xcb-errors util
+ library on wlroots
+
+-------------------------------------------------------------------
Old:
----
wlroots-0.17.0.tar.bz2
New:
----
wlroots-0.17.4.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ labwc.spec ++++++
--- /var/tmp/diff_new_pack.uZo2sv/_old 2024-08-02 17:27:52.542636577 +0200
+++ /var/tmp/diff_new_pack.uZo2sv/_new 2024-08-02 17:27:52.542636577 +0200
@@ -16,10 +16,10 @@
#
-%bcond_with warp
+%bcond_without warp
%bcond_without xwayland
%define sname wlroots
-%define sver 0.17.0
+%define sver 0.17.4
Name: labwc
Version: 0.7.4
Release: 0
@@ -40,6 +40,7 @@
BuildRequires: pkgconfig(vulkan)
BuildRequires: pkgconfig(x11-xcb)
BuildRequires: pkgconfig(xcb)
+BuildRequires: pkgconfig(xcb-errors)
BuildRequires: pkgconfig(xcb-composite)
BuildRequires: pkgconfig(xcb-icccm)
BuildRequires: pkgconfig(xcb-image)
@@ -47,9 +48,10 @@
BuildRequires: pkgconfig(xcb-renderutil)
BuildRequires: pkgconfig(xcb-xfixes)
BuildRequires: pkgconfig(xcb-xkb)
+BuildRequires: pkgconfig(xwayland)
BuildRequires: pkgconfig(xwaylandproto)
%else
-BuildRequires: wlroots-devel >= 0.17.3
+BuildRequires: wlroots-devel >= 0.17.4
%endif
BuildRequires: hicolor-icon-theme
BuildRequires: meson
++++++ wlroots-0.17.0.tar.bz2 -> wlroots-0.17.4.tar.bz2 ++++++
++++ 1878 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package vtk-m for openSUSE:Factory checked in at 2024-08-02 17:27:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/vtk-m (Old)
and /work/SRC/openSUSE:Factory/.vtk-m.new.7232 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "vtk-m"
Fri Aug 2 17:27:05 2024 rev:5 rq:1191064 version:2.2.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/vtk-m/vtk-m.changes 2023-12-01 21:26:01.503325348 +0100
+++ /work/SRC/openSUSE:Factory/.vtk-m.new.7232/vtk-m.changes 2024-08-02 17:27:51.210581635 +0200
@@ -1,0 +2,33 @@
+Thu Aug 1 00:00:00 UTC 2024 - Vicente Adolfo Bolea Sanchez <vicente.bolea(a)gmail.com> - 2.2.0-0
+
+- Updated spec to vtk-m 2.2.0.
+- Find the release notes at
+ <https://gitlab.kitware.com/vtk/vtk-m/-/tags/v2.2.0>.
+- New features and bugfixes:
+ * Enable non-finite values with Intel compiler.
+ * Add GetNumberOfComponentsFlat method to ArrayHandle.
+ * Support Fill for ArrayHandleStride.
+ * Added component extraction support from ArrayHandleConstant.
+ * Store constant AMR arrays with less memory.
+ * Improved = operators in VecFromPortal.
+ * Deprecate the GetCounts() method in Keys objects.
+ * Enable new instances of unknown arrays with dynamic sizes.
+ * Consolidate WarpScalar and WarpVector filter.
+ * Adding MergeDataSets filter.
+ * Fix bug with ExtractGeometry filter.
+ * New Isosurface Uncertainty Visualization Analysis filter.
+ * Deprecated vtkm::filter::FilterField.
+ * Adding SliceMultiple filter.
+ * Constructors for mesh info classes updated to other filters.
+ * Allow floating-point isovalues for contours of integer fields.
+ * AtomicArrayExecutionObject: Allow order of atomic operations.
+ * Disable Thrust patch that is no longer needed in modern Thrust.
+ * Add hints to device adapter scheduler.
+ * Support backward compatibility in CMake package.
+ * Fix issue with union placeholder on Intel compiler.
+ * Fix old cuda atomics.
+ * Avoid floating point exceptions in rendering code.
+ * Added VTK-m's user guide into the source code.
+ * Fix crash when CUDA device is disabled.
+
+-------------------------------------------------------------------
Old:
----
vtk-m-v2.1.0.tar.gz
New:
----
vtk-m-v2.2.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ vtk-m.spec ++++++
--- /var/tmp/diff_new_pack.Hjz5Zl/_old 2024-08-02 17:27:51.902610179 +0200
+++ /var/tmp/diff_new_pack.Hjz5Zl/_new 2024-08-02 17:27:51.902610179 +0200
@@ -1,7 +1,7 @@
#
# spec file
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%define flavor @BUILD_FLAVOR@%{nil}
%define major_ver 2
-%define minor_ver 1
+%define minor_ver 2
%define patch_ver 0
%define short_ver %{major_ver}.%{minor_ver}
++++++ vtk-m-v2.1.0.tar.gz -> vtk-m-v2.2.0.tar.gz ++++++
/work/SRC/openSUSE:Factory/vtk-m/vtk-m-v2.1.0.tar.gz /work/SRC/openSUSE:Factory/.vtk-m.new.7232/vtk-m-v2.2.0.tar.gz differ: char 13, line 1
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package scrcpy for openSUSE:Factory checked in at 2024-08-02 17:27:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/scrcpy (Old)
and /work/SRC/openSUSE:Factory/.scrcpy.new.7232 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "scrcpy"
Fri Aug 2 17:27:05 2024 rev:4 rq:1191067 version:2.6
Changes:
--------
--- /work/SRC/openSUSE:Factory/scrcpy/scrcpy.changes 2024-07-01 11:20:47.251972384 +0200
+++ /work/SRC/openSUSE:Factory/.scrcpy.new.7232/scrcpy.changes 2024-08-02 17:27:49.770522237 +0200
@@ -1,0 +2,16 @@
+Thu Aug 1 17:31:56 UTC 2024 - munix9(a)googlemail.com
+
+- Update to version 2.6:
+ * Add audio playback capture method (#4380, #5102)
+ * Add audio duplication feature (#3875, #4380, #5102)
+ * Add mouse secondary bindings with Shift+click (#5055, #5076)
+ * Rework mouse events (#5067, #5076)
+ * Fix "turn screen off" for Honor devices (#4823, #4943, #5109)
+ * Add clipboard workaround for Honor devices (#4822, #5073)
+ * Always apply device workarounds (#4922, #5140, #5148, #5154)
+ * Fix missing initialization (#5057, #5058)
+ * Do not report error on device disconnected (#5044)
+ * Upgrade SDL to 2.30.5 in Windows releases
+ * Various technical fixes
+
+-------------------------------------------------------------------
Old:
----
scrcpy-2.5.tar.gz
scrcpy-server-v2.5
New:
----
scrcpy-2.6.tar.gz
scrcpy-server-v2.6
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ scrcpy.spec ++++++
--- /var/tmp/diff_new_pack.6FuYuR/_old 2024-08-02 17:27:50.170538736 +0200
+++ /var/tmp/diff_new_pack.6FuYuR/_new 2024-08-02 17:27:50.174538901 +0200
@@ -17,7 +17,7 @@
Name: scrcpy
-Version: 2.5
+Version: 2.6
Release: 0
Summary: Display and control your Android device
License: Apache-2.0
@@ -35,7 +35,7 @@
BuildRequires: pkgconfig(libusb-1.0)
BuildRequires: pkgconfig(sdl2)
Requires: android-tools
-%if 0%{?suse_version} <= 1500
+%if 0%{?suse_version} < 1600
BuildRequires: gcc11
BuildRequires: gcc11-PIE
%else
@@ -72,7 +72,7 @@
%autosetup -p1
%build
-%if 0%{?suse_version} <= 1500
+%if 0%{?suse_version} < 1600
export CC=gcc-11
%endif
++++++ scrcpy-2.5.tar.gz -> scrcpy-2.6.tar.gz ++++++
++++ 15101 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package imgui for openSUSE:Factory checked in at 2024-08-02 17:27:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/imgui (Old)
and /work/SRC/openSUSE:Factory/.imgui.new.7232 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "imgui"
Fri Aug 2 17:27:03 2024 rev:12 rq:1191047 version:1.90.9
Changes:
--------
--- /work/SRC/openSUSE:Factory/imgui/imgui.changes 2024-03-25 21:17:38.470221868 +0100
+++ /work/SRC/openSUSE:Factory/.imgui.new.7232/imgui.changes 2024-08-02 17:27:43.834277387 +0200
@@ -1,0 +2,161 @@
+Fri Jul 26 06:22:12 UTC 2024 - Frantisek Simorda <frantisek.simorda(a)suse.com>
+
+- - Update to 1.90.9
+ Removed old nested structure: renaming ImGuiStorage::ImGuiStoragePair type to ImGuiStoragePair (simpler for many languages). No significant nested type left.
+ BeginChild: added ImGuiChildFlags_NavFlattened as a replacement for the window flag ImGuiWindowFlags_NavFlattened: the feature only ever made sense for BeginChild() calls anyhow. (#7687)
+ old: BeginChild("Name", size, 0, ImGuiWindowFlags_NavFlattened);
+ new: BeginChild("Name", size, ImGuiChildFlags_NavFlattened, 0)
+ Kept inline redirection flag (will obsolete).
+ Style: renamed tab colors for clarity and consistency with other changes: (#261, #351)
+ ImGuiCol_TabActive -> ImGuiCol_TabSelected
+ ImGuiCol_TabUnfocused -> ImGuiCol_TabDimmed
+ ImGuiCol_TabUnfocusedActive -> ImGuiCol_TabDimmedSelected
+ Kept inline redirecting enums (will obsolete).
+ IO: io.ClearInputKeys() (first exposed in 1.89.8) doesn't clear mouse data. Newly added io.ClearInputMouse() does. (#4921)
+ Drag and Drop: renamed ImGuiDragDropFlags_SourceAutoExpirePayload to ImGuiDragDropFlags_PayloadAutoExpire. Kept inline redirecting enum (will obsolete). (#1725, #143)
+ IO: do not disable io.ConfigWindowsResizeFromEdges (which allow resizing from borders and lower-left corner) when ImGuiBackendFlags_HasMouseCursors is not set by backend. The initial reasoning is that resizing from borders feels better when correct mouse cursor shape change as honored by backends. Keeping this enabling will hopefully increase pressure on third-party backends to set ImGuiBackendFlags_HasMouseCursors and honor changes of ImGui::GetMouseCursor() value. (#1495)
+ IO: do not claim io.WantCaptureMouse=true on the mouse release frame of a button which was pressed over void/underlying app, which is consistent/needed to allow the mouse up event of a drag over void/underlying app to catch release. (#1392)
+ IO: Added io.ClearInputMouse() to clear mouse state. (#4921)
+ Windows: BeginChild(): fixed a glitch when during a resize of a child window which is tightly close to the boundaries of its parent (e.g. with zero WindowPadding), the child position could have temporarily be moved around by erroneous padding application. (#7706)
+ TabBar, Style: added ImGuiTabBarFlags_DrawSelectedOverline option to draw an horizontal line over selected tabs to increase visibility. This is used by docking. Added corresponding ImGuiCol_TabSelectedOverline and ImGuiCol_TabDimmedSelectedOverline colors.
+ Tables: added TableGetHoveredColumn() to public API, as an alternative to testing for TableGetColumnFlags(column) & ImGuiTableColumnFlags_IsHovered on each column. (#3740)
+ Disabled, Inputs: fixed using Shortcut() or SetNextItemShortcut() within a disabled block bypassing the disabled state. (#7726)
+ Disabled: Reworked 1.90.8 behavior of Begin() not inheriting current BeginDisabled() state, to make it that only tooltip windows are temporarily clearing it. (#211, #7640)
+ Drags: added ImGuiSliderFlags_WrapAround flag for DragInt(), DragFloat() etc. (#7749)
+ Drag and Drop: BeginDragDropSource() with ImGuiDragDropFlags_SourceExtern sets active id so a multi-frame extern source doesn't interfere with hovered widgets. (#143)
+ Drag and Drop: BeginDragDropSource() with ImGuiDragDropFlags_SourceExtern does not assume a mouse button being pressed. Facilitate implementing cross-context drag and drop. (#143)
+ Drag and Drop: Added ImGuiDragDropFlags_PayloadNoCrossContext/ImGuiDragDropFlags_PayloadNoCrossProcess flags as metadata to specify that a payload may not be copied outside the context/process by some logic aiming to copy payloads around.
+ Drag and Drop: Fixes an issue when elapsing payload would be based on last payload frame instead of last drag source frame, which makes a difference if not resubmitting payload every frame. (#143)
+ Debug Tools: Metrics/Debugger: Browsing a Storage perform hover lookup on identifier.
+ Viewports: Backported void* ImGuiViewport::PlatformHandle from docking branch for use by backends.
+ imgui_freetype: Fixed divide by zero while handling FT_PIXEL_MODE_BGRA glyphs. (#7267, #3369)
+ Backends: OpenGL2, OpenGL3: ImGui_ImplOpenGL3_NewFrame() recreates font texture if it has been destroyed by ImGui_ImplOpenGL3_DestroyFontsTexture(). (#7748)
+ Backends: SDL3: Update for API removal of keysym field in SDL_KeyboardEvent. (#7728)
+ Backends: SDL3: Update for SDL_StartTextInput()/SDL_StopTextInput() API changes. (#7735)
+ Backends: SDL3: Update for SDL_SetTextInputRect() API rename. (#7760, #7754)
+ Backends: SDLRenderer3: Update for SDL_RenderGeometryRaw() API changes. (SDL#9009).
+ Backends: Vulkan: Remove Volk/ from volk.h #include directives. (#7722, #6582, #4854)
+ Examples: SDL3: Remove use of SDL_HINT_IME_NATIVE_UI since new SDL_HINT_IME_IMPLEMENTED_UI values has a more suitable default for our case case.
+ Examples: GLFW+Vulkan, SDL+Vulkan: handle swap chain resize even without Vulkan returning VK_SUBOPTIMAL_KHR, which doesn't seem to happen on Wayland. (#7671)
+
+- Changes of 1.90.8
+ Reordered various ImGuiInputTextFlags values. This should NOT be breaking unless you are using generated headers that have values not matching the main library.
+ Removed ImGuiButtonFlags_MouseButtonDefault_ = ImGuiButtonFlags_MouseButtonLeft from imgui.h, was mostly unused and misleading.
+ Inputs: Fixed IsMouseClicked(..., repeat=true); broken in 1.90.7 on 2024/05/22. (due to an internal api parameter swap, repeat wouldn't be honored and ownership would be accidentally checked even though this api is meant to not
+ check ownership). (#7657)
+ Windows: fixed altering FramePadding mid-frame not correctly affecting logic responsible for honoring io.ConfigWindowsMoveFromTitleBarOnly. (#7576, #899)
+ Scrollbar: made scrolling logic more standard: clicking above or below the grab scrolls by one page, holding mouse button repeats scrolling. (#7328, #150)
+ Scrollbar: fixed miscalculation of vertical scrollbar visibility when required solely by the presence of an horizontal scrollbar. (#1574)
+ InputScalar, InputInt, InputFloat: added ImGuiInputTextFlags_ParseEmptyRefVal to parse an empty field as zero-value. (#7305)
+ InputScalar, InputInt, InputFloat: added ImGuiInputTextFlags_DisplayEmptyRefVal to display a zero-value as empty. (#7305)
+ Popups: fixed an issue preventing to close a popup opened over a modal by clicking over void (it required clicking over the visible part of the modal). (#7654)
+ Tables: fixed an issue where ideal size reported to parent container wouldn't correctly take account of inner scrollbar, affecting potential auto-resize of parent container. (#7651)
+ Tables: fixed a bug where after disabling the ScrollY flag for a table, previous scrollbar width would be accounted for. (#5920)
+ Combo: simplified Combo() API uses a list clipper (due to its api it wasn't previously trivial before we added clipper.IncludeItemByIndex() function).
+ Disabled: nested tooltips or other non-child window within a BeginDisabled() block disable the disabled state. (#211, #7640)
+ Misc: made ImGuiDir and ImGuiSortDirection stronger-typed enums.
+ Backends: SDL3: Update for SDL_SYSTEM_CURSOR_xxx api renames. (#7653)
+ RangeSelect/MultiSelect: Box-Select: when dragging from void, first hit item sets NavId so navigation can resume from that spot.
+ RangeSelect/MultiSelect: (breaking) Added optional 'items_count' parameter to BeginMultiSelect(). Will enable extra features, and remove equivalent parameter from ImGuiSelectionBasicStorage::ApplyRequests().
+ RangeSelect/MultiSelect: (breaking) renamed ImGuiMultiSelectFlags_BoxSelect -> ImGuiMultiSelectFlags_BoxSelect1d, ImGuiMultiSelectFlags_BoxSelect2d -> ImGuiMultiSelectFlags_BoxSelect.
+ RangeSelect/MultiSelect: (breaking) ImGuiSelectionBasicStorage: renamed AdapterData to UserData.
+ RangeSelect/MultiSelect: ImGuiSelectionBasicStorage: added GetStorageIdFromIndex() method indirection to be easier on the reader.
+ RangeSelect/MultiSelect: ImGuiSelectionBasicStorage: fixed Swap() helper.
+ RangeSelect/MultiSelect: added ImGuiSelectionExternalStorage helper. Simplify checkboxes/bool demo.
+ RangeSelect/MultiSelect: Box-select: fixes for checkboxes support.
+ RangeSelect/MultiSelect: mark parent child window as navigable into, with highlight visible when pressing Escape.
+
+
+- Changes of 1.90.7
+ Inputs: on macOS X, Cmd and Ctrl keys are now automatically swapped by io.AddKeyEvent(), as this naturally align with how macOS X uses those keys. (#2343, #4084, #5923, #456)
+ Effectively it means that e.g. ImGuiMod_Ctrl | ImGuiKey_C is a valid idiomatic shortcut for both Windows and Mac style users.
+ It shouldn't really affect your code unless you had explicit/custom shortcut swapping in place for macOS X apps in your input logic.
+ Removed ImGuiMod_Shortcut which was previously dynamically remapping to Ctrl or Cmd/Super. It is now unnecessary to specific cross-platform idiomatic shortcuts. Kept symbols redirecting ImGuiMod_Shortcut to ImGuiMod_Ctrl (will obsolete).
+ Commented out obsolete symbols renamed in 1.88 (May 2022):
+ CaptureKeyboardFromApp() -> SetNextFrameWantCaptureKeyboard()
+ CaptureMouseFromApp() -> SetNextFrameWantCaptureMouse()
+ Backends: SDL_Renderer2/SDL_Renderer3: ImGui_ImplSDLRenderer2_RenderDrawData() and ImGui_ImplSDLRenderer3_RenderDrawData() now takes a SDL_Renderer* parameter. This was previously overlooked from the API but it will allow eventual support for multi-viewports.
+ Extra Breaking changes IF AND ONLY IF you were using imgui_internal.h versions of Shortcut() or owner-aware versions of IsKeyPressed(), IsKeyChordPressed(), IsMouseClicked() prior to this version. (Open for details)
+ Windows: BeginChild(): fixed visibility of fully clipped child windows and tables from Test Engine.
+ Windows: BeginChild(): fixed auto-fit calculation when using either (not both) ResizeX/ResizeY and double-clicking on a border. Calculation incorrectly didn't always account for scrollbar as it assumed the other axis would also be auto-fit. (#1710)
+ Inputs: added shortcut and routing system in public API. (#456, #2637)
+ Most of the infrastructure have been in place for a few versions. Recent changes/fixes allowed to make it public.
+ The general idea is that several callers may register interest in a shortcut, and only one owner gets it.
+ in Parent: call Shortcut(Ctrl+S) // When Parent is focused, only Parent gets the shortcut.
+ in Child1: call Shortcut(Ctrl+S) // When Child1 is focused, only Child1 gets the shortcut (Child1 overrides Parent shortcuts)
+ in Child2: no call // When Child2 is focused, only Parent gets the shortcut.
+ The whole system is order independent, so if Child1 makes its calls before Parent, results will be identical. This is an important property as it facilitate working with foreign code or larger codebase.
+ Added Shortcut() function. e.g. Using ImGui::Shortcut(ImGuiMod_Ctrl | ImGuiKey_C) with default policy:
+ checks that CTRL+C is pressed,
+ and that current window is in focus stack,
+ and that no other requests for CTRL+C have been made from higher priority locations (e.g. deeper in the window/item stack).
+ Added SetNextItemShortcut() to set a shortcut to locally or remotely press or activate an item (depending on specified routing policy: using ImGuiInputFlags_RouteGlobal the item shortcut may be executed even if its window is not in focus stack). Items like buttons are not fully activated, in the sense that they get pressed but another active item, e.g. InputText() won't be deactivated.
+ Added routing policies for Shortcut(), SetNextItemShortcut(): (#456, #2637)
+ ImGuiInputFlags_RouteFocused: focus stack route (default)
+ ImGuiInputFlags_RouteActive: only route to active item
+ ImGuiInputFlags_RouteGlobal: route globally, unless a focus route claim shame shortcut.
+ ImGuiInputFlags_RouteAlways: no routing submission, no routing check.
+ Added other shortcut/routing options: (#456, #2637)
+ ImGuiInputFlags_Repeat: for use by Shortcut() and by upcoming rework of various input functions (which are still internal for now).
+ ImGuiInputFlags_Tooltip: for SetNextItemShortcut() to show a tooltip when hovering item.
+ ImGuiInputFlags_RouteOverFocused: global route takes priority over focus route.
+ ImGuiInputFlags_RouteOverActive: global route takes priority over active item.
+ ImGuiInputFlags_RouteUnlessBgFocused: global route disabled if no imgui window focused.
+ ImGuiInputFlags_RouteFromRootWindow: route evaluated from the point of view of root window rather than current window.
+ Inputs: (OSX) Fixes variety of code which inconsistently required using Ctrl instead of Cmd.
+ e.g. Drags/Sliders now use Cmd+Click to input a value. (#4084)
+ Some shortcuts still uses Ctrl on Mac: e.g. Ctrl+Tab to switch windows. (#4828)
+ Inputs: (OSX) Ctrl+Left Click alias as a Right click. (#2343)
+ Inputs: Fixed ImGui::GetKeyName(ImGuiKey_None) from returning "N/A" or "None" depending on value of IMGUI_DISABLE_OBSOLETE_KEYIO. It always returns "None".
+ Nav: fixed holding Ctrl or gamepad L1 from not slowing down keyboard/gamepad tweak speed. Broken during a refactor refactor for 1.89. Holding Shift/R1 to speed up wasn't broken.
+ Tables: fixed cell background of fully clipped row overlapping with header. (#7575, #7041)
+ Demo: Added "Inputs & Focus -> Shortcuts" section. (#456, #2637)
+ Demo: Documents: Added shortcuts and renaming tabs/documents. (#7233)
+ Examples: Win32+DX9,DX10,DX11,DX12: rework main loop to handle minimization and screen locking without burning resources by running unthrottled code. (#2496, #3907, #6308, #7615)
+ Backends: all backends + demo now call IMGUI_CHECKVERSION() to verify ABI compatibility between caller code and compiled version of Dear ImGui. If you get an assert it most likely mean you have a build issue, read comments near the assert. (#7568)
+ Backends: Win32: undo an assert introduced in 1.90.6 which didn't allow WndProc handler to be called before backend initialization. Because of how ::CreateWindow() calls in WndProc it is facilitating to not assert. (#6275)
+ Backends, Examples: SDL3: updates for latest SDL3 API changes. (#7580)
+
+- Changes of 1.90.6
+ TreeNode: Fixed a layout inconsistency when using a empty/hidden label followed by a SameLine() call. (#7505, #282)
+ With the fix, IF you were successfully using TreeNode("")+SameLine(); you will now have extra spacing between your TreeNode and the following item. You'll need to change the SameLine() call to SameLine(0,0) to remove this extraneous spacing. This seemed like the more sensible fix that's not making things less consistent. (Note: when using this idiom you are likely to also use ImGuiTreeNodeFlags_SpanAvailWidth).
+ Windows: Changed default ClipRect to extend to windows' left and right borders, instead of adding arbitrary WindowPadding.x * 0.5f space on left and right. That ClipRect half-padding was arbitrary/confusing and inconsistent with Y axis. It also made it harder to draw items covering whole window without pushing an extended ClipRect. Some items near windows left and right edge that used to be clipped may be partly more visible. (#3312, #7540, #3756, #6170, #6365)
+ Windows: Fixed subsequent Begin() append calls from setting last item information for title bar, making it impossible to use IsItemHovered() on a Begin()-to-append, and causing issue bypassing hover detection on collapsed windows. (#7506, #823)
+ Fonts: Fixed font ascent and descent calculation when a font hits exact integer values. It is possible that some prior manual use of ImFontConfig::GlyphOffset may become duplicate with this fix. (#7399, #7404)
+ TreeNode: Added ImGuiTreeNodeFlags_SpanTextWidth to make hitbox and highlight only cover the label. (#6937)
+ Tables: Angled headers: fixed multi-line label display when angle is flipped. (#6917)
+ Tables: Angled headers: added style.TableAngledHeadersTextAlign and corresponding ImGuiStyleVar_TableAngledHeadersTextAlign variable. Default to horizontal center. (#6917)
+ ProgressBar: Added support for indeterminate progress bar by passing an animated negative fraction, e.g. ProgressBar(-1.0f * GetTime()). (#5316, #5370, #1901)
+ Text, DrawList: Improved handling of long single-line wrapped text. Faster and mitigate issues with reading vertex indexing limits with 16-bit indices. (#7496, #5720)
+ Backends: OpenGL3: Detect ES3 contexts on desktop based on version string, to e.g. avoid calling glPolygonMode() on them. (#7447)
+ Backends: OpenGL3: Update loader for Linux to support EGL/GLVND. (#7562)
+ Backends: Vulkan: Added convenience support for Volk via IMGUI_IMPL_VULKAN_USE_VOLK define. (you could always use IMGUI_IMPL_VULKAN_NO_PROTOTYPES + ImGui_ImplVulkan_LoadFunctions() as well). (#6582, #4854)
+ Backends: SDL3: Fixed text inputs. Re-enable calling SDL_StartTextInput()/SDL_StopTextInput() as SDL3 no longer enables it by default. (#7452, #6306, #6071, #1953)
+ Examples: GLFW+Vulkan, SDL+Vulkan: Added optional support for Volk. (#6582, #4854)
+ Examples: GLFW+WebGPU: Added support for WebGPU-native/Dawn (#7435, #7132)
+ Examples: GLFW+WebGPU: Renamed example_emscripten_wgpu/ to example_glfw_wgpu/. (#7435, #7132)
+
+- Changes of 1.90.5
+ More formally obsoleted GetKeyIndex() when IMGUI_DISABLE_OBSOLETE_FUNCTIONS is set.
+ It has been unnecessary and a no-op since 1.87 (it returns the same value as passed when used with a 1.87+ backend using io.AddKeyEvent() function). (#4921)
+ Reminder: IsKeyPressed(GetKeyIndex(ImGuiKey_XXX)) --> IsKeyPressed(ImGuiKey_XXX)
+ ImDrawList: Merged the radius_x/radius_y parameters in AddEllipse(), AddEllipseFilled() and PathEllipticalArcTo() into a single ImVec2 parameter. Exceptionally, because those functions were added recently in 1.90, we are not adding inline redirection functions. The transition is easy and should affect few users. (#2743, #7417)
+ Windows: Scrollbar visibility decision uses current size when both size and contents size are submitted by API. (#7252)
+ Windows: Double-click to collapse may be disabled via key-ownership mechanism. (#7369)
+ Windows: BeginChild(): Extend outer resize borders to the edges when there are no corner grips. Essentially affects resizable child windows. (#7440, #1710)
+ Windows: BeginChild(): Resizing logic for child windows evaluates whether per-axis clamping should be applied based on parent scrollbars, not child scrollbars. (#7440, #1710) Adjust those resizing limits to match window padding rather than inner clipping rectangle.
+ Tables: Fixed auto-width columns when using synced-instances of same table, width of one instance would bleed into next one instead of sharing their widths. (#7218)
+ Tables: Angled headers: fixed border hit box extending beyond when used within non-scrollable tables. (#7416)
+ Tables: Angled headers: fixed borders not moving back up after TableAngleHeadersRow() stops being called. (#7416)
+ Tables: Angled headers: rounding header size to nearest integers, fixes some issues when using clipper.
+ Menus, Popups: Fixed an issue where sibling menu popups re-opening in successive frames would erroneously close the window. While it is technically a popup issue it would generally manifest when fast moving the mouse bottom to top in a sub-menu. (#7325, #7287, #7063)
+ ProgressBar: Fixed passing fraction==NaN from leading to a crash. (#7451)
+ ListBox: Fixed text-baseline offset when using SameLine()+Text() after a labeled ListBox().
+ Drags, Sliders, Inputs: Fixed io.PlatformLocaleDecimalPoint decimal point localization feature not working regression from 1.90.1. (#7389, #6719, #2278)
+ Style: Added ImGuiStyleVar_TabBorderSize, ImGuiStyleVar_TableAngledHeadersAngle for consistency. (#7411)
+ DrawList: Added AddConcavePolyFilled(), PathFillConcave() concave filling. (#760) Note that only simple polygons (no self-intersections, no holes) are supported.
+ DrawList: Allow AddText() to accept null ranges. (#3615, 7391)
+ Docs: added more wiki links to headers of imgui.h/imgui.cpp to facilitate discovery
+ of interesting resources, because github doesn't allow Wiki to be crawled by search engines.
+
+-------------------------------------------------------------------
Old:
----
v1.90.4.tar.gz
New:
----
v1.90.9.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ imgui.spec ++++++
--- /var/tmp/diff_new_pack.RuF6aZ/_old 2024-08-02 17:27:45.390341570 +0200
+++ /var/tmp/diff_new_pack.RuF6aZ/_new 2024-08-02 17:27:45.402342065 +0200
@@ -17,7 +17,7 @@
Name: imgui
-Version: 1.90.4
+Version: 1.90.9
Release: 0
Summary: Immediate Mode Graphical User interface for C++ with minimal dependencies
License: MIT
++++++ v1.90.4.tar.gz -> v1.90.9.tar.gz ++++++
++++ 11729 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package restic for openSUSE:Factory checked in at 2024-08-02 17:27:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/restic (Old)
and /work/SRC/openSUSE:Factory/.restic.new.7232 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "restic"
Fri Aug 2 17:27:00 2024 rev:26 rq:1191046 version:0.17.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/restic/restic.changes 2024-07-08 19:08:21.386951157 +0200
+++ /work/SRC/openSUSE:Factory/.restic.new.7232/restic.changes 2024-08-02 17:27:41.970200501 +0200
@@ -1,0 +2,73 @@
+Fri Jul 26 10:09:23 UTC 2024 - Marcus Rueckert <mrueckert(a)suse.de>
+
+- Update to version 0.17.0
+ - Fix #3600: Handle unreadable xattrs in folders above backup
+ source
+ - Fix #4209: Fix slow SFTP upload performance
+ - Fix #4503: Correct hardlink handling in stats command
+ - Fix #4568: Prevent forget --keep-tags <invalid> from deleting
+ all snapshots
+ - Fix #4615: Make find not sometimes ignore directories
+ - Fix #4656: Properly report ID of newly added keys
+ - Fix #4703: Shutdown cleanly when receiving SIGTERM
+ - Fix #4709: Correct --no-lock handling of ls and tag commands
+ - Fix #4760: Fix possible error on concurrent cache cleanup
+ - Fix #4850: Handle UTF-16 password files in key command
+ correctly
+ - Fix #4902: Update snapshot summary on rewrite
+ - Chg #956: Return exit code 10 and 11 for non-existing and
+ locked repository
+ - Chg #4540: Require at least ARMv6 for ARM binaries
+ - Chg #4602: Deprecate legacy index format and s3legacy
+ repository layout
+ - Chg #4627: Redesign backend error handling to improve
+ reliability
+ - Chg #4707: Disable S3 anonymous authentication by default
+ - Chg #4744: Include full key ID in JSON output of key list
+ - Enh #662: Optionally skip snapshot creation if nothing changed
+ - Enh #693: Include snapshot size in snapshots output
+ - Enh #805: Add bitrot detection to diff command
+ - Enh #828: Improve features of the repair packs command
+ - Enh #1786: Support repositories with empty password
+ - Enh #2348: Add --delete option to restore command
+ - Enh #3067: Add extended options to configure Windows Shadow
+ Copy Service
+ - Enh #3406: Improve dump performance for large files
+ - Enh #3806: Optimize and make prune command resumable
+ - Enh #4006: (alpha) Store deviceID only for hardlinks
+ - Enh #4048: Add support for FUSE-T with mount on macOS
+ - Enh #4251: Support reading backup from a command's standard
+ output
+ - Enh #4287: Support connection to rest-server using unix socket
+ - Enh #4354: Significantly reduce prune memory usage
+ - Enh #4437: Make check command create non-existent cache
+ directory
+ - Enh #4472: Support AWS Assume Role for S3 backend
+ - Enh #4547: Add --json option to version command
+ - Enh #4549: Add --ncdu option to ls command
+ - Enh #4573: Support rewriting host and time metadata in
+ snapshots
+ - Enh #4583: Ignore s3.storage-class archive tiers for metadata
+ - Enh #4590: Speed up mount command's error detection
+ - Enh #4601: Add support for feature flags
+ - Enh #4611: Back up more file metadata on Windows
+ - Enh #4664: Make ls use message_type field in JSON output
+ - Enh #4676: Make key command's actions separate sub-commands
+ - Enh #4678: Add --target option to the dump command
+ - Enh #4708: Back up and restore SecurityDescriptors on Windows
+ - Enh #4733: Allow specifying --host via environment variable
+ - Enh #4737: Include snapshot ID in reason field of forget JSON
+ output
+ - Enh #4764: Support forgetting all snapshots
+ - Enh #4768: Allow specifying custom User-Agent for outgoing
+ requests
+ - Enh #4781: Add restore options to read include/exclude patterns
+ from files
+ - Enh #4807: Support Extended Attributes on Windows NTFS
+ - Enh #4817: Make overwrite behavior of restore customizable
+ - Enh #4839: Add dry-run support to restore command
+
+ for all the details see https://github.com/restic/restic/releases/tag/v0.17.0
+ or /usr/share/doc/packages/restic/CHANGELOG.md
+
+-------------------------------------------------------------------
Old:
----
restic-0.16.5.tar.gz
restic-0.16.5.tar.gz.asc
New:
----
restic-0.17.0.tar.gz
restic-0.17.0.tar.gz.asc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ restic.spec ++++++
--- /var/tmp/diff_new_pack.6akyVE/_old 2024-08-02 17:27:43.002243069 +0200
+++ /var/tmp/diff_new_pack.6akyVE/_new 2024-08-02 17:27:43.006243234 +0200
@@ -20,7 +20,7 @@
%define import_path github.com/restic/restic
Name: restic
-Version: 0.16.5
+Version: 0.17.0
Release: 0
Summary: Backup program with deduplication and encryption
License: BSD-2-Clause
++++++ restic-0.16.5.tar.gz -> restic-0.17.0.tar.gz ++++++
/work/SRC/openSUSE:Factory/restic/restic-0.16.5.tar.gz /work/SRC/openSUSE:Factory/.restic.new.7232/restic-0.17.0.tar.gz differ: char 13, line 1
++++++ vendor.tar.gz ++++++
/work/SRC/openSUSE:Factory/restic/vendor.tar.gz /work/SRC/openSUSE:Factory/.restic.new.7232/vendor.tar.gz differ: char 5, line 1
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package trurl for openSUSE:Factory checked in at 2024-08-02 17:26:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/trurl (Old)
and /work/SRC/openSUSE:Factory/.trurl.new.7232 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "trurl"
Fri Aug 2 17:26:58 2024 rev:13 rq:1191036 version:0.14
Changes:
--------
--- /work/SRC/openSUSE:Factory/trurl/trurl.changes 2024-06-03 17:43:30.635138445 +0200
+++ /work/SRC/openSUSE:Factory/.trurl.new.7232/trurl.changes 2024-08-02 17:27:37.878031747 +0200
@@ -1,0 +2,10 @@
+Mon Jul 29 20:00:22 UTC 2024 - Martin Hauke <mardnh(a)gmx.de>
+
+- Update to version 0.14
+ * remove a suprious trailing newline from a warning.
+ * trurl.1: document the exit codes.
+ * add "strict:" as prefix to a get component.
+ * casecompare: a strncasemp replacement.
+ * support conditionally set scheme.
+
+-------------------------------------------------------------------
Old:
----
trurl-0.13.tar.gz
New:
----
trurl-0.14.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ trurl.spec ++++++
--- /var/tmp/diff_new_pack.OJJWt7/_old 2024-08-02 17:27:38.802069851 +0200
+++ /var/tmp/diff_new_pack.OJJWt7/_new 2024-08-02 17:27:38.802069851 +0200
@@ -18,7 +18,7 @@
Name: trurl
-Version: 0.13
+Version: 0.14
Release: 0
Summary: Command line tool for URL parsing and manipulation
License: MIT
++++++ trurl-0.13.tar.gz -> trurl-0.14.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trurl-trurl-0.13/RELEASE-NOTES new/trurl-trurl-0.14/RELEASE-NOTES
--- old/trurl-trurl-0.13/RELEASE-NOTES 2024-05-15 08:23:20.000000000 +0200
+++ new/trurl-trurl-0.14/RELEASE-NOTES 2024-07-29 21:30:02.000000000 +0200
@@ -1,17 +1,13 @@
-# trurl 0.13
+# trurl 0.14
## What's Changed
- - (also) support --flag=argument style for long options
- - fix unchecked return values from libcurl calls
- - fixed typos
- - free allocated pointer on OOM error
- - memdupdec: free memory in OOM exit path
- - only --append in the first iterate loop
- - short options need no space separation for the argument anymore
- - support ?= for set, to only do it if not already set
- - trurl.1: use present tense
+- remove a suprious trailing newline from a warning
+- trurl.1: document the exit codes
+- add "strict:" as prefix to a get component
+- casecompare: a strncasemp replacement
+- support conditionally set scheme
Contributors to this release:
- Daniel Gustafsson, Daniel Stenberg, Jacob Mealey, Viktor Szakats
+ Daniel Stenberg
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trurl-trurl-0.13/tests.json new/trurl-trurl-0.14/tests.json
--- old/trurl-trurl-0.13/tests.json 2024-05-15 08:23:20.000000000 +0200
+++ new/trurl-trurl-0.14/tests.json 2024-07-29 21:30:02.000000000 +0200
@@ -2544,5 +2544,62 @@
"stderr": "",
"returncode": 0
}
+ },
+ {
+ "input": {
+ "arguments": [
+ "https://curl.se?name=mr%00smith",
+ "--get",
+ "{query}"
+ ]
+ },
+ "expected": {
+ "stderr": "trurl note: URL decode error, most likely because of rubbish in the input (query)\n",
+ "returncode": 0,
+ "stdout": "\n"
+ }
+ },
+ {
+ "input": {
+ "arguments": [
+ "https://curl.se?name=mr%00smith",
+ "--get",
+ "{strict:query}"
+ ]
+ },
+ "expected": {
+ "stderr": "trurl error: problems URL decoding query\ntrurl error: Try trurl -h for help\n",
+ "returncode": 10,
+ "stdout": ""
+ }
+ },
+ {
+ "required": ["no-guess-scheme"],
+ "input": {
+ "arguments": [
+ "example.com",
+ "--set",
+ "scheme?=https"
+ ]
+ },
+ "expected": {
+ "stdout": "https://example.com/\n",
+ "stderr": "",
+ "returncode": 0
+ }
+ },
+ {
+ "input": {
+ "arguments": [
+ "ftp://example.com",
+ "--set",
+ "scheme?=https"
+ ]
+ },
+ "expected": {
+ "stdout": "ftp://example.com/\n",
+ "stderr": "",
+ "returncode": 0
+ }
}
]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trurl-trurl-0.13/trurl.1 new/trurl-trurl-0.14/trurl.1
--- old/trurl-trurl-0.13/trurl.1 2024-05-15 08:23:20.000000000 +0200
+++ new/trurl-trurl-0.14/trurl.1 2024-07-29 21:30:02.000000000 +0200
@@ -109,10 +109,17 @@
not have a value.
Components are shown URL decoded by default. If you instead write the
-component prefixed with a colon like "{:path}", it gets output URL encoded.
+component prefixed with "url:" like "{url:path}", it gets output URL encoded.
+As a shortcut, "url:" also works written as a single colon: "{:path}".
-You may also prefix components with \fBdefault:\fP and/or \fBpuny:\fP or \fBidn:\fP,
-in any order.
+URL decoding a component may cause problems to display it. Such problems make
+a warning get displayed unless \fB--quiet\fP is used. URL decode problems can
+optionally be turned into errors by prefixing the comopnent name with
+"strict:", as in "{strict:path}". In this stricter mode, a URL decode problem
+makes trurl stop what it is doing and return with exit code 10.
+
+You may also prefix components with \fBdefault:\fP and/or \fBpuny:\fP or
+\fBidn:\fP, in any order.
If \fBdefault:\fP is specified, like "{default:url}" or
"{default:port}", and the port is not explicitly specified in the URL,
@@ -431,6 +438,32 @@
ftp://curl.se/path/index.html
sftp://curl.se/path/index.html
.fi
+.SH "EXIT CODES"
+trurl returns a non-zero exit code to indicate problems.
+.IP 1
+A problem with --url-file
+.IP 2
+A problem with --append
+.IP 3
+A command line option misses an argument
+.IP 4
+A command line option mistake or an illegal option combination.
+.IP 5
+A problem with --set
+.IP 6
+Out of memory
+.IP 7
+Could not output a valid URL
+.IP 8
+A problem with --trim
+.IP 9
+If --verify is set and the input URL cannot parse.
+.IP 10
+A problem with --get
+.IP 11
+A problem with --iterate
+.IP 12
+A problem with --replace or --force-replace
.SH WWW
https://curl.se/trurl
.SH "SEE ALSO"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trurl-trurl-0.13/trurl.c new/trurl-trurl-0.14/trurl.c
--- old/trurl-trurl-0.13/trurl.c 2024-05-15 08:23:20.000000000 +0200
+++ new/trurl-trurl-0.14/trurl.c 2024-07-29 21:30:02.000000000 +0200
@@ -46,8 +46,6 @@
#include "version.h"
#ifdef _MSC_VER
-#define strncasecmp _strnicmp
-#define strcasecmp _stricmp
#define strdup _strdup
#endif
@@ -74,6 +72,11 @@
#if CURL_AT_LEAST_VERSION(7,30,0)
#define SUPPORTS_IMAP_OPTIONS
#endif
+#if CURL_AT_LEAST_VERSION(8,9,0)
+#define SUPPORTS_NO_GUESS_SCHEME
+#else
+#define CURLU_NO_GUESS_SCHEME 0
+#endif
#define OUTPUT_URL 0 /* default */
#define OUTPUT_SCHEME 1
@@ -151,6 +154,52 @@
}
#endif
+/* Mapping table to go from lowercase to uppercase for plain ASCII.*/
+static const unsigned char touppermap[256] = {
+0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21,
+22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
+41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59,
+60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,
+79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 65,
+66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84,
+85, 86, 87, 88, 89, 90, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133,
+134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149,
+150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165,
+166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181,
+182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197,
+198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213,
+214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229,
+230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245,
+246, 247, 248, 249, 250, 251, 252, 253, 254, 255
+};
+
+/* Portable, ASCII-consistent toupper. Do not use toupper() because its
+ behavior is altered by the current locale. */
+#define raw_toupper(in) touppermap[(unsigned int)in]
+
+/*
+ * casecompare() does ASCII based case insensitive checks, as a strncasecmp
+ * replacement.
+ */
+
+static int casecompare(const char *first, const char *second, size_t max)
+{
+ while(*first && *second && max) {
+ int diff = raw_toupper(*first) - raw_toupper(*second);
+ if(diff)
+ /* get out of the loop as soon as they don't match */
+ return diff;
+ max--;
+ first++;
+ second++;
+ }
+ if(!max)
+ return 0; /* identical to this point */
+
+ return raw_toupper(*first) - raw_toupper(*second);
+}
+#define strncasecmp(x,y,z) casecompare(x,y,z)
+
static void message_low(const char *prefix, const char *suffix,
const char *fmt, va_list ap)
{
@@ -232,30 +281,33 @@
fprintf(stdout, "%s version %s libcurl/%s [built-with %s]\n",
PROGNAME, TRURL_VERSION_TXT, data->version, LIBCURL_VERSION);
fprintf(stdout, "features:");
-#ifdef SUPPORTS_PUNYCODE
- if(supports_puny)
- fprintf(stdout, " punycode");
-#endif
-#ifdef SUPPORTS_ALLOW_SPACE
- fprintf(stdout, " white-space");
-#endif
-#ifdef SUPPORTS_ZONEID
- fprintf(stdout, " zone-id");
+#ifdef SUPPORTS_IMAP_OPTIONS
+ if(supports_imap)
+ fprintf(stdout, " imap-options");
#endif
-#ifdef SUPPORTS_URL_STRERROR
- fprintf(stdout, " url-strerror");
+#ifdef SUPPORTS_NO_GUESS_SCHEME
+ fprintf(stdout, " no-guess-scheme");
#endif
#ifdef SUPPORTS_NORM_IPV4
fprintf(stdout, " normalize-ipv4");
#endif
-#ifdef SUPPORTS_IMAP_OPTIONS
- if(supports_imap)
- fprintf(stdout, " imap-options");
+#ifdef SUPPORTS_PUNYCODE
+ if(supports_puny)
+ fprintf(stdout, " punycode");
#endif
#ifdef SUPPORTS_PUNY2IDN
if(supports_puny)
fprintf(stdout, " punycode2idn");
#endif
+#ifdef SUPPORTS_URL_STRERROR
+ fprintf(stdout, " url-strerror");
+#endif
+#ifdef SUPPORTS_ALLOW_SPACE
+ fprintf(stdout, " white-space");
+#endif
+#ifdef SUPPORTS_ZONEID
+ fprintf(stdout, " zone-id");
+#endif
fprintf(stdout, "\n");
exit(0);
@@ -757,6 +809,7 @@
size_t vlen;
bool isquery = false;
bool queryall = false;
+ bool strict = false; /* strict mode, fail on URL decode problems */
int mods = 0;
end = strchr(ptr, endbyte);
ptr++; /* pass the { */
@@ -766,39 +819,44 @@
continue;
}
- /* {path} {:path} */
+ /* {path} {:path} {/path} */
if(*ptr == ':') {
mods |= VARMODIFIER_URLENCODED;
ptr++;
}
vlen = end - ptr;
do {
+ size_t wordlen;
cl = memchr(ptr, ':', vlen);
if(!cl)
break;
+ wordlen = cl - ptr + 1;
/* modifiers! */
- if(!strncmp(ptr, "default:", cl - ptr + 1))
+ if(!strncmp(ptr, "default:", wordlen))
mods |= VARMODIFIER_DEFAULT;
- else if(!strncmp(ptr, "puny:", cl - ptr + 1)) {
+ else if(!strncmp(ptr, "puny:", wordlen)) {
if(mods & VARMODIFIER_PUNY2IDN)
errorf(o, ERROR_GET,
"puny modifier is mutually exclusive with idn");
mods |= VARMODIFIER_PUNY;
}
- else if(!strncmp(ptr, "idn:", cl - ptr + 1)) {
+ else if(!strncmp(ptr, "idn:", wordlen)) {
if(mods & VARMODIFIER_PUNY)
errorf(o, ERROR_GET,
"idn modifier is mutually exclusive with puny");
mods |= VARMODIFIER_PUNY2IDN;
}
+ else if(!strncmp(ptr, "strict:", wordlen))
+ strict = true;
+ else if(!strncmp(ptr, "url:", wordlen))
+ mods |= VARMODIFIER_URLENCODED;
else {
- /* {query: or {query-all: */
- if(!strncmp(ptr, "query-all:", cl - ptr + 1)) {
+ if(!strncmp(ptr, "query-all:", wordlen)) {
isquery = true;
queryall = true;
}
- else if(!strncmp(ptr, "query:", cl - ptr + 1))
+ else if(!strncmp(ptr, "query:", wordlen))
isquery = true;
else {
/* syntax error */
@@ -844,7 +902,10 @@
/* silently ignore */
break;
default:
- trurl_warnf(o, "%s (%s)\n", curl_url_strerror(rc), v->name);
+ if((rc == CURLUE_URLDECODE) && strict)
+ errorf(o, ERROR_GET, "problems URL decoding %s", v->name);
+ else
+ trurl_warnf(o, "%s (%s)", curl_url_strerror(rc), v->name);
break;
}
}
@@ -929,7 +990,7 @@
if(conditional) {
char *piece;
- rc = curl_url_get(uh, v->part, &piece, 0);
+ rc = curl_url_get(uh, v->part, &piece, CURLU_NO_GUESS_SCHEME);
if(!rc) {
skip = true;
curl_free(piece);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trurl-trurl-0.13/version.h new/trurl-trurl-0.14/version.h
--- old/trurl-trurl-0.13/version.h 2024-05-15 08:23:20.000000000 +0200
+++ new/trurl-trurl-0.14/version.h 2024-07-29 21:30:02.000000000 +0200
@@ -24,6 +24,6 @@
*
***************************************************************************/
-#define TRURL_VERSION_TXT "0.13"
+#define TRURL_VERSION_TXT "0.14"
#endif
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package goxel for openSUSE:Factory checked in at 2024-08-02 17:26:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/goxel (Old)
and /work/SRC/openSUSE:Factory/.goxel.new.7232 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "goxel"
Fri Aug 2 17:26:56 2024 rev:10 rq:1191040 version:0.15.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/goxel/goxel.changes 2024-06-11 18:30:29.599498659 +0200
+++ /work/SRC/openSUSE:Factory/.goxel.new.7232/goxel.changes 2024-08-02 17:27:36.589978632 +0200
@@ -1,0 +2,12 @@
+Sun Jul 28 00:25:15 UTC 2024 - Joshua Smith <smolsheep(a)opensuse.org>
+
+- Update to 0.15.0:
+ * Improved the selection tool: the selection mask is now
+ automatically updated when we move the selection box, and the
+ move tool automatically applies to the selection mask.
+ * Improved the gizmos to move the selection box, so that we can
+ move or grow without having to select the mode in the UI.
+ * Add support for adding and subtracting the selection box.
+ * Added a new 'edit' panel for the selection mask operations.
+
+-------------------------------------------------------------------
Old:
----
goxel-0.14.0.tar.gz
New:
----
goxel-0.15.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ goxel.spec ++++++
--- /var/tmp/diff_new_pack.mqA26g/_old 2024-08-02 17:27:37.338009478 +0200
+++ /var/tmp/diff_new_pack.mqA26g/_new 2024-08-02 17:27:37.338009478 +0200
@@ -17,7 +17,7 @@
Name: goxel
-Version: 0.14.0
+Version: 0.15.0
Release: 0
Summary: Voxel graphics editor
License: GPL-3.0-only
@@ -57,14 +57,8 @@
%install
%make_install PREFIX=%{_prefix}
-# PATCH-FIX-UPSTREAM https://github.com/guillaumechereau/goxel/pull/229
-chmod +x %{buildroot}%{_bindir}/%{name}
-
sed -i 's/\${SNAP}\/icon.png/%{name}/g' %{buildroot}%{_datadir}/applications/%{name}.desktop
-# PATCH-FIX-UPSTREAM https://github.com/guillaumechereau/goxel/pull/228
-%suse_update_desktop_file -r %{name} Graphics 3DGraphics
-
%files
%license COPYING
%doc README.md
++++++ goxel-0.14.0.tar.gz -> goxel-0.15.0.tar.gz ++++++
++++ 52225 lines of diff (skipped)
1
0