freshplayerplugin v0.3.6
- graphics: fix off-by-one pixel issue in dpi scaling mode;
- graphics: try to flicker less. Additional buffering and more aggressive synchronization were added to lower frequency of all-white frames on Dailymotion;
- misc: use ICU library enhanced with WhatWG encoding spec for character set conversion;
- misc: guess default encoding from locale name as Chromium does;
- misc: dynamically link with GTK+ at run time.
With using of ICU, new dependency added: libicu-dev
. At the same time, neither GTK+ libraries nor headers required at build time. GTK+ is still expected to be available at run time.
Regarding plugins, there are two browser types: conservative, like Firefox, which even in GTK+ 3 build still provides GTK+ 2 for plugins, and fearless ones, which being linked against GTK+ 3, load plugins into own process. Second type causes mixing both major GTK+ versions in the same process with unpredictable outcomes. The only way to be compatible with both browser types is to avoid explicit linking, and guess GTK+ version at run time.