Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package vdu_controls for openSUSE:Factory 
checked in at 2025-02-19 15:58:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/vdu_controls (Old)
 and      /work/SRC/openSUSE:Factory/.vdu_controls.new.25061 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "vdu_controls"

Wed Feb 19 15:58:59 2025 rev:10 rq:1246802 version:2.1.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/vdu_controls/vdu_controls.changes        
2024-11-28 22:43:30.275847024 +0100
+++ /work/SRC/openSUSE:Factory/.vdu_controls.new.25061/vdu_controls.changes     
2025-02-19 15:59:49.167255927 +0100
@@ -1,0 +2,8 @@
+Tue Feb 18 20:56:03 UTC 2025 - Michael Hamilton <mich...@actrix.gen.nz>
+
+- Version 2.1.3
+  * Fix the error-dialog option "Ignore-VDU" when ddcutil cannot communicate 
with a VDU.    
+  * Avoid abrupt u-turns in automatic brightness, don't reassess the lux level 
while making an adjustment.
+  * Update the EDID-parser to accept the command line output from ddcutil 2.2 
(for those not using ddcutil-service).
+
+-------------------------------------------------------------------

Old:
----
  vdu_controls-2.1.2.tar.gz

New:
----
  vdu_controls-2.1.3.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ vdu_controls.spec ++++++
--- /var/tmp/diff_new_pack.43qhkg/_old  2025-02-19 15:59:53.091420114 +0100
+++ /var/tmp/diff_new_pack.43qhkg/_new  2025-02-19 15:59:53.107420783 +0100
@@ -18,7 +18,7 @@
 
 
 Name:           vdu_controls
-Version:        2.1.2
+Version:        2.1.3
 Release:        0
 Summary:        Visual Display Unit virtual control panel
 License:        GPL-3.0-or-later

++++++ vdu_controls-2.1.2.tar.gz -> vdu_controls-2.1.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vdu_controls-2.1.2/PKGBUILD 
new/vdu_controls-2.1.3/PKGBUILD
--- old/vdu_controls-2.1.2/PKGBUILD     2024-11-27 08:25:13.000000000 +0100
+++ new/vdu_controls-2.1.3/PKGBUILD     2025-02-18 22:19:52.000000000 +0100
@@ -1,5 +1,5 @@
 pkgname=vdu_controls
-pkgver=2.1.2
+pkgver=2.1.3
 pkgrel=1
 pkgdesc="Visual Display Unit virtual control panel"
 arch=('i686' 'x86_64')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vdu_controls-2.1.2/README.md 
new/vdu_controls-2.1.3/README.md
--- old/vdu_controls-2.1.2/README.md    2024-11-27 08:25:13.000000000 +0100
+++ new/vdu_controls-2.1.3/README.md    2025-02-18 22:19:52.000000000 +0100
@@ -352,6 +352,11 @@
 
 Version History
 ---------------
+* 2.1.3
+  * Fix the error-dialog option "Ignore-VDU" when ddcutil cannot communicate 
with a VDU.  
+  * Avoid abrupt u-turns in automatic brightness, don't reassess the lux level 
while making an adjustment.
+  * Update the EDID-parser to accept the command line output from ddcutil 2.2 
(for those not using ddcutil-service).
+
 * 2.1.2
   * Replace the Preset-scheduler with an implementation that remains accurate 
after PC-sleep/hibernation.
   * Fix the day-rollover which was scheduling for the wrong day if triggered 
at 12:59:59. 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vdu_controls-2.1.2/docs/_build/man/vdu_controls.1 
new/vdu_controls-2.1.3/docs/_build/man/vdu_controls.1
--- old/vdu_controls-2.1.2/docs/_build/man/vdu_controls.1       2024-11-27 
08:25:13.000000000 +0100
+++ new/vdu_controls-2.1.3/docs/_build/man/vdu_controls.1       2025-02-18 
22:19:52.000000000 +0100
@@ -27,9 +27,9 @@
 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
 ..
-.TH "VDU_CONTROLS" "1" "Nov 15, 2024" "" "vdu_controls"
+.TH "VDU_CONTROLS" "1" "Feb 18, 2025" "" "vdu_controls"
 .SH NAME
-vdu_controls \- vdu_controls 2.1.2
+vdu_controls \- vdu_controls 2.1.3
 .SH VDU_CONTROLS - A DDC CONTROL PANEL FOR MONITORS
 .sp
 A control panel for DisplayPort, DVI, HDMI, or USB connected VDUs (\fIVisual 
Display Units\fP).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vdu_controls-2.1.2/docs/conf.py 
new/vdu_controls-2.1.3/docs/conf.py
--- old/vdu_controls-2.1.2/docs/conf.py 2024-11-27 08:25:13.000000000 +0100
+++ new/vdu_controls-2.1.3/docs/conf.py 2025-02-18 22:19:52.000000000 +0100
@@ -24,7 +24,7 @@
 author = 'Michael Hamilton'
 
 # The full version, including alpha/beta/rc tags
-release = '2.1.2'
+release = '2.1.3'
 
 
 # -- General configuration ---------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vdu_controls-2.1.2/setup.cfg 
new/vdu_controls-2.1.3/setup.cfg
--- old/vdu_controls-2.1.2/setup.cfg    2024-11-27 08:25:13.000000000 +0100
+++ new/vdu_controls-2.1.3/setup.cfg    2025-02-18 22:19:52.000000000 +0100
@@ -1,6 +1,6 @@
 [metadata]
 name = vdu_controls-digitaltrails
-version = 2.1.2
+version = 2.1.3
 author = Michael Hamilton
 author_email = mich...@actrix.gen.nz
 description = A GUI for controlling Visual Display Units
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vdu_controls-2.1.2/utils/make-tar 
new/vdu_controls-2.1.3/utils/make-tar
--- old/vdu_controls-2.1.2/utils/make-tar       2024-11-27 08:25:13.000000000 
+0100
+++ new/vdu_controls-2.1.3/utils/make-tar       2025-02-18 22:19:52.000000000 
+0100
@@ -10,6 +10,7 @@
 
 if [ $source == "git" ]
 then
+    set -x
     git archive --format tgz --prefix=vdu_controls-$version/ HEAD > 
/home/michael/rpmbuild/SOURCES/vdu_controls-$version.tar.gz
     exit 0
 fi
@@ -56,4 +57,4 @@
 vdu_controls-$version/icons/
 EOF
 
-rm vdu_controls-$version
\ No newline at end of file
+rm vdu_controls-$version
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vdu_controls-2.1.2/vdu_controls.py 
new/vdu_controls-2.1.3/vdu_controls.py
--- old/vdu_controls-2.1.2/vdu_controls.py      2024-11-27 08:25:13.000000000 
+0100
+++ new/vdu_controls-2.1.3/vdu_controls.py      2025-02-18 22:19:52.000000000 
+0100
@@ -817,7 +817,7 @@
     QDesktopWidget, QSpacerItem
 
 APPNAME = "VDU Controls"
-VDU_CONTROLS_VERSION = '2.1.2'
+VDU_CONTROLS_VERSION = '2.1.3'
 VDU_CONTROLS_VERSION_TUPLE = tuple(int(i) for i in 
VDU_CONTROLS_VERSION.split('.'))
 assert sys.version_info >= (3, 8), f'{APPNAME} utilises python version 3.8 or 
greater (your python is {sys.version}).'
 
@@ -1637,10 +1637,11 @@
         return "Command Line - ddcutil"
 
     def _parse_edid(self, display_str: str) -> str | None:
-        if edid_match := re.search(r'EDID hex dump:\n[^\n]+(\n([ 
\t]+[+]0).+)+', display_str):
+        if edid_match := re.search(r'EDID hex dump:\n[^\n]+(\n([ 
\t]*[+]0).+)+', display_str):
             edid = "".join(re.findall('((?: [0-9a-f][0-9a-f]){16})', 
edid_match.group(0))).replace(' ', '')
             log_debug(f"{edid=}") if log_debug_enabled else None
             return edid
+        log_error(f"Failed to parse edid in {display_str=}")
         return None
 
     def detect(self, flags: int) -> List[Tuple]:
@@ -2675,7 +2676,7 @@
         self.capabilities_text: str | None = None
         self.config = None
         self.values_cache: Dict[str, int] = {}
-        self.ignore_vdu = False
+        self.ignore_vdu = remedy ==  VduController.IGNORE_VDU
         default_sleep_multiplier: float | None = 
default_config.get_sleep_multiplier(fallback=None)
         enabled_vcp_codes = default_config.get_all_enabled_vcp_codes()
         for config_name in (self.vdu_stable_id, self.vdu_model_id):
@@ -2688,7 +2689,7 @@
                     self.config.debug_dump()
                 enabled_vcp_codes = self.config.get_all_enabled_vcp_codes()
                 self.capabilities_text = 
self.config.get_capabilities_alt_text()  # cached, possibly edited, ddc 
capabilities
-                self.ignore_vdu = self.capabilities_text == '' or 
self.capabilities_text == IGNORE_VDU_MARKER_TEXT
+                self.ignore_vdu = self.ignore_vdu or self.capabilities_text == 
'' or self.capabilities_text == IGNORE_VDU_MARKER_TEXT
                 if not self.ignore_vdu:
                     if multiplier := 
self.config.get_sleep_multiplier(fallback=default_sleep_multiplier):
                         self.ddcutil.set_sleep_multiplier(vdu_number, 
multiplier)
@@ -6436,9 +6437,9 @@
         start_of_cycle = True
         profile_preset_name = None
         vdu_changes_count = {}
-        while change_count != last_change_count:  # while brightness changing
-            last_change_count = change_count
-            if metered_lux := lux_meter.get_value():
+        if metered_lux := lux_meter.get_value():  # Measure once - changing 
VDU brightness can feed back to the lux-meter.
+            while change_count != last_change_count:  # while brightness 
changing
+                last_change_count = change_count
                 smoothed_lux = metered_lux if lux_meter.is_manual_control() 
else self.smoother.smooth(metered_lux)
                 summary_text = self.lux_summary(metered_lux, smoothed_lux)
                 if start_of_cycle:
@@ -6461,7 +6462,7 @@
                     else:
                         error_count += 1
                 start_of_cycle = False
-            self.doze(self.step_pause_millis / 1000.0)  # Let i2c settle down, 
then continue - TODO is this really necessary?
+                self.doze(self.step_pause_millis / 1000.0)  # Let i2c settle 
down, then continue - TODO is this really necessary?
         if error_count == 0:
             if change_count != 0:  # If any work was done in previous steps, 
finish up the remaining tasks
                 self.status_message(tr("Brightness adjustment completed"), 
timeout=5000)
@@ -7638,6 +7639,7 @@
                 ScheduleWorker.dequeue_all()
                 if self.lux_auto_controller is not None:
                     self.lux_auto_controller.stop_worker()
+                    self.lux_auto_controller.lux_slider = None
                 self.stop_any_transitioning_presets()
                 global log_to_syslog
                 log_to_syslog = 
self.main_config.is_set(ConfOption.SYSLOG_ENABLED)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vdu_controls-2.1.2/vdu_controls.spec 
new/vdu_controls-2.1.3/vdu_controls.spec
--- old/vdu_controls-2.1.2/vdu_controls.spec    2024-11-27 08:25:13.000000000 
+0100
+++ new/vdu_controls-2.1.3/vdu_controls.spec    2025-02-18 22:19:52.000000000 
+0100
@@ -18,7 +18,7 @@
 
 
 Name:           vdu_controls
-Version:        2.1.2
+Version:        2.1.3
 Release:        0
 Summary:        Visual Display Unit virtual control panel
 License:        GPL-3.0-or-later

Reply via email to