Commit Graph

476989 Commits

Author SHA1 Message Date
Kearwood (Kip) Gilbert
b25f2d6a84 Bug 1276066 - Add Union with "components" member to math classes to enable array access to members. r=bas
- Adding an array member to access the components of vector, size,
  and matrix classes reduces the code needed when passing all of the
  members to functions.

MozReview-Commit-ID: A6XL7y3zwsV

--HG--
extra : rebase_source : 77fb1b9784ae1213530cff7f42563e0afc8859e3
2016-04-18 12:12:36 -07:00
kearwood
24362dc743 Bug 1276359 - Fix D3D11 Shader Compile Failure r=bas
MozReview-Commit-ID: 6t02t473FFg

--HG--
extra : rebase_source : b512add238d5a0853752ae7306fe412ee6df245a
2016-05-27 13:37:52 -07:00
Christoph Kerschbaumer
8fb5a8ffbc Bug 1274219 - Remove SEC_NORMAL from /browser/components/feeds/FeedWriter.js (r=sicking) 2016-05-30 08:49:24 +02:00
Xidorn Quan
6d44085edf Bug 1229609 - Remove layout.css.text-emphasis.enabled pref. r=heycam
MozReview-Commit-ID: IEWZmZHKoXA

--HG--
extra : source : 382feec3df1b64ccaf07cbfe7de58d0e97a59e46
2016-05-30 14:52:01 +10:00
Xidorn Quan
0a93398e34 Bug 1039541 part 2 - Use unprefixed text-align-last in tests. r=heycam
MozReview-Commit-ID: 5LReZwinajo

--HG--
extra : source : 69d39d59e0b856960b198aa2a99347a2816277cf
2016-05-30 14:52:01 +10:00
Xidorn Quan
c7e8a8ebdf Bug 1039541 part 1 - Unprefix text-align-last. r=heycam
MozReview-Commit-ID: 4Lj04tY8CqR

--HG--
extra : source : 266fdd4c808ebc6f75408dab86f7781c9a084d7b
2016-05-30 14:52:01 +10:00
Daisuke Akatsuka
fd52d985db Bug 1272211 - Part 2: Modified and append tests. r=birtles
MozReview-Commit-ID: A9gGXe1vMal

--HG--
extra : rebase_source : 51b744eb2c04e3618655a52e7cfc578c30d1d03f
2016-05-30 09:01:21 +09:00
Daisuke Akatsuka
4f6eba3af3 Bug 1272211 - Part 1: Make timeline argument of Animation constructor default to the document timeline of the active document. r=birtles, r=smaug
MozReview-Commit-ID: KUsQF5bryg8

--HG--
extra : rebase_source : 5adf35011db8a64a30fc782ef29707f7070f207e
2016-05-30 09:01:11 +09:00
Ting-Yu Lin
0dd7719112 Bug 1269175 - Convert nsStyleSVG::mStrokeDasharray to be nsTArray. r=heycam
MozReview-Commit-ID: 5TC8KBD5cO6

--HG--
extra : rebase_source : 5a1cc695279dc5c5f4d1799814613c3335a65196
2016-05-26 14:01:58 +08:00
JW Wang
1f7b60118b Bug 1275807 - Remove remaining use of FlushableTaskQueue. r=cpearce.
MozReview-Commit-ID: L12wxh7GPIr

--HG--
extra : rebase_source : 745ae8240326246050513c96300eba1e32d84130
2016-05-24 16:48:26 +08:00
Makoto Kato
5fb3b6c9fa Bug 1275719 - GetShimForParam should traverse parent objects. r=froydnj
When using GetIIDForParamNoAlloc to get return paramter type, if param is nsIDOM*, it should get it by GetShimForParam.

When this situation, GetEntryFor Param tries to get nsIDOMDocument, so GetEntryForParam doesn't get entry.  Then, GetShimForParam tries to get entry.  But since it doesn't traverse parent objects, it will try to get nsIDocShell instead.

So it might not get correct entry.

MozReview-Commit-ID: LaOVymgFMgi

--HG--
extra : rebase_source : 9ce3b38872dd6bcabd473296cc5bda25c7d5ceab
extra : histedit_source : 385797913a2d76e2981b4106d572edd784145126
2016-05-26 23:09:06 +09:00
Xidorn Quan
532bc4be2f Bug 1268342 part 4 - Add reftest for ruby with text-combine-upright. r=jfkthame
MozReview-Commit-ID: 85TxCXMv1X

--HG--
rename : layout/reftests/fonts/Ahem.ttf => layout/reftests/w3c-css/submitted/ruby/support/Ahem.ttf
rename : layout/reftests/w3c-css/submitted/flexbox/support/ahem.css => layout/reftests/w3c-css/submitted/ruby/support/ahem.css
extra : source : bf6ab1b1fe9a331bb990364d56a0ddc30790647c
2016-05-30 09:24:18 +10:00
Xidorn Quan
1f74381c1c Bug 1268342 part 3 - Treat orthogonal text frame as non-text frame when applying justification gap. r=jfkthame
Also correct the comment in ComputeJustification.

MozReview-Commit-ID: AWGGuupFLze

--HG--
extra : source : d0c6c36ab0770015a19134a9e2ec9652c171e46e
2016-05-30 09:24:18 +10:00
Xidorn Quan
4ac3826c0f Bug 1268342 part 2 - Store writing mode of frame in PerFrameData. r=jfkthame
MozReview-Commit-ID: 66ZWj3EdCdh

--HG--
extra : source : 5d1bd8bfb21b8c75aff18c71377ffd29d44e361a
2016-05-30 09:24:18 +10:00
Xidorn Quan
db35f88ca8 Bug 1268342 part 1 - Remove useless constructor of PerFrameData. r=jfkthame
MozReview-Commit-ID: IL3iq4FFEaY

--HG--
extra : source : 8b3660dd50322d312da157895f20169255d23658
2016-05-30 09:24:18 +10:00
Xidorn Quan
e4d12795cc Bug 1276140 - Use memcpy rather than union to reinterpret in frame properties table. r=froydnj
MozReview-Commit-ID: Inrf22Ve9FQ

--HG--
extra : source : 525240afe663152f2b854e6d23417ef76dac9a8c
2016-05-30 09:19:25 +10:00
Nicholas Nethercote
34313286ee Bug 1272203 (part 4) - Use NotNull for XPTCursor. r=froydnj.
This is a nice example of using NotNull for a single non-null pointer that gets
passed around lots of different functions.
2016-05-27 09:49:26 +10:00
Nicholas Nethercote
62f0bd3e33 Bug 1272203 (part 3) - Use NotNull in nsContentUtils::GetSurfaceData(). r=froydnj.
This might not look compelling in isolation, but this use of NotNull would have
prevented the null dereference crash in bug 1268721.
2016-05-27 09:49:25 +10:00
Nicholas Nethercote
19c16a645a Bug 1272203 (part 2) - Use NotNull in nsThread. r=froydnj. 2016-05-27 09:49:23 +10:00
Nicholas Nethercote
b3d842431f Bug 1272203 (part 1) - Add mozilla::NotNull to MFBT. r=froydnj.
This patch implements mozilla::NotNull, which is similar but not identicial to
gsl::not_null.

The current draft(?) implementation of gsl::not_null is at
https://github.com/Microsoft/GSL/blob/master/include/gsl.h.

The main difference is that not_null allows implicit conversion from T to
not_null<T>. In contrast, NotNull only allows explicit conversion from T to
NotNull<T> via WrapNotNull().

The rationale for this is that when converting from a less-constrained type to
a more constrained type, implicit conversion is undesirable. For example, if I
changed a function f from this:

  f(int* aPtr);

to this:

  f(gsl::not_null<int*> aPtr);

no call sites would have to be modified. But if I changed it to this:

  f(mozilla::NotNull<int*> aPtr);

call sites *would* need to be modified. This is a good thing! It forces the
author to audit the call sites for non-nullness, and encourages them to
back-propagate NotNull throughout the code.

The other difference between not_null and NotNull is that not_null disables
pointer arithmetic, which means it cannot be used with array pointers. I have
not implemented this restriction for NotNull because it seems arbitrary and
unnecessary.
2016-05-12 14:21:16 +10:00
Karl Tomlinson
39cdd7f4f6 bug 1276086 set GLib prgname in child process r=glandium
MozReview-Commit-ID: 4Neb36zGScf

--HG--
extra : rebase_source : e9abe5b1fe76997efa5f0308cb53e22acdf33f9f
2016-05-27 11:50:26 +12:00
Karl Tomlinson
5aebf9bad8 bug 1274745 use ClaimStyleContext to ensure GtkWindow exists before using for scrollbar background r=stransky+263117
MozReview-Commit-ID: KKekEXJScM0

--HG--
extra : rebase_source : dd6b5261df5a1fe4e37b12c604f96af4d5c18e66
2016-05-27 10:32:02 +12:00
Rail Aliiev
73e83d6b8d Bug 1276451 - Do not beetmove stub installer in esr based releases r=jlund a=release DONTBUILD
MozReview-Commit-ID: 8KaMEj3fcEo

--HG--
extra : rebase_source : 4b67433a7edcd8e1ee38998348f4fb549e6c65fa
2016-05-28 08:59:27 -04:00
Christoph Kerschbaumer
8a208322fb Bug 1269254 - Skip CheckLoadURIWithPrincipal checks within ContentSecurityManager on loadingPrincipal if security flag indicates allow cross origin loads (r=sicking) 2016-05-29 20:40:16 +02:00
Sebastian Hengst
144882c03c Backed out changeset 17dcafc58287 (bug 1205027) for wpt windows-1251.html permafail on Windows. r=backout 2016-05-29 09:10:07 +02:00
cku
3e45c9df89 Bug 1228280: (followup) Update w3c-css reftest link. r=me
MozReview-Commit-ID: 8kDaRR0kFaJ

--HG--
extra : rebase_source : 071c04231026eacf95df987d6e94e2beb8c2171a
2016-05-29 13:56:10 +08:00
Jeff Walden
f20341eae2 Bug 1270977 - Mini-followup: JS::detail::ComputeThis must overwrite vp[1] with the boxed |this| object, because various downstream code assumes it's been overwritten (particularly in error cases). r=colors 2016-05-28 22:52:07 -07:00
Jeff Walden
70329fa4a6 Bug 1270977 - Remove JS::CallReceiver. r=efaust
--HG--
extra : rebase_source : c63656746559d41816e77baa8f12238882bca395
2016-05-26 20:14:39 -07:00
Jeff Walden
c9af593ee4 Bug 1270977 - Modify BoxNonStrictThis to not use CallReceiver. r=efaust
--HG--
extra : rebase_source : f8db060e368df96982a688dd6f71279e876904c9
2016-05-26 14:49:46 -07:00
Jeff Walden
9d18976540 Bug 1270977 - Replace a bunch of CallReceiver uses with CallArgs. r=efaust
--HG--
extra : rebase_source : eb10acb1a1886bddc463ae1fea4dd2b7ce6cb949
2016-05-26 12:52:36 -07:00
Jeff Walden
25223adcde Bug 1270977 - Rename ThisToStringForStringProto, and make it not do its funky this-overwriting thing now that every user correctly roots the string. r=efaust
--HG--
extra : rebase_source : 0afdb332587818400888d2a193150bcf03a2a8ca
2016-05-26 12:52:11 -07:00
Masatoshi Kimura
d155af464f Bug 1205027 - Only size <img> to broken-image size if it's actually broken. r=dholbert 2016-05-29 07:51:49 +09:00
Bobby Holley
70200c80e9 Bug 1275755 - Remove main-thread restrictions on atoms. r=froydnj 2016-05-28 17:08:10 +01:00
Bobby Holley
2c597c5a3d Bug 1275755 - Use a GC scheme to free unused atoms. r=froydnj 2016-05-28 17:08:08 +01:00
Bobby Holley
95caf3be29 Bug 1275755 - Protect gAtomTable with a lock. r=froydnj 2016-05-28 17:08:07 +01:00
Bobby Holley
3eec1c3284 Bug 1275755 - Use an explicit init routine for the atom table. r=froydnj 2016-05-28 17:08:05 +01:00
Bobby Holley
60591b7a86 Bug 1275755 - Remove MOZ_DUMP_ATOM_LEAKS. r=froydnj
I don't think anyone is using this anymore. It would be good to assert that there
are no leaks, but that doesn't pass for me in a local build, and I don't have time
to chase it.
2016-05-28 17:08:03 +01:00
Gregory Szorc
72878ea229 Bug 1275672 - Change symbols compression format to MSZIP; r=ted
makecab.exe has 3 options for compression: disable, MSZIP, and LZX.

Here is a breakdown of the 3 levels of compression for an opt 32-bit
build on my i7-6700K:

       directory size     full.zip   xul.pd_  `buildsymbols`
None     1,360 MB          227 MB     146 MB        49s
MSZIP      520 MB          221 MB     142 MB       113s
LZX        436 MB          169 MB     102 MB       248s

(The original size of xul.pdb is ~500 MB.)

This commit switches us to MSZIP as the compression format. This
makes `builsymbols` >2x faster while only increasing the full zip
archive size by ~31%. This feels like an appropriate trade-off.

The memory related flag has been removed because it only applies
to LZX compression.

It's worth noting that using `zip` to compress xul.pdb and xul.sym:

Level  Zip Size    xul.pdb Compressed   Time
9        160.6 MB      139.8 MB         76s
7        161.4 MB      140.5 MB         30s
5        164.7 MB      143.2 MB         16s
4        170.0 MB      147.3 MB         12s
3        176.4 MB      151.6 MB         11s

So "MSZIP" compression appears to be using level 9. If we could swap
in our own cab generator that uses a zlib compression level less
than 9, we'll make symbol generation significantly faster without
sacrificing too much size. I'm inclined to punt that to a follow-up
bug.

MozReview-Commit-ID: GbbClkn9PLN

--HG--
extra : rebase_source : 05f94f381a892d82f512b5c3682e51f6735714f3
2016-05-27 16:03:58 -07:00
Jeff Muizelaar
a5fc6a819f Bug 1266491 - Use an ssse3 scaler for video. r=mstange
This is a separable scaler that improves from performance
from 15-16fps to 21-22fps
2016-05-28 10:12:12 -04:00
Jeff Muizelaar
85d22c8bbc Bug 1266491. Add a RGB_FROM_YCBCR texture flag. r=nical
We only use the SSSE3 scaler when this texture flag is set. This avoids using
it for compositing things other than video.
2016-05-28 10:12:11 -04:00
Terrence Cole
9aa799a990 Bug 956899 - Use js::Thread for JS shell watchdog thread; r=jandem 2016-05-28 16:10:15 +02:00
Terrence Cole
84f84eff04 Bug 956899 - Use Mutex and ConditionVariable to simplify shell watchdog; r=jandem 2016-05-28 16:10:15 +02:00
Terrence Cole
56a7390ef3 Bug 956899 - Add comments to ConditionVariable and handle some edge cases gracefully; r=froydnj 2016-05-28 16:10:15 +02:00
Terrence Cole
3a7dc4ca0c Bug 1275306 - Part 2: Use a TimeStamp to implement watchdogTimeout; r=jandem 2016-05-28 16:10:15 +02:00
Terrence Cole
68a44fc60c Bug 1275306 - Part 1: Use TimeDuration for MAX_TIMEOUT_INTERVAL in the JS shell; r=jandem 2016-05-28 16:10:00 +02:00
Ben Kelly
d9b5c79aac Bug 1276271 P2 Verify responsive design UI does not leak when window is closed. r=jryans 2016-05-28 05:59:09 -07:00
Ben Kelly
64760e8d52 Bug 1276271 P1 Don't leak windows when response design tool is closed while active. r=jryans 2016-05-28 05:59:09 -07:00
Jan de Mooij
4cbcb1c8f0 Bug 1274922 part 2 - Give the shell its own EnvironmentPreparer. r=jorendorff 2016-05-28 13:11:17 +02:00
Jan de Mooij
8164408c7e Bug 1274922 part 1 - Remove ShellRuntime::gotError. r=jonco 2016-05-28 13:10:42 +02:00
Jan de Mooij
0f44adfaff Bug 1276162 part 2 - Remove ContextOption and make frame iterators always see all frames. r=luke 2016-05-28 10:34:11 +02:00