Commit graph

38 commits

Author SHA1 Message Date
roytam1
ba3e46b173 partly import changes from tenfourfox: #651: M1761233 M1687303 M1633019 M1797336 M1799748 M1801102 (fb91afbb4) 2023-04-24 11:39:08 +08:00
roytam1
92cf687331 Merge remote-tracking branch 'origin/tracking' into custom 2022-09-09 10:31:15 +08:00
Moonchild
f801bd1847 Issue #80 - Re-unify most of gfx 2022-09-09 10:19:25 +08:00
roytam1
7f068ecce3 Merge remote-tracking branch 'origin/tracking' into custom 2022-05-04 10:14:24 +08:00
Brian Smith
13fcc4a046 Issue #1829 - Revert "Issue #1751" 2022-05-04 09:40:24 +08:00
roytam1
f155978c51 libpixman: enable SSSE3 code in compilation 2022-03-24 21:08:08 +08:00
roytam1
40f0327a83 pixman: restore XP hacks 2022-03-23 01:36:36 +08:00
roytam1
c277d761f3 Merge remote-tracking branch 'origin/tracking' into custom 2022-03-22 23:32:48 +08:00
Moonchild
3bb1c962eb Issue #3039 - Don't try to pass a dash array of > 16 elements to ExtCreatePen.
According to MSDN documentation, the count of the style array passed to
ExtCreatePen is limited to 16. When we call ExtCreatePen with cStyle=17 or more,
it simply returns an error and the cairo surface used for printing is getting
into an error state, after which nothing further gets printed.
Instead of erroring out, this code change returns an unsupported status so that
cairo will provide fallback handling for it.
2022-03-22 22:54:05 +08:00
David Major
dda2b7972a Issue #3039 - Reapply bug 624198 fix that got lost in an upstream update. 2022-03-22 22:53:33 +08:00
Moonchild
35164e2860 Issue #3039 - Increase the MAX_FONT_SIZE limit applied in cairo_ft_font to match the gfxFont size limit.
Also adds synching comments just to be sure.
2022-03-22 22:52:59 +08:00
Moonchild
42fc0af325 Issue #3039 - Add closure point to bounds calculation.
This addition of a closure point (explicitly completing the closed shape) isn't
strictly needed in our current cairo version as it works perfectly fine without,
but if our clipping extents code changes then this might cause problems if the
extra point isn't added (in case of 0-length paths).
2022-03-22 22:52:24 +08:00
Moonchild
517a6b90a3 Issue #3039 - Extend cairo API with an explicit font_get_hint_metrics function.
This extension allows us to get font hint metrics without having to create and
destroy cairo font options structs. Since this is used in loops, this will
improve performance, especially in documents which have many text segments.
2022-03-22 22:51:39 +08:00
Matt A. Tobin
be7e9c26bb Issue #3038 - Update libpixman 2022-03-22 22:46:24 +08:00
roytam1
8803266417 Merge remote-tracking branch 'origin/master' into custom 2021-07-02 11:02:20 +08:00
Moonchild
4363b6cac3 Issue #1751 - Remove Mac/ARM C fallback on gcc from pixman 2021-07-02 10:46:07 +08:00
roytam1
20c6498ca1 Merge remote-tracking branch 'origin/master' into custom 2021-06-24 11:13:09 +08:00
Moonchild
ba00d14c12 Issue #1751 - Remove Mac code behind MOZ_WIDGET_TOOLKIT == 'cocoa' 2021-06-24 11:09:47 +08:00
roytam1
f9ded55f98 Merge remote-tracking branch 'origin/master' into custom 2021-03-25 09:26:26 +08:00
Moonchild
b8f2ada817 Issue #1053 - Remove __ANDROID__ defines (except in third party code) 2021-03-25 09:04:29 +08:00
roytam1
333a06698b Merge remote-tracking branch 'origin/master' into custom 2021-03-11 10:14:22 +08:00
Moonchild
1feafdc819 Issue #1053 - Remove mobile-specific graphics "optimizations" (=compromises) 2021-03-11 10:13:55 +08:00
roytam1
a9f63c3e7d Merge remote-tracking branch 'origin/master' into custom 2021-01-01 10:04:05 +08:00
Moonchild
753251e54c Issue #1053 - Part 3a: Remove Android conditionals from /gfx 2021-01-01 10:01:09 +08:00
roytam1
56aaf6a15a Merge remote-tracking branch 'origin/master' into custom 2020-09-25 22:18:48 +08:00
Moonchild
0cd673d720 Issue #1656 - Part 6: Clean up the build files 2020-09-25 22:04:23 +08:00
Roy Tam
1a8a524849 Merge remote-tracking branch 'origin/master' into custom 2020-05-23 06:59:40 +08:00
Moonchild
c9c0bd68dd Issue #80 - De-unify gfx/cairo 2020-05-23 06:48:09 +08:00
Roy Tam
d477f61fc1 Merge remote-tracking branch 'origin/master' into custom 2020-05-16 06:50:41 +08:00
Moonchild
b2a716b2f1 Issue #457 - Silence some superfluous compiler warnings in cairo 2020-05-16 06:49:22 +08:00
Roy Tam
27884ac351 Merge remote-tracking branch 'origin/master' into custom 2019-11-08 20:30:31 +08:00
wolfbeast
82d70c6ae2 Issue #1274 - Part 5: Misc fixes and version update. 2019-11-08 20:26:28 +08:00
wolfbeast
fd38014a63 Issue #1274 - Part 3: Update libpixman licensing 2019-11-08 20:25:17 +08:00
wolfbeast
bc89f33a85 Issue #1274 - Part 1: Adopt the cairo version as our own.
- Move header licensing from tri-license to MPL 2.0. MPL-compatible
  other licensing has been retained where originally present.
- Remove individual superseded licensing terms.
- Remove patches, outdated readmes & incomplete patch summaries.
- Remove incomplete cairo release notes (only went up to 1.6.4 anyway).
- Rewrite COPYING to indicate the current state of the library in tree.
2019-11-08 20:24:51 +08:00
Roy Tam
51fa1b8bdb Merge remote-tracking branch 'origin/master' into custom 2019-04-04 20:32:53 +08:00
wolfbeast
09ad6f03c9 Remove AIX 1st party code OS checks, part 2
Issue #186
2019-04-04 20:26:46 +08:00
Roy Tam
13fdc4ef85 cairo-hash: use a faster implementation 2019-02-22 22:04:56 +08:00
Roy Tam
dcd9973243 import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00