Kim Moir
07c4ab6056
Bug 1411731 - Remove gfx/cairo/libpixman/src/Makefile.in r=nfroyd DONTBUILD
2018-02-14 12:36:22 -05:00
Jonathan Kew
5b9b689254
Bug 1434699 - Don't use dlsym() to look up FreeType functions when building with MOZ_TREE_FREETYPE. r=lsalzman
2018-02-01 15:28:09 +00:00
Jim Chen
7d4fb3fff9
Bug 1428182 - 10. Add <stdlib.h> include in pixman patch; r=lsalzman
...
pixman-8888-over-565.patch added a call to free(), which is apparently
not included by the other headers when using the new NDK headers.
MozReview-Commit-ID: 9fAuSano36N
--HG--
extra : rebase_source : de9a1f1c4676df9ed724ae7264ca1170b77aac52
2018-01-30 14:08:24 -05:00
Cosmin Sabou
c6a0d55423
Backed out 11 changesets (bug 1428182) for build bustages on pixman-inlines.h:29:10 on a CLOSED TREE
...
Backed out changeset 84c767de6202 (bug 1428182)
Backed out changeset 429433caa78c (bug 1428182)
Backed out changeset c576e9d1f68f (bug 1428182)
Backed out changeset 092662eab5eb (bug 1428182)
Backed out changeset 4dd7eaff3ab5 (bug 1428182)
Backed out changeset fbbb0745b139 (bug 1428182)
Backed out changeset 1d1278b289b7 (bug 1428182)
Backed out changeset 55891ffb3768 (bug 1428182)
Backed out changeset 4655e1b1b237 (bug 1428182)
Backed out changeset 377eada51b3c (bug 1428182)
Backed out changeset 17c0e373d921 (bug 1428182)
--HG--
rename : ipc/chromium/src/third_party/libevent/patches/android-api-level.patch => ipc/chromium/src/third_party/libevent/patches/android-arc4random-buf.patch
2018-01-30 01:22:33 +02:00
Jim Chen
2d6e9928cb
Bug 1428182 - 10. Add <malloc.h> include in pixman patch; r=lsalzman
...
pixman-8888-over-565.patch added a call to free(), which is apparently
not included by the other headers when using the new NDK headers.
MozReview-Commit-ID: 9fAuSano36N
--HG--
extra : rebase_source : 92c1e729c41cebf320ef5d5b2de5d3fa14c8e121
2018-01-29 17:38:17 -05:00
Lee Salzman
08bc97046a
Bug 1425346 - lock access to cairo_ft_unscaled_font_t's faces list. r=jrmuizel
...
MozReview-Commit-ID: GjIiO7P9Wak
2018-01-09 16:18:38 -05:00
Jonathan Kew
88ac266967
Bug 1427641 - patch 3 - Add variation data to the cairo_ft_*_font objects, so they can properly track instances of the same font resource used with different variation parameters. r=lsalzman
2017-12-07 13:22:49 +00:00
Sylvestre Ledru
a9961096c0
Bug 1394734 - Simplify various corner cases r=glandium
...
MozReview-Commit-ID: 4s4JdXZPvmv
--HG--
extra : rebase_source : c8f663c99442d41db5f81ac5fe1aa1f47fd5ed82
2017-12-07 22:10:19 +01:00
Sylvestre Ledru
4591d82b23
Bug 1394734 - Replace CONFIG['CLANG*'] by CONFIG['CC_TYPE'] r=glandium
...
MozReview-Commit-ID: HbF5oT5HW6f
--HG--
extra : rebase_source : eca479b6ae4bff7f600d1cdb39e11ac2057e4e79
2017-12-07 22:09:38 +01:00
Sylvestre Ledru
5de63ef061
Bug 1394734 - Replace CONFIG['MSVC'] by CONFIG['CC_TYPE'] r=glandium
...
MozReview-Commit-ID: 5orfnoude7h
--HG--
extra : rebase_source : 1ed9a6b56e1d27221a07624767a7fb0e6147117f
2017-12-08 13:46:13 +01:00
Sylvestre Ledru
9bfe27d903
Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium
...
MozReview-Commit-ID: 7duJk2gSd4m
--HG--
extra : rebase_source : 7312fe276e561e8c034a5f6749774ae812727f9c
2017-12-07 22:09:15 +01:00
Mike Shal
29e2f8c259
Bug 1319222 - Change --param flag to be multiple arguments; r=chmanchester
...
This flag should be two parameters, the first of which is '--param', and
the second is the parameter, such as 'inline-unit-growth=10000'. The
recursive make backend lets this slide at the moment because
PerSourceFlags aren't shell_quoted() there.
MozReview-Commit-ID: 8vblYqCGxwg
--HG--
extra : rebase_source : b3fb7fd78e1deec27c3ceb2bcc706e2e3e201e9e
2017-11-22 14:50:24 -05:00
Robert Longson
059b5600cf
Bug 584623 - fix cairo bounds calculation for zero length lines. r=jmuizelaar
2017-11-26 14:47:25 +00:00
Chris Manchester
c86173526a
Bug 1403346 - Replace all uses of ALLOW_COMPILER_WARNINGS with a template, remove ALLOW_COMPILER_WARNINGS. r=glandium
...
MozReview-Commit-ID: 1G2o4fy74cf
2017-10-25 15:12:09 -07:00
Chris Peterson
793bc69260
Bug 1400705 - cairo: Fix -Wunknown-warning-option clang warning about gcc flag (and suppress some other warnings). r=lsalzman
...
* The -Wno-unused-but-set-variable flag is supported by gcc but not clang, so move it to a gcc-only CFLAGS.
* The -Wno-error=uninitialized flag is supported by both gcc and clang, so move it to CFLAGS shared by gcc and clang.
* Also suppress -Wunreachable-code and -Wshift-negative-value clang warnings. gcc supports -Wshift-negative-value, but only starting in gcc 6.1 and we are still using gcc 4.9 in automation.
warning: unknown warning option '-Wno-unused-but-set-variable'; did you mean '-Wno-unused-const-variable'? [-Wunknown-warning-option]
gfx/cairo/cairo/src/cairo-quartz-surface.c:1908:6: warning: code will never be executed [-Wunreachable-code]
gfx/cairo/libpixman/src/pixman-bits-image.c:268:32: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
MozReview-Commit-ID: AnQAsfDaZbk
--HG--
extra : rebase_source : 6dd94a39479e05f67f93d4e4be2bd10ece4df7be
extra : source : 34ddaea5129be2ae1e9faa0a1d905b8690909611
2017-09-16 21:01:25 -07:00
Tom Ritter
9cd489ff8d
Bug 1394002 Suppress warnings in third party cairo and libpixman code r=jrmuizel
...
MozReview-Commit-ID: Any1Vr7teiy
--HG--
extra : rebase_source : 8553ac979ed9d8b076d755e2c870e8897950dd98
2017-08-24 12:26:10 -05:00
Mats Palmgren
3ac7fdcaef
Bug 1377257 part 1 - Add cairo_scaled_font_get_hint_metrics to avoid malloc/free that is required to use cairo_scaled_font_get_font_options. r=jfkthame
2017-08-14 12:35:30 +01:00
Lee Salzman
f3254dc7ef
Bug 1383767 - guarantee FreeType thread-safety by holding Cairo per-face lock and locking down rasterization. r=jrmuizel
...
MozReview-Commit-ID: DuPRIUBgw4W
2017-07-26 23:24:44 -04:00
Carsten "Tomcat" Book
efd795174c
Backed out changeset 22947e9aa292 (bug 1383767) for bustage
2017-07-27 08:20:41 +02:00
Lee Salzman
58dcb7ef01
Bug 1383767 - guarantee FreeType thread-safety by holding Cairo per-face lock and locking down rasterization. r=jrmuizel
...
MozReview-Commit-ID: DuPRIUBgw4W
2017-07-26 23:24:44 -04:00
Brad Werth
fd01267841
Bug 1059424 Part 1: Simplify cairo quartz surface generation now that we are minimum macOS 10.9. r=jrmuizel,mstange
...
MozReview-Commit-ID: 7ewjZwbFbwP
--HG--
extra : rebase_source : 638fc40c8ef4280e693b9b2f7397078fc686a4e2
2017-07-10 15:17:54 -07:00
Masatoshi Kimura
15b37d6475
Bug 1330202 - Suppress cairo build warnings on Windows. r=lsalzman
...
MozReview-Commit-ID: BDWahhdAV8Z
--HG--
extra : rebase_source : d5ccc74e62b21ba66a838f7351d595e9e1c4b694
2017-06-05 01:08:51 +09:00
Lee Salzman
b585bd3438
Bug 1364628 - implement thread-safe variants of FT_New_Face/FT_Done_Face. r=jrmuizel
...
MozReview-Commit-ID: 6xbOm2nYhXo
2017-05-17 21:56:24 -04:00
Jeff Muizelaar
67d7b8af2a
Bug 1345243. Remove support for building without DirectWrite. r=bas
...
Now that we don't support XP it's reasonable for us to drop support for GDI
fonts and rely solely on DirectWrite. We should start this process by removing
support for building without DirectWrite.
2017-03-17 15:39:14 -04:00
Milan Sreckovic
314a7f0337
Bug 1336350: CAIRO_INT_STATUS_UNSUPPORTED is a special case of an error. r=jrmuizel
...
MozReview-Commit-ID: Hsl5eA1YMl0
--HG--
extra : rebase_source : 54c777e0f0d730384370dc9afb579b47fbfc3ef2
2017-02-24 18:02:19 -05:00
Lee Salzman
87c59c07dd
Bug 1324130 - use __declspec(thread) instead of Tls calls in pixman on Windows. r=jrmuizel
...
MozReview-Commit-ID: LxojG4aHKZz
2017-02-16 13:30:41 -05:00
Jonathan Kew
36f52391d9
Bug 1331683 - Don't attempt to use any Core Text and Core Graphics variation-font APIs on pre-Sierra systems. r=jrmuizel,lsalzman
2017-02-09 21:37:24 +00:00
Lee Salzman
b0949fd5a5
Bug 1324379 - Fix cairo_cff_font_write_cid_fontdict array output. r=jrmuizel
...
MozReview-Commit-ID: DVMOpNLmY6D
2016-12-19 14:12:58 -05:00
Jonathan Kew
495986d84c
Bug 1321031
pt 5 - Preserve any variation settings present in the CGFont when the cairo quartz backend creates a new CTFont. r=jrmuizel
2017-01-06 16:35:12 +00:00
Ryan VanderMeulen
e897fba434
Backed out 6 changesets (bug 1321031
) for bustage.
...
Backed out changeset e0be4f5390fb (bug 1321031
)
Backed out changeset ba071046f8ab (bug 1321031
)
Backed out changeset 7cb4242dc636 (bug 1321031
)
Backed out changeset bc58e479eb58 (bug 1321031
)
Backed out changeset c551913ae892 (bug 1321031
)
Backed out changeset f4ae57d5358f (bug 1321031
)
CLOSED TREE
2017-01-06 12:46:27 -05:00
Jonathan Kew
67b65a3027
Bug 1321031
pt 5 - Preserve any variation settings present in the CGFont when the cairo quartz backend creates a new CTFont. r=jrmuizel
2017-01-06 16:35:12 +00:00
Chris Peterson
78f7bd1dd7
Bug 1323923 - Part 2: Suppress more clang warnings and unify CLANG_CXX/CLANG_CL warning flags in gfx/cairo. r=lsalzman
...
gfx/cairo/cairo/src/cairo-image-surface.c:1225:35 [-Wabsolute-value] using floating point absolute value function 'fabs' when argument is of integer type
gfx/cairo/cairo/src/cairo-image-surface.c:1227:35 [-Wabsolute-value] using floating point absolute value function 'fabs' when argument is of integer type
gfx/cairo/cairo/src/cairo-quartz-surface.c:1919:12 [-Wunreachable-code] code will never be executed
gfx/cairo/cairo/src/cairo-quartz-surface.c:1920:6 [-Wunreachable-code] code will never be executed
gfx/cairo/cairo/src/cairo-quartz-surface.c:3530:18 [-Wunused-variable] unused variable 'i'
gfx/cairo/cairo/src/cairo-version.c:39:9 [-Wmacro-redefined] 'CAIRO_VERSION_H' macro redefined
2016-12-15 23:59:12 -08:00
Chris Peterson
a2deb2ec60
Bug 1323923 - Part 1: Fix -Wunknown-warning-option clang warning in gfx/cairo. r=lsalzman
...
warning: unknown warning option '-Wno-unused-but-set-variable'; did you mean '-Wno-unused-const-variable'? [-Wunknown-warning-option]
2016-12-15 23:58:57 -08:00
Masatoshi Kimura
fd494b2e0a
Bug 1313280 - Fix invalid non-UTF-8 bytes from cairo. r=jrmuizel
...
MozReview-Commit-ID: 8ieCP3HK9Jt
--HG--
extra : rebase_source : 37289e1df598e50da760d3929c72343714e92a10
extra : source : abb872d6079ff48edff2abf164667d1b413f378b
2016-10-28 21:08:38 +09:00
Bas Schouten
d260be63b3
Bug 1306830: Correctly set the top of the font area to be drawn. r=jrmuizel
...
MozReview-Commit-ID: IIBJPzD3hyb
--HG--
extra : rebase_source : 80ce162655d12832e006c11431c7254cc6905903
2016-10-03 06:42:26 +02:00
Sylvestre Ledru
e751b9668d
Bug 1306640 - Silent a -Wunused-but-set-variable in cairo. We don't want to diverge too much from upstream r=lsalzman
...
MozReview-Commit-ID: jzPlpGZh76
--HG--
extra : rebase_source : 86d12bd2b91cbdcefbdfb78f7e17c9dfad273cf5
2016-10-23 16:39:41 +02:00
Jeff Muizelaar
9e14e630eb
Bug 1292443 - Use unsigned integer arithmetic to avoid UB. r=dholbert
2016-10-20 21:15:27 +02:00
Bas Schouten
606090c843
Bug 1306670: Properly disable cleartype when the underlying surface indicates it may not be opaque. r=jrmuizel
...
MozReview-Commit-ID: LWzwbeG6JeL
--HG--
extra : rebase_source : 5621053dd1a1e33ecd42ddd907ca3b80235eb9ac
2016-10-03 18:21:54 +02:00
Carsten "Tomcat" Book
53c63f69db
Merge mozilla-central to mozilla-inbound
2016-09-30 12:08:17 +02:00
peter chang
97e430e7bc
Bug 1293598
- clean up pointers after free inside pixman_image, r=jrmuizel
...
MozReview-Commit-ID: ChUb4RYUabN
2016-09-30 11:38:17 +08:00
Bas Schouten
c0e9e79a37
Bug 1303570 - Part 1: Support Subpixel AA drawing of DWrite fonts to transparent GDI surfaces. r=jrmuizel
...
MozReview-Commit-ID: JzkE1s9A0UI
--HG--
extra : rebase_source : ed9e3c478ca4affbfc5079394311ef7671957d75
2016-09-27 11:27:51 +02:00
Phil Ringnalda
bcee831dc7
Backed out changeset 854e74094d8c (bug 1293598
) for Windows build bustage and everybody else SVG jemalloc crashes
...
CLOSED TREE
2016-09-15 19:40:28 -07:00
Wes Kocher
35d4852105
Merge m-c to autoland, a=merge
2016-09-15 16:42:10 -07:00
peter chang
792fd13c0d
Bug 1293598
- clean up pointers after free inside pixman_image, r=jrmuizel
...
MozReview-Commit-ID: ChUb4RYUabN
--HG--
extra : rebase_source : 25ad0813f51ba3c97439080c662504ea6f355891
2016-08-09 17:31:05 +08:00
Tom Tromey
5538d692d3
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Lee Salzman
3c3b9525b6
Bug 1287552 - part 1 - backport upstream Cairo fix for computing transform of bitmap fonts. r=jrmuizel
...
MozReview-Commit-ID: GFHoPOJEaxG
--HG--
extra : rebase_source : a492293691b6ca08e9ae65a6abb19e575aa7afdd
2016-07-18 15:27:40 -04:00
Bob Owen
ab7e8e7d7d
Bug 1285942 Part 2: Check result of CreateGlyphRunAnalysis in _cairo_dwrite_scaled_show_glyphs. r=bas
...
MozReview-Commit-ID: 8D3HE5O1ZrJ
--HG--
extra : rebase_source : 1654bdd49bfa97a914400e2153ad37ea99302cfc
2016-07-18 12:13:18 +01:00
Benjamin Smedberg
bf05496a83
Bug 1282866 - remove widget/qt and other supporting QT code, r=dougt. This patch does not remove all of the checks for MOZ_WIDGET_QT (which are dead code), but that will be a followup mentored bug.
...
MozReview-Commit-ID: EGqHHhCD7vD
--HG--
extra : rebase_source : a4b9593959dd3ba80189db47eabb056ea207490f
extra : amend_source : a744d833693f0fe7adbea961c00bb5fb55a91580
2016-07-07 12:14:25 -04:00
Nathan Froyd
b86f050662
Bug 1195477 - part 1 - use -no-integrated-as for clang builds on ARM, moz.build changes; r=glandium
...
We have a lot of assembly written assuming gas's conventions, which
clang's integrated assembler doesn't support. Disable the integrated
assembler for those pieces of code.
2016-06-28 23:48:49 -04:00
Phil Ringnalda
0c749ef583
Back out 2 changesets (bug 1195477) on suspicion of breaking Mac clobbers in libffi
...
CLOSED TREE
Backed out changeset 45a6a74c46ea (bug 1195477)
Backed out changeset 4f607b7635fd (bug 1195477)
2016-06-23 19:29:22 -07:00