Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package wxEDID for openSUSE:Factory checked in at 2021-12-23 17:53:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/wxEDID (Old) and /work/SRC/openSUSE:Factory/.wxEDID.new.2520 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "wxEDID" Thu Dec 23 17:53:46 2021 rev:10 rq:942188 version:0.0.26 Changes: -------- --- /work/SRC/openSUSE:Factory/wxEDID/wxEDID.changes 2021-04-21 20:59:47.502238416 +0200 +++ /work/SRC/openSUSE:Factory/.wxEDID.new.2520/wxEDID.changes 2021-12-23 17:54:03.783730779 +0100 @@ -1,0 +2,9 @@ +Thu Dec 23 06:44:15 UTC 2021 - Mia Herkt <m...@0x0.st> + +- Update to v0.0.26 +Fixed + * CEA::VSD incorrect bit offset for DVI_Dual field. + * reparsing of CEA-header group should not be possible + (returned uninitialized rcode). + +------------------------------------------------------------------- Old: ---- wxedid-0.0.25.tar.gz New: ---- wxedid-0.0.26.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ wxEDID.spec ++++++ --- /var/tmp/diff_new_pack.JPVnGn/_old 2021-12-23 17:54:04.187731029 +0100 +++ /var/tmp/diff_new_pack.JPVnGn/_new 2021-12-23 17:54:04.191731032 +0100 @@ -17,7 +17,7 @@ Name: wxEDID -Version: 0.0.25 +Version: 0.0.26 Release: 0 Summary: Extended Display Identification Data editor License: GPL-3.0-only ++++++ wxedid-0.0.25.tar.gz -> wxedid-0.0.26.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wxedid-0.0.25/ChangeLog new/wxedid-0.0.26/ChangeLog --- old/wxedid-0.0.25/ChangeLog 2021-03-27 16:47:20.000000000 +0100 +++ new/wxedid-0.0.26/ChangeLog 2021-10-04 20:40:39.000000000 +0200 @@ -31,7 +31,21 @@ ____ +2021.10.04 + < released v0.0.26 > + +2021.09.30 + - Cleanup: dtd_screen_cl: removed unused code for background erase event. + - Fixed: GCC v10.x :: -Wextra can generate tons of warnings, mostly false-positives: disabled in debug builds. + - Change wxEDID_Frame::evt_blktree_key():: use keycodes instead of Unicodes to identify character keys. + +2021.09.29 + - Fixed: (BUG) CEA::VSD incorrect bit offset for DVI_Dual field. + - Fixed: (BUG) reparsing of CEA-header group should not be possible (returned uninitialized rcode). + - Update: rcd_autogen v2.6 :: size of array of units in now fixed, type declaration is variable. + 2021.03.27 + < released v0.0.25 > - Change: default size for all spin controls on DTD_Constructor panel. Looks ugly, but works with wxWidgets compiled against GTK3. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wxedid-0.0.25/Makefile.in new/wxedid-0.0.26/Makefile.in --- old/wxedid-0.0.25/Makefile.in 2021-03-26 18:22:16.000000000 +0100 +++ new/wxedid-0.0.26/Makefile.in 2021-10-04 18:30:48.000000000 +0200 @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.1 from Makefile.am. +# Makefile.in generated by automake 1.16.3 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2018 Free Software Foundation, Inc. +# Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -199,6 +199,8 @@ DIST_ARCHIVES = $(distdir).tar.gz GZIP_ENV = --best DIST_TARGETS = dist-gzip +# Exists only to be overridden by the user if desired. +AM_DISTCHECK_DVI_TARGET = dvi distuninstallcheck_listfiles = find . -type f -print am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' @@ -574,6 +576,10 @@ tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz $(am__post_remove_distdir) +dist-zstd: distdir + tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst + $(am__post_remove_distdir) + dist-tarZ: distdir @echo WARNING: "Support for distribution archives compressed with" \ "legacy program 'compress' is deprecated." >&2 @@ -616,6 +622,8 @@ eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ + *.tar.zst*) \ + zstd -dc $(distdir).tar.zst | $(am__untar) ;;\ esac chmod -R a-w $(distdir) chmod u+w $(distdir) @@ -631,7 +639,7 @@ $(DISTCHECK_CONFIGURE_FLAGS) \ --srcdir=../.. --prefix="$$dc_install_base" \ && $(MAKE) $(AM_MAKEFLAGS) \ - && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ @@ -796,10 +804,10 @@ clean-binPROGRAMS clean-cscope clean-generic clean-local \ cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \ dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \ - distcheck distclean distclean-compile distclean-generic \ - distclean-hdr distclean-tags distcleancheck distdir \ - distuninstallcheck dvi dvi-am html html-am info info-am \ - install install-am install-binPROGRAMS install-data \ + dist-zstd distcheck distclean distclean-compile \ + distclean-generic distclean-hdr distclean-tags distcleancheck \ + distdir distuninstallcheck dvi dvi-am html html-am info \ + info-am install install-am install-binPROGRAMS install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wxedid-0.0.25/aclocal.m4 new/wxedid-0.0.26/aclocal.m4 --- old/wxedid-0.0.25/aclocal.m4 2021-03-26 18:22:16.000000000 +0100 +++ new/wxedid-0.0.26/aclocal.m4 2021-10-04 18:30:47.000000000 +0200 @@ -1,6 +1,6 @@ -# generated automatically by aclocal 1.16.1 -*- Autoconf -*- +# generated automatically by aclocal 1.16.3 -*- Autoconf -*- -# Copyright (C) 1996-2018 Free Software Foundation, Inc. +# Copyright (C) 1996-2020 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -20,7 +20,7 @@ If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically 'autoreconf'.])]) -# Copyright (C) 2002-2018 Free Software Foundation, Inc. +# Copyright (C) 2002-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -35,7 +35,7 @@ [am__api_version='1.16' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. -m4_if([$1], [1.16.1], [], +m4_if([$1], [1.16.3], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) @@ -51,14 +51,14 @@ # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], -[AM_AUTOMAKE_VERSION([1.16.1])dnl +[AM_AUTOMAKE_VERSION([1.16.3])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- -# Copyright (C) 2001-2018 Free Software Foundation, Inc. +# Copyright (C) 2001-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -110,7 +110,7 @@ # AM_CONDITIONAL -*- Autoconf -*- -# Copyright (C) 1997-2018 Free Software Foundation, Inc. +# Copyright (C) 1997-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -143,7 +143,7 @@ # Do all the work for Automake. -*- Autoconf -*- -# Copyright (C) 1996-2018 Free Software Foundation, Inc. +# Copyright (C) 1996-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -340,7 +340,7 @@ done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) -# Copyright (C) 2001-2018 Free Software Foundation, Inc. +# Copyright (C) 2001-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -361,7 +361,7 @@ fi AC_SUBST([install_sh])]) -# Copyright (C) 2003-2018 Free Software Foundation, Inc. +# Copyright (C) 2003-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -382,7 +382,7 @@ # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- -# Copyright (C) 1997-2018 Free Software Foundation, Inc. +# Copyright (C) 1997-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -403,12 +403,7 @@ [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([missing])dnl if test x"${MISSING+set}" != xset; then - case $am_aux_dir in - *\ * | *\ *) - MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; - *) - MISSING="\${SHELL} $am_aux_dir/missing" ;; - esac + MISSING="\${SHELL} '$am_aux_dir/missing'" fi # Use eval to expand $SHELL if eval "$MISSING --is-lightweight"; then @@ -421,7 +416,7 @@ # Helper functions for option handling. -*- Autoconf -*- -# Copyright (C) 2001-2018 Free Software Foundation, Inc. +# Copyright (C) 2001-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -452,7 +447,7 @@ # Check to make sure that the build environment is sane. -*- Autoconf -*- -# Copyright (C) 1996-2018 Free Software Foundation, Inc. +# Copyright (C) 1996-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -533,7 +528,7 @@ rm -f conftest.file ]) -# Copyright (C) 2009-2018 Free Software Foundation, Inc. +# Copyright (C) 2009-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -593,7 +588,7 @@ _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl ]) -# Copyright (C) 2001-2018 Free Software Foundation, Inc. +# Copyright (C) 2001-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -621,7 +616,7 @@ INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) -# Copyright (C) 2006-2018 Free Software Foundation, Inc. +# Copyright (C) 2006-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -640,7 +635,7 @@ # Check how to create a tarball. -*- Autoconf -*- -# Copyright (C) 2004-2018 Free Software Foundation, Inc. +# Copyright (C) 2004-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wxedid-0.0.25/cb_project/wxEDID.cbp new/wxedid-0.0.26/cb_project/wxEDID.cbp --- old/wxedid-0.0.25/cb_project/wxEDID.cbp 2021-03-27 16:52:57.000000000 +0100 +++ new/wxedid-0.0.26/cb_project/wxEDID.cbp 2021-10-04 20:40:51.000000000 +0200 @@ -14,7 +14,6 @@ <Option parameters="-e -w" /> <Option projectLinkerOptionsRelation="2" /> <Compiler> - <Add option="-Wextra" /> <Add option="-g" /> <Add option="-Wunused-function" /> </Compiler> @@ -26,7 +25,6 @@ <Option compiler="gcc" /> <Option projectLinkerOptionsRelation="2" /> <Compiler> - <Add option="-Wextra" /> <Add option="-g" /> <Add option="-Wunused-function" /> </Compiler> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wxedid-0.0.25/configure new/wxedid-0.0.26/configure --- old/wxedid-0.0.25/configure 2021-03-26 18:22:16.000000000 +0100 +++ new/wxedid-0.0.26/configure 2021-10-04 18:30:48.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for wxEDID 0.0.25. +# Generated by GNU Autoconf 2.69 for wxEDID 0.0.26. # # Report bugs to <tomasz.paw...@wp.eu>. # @@ -581,8 +581,8 @@ # Identity of this package. PACKAGE_NAME='wxEDID' PACKAGE_TARNAME='wxedid' -PACKAGE_VERSION='0.0.25' -PACKAGE_STRING='wxEDID 0.0.25' +PACKAGE_VERSION='0.0.26' +PACKAGE_STRING='wxEDID 0.0.26' PACKAGE_BUGREPORT='tomasz.paw...@wp.eu' PACKAGE_URL='' @@ -1245,7 +1245,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures wxEDID 0.0.25 to adapt to many kinds of systems. +\`configure' configures wxEDID 0.0.26 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1312,7 +1312,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of wxEDID 0.0.25:";; + short | recursive ) echo "Configuration of wxEDID 0.0.26:";; esac cat <<\_ACEOF @@ -1408,7 +1408,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -wxEDID configure 0.0.25 +wxEDID configure 0.0.26 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1465,7 +1465,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by wxEDID $as_me 0.0.25, which was +It was created by wxEDID $as_me 0.0.26, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2023,12 +2023,7 @@ am_aux_dir=`cd "$ac_aux_dir" && pwd` if test x"${MISSING+set}" != xset; then - case $am_aux_dir in - *\ * | *\ *) - MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; - *) - MISSING="\${SHELL} $am_aux_dir/missing" ;; - esac + MISSING="\${SHELL} '$am_aux_dir/missing'" fi # Use eval to expand $SHELL if eval "$MISSING --is-lightweight"; then @@ -2333,7 +2328,7 @@ # Define the identity of the package. PACKAGE='wxedid' - VERSION='0.0.25' + VERSION='0.0.26' cat >>confdefs.h <<_ACEOF @@ -3049,7 +3044,7 @@ ac_bsw_CXXFLAGS=" -fno-exceptions -g " ac_bsw_CFLAGS=" " - ac_bsw_CPPFLAGS=" -Wall -Wextra -DDBG_LEVEL_1 -DDBG_LEVEL_2 " + ac_bsw_CPPFLAGS=" -Wall -DDBG_LEVEL_1 -DDBG_LEVEL_2 " ac_bsw_LDFLAGS=" " { $as_echo "$as_me:${as_lineno-$LINENO}: (i) Debug CXXFLAGS = ($ac_bsw_CXXFLAGS)" >&5 $as_echo "$as_me: (i) Debug CXXFLAGS = ($ac_bsw_CXXFLAGS)" >&6;} @@ -4193,7 +4188,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by wxEDID $as_me 0.0.25, which was +This file was extended by wxEDID $as_me 0.0.26, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -4255,7 +4250,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -wxEDID config.status 0.0.25 +wxEDID config.status 0.0.26 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wxedid-0.0.25/configure.ac new/wxedid-0.0.26/configure.ac --- old/wxedid-0.0.25/configure.ac 2021-03-26 18:21:42.000000000 +0100 +++ new/wxedid-0.0.26/configure.ac 2021-10-04 18:30:34.000000000 +0200 @@ -4,7 +4,7 @@ dnl wxEDID - Extended Display Identification Data editor AC_PREREQ([2.65]) -AC_INIT([wxEDID], [0.0.25], [tomasz.paw...@wp.eu]) +AC_INIT([wxEDID], [0.0.26], [tomasz.paw...@wp.eu]) AC_COPYRIGHT([Copyright (C) 2014-2021 Tomasz Pawlak, e-mail: tomasz.paw...@wp.eu]) AC_CONFIG_SRCDIR([src/wxEDID_Main.cpp]) AC_CONFIG_HEADERS([src/config.h]) @@ -26,7 +26,7 @@ dnl <release flags:> [CXXFLAGS], [CFLAGS], [CPPFLAGS], [LDFLAGS] dnl ) AC_BUILD_SWITCH( - [ -fno-exceptions -g ], [], [ -Wall -Wextra -DDBG_LEVEL_1 -DDBG_LEVEL_2], [], + [ -fno-exceptions -g ], [], [ -Wall -DDBG_LEVEL_1 -DDBG_LEVEL_2], [], [ -fno-exceptions -O1], [], [ -Wall -Wfatal-errors], [ -Wl,-s]) AC_SUBST([ac_lang_cflags]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wxedid-0.0.25/src/CEA_class.cpp new/wxedid-0.0.26/src/CEA_class.cpp --- old/wxedid-0.0.25/src/CEA_class.cpp 2021-03-27 15:26:47.000000000 +0100 +++ new/wxedid-0.0.26/src/CEA_class.cpp 2021-10-04 20:24:09.000000000 +0200 @@ -981,7 +981,7 @@ }; const edi_field_t cea_vsd_cl::sink_feat_fld_dsc[] = { - {&EDID_cl::BitVal, NULL, offsetof(vsd_hdmi14_t, sink_feat)+1, 1, 1, EF_BIT, 0, 1, "DVI_dual", + {&EDID_cl::BitVal, NULL, offsetof(vsd_hdmi14_t, sink_feat)+1, 0, 1, EF_BIT, 0, 1, "DVI_dual", "DVI Dual Link Operation support." }, {&EDID_cl::BitVal, NULL, offsetof(vsd_hdmi14_t, sink_feat)+1, 1, 1, EF_BIT, 0, 1, "reserved", "reserved (0)" }, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wxedid-0.0.25/src/EDID_shared.h new/wxedid-0.0.26/src/EDID_shared.h --- old/wxedid-0.0.25/src/EDID_shared.h 2021-03-27 14:23:38.000000000 +0100 +++ new/wxedid-0.0.26/src/EDID_shared.h 2021-05-16 12:03:28.000000000 +0200 @@ -105,10 +105,10 @@ T_MODE_EDIT = 0x10000000, //skip some checks on <re>init() T_FLAG_MASK = 0xF0000000, //Group init flags: - TG_FLEX_LAYOUT = 0x01000000, // use ield data lengths + TG_FLEX_LAYOUT = 0x01000000, // use field data lengths TG_FLEX_LEN = 0x02000000, // !TG_FLEX_LEN -> fail if group length is to small TG_CUSTOM_INIT = 0x04000000, // Custom init function for the group - TG_FLEX_OFFS = 0x08000000, // update field's ofsfets + TG_FLEX_OFFS = 0x08000000, // update field's offsets TG_FLAG_MASK = 0x0F000000 }; @@ -264,7 +264,7 @@ u32_t min_len; u32_t max_len; u32_t hdr_fcnt; //CEA_DBCHDR_FCNT | CEA_EXTHDR_FCNT - u32_t hdr_sz; //sizeof(bhdr_t) | //sizeof(ethdr_t) + u32_t hdr_sz; //sizeof(bhdr_t) | sizeof(ethdr_t) u32_t grp_arsz; const subgrp_dsc_t *grp_ar; } gproot_dsc_t; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wxedid-0.0.25/src/guilog.cpp new/wxedid-0.0.26/src/guilog.cpp --- old/wxedid-0.0.25/src/guilog.cpp 2021-02-27 20:09:16.000000000 +0100 +++ new/wxedid-0.0.26/src/guilog.cpp 2021-04-02 18:51:03.000000000 +0200 @@ -21,7 +21,7 @@ void guilog_cl::PrintRcode(rcode retU) { wxedid_RCD_GET_MSG(retU, rcd_msg_buff, msg_buf_sz); wxLogStatus(rcd_msg_buff); -}; +} void guilog_cl::DoLog() { wxLogStatus(slog.GetData()); @@ -54,11 +54,9 @@ if ((status != 0) && (logwin != NULL)) { wxFrame * frm = logwin->GetFrame(); if (frm != NULL) frm->Destroy(); - retU = RCD_SET_VAL(idGUI_LOG, RCD_OK, __LINE__); - return retU; + RCD_RETURN_OK(retU); } - retU = RCD_SET_VAL(idGUI_LOG, RCD_F, __LINE__); - return retU; + RCD_RETURN_FAULT(retU); }; void guilog_cl::Show() { @@ -76,5 +74,4 @@ guilog_cl::guilog_cl(): status(0), logwin(NULL) {}; -guilog_cl::~guilog_cl() {}; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wxedid-0.0.25/src/guilog.h new/wxedid-0.0.26/src/guilog.h --- old/wxedid-0.0.25/src/guilog.h 2021-03-03 09:47:21.000000000 +0100 +++ new/wxedid-0.0.26/src/guilog.h 2021-04-02 17:57:43.000000000 +0200 @@ -39,7 +39,7 @@ guilog_cl(); - ~guilog_cl(); + ~guilog_cl() {}; }; #endif /* GUI_LOG_H */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wxedid-0.0.25/src/rcode/rcd_autogen new/wxedid-0.0.26/src/rcode/rcd_autogen --- old/wxedid-0.0.25/src/rcode/rcd_autogen 2021-03-26 17:58:07.000000000 +0100 +++ new/wxedid-0.0.26/src/rcode/rcd_autogen 2021-03-30 18:18:00.000000000 +0200 @@ -1,6 +1,6 @@ #!/bin/bash -declare -r version='2.4' # 2021.03.26 # +declare -r version='2.6' # 2021.03.30 # # The rcd_autogen script scans source files of the target project and generates # source files needed to implement extended rcode functionality in the target @@ -829,29 +829,31 @@ bufsz="${scp_ln/*'}'/}"; DBG3_FN "bufsz=$bufsz\n" #check min buff size appended by F_SCAN_FILE if (( bufsz > min_buff_sz ));then min_buff_sz=$bufsz; fi scp_ln="${scp_ln/'}'*/'}'}"; DBG2_FN "appending unit: $scp_ln\n" #cut injected bufsz - units+="\t${scp_ln/*'{'/'{'},\n" #cut scp numbers injected by F_SCAN_FILE + units+="\t\t${scp_ln/*'{'/'{'},\n" #cut scp numbers injected by F_SCAN_FILE done #last unit line: no comma scp_ln=${unit_ar[$idxs]}; DBG3_FN "unit line: $scp_ln\n" bufsz="${scp_ln/*'}'/}"; DBG3_FN "bufsz=$bufsz\n" if (( bufsz > min_buff_sz ));then min_buff_sz=$bufsz; fi scp_ln="${scp_ln/'}'*/'}'}"; DBG2_FN "appending unit: $scp_ln\n" - units+="\t${scp_ln/*'{'/'{'}\n" + units+="\t\t${scp_ln/*'{'/'{'}" #24= ($base_name) +7(65535: ) <min_buff::path/file> +1(dot) + 5(ln_num) +1(space) +6(' [-2] ') <msg here> + +1(NULL) +1 (( min_buff_sz += 24 )) (( min_buff_sz += ${#base_name} )) - fout+="static const rcd_unit_t rcd_units[] = {\n" - fout+=$units - fout+="};\n\n" + fout="typedef struct rcd_scope_s { //internal\n" + fout+="\trcd_scphdr_t hdr;\n" + fout+="\trcd_unit_t unit_ar[${#unit_ar[@]}];\n" + fout+="} rcd_scope_t;\n\n" fout+="static rcd_scope_t "$base_name"_scope = {\n" - fout+='\t'".vmsg = NULL,\n" - fout+='\t'".base_name = __base_name,\n" - fout+='\t'".bname_slen = ${#base_name},\n" - fout+='\t'".unit_cnt = ${#unit_ar[@]},\n" - fout+='\t'".min_bufsz = $min_buff_sz,\n" - fout+='\t'".rcdgen_md = $rcdgen_md_n,\n" - fout+='\t'".reserve = 0,\n" - fout+='\t'".unit_ar = rcd_units\n" + fout+='\t'".hdr = {\n" + fout+='\t\t'".vmsg = NULL,\n" + fout+='\t\t'".base_name = __base_name,\n" + fout+='\t\t'".bname_slen = ${#base_name},\n" + fout+='\t\t'".unit_cnt = ${#unit_ar[@]},\n" + fout+='\t\t'".min_bufsz = $min_buff_sz,\n" + fout+='\t\t'".rcdgen_md = $rcdgen_md_n,\n" + fout+='\t\t'".reserve = 0\n\t},\n" + fout+='\t'".unit_ar = { //units\n$units\n\t}\n" fout+="};\n\n" echo -en $fout >> $out_scp_src DBG2_FN "min buff size: $min_buff_sz\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wxedid-0.0.25/src/rcode/rcd_fn.tmp.c new/wxedid-0.0.26/src/rcode/rcd_fn.tmp.c --- old/wxedid-0.0.25/src/rcode/rcd_fn.tmp.c 2021-03-26 17:58:07.000000000 +0100 +++ new/wxedid-0.0.26/src/rcode/rcd_fn.tmp.c 2021-03-30 18:18:00.000000000 +0200 @@ -77,8 +77,8 @@ pend = buf; pend += bsz; - len = rscp->bname_slen; - memcpy(buf, rscp->base_name, (size_t) len); //base name + len = rscp->hdr.bname_slen; + memcpy(buf, rscp->hdr.base_name, (size_t) len); //base name buf += len; *buf = '['; buf ++ ; buf = __rcd_cnv_s(buf, RCD_GET_UNIT(retU)); //unit number @@ -128,9 +128,9 @@ if (NULL == rscp) rscp = &%rcd_bname%_scope; if (0 == RCD_GET_UNIT(retU)) goto fallback; //rcode.detail.unit == 0 -> special case, reserved value. - if (bsz < rscp->min_bufsz) goto fallback; //at least rscp->min_bufsz, +RCD_VMSG_MAX_SZ for formatted msg. + if (bsz < rscp->hdr.min_bufsz) goto fallback; //at least rscp->min_bufsz, +RCD_VMSG_MAX_SZ for formatted msg. - itmp = rscp->unit_cnt; + itmp = rscp->hdr.unit_cnt; p_un = (rcd_unit_t*) &rscp->unit_ar[0]; //search units p_un = (rcd_unit_t*) __rcd_bin_search((char*) p_un, itmp, @@ -158,7 +158,7 @@ } else { //RCD_FVMSG rcd_vmsg_t *vmsg; //NOTE: vmsg is initialized by calling $(base_name)_rcdGetScopePtr() - vmsg = rscp->vmsg; + vmsg = rscp->hdr.vmsg; //check if vmsg matches *this* rcode if (retU.value == vmsg->retU.value) { msg = vmsg->msg_buf; @@ -184,7 +184,7 @@ int len; va_list argp; //*this* unit - vmsg = ( (const rcd_scope_t*) %rcd_bname%_rcdGetScopePtr() )->vmsg; + vmsg = ( (const rcd_scope_t*) %rcd_bname%_rcdGetScopePtr() )->hdr.vmsg; va_start(argp, fmt); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wxedid-0.0.25/src/rcode/rcd_fn_bm.tmp.c new/wxedid-0.0.26/src/rcode/rcd_fn_bm.tmp.c --- old/wxedid-0.0.25/src/rcode/rcd_fn_bm.tmp.c 2021-03-26 17:58:07.000000000 +0100 +++ new/wxedid-0.0.26/src/rcode/rcd_fn_bm.tmp.c 2021-03-30 18:18:00.000000000 +0200 @@ -12,7 +12,7 @@ } void -__%rcd_bname%_rcdSetVmsg(rcode rcd, int32_t nargs, const char *fmt, ... ) { +__%rcd_bname%_rcdSetVmsg(rcode rcd, const char *fmt, ... ) { return; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wxedid-0.0.25/src/rcode/rcd_scp.tmp.c new/wxedid-0.0.26/src/rcode/rcd_scp.tmp.c --- old/wxedid-0.0.25/src/rcode/rcd_scp.tmp.c 2021-03-26 17:58:07.000000000 +0100 +++ new/wxedid-0.0.26/src/rcode/rcd_scp.tmp.c 2021-03-30 18:18:00.000000000 +0200 @@ -12,7 +12,7 @@ const struct rcd_scope* %rcd_bname%_rcdGetScopePtr() { - %rcd_bname%_scope.vmsg = &__%rcd_bname%_vmsg; //TLS pointer + %rcd_bname%_scope.hdr.vmsg = &__%rcd_bname%_vmsg; //TLS pointer return (const struct rcd_scope*) &%rcd_bname%_scope; } @@ -23,7 +23,7 @@ size_t %rcd_bname%_rcdGetMinMsgBufSz(const struct rcd_scope *scp) { if (NULL == scp) {scp = (const struct rcd_scope*) &%rcd_bname%_scope; } - return (size_t) ( ((const rcd_scope_t*) scp)->rcdgen_md > RCD_MODE_BASIC) ? RCD_VMSG_MAX_SZ : %rcd_bname%_scope.min_bufsz; + return (size_t) ( ((const rcd_scope_t*) scp)->hdr.rcdgen_md > RCD_MODE_BASIC) ? RCD_VMSG_MAX_SZ : %rcd_bname%_scope.hdr.min_bufsz; } __END_DECLS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wxedid-0.0.25/src/rcode/rcode_scp.h new/wxedid-0.0.26/src/rcode/rcode_scp.h --- old/wxedid-0.0.25/src/rcode/rcode_scp.h 2021-03-26 17:58:07.000000000 +0100 +++ new/wxedid-0.0.26/src/rcode/rcode_scp.h 2021-03-30 18:18:00.000000000 +0200 @@ -61,17 +61,17 @@ const uint16_t msg_cnt; } rcd_unit_t; -/* array of scope descriptors */ -typedef struct __attribute__ ((packed)) rcd_scope_s { - rcd_vmsg_t *vmsg; /* TLS pointer, see rcd_scp.tmp.c */ - const char *base_name; - const uint16_t bname_slen; - const uint16_t unit_cnt; //unit count - const uint16_t min_bufsz; - const uint8_t rcdgen_md; //rcd_autogen run mode - const uint8_t reserve; //alignment - const rcd_unit_t *unit_ar; -} rcd_scope_t; +/* scope header */ +typedef struct __attribute__ ((packed)) rcd_scphdr_s { + rcd_vmsg_t *vmsg; /* TLS pointer, see rcd_scp.tmp.c */ + const char *base_name; + const uint16_t bname_slen; + const uint16_t unit_cnt; //unit count + const uint16_t min_bufsz; + const uint8_t rcdgen_md; //rcd_autogen run mode + const uint8_t reserve; //alignment +} rcd_scphdr_t; + __END_DECLS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wxedid-0.0.25/src/wxEDID_Main.cpp new/wxedid-0.0.26/src/wxEDID_Main.cpp --- old/wxedid-0.0.25/src/wxEDID_Main.cpp 2021-03-27 16:32:33.000000000 +0100 +++ new/wxedid-0.0.26/src/wxEDID_Main.cpp 2021-10-04 18:39:06.000000000 +0200 @@ -280,9 +280,7 @@ b_dta_grid_details(config.b_dta_grid_details ), b_dtd_keep_aspect (config.b_dtd_keep_aspect ) { - SetEvtHandlerEnabled(false); - - //(* Initialize(wxEDID_Frame) + //(*Initialize(wxEDID_Frame) wxBoxSizer* BoxSizer5; wxMenu* Menu1; wxMenu* Menu2; @@ -604,7 +602,7 @@ flags.u32 = 0; edid_file_name = _("EDID"); - SetEvtHandlerEnabled(true); + DeletePendingEvents(); { //calc win size based on DTD panel. wxSize minsz, actsz, winsz, delta; @@ -849,6 +847,8 @@ u32_t grp_idx; bool b_expand; + RCD_SET_FAULT(retU); + //BlockTree is refreshed even when sub-groups are not present //clone the group on length change -> re-init(). @@ -992,8 +992,8 @@ opFlags.bits.CanPaste = grp_ar->CanPaste (grp_idx, edigrp_src); } - b_Reparse = (0 != (type_id & (ID_CEA_MASK | ID_CEA_EXT_MASK) )); - b_Reparse &= (0 == (type_id & T_DBC_SUBGRP)); + b_Reparse = (0 != (type_id & (ID_CEA_MASK | ID_CEA_EXT_MASK) )); + b_Reparse &= (0 == (type_id & (T_EDID_FIXED | T_DBC_SUBGRP ) )); opFlags.bits.CanReparse = b_Reparse; opFlags.bits.CanCopy = (0 == (type_id & T_EDID_FIXED) ); @@ -1005,7 +1005,6 @@ void wxEDID_Frame::evt_blktree_key(wxTreeEvent& evt) { int keycode; - wxChar kchr; wxCommandEvent op_evt(wxEVT_MENU); wxKeyEvent kevt = evt.GetKeyEvent(); @@ -1039,19 +1038,17 @@ break; } - kchr = kevt.GetUnicodeKey(); - - if (kchr == (wxChar) 'C') { + if (keycode == 'C') { if (! opFlags.bits.CanCopy) return; evt_blktree_copy(op_evt); //wxID_COPY ignored return; } - if (kchr == (wxChar) 'V') { + if (keycode == 'V') { if (! opFlags.bits.CanPaste) return; evt_blktree_paste(op_evt); //wxID_PASTE ignored return; } - if (kchr == (wxChar) 'X') { + if (keycode == 'X') { if (! opFlags.bits.CanCut) return; evt_blktree_cut(op_evt); //wxID_CUT ignored return; @@ -1121,7 +1118,7 @@ tmps.Printf(_("Src: %s, %s, size=%d\n" "Sel: %s, offs=%d (%d)\n" - "Free space:\n" + "Free space: (bytes)\n" "group: %d\n" "block: %d"), edigrp_src->CodeName, GLog.slog , edigrp_src->getTotalSize(), @@ -1133,7 +1130,7 @@ mnu_BlkTree->SetLabel(id_mnu_info, tmps); tmps.Printf(_("Sel: %s, offs=%d (%d)\n" - "Free space:\n" + "Free space: (bytes)\n" "group: %d\n" "block: %d"), edigrp_sel->CodeName, edigrp_sel->getAbsOffs(), @@ -1400,8 +1397,8 @@ GLog.Show(); } } - mnu_reparse->Enable(flags.bits.data_loadeed); - mnu_assemble ->Enable(flags.bits.data_loadeed); + mnu_reparse ->Enable(flags.bits.data_loadeed); + mnu_assemble->Enable(flags.bits.data_loadeed); } void wxEDID_Frame::evt_save_edid_bin(wxCommandEvent& evt) { @@ -3024,13 +3021,13 @@ miInfoNOK ->SetSubMenu(mnu_SubInfo); - mnu_BlkTree->Append(miInfoNOK); //evt_blktree_rmb: group info + mnu_BlkTree->Append (miInfoNOK); //evt_blktree_rmb: group info mnu_BlkTree->InsertSeparator(1); - mnu_BlkTree->Append (wxID_EXECUTE, _("Reparse Group" )); - mnu_BlkTree->Append (wxID_COPY , _("Copy" )); - mnu_BlkTree->Append (wxID_PASTE , _("Paste" )); + mnu_BlkTree->Append (wxID_EXECUTE, _("Reparse Group")); + mnu_BlkTree->Append (wxID_COPY , _("Copy" )); + mnu_BlkTree->Append (wxID_PASTE , _("Paste" )); mnu_BlkTree->Append (miDelete); - mnu_BlkTree->Append (wxID_CUT , _("Cut" )); + mnu_BlkTree->Append (wxID_CUT , _("Cut" )); mnu_BlkTree->Append (miInsUp); mnu_BlkTree->Append (miInsIn); mnu_BlkTree->Append (miInsDn); @@ -3131,9 +3128,8 @@ } -wxBEGIN_EVENT_TABLE(dtd_screen_cl, wxPanel) - EVT_PAINT (dtd_screen_cl::evt_paint ) - EVT_ERASE_BACKGROUND(dtd_screen_cl::evt_erase_bg) +wxBEGIN_EVENT_TABLE( dtd_screen_cl, wxPanel ) + EVT_PAINT ( dtd_screen_cl::evt_paint ) wxEND_EVENT_TABLE() void dtd_screen_cl::scr_aspect_ratio(wxSize& dcsize, wxPaintDC& dc) { @@ -3312,10 +3308,6 @@ } -void dtd_screen_cl::evt_erase_bg(wxEraseEvent& evt) { - evt.Skip(false); -} - #pragma GCC diagnostic ignored "-Wunused-parameter" void dtd_screen_cl::evt_paint(wxPaintEvent& evt){ rcode retU; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wxedid-0.0.25/src/wxEDID_Main.h new/wxedid-0.0.26/src/wxEDID_Main.h --- old/wxedid-0.0.25/src/wxEDID_Main.h 2021-03-21 14:12:06.000000000 +0100 +++ new/wxedid-0.0.26/src/wxEDID_Main.h 2021-10-04 18:17:41.000000000 +0200 @@ -488,7 +488,6 @@ void scr_aspect_ratio(wxSize& dcsize, wxPaintDC& dc); rcode calc_coords (wxSize& dcsize); void scr_area_str (wxPaintDC& dc); - void evt_erase_bg (wxEraseEvent& event); void evt_paint (wxPaintEvent& event); public: