Jeremy Chen
213197e5e1
Bug 1328540 - trim trailing whitespaces. r=jeremychen
...
Trim trailing whitespaces for files that are touched in this bug:
gfxTextRun.h
gfxTextRun.cpp
nsTextFrame.cpp
nsCSSProps.cpp
MozReview-Commit-ID: FmiW2QiCoFv
--HG--
extra : rebase_source : cbc9ae8c3c4410d1fe79c027d4ccf11b45c8bd19
2017-01-04 23:55:16 +08:00
Jeremy Chen
f735dd2d2c
Bug 1328540 - convert NS_STYLE_HYPHENS_* to an enum class. r=xidorn
...
MozReview-Commit-ID: BwTzbA29Y3H
--HG--
extra : rebase_source : fc07d2c881a8ccc618fd1776d1e977c051b0032f
2017-01-04 23:55:16 +08:00
Andrew McCreight
fccb0645ed
Bug 1323042 - forbid MOZ_COUNT_{CTOR,DTOR} for nsISupports classes; r=froydnj
2016-12-12 09:27:58 -05:00
Nathan Froyd
826598caba
Backout aba6c73511a2 (bug 1307961) for massive test bustage resulting in a CLOSED TREE; r=alltheorange
2016-12-12 08:45:46 -05:00
Andrew McCreight
e31b5489da
Bug 1307961 - require consistent bloatview reporting for nsISupports classes; r=froydnj
2016-12-12 07:58:33 -05:00
Frédéric Wang
5f755e9bc4
Bug 1305977 - Use HarfBuzz ot-math API to parse the OpenType MATH table. r=jfkthame
2016-11-02 11:47:18 -07:00
Wes Kocher
c91def63e7
Backed out changeset 961a84574836 (bug 1305977) for multiscripts-1.html failures a=backout
2016-11-02 11:45:41 -07:00
Frédéric Wang
1c9167ba68
Bug 1305977 - Use HarfBuzz ot-math API to parse the OpenType MATH table. r=jfkthame
...
--HG--
extra : rebase_source : 743927b509e8e4b37334c46f32e4e69b3ba35091
2016-10-31 04:18:00 +01:00
Jonathan Kew
061ab35e2b
Bug 1308502 followup, add missing const-ness to gfxTextRun::SetPotentialLineBreaks param, tidy up a bit. r=m_kato
2016-10-11 13:47:11 +01:00
Jonathan Kew
175dc497d0
Bug 1308502 - Allow line-break even within a cluster if the preceding character (i.e. base of cluster) is a space. r=m_kato
2016-10-11 13:47:11 +01:00
Sebastian Hengst
cdcc9e20da
Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop
...
MozReview-Commit-ID: 1lCt0xTMV5O
2016-10-08 11:14:49 +02:00
Jason Woofenden
77865e4a08
Bug 1008019 - Allow whitespace to "hang" at soft-wrap boundaries when white-space:pre-wrap is in effect. r=jfkthame
2016-03-20 17:54:00 -04:00
Nicholas Nethercote
b71747b2ac
Bug 1299727 - Rename NS_WARN_IF_FALSE as NS_WARNING_ASSERTION. r=erahm.
...
The new name makes the sense of the condition much clearer. E.g. compare:
NS_WARN_IF_FALSE(!rv.Failed());
with:
NS_WARNING_ASSERTION(!rv.Failed());
The new name also makes it clearer that it only has effect in debug builds,
because that's standard for assertions.
--HG--
extra : rebase_source : 886e57a9e433e0cb6ed635cc075b34b7ebf81853
2016-09-01 15:01:16 +10:00
Sebastian Hengst
dd9d82e540
Backed out changeset 932c269da17b (bug 1008019)
2016-08-26 11:30:45 +02:00
Jason Woofenden
9a198c4a58
Bug 1008019 - Allow whitespace to "hang" at soft-wrap boundaries when white-space:pre-wrap is in effect. r=jfkthame
2016-03-20 17:54:00 -04:00
Jonathan Kew
8998b2ba96
Backed out changesets 4a7bb508cadf, e8917efd53e3, 2d87636d76b0 (bug 1008019) due to Android reftest orange.
2016-08-26 00:56:10 +01:00
Jason Woofenden
7dddb003fd
Bug 1008019 - Allow whitespace to "hang" at soft-wrap boundaries when white-space:pre-wrap is in effect. r=jfkthame
2016-03-20 17:54:00 -04:00
Ryan VanderMeulen
ce55e7b71a
Merge m-c to inbound. a=merge
2016-08-19 09:59:49 -04:00
Mats Palmgren
ddef8b6119
Bug 1280887
- patch 4 - Remove (unused) class gfxTextRun::ClusterIterator. r=jfkthame
2016-08-19 13:14:45 +01:00
Jonathan Kew
95a82f84cc
Bug 1280887
- patch 2 - Make gfxTextRun refcounted, replace usage of UniquePtr<> with RefPtr<> for textruns, and make nsTextFrame hold a strong reference to its run(s). r=mats
2016-08-19 13:14:22 +01:00
Jonathan Kew
76f40e7bdc
Bug 1280887
- patch 1 - Declare a bunch of gfxTextRun* variables as const pointers, for clarity. r=mats
2016-07-07 13:51:24 +01:00
Xidorn Quan
09f09b5e7b
Bug 1288255 - Clear hyphen width cache when user fonts update. r=jfkthame
...
MozReview-Commit-ID: 66zUQIFafdh
--HG--
extra : rebase_source : c8deb44e0f2eb6de0aedc7041bb79435d18ca354
2016-08-18 11:26:50 +10:00
Igor
175543fda8
Bug 1293384 - Part 2: Rename Snprintf.h header to Sprintf.h. r=froydnj
2016-08-14 23:43:21 -07:00
Igor
a57972337d
Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj
2016-08-14 23:44:00 -07:00
Kevin Chen
cac9daeb79
Bug 1275693 - Refactor <canvas> strokeText drawing to re-use gfxTextRun::Draw. r=jfkthame
2016-07-14 02:00:00 +02:00
Lee Salzman
16ca3223d9
Bug 1286317 - part 1 - remove Qt widget usage from gfx. r=jrmuizel
2016-07-12 20:27:57 -04:00
Jonathan Kew
9c3f72ea61
Bug 1286011 - Allow system-wide font fallback to be attempted for characters with 'unknown' script. r=emk
2016-07-11 21:25:23 +01:00
Jonathan Kew
48c59f0c3d
Bug 1282248 - Declare a bunch of gfxTextRun measurement/drawing methods and related helpers as const. r=m_kato
2016-06-27 17:41:55 +01:00
Jonathan Kew
1233cee71f
Bug 1273154 - Re-land followup to handle word-initial NNBSP shaping in Mongolian, with its reftest. r=jrmuizel
2016-05-25 10:51:13 +01:00
Jonathan Kew
16fe787f15
Backout 51b1f2343ad9 and f24ab7184139 (bug 1273154 followups) for reftest crash on linux
2016-05-25 10:36:46 +01:00
Jonathan Kew
816b7b2fb6
Bug 1273154 followup - Rework NNBSP handling in FindFontForChar to make word-initial NNBSP adopt the font that will be used for the following letter. r=jrmuizel
2016-05-25 09:21:55 +01:00
Jonathan Kew
c985e0ecb5
Bug 1273154 - Avoid breaking a font run at U+202F (NNBSP) if possible, because Mongolian shaping depends on the text run continuing across it. r=jrmuizel
2016-05-21 12:28:21 +01:00
Sebastian Hengst
e5d11edbeb
Backed out changeset 07c833b5d64d (bug 1273154) for reftest failure in 1273154-1.html on Windows 8. r=backout
2016-05-19 10:37:16 +02:00
Jonathan Kew
841ebee93a
Bug 1273154 - Avoid breaking a font run at U+202F (NNBSP) if possible, because Mongolian shaping depends on the text run continuing across it. r=jrmuizel
2016-05-19 07:01:56 +01:00
Jeremy Chen
f7a19af3e7
Bug 1248708 - Part2.2: render -webkit-text-stroke property. r=jfkthame
2016-04-23 01:40:39 +08:00
Jonathan Kew
c60f6a1ae4
Bug 1266391 - Introduce an enum class mozilla::unicode::Script, and use this instead of bare integers to specify script codes for better type checking. r=masayuki
2016-04-21 18:58:59 +01:00
Jeremy Chen
a9eb6cfaa2
Bug 1248708 - Part2.1: use mfbt/TypedEnumBits.h for DrawMode. r=jwatt
...
--HG--
extra : rebase_source : 23577723d8b5b8a5d6c4797bae797b47c195e9e5
2016-04-21 23:27:39 +08:00
Jonathan Kew
040843e80f
Bug 1266341 - Pass the right kind of enum constants for script codes. r=masayuki
2016-04-21 16:31:46 +01:00
Jonathan Kew
cb1c20b3c3
Bug 1265459 - Replace uses of nsAutoPtr<gfxTextRun> with UniquePtr, and let MakeTextRun and similar methods return a UniquePtr. r=jrmuizel
2016-04-19 17:13:28 +01:00
Jonathan Kew
28a9e2cf14
Bug 1265452 - Remove use of nsAutoPtr from gfx/thebes. r=jrmuizel
2016-04-15 20:45:37 +01:00
Jonathan Kew
f269e60c82
Bug 1119619 - Allow font-selection to fall back to an alternative face within the same family if the first-found face was not Regular, to handle cases where some styled faces have a reduced character set. r=m_kato
2016-04-14 21:02:12 +01:00
Jonathan Kew
0a9b1ea9b9
Bug 1245811 - part 1 (based on patch by Andrew Comminos) - Replace gfxPlatformFontList::FindFamily with FindAndAddFamilies to allow for the possibility of the implementation returning multiple font families (e.g. when fontconfig has 'prefer' aliases). r=karlt
2016-04-12 07:06:22 +01:00
Xidorn Quan
1a5d64446b
Bug 1251995 part 3 - Use struct to pass params for gfxTextRun::Draw. r=jfkthame
...
MozReview-Commit-ID: HAqtS3VXPHH
--HG--
extra : source : e6a45ca0a21666b4e01c217e0bb42772e4dd918f
2016-03-08 15:56:18 +08:00
Xidorn Quan
b3ea3fa801
Bug 1251995 part 2 - Add gfxTextRun::Range to replace parameter pairs like (offset, length) and (start, end). r=jfkthame
...
Although this makes some places more complicated, code should generally
be simpler and clearer. It could slightly improve performance on x64 for
functions with more than four parameters, since it makes more data be
passed via registers rather than the stack.
MozReview-Commit-ID: D0GM2Jyrr6W
--HG--
extra : source : bd88a2e478e23edf1845f724a32fef908c8cc007
2016-03-08 15:56:18 +08:00
Xidorn Quan
ab357753a9
Bug 1251995 part 1 - Add helper functions to simplify code. r=jfkthame
...
MozReview-Commit-ID: 6UBvmEpo12f
--HG--
extra : source : d14cafc0e378ab7356c32a0b469ed783244aa48b
2016-03-08 15:56:18 +08:00
Carsten "Tomcat" Book
41a0c1ddb8
Backed out changeset d88221aad093 (bug 1251995) for reftest failures
2016-03-07 12:18:40 +01:00
Carsten "Tomcat" Book
b9f86983b1
Backed out changeset bf004c055beb (bug 1251995)
2016-03-07 12:18:19 +01:00
Carsten "Tomcat" Book
1d0a6281ac
Backed out changeset 3f9fbbef0294 (bug 1251995)
2016-03-07 12:18:17 +01:00
Carsten "Tomcat" Book
15a46d77df
Backed out changeset 6cacb08f6f5c (bug 1251995)
2016-03-07 12:18:10 +01:00
Xidorn Quan
d0d9fe2a65
Bug 1251995 followup - Fix declaration shadow error.
2016-03-07 17:29:41 +08:00