ultrawidify/CHANGELOG.md

354 lines
16 KiB
Markdown
Raw Normal View History

2018-05-02 17:52:25 +02:00
# Changelog
2019-06-06 00:35:58 +02:00
## v4.x
2018-11-06 20:43:47 +01:00
2019-05-05 00:26:00 +02:00
### Plans for the future
* Settings page looks ugly af right now. Maybe fix it some time later
2019-09-17 22:26:43 +02:00
* rework keyboard shortcuts so things like russian layouts don't mess thigns up
* other bug fixes
2019-05-05 00:26:00 +02:00
2019-09-17 22:26:43 +02:00
QoL improvements for me:
2019-07-20 21:33:15 +02:00
2019-09-17 22:26:43 +02:00
* logging: allow to enable logging at will and export said logs to a file
2019-09-28 00:14:03 +02:00
### v4.3.1 (current)
* Minor rework of settings page (actions & shortcuts section)
* Fixed bug that prevented settings page from opening
### v4.3.0
2019-09-17 22:26:43 +02:00
* Fixed some issues with incorrect alignment after window resize
2019-09-22 02:39:24 +02:00
* Fixed all sorts of issues for videos hosted on v.reddit for new (and old) reddit
* Fixed the issue where setting extension to 'whitelist only' would disable 'site settings' in popup.
2019-09-17 22:26:43 +02:00
* Added user-friendly way to export/import settings (export requires 'download' permissions)
2019-07-20 21:33:15 +02:00
* Reworked logging
2019-09-21 23:48:17 +02:00
* Started using mutation observers to watch for changes in player size as well. Since mutation observers aren't entirely reliable, old way of doing things is still somewhat present as a backup way, but runs less frequently.
* Implemented/improved/fixed settings patching
2019-09-22 02:49:40 +02:00
* **[4.3.0.1]** Removed some console.logs that I missed the first time around.
2019-09-25 18:44:01 +02:00
* **[4.3.0.2]** Extension would not work for new users. (Special thanks to [ezzak](https://github.com/ezzak) for finding and submitting a patch)
2019-07-20 21:33:15 +02:00
2019-09-17 22:26:43 +02:00
### v4.2.4 / 4.2.4.x
2019-08-31 22:59:46 +02:00
2019-09-01 01:41:12 +02:00
* Improvements to player detection. More details in the [blog post](https://stuff.tamius.net/sacred-texts/2019/08/31/ultrawidify-and-the-improper-cropping/).
* **[4.2.4.1]** Fixed default video settings for reddit
* **[4.2.4.1]** Manually specified query selectors will also be checked for compliance with player detection rules.
2019-09-01 03:23:19 +02:00
* **[4.2.4.2]** Additional bugfixes. Updated/fixed default settings.
2019-08-25 01:52:04 +02:00
2019-09-01 01:41:12 +02:00
### v4.2.3 / 4.2.3.x
2019-08-25 01:52:04 +02:00
* Fixed twitchy behaviour on Twitch, Facebook and Twatter. Here's a [blog post](https://stuff.tamius.net/sacred-texts/2019/08/24/ultrawidify-the-twitchy-twitch-problem/) that covers the issue in more detail.
* Cropping now uses user styles (as opposed to modifying element's style attribute)
* Fixed the issue where one-pixel letterbox would result in constant aspect ratio corrections.
* Started using mutation observers to watch for anything modifying the size of our video.
* **[4.2.3.1]** fixed some bugs in popup.
2019-08-25 21:21:54 +02:00
### v4.2.2
2019-07-20 21:33:15 +02:00
* Fixed player detection on reddit (for videos from v.reddit)
### v4.2.1
2019-07-07 21:12:57 +02:00
* Fixed bug where custom CSS didn't get applied to pages
2019-06-14 23:10:30 +02:00
2019-07-07 21:12:57 +02:00
### v4.2.0
2019-07-03 20:45:17 +02:00
2019-07-05 23:45:57 +02:00
* Slightly improved popup design. (Design change suggested by PortaTrekos)
2019-07-03 20:45:17 +02:00
* Player detection: youtube and twitch now have manual player element detection, with strictly defined players.
2019-07-05 23:45:57 +02:00
* Improved site settings control in extension popup. It's possible to enable extension for previously disabled embedded sites.
* Improved incompatibilities with reddit, where videos would be vertically misaligned when not using RES
* Fixed imcompatibilities with Iridium. Flicker when clicking play/pause or switching between big and popup player is caused by either Youtube or Iridium trying to apply their styles over mine.
* Issues with inconsistent alignment that some people reported are potentially fixed
2019-07-03 20:45:17 +02:00
2019-07-07 15:27:07 +02:00
### v4.1.2
2019-06-24 14:26:43 +02:00
* Fixed video alignment issues on www.reddit as well (for people who use old reddit without going to old.reddit)
* Fixed bug with 'player detection' tab
### v4.1.1
2019-06-15 23:01:18 +02:00
* Disabled gfycat
### v4.1.0
2019-06-14 23:10:30 +02:00
* Added ability to add custom CSS to page
* Fixed video alignment issues on old.reddit. Disabled extension on imgur by default.
* Extension now works on vimeo again
* **UX:** Renamed 'about' to 'report a problem' in order to make contact info more discoverable
### v4.0.1
2019-06-06 00:35:58 +02:00
* Fixed bug where sites using 'default' option in 'Extension mode' settings would be disabled, even if extension was not.
* Fixed bug where extension sometimes wouldn't work on Netflix.
### v4.0.0
2019-05-05 00:26:00 +02:00
* Fixed the bug where saving settings wouldn't work
2019-06-06 00:35:58 +02:00
* Massive under-the-hood changes. The extension popup and settings page use VueJS
* **Autodetection improvements:**
* Autodetection tries to differentiate between gradients and hard edge and avoids correcting on gradients. This should help with videos that are similar to [IGN's review of Hollow Knight](https://www.youtube.com/watch?v=hg25ONutphA).
* Black frame detection has been implemented and improved. Some cases (but not all) of text on black background causing aspect ratio corrections have also been fixed.
* Autodetection frequency increased from roughly once every 0.6 seconds to about 3 checks per second.
* Fixed the bug where autodetectin didn't calculate aspect ratio correctly. This bug would manifest in extension cropping too much even though the edge was clearly defined. It most commonly occured in videos of aspect ratio <1 that contained letterbox. [ex 1]( https://www.youtube.com/watch?v=9DP0TbOQcOw), [ex 2](https://www.reddit.com/r/videos/comments/a137pj/daily_reminder_that_shelly_miscavige_wife_of/)
* **Settings page was re-added**
* This includes a page for adding new aspect ratios and keyboard shortcuts. This feature is experimental.
2019-06-14 23:10:30 +02:00
* It's possible to tweak autodetection sensitivity and frequency — in slightly more user-friendly way as well
2019-06-06 00:35:58 +02:00
* It's also possible to tweak autodetection settings in detail.
2019-06-14 23:10:30 +02:00
* It's now possible to reset settings to default
2019-06-06 00:35:58 +02:00
* Rewrote keyboard shortcuts and changed how they're handled. Massively.
* You can now select which specific video on the page you control, provided each video is in its separate iframe
* While I wasn't looking, Netflix started supporting ultrawide monitors on its own. Netflix' implementation clashes with my own, though, so I've decided to disable autodetection on videos that netflix already cropped on their own. Manual aspect ratio changes are still possible, but they're off. You've been warned.
2018-11-06 20:43:47 +01:00
## v3.x
2019-05-05 00:26:00 +02:00
~~### v3.3.0~~
2019-06-14 23:10:30 +02:00
~~This will probably get promoted to 4.0, continuing the trend of version something. 3 not happening. Eulul~~
* ~~Basic mode added~~
* ~~Per-site controls in popup (to control embedded videos)~~
* ~~Rewrote keyboard shortcuts and changed how they're handled. Massively.~~
Never happened, got bumped to 4.0.0.
2019-06-06 00:35:58 +02:00
### v3.2.2
2018-09-23 19:48:48 +02:00
* Pan event listener now gets properly unbound
* Fixed 'reset zoom' button in popup
2018-09-23 13:55:03 +02:00
### v3.2.1
* Fixed issue where global video alignment setting didn't get saved properly
2018-09-13 23:51:42 +02:00
### v3.2.0
* Zoom and panning
2018-09-23 00:30:25 +02:00
* Reorganized popup
* Various bug fixes
2018-09-13 23:51:42 +02:00
2018-08-31 00:38:03 +02:00
### v3.1.1 (Chrome-only)
* Logging was accidentally left on in release version. This was fixed.
2018-08-31 00:35:52 +02:00
### v3.1.0
* Fixed the issue where aspect ratio change wouldn't survive switching between fullscreen and non-fullscreen modes
* Fixed the issue where settings wouldn't survive browser restarts in Firefox
Under the hood:
* rewrote how settings work, swapped Comms with storage.onChanged where it made sense & as much as possible
* enabling/disabling extension (either globally or for a given site) has now instant effect (consequence of above)
### v3.0.1
Minor fixes.
2018-07-13 21:56:55 +02:00
### v3.0.0
Pretty much rewrote extension in more object-oriented way and sorted out spaghetti a little. Site settings and keybinds have been merged with the rest of the extension settings. Rewrote messageing.
User-facing changes:
* Extension can be enabled/disabled globally or on per-site basis
* Automatic aspect ratio can be turned off, either globally or on per-site basis
* Stretching mode implemented
* Popup has been pimped up to reflect those changes
## v2.x
### v2.2.5 (AMO, Chrome)
2018-05-02 17:52:25 +02:00
Added some anti-lag measures. This seems to be an issue affecting _only_ Chrome (and only then some installs), where canvas.drawImage() won't work properly for some reason.
### v2.2.4
2018-05-02 17:52:25 +02:00
Lots of mostly incredibly minor stuff.
* Fixed issue where 21:9 videos with no letterbox would be zoomed in incorrectly in theater mode
* Added pillarbox basic pillarbox detection: extension will avoid zooming in a video if both letterbox and pillarbox are detected. This should fix the issues with incorrect zooming on certain kinds of images (such as movie titles and studio logos, e.g. [lucasfilm](https://i.ytimg.com/vi/H368H5cTqVM/maxresdefault.jpg) was one of the offenders).
* Fixed an issue where automatic detection would sometimes _not_ unzoom the video in cases where it clearly should
* Implemented some debugging tools for me. It's not much.
* Fixed some under-the-hood bugs nobody knew they even existed
* A lil bit of refactoring
### v2.2.3
2018-05-02 17:52:25 +02:00
* Fixed automatic aspect ratio detection on DRM-protected sites.
### v2.2.2
* Fixes problems with switching from normal to fullscreen player on youtube. If 2.2.1 didn't fix the font issue, this version should have.
### v2.2.1
2018-05-02 17:52:25 +02:00
* Fixes few chrome-specific fixes/bugs that v2.2.0 introduced. Maybe fixed the font problem.
### v2.2.0
Various improvements to automatic aspect ratio detection:
* **Fixed the situation with insane memory usage due to the automatic aspect ratio detection (#25, #32) and lag that appeared in certain cases after the extension has been running for a while.** There's still fun stuff going on — see notes below.
* Improved accuracy of automatic detection. This should fix the issue of rapid switching in dark videos or videos with otherwise uneven edges (#12 - [video](https://www.youtube.com/watch?v=NaTGwlfRB_c); #24 - [video](https://www.youtube.com/watch?v=xvZqHgFz51I) (see the car at the beginning))
Improved accuracy has increased the base RAM usage, and not by a small amount (I seem to have fixed my blunders, so that could _actually_ be on Firefox). As a result, I've reduced both resolution of the sample as well as polling frequency.
Polling of 1 check per second shouldn't use too much RAM. If you want automatic aspect ratio detection to react faster, you can up that number to 30 in the settings. 30 checks per second can be expensive: up to 400 MB if you've just started Firefox and went to youtube. Can go north of 2 gigs if you've been running Firefox for longer than that (seems to be a problem with Javascript garbage collection).
Videos that aren't playing (e.g. videos that are paused or ended) do (should) ***not*** use any meaningful amount of RAM.
* Overpass font is now bundled with this extension, meaning the popup should appear the way it was meant to appear™.
### v2.1.4
* Extension has been disabled on imgur (it was breaking gifs)
### v2.1.3
* Youtube pushed an update that broke this extension on Firefox (but not on Chrome?). This update fixes it.
* Extension disabled on reddit by default
Youtube fix seems to have broken Chrome compatibility (again), so any quick fix for this point forward will land in Chrome version along with v2.2.
### v2.1.2
* Fixed some bugs with autodetection sometimes not working properly on Youtube.
Problem: there's this bit of code that keeps aspect ratio from changing when the difference between 'previous' and 'current' aspect ratio is too small. Unfortunately, the 'previous' value was _not_ updated on every aspect ratio switch for some reason. Also `ArDetect.init()` — for some reason — didn't always clean the 'previous' value even though it should.
### v2.1.1
* Fixed issue #20 — aspect ratio autodetection should now start on subsequent videos as well.
* Netflix sometimes always showed 'no video detected' warning. Popup and background script now periodically poll for `hasVideos` property.
### v2.1.0 (Chrome)
* Popup should work more reliably now
* Twitch works ... kinda but not always
### v2.0.3
* Fixed the bug where Netflix videos weren't vertically centered in Firefox 57+ (not present in Chrome or FF 56 or earlier)
### v2.0.2
v2.0.1, but UI in the extension button now also works in Chrome.
### v2.0.1
* Autodetection: aspect ratio is no longer corrected if the detected difference is too small to make a meaningful difference
### v2.0
* Completely rewritten
* Automatic aspect ratio detection works on Youtube _and_ Netflix
* Added popup for quick actions (serves as a replacement for player UI)
* Restored settings page for keybinds.
Getting automatic aspect ratio detection required some hacks, not sure how easy will be to port to chrome.
### v2.0a1
The extension is being rewritten almost ground-up, around automatic aspect ratio detection. By default, this extension now only works in fullscreen, but due to some simplification it should work on most sites. As direct result of this simplification:
* The UI is completely gone
* Ability to add custom sites has been scrapped (might get implemented later on if some sites are a bit more problematic
* Extension broken up between smaller files, this time the proper way
* Added "the impossible aspect ratio autodetection"
* Zoom/unzoom options are gone
* Can't customize keybinds yet
2018-07-13 21:56:55 +02:00
# v1.x
2018-05-02 17:52:25 +02:00
### v1.3a1
* Adding ability to add custom sites (in progress)
* Most of the extension is being completely rewritten to accomodate that feature, which means there's a serious regression with Netflix support (no netflix at the moment)
* I'm also trying to break the 1500 line behemoth into smaller files.
### v1.2.1
* Fixed the bugs which caused aspect ratio to not be calculated properly.
* Introduced further changes that allow me to not keep two separate version for Firefox and Chrome.
### v1.2.0
* Auto-aspect ratio detection on netflix
* initial port to Chrome
### v1.1.1
* Fixed zooming issue on netflix
* Ultrawidify shortcuts > youtube/netflix shortcuts
* Fixed 'settings' page
* Fixed 'settings' (wrench button) popup on youtube (it was broken by one of the previous updates)
### v1.1.0
* Introduced Netflix support.
As Netflix relies on extension re-initializing at least the UI ***a lot***, the optimization introduced in 1.0.2 was reversed (as waiting 2 seconds for the UI to appear is just too much).
Furthermore, triggering UI re-initialisation on onUpdated events turned out to not be the proper way to go: immediately after the extension is initialized, onUpdated gets triggered even more often than your average Buzzfeed writer/reader. But change the episode on Netflix and suddenly, onUpdated gets barely triggered at all — which means that more often than not, the UI extension injects into the page wasn't visible. (the fuck, really)
This is why Netflix uses another function that manually checks whether the player bar is present. Ideally that check happens every tenth of a second, but Firefox may be limiting that to one per second.
### v1.0.2
The 'extension sometimes not working' bug was fixed (by having extension try to setup every time a page got updated), but the fix had some problems. Namely, the extension would re-initiate (complete with re-adding the entire UI) itself very _very_ often.
This could be a problem, so it was fixed. Extension is notified of updates only every ~2 seconds (which absorbs most of the "page was updated" events on page load) and doesn't attempt to reload the UI if the UI was already loaded. (Unless `debugmsg` is set to true. It's generally not, but any commits to this repo could potentially still have it enabled).
### v1.0.1
Fixed the bug where sometimes the extension would fail to work. (example: you opened youtube's search page in a brand new tab. You then opened a video from the search results (_not_ in a new tab). Extension wouldn't work at all in videos opened in that manner).
### v1.0.0
* Is pretty much rc1, except slightly different background image.
### v1.0-rc1
* Settings page is added and mostly working.
### v0.9.9.6
* The issue with buttons not fitting in the control bar was resolved.
### v0.9.9.5
* Played with settings and localstorage a bit, but no clear implementation yet.
* Fixed some bugs caused by event propagation.
* All buttons in the player's control bar are now also in the settings popup.
* Had to scrap settings page in its current form
* TODO: sometimes not all buttons can fit in the control bar. Such occurences should be detected.
### v0.9.9.1
* Keybinds `a` and `w` now work.
* Some changes under the bonnet, mostly regarding the way keypresses are handled.
* 'Settings' page is ~15% done.
### v0.9.9
* The aspect ratio thingy is now also in GUI
* Fixed code for forcing aspect ratio. At least I think it's fixed now.
### v0.9.8
* Added GUI/buttons on the player.
* Script now only loads on youtube pages (iframes included) (before, this script would run on any page)
### v0.9.7
* No new features added. Version number got incremented due to an attempt at autoupdating (which got foiled due to lack of HTTPS)
### v0.9.6
* Added experimental feature that tries to force an aspect ratio
### v0.9.1
* First version on GitHub (and on AMO) with basic features (zoom, fit to width, fit to height)