This addon calculates the optimal UI scale for your resolution and automatically applies it when you log in, or the UI scale is changed by the game (or you).
While this is useful for anyone to get a true 1:1 pixel ratio, the main purpose of this addon is to support higher resolutions normally unsupported by Blizzard by allowing the UI to be scaled below the minimum threshold of 64%.
It also takes into account the fact that changing the UI scale while in combat might cause taint, and thus delays doing so until combat is over. This is particularly useful for Mac users who can easily switch back and forth between fullscreen and windowed mode.
How is this different from similar addons?
UIScaler will automatically calculate the optimal scale for your resolution, so you don't have to. It also avoids taint and re-applies the optimal scale even when the game changes the UI scale on its own.
Aprikot for suggesting the scaling method used in this addon (using the SetScale() instead of SetCVar() function).
Bump ToC for patch 5.2.
Bump ToC for patch 5.0.4.
Switch to new version numbering; [patch].[addon build]
Fixed an extremely stupid and obvious C stack overflow when using a 'normal' resolution.
If the resolution is supported by WoW, the correct CVar method is now used.