From 7881ae529036895775558aeb059b3901a53c6766 Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Mon, 14 Dec 2020 20:39:28 +0100 Subject: [PATCH 01/35] Update roadmap in changelog --- CHANGELOG.md | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4626a93..cf57300 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,19 +1,22 @@ # Changelog -## v4.x + ### Plans for the future -* WebGL -* Native builds for Chromium Edge and Opera +* Native builds for Chromium Edge * Settings page looks ugly af right now. Maybe fix it some time later * other bug fixes -QoL improvements for me: +## v5.0 (planned major) -* logging: allow to enable logging at will and export said logs to a file + * WebGL autodetection + * in-player GUI + * Fix UI logger -### v4.5.0 +## v4.x (current major) + +### v4.5.0 (Current) * Under the hood: migrated from vue2 to vue3, because optional chaining in templates is too OP. * (On options page, section 'Action & shortcuts') Manual aspect ratio now supports entering custom ratios using '21/9' and '2.39:1' formats (as opposed to single number, e.g. '2.39') — [#121](https://github.com/tamius-han/ultrawidify/issues/121). @@ -22,7 +25,7 @@ QoL improvements for me: * The extension will now show a notification when autodetection can't run due to DRM * Videos on facebook and reddit no longer get shifted up and to the left for me (cropping most of the video off-screen), but I haven't been deliberately trying to fix that issue. If you experience that issue, please consider contacting me (via github or email) with a link to a problematic video. -### v4.4.10 (Current) +### v4.4.10 * Video alignment should now work on Twitch — [#109](https://github.com/tamius-han/ultrawidify/issues/109) * Videos should now align properly on Hulu while cropped — [#111](https://github.com/tamius-han/ultrawidify/issues/111) & via email From 3d64a08b08d5f5a68807d9161edaec027e795850 Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Tue, 15 Dec 2020 20:13:23 +0100 Subject: [PATCH 02/35] =?UTF-8?q?Remove=20autoarPreventConditions=20?= =?UTF-8?q?=E2=80=94=20they're=20redundant=20with=20new=20way=20of=20calcu?= =?UTF-8?q?lating=20AR=20and,=20as=20of=20now,=20interfere=20with=20netfli?= =?UTF-8?q?x'=20ultrawide=20workarounds?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ext/conf/ExtConfPatches.js | 12 ++++++++++++ src/ext/conf/ExtensionConf.js | 26 -------------------------- 2 files changed, 12 insertions(+), 26 deletions(-) diff --git a/src/ext/conf/ExtConfPatches.js b/src/ext/conf/ExtConfPatches.js index 29c7228..d6b8df4 100644 --- a/src/ext/conf/ExtConfPatches.js +++ b/src/ext/conf/ExtConfPatches.js @@ -406,6 +406,18 @@ const ExtensionConfPatch = [ } } } + }, { + forVersion: '4.5.0.1', + updateFn: (userOptions, defaultOptions) => { + for (const site in userOptions.sites) { + try { + delete userOptions[sites].autoarPreventConditions + } catch (e) { + // doesn't matter if site doesn't have that option, + // everything is still fine + } + } + } } ]; diff --git a/src/ext/conf/ExtensionConf.js b/src/ext/conf/ExtensionConf.js index ee64f64..8485026 100644 --- a/src/ext/conf/ExtensionConf.js +++ b/src/ext/conf/ExtensionConf.js @@ -1039,19 +1039,6 @@ var ExtensionConf = { videoAlignment: VideoAlignment.Default, keyboardShortcutsEnabled: ExtensionMode.Default, arPersistence: true, // persist aspect ratio between different videos - autoarPreventConditions: { // prevents autoar on following conditions - videoStyleString: { // if video style string thing does anything of what follows - containsProperty: { // if video style string has any of these properties (listed as keys) - 'height': { // if 'height' property is present in style attribute, we prevent autoar from running - allowedValues: [ // unless attribute is equal to anything in here. Optional. - '100%' - ] - } - // 'width': true // this would prevent aard from running if