forked from pool/MozillaThunderbird
7920c81c06
Bugfixes * Issues with attachments in IMAP messages * Gmail accounts ignored a non-standard trash folder selection * Entering/pasting lists of recipients into the addressing widget or mailing list not working reliably, especially when lists contained multiple commas or semicolons * Edit mailing list not working * Various theme fixes, especially dark theme improvements for Calendar * Contrast between tag label and background not optimal * Account Central pane always loaded at start-up * "Config Editor" button not removed if blocked by policy * Calendar: Free/busy information in attendees dialog not scrolled correctly. Note: Scroll arrows still not behaving correctly - require nodejs8 instead of generic nodejs for better cross-distribution support - call desktop database update on install - updated translations-other locale list - build correct ICU for Big Endian - remove kde.js since disabling instantApply breaks extensions and is obsolete with the move to HTML views for preferences (boo#1151186) - update create-tar.sh to latest revision and adjust tar_stamps - added platform patches from Firefox 68esr mozilla-bmo1005535.patch mozilla-bmo1463035.patch mozilla-bmo1504834-part1.patch mozilla-bmo1504834-part2.patch mozilla-bmo1504834-part3.patch mozilla-bmo1511604.patch mozilla-bmo1554971.patch OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaThunderbird?expand=0&rev=490
45 lines
2.3 KiB
Diff
45 lines
2.3 KiB
Diff
# HG changeset patch
|
|
# Parent aecb4600e5da17443b224c79eee178c1d8e155e3
|
|
For FF68, AntiAliasing of XULTexts seem to be broken on big endian (s390x). Text and icons of the sandwich-menu to the
|
|
right of the address bar, as well as plugin-windows appears transparant, which usually means unreadable (white on white).
|
|
|
|
diff -r aecb4600e5da gfx/skia/skia/include/private/SkNx.h
|
|
--- a/gfx/skia/skia/include/private/SkNx.h Tue Aug 20 09:46:55 2019 +0200
|
|
+++ b/gfx/skia/skia/include/private/SkNx.h Mon Sep 09 10:04:06 2019 +0200
|
|
@@ -238,7 +238,18 @@
|
|
AI SkNx operator*(const SkNx& y) const { return fVal * y.fVal; }
|
|
AI SkNx operator/(const SkNx& y) const { return fVal / y.fVal; }
|
|
|
|
+ // On Big endian the commented out variant doesn't work,
|
|
+ // and honestly, I have no idea why it exists in the first place.
|
|
+ // The reason its broken is, I think, that it defaults to the double-variant of ToBits()
|
|
+ // which gets a 64-bit integer, and FromBits returns 32-bit,
|
|
+ // cutting off the wrong half again.
|
|
+ // Overall, I see no reason to have ToBits and FromBits at all (even for floats/doubles).
|
|
+ // Still we are only "fixing" this for big endian and leave little endian alone (never touch a running system)
|
|
+#ifdef SK_CPU_BENDIAN
|
|
+ AI SkNx operator&(const SkNx& y) const { return fVal & y.fVal; }
|
|
+#else
|
|
AI SkNx operator&(const SkNx& y) const { return FromBits(ToBits(fVal) & ToBits(y.fVal)); }
|
|
+#endif
|
|
AI SkNx operator|(const SkNx& y) const { return FromBits(ToBits(fVal) | ToBits(y.fVal)); }
|
|
AI SkNx operator^(const SkNx& y) const { return FromBits(ToBits(fVal) ^ ToBits(y.fVal)); }
|
|
|
|
diff -r aecb4600e5da gfx/skia/skia/src/opts/SkBlitMask_opts.h
|
|
--- a/gfx/skia/skia/src/opts/SkBlitMask_opts.h Tue Aug 20 09:46:55 2019 +0200
|
|
+++ b/gfx/skia/skia/src/opts/SkBlitMask_opts.h Mon Sep 09 10:04:06 2019 +0200
|
|
@@ -203,7 +203,13 @@
|
|
// ~~~>
|
|
// a = 1*aa + d(1-1*aa) = aa + d(1-aa)
|
|
// c = 0*aa + d(1-1*aa) = d(1-aa)
|
|
+
|
|
+ // For big endian we have to swap the alpha-mask from 0,0,0,255 to 255,0,0,0
|
|
+#ifdef SK_CPU_BENDIAN
|
|
+ return Sk4px(Sk16b(aa) & Sk16b(255,0,0,0, 255,0,0,0, 255,0,0,0, 255,0,0,0))
|
|
+#else
|
|
return Sk4px(Sk16b(aa) & Sk16b(0,0,0,255, 0,0,0,255, 0,0,0,255, 0,0,0,255))
|
|
+#endif
|
|
+ d.approxMulDiv255(aa.inv());
|
|
};
|
|
while (h --> 0) {
|