Commit Graph

22005 Commits

Author SHA1 Message Date
Jonathan Watt
79477778d1 Bug 1034399 - Use a Moz2D DrawTarget backed gfxContext for SVG bounds calculations. r=Bas 2014-07-06 16:30:55 +01:00
Jonathan Watt
97669ec7d8 Bug 988808, part 2 - Convert SVG hit-testing to use Moz2D instead of Thebes backed gfxContext. r=Bas 2014-07-05 21:53:04 +01:00
Jonathan Watt
9e50079a2d Bug 1034115 - Stop creating CSS-px-to-dev-pixel matrices when doing SVG hit-testing. r=longsonr 2014-07-05 19:19:13 +01:00
Jonathan Watt
6fe3737feb Bug 1034574 - Remove SVGContentUtils::CoordToFloat's aPresContext argument. r=longsonr 2014-07-05 19:19:13 +01:00
Karl Tomlinson
b2353db8a8 b=1033140 make speex_resampler declarations consistent with OUTSIDE_SPEEX implementation r=padenot
Instead of defining OUTSIDE_SPEEX and RANDOM_PREFIX everywhere
speex_resampler.h is included, it is easier to patch the header.

Symbol names in gkmedias symbols.def are updated now that RANDOM_PREFIX is
taking effect, and unused symbols are no longer exported.

--HG--
extra : transplant_source : sx%C9%ED%EB%E7%D8P%09%18%87%D4Oj%85%D5%25%C8%A5%01
2014-07-02 20:22:45 +12:00
Vladimir Vukicevic
b5ea80af03 b=1010371, code fixes for new ANGLE version; r=jrmuizel 2014-05-13 17:15:19 -07:00
Kartikaya Gupta
6350cec6be Bug 1034258 - Change mCompositionBounds to be a ParentLayerRect instead of a ParentLayerIntRect. r=Cwiiis 2014-07-04 08:12:41 -04:00
Jesse Ruderman
a08da1ce93 Bug 723669 - Add reftest. r=mats 2014-07-04 11:48:15 +00:00
Mats Palmgren
a0fc4f03ca Bug 1032450 - Flag the reflow state for a table frame as a "dummy" state if its parent state is. r=roc
InitCBReflowState() copies the mCBReflowState from the parent
reflow state for table frames, which is null for "dummy" states,
so it would lead to a crash in InitConstraints() which assumes
non-dummy states has a non-null mCBReflowState.
2014-07-04 11:48:15 +00:00
Mats Palmgren
c80262ec64 Bug 1031726 - Implement clip:rect() correctly when fragments are involved, for both box-decoration-break:slice/clone. r=roc 2014-07-04 11:48:15 +00:00
Boris Zbarsky
c5a64e9225 Bug 1018583 part 1. Remove the execute-in-sandbox mode for javascript: URIs, and use the don't-execute mode wherever we used the sandbox one. r=bholley,dao 2014-07-04 01:21:57 -04:00
Carsten "Tomcat" Book
7ba02d13fb Backed out changeset d9f9398b90dc (bug 1018583) for bustage on a CLOSED TREE 2014-07-04 08:24:09 +02:00
Boris Zbarsky
e8df1c7976 Bug 1018583 part 1. Remove the execute-in-sandbox mode for javascript: URIs, and use the don't-execute mode wherever we used the sandbox one. r=bholley,dao 2014-07-04 01:21:57 -04:00
Cameron McCormack
c5b5f9ebf6 Bug 1031153 - Move unicode-range descriptor serialization to nsStyleUtil. r=dbaron 2014-07-04 11:19:33 +10:00
Kartikaya Gupta
c416a08fb4 Bug 1034179 - Use the right resolution when generating a FrameMetrics object for GetOrMaybeCreateDisplayport. r=tn 2014-07-03 15:22:22 -04:00
Robert Longson
f11fe57907 Bug 556441 - Interpolation fails for stroke-width and stroke-dashoffset when animating between unitless values & values with units. r=dbaron 2014-07-03 20:05:43 +01:00
Timothy Nikkel
6dd3b29c71 Bug 1029718. Skip transform calculation if region to transform is empty for layer event regions. r=mstange
This means that we keep empty regions empty instead of rounding out causing empty regions to become non-empty. It can be significant for perf. Bug 1016525 fixed this. Bug 977831 regressed this.
2014-07-03 13:40:13 -05:00
Seth Fowler
681ce724e2 Bug 1027611 (Part 2) - Crashtest. r=bz
--HG--
extra : rebase_source : e1ce347dd019cf4e7a538a3f7a42a8409f7d644a
2014-07-03 10:55:37 -07:00
Ryan VanderMeulen
57cb9b84b7 Backed out changesets 4cd69faa8bc0 and 54252e150439 (bug 976963) for B2G mochitest failures. 2014-07-03 13:31:31 -04:00
Maksim Lebedev
1f9cb61b11 Bug 976963 - Add test. r=smaug 2014-07-02 04:23:00 -04:00
Maksim Lebedev
6147a5db17 Bug 976963 - After invoking the releasePointerCapture method on an element, subsequent events for the specified pointer must follow normal hit testing mechanisms for determining the event target. r=smaug 2014-06-20 09:20:00 -04:00
Frédéric Wang
240cf6e46a Bug 961365 - Part 6: Add tests for OpenType MATH constants. r=jfkthame 2014-07-03 07:56:00 -04:00
Frédéric Wang
402e8c738f Bug 961365 - Part 5: Use MATH constants for limits. r=jfkthame 2014-06-17 04:42:00 -04:00
Frédéric Wang
d5bd92b050 Bug 961365 - Part 4: Use MATH constants for scripts. r=jfkthame 2014-06-17 04:09:00 -04:00
Frédéric Wang
c69f096e01 Bug 961365 - Part 3: Use MATH constants for fractions and stacks. r=jfkthame 2014-06-17 02:41:00 -04:00
Frédéric Wang
0b416a9372 Bug 961365 - Part 2: Use MATH constants for radicals. r=jfkthame 2014-06-17 02:40:00 -04:00
Frédéric Wang
76e083af64 Bug 961365 - Part 1: Add helper functions to access MATH constants and use them to get the AxisHeight. r=jfkthame 2014-07-01 23:29:00 -04:00
Kestrel
82e157e326 Bug 378775 - Implement Opera's behavior for selecting text inside of a link and link drag and drop. r=Enn 2014-07-03 04:26:00 -04:00
Benoit Girard
a47d9fc5c0 Bug 1030245 - When dumping the display list dump, ensure up to 1024 characters of each line in the dump is output. r=kats 2014-07-03 09:12:09 -04:00
Ed Morley
6367412b72 Bug 1019131 - Disable 664127-1.xul on Android for intermittent failures 2014-07-03 13:51:18 +01:00
John Daggett
6f5d7a0937 no bug - add subscript/superscript test fonts. r=me 2014-07-03 17:34:02 +09:00
Seth Fowler
5171d2c6ee Bug 1027611 (Part 1) - Don't use a frame before initializing it in CreateContinuingTableFrame. r=bz 2014-07-02 17:58:53 -07:00
Brian Birtles
aa6189d49d Bug 1010067 - Whitespace fix to nsTransitionManager::FlushTransitions. No review.
This change was suggested in bug 1010067 comment 22 but somehow ended up in the
wrong patch when pushing.
2014-07-03 09:04:35 +09:00
Brian Birtles
8868ecbadf Bug 1031319 part 2 - Add tests for animation-name:none handling; r=dbaron 2014-07-03 09:04:31 +09:00
Brian Birtles
c4e1059108 Bug 1031319 part 1 - Don't generate element animations when animation-name is "none"; r=dbaron
This patch causes animations whose corresponding animation-name is "none" to be
dropped from the list of generated ElementAnimation objects. This means we avoid
generating events for these animations.
2014-07-03 09:04:16 +09:00
Brian Birtles
b30a7db03a Bug 1032014 - Remove extra call to AppendElement when generating animations; r=dbaron 2014-07-03 09:02:48 +09:00
Susanna Bowen
6dd29185f6 Bug 1033052 - Call SetRect in ReflowFrame since the old rect does not need to be preserved. r=dbaron 2014-07-02 13:54:49 -07:00
Ms2ger
729369462c Bug 1032118 - Remove the nsresult return value from nsMediaList::SetStyleSheet; r=dbaron
It is never checked, and only ever returns NS_OK.
2014-07-02 12:53:41 +02:00
Ms2ger
9c8b671bd5 Bug 1032116 - Outparamdel nsIStyleSheetLinkingElement::GetStyleSheet; r=dbaron 2014-07-02 12:53:40 +02:00
Martijn Wargers
d8f5f4bdb8 Bug 1027268 - Fix for Bug 1027268 - Intermittent test_bug391747.html | uncaught exception. r=mats 2014-07-01 16:26:36 +02:00
Cameron McCormack
d97a226a4d Bug 1031967 - Make mozilla::css::Loader cycle collected and traverse its observer array. r=bzbarsky 2014-07-02 08:37:09 +10:00
Wes Kocher
5946b02728 Backed out changeset bcab7bc926c5 (bug 1031726) for b2g emulator reftest-6 bustage on a CLOSED TREE 2014-07-01 14:19:57 -07:00
Mats Palmgren
950248eff1 Bug 1031701 - Remove FlexContainerFrame::MarginComponentForSide(), use nsMargin::Side() instead. r=dholbert 2014-07-01 17:58:14 +00:00
Mats Palmgren
c6bcdff951 Bug 1031726 - Implement clip:rect() correctly when fragments are involved, for both box-decoration-break:slice/clone. r=roc 2014-07-01 17:58:14 +00:00
Mats Palmgren
c28f9e7e6f Bug 1031934 - Handle collapsing a row / row-group with no cell frames inside it. r=roc 2014-07-01 17:58:13 +00:00
Carsten "Tomcat" Book
80e160fdca merge mozilla-inbound to mozilla-central a=merge 2014-07-01 14:01:21 +02:00
John Daggett
93276ef322 Bug 384682 - add reftest for escaped font family names. r=simonsapin 2014-07-01 11:24:37 +09:00
Jonathan Kew
1260837fc4 bug 789096 patch 8 followup - constify new accessors in nsBlockReflowState. r=smontagu 2014-06-30 19:05:28 +01:00
Birunthan Mohanathas
0f9f8f369b Bug 1028557 - Part 2: Flatten xpcom/reflect/xptcall/{public,src}/ directories. r=bsmedberg
--HG--
rename : xpcom/reflect/xptcall/public/genstubs.pl => xpcom/reflect/xptcall/genstubs.pl
rename : xpcom/reflect/xptcall/src/md/moz.build => xpcom/reflect/xptcall/md/moz.build
rename : xpcom/reflect/xptcall/src/md/test/README => xpcom/reflect/xptcall/md/test/README
rename : xpcom/reflect/xptcall/src/md/test/clean.bat => xpcom/reflect/xptcall/md/test/clean.bat
rename : xpcom/reflect/xptcall/src/md/test/invoke_test.cpp => xpcom/reflect/xptcall/md/test/invoke_test.cpp
rename : xpcom/reflect/xptcall/src/md/test/mk_invoke.bat => xpcom/reflect/xptcall/md/test/mk_invoke.bat
rename : xpcom/reflect/xptcall/src/md/test/mk_stub.bat => xpcom/reflect/xptcall/md/test/mk_stub.bat
rename : xpcom/reflect/xptcall/src/md/test/moz.build => xpcom/reflect/xptcall/md/test/moz.build
rename : xpcom/reflect/xptcall/src/md/test/stub_test.cpp => xpcom/reflect/xptcall/md/test/stub_test.cpp
rename : xpcom/reflect/xptcall/src/md/unix/Makefile.in => xpcom/reflect/xptcall/md/unix/Makefile.in
rename : xpcom/reflect/xptcall/src/md/unix/moz.build => xpcom/reflect/xptcall/md/unix/moz.build
rename : xpcom/reflect/xptcall/src/md/unix/vtable_layout_x86.cpp => xpcom/reflect/xptcall/md/unix/vtable_layout_x86.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptc_gcc_x86_unix.h => xpcom/reflect/xptcall/md/unix/xptc_gcc_x86_unix.h
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_aarch64.cpp => xpcom/reflect/xptcall/md/unix/xptcinvoke_aarch64.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_alpha_openbsd.cpp => xpcom/reflect/xptcall/md/unix/xptcinvoke_alpha_openbsd.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_amd64_openbsd.cpp => xpcom/reflect/xptcall/md/unix/xptcinvoke_amd64_openbsd.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_arm.cpp => xpcom/reflect/xptcall/md/unix/xptcinvoke_arm.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_arm_netbsd.cpp => xpcom/reflect/xptcall/md/unix/xptcinvoke_arm_netbsd.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_arm_openbsd.cpp => xpcom/reflect/xptcall/md/unix/xptcinvoke_arm_openbsd.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_aarch64.s => xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_aarch64.s
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ipf32.s => xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_ipf32.s
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ipf64.s => xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_ipf64.s
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_mips.S => xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_mips.S
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_mips64.S => xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_mips64.S
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_pa32.s => xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_pa32.s
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_parisc_linux.s => xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_parisc_linux.s
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc64_linux.S => xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_ppc64_linux.S
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc_aix.s => xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_ppc_aix.s
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc_aix64.s => xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_ppc_aix64.s
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc_ibmobj_aix.s => xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_ppc_ibmobj_aix.s
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc_linux.S => xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_ppc_linux.S
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc_netbsd.s => xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_ppc_netbsd.s
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc_openbsd.S => xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_ppc_openbsd.S
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc_rhapsody.s => xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_ppc_rhapsody.s
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_sparc64_openbsd.s => xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_sparc64_openbsd.s
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_sparc_linux_GCC3.s => xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_sparc_linux_GCC3.s
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_sparc_netbsd.s => xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_sparc_netbsd.s
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_sparc_openbsd.s => xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_sparc_openbsd.s
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_sparc_solaris_GCC3.s => xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_sparc_solaris_GCC3.s
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_sparc_solaris_SUNW.s => xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_sparc_solaris_SUNW.s
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_sparcv9_solaris_SUNW.s => xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_sparcv9_solaris_SUNW.s
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_x86_solaris_SUNW.s => xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_x86_solaris_SUNW.s
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_darwin.cpp => xpcom/reflect/xptcall/md/unix/xptcinvoke_darwin.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_gcc_x86_unix.cpp => xpcom/reflect/xptcall/md/unix/xptcinvoke_gcc_x86_unix.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_ipf32.cpp => xpcom/reflect/xptcall/md/unix/xptcinvoke_ipf32.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_ipf64.cpp => xpcom/reflect/xptcall/md/unix/xptcinvoke_ipf64.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_linux_alpha.cpp => xpcom/reflect/xptcall/md/unix/xptcinvoke_linux_alpha.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_linux_m68k.cpp => xpcom/reflect/xptcall/md/unix/xptcinvoke_linux_m68k.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_linux_s390.cpp => xpcom/reflect/xptcall/md/unix/xptcinvoke_linux_s390.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_linux_s390x.cpp => xpcom/reflect/xptcall/md/unix/xptcinvoke_linux_s390x.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_mips.cpp => xpcom/reflect/xptcall/md/unix/xptcinvoke_mips.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_mips64.cpp => xpcom/reflect/xptcall/md/unix/xptcinvoke_mips64.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_netbsd_m68k.cpp => xpcom/reflect/xptcall/md/unix/xptcinvoke_netbsd_m68k.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_pa32.cpp => xpcom/reflect/xptcall/md/unix/xptcinvoke_pa32.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_ppc64_linux.cpp => xpcom/reflect/xptcall/md/unix/xptcinvoke_ppc64_linux.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_ppc_aix.cpp => xpcom/reflect/xptcall/md/unix/xptcinvoke_ppc_aix.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_ppc_aix64.cpp => xpcom/reflect/xptcall/md/unix/xptcinvoke_ppc_aix64.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_ppc_linux.cpp => xpcom/reflect/xptcall/md/unix/xptcinvoke_ppc_linux.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_ppc_netbsd.cpp => xpcom/reflect/xptcall/md/unix/xptcinvoke_ppc_netbsd.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_ppc_openbsd.cpp => xpcom/reflect/xptcall/md/unix/xptcinvoke_ppc_openbsd.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_ppc_rhapsody.cpp => xpcom/reflect/xptcall/md/unix/xptcinvoke_ppc_rhapsody.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_sparc64_openbsd.cpp => xpcom/reflect/xptcall/md/unix/xptcinvoke_sparc64_openbsd.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_sparc_netbsd.cpp => xpcom/reflect/xptcall/md/unix/xptcinvoke_sparc_netbsd.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_sparc_openbsd.cpp => xpcom/reflect/xptcall/md/unix/xptcinvoke_sparc_openbsd.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_sparc_solaris.cpp => xpcom/reflect/xptcall/md/unix/xptcinvoke_sparc_solaris.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_sparcv9_solaris.cpp => xpcom/reflect/xptcall/md/unix/xptcinvoke_sparcv9_solaris.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_x86_64_solaris.cpp => xpcom/reflect/xptcall/md/unix/xptcinvoke_x86_64_solaris.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_x86_64_unix.cpp => xpcom/reflect/xptcall/md/unix/xptcinvoke_x86_64_unix.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_x86_solaris.cpp => xpcom/reflect/xptcall/md/unix/xptcinvoke_x86_solaris.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_aarch64.cpp => xpcom/reflect/xptcall/md/unix/xptcstubs_aarch64.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_alpha_openbsd.cpp => xpcom/reflect/xptcall/md/unix/xptcstubs_alpha_openbsd.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_amd64_openbsd.cpp => xpcom/reflect/xptcall/md/unix/xptcstubs_amd64_openbsd.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_arm.cpp => xpcom/reflect/xptcall/md/unix/xptcstubs_arm.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_arm_netbsd.cpp => xpcom/reflect/xptcall/md/unix/xptcstubs_arm_netbsd.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_arm_openbsd.cpp => xpcom/reflect/xptcall/md/unix/xptcstubs_arm_openbsd.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_aarch64.s => xpcom/reflect/xptcall/md/unix/xptcstubs_asm_aarch64.s
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ipf32.s => xpcom/reflect/xptcall/md/unix/xptcstubs_asm_ipf32.s
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ipf64.s => xpcom/reflect/xptcall/md/unix/xptcstubs_asm_ipf64.s
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_mips.S => xpcom/reflect/xptcall/md/unix/xptcstubs_asm_mips.S
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_mips.s.m4 => xpcom/reflect/xptcall/md/unix/xptcstubs_asm_mips.s.m4
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_mips64.S => xpcom/reflect/xptcall/md/unix/xptcstubs_asm_mips64.S
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_pa32.s => xpcom/reflect/xptcall/md/unix/xptcstubs_asm_pa32.s
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_parisc_linux.s => xpcom/reflect/xptcall/md/unix/xptcstubs_asm_parisc_linux.s
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc64_linux.S => xpcom/reflect/xptcall/md/unix/xptcstubs_asm_ppc64_linux.S
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc_aix.s.m4 => xpcom/reflect/xptcall/md/unix/xptcstubs_asm_ppc_aix.s.m4
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc_aix64.s.m4 => xpcom/reflect/xptcall/md/unix/xptcstubs_asm_ppc_aix64.s.m4
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc_darwin.s.m4 => xpcom/reflect/xptcall/md/unix/xptcstubs_asm_ppc_darwin.s.m4
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc_linux.S => xpcom/reflect/xptcall/md/unix/xptcstubs_asm_ppc_linux.S
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc_netbsd.s => xpcom/reflect/xptcall/md/unix/xptcstubs_asm_ppc_netbsd.s
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc_openbsd.S => xpcom/reflect/xptcall/md/unix/xptcstubs_asm_ppc_openbsd.S
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_sparc64_openbsd.s => xpcom/reflect/xptcall/md/unix/xptcstubs_asm_sparc64_openbsd.s
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_sparc_netbsd.s => xpcom/reflect/xptcall/md/unix/xptcstubs_asm_sparc_netbsd.s
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_sparc_openbsd.s => xpcom/reflect/xptcall/md/unix/xptcstubs_asm_sparc_openbsd.s
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_sparc_solaris.s => xpcom/reflect/xptcall/md/unix/xptcstubs_asm_sparc_solaris.s
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_sparcv9_solaris.s => xpcom/reflect/xptcall/md/unix/xptcstubs_asm_sparcv9_solaris.s
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_x86_64_solaris_SUNW.s => xpcom/reflect/xptcall/md/unix/xptcstubs_asm_x86_64_solaris_SUNW.s
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_x86_solaris_SUNW.s => xpcom/reflect/xptcall/md/unix/xptcstubs_asm_x86_solaris_SUNW.s
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_darwin.cpp => xpcom/reflect/xptcall/md/unix/xptcstubs_darwin.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_gcc_x86_unix.cpp => xpcom/reflect/xptcall/md/unix/xptcstubs_gcc_x86_unix.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_ipf32.cpp => xpcom/reflect/xptcall/md/unix/xptcstubs_ipf32.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_ipf64.cpp => xpcom/reflect/xptcall/md/unix/xptcstubs_ipf64.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_linux_alpha.cpp => xpcom/reflect/xptcall/md/unix/xptcstubs_linux_alpha.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_linux_m68k.cpp => xpcom/reflect/xptcall/md/unix/xptcstubs_linux_m68k.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_linux_s390.cpp => xpcom/reflect/xptcall/md/unix/xptcstubs_linux_s390.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_linux_s390x.cpp => xpcom/reflect/xptcall/md/unix/xptcstubs_linux_s390x.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_mips.cpp => xpcom/reflect/xptcall/md/unix/xptcstubs_mips.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_mips64.cpp => xpcom/reflect/xptcall/md/unix/xptcstubs_mips64.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_netbsd_m68k.cpp => xpcom/reflect/xptcall/md/unix/xptcstubs_netbsd_m68k.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_pa32.cpp => xpcom/reflect/xptcall/md/unix/xptcstubs_pa32.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_ppc64_linux.cpp => xpcom/reflect/xptcall/md/unix/xptcstubs_ppc64_linux.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_ppc_aix.cpp => xpcom/reflect/xptcall/md/unix/xptcstubs_ppc_aix.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_ppc_aix64.cpp => xpcom/reflect/xptcall/md/unix/xptcstubs_ppc_aix64.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_ppc_linux.cpp => xpcom/reflect/xptcall/md/unix/xptcstubs_ppc_linux.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_ppc_netbsd.cpp => xpcom/reflect/xptcall/md/unix/xptcstubs_ppc_netbsd.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_ppc_openbsd.cpp => xpcom/reflect/xptcall/md/unix/xptcstubs_ppc_openbsd.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_ppc_rhapsody.cpp => xpcom/reflect/xptcall/md/unix/xptcstubs_ppc_rhapsody.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_sparc64_openbsd.cpp => xpcom/reflect/xptcall/md/unix/xptcstubs_sparc64_openbsd.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_sparc_netbsd.cpp => xpcom/reflect/xptcall/md/unix/xptcstubs_sparc_netbsd.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_sparc_openbsd.cpp => xpcom/reflect/xptcall/md/unix/xptcstubs_sparc_openbsd.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_sparc_solaris.cpp => xpcom/reflect/xptcall/md/unix/xptcstubs_sparc_solaris.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_sparcv9_solaris.cpp => xpcom/reflect/xptcall/md/unix/xptcstubs_sparcv9_solaris.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_x86_64_darwin.cpp => xpcom/reflect/xptcall/md/unix/xptcstubs_x86_64_darwin.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_x86_64_linux.cpp => xpcom/reflect/xptcall/md/unix/xptcstubs_x86_64_linux.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_x86_64_solaris.cpp => xpcom/reflect/xptcall/md/unix/xptcstubs_x86_64_solaris.cpp
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_x86_solaris.cpp => xpcom/reflect/xptcall/md/unix/xptcstubs_x86_solaris.cpp
rename : xpcom/reflect/xptcall/src/md/win32/moz.build => xpcom/reflect/xptcall/md/win32/moz.build
rename : xpcom/reflect/xptcall/src/md/win32/xptcinvoke.cpp => xpcom/reflect/xptcall/md/win32/xptcinvoke.cpp
rename : xpcom/reflect/xptcall/src/md/win32/xptcinvoke_asm_x86_64.asm => xpcom/reflect/xptcall/md/win32/xptcinvoke_asm_x86_64.asm
rename : xpcom/reflect/xptcall/src/md/win32/xptcinvoke_asm_x86_64_gnu.s => xpcom/reflect/xptcall/md/win32/xptcinvoke_asm_x86_64_gnu.s
rename : xpcom/reflect/xptcall/src/md/win32/xptcinvoke_x86_64.cpp => xpcom/reflect/xptcall/md/win32/xptcinvoke_x86_64.cpp
rename : xpcom/reflect/xptcall/src/md/win32/xptcinvoke_x86_gnu.cpp => xpcom/reflect/xptcall/md/win32/xptcinvoke_x86_gnu.cpp
rename : xpcom/reflect/xptcall/src/md/win32/xptcstubs.cpp => xpcom/reflect/xptcall/md/win32/xptcstubs.cpp
rename : xpcom/reflect/xptcall/src/md/win32/xptcstubs_asm_x86_64.asm => xpcom/reflect/xptcall/md/win32/xptcstubs_asm_x86_64.asm
rename : xpcom/reflect/xptcall/src/md/win32/xptcstubs_x86_64.cpp => xpcom/reflect/xptcall/md/win32/xptcstubs_x86_64.cpp
rename : xpcom/reflect/xptcall/src/md/win32/xptcstubs_x86_64_gnu.cpp => xpcom/reflect/xptcall/md/win32/xptcstubs_x86_64_gnu.cpp
rename : xpcom/reflect/xptcall/src/xptcall.cpp => xpcom/reflect/xptcall/xptcall.cpp
rename : xpcom/reflect/xptcall/public/xptcall.h => xpcom/reflect/xptcall/xptcall.h
rename : xpcom/reflect/xptcall/src/xptcprivate.h => xpcom/reflect/xptcall/xptcprivate.h
rename : xpcom/reflect/xptcall/public/xptcstubsdecl.inc => xpcom/reflect/xptcall/xptcstubsdecl.inc
rename : xpcom/reflect/xptcall/public/xptcstubsdef.inc => xpcom/reflect/xptcall/xptcstubsdef.inc
2014-06-30 08:39:46 -07:00
Morris Tseng
a70be663ed Bug 1029982 - Set mNeedLayoutFlush and mNeedStyleFlush back to true when flush failed. r=dbaron,roc 2014-06-26 20:16:00 +02:00
Carsten "Tomcat" Book
4731eadb9c Backed out changeset 8179a07a4181 (bug 1009306) for m6 and m7 android test failures on a CLOSED TREE 2014-06-30 12:31:07 +02:00
Carsten "Tomcat" Book
95c5ed5683 Backed out changeset 6bf1863c97a5 (bug 1009306) for m6 and m7 android test failures on a CLOSED TREE 2014-06-30 12:30:57 +02:00
Chris Lord
4283e5b09c Bug 1009306 - Always align scrolling to pixels on mobile. r=roc
Whole-layer invalidations are always expensive, but they're especially
expensive on mobile. Avoid them on mobile by always aligning to pixel
values, even if it means the scroll position will fall out of bounds.
2014-06-25 19:28:33 +01:00
Chris Lord
f589756c0f Bug 1009306 - Allow invalidation when a layer's sub-pixel scroll changes. r=roc
We #ifdef'd this out before the implementation of flexible scroll ranges,
but now there's no need for this and it ends up causing visible rendering
glitches.
2014-06-25 17:48:53 +01:00
CJKu
da0cbf1d8f Bug 976923 - reftest fails - font-inflation disable-fontinfl-on-mobile-4.html. r=mbrubeck 2014-06-27 11:12:00 +02:00
Pranav Maddi
d6b98c040d Bug 1031395 - Remove a double assignment to "limit" to fix a minor warning found by scan-build, the LLVM/Clang static analyzer. r=ehsan 2014-06-27 10:02:00 +02:00
Cameron McCormack
43d964ec18 Bug 1031205 - Make gfxUserFontSet methods take already-parsed language override values. r=jdaggett 2014-06-30 14:25:21 +10:00
Cameron McCormack
00c23c9ad6 Bug 1031199 - Disallow aWeight = 0 when calling gfxUserFontSet::AddFontFace. r=jdaggett 2014-06-30 14:25:11 +10:00
Mats Palmgren
456573f73b Bug 1028460 - part 4, Remove LOGICAL_SIDE* and use the LogicalSideBits enum values instead. r=roc
CLOSED TREE
2014-06-28 10:13:14 +00:00
Mats Palmgren
b5c267b13f Bug 1028460 - part 3, Change the return type for Get*SkipSides(). r=roc 2014-06-28 10:13:13 +00:00
Mats Palmgren
927bd106f7 Bug 1028460 - part 2, Implement a mozilla::LogicalSides type that represents a set of logical sides that can be used for the GetLogicalSkipSides() result among other things. r=roc 2014-06-28 10:13:13 +00:00
Mats Palmgren
f2e692b0fe Bug 1031444 - Add missing COMPUTED_STYLE_PROP declaration for 'box-decoration-break'. r=roc 2014-06-29 13:13:29 +00:00
Phil Ringnalda
92fe6a5293 Back out 5 changesets (bug 1028460, bug 1031444) for somehow breaking asmjscache/test/test_cachingBasic.html on Android 2.2
Backed out changeset 0b5918ec6521 (bug 1031444)
Backed out changeset 663ff18cd4a1 (bug 1028460)
Backed out changeset ae01b3919c8c (bug 1028460)
Backed out changeset 316c8dfeca9b (bug 1028460)
Backed out changeset e237b2c61ea2 (bug 1028460)
2014-06-28 22:01:28 -07:00
Mats Palmgren
e1212cf3e0 Bug 1031444 - Add missing COMPUTED_STYLE_PROP declaration for 'box-decoration-break'. r=roc 2014-06-28 10:13:14 +00:00
Mats Palmgren
1829b003f4 Bug 1028460 - part 4, Remove LOGICAL_SIDE* and use the LogicalSideBits enum values instead. r=roc 2014-06-28 10:13:14 +00:00
Mats Palmgren
d11737c8ef Bug 1028460 - part 3, Change the return type for Get*SkipSides(). r=roc 2014-06-28 10:13:13 +00:00
Mats Palmgren
6366f43016 Bug 1028460 - part 2, Implement a mozilla::LogicalSides type that represents a set of logical sides that can be used for the GetLogicalSkipSides() result among other things. r=roc 2014-06-28 10:13:13 +00:00
Masatoshi Kimura
86e94e8d3e Bug 1018034 - Remove the "gfx.font_rendering.harfbuzz.scripts" pref. r=jfkthame 2014-05-31 15:11:29 +09:00
Michael Wu
488539893f Bug 987872 - Update Fira font name for Fira font update, r=jfkthame 2014-05-21 13:16:43 -04:00
Masatoshi Kimura
fdf20b7313 Bug 1028438 - Remove dummy --enable-privilege option from remotereftest.py. r=ted 2014-06-28 15:01:23 +09:00
Boris Zbarsky
107a44a7d0 Bug 997010 (Part 2) - Reftest for dynamic changes to the image-orientation property. r=dbaron 2014-04-16 01:14:27 -04:00
Seth Fowler
a9aee866f3 Bug 997010 (Part 1) - Support dynamic changes to the image-orientation property. r=dbaron 2014-06-27 20:50:26 -07:00
Seth Fowler
4cc0ce1c76 Bug 997604 - Add invalidation rect support to ImageWrappers, and use it in nsImageFrame. r=tn,sr=bz
--HG--
extra : rebase_source : a0b0f79c2bfab604f13e1098d09b2ec61e578a37
2014-06-26 16:02:04 -07:00
Morris Tseng
c7a843c3cd Bug 864595 - Provide a option which indicate to that offsets outside the frame box are allowed. [r=roc] 2014-06-27 13:58:57 -07:00
Andrew McCreight
af80fe417c Backout the temp patch in bug 1011391 for not helping. r=bz
This may have also caused a spike in CC time.
2014-06-27 10:09:10 -07:00
Max Vujovic
a7cc563aca Bug 948265 - Clip filter primitives to their filter's filter region. r=mstange 2014-06-25 14:14:00 -04:00
Jonathan Watt
488b914f94 Bug 1031055 - Get rid of the Thebes backed gfxContexts in FrameLayerBuilder.cpp, and get rid of gfxASurface::DumpAsDataURL. r=mattwoodrow 2014-06-27 12:19:40 +01:00
Jonathan Watt
fa20dc97b8 Bug 986526 - Create helper functions to encode DrawTargets/SourceSurfaces to PNG/JPEG/BMP/ICO/etc. and save them, dump them, or copy them to the clipboard, either as binary or as data: URIs. r=mattwoodrow 2014-06-27 12:19:40 +01:00
Jonathan Watt
fad16fd3b4 Bug 1030843 - Fix crash in nsNativeThemeCocoa::GetMinimumWidgetSize. r=roc 2014-06-27 10:19:00 +01:00
L. David Baron
c6d8a59ab8 Followup to Bug 789096 patch 8: fix indentation. No review.
The mis-indentation of the second argument to std::max predated this
patch (probably due to a substitution from something else to std::max),
and led to further misindentation in this patch.
2014-06-26 15:28:43 -07:00
Brian Birtles
82f5870f8c Bug 1029969 - Make compositor animation (OMTA) tests ignore floating-point differences; r=dzbarsky 2014-06-27 11:28:51 +09:00
Michael Ratcliffe
33bc59c54c Bug 1006595 - Add some APIs on inIDOMUtils to allow determining the subproperties of a CSS shorthand, whether a property is a shorthand, and whether a given property supports a given type of value. r=dbaron 2014-05-06 16:46:34 +01:00
Brian Birtles
5b2fa4efcf Bug 1010067 part 8 - Rename ElementData methods and members in CommonAnimationManager to ElementCollection; r=dbaron 2014-06-27 08:57:13 +09:00
Brian Birtles
eaac41e0ed Bug 1010067 part 7 - Rename instances of ElementAnimationCollection; r=dbaron 2014-06-27 08:57:13 +09:00
Brian Birtles
9e4d81e4f0 Bug 1010067 part 6 - Rename mozilla::css::CommonElementAnimationData to mozilla::ElementAnimationCollection; r=dbaron 2014-06-27 08:57:12 +09:00
Brian Birtles
d9bf2681fb Bug 1010067 part 5 - Move ElementPropertyTransition to mozilla namespace; r=dbaron 2014-06-27 08:57:12 +09:00
Brian Birtles
0771a7d9a4 Bug 1010067 part 4 - Rename nsTransition to mozilla::StyleTransition; r=dbaron 2014-06-27 08:57:12 +09:00
Brian Birtles
75ca3d0b5d Bug 1010067 part 3 - Rename nsAnimation to mozilla::StyleAnimation; r=dbaron 2014-06-27 08:57:11 +09:00
Andrea Marchesini
e25e980526 Bug 876683 - DOMFile/DOMBlob refactoring, r=ehsan, r=bent 2014-06-26 09:47:44 -07:00
Andrew McCreight
6b1f670937 Bug 1029139 - Make the destructor of nsDOMCSSValueList private. r=bz 2014-06-26 09:29:06 -07:00
Andrew McCreight
f1d8972aa9 Bug 1029137 - Make the destructor of nsComputedDOMStyle private. r=bz 2014-06-26 09:29:06 -07:00
Andrew McCreight
78f144a4d1 Bug 1029140 - Make the destructor of nsROCSSPrimitiveValue private. r=bz 2014-06-26 09:29:05 -07:00
Andrew McCreight
c4c724ffd1 Bug 1029869, part 3 - Convert nsLayoutStylesheetCache::gStyleCache to a StaticRefPtr. r=bz 2014-06-26 09:29:05 -07:00
Andrew McCreight
d9e290be75 Bug 1029869, part 2 - Make SheetLoadData::mParentData into an nsRefPtr. r=bz 2014-06-26 09:29:05 -07:00
Andrew McCreight
4a5d8b2f09 Bug 1029869, part 1 - Make SheetLoadData::mLoader into an nsRefPtr. r=bz 2014-06-26 09:29:05 -07:00
Andrew McCreight
216804a0b7 Bug 1026033, part 2 - Make StyleRule::mImportantRule into an nsRefPtr. r=bz 2014-06-26 09:29:04 -07:00
Andrew McCreight
f66d4c5517 Bug 1026033, part 1 - Make StyleRule::mDOMRule into an nsRefPtr. r=bz 2014-06-26 09:29:04 -07:00
Andrew McCreight
0c71bb5ea1 Bug 1029157 - Eliminate sCachedComputedDOMStyle. r=bz 2014-06-26 09:29:04 -07:00
Birunthan Mohanathas
949a3c3ba8 Bug 1028565 - Part 3: Flatten editor/txtsvc/{public,src}/ directories. r=ehsan
--HG--
rename : editor/txtsvc/src/nsFilteredContentIterator.cpp => editor/txtsvc/nsFilteredContentIterator.cpp
rename : editor/txtsvc/src/nsFilteredContentIterator.h => editor/txtsvc/nsFilteredContentIterator.h
rename : editor/txtsvc/public/nsIInlineSpellChecker.idl => editor/txtsvc/nsIInlineSpellChecker.idl
rename : editor/txtsvc/public/nsISpellChecker.h => editor/txtsvc/nsISpellChecker.h
rename : editor/txtsvc/public/nsITextService.h => editor/txtsvc/nsITextService.h
rename : editor/txtsvc/public/nsITextServicesDocument.h => editor/txtsvc/nsITextServicesDocument.h
rename : editor/txtsvc/public/nsITextServicesFilter.idl => editor/txtsvc/nsITextServicesFilter.idl
rename : editor/txtsvc/src/nsTSAtomList.h => editor/txtsvc/nsTSAtomList.h
rename : editor/txtsvc/public/nsTextServicesCID.h => editor/txtsvc/nsTextServicesCID.h
rename : editor/txtsvc/src/nsTextServicesDocument.cpp => editor/txtsvc/nsTextServicesDocument.cpp
rename : editor/txtsvc/src/nsTextServicesDocument.h => editor/txtsvc/nsTextServicesDocument.h
rename : editor/txtsvc/src/nsTextServicesFactory.cpp => editor/txtsvc/nsTextServicesFactory.cpp
2014-06-25 15:08:34 -07:00
Birunthan Mohanathas
2d6e65c588 Bug 1028565 - Part 2: Flatten editor/txmgr/{idl,public,src}/ directories. r=ehsan
--HG--
rename : editor/txmgr/idl/nsITransaction.idl => editor/txmgr/nsITransaction.idl
rename : editor/txmgr/idl/nsITransactionList.idl => editor/txmgr/nsITransactionList.idl
rename : editor/txmgr/idl/nsITransactionListener.idl => editor/txmgr/nsITransactionListener.idl
rename : editor/txmgr/idl/nsITransactionManager.idl => editor/txmgr/nsITransactionManager.idl
rename : editor/txmgr/src/nsTransactionItem.cpp => editor/txmgr/nsTransactionItem.cpp
rename : editor/txmgr/src/nsTransactionItem.h => editor/txmgr/nsTransactionItem.h
rename : editor/txmgr/src/nsTransactionList.cpp => editor/txmgr/nsTransactionList.cpp
rename : editor/txmgr/src/nsTransactionList.h => editor/txmgr/nsTransactionList.h
rename : editor/txmgr/src/nsTransactionManager.cpp => editor/txmgr/nsTransactionManager.cpp
rename : editor/txmgr/src/nsTransactionManager.h => editor/txmgr/nsTransactionManager.h
rename : editor/txmgr/public/nsTransactionManagerCID.h => editor/txmgr/nsTransactionManagerCID.h
rename : editor/txmgr/src/nsTransactionManagerFactory.cpp => editor/txmgr/nsTransactionManagerFactory.cpp
rename : editor/txmgr/src/nsTransactionStack.cpp => editor/txmgr/nsTransactionStack.cpp
rename : editor/txmgr/src/nsTransactionStack.h => editor/txmgr/nsTransactionStack.h
2014-06-25 15:08:29 -07:00
Birunthan Mohanathas
4ec7a5a23a Bug 1028565 - Part 1: Flatten editor/composer/{public,src}/ directories. r=ehsan
--HG--
rename : editor/composer/src/crashtests/351236-1.html => editor/composer/crashtests/351236-1.html
rename : editor/composer/src/crashtests/407062-1.html => editor/composer/crashtests/407062-1.html
rename : editor/composer/src/crashtests/419563-1.xhtml => editor/composer/crashtests/419563-1.xhtml
rename : editor/composer/src/crashtests/428844-1-inner.xhtml => editor/composer/crashtests/428844-1-inner.xhtml
rename : editor/composer/src/crashtests/428844-1.html => editor/composer/crashtests/428844-1.html
rename : editor/composer/src/crashtests/461049-1.html => editor/composer/crashtests/461049-1.html
rename : editor/composer/src/crashtests/crashtests.list => editor/composer/crashtests/crashtests.list
rename : editor/composer/src/crashtests/removing-editable-xslt-inner.xhtml => editor/composer/crashtests/removing-editable-xslt-inner.xhtml
rename : editor/composer/src/crashtests/removing-editable-xslt.html => editor/composer/crashtests/removing-editable-xslt.html
rename : editor/composer/src/nsComposeTxtSrvFilter.cpp => editor/composer/nsComposeTxtSrvFilter.cpp
rename : editor/composer/src/nsComposeTxtSrvFilter.h => editor/composer/nsComposeTxtSrvFilter.h
rename : editor/composer/src/nsComposerCommands.cpp => editor/composer/nsComposerCommands.cpp
rename : editor/composer/src/nsComposerCommands.h => editor/composer/nsComposerCommands.h
rename : editor/composer/src/nsComposerCommandsUpdater.cpp => editor/composer/nsComposerCommandsUpdater.cpp
rename : editor/composer/src/nsComposerCommandsUpdater.h => editor/composer/nsComposerCommandsUpdater.h
rename : editor/composer/src/nsComposerController.cpp => editor/composer/nsComposerController.cpp
rename : editor/composer/src/nsComposerController.h => editor/composer/nsComposerController.h
rename : editor/composer/src/nsComposerDocumentCommands.cpp => editor/composer/nsComposerDocumentCommands.cpp
rename : editor/composer/src/nsComposerRegistration.cpp => editor/composer/nsComposerRegistration.cpp
rename : editor/composer/src/nsEditingSession.cpp => editor/composer/nsEditingSession.cpp
rename : editor/composer/src/nsEditingSession.h => editor/composer/nsEditingSession.h
rename : editor/composer/src/nsEditorSpellCheck.cpp => editor/composer/nsEditorSpellCheck.cpp
rename : editor/composer/src/nsEditorSpellCheck.h => editor/composer/nsEditorSpellCheck.h
rename : editor/composer/public/nsIEditingSession.idl => editor/composer/nsIEditingSession.idl
rename : editor/composer/src/res/EditorOverride.css => editor/composer/res/EditorOverride.css
rename : editor/composer/src/res/grabber.gif => editor/composer/res/grabber.gif
rename : editor/composer/src/res/table-add-column-after-active.gif => editor/composer/res/table-add-column-after-active.gif
rename : editor/composer/src/res/table-add-column-after-hover.gif => editor/composer/res/table-add-column-after-hover.gif
rename : editor/composer/src/res/table-add-column-after.gif => editor/composer/res/table-add-column-after.gif
rename : editor/composer/src/res/table-add-column-before-active.gif => editor/composer/res/table-add-column-before-active.gif
rename : editor/composer/src/res/table-add-column-before-hover.gif => editor/composer/res/table-add-column-before-hover.gif
rename : editor/composer/src/res/table-add-column-before.gif => editor/composer/res/table-add-column-before.gif
rename : editor/composer/src/res/table-add-row-after-active.gif => editor/composer/res/table-add-row-after-active.gif
rename : editor/composer/src/res/table-add-row-after-hover.gif => editor/composer/res/table-add-row-after-hover.gif
rename : editor/composer/src/res/table-add-row-after.gif => editor/composer/res/table-add-row-after.gif
rename : editor/composer/src/res/table-add-row-before-active.gif => editor/composer/res/table-add-row-before-active.gif
rename : editor/composer/src/res/table-add-row-before-hover.gif => editor/composer/res/table-add-row-before-hover.gif
rename : editor/composer/src/res/table-add-row-before.gif => editor/composer/res/table-add-row-before.gif
rename : editor/composer/src/res/table-remove-column-active.gif => editor/composer/res/table-remove-column-active.gif
rename : editor/composer/src/res/table-remove-column-hover.gif => editor/composer/res/table-remove-column-hover.gif
rename : editor/composer/src/res/table-remove-column.gif => editor/composer/res/table-remove-column.gif
rename : editor/composer/src/res/table-remove-row-active.gif => editor/composer/res/table-remove-row-active.gif
rename : editor/composer/src/res/table-remove-row-hover.gif => editor/composer/res/table-remove-row-hover.gif
rename : editor/composer/src/res/table-remove-row.gif => editor/composer/res/table-remove-row.gif
rename : editor/composer/src/res/text_caret.png => editor/composer/res/text_caret.png
rename : editor/composer/src/res/text_caret@1.5x.png => editor/composer/res/text_caret@1.5x.png
rename : editor/composer/src/res/text_caret@2.25x.png => editor/composer/res/text_caret@2.25x.png
rename : editor/composer/src/res/text_caret@2x.png => editor/composer/res/text_caret@2x.png
rename : editor/composer/src/res/text_caret_tilt_left.png => editor/composer/res/text_caret_tilt_left.png
rename : editor/composer/src/res/text_caret_tilt_left@1.5x.png => editor/composer/res/text_caret_tilt_left@1.5x.png
rename : editor/composer/src/res/text_caret_tilt_left@2.25x.png => editor/composer/res/text_caret_tilt_left@2.25x.png
rename : editor/composer/src/res/text_caret_tilt_left@2x.png => editor/composer/res/text_caret_tilt_left@2x.png
rename : editor/composer/src/res/text_caret_tilt_right.png => editor/composer/res/text_caret_tilt_right.png
rename : editor/composer/src/res/text_caret_tilt_right@1.5x.png => editor/composer/res/text_caret_tilt_right@1.5x.png
rename : editor/composer/src/res/text_caret_tilt_right@2.25x.png => editor/composer/res/text_caret_tilt_right@2.25x.png
rename : editor/composer/src/res/text_caret_tilt_right@2x.png => editor/composer/res/text_caret_tilt_right@2x.png
rename : editor/composer/src/res/text_selection_handle.png => editor/composer/res/text_selection_handle.png
rename : editor/composer/src/res/text_selection_handle@1.5.png => editor/composer/res/text_selection_handle@1.5.png
rename : editor/composer/src/res/text_selection_handle@2.png => editor/composer/res/text_selection_handle@2.png
2014-06-25 15:08:20 -07:00
Carsten "Tomcat" Book
662392adb6 Merge mozilla-central to mozilla-inbound 2014-06-26 15:51:31 +02:00
Carsten "Tomcat" Book
f7be686002 merge mozilla-inbound to mozilla-central a=merge
--HG--
extra : amend_source : 8afac23e33906916e7e6297e2307417e09fa27ae
2014-06-26 14:11:00 +02:00
Wes Kocher
da0ec8e8aa Merge m-c to b2g-inbound a=merge 2014-06-25 18:41:59 -07:00
kylma
80b1c2d236 Bug 1001582 - HasScrollgrab transitioned from private to public member, getter/setter added. r=kats 2014-06-25 19:16:27 -04:00
John Schoenick
6b99891708 Bug 870022 - Part 2 - Add ParseSourceSizeList to CSS parser for <picture sizes> grammar. r=bz 2014-06-25 11:47:46 -07:00
Carsten "Tomcat" Book
a2cf6bb6f1 merge b2g-inbound to mozilla-central a=merge 2014-06-25 15:38:40 +02:00
James Kitchener
522cf7fbea Bug 1027354 - Fix fontweight and fontstyle on single char <mi>. r=roc 2014-06-25 05:20:00 -04:00
Wes Kocher
76050e4125 Merge m-c to b2g-inbound a=merge 2014-06-24 18:47:03 -07:00
CJKu
29759c0d55 Bug 1000722 - Rollback close reftest in bug 981477. r=ahal 2014-06-24 10:20:00 -04:00
Timothy Nikkel
695be79a62 Bug 1030370. We should be looking at the layer data for the frame we are looping over in the loop, not the starting frame each time in FrameLayerBuilder::GetThebesLayerScaleForFrame. r=mattwoodrow 2014-06-25 22:55:20 -05:00
Mats Palmgren
06408f4155 Bug 1026641 - Put outline-style:auto rendering behind a pref and disable it by default. r=roc 2014-06-26 12:48:05 +00:00
Markus Stange
19b1984d2c Bug 1026450 - Don't let clipped animated transforms trigger layerization of elements outside the clip. r=roc
--HG--
extra : rebase_source : 2e260272a4d6aa4271d4e3231d7da3dd224b838c
2014-06-25 10:36:13 +02:00
Markus Stange
843671a23a Bug 1024473 - Update canvas mask layer even when nothing in the canvas changed. r=mattwoodrow
* * *
Bug 1024473 - Fix the test. CLOSED TREE

--HG--
extra : rebase_source : ec81f6281d1651bbf1f2a1574bc6fd1a54dbdcf1
2014-06-25 10:37:58 +02:00
Markus Stange
44c6d1a259 Bug 1018522 - Move the call to ShadowLayersUpdated before EndTransaction so that EndTransaction can pick up layer tree changes caused by ShadowLayersUpdated. r=mattwoodrow
--HG--
extra : rebase_source : 640af9f3ef2488e8bf10315787a7ed389771568e
2014-06-26 14:40:10 +02:00
Jan Beich
b36a9fc625 Bug 1029927 - Unbreak non-SPS build after bug 1026302. r=birtles 2014-06-24 18:13:00 +02:00
Gijs Kruitbosch
63563f9b5d Bug 1030115 - fix apz.printtree caching to use gfxPrefs. r=kats, bas 2014-06-25 16:12:32 +01:00
Jason Orendorff
7a1f5ec15e Bug 889898 - Add mach jstestbrowser. r=gps.
Relanding without changes, as this couldn't possibly have caused the failures
that made us back it out.

--HG--
extra : rebase_source : 93c317dccb4c4311530a44efd0a941b81c953ac9
2014-06-20 12:01:03 -05:00
CJKu
071116cf65 Bug 1000722 - Many B2G reftests fail after enabling OOP, because partial drawWindow calls are drawing too small an area. r=dbaron 2014-06-18 21:39:00 -04:00
Ed Morley
f45acba61e Backed out changeset e56739ee253b (bug 1000722) for causing failures in outer-svg-border-and-padding-01.svg; CLOSED TREE 2014-06-24 15:38:23 +01:00
Ed Morley
b91811f205 Backed out changeset 5f0396c873f3 (bug 1000722) 2014-06-24 15:37:40 +01:00
Jonathan Kew
b0554eb41c bug 789096 patch 3a - followup to fix usage of LOGICAL_SIDE flags in nsTableColGroupFrame.cpp. r=smontagu 2014-06-24 10:53:58 +01:00
cku@mozilla.com
fda062c431 Bug 1028092 - "Dump testing log when testing pass but we expect testing fail." r=ahal 2014-06-20 02:51:00 +02:00
CJKu
32c94506d9 Bug 1000722 - Rollback close reftest in bug 981477. r=ahal 2014-06-21 01:22:00 +02:00
Max Vujovic
dadae0959c Bug 948265 - Move SVG filter chain tests into their own folder to make their filenames more readable. r=mstange
--HG--
rename : layout/reftests/svg/filters/multiple-svg-filters-long-chain.svg => layout/reftests/svg/filters/svg-filter-chains/long-chain.svg
rename : layout/reftests/svg/filters/multiple-svg-filters-with-multiple-primitives.svg => layout/reftests/svg/filters/svg-filter-chains/multiple-primitives-per-filter.svg
rename : layout/reftests/svg/filters/multiple-svg-filters-second-uses-SourceGraphic.svg => layout/reftests/svg/filters/svg-filter-chains/second-filter-uses-SourceGraphic.svg
rename : layout/reftests/svg/filters/multiple-svg-filters-ref.svg => layout/reftests/svg/filters/svg-filter-chains/simple-chain-ref.svg
rename : layout/reftests/svg/filters/multiple-svg-filters.svg => layout/reftests/svg/filters/svg-filter-chains/simple-chain.svg
2014-06-23 13:18:00 -04:00
Daniel Holbert
ea5c674bf4 Bug 1029180: Give nsStyleContext a private destructor & MOZ_FINAL, to make it less likely to be freed by anything other than refcounting. r=heycam 2014-06-24 11:00:57 -07:00
Mats Palmgren
1bb10f8e19 Bug 1028462 - Add fuzzy-ness for 598726-1.html on B2G (the test failed b/c of differences in text anti-aliasing). r=dholbert 2014-06-24 17:52:19 +00:00
Mats Palmgren
f51e129f11 Bug 1025669 - part 3, Tests for box-decoration-break:clone on block margins. 2014-06-24 17:52:19 +00:00
Mats Palmgren
80a8564a26 Bug 1025669 - part 2, some minor cleanup. r=roc 2014-06-24 17:52:19 +00:00
Mats Palmgren
4221abee97 Bug 1025669 - part 1, Implement layout of block margins for box-decoration-break:clone. r=roc 2014-06-24 17:52:19 +00:00
Mats Palmgren
5daeffd382 Bug 1025669 - part 0.5, Add LogicalMargin::ApplySkipSides. r=jfkthame 2014-06-24 17:52:19 +00:00
Mats Palmgren
09115940e1 Bug 1025669 - part 0, Add BaseMargin::ApplySkipSides, remove nsIFrame::Apply*SkipSides, and change call sites to use the former. r=roc 2014-06-24 17:52:19 +00:00
Mats Palmgren
7e0995dfa2 Bug 1025212 - Initialize 'last' to silence a static analyzer warning. r=dholbert 2014-06-24 17:52:18 +00:00
CJKu
04287a0589 Bug 1000722 - Many B2G reftests fail after enabling OOP, because partial drawWindow calls are drawing too small an area. r=dbaron 2014-06-18 21:39:00 +02:00
Simon Montagu
6579381e92 Bug 1028521: Use the nsHTMLReflowMetrics' writing mode passed in from the container in nsMathMLContainerFrame::ReflowChild, not the child frame's. r=jfkthame 2014-06-24 01:36:45 -07:00
Jonathan Kew
333a20ce82 bug 1028521 - testcase for assertion in mathml with bidi. r=smontagu 2014-06-21 15:49:49 +01:00
David Major
69fbeb6898 Bug 576435 - Use the clamping variant of NSToCoordRound to avoid rounding nscoord_MAX. r=roc 2014-06-24 15:47:02 +12:00
Brian Birtles
c959ddc099 Bug 1026315 - Remove PercentageHashKey; r=dbaron 2014-06-24 15:29:54 +09:00
Brian Birtles
2b0a950785 Bug 1010067 part 2 - Rename nsStyleAnimation.{h,cpp} to StyleAnimationValue.{h,cpp}; r=dbaron
--HG--
rename : layout/style/nsStyleAnimation.cpp => layout/style/StyleAnimationValue.cpp
rename : layout/style/nsStyleAnimation.h => layout/style/StyleAnimationValue.h
2014-06-24 15:29:54 +09:00
Brian Birtles
7621375179 Bug 1010067 part 1 - Rename nsStyleAnimation::Value to mozilla::StyleAnimationValue; r=dbaron
This patch also moves the static methods defined on nsStyleAnimation so that
they are part of StyleAnimationValue class.

Renaming nsStyleAnimation.h to StyleAnimationValue.h is performed in a separate
patch to simplify the diff (since some tools may not handle file renames
elegantly).
2014-06-24 15:29:54 +09:00
Brian Birtles
e16787cc55 Bug 1026302 part 5 - Make a common property dtor for CommonElementAnimationData; r=dbaron
This patch takes the two static methods ElementAnimationsPropertyDtor and
ElementTransitionsPropertyDtor and replaces them with a class static on
CommonElementAnimationData.
2014-06-24 15:29:53 +09:00
Brian Birtles
0a5b16809a Bug 1026302 part 4 - Remove ElementAnimations; r=dbaron
This patch removes ElementAnimations and replaces all references to
ElementAnimations with references to CommonElementAnimationData.

We don't bother to rename variables like 'ea' or methods like
GetElementAnimations to correspond with the data type
(CommonElementAnimationData) since CommonElementAnimationData will soon be
renamed in bug 1010067 and we'll rename these things then.

The ElementAnimationsPropertyDtor function is renamed and merged in a subsequent
patch in this series.
2014-06-24 15:29:53 +09:00
Brian Birtles
203b7cbdda Bug 1026302 part 3 - Move GetEventsAt to nsAnimationManager; r=dbaron
In order to unify ElementAnimations with CommonElementAnimationData we need to
find another home for GetEventsAt which is specific to queueing CSS Animation
events. For now nsAnimationManager seems an appropriate place and corresponds
more closely to the arrangement for transitions (where nsTransitionManager is
responsible for queueing the events by iterating over the list of animations).

In future we may reintroduce a subclass of animation specific to CSS Animations
that does this event queueing but for now nsAnimationManager seems to be a
suitable place.

This patch simply moves the code and replaces references to "mAnimation" with
"eEA->mAnimation". There are no functional changes.
2014-06-24 15:29:53 +09:00
Ed Morley
892c226532 Backed out changeset 5f35e9f7ad4a (bug 1026450) for B2G reftest failures; CLOSED TREE
--HG--
extra : amend_source : f9a3650794b0844becd8ff0ab6b284d727e463b3
2014-06-25 17:13:20 +01:00
Ed Morley
f70f501849 Backed out changeset 73c6b1fcd058 (bug 1024473) 2014-06-25 17:12:39 +01:00
Ed Morley
0366b3e251 Backed out changeset 990efda77488 (bug 1024473) 2014-06-25 17:12:35 +01:00
Carsten "Tomcat" Book
23d6a7ded4 Merge mozilla-central to mozilla-inbound 2014-06-25 15:42:28 +02:00
Carsten "Tomcat" Book
d6eca1576d Backed out changeset f1afdcec1927 (bug 1025553) for bustage on a CLOSED TREE 2014-06-25 14:21:34 +02:00
Jonathan Watt
5d76003ae2 Bug 940625 - Discard the surfaces for SVG images that are in the ImageLib SurfaceCache when the app theme changes. r=seth 2014-06-25 13:04:36 +01:00
Jonathan Watt
41dd3d564a Bug 1025553, part 2 - Change gfxMatrix from a struct to a class. r=Bas 2014-06-25 12:59:46 +01:00
Markus Stange
32fa55c5e5 Bug 1024473 - Fix the test. CLOSED TREE 2014-06-25 11:55:29 +02:00
Markus Stange
6027de1f7c Bug 1024473 - Update canvas mask layer even when nothing in the canvas changed. r=mattwoodrow 2014-06-25 10:37:58 +02:00
Markus Stange
c01a620b38 Bug 1026450 - Don't let clipped animated transforms trigger layerization of elements outside the clip. r=roc 2014-06-25 10:36:13 +02:00
Jim Blandy
4d6a633bba Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Wes Kocher
731dbac067 Backed out 6 changesets (bug 1028559, bug 1028565) for android mochitest bustage on a CLOSED TREE
Backed out changeset fdd74c065e5d (bug 1028565)
Backed out changeset 5e9777d38052 (bug 1028565)
Backed out changeset 3510bcdba3fc (bug 1028565)
Backed out changeset 62ad3254903e (bug 1028565)
Backed out changeset e7557f70acfe (bug 1028565)
Backed out changeset 5b1b527abe47 (bug 1028559)

--HG--
rename : editor/composer/nsIEditingSession.idl => editor/composer/public/nsIEditingSession.idl
rename : editor/composer/crashtests/351236-1.html => editor/composer/src/crashtests/351236-1.html
rename : editor/composer/crashtests/407062-1.html => editor/composer/src/crashtests/407062-1.html
rename : editor/composer/crashtests/419563-1.xhtml => editor/composer/src/crashtests/419563-1.xhtml
rename : editor/composer/crashtests/428844-1-inner.xhtml => editor/composer/src/crashtests/428844-1-inner.xhtml
rename : editor/composer/crashtests/428844-1.html => editor/composer/src/crashtests/428844-1.html
rename : editor/composer/crashtests/461049-1.html => editor/composer/src/crashtests/461049-1.html
rename : editor/composer/crashtests/crashtests.list => editor/composer/src/crashtests/crashtests.list
rename : editor/composer/crashtests/removing-editable-xslt-inner.xhtml => editor/composer/src/crashtests/removing-editable-xslt-inner.xhtml
rename : editor/composer/crashtests/removing-editable-xslt.html => editor/composer/src/crashtests/removing-editable-xslt.html
rename : editor/composer/nsComposeTxtSrvFilter.cpp => editor/composer/src/nsComposeTxtSrvFilter.cpp
rename : editor/composer/nsComposeTxtSrvFilter.h => editor/composer/src/nsComposeTxtSrvFilter.h
rename : editor/composer/nsComposerCommands.cpp => editor/composer/src/nsComposerCommands.cpp
rename : editor/composer/nsComposerCommands.h => editor/composer/src/nsComposerCommands.h
rename : editor/composer/nsComposerCommandsUpdater.cpp => editor/composer/src/nsComposerCommandsUpdater.cpp
rename : editor/composer/nsComposerCommandsUpdater.h => editor/composer/src/nsComposerCommandsUpdater.h
rename : editor/composer/nsComposerController.cpp => editor/composer/src/nsComposerController.cpp
rename : editor/composer/nsComposerController.h => editor/composer/src/nsComposerController.h
rename : editor/composer/nsComposerDocumentCommands.cpp => editor/composer/src/nsComposerDocumentCommands.cpp
rename : editor/composer/nsComposerRegistration.cpp => editor/composer/src/nsComposerRegistration.cpp
rename : editor/composer/nsEditingSession.cpp => editor/composer/src/nsEditingSession.cpp
rename : editor/composer/nsEditingSession.h => editor/composer/src/nsEditingSession.h
rename : editor/composer/nsEditorSpellCheck.cpp => editor/composer/src/nsEditorSpellCheck.cpp
rename : editor/composer/nsEditorSpellCheck.h => editor/composer/src/nsEditorSpellCheck.h
rename : editor/composer/res/EditorOverride.css => editor/composer/src/res/EditorOverride.css
rename : editor/composer/res/grabber.gif => editor/composer/src/res/grabber.gif
rename : editor/composer/res/table-add-column-after-active.gif => editor/composer/src/res/table-add-column-after-active.gif
rename : editor/composer/res/table-add-column-after-hover.gif => editor/composer/src/res/table-add-column-after-hover.gif
rename : editor/composer/res/table-add-column-after.gif => editor/composer/src/res/table-add-column-after.gif
rename : editor/composer/res/table-add-column-before-active.gif => editor/composer/src/res/table-add-column-before-active.gif
rename : editor/composer/res/table-add-column-before-hover.gif => editor/composer/src/res/table-add-column-before-hover.gif
rename : editor/composer/res/table-add-column-before.gif => editor/composer/src/res/table-add-column-before.gif
rename : editor/composer/res/table-add-row-after-active.gif => editor/composer/src/res/table-add-row-after-active.gif
rename : editor/composer/res/table-add-row-after-hover.gif => editor/composer/src/res/table-add-row-after-hover.gif
rename : editor/composer/res/table-add-row-after.gif => editor/composer/src/res/table-add-row-after.gif
rename : editor/composer/res/table-add-row-before-active.gif => editor/composer/src/res/table-add-row-before-active.gif
rename : editor/composer/res/table-add-row-before-hover.gif => editor/composer/src/res/table-add-row-before-hover.gif
rename : editor/composer/res/table-add-row-before.gif => editor/composer/src/res/table-add-row-before.gif
rename : editor/composer/res/table-remove-column-active.gif => editor/composer/src/res/table-remove-column-active.gif
rename : editor/composer/res/table-remove-column-hover.gif => editor/composer/src/res/table-remove-column-hover.gif
rename : editor/composer/res/table-remove-column.gif => editor/composer/src/res/table-remove-column.gif
rename : editor/composer/res/table-remove-row-active.gif => editor/composer/src/res/table-remove-row-active.gif
rename : editor/composer/res/table-remove-row-hover.gif => editor/composer/src/res/table-remove-row-hover.gif
rename : editor/composer/res/table-remove-row.gif => editor/composer/src/res/table-remove-row.gif
rename : editor/composer/res/text_caret.png => editor/composer/src/res/text_caret.png
rename : editor/composer/res/text_caret@1.5x.png => editor/composer/src/res/text_caret@1.5x.png
rename : editor/composer/res/text_caret@2.25x.png => editor/composer/src/res/text_caret@2.25x.png
rename : editor/composer/res/text_caret@2x.png => editor/composer/src/res/text_caret@2x.png
rename : editor/composer/res/text_caret_tilt_left.png => editor/composer/src/res/text_caret_tilt_left.png
rename : editor/composer/res/text_caret_tilt_left@1.5x.png => editor/composer/src/res/text_caret_tilt_left@1.5x.png
rename : editor/composer/res/text_caret_tilt_left@2.25x.png => editor/composer/src/res/text_caret_tilt_left@2.25x.png
rename : editor/composer/res/text_caret_tilt_left@2x.png => editor/composer/src/res/text_caret_tilt_left@2x.png
rename : editor/composer/res/text_caret_tilt_right.png => editor/composer/src/res/text_caret_tilt_right.png
rename : editor/composer/res/text_caret_tilt_right@1.5x.png => editor/composer/src/res/text_caret_tilt_right@1.5x.png
rename : editor/composer/res/text_caret_tilt_right@2.25x.png => editor/composer/src/res/text_caret_tilt_right@2.25x.png
rename : editor/composer/res/text_caret_tilt_right@2x.png => editor/composer/src/res/text_caret_tilt_right@2x.png
rename : editor/composer/res/text_selection_handle.png => editor/composer/src/res/text_selection_handle.png
rename : editor/composer/res/text_selection_handle@1.5.png => editor/composer/src/res/text_selection_handle@1.5.png
rename : editor/composer/res/text_selection_handle@2.png => editor/composer/src/res/text_selection_handle@2.png
rename : editor/nsIContentFilter.idl => editor/idl/nsIContentFilter.idl
rename : editor/nsIDocumentStateListener.idl => editor/idl/nsIDocumentStateListener.idl
rename : editor/nsIEditActionListener.idl => editor/idl/nsIEditActionListener.idl
rename : editor/nsIEditor.idl => editor/idl/nsIEditor.idl
rename : editor/nsIEditorIMESupport.idl => editor/idl/nsIEditorIMESupport.idl
rename : editor/nsIEditorMailSupport.idl => editor/idl/nsIEditorMailSupport.idl
rename : editor/nsIEditorObserver.idl => editor/idl/nsIEditorObserver.idl
rename : editor/nsIEditorSpellCheck.idl => editor/idl/nsIEditorSpellCheck.idl
rename : editor/nsIEditorStyleSheets.idl => editor/idl/nsIEditorStyleSheets.idl
rename : editor/nsIHTMLAbsPosEditor.idl => editor/idl/nsIHTMLAbsPosEditor.idl
rename : editor/nsIHTMLEditor.idl => editor/idl/nsIHTMLEditor.idl
rename : editor/nsIHTMLInlineTableEditor.idl => editor/idl/nsIHTMLInlineTableEditor.idl
rename : editor/nsIHTMLObjectResizeListener.idl => editor/idl/nsIHTMLObjectResizeListener.idl
rename : editor/nsIHTMLObjectResizer.idl => editor/idl/nsIHTMLObjectResizer.idl
rename : editor/nsIPlaintextEditor.idl => editor/idl/nsIPlaintextEditor.idl
rename : editor/nsITableEditor.idl => editor/idl/nsITableEditor.idl
rename : editor/nsIURIRefObject.idl => editor/idl/nsIURIRefObject.idl
rename : editor/nsPIEditorTransaction.idl => editor/idl/nsPIEditorTransaction.idl
rename : editor/libeditor/ChangeAttributeTxn.cpp => editor/libeditor/base/ChangeAttributeTxn.cpp
rename : editor/libeditor/ChangeAttributeTxn.h => editor/libeditor/base/ChangeAttributeTxn.h
rename : editor/libeditor/ChangeCSSInlineStyleTxn.cpp => editor/libeditor/base/ChangeCSSInlineStyleTxn.cpp
rename : editor/libeditor/ChangeCSSInlineStyleTxn.h => editor/libeditor/base/ChangeCSSInlineStyleTxn.h
rename : editor/libeditor/CreateElementTxn.cpp => editor/libeditor/base/CreateElementTxn.cpp
rename : editor/libeditor/CreateElementTxn.h => editor/libeditor/base/CreateElementTxn.h
rename : editor/libeditor/DeleteNodeTxn.cpp => editor/libeditor/base/DeleteNodeTxn.cpp
rename : editor/libeditor/DeleteNodeTxn.h => editor/libeditor/base/DeleteNodeTxn.h
rename : editor/libeditor/DeleteRangeTxn.cpp => editor/libeditor/base/DeleteRangeTxn.cpp
rename : editor/libeditor/DeleteRangeTxn.h => editor/libeditor/base/DeleteRangeTxn.h
rename : editor/libeditor/DeleteTextTxn.cpp => editor/libeditor/base/DeleteTextTxn.cpp
rename : editor/libeditor/DeleteTextTxn.h => editor/libeditor/base/DeleteTextTxn.h
rename : editor/libeditor/EditActionListener.h => editor/libeditor/base/EditActionListener.h
rename : editor/libeditor/EditAggregateTxn.cpp => editor/libeditor/base/EditAggregateTxn.cpp
rename : editor/libeditor/EditAggregateTxn.h => editor/libeditor/base/EditAggregateTxn.h
rename : editor/libeditor/EditTxn.cpp => editor/libeditor/base/EditTxn.cpp
rename : editor/libeditor/EditTxn.h => editor/libeditor/base/EditTxn.h
rename : editor/libeditor/IMETextTxn.cpp => editor/libeditor/base/IMETextTxn.cpp
rename : editor/libeditor/IMETextTxn.h => editor/libeditor/base/IMETextTxn.h
rename : editor/libeditor/InsertElementTxn.cpp => editor/libeditor/base/InsertElementTxn.cpp
rename : editor/libeditor/InsertElementTxn.h => editor/libeditor/base/InsertElementTxn.h
rename : editor/libeditor/InsertTextTxn.cpp => editor/libeditor/base/InsertTextTxn.cpp
rename : editor/libeditor/InsertTextTxn.h => editor/libeditor/base/InsertTextTxn.h
rename : editor/libeditor/JoinElementTxn.cpp => editor/libeditor/base/JoinElementTxn.cpp
rename : editor/libeditor/JoinElementTxn.h => editor/libeditor/base/JoinElementTxn.h
rename : editor/libeditor/PlaceholderTxn.cpp => editor/libeditor/base/PlaceholderTxn.cpp
rename : editor/libeditor/PlaceholderTxn.h => editor/libeditor/base/PlaceholderTxn.h
rename : editor/libeditor/SetDocTitleTxn.cpp => editor/libeditor/base/SetDocTitleTxn.cpp
rename : editor/libeditor/SetDocTitleTxn.h => editor/libeditor/base/SetDocTitleTxn.h
rename : editor/libeditor/SplitElementTxn.cpp => editor/libeditor/base/SplitElementTxn.cpp
rename : editor/libeditor/SplitElementTxn.h => editor/libeditor/base/SplitElementTxn.h
rename : editor/libeditor/crashtests/336104.html => editor/libeditor/base/crashtests/336104.html
rename : editor/libeditor/crashtests/382527-1.html => editor/libeditor/base/crashtests/382527-1.html
rename : editor/libeditor/crashtests/402172-1.html => editor/libeditor/base/crashtests/402172-1.html
rename : editor/libeditor/crashtests/407079-1.html => editor/libeditor/base/crashtests/407079-1.html
rename : editor/libeditor/crashtests/407256-1.html => editor/libeditor/base/crashtests/407256-1.html
rename : editor/libeditor/crashtests/430624-1.html => editor/libeditor/base/crashtests/430624-1.html
rename : editor/libeditor/crashtests/459613-iframe.html => editor/libeditor/base/crashtests/459613-iframe.html
rename : editor/libeditor/crashtests/459613.html => editor/libeditor/base/crashtests/459613.html
rename : editor/libeditor/crashtests/475132-1.xhtml => editor/libeditor/base/crashtests/475132-1.xhtml
rename : editor/libeditor/crashtests/633709.xhtml => editor/libeditor/base/crashtests/633709.xhtml
rename : editor/libeditor/crashtests/636074-1.html => editor/libeditor/base/crashtests/636074-1.html
rename : editor/libeditor/crashtests/713427-1.html => editor/libeditor/base/crashtests/713427-1.html
rename : editor/libeditor/crashtests/713427-2.xhtml => editor/libeditor/base/crashtests/713427-2.xhtml
rename : editor/libeditor/crashtests/762183.html => editor/libeditor/base/crashtests/762183.html
rename : editor/libeditor/crashtests/766360.html => editor/libeditor/base/crashtests/766360.html
rename : editor/libeditor/crashtests/766413.html => editor/libeditor/base/crashtests/766413.html
rename : editor/libeditor/crashtests/766845.xhtml => editor/libeditor/base/crashtests/766845.xhtml
rename : editor/libeditor/crashtests/768765.html => editor/libeditor/base/crashtests/768765.html
rename : editor/libeditor/crashtests/771749.html => editor/libeditor/base/crashtests/771749.html
rename : editor/libeditor/crashtests/772282.html => editor/libeditor/base/crashtests/772282.html
rename : editor/libeditor/crashtests/776323.html => editor/libeditor/base/crashtests/776323.html
rename : editor/libeditor/crashtests/crashtests.list => editor/libeditor/base/crashtests/crashtests.list
rename : editor/libeditor/nsEditProperty.h => editor/libeditor/base/nsEditProperty.h
rename : editor/libeditor/nsEditPropertyAtomList.h => editor/libeditor/base/nsEditPropertyAtomList.h
rename : editor/libeditor/nsEditRules.h => editor/libeditor/base/nsEditRules.h
rename : editor/libeditor/nsEditor.cpp => editor/libeditor/base/nsEditor.cpp
rename : editor/libeditor/nsEditor.h => editor/libeditor/base/nsEditor.h
rename : editor/libeditor/nsEditorCommands.cpp => editor/libeditor/base/nsEditorCommands.cpp
rename : editor/libeditor/nsEditorCommands.h => editor/libeditor/base/nsEditorCommands.h
rename : editor/libeditor/nsEditorController.cpp => editor/libeditor/base/nsEditorController.cpp
rename : editor/libeditor/nsEditorController.h => editor/libeditor/base/nsEditorController.h
rename : editor/libeditor/nsEditorEventListener.cpp => editor/libeditor/base/nsEditorEventListener.cpp
rename : editor/libeditor/nsEditorEventListener.h => editor/libeditor/base/nsEditorEventListener.h
rename : editor/libeditor/nsEditorUtils.cpp => editor/libeditor/base/nsEditorUtils.cpp
rename : editor/libeditor/nsEditorUtils.h => editor/libeditor/base/nsEditorUtils.h
rename : editor/libeditor/nsIAbsorbingTransaction.h => editor/libeditor/base/nsIAbsorbingTransaction.h
rename : editor/libeditor/nsSelectionState.cpp => editor/libeditor/base/nsSelectionState.cpp
rename : editor/libeditor/nsSelectionState.h => editor/libeditor/base/nsSelectionState.h
rename : editor/libeditor/nsStyleSheetTxns.cpp => editor/libeditor/base/nsStyleSheetTxns.cpp
rename : editor/libeditor/nsStyleSheetTxns.h => editor/libeditor/base/nsStyleSheetTxns.h
rename : editor/libeditor/tests/chrome.ini => editor/libeditor/base/tests/chrome.ini
rename : editor/libeditor/tests/file_bug586662.html => editor/libeditor/base/tests/file_bug586662.html
rename : editor/libeditor/tests/mochitest.ini => editor/libeditor/base/tests/mochitest.ini
rename : editor/libeditor/tests/moz.build => editor/libeditor/base/tests/moz.build
rename : editor/libeditor/tests/test_bug408231.html => editor/libeditor/base/tests/test_bug408231.html
rename : editor/libeditor/tests/test_bug46555.html => editor/libeditor/base/tests/test_bug46555.html
rename : editor/libeditor/tests/test_bug502673.html => editor/libeditor/base/tests/test_bug502673.html
rename : editor/libeditor/tests/test_bug514156.html => editor/libeditor/base/tests/test_bug514156.html
rename : editor/libeditor/tests/test_bug567213.html => editor/libeditor/base/tests/test_bug567213.html
rename : editor/libeditor/tests/test_bug586662.html => editor/libeditor/base/tests/test_bug586662.html
rename : editor/libeditor/tests/test_bug599983.html => editor/libeditor/base/tests/test_bug599983.html
rename : editor/libeditor/tests/test_bug599983.xul => editor/libeditor/base/tests/test_bug599983.xul
rename : editor/libeditor/tests/test_bug646194.xul => editor/libeditor/base/tests/test_bug646194.xul
rename : editor/libeditor/tests/test_bug742261.html => editor/libeditor/base/tests/test_bug742261.html
rename : editor/libeditor/tests/test_bug773262.html => editor/libeditor/base/tests/test_bug773262.html
rename : editor/libeditor/tests/test_bug795785.html => editor/libeditor/base/tests/test_bug795785.html
rename : editor/libeditor/tests/test_dragdrop.html => editor/libeditor/base/tests/test_dragdrop.html
rename : editor/libeditor/tests/test_selection_move_commands.xul => editor/libeditor/base/tests/test_selection_move_commands.xul
rename : editor/nsEditorCID.h => editor/public/nsEditorCID.h
rename : editor/txmgr/nsITransaction.idl => editor/txmgr/idl/nsITransaction.idl
rename : editor/txmgr/nsITransactionList.idl => editor/txmgr/idl/nsITransactionList.idl
rename : editor/txmgr/nsITransactionListener.idl => editor/txmgr/idl/nsITransactionListener.idl
rename : editor/txmgr/nsITransactionManager.idl => editor/txmgr/idl/nsITransactionManager.idl
rename : editor/txmgr/nsTransactionManagerCID.h => editor/txmgr/public/nsTransactionManagerCID.h
rename : editor/txmgr/nsTransactionItem.cpp => editor/txmgr/src/nsTransactionItem.cpp
rename : editor/txmgr/nsTransactionItem.h => editor/txmgr/src/nsTransactionItem.h
rename : editor/txmgr/nsTransactionList.cpp => editor/txmgr/src/nsTransactionList.cpp
rename : editor/txmgr/nsTransactionList.h => editor/txmgr/src/nsTransactionList.h
rename : editor/txmgr/nsTransactionManager.cpp => editor/txmgr/src/nsTransactionManager.cpp
rename : editor/txmgr/nsTransactionManager.h => editor/txmgr/src/nsTransactionManager.h
rename : editor/txmgr/nsTransactionManagerFactory.cpp => editor/txmgr/src/nsTransactionManagerFactory.cpp
rename : editor/txmgr/nsTransactionStack.cpp => editor/txmgr/src/nsTransactionStack.cpp
rename : editor/txmgr/nsTransactionStack.h => editor/txmgr/src/nsTransactionStack.h
rename : editor/txtsvc/nsIInlineSpellChecker.idl => editor/txtsvc/public/nsIInlineSpellChecker.idl
rename : editor/txtsvc/nsISpellChecker.h => editor/txtsvc/public/nsISpellChecker.h
rename : editor/txtsvc/nsITextService.h => editor/txtsvc/public/nsITextService.h
rename : editor/txtsvc/nsITextServicesDocument.h => editor/txtsvc/public/nsITextServicesDocument.h
rename : editor/txtsvc/nsITextServicesFilter.idl => editor/txtsvc/public/nsITextServicesFilter.idl
rename : editor/txtsvc/nsTextServicesCID.h => editor/txtsvc/public/nsTextServicesCID.h
rename : editor/txtsvc/nsFilteredContentIterator.cpp => editor/txtsvc/src/nsFilteredContentIterator.cpp
rename : editor/txtsvc/nsFilteredContentIterator.h => editor/txtsvc/src/nsFilteredContentIterator.h
rename : editor/txtsvc/nsTSAtomList.h => editor/txtsvc/src/nsTSAtomList.h
rename : editor/txtsvc/nsTextServicesDocument.cpp => editor/txtsvc/src/nsTextServicesDocument.cpp
rename : editor/txtsvc/nsTextServicesDocument.h => editor/txtsvc/src/nsTextServicesDocument.h
rename : editor/txtsvc/nsTextServicesFactory.cpp => editor/txtsvc/src/nsTextServicesFactory.cpp
rename : xpcom/string/nsAString.h => xpcom/string/public/nsAString.h
rename : xpcom/string/nsAlgorithm.h => xpcom/string/public/nsAlgorithm.h
rename : xpcom/string/nsCharTraits.h => xpcom/string/public/nsCharTraits.h
rename : xpcom/string/nsDependentString.h => xpcom/string/public/nsDependentString.h
rename : xpcom/string/nsDependentSubstring.h => xpcom/string/public/nsDependentSubstring.h
rename : xpcom/string/nsEmbedString.h => xpcom/string/public/nsEmbedString.h
rename : xpcom/string/nsLiteralString.h => xpcom/string/public/nsLiteralString.h
rename : xpcom/string/nsPrintfCString.h => xpcom/string/public/nsPrintfCString.h
rename : xpcom/string/nsPromiseFlatString.h => xpcom/string/public/nsPromiseFlatString.h
rename : xpcom/string/nsReadableUtils.h => xpcom/string/public/nsReadableUtils.h
rename : xpcom/string/nsString.h => xpcom/string/public/nsString.h
rename : xpcom/string/nsStringBuffer.h => xpcom/string/public/nsStringBuffer.h
rename : xpcom/string/nsStringFwd.h => xpcom/string/public/nsStringFwd.h
rename : xpcom/string/nsStringIterator.h => xpcom/string/public/nsStringIterator.h
rename : xpcom/string/nsSubstring.h => xpcom/string/public/nsSubstring.h
rename : xpcom/string/nsSubstringTuple.h => xpcom/string/public/nsSubstringTuple.h
rename : xpcom/string/nsTDependentString.h => xpcom/string/public/nsTDependentString.h
rename : xpcom/string/nsTDependentSubstring.h => xpcom/string/public/nsTDependentSubstring.h
rename : xpcom/string/nsTLiteralString.h => xpcom/string/public/nsTLiteralString.h
rename : xpcom/string/nsTPromiseFlatString.h => xpcom/string/public/nsTPromiseFlatString.h
rename : xpcom/string/nsTString.h => xpcom/string/public/nsTString.h
rename : xpcom/string/nsTSubstring.h => xpcom/string/public/nsTSubstring.h
rename : xpcom/string/nsTSubstringTuple.h => xpcom/string/public/nsTSubstringTuple.h
rename : xpcom/string/nsUTF8Utils.h => xpcom/string/public/nsUTF8Utils.h
rename : xpcom/string/nsXPCOMStrings.h => xpcom/string/public/nsXPCOMStrings.h
rename : xpcom/string/nsXPIDLString.h => xpcom/string/public/nsXPIDLString.h
rename : xpcom/string/string-template-def-char.h => xpcom/string/public/string-template-def-char.h
rename : xpcom/string/string-template-def-unichar.h => xpcom/string/public/string-template-def-unichar.h
rename : xpcom/string/string-template-undef.h => xpcom/string/public/string-template-undef.h
rename : xpcom/string/nsDependentString.cpp => xpcom/string/src/nsDependentString.cpp
rename : xpcom/string/nsDependentSubstring.cpp => xpcom/string/src/nsDependentSubstring.cpp
rename : xpcom/string/nsPromiseFlatString.cpp => xpcom/string/src/nsPromiseFlatString.cpp
rename : xpcom/string/nsReadableUtils.cpp => xpcom/string/src/nsReadableUtils.cpp
rename : xpcom/string/nsString.cpp => xpcom/string/src/nsString.cpp
rename : xpcom/string/nsStringComparator.cpp => xpcom/string/src/nsStringComparator.cpp
rename : xpcom/string/nsStringObsolete.cpp => xpcom/string/src/nsStringObsolete.cpp
rename : xpcom/string/nsSubstring.cpp => xpcom/string/src/nsSubstring.cpp
rename : xpcom/string/nsSubstringTuple.cpp => xpcom/string/src/nsSubstringTuple.cpp
rename : xpcom/string/nsTDependentString.cpp => xpcom/string/src/nsTDependentString.cpp
rename : xpcom/string/nsTDependentSubstring.cpp => xpcom/string/src/nsTDependentSubstring.cpp
rename : xpcom/string/nsTPromiseFlatString.cpp => xpcom/string/src/nsTPromiseFlatString.cpp
rename : xpcom/string/nsTString.cpp => xpcom/string/src/nsTString.cpp
rename : xpcom/string/nsTStringComparator.cpp => xpcom/string/src/nsTStringComparator.cpp
rename : xpcom/string/nsTStringObsolete.cpp => xpcom/string/src/nsTStringObsolete.cpp
rename : xpcom/string/nsTSubstring.cpp => xpcom/string/src/nsTSubstring.cpp
rename : xpcom/string/nsTSubstringTuple.cpp => xpcom/string/src/nsTSubstringTuple.cpp
rename : xpcom/string/nsUTF8UtilsSSE2.cpp => xpcom/string/src/nsUTF8UtilsSSE2.cpp
2014-06-24 18:32:55 -07:00
Brian Birtles
024ba56700 Bug 1029370 part 3 - Add a comment explaining the relationship between ComputedTiming and GetComputedTimingAt; r=dholbert
Review for this patch granted as part of bug 1029370 comment 4 (at the end).
2014-06-25 09:42:19 +09:00
Brian Birtles
8f71c54c7e Bug 1029370 part 2 - Make nsTransitionManager::FlushTransitions reuse GetComputedTimingAt; r=dholbert
This patch removes some redundant calculation of timing phases in
FlushTransitions by calling GetComputedTiming and using the definitions there.
2014-06-25 09:42:19 +09:00
Brian Birtles
96e4960e38 Bug 1029370 part 1 - Move active duration calculation to GetComputedTimingAt; r=dholbert
This patch makes the active duration a property of the ComputedTiming struct and
returns this as part of calculating GetComputedTimingAt. GetComputedTimingAt was
already calling the method to calculate the ActiveDuration and the only other
callers of ActiveDuration() were also calling GetComputedTimingAt so this
doesn't make us do any unnecessary calculation.

I've left ActiveDuration as a public method on ElementAnimation for now since
it's a struct and just about everything there is public. At some point in the
future we'll probably make this more class-like to hide some details but that
can happen as a separate step. This patch does, however, move the definition of
ActiveDuration inside the .cpp file.

In tidying up GetComputedTimingAt we also replace all the references to
TimeDuration() and TimeDuration(0) with a single local variable representing
zero duration. This should be easier to read and possibly a little faster.

We don't use a function static variable since this method is called from
different threads and the initialization of function statics is not guaranteed
to be thread-safe until C++0x.
2014-06-25 09:42:19 +09:00
Brian Birtles
b118cf06d3 Bug 1028514 - Check for integer overflow when converting from floating-point number milliseconds; r=froydnj
In TimeStamp_windows.cpp and TimeStamp_darwin.cpp, in
TimeStamp::FromMilliseconds we cast the floating-point number of ticks to
a 64-bit integer before passing to TimeStamp::FromTicks(int64_t).
This means that we skip the check for integer overflow performed by
TimeStamp::FromTicks(double).

This patch simply removes that cast so that we perform overflow checking.

It also adds an assertion to ElementAnimation since this is one place where
the lack of overflow checking was producing a negative value where it should
not.
2014-06-25 09:42:18 +09:00
Birunthan Mohanathas
d72b561e31 Bug 1028565 - Part 4: Flatten editor/libeditor/base/ directory. r=ehsan
--HG--
rename : editor/libeditor/base/ChangeAttributeTxn.cpp => editor/libeditor/ChangeAttributeTxn.cpp
rename : editor/libeditor/base/ChangeAttributeTxn.h => editor/libeditor/ChangeAttributeTxn.h
rename : editor/libeditor/base/ChangeCSSInlineStyleTxn.cpp => editor/libeditor/ChangeCSSInlineStyleTxn.cpp
rename : editor/libeditor/base/ChangeCSSInlineStyleTxn.h => editor/libeditor/ChangeCSSInlineStyleTxn.h
rename : editor/libeditor/base/CreateElementTxn.cpp => editor/libeditor/CreateElementTxn.cpp
rename : editor/libeditor/base/CreateElementTxn.h => editor/libeditor/CreateElementTxn.h
rename : editor/libeditor/base/DeleteNodeTxn.cpp => editor/libeditor/DeleteNodeTxn.cpp
rename : editor/libeditor/base/DeleteNodeTxn.h => editor/libeditor/DeleteNodeTxn.h
rename : editor/libeditor/base/DeleteRangeTxn.cpp => editor/libeditor/DeleteRangeTxn.cpp
rename : editor/libeditor/base/DeleteRangeTxn.h => editor/libeditor/DeleteRangeTxn.h
rename : editor/libeditor/base/DeleteTextTxn.cpp => editor/libeditor/DeleteTextTxn.cpp
rename : editor/libeditor/base/DeleteTextTxn.h => editor/libeditor/DeleteTextTxn.h
rename : editor/libeditor/base/EditActionListener.h => editor/libeditor/EditActionListener.h
rename : editor/libeditor/base/EditAggregateTxn.cpp => editor/libeditor/EditAggregateTxn.cpp
rename : editor/libeditor/base/EditAggregateTxn.h => editor/libeditor/EditAggregateTxn.h
rename : editor/libeditor/base/EditTxn.cpp => editor/libeditor/EditTxn.cpp
rename : editor/libeditor/base/EditTxn.h => editor/libeditor/EditTxn.h
rename : editor/libeditor/base/IMETextTxn.cpp => editor/libeditor/IMETextTxn.cpp
rename : editor/libeditor/base/IMETextTxn.h => editor/libeditor/IMETextTxn.h
rename : editor/libeditor/base/InsertElementTxn.cpp => editor/libeditor/InsertElementTxn.cpp
rename : editor/libeditor/base/InsertElementTxn.h => editor/libeditor/InsertElementTxn.h
rename : editor/libeditor/base/InsertTextTxn.cpp => editor/libeditor/InsertTextTxn.cpp
rename : editor/libeditor/base/InsertTextTxn.h => editor/libeditor/InsertTextTxn.h
rename : editor/libeditor/base/JoinElementTxn.cpp => editor/libeditor/JoinElementTxn.cpp
rename : editor/libeditor/base/JoinElementTxn.h => editor/libeditor/JoinElementTxn.h
rename : editor/libeditor/base/PlaceholderTxn.cpp => editor/libeditor/PlaceholderTxn.cpp
rename : editor/libeditor/base/PlaceholderTxn.h => editor/libeditor/PlaceholderTxn.h
rename : editor/libeditor/base/SetDocTitleTxn.cpp => editor/libeditor/SetDocTitleTxn.cpp
rename : editor/libeditor/base/SetDocTitleTxn.h => editor/libeditor/SetDocTitleTxn.h
rename : editor/libeditor/base/SplitElementTxn.cpp => editor/libeditor/SplitElementTxn.cpp
rename : editor/libeditor/base/SplitElementTxn.h => editor/libeditor/SplitElementTxn.h
rename : editor/libeditor/base/crashtests/336104.html => editor/libeditor/crashtests/336104.html
rename : editor/libeditor/base/crashtests/382527-1.html => editor/libeditor/crashtests/382527-1.html
rename : editor/libeditor/base/crashtests/402172-1.html => editor/libeditor/crashtests/402172-1.html
rename : editor/libeditor/base/crashtests/407079-1.html => editor/libeditor/crashtests/407079-1.html
rename : editor/libeditor/base/crashtests/407256-1.html => editor/libeditor/crashtests/407256-1.html
rename : editor/libeditor/base/crashtests/430624-1.html => editor/libeditor/crashtests/430624-1.html
rename : editor/libeditor/base/crashtests/459613-iframe.html => editor/libeditor/crashtests/459613-iframe.html
rename : editor/libeditor/base/crashtests/459613.html => editor/libeditor/crashtests/459613.html
rename : editor/libeditor/base/crashtests/475132-1.xhtml => editor/libeditor/crashtests/475132-1.xhtml
rename : editor/libeditor/base/crashtests/633709.xhtml => editor/libeditor/crashtests/633709.xhtml
rename : editor/libeditor/base/crashtests/636074-1.html => editor/libeditor/crashtests/636074-1.html
rename : editor/libeditor/base/crashtests/713427-1.html => editor/libeditor/crashtests/713427-1.html
rename : editor/libeditor/base/crashtests/713427-2.xhtml => editor/libeditor/crashtests/713427-2.xhtml
rename : editor/libeditor/base/crashtests/762183.html => editor/libeditor/crashtests/762183.html
rename : editor/libeditor/base/crashtests/766360.html => editor/libeditor/crashtests/766360.html
rename : editor/libeditor/base/crashtests/766413.html => editor/libeditor/crashtests/766413.html
rename : editor/libeditor/base/crashtests/766845.xhtml => editor/libeditor/crashtests/766845.xhtml
rename : editor/libeditor/base/crashtests/768765.html => editor/libeditor/crashtests/768765.html
rename : editor/libeditor/base/crashtests/771749.html => editor/libeditor/crashtests/771749.html
rename : editor/libeditor/base/crashtests/772282.html => editor/libeditor/crashtests/772282.html
rename : editor/libeditor/base/crashtests/776323.html => editor/libeditor/crashtests/776323.html
rename : editor/libeditor/base/crashtests/crashtests.list => editor/libeditor/crashtests/crashtests.list
rename : editor/libeditor/base/nsEditProperty.h => editor/libeditor/nsEditProperty.h
rename : editor/libeditor/base/nsEditPropertyAtomList.h => editor/libeditor/nsEditPropertyAtomList.h
rename : editor/libeditor/base/nsEditRules.h => editor/libeditor/nsEditRules.h
rename : editor/libeditor/base/nsEditor.cpp => editor/libeditor/nsEditor.cpp
rename : editor/libeditor/base/nsEditor.h => editor/libeditor/nsEditor.h
rename : editor/libeditor/base/nsEditorCommands.cpp => editor/libeditor/nsEditorCommands.cpp
rename : editor/libeditor/base/nsEditorCommands.h => editor/libeditor/nsEditorCommands.h
rename : editor/libeditor/base/nsEditorController.cpp => editor/libeditor/nsEditorController.cpp
rename : editor/libeditor/base/nsEditorController.h => editor/libeditor/nsEditorController.h
rename : editor/libeditor/base/nsEditorEventListener.cpp => editor/libeditor/nsEditorEventListener.cpp
rename : editor/libeditor/base/nsEditorEventListener.h => editor/libeditor/nsEditorEventListener.h
rename : editor/libeditor/base/nsEditorUtils.cpp => editor/libeditor/nsEditorUtils.cpp
rename : editor/libeditor/base/nsEditorUtils.h => editor/libeditor/nsEditorUtils.h
rename : editor/libeditor/base/nsIAbsorbingTransaction.h => editor/libeditor/nsIAbsorbingTransaction.h
rename : editor/libeditor/base/nsSelectionState.cpp => editor/libeditor/nsSelectionState.cpp
rename : editor/libeditor/base/nsSelectionState.h => editor/libeditor/nsSelectionState.h
rename : editor/libeditor/base/nsStyleSheetTxns.cpp => editor/libeditor/nsStyleSheetTxns.cpp
rename : editor/libeditor/base/nsStyleSheetTxns.h => editor/libeditor/nsStyleSheetTxns.h
rename : editor/libeditor/base/tests/chrome.ini => editor/libeditor/tests/chrome.ini
rename : editor/libeditor/base/tests/file_bug586662.html => editor/libeditor/tests/file_bug586662.html
rename : editor/libeditor/base/tests/mochitest.ini => editor/libeditor/tests/mochitest.ini
rename : editor/libeditor/base/tests/moz.build => editor/libeditor/tests/moz.build
rename : editor/libeditor/base/tests/test_bug408231.html => editor/libeditor/tests/test_bug408231.html
rename : editor/libeditor/base/tests/test_bug46555.html => editor/libeditor/tests/test_bug46555.html
rename : editor/libeditor/base/tests/test_bug502673.html => editor/libeditor/tests/test_bug502673.html
rename : editor/libeditor/base/tests/test_bug514156.html => editor/libeditor/tests/test_bug514156.html
rename : editor/libeditor/base/tests/test_bug567213.html => editor/libeditor/tests/test_bug567213.html
rename : editor/libeditor/base/tests/test_bug586662.html => editor/libeditor/tests/test_bug586662.html
rename : editor/libeditor/base/tests/test_bug599983.html => editor/libeditor/tests/test_bug599983.html
rename : editor/libeditor/base/tests/test_bug599983.xul => editor/libeditor/tests/test_bug599983.xul
rename : editor/libeditor/base/tests/test_bug646194.xul => editor/libeditor/tests/test_bug646194.xul
rename : editor/libeditor/base/tests/test_bug742261.html => editor/libeditor/tests/test_bug742261.html
rename : editor/libeditor/base/tests/test_bug773262.html => editor/libeditor/tests/test_bug773262.html
rename : editor/libeditor/base/tests/test_bug795785.html => editor/libeditor/tests/test_bug795785.html
rename : editor/libeditor/base/tests/test_dragdrop.html => editor/libeditor/tests/test_dragdrop.html
rename : editor/libeditor/base/tests/test_selection_move_commands.xul => editor/libeditor/tests/test_selection_move_commands.xul
2014-06-23 16:27:43 -07:00
Birunthan Mohanathas
46bf7ca12d Bug 1028565 - Part 3: Flatten editor/txtsvc/{public,src}/ directories. r=ehsan
--HG--
rename : editor/txtsvc/src/nsFilteredContentIterator.cpp => editor/txtsvc/nsFilteredContentIterator.cpp
rename : editor/txtsvc/src/nsFilteredContentIterator.h => editor/txtsvc/nsFilteredContentIterator.h
rename : editor/txtsvc/public/nsIInlineSpellChecker.idl => editor/txtsvc/nsIInlineSpellChecker.idl
rename : editor/txtsvc/public/nsISpellChecker.h => editor/txtsvc/nsISpellChecker.h
rename : editor/txtsvc/public/nsITextService.h => editor/txtsvc/nsITextService.h
rename : editor/txtsvc/public/nsITextServicesDocument.h => editor/txtsvc/nsITextServicesDocument.h
rename : editor/txtsvc/public/nsITextServicesFilter.idl => editor/txtsvc/nsITextServicesFilter.idl
rename : editor/txtsvc/src/nsTSAtomList.h => editor/txtsvc/nsTSAtomList.h
rename : editor/txtsvc/public/nsTextServicesCID.h => editor/txtsvc/nsTextServicesCID.h
rename : editor/txtsvc/src/nsTextServicesDocument.cpp => editor/txtsvc/nsTextServicesDocument.cpp
rename : editor/txtsvc/src/nsTextServicesDocument.h => editor/txtsvc/nsTextServicesDocument.h
rename : editor/txtsvc/src/nsTextServicesFactory.cpp => editor/txtsvc/nsTextServicesFactory.cpp
2014-06-23 16:27:43 -07:00
Birunthan Mohanathas
09eaf5f41d Bug 1028565 - Part 2: Flatten editor/txmgr/{idl,public,src}/ directories. r=ehsan
--HG--
rename : editor/txmgr/idl/nsITransaction.idl => editor/txmgr/nsITransaction.idl
rename : editor/txmgr/idl/nsITransactionList.idl => editor/txmgr/nsITransactionList.idl
rename : editor/txmgr/idl/nsITransactionListener.idl => editor/txmgr/nsITransactionListener.idl
rename : editor/txmgr/idl/nsITransactionManager.idl => editor/txmgr/nsITransactionManager.idl
rename : editor/txmgr/src/nsTransactionItem.cpp => editor/txmgr/nsTransactionItem.cpp
rename : editor/txmgr/src/nsTransactionItem.h => editor/txmgr/nsTransactionItem.h
rename : editor/txmgr/src/nsTransactionList.cpp => editor/txmgr/nsTransactionList.cpp
rename : editor/txmgr/src/nsTransactionList.h => editor/txmgr/nsTransactionList.h
rename : editor/txmgr/src/nsTransactionManager.cpp => editor/txmgr/nsTransactionManager.cpp
rename : editor/txmgr/src/nsTransactionManager.h => editor/txmgr/nsTransactionManager.h
rename : editor/txmgr/public/nsTransactionManagerCID.h => editor/txmgr/nsTransactionManagerCID.h
rename : editor/txmgr/src/nsTransactionManagerFactory.cpp => editor/txmgr/nsTransactionManagerFactory.cpp
rename : editor/txmgr/src/nsTransactionStack.cpp => editor/txmgr/nsTransactionStack.cpp
rename : editor/txmgr/src/nsTransactionStack.h => editor/txmgr/nsTransactionStack.h
2014-06-23 16:27:43 -07:00
Birunthan Mohanathas
0289e60b92 Bug 1028565 - Part 1: Flatten editor/composer/{public,src}/ directories. r=ehsan
--HG--
rename : editor/composer/src/crashtests/351236-1.html => editor/composer/crashtests/351236-1.html
rename : editor/composer/src/crashtests/407062-1.html => editor/composer/crashtests/407062-1.html
rename : editor/composer/src/crashtests/419563-1.xhtml => editor/composer/crashtests/419563-1.xhtml
rename : editor/composer/src/crashtests/428844-1-inner.xhtml => editor/composer/crashtests/428844-1-inner.xhtml
rename : editor/composer/src/crashtests/428844-1.html => editor/composer/crashtests/428844-1.html
rename : editor/composer/src/crashtests/461049-1.html => editor/composer/crashtests/461049-1.html
rename : editor/composer/src/crashtests/crashtests.list => editor/composer/crashtests/crashtests.list
rename : editor/composer/src/crashtests/removing-editable-xslt-inner.xhtml => editor/composer/crashtests/removing-editable-xslt-inner.xhtml
rename : editor/composer/src/crashtests/removing-editable-xslt.html => editor/composer/crashtests/removing-editable-xslt.html
rename : editor/composer/src/nsComposeTxtSrvFilter.cpp => editor/composer/nsComposeTxtSrvFilter.cpp
rename : editor/composer/src/nsComposeTxtSrvFilter.h => editor/composer/nsComposeTxtSrvFilter.h
rename : editor/composer/src/nsComposerCommands.cpp => editor/composer/nsComposerCommands.cpp
rename : editor/composer/src/nsComposerCommands.h => editor/composer/nsComposerCommands.h
rename : editor/composer/src/nsComposerCommandsUpdater.cpp => editor/composer/nsComposerCommandsUpdater.cpp
rename : editor/composer/src/nsComposerCommandsUpdater.h => editor/composer/nsComposerCommandsUpdater.h
rename : editor/composer/src/nsComposerController.cpp => editor/composer/nsComposerController.cpp
rename : editor/composer/src/nsComposerController.h => editor/composer/nsComposerController.h
rename : editor/composer/src/nsComposerDocumentCommands.cpp => editor/composer/nsComposerDocumentCommands.cpp
rename : editor/composer/src/nsComposerRegistration.cpp => editor/composer/nsComposerRegistration.cpp
rename : editor/composer/src/nsEditingSession.cpp => editor/composer/nsEditingSession.cpp
rename : editor/composer/src/nsEditingSession.h => editor/composer/nsEditingSession.h
rename : editor/composer/src/nsEditorSpellCheck.cpp => editor/composer/nsEditorSpellCheck.cpp
rename : editor/composer/src/nsEditorSpellCheck.h => editor/composer/nsEditorSpellCheck.h
rename : editor/composer/public/nsIEditingSession.idl => editor/composer/nsIEditingSession.idl
rename : editor/composer/src/res/EditorOverride.css => editor/composer/res/EditorOverride.css
rename : editor/composer/src/res/grabber.gif => editor/composer/res/grabber.gif
rename : editor/composer/src/res/table-add-column-after-active.gif => editor/composer/res/table-add-column-after-active.gif
rename : editor/composer/src/res/table-add-column-after-hover.gif => editor/composer/res/table-add-column-after-hover.gif
rename : editor/composer/src/res/table-add-column-after.gif => editor/composer/res/table-add-column-after.gif
rename : editor/composer/src/res/table-add-column-before-active.gif => editor/composer/res/table-add-column-before-active.gif
rename : editor/composer/src/res/table-add-column-before-hover.gif => editor/composer/res/table-add-column-before-hover.gif
rename : editor/composer/src/res/table-add-column-before.gif => editor/composer/res/table-add-column-before.gif
rename : editor/composer/src/res/table-add-row-after-active.gif => editor/composer/res/table-add-row-after-active.gif
rename : editor/composer/src/res/table-add-row-after-hover.gif => editor/composer/res/table-add-row-after-hover.gif
rename : editor/composer/src/res/table-add-row-after.gif => editor/composer/res/table-add-row-after.gif
rename : editor/composer/src/res/table-add-row-before-active.gif => editor/composer/res/table-add-row-before-active.gif
rename : editor/composer/src/res/table-add-row-before-hover.gif => editor/composer/res/table-add-row-before-hover.gif
rename : editor/composer/src/res/table-add-row-before.gif => editor/composer/res/table-add-row-before.gif
rename : editor/composer/src/res/table-remove-column-active.gif => editor/composer/res/table-remove-column-active.gif
rename : editor/composer/src/res/table-remove-column-hover.gif => editor/composer/res/table-remove-column-hover.gif
rename : editor/composer/src/res/table-remove-column.gif => editor/composer/res/table-remove-column.gif
rename : editor/composer/src/res/table-remove-row-active.gif => editor/composer/res/table-remove-row-active.gif
rename : editor/composer/src/res/table-remove-row-hover.gif => editor/composer/res/table-remove-row-hover.gif
rename : editor/composer/src/res/table-remove-row.gif => editor/composer/res/table-remove-row.gif
rename : editor/composer/src/res/text_caret.png => editor/composer/res/text_caret.png
rename : editor/composer/src/res/text_caret@1.5x.png => editor/composer/res/text_caret@1.5x.png
rename : editor/composer/src/res/text_caret@2.25x.png => editor/composer/res/text_caret@2.25x.png
rename : editor/composer/src/res/text_caret@2x.png => editor/composer/res/text_caret@2x.png
rename : editor/composer/src/res/text_caret_tilt_left.png => editor/composer/res/text_caret_tilt_left.png
rename : editor/composer/src/res/text_caret_tilt_left@1.5x.png => editor/composer/res/text_caret_tilt_left@1.5x.png
rename : editor/composer/src/res/text_caret_tilt_left@2.25x.png => editor/composer/res/text_caret_tilt_left@2.25x.png
rename : editor/composer/src/res/text_caret_tilt_left@2x.png => editor/composer/res/text_caret_tilt_left@2x.png
rename : editor/composer/src/res/text_caret_tilt_right.png => editor/composer/res/text_caret_tilt_right.png
rename : editor/composer/src/res/text_caret_tilt_right@1.5x.png => editor/composer/res/text_caret_tilt_right@1.5x.png
rename : editor/composer/src/res/text_caret_tilt_right@2.25x.png => editor/composer/res/text_caret_tilt_right@2.25x.png
rename : editor/composer/src/res/text_caret_tilt_right@2x.png => editor/composer/res/text_caret_tilt_right@2x.png
rename : editor/composer/src/res/text_selection_handle.png => editor/composer/res/text_selection_handle.png
rename : editor/composer/src/res/text_selection_handle@1.5.png => editor/composer/res/text_selection_handle@1.5.png
rename : editor/composer/src/res/text_selection_handle@2.png => editor/composer/res/text_selection_handle@2.png
2014-06-23 16:27:43 -07:00
Matt Woodrow
332afdd1cb Bug 1028216 - Backout 660cc013d558 (bug 952721) for causing b2g animation regressions. 2014-06-24 12:12:52 +12:00
Benoit Jacob
919b379ff0 Bug 1028588 - Fix dangerous public destructors in layout/ - r=dbaron 2014-06-23 18:40:01 -04:00
David Burns
875c0ad193 Bug 1024642: Update layout tests to incorporate rebeccapurple as color in element properties; r=dbaron 2014-06-23 10:24:17 +01:00
Benoit Jacob
61e163f753 Bug 1028420 - Non-unified build fails when using --enable-warnings-as-errors - bustage fix, no review 2014-06-23 14:49:09 -04:00
Ryan VanderMeulen
19f423c800 Merge m-c to inbound. 2014-06-23 10:57:40 -04:00
Ryan VanderMeulen
0c2067d9e5 Merge inbound to m-c. a=merge 2014-06-23 10:42:32 -04:00
Geoff Brown
04ad351c4e Bug 456899 - Avoid assertion "forgot to short-circuit a text run with zero-sized font?"; r=jfkthame 2014-06-23 08:35:52 -06:00
Gregory Szorc
3233507ed7 Bug 1027215 - Add reftest manifests to build config; r=mshal
reftest and crashtest manifests can now be added to the build
configuration via REFTEST_MANIFESTS and CRASHTEST_MANIFESTS,
respectively.

The master manifest files have been added to layout/moz.build.

This patch enables the deprecation of master reftest manifests but stops
short of doing it. In the future, we could declare reftest and crashtest
manifests in their nearest moz.build file and generate the master
manifest (consisting of a bunch of "include" directives) as part of
config.status.

--HG--
extra : rebase_source : 3503f787b14b24c38daf577a710e67b583476858
extra : histedit_source : 21e55b3d28ee83afb47f3f779251a13c2a90db5f
2014-06-17 17:59:03 -07:00
Gregory Szorc
d253af1991 Bug 1027215 - Rewrite print-manifest-dirs.py to use new manifest parser; r=roc
Now that we've established a slightly better Python reftest manifest
parser, switch the existing manifest parsing code in
print-manifest-dirs.py to use it.

--HG--
extra : rebase_source : 9559eb5aa47d08b9854a27ed012f2a795abc67f7
extra : histedit_source : 7a9a8942f9310c079a5ea4321a7f4f2ad17008d1
2014-06-17 17:37:09 -07:00
Gregory Szorc
9899663867 Bug 1027215 - Generic Python code for parsing reftest manifests; r=roc
The immediate goal of this patch is to give the build system and testing
tools the knowledge to identify reftest files and directories. Parsing
extra metadata out of reftest manifests is currently a non-requirement,
but may be supported some day.

--HG--
extra : rebase_source : 279680af28c9175f5babe458a57203e8b19ab724
extra : histedit_source : c0e463ea02f87a376ef48e2b25136e5f6be4e61a
2014-06-17 17:29:57 -07:00
Ms2ger
1ab8344d82 Backout revision 308e51eae10c for build bustage.
--HG--
rename : layout/style/CSSStyleSheet.cpp => layout/style/nsCSSStyleSheet.cpp
rename : layout/style/CSSStyleSheet.h => layout/style/nsCSSStyleSheet.h
2014-06-20 13:00:08 +02:00
Ms2ger
530bc74c8d Bug 1022855 - Rename nsCSSStyleSheet to mozilla::CSSStyleSheet; r=heycam
--HG--
rename : layout/style/nsCSSStyleSheet.cpp => layout/style/CSSStyleSheet.cpp
rename : layout/style/nsCSSStyleSheet.h => layout/style/CSSStyleSheet.h
2014-06-20 12:32:49 +02:00
Simon Montagu
5eca90017f Bug 789096 patch 8: use logical coordinates in nsBlockReflowState. r=jfkthame 2014-06-20 02:55:35 -07:00
Jonathan Watt
f1d16eb1ff Bug 1027645 - Eliminate all nsRenderingContext::AppUnitsPerDevPixel() callers and all non-propagating nsRenderingContext::DeviceContext() callers. r=roc 2014-06-20 07:42:30 +01:00
Timothy Nikkel
cad2a6f66e Bug 977831. Store layer event regions on thebes layer data in appunits relative to the reference frame until we finalize the thebes layer and then convert to layer coordinates. r=roc
Event regions weren't in a workable state prior to this. They were already stored relative to the reference frame, but in layer pixels.

Inside inactive layer managers the scale is always 1 regardless of the scale on the containing thebes layer (which is the scale it will actually be drawn at), and so the event regions did not take into account scale in this situation.

Storing the regions in appunits relative to the reference frame means we can just transform to the new reference frame (if it is different) when passing event regions up and out of inactive layer managers. The proper scale will be applied when we apply the event regions to the layer.
2014-06-19 22:56:36 -05:00
Brian Birtles
45ddde181f Bug 1025709 part 13 - Simplify ComputeSuitableScaleForAnimation; r=heycam
Now that animations and transitions are largely treated alike, we can remove
some redundant code in the processing of transform animations in
ComputeSuitableScaleForAnimation.
2014-06-20 12:39:26 +09:00
Brian Birtles
7bcfb501cb Bug 1025709 part 12 - Remove ElementTransitions; r=heycam
This patch replaces all references to ElementTransitions (now that it is empty)
with references to the base class, CommonElementAnimationData. It also takes the
opportunity to tidy up some of the call sites in nsLayoutUtils since they no
longer need to differentiate between animations and transitions.
2014-06-20 12:39:26 +09:00
Brian Birtles
530d14feb3 Bug 1025709 part 11 - Make ElementPropertyTransition::ValuePortionFor reuse GetComputedTimingAt; r=heycam
In order to remove redundant code and generally make transitions less special,
this patch reworks ValuePortionFor to reuse the existing code for calculation
the fractional distance of within the animation interval.
2014-06-20 12:39:26 +09:00
Brian Birtles
9c5549aaa5 Bug 1025709 part 10 - Move active layer notification out of CanPerformOnCompositorThread to call sites; r=heycam
A previous patch moved CanPerformOnCompositorThread to
CommonElementAnimationData including a FIXME saying that active layer
notification should happen at call sites. Now that the code for
GetAnimationsForCompositor is common, we can do the active layer notification
there.
2014-06-20 12:39:26 +09:00
Brian Birtles
4af742b557 Bug 1025709 part 9 - Move heavy lifting of GetAnimationsForCompositor from ElementAnimations/ElementTransitions to base class; r=heycam
This patch still leaves ElementAnimations|
ElementTransitions::GetAnimationsForCompositor as shortcuts
for the method now defined on CommonElementAnimationData.
2014-06-20 12:39:25 +09:00
Brian Birtles
5aba002a6b Bug 1025709 part 8 - Move CanPerformOnCompositorThread from ElementAnimations/ElementTransitions to the base class; r=heycam 2014-06-20 12:39:25 +09:00
Brian Birtles
04b8371079 Bug 1025709 part 7 - Move HasAnimationOfProperty from ElementAnimations/ElementTransitions to base class; r=heycam
This patch moves HasAnimationOfProperty to CommonElementAnimationData. It also
takes the chance to start removing some redundancy from nsLayoutUtils
/ ActiveLayerTracker. Some of this should never have been added in the first
place and some could have been removed earlier on but while we're fixing up
HasAnimationOfProperty it seems like an appropriate time to fix up its call
sites too.

Also, since HasAnimationOrTransition actually returns an object, not a bool, we
this patch renames it to GetAnimationsOrTransitions.
2014-06-20 12:39:25 +09:00
Brian Birtles
10e285db18 Bug 1025709 part 6 - Reuse nsAnimationManager::EnsureStyleRuleFor; r=heycam
In a number of places in nsAnimationManager we have the following sequence of
calls:

  CommonElementAnimationData::EnsureStyleRuleFor
  ElementAnimations::GetEventsAt
  nsAnimationManager::CheckNeedsRefresh

nsAnimationManager::EnsureStyleRuleFor already does exactly that so we should
just reuse it.

At the same time we rename EnsureStyleRuleFor to UpdateStyleAndEvents since
that's a bit more accurate. It's also confusing to have two methods of the same
name (but on different objects) that don't exactly correspond in terms of
the scope of what they do.
2014-06-20 12:39:25 +09:00
Brian Birtles
af843d9fd9 Bug 1025709 part 5 - Replace aIsThrottled bool value with an enum; r=heycam 2014-06-20 12:39:25 +09:00
Brian Birtles
ae594f7975 Bug 1025709 part 4 - Move EnsureStyleRuleFor from ElementTransitions and ElementAnimations to CommonElementAnimationData; r=heycam
Both ElementAnimations and ElementTransitions have an EnsureStyleRuleFor method.
The ElementAnimations version is a more general of the ElementTransitions one
with the exception that the ElementTransitions version checks for finished
transitions. This patch moves the code from ElementAnimations to
CommonElementAnimationData with one minor change: adding the checks for finished
transitions. The ElementTransitions version is removed.

Since the ElementAnimations version contains a second parameter, aIsThrottled,
callers of ElementTransitions must include this extra parameter. In
a subsequent patch we add an enum for this parameter to make call sites easier
to read.

The ElementAnimations version also sets the mNeedsRefreshes member so at the
same time we move mNeedsRefreshes to CommonElementAnimationData. Furthermore,
since the ElementAnimations version which we have adopted returns early if
mNeedsRefreshes is false, this patch ensures that when we call
EnsureStyleRuleFor from ElementTransitions::WalkTransitionRule, we set
mNeedsRefreshes to true first.

Another difference to account for is that the ElementTransitions version of
EnsureStyleRuleFor *always* sets mStyleRule (even if it doesn't add anything to
it) where as the ElementAnimations version only creates the rule when necessary
so we need to add a check to ElementTransitions::WalkTransitionRule that
mStyleRule is actually set before using it.
2014-06-20 12:39:24 +09:00
Brian Birtles
7c7ea66905 Bug 1025709 part 3 - Move delay calculation to GetComputedTimingAt; r=heycam
Now that an animation's delay is part of AnimationTiming--the struct we pass to
GetComputedTimingAt--it makes sense to act on it in GetComputedTimingAt.

This also happens to bring the procedures here closer to the algorithm
definitions in Web Animations.

As part of this refactoring, this patch converts ElementAnimation::IsRunningAt
to use GetComputedTiming since the previous approach no longer works now that
GetLocalTimeAt (nee ElapsedDurationAt) no longer handles delays. This also
removes duplicated logic.

Also, previously ElapsedDurationAt would assert if called on a finished
transition since TimeDuration's - operator wouldn't like the null mStartTime.
This patch adds an assertion for this case to GetLocalTimeAt to ease debugging.
2014-06-20 12:39:24 +09:00
Brian Birtles
6607a15a60 Bug 1025709 part 2 - Add IsFinished() to ElementAnimation; r=heycam
One of the main differences in handling a list of transitions vs a list of
regular animations is that when we are dealing with a list of transitions we
need to check for transitions that have finished and are about to be discarded
but need to be retained temporarily to provide correct triggering of subsequent
transitions. Such transitions are marked as "removed sentinels" and are ignored
for most operations.

This patch moves the methods for setting and checking such transitions to the
base class ElementAnimation so that we can treat animations and transitions
alike without having to downcast or do obscure checks for mStartTime.IsNull()
(which equates to checking if the animation is a "removed sentinel" but is not
particularly clear).

In the process, this patch renames said methods to Is/SetFinishedTransition
since hopefully that is a little easier to understand at a glance.
2014-06-20 12:39:24 +09:00
Brian Birtles
292c410c9e Bug 1025709 part 1 - Move mDelay to AnimationTiming; r=heycam
This patch is the first part in preparing the way to merge ElementTransitions
with CommonElementAnimationData (which we'll eventually rename to something
nicer).

Here we move mTiming from CommonElementAnimationData to the AnimationTiming
struct. While this is not strictly necessary in order to do the later
refactoring it makes it simpler since it:

- Divides time calculation into calculation based on dynamic play state (the
  responsibility of animation players in Web Animations terms) and static
  author-specified timing parameters (a property of animations in Web Animations
  terms).
- In future we will probably put animations on the compositor during their
  delay phase so we will want the delay to be present in the AnimationTiming
  struct then.
- Makes AnimationTiming line up with the dictionary of the same name in Web
  Animations.
2014-06-20 12:39:23 +09:00
Daniel Holbert
0822868c7c Bug 1024328: Remove unnecessary #includes of nsFrameManager.h. r=jwatt 2014-06-19 22:07:46 -04:00
Kyle Huey
fcaab74dfe Bug 737976: Remove nsINodeInfo. r=smaug
--HG--
rename : content/base/src/nsNodeInfo.cpp => dom/base/NodeInfo.cpp
rename : content/base/public/nsINodeInfo.h => dom/base/NodeInfo.h
rename : content/base/src/nsNodeInfo.h => dom/base/NodeInfoInlines.h
2014-06-19 19:01:40 -07:00
Wes Kocher
08b6cf7c19 Merge m-c to inbound despite the CLOSED TREE 2014-06-19 18:29:15 -07:00
Wes Kocher
0581005adc Merge inbound to m-c a=merge 2014-06-19 18:07:43 -07:00
Ed Morley
f3a3d4c30e Merge mozilla-central and b2g-inbound 2014-06-19 17:20:14 +01:00
Mike Habicher
012314ddc7 Bug 990122 - move prefs used by camera to CameraPreferences, r=ehsan 2014-06-19 09:20:49 -04:00
James Kitchener
727039eba3 Bug 330964 - Mark tablespacing tests as failing for B2G. r=karlt 2014-06-18 06:51:00 -04:00
James Kitchener
7092c5c43d Bug 330964 - Tests for mtable row/column/framespacing. r=fredw
--HG--
rename : layout/reftests/mathml/dir-6-ref.html => layout/reftests/mathml/dir-6a-ref.html
rename : layout/reftests/mathml/dir-6.html => layout/reftests/mathml/dir-6a.html
2014-06-18 06:49:00 -04:00
James Kitchener
9da26e16a4 Bug 330964 - Add rowspacing/columnspacing/framespacing to MathML mtable. r=fredw 2014-06-18 06:57:00 -04:00
James Kitchener
b0db76df02 Bug 330964 - Make nsTableFrame::GetCellSpacing[XY] take an argument. r=roc 2014-06-18 06:47:00 -04:00
Jonathan Kew
9bbc02bf93 bug 871453 - part 4 - reftests for the font-synthesis property. r=jdaggett 2014-06-19 08:09:24 +01:00
Benoit Girard
2ff2a27904 backout d4bf4c76854e for causing mochitest-other failures 2014-06-19 00:35:54 -04:00
Andrew McCreight
5204704b9f Bug 1011391 - Clear rule cascades in nsCSSStyleSheet's Unlink. r=bz 2014-06-18 15:33:30 -07:00
Cameron McCormack
8d9032c828 Bug 1026903 - Make nsStyleContext members private. r=dbaron 2014-06-19 13:19:39 +10:00
Cameron McCormack
eca9987686 Bug 1026345 - Remove the now unused nsStyleContext allocation functions. r=dbaron 2014-06-19 13:19:11 +10:00
Cameron McCormack
c9c32895af Bug 1026344 - Part 4: Make nsStyleCoord::Calc refcounted and introduce a non-refcounted nsStyleCoord::CalcValue. r=dbaron
This means that style structs holding computed calc() values are now able to be
stored in the rule tree.
2014-06-19 13:18:03 +10:00
Cameron McCormack
0481c2caf3 Bug 1026344 - Part 3: Rename CalcValue to PixelCalcValue. r=dbaron 2014-06-19 13:17:56 +10:00
Cameron McCormack
449b6e8040 Bug 1026344 - Part 2: Make nsStyleUnit a uint8_t-sized enum so we can use it on nsStyle{Sides,Corners}. r=dbaron 2014-06-19 13:17:10 +10:00
Cameron McCormack
536eadab02 Bug 1026344 - Part 1: Don't use memcpy to copy style structs. r=dbaron
This is in preparation for nsStyleCoords becoming non-POD types.  The
use of memcpy is a bit of a trap when modifying the style structs, and
it likely has marginal value now that anything with an nsStyleCoord
can't be memcpy-initialized.
2014-06-19 13:17:10 +10:00
Birunthan Mohanathas
f475f7189b Bug 1026535 - Fix mismatched class/struct tags. r=ehsan 2014-06-18 17:57:51 -07:00
Benoit Girard
b157cafcb0 Bug 1027380 - Don't paint flash for inactive layer manager. r=mattwoodrow
--HG--
extra : rebase_source : 29238270960b22c3391c59e68d3cced748984650
2014-06-18 21:22:54 -04:00
Benoit Girard
f726ec785a Bug 1027433 - Reported throttled transaction to the profiler. r=mattwoodrow
--HG--
extra : rebase_source : 348571e878f4068247f8adfda284233b61b610b0
2014-06-18 21:21:39 -04:00
Benoit Jacob
69358080cf Bug 1027251 - Fix or whitelist dangerous public destructors in layout/ - r=dbaron 2014-06-18 22:28:59 -04:00
Andrew Halberstadt
d638652838 Bug 997244 - Move emulator.py out of marionette and into mozrunner, r=wlach,mdas,jgriffin 2014-06-19 14:17:26 -04:00
Nicholas Nethercote
39f29c384a Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
L. David Baron
502b0ac364 Bug 1026768 - Pass the restyle hint through from ProcessOneRestyle to ComputeStyleChangeFor rather than converting it to a boolean and back. r=heycam
This was originally bug 996796 patch 6, but it's also needed bug 931668,
so I'm moving it into its own bug.
2014-06-18 17:07:26 -07:00
L. David Baron
c618b22345 Bug 996798 - Add a typedef to make it easier to change the size of nsWrapperCache/nsINode flags. r=bzbarsky 2014-06-18 17:07:26 -07:00
Wes Kocher
0771859834 Backed out changeset 81a51de30a2a (bug 997244) for breaking b2g emulator mochitests on an otherwise CLOSED TREE 2014-06-18 14:15:48 -07:00
Susanna Bowen
4451470f2b Bug 727125 - Update overflow areas for text frames on text-decoration change to ensure text-decoration on hover is visible. r=dbaron 2014-06-17 10:32:00 -04:00
Susanna Bowen
5161839fdc Bug 727125 - Lazily compute LineBaselineOffset when needed so it is present after a dynamic change of 'text-decoration'. r=dbaron
This fixes the positioning of underlines set on a block or its ancestor
when drawn on children of a block that have a vertical-align !=
baseline.

The lazy computation is done all at once for all children of a block to
avoid O(N^2) searches for the line containing a frame.
2014-06-18 12:55:00 -04:00
Andrew Halberstadt
0b14f45d59 Bug 997244 - Pull emulator.py out of marionette and into mozrunner, r=wlach,mdas,jgriffin 2014-06-18 13:30:12 -04:00
Seth Fowler
21b90d48e2 Bug 1023618 - Ensure that win.document.documentElement exists before using it. r=roc 2014-06-16 20:57:35 -07:00
Benoit Girard
c1e4a09735 Bug 1027496 - Stream display list and layers dump. r=mattwoodrow 2014-06-19 18:36:25 -04:00
Andrew McCreight
3384df9ada Bug 990160 - Cycle collect nsCSSRuleProcessor. r=bz 2014-06-19 14:36:53 -07:00
Benjamin Chen
83d0cab023 Bug 969372: part1: Change the prototype of FreezableElementEnumerator in nsIDocument from nsIContent to nsISupports, and rename it to ActivityObservers. r=roc 2014-06-19 10:09:35 +08:00
James Kitchener
1296f2e758 Bug 330964 - Fix cellspacing call in CalcUnpaginagedHeight. r=roc 2014-02-23 05:00:00 -05:00
Jonathan Watt
245e88dc7c Bug 932198 - Convert nsSVGPatternFrame from using gfxASurface to using Moz2D APIs. r=longsonr 2014-06-18 01:07:21 +01:00
Boris Zbarsky
8c10199577 Bug 1019194 part 2. Get rid of the XPCOM contract way of creating an IndexedDatabaseManager. r=khuey 2014-06-17 15:01:47 -04:00
Jonathan Watt
0324bd5749 Bug 1025553, part 1 - Change the names of the members of gfxMatrix to match the names of the members of Moz2D's Matrix. r=Bas 2014-06-17 18:35:51 +01:00
Ehsan Akhgari
baf1bebd32 Fix the places where we forward declare already_AddRefed as a struct, no bug, r=I'm-sick-and-tired-of-MSVC-stupidity 2014-06-17 10:57:23 -04:00
Simon Montagu
01417f0400 Bug 789096 patch 7: Use logical coordinates in nsBlockReflowContext. r=jfkthame 2014-06-17 07:41:35 -07:00
Simon Montagu
9ad8539a61 Bug 789096: make method names in nsLineLayout correspond to the respective CSS properties. r=jfkthame 2014-06-17 07:41:33 -07:00
Josiah Bruner
246fa4cdb5 Bug 1021309 - Add "mac-yosemite-theme" CSS system metric. r=mstange 2014-06-05 18:02:46 -04:00
Simon Montagu
36dfc0d94f Replace GetBaseline with GetLogicalBaseline and use logical coordinates in the line position and baseline getters in nsLayoutUtils. Bug 789096, r=jfkthame 2014-06-17 05:19:38 -07:00
Martin Stransky
d43691a8b7 Bug 957396 - Enlarge container constraints when MinSize is bigger than MaxSize. r=enndeakin 2014-06-11 05:03:00 +02:00
Susanna Bowen
556e2a7f1a Bug 1025308 - Rename the variables associated with skipping style fixups for children element's based on parent display value. r=mats 2014-06-16 09:55:00 -04:00
Nathan Froyd
ad9d2bf854 Bug 1025959 - disable checks for webapp updates during tests; r=jmaher 2014-06-16 11:47:05 -04:00
Benoit Girard
2175dbff83 Bug 1024148 - Part 2: Merge nsDisplayOpacity into nsDisplayBackgroundColor. r=mattwoodrow
--HG--
extra : rebase_source : c48cc799414ff83b74caff8df5503a743dbf74b1
2014-06-14 11:10:45 -04:00
Benoit Girard
8147665edf Bug 1024148 - Part 1: Merge nsDisplayOpacity items together. r=mattwoodrow
--HG--
extra : rebase_source : f461cb97357c854db22122b40777358a17f736ec
2014-06-12 11:34:35 -04:00
Wes Kocher
b29250a3a3 Backed out 2 changesets (bug 727125) for reftest bustage on an otherwise CLOSED TREE
Backed out changeset 443361e2724a (bug 727125)
Backed out changeset 16c8d78df86e (bug 727125)
2014-06-16 13:34:50 -07:00
Susanna Bowen
de5185bcd2 Bug 727125 - Update overflow areas for text frames on text-decoration change to ensure text-decoration on hover is visible. r=dbaron 2014-06-16 11:58:29 -07:00
Susanna Bowen
2b2979c881 Bug 727125 - Lazily compute LineBaselineOffset when needed so it is present after a dynamic change of 'text-decoration'. r=dbaron
This fixes the positioning of underlines set on a block or its ancestor
when drawn on children of a block that have a vertical-align !=
baseline.

The lazy computation is done all at once for all children of a block to
avoid O(N^2) searches for the line containing a frame.
2014-06-16 11:58:25 -07:00
Neil Deakin
3ffa4a4bb2 Bug 994117, delay popupshown event until after the opening transition has finished, if one exists, which also fixes the issue causing bug 989991, so enable the animation on the main panel, r=neil 2014-06-16 14:43:07 -04:00
Neil Deakin
ea26b1b89f Bug 994117, add method to check if an element has current animations, r=bbirtles 2014-06-16 14:43:04 -04:00
Carsten "Tomcat" Book
673f063963 Backed out changeset 1f21c62b41eb (bug 330964) for emulator opt reftest-12 test failures 2014-06-16 13:09:21 +02:00
Carsten "Tomcat" Book
d491520992 Backed out changeset 248103817c8b (bug 330964) 2014-06-16 13:08:53 +02:00
Carsten "Tomcat" Book
df69dec325 Backed out changeset d70b7473bff7 (bug 330964) 2014-06-16 13:08:51 +02:00
Carsten "Tomcat" Book
a41d2b18d7 Backed out changeset b662e2341b4a (bug 330964) 2014-06-16 13:08:46 +02:00
Ting-Yu Lin
79490d42f8 Bug 1024848 - part 2 - Enable selection carets sanity tests on Windows browser. r=mdas 2014-06-13 02:34:00 +02:00
Ting-Yu Lin
0a196bc8cb Bug 1024848 - part 1 - Improve selection carets test cases. r=mdas
On Windows, when selecting a word by long pressing, extra spaces after
the word will also be selected. To solve this problem, I redesign the
test cases by comparing the target content with the selected content
directly while ignoring spaces at certain test cases. I believe it's
easier to understand and less error-prone than the old
replace-selected-content-and-compare way.

I added a new method SelectionManager.selected_content() to make it
easier to get the current selected text.
2014-06-13 02:33:00 +02:00
James Kitchener
dc9e6bfd0f Bug 330964 - Add rowspacing/columnspacing/framespacing to MathML mtable. r=fredw 2014-06-15 07:23:00 +02:00
James Kitchener
c031e6981d Bug 330964 - tests for mtable row/column/framespacing. r=fredw
--HG--
rename : layout/reftests/mathml/dir-6-ref.html => layout/reftests/mathml/dir-6a-ref.html
rename : layout/reftests/mathml/dir-6.html => layout/reftests/mathml/dir-6a.html
2014-06-15 01:10:00 +02:00
James Kitchener
ca100268e1 Bug 330964 - Make nsTableFrame::GetCellSpacing[XY] take an argument. r=roc 2014-06-15 00:53:00 +02:00
James Kitchener
6cccf0fbc2 Bug 330964 - Fix cellspacing call in CalcUnpaginagedHeight. r=roc 2014-02-23 05:00:00 +01:00
Xidorn Quan
71ecac82d4 Bug 1025359 - Correct -moz-tamil according to Predefined Counter Styles. r=jfkthame 2014-06-13 17:01:00 +02:00
Xidorn Quan
a979fe44b7 Bug 985825 - Unprefix -moz-ethiopic-numeric. r=jfkthame 2014-06-13 17:37:00 +02:00
Xidorn Quan
472c7c2172 Bug 982355 - Support disclosure-{open,closed} counter styles. r=jfkthame 2014-06-13 17:34:00 +02:00
Andrew McCreight
f9af183166 Bug 1025170 - Selection::Modify should return on failure. r=bz 2014-06-14 16:43:46 -07:00
Mats Palmgren
40cd374d0d Bug 427928 - part 6, reftest for outline:auto. 2014-06-14 12:48:08 +00:00
Mats Palmgren
2398341e8a Bug 427928 - part 2, Add NS_THEME_FOCUS_OUTLINE to support drawing a native themed focus outline. r=roc 2014-06-14 12:48:07 +00:00
Mats Palmgren
270dc97973 Bug 427928 - part 1, Treat outline:auto as outline:solid. r=roc 2014-06-14 12:48:07 +00:00
"Kan-Ru Chen (陳侃如)"
65f9a38509 Bug 1020169 - Part 2. Register nested LayerTree. r=mattwoodrow
Use PCompositor::NotifyChildCreated which was ill-defined for
cross-process case.

Assume that for all LayerTrees managed by a CrossProcessCompositorParent
all share the same CompositorParent.
2014-06-14 15:25:02 +08:00
Benoit Jacob
4e23e75d75 Bug 774388 - Patch 4: Flatten the way that we track whether we are using OMTC, and move Layers IPC shutdown code back to gfxPlatform (but still triggered by ShutdownXPCOM) - r=nical,sotaro 2014-06-06 09:51:24 -04:00
Wes Kocher
ac5b9bac1b Merge inbound to m-c a=merge 2014-06-13 17:00:46 -07:00
Chris Lord
43310b9b82 Bug 1006084 - Allow ThebesLayers to be recreated when the creation hint changes. r=mattwoodrow 2014-06-13 17:11:08 +01:00
Andrew Halberstadt
3a7cd7fbd9 Bug 981477 - Adjust wrongfully annotated b2g oop reftests from fails to random, r=edmorley 2014-06-13 10:05:52 -04:00
Ryan VanderMeulen
2921c4798a Merge m-c to inbound on a CLOSED TREE. a=merge 2014-06-12 17:32:33 -04:00
Ryan VanderMeulen
b62be80252 Bug 1019441 - Skip test_selectioncarats on Windows. a=permafail 2014-06-12 16:05:58 -04:00
Ed Morley
4e18995ffc Merge mozilla-central and b2g-inbound 2014-06-12 16:02:18 +01:00
John Daggett
96daffd7c5 No bug. Add FiraSans Regular to reftest fonts, no effect on build. r=me 2014-06-12 16:15:38 +09:00
Brian Birtles
a3321a71fe Bug 1004377 - Dispatch events for CSS Animations with empty keyframes rules; r=dholbert
This patch removes the check that skipped queueing events for animations
without keyframes since the spec indicates such animations should dispatch
events.

There is a further correctness fix here for the case where a keyframes rule
is modified using the CSSOM so that it becomes empty. Previously when we
came to create the new animation rules we would end up setting
ElementAnimations::mNeedRefreshes to false since we check if the keyframes
rule is empty and if it is we would skip all further processing (including
setting mNeedsRefreshes).

That means that:
(a) We may end up unregistering from the refresh observer so we would never
    dispatch the end event for such an animation.
(b) If the animation was running on the compositor we may never remove it from
    the compositor or may not do it in a timely fashion.

To fix both these problems, this patch removes the check for an empty keyframes
rule so that mNeedsRefreshes is set in this case.
2014-06-12 13:18:14 +09:00
Brian Birtles
c52bcc84be Bug 1018862 part 8 - Add special handling for non-invertible transforms; r=dholbert
This patch adjusts the tests for transform transitions that run on the
compositor to handle transitions that begin with a non-invertible transform.
In this case the first sample at the start of the animation won't create
a layer because in nsDisplayTransform::BuildLayer
/ FrameLayerBuilder::BuildContainerLayerFor we'll skip creating the layer once
we notice the equivalent matrix is singular.

In this patch we detect that case and force an extra sample betwee 0 and 200s at
100s. This means the layer will be created at t=100s and be available for
querying at the next sample.

Similar issues could occur, for example, if the transforms at both t=0s
and t=100s are not invertible but currently that doesn't occur. We can add
handling for that if and when it becomes necessary.
2014-06-12 13:17:47 +09:00
Brian Birtles
35b202d6fe Bug 1018862 part 7 - Convert test_transitions_per_property.html to use OMTA test methods; r=dholbert
This patch takes the existing tests for transitions running on the compositor
and makes them re-use the same test utility methods as used for testing CSS
Animations that run on the compositor. This means these tests now also check
that the transition is in fact running on the compositor when it is expected to.

It seems the big_omta_round_error is no longer needed so I've removed that.

The test that begins with "skew(45deg, 45deg)" currently fails so it is skipped
here. This is addressed in the next patch in the series.
2014-06-12 13:17:47 +09:00
Brian Birtles
81648220ed Bug 1018862 part 6 - Fix handling of 3d matrices in omta_is and co.; r=dholbert
This patch fixes a bug in the handling of 3d matrices represented as an array of
numbers.
2014-06-12 13:17:47 +09:00
Brian Birtles
7f66f0dad5 Bug 1018862 part 5 - Move paint listener promise wrappers to animation_utils.js; r=dholbert
This patch moves some utility methods from test_animations_omta.html to
animation_utils.js so that they can be used for testing transitions as well.
2014-06-12 13:17:47 +09:00
Brian Birtles
50db82f829 Bug 1018862 part 4 - Move omta_is and friends to animation_utils.js; r=dholbert
This patch simply moves code from test_animations_omta.html to
animation_utils.js so that we can use it for testing transitions as well.
2014-06-12 13:17:47 +09:00
Brian Birtles
5358815649 Bug 1018862 part 3 - Fix the order of arguments to omta_is_approx; r=dholbert
This patch simply re-arranges the order of arguments to omta_is_approx so that
the delta sits along side the values being compared.

This, I think, makes more sense and also is more consistent when converting
tests from test_animations.html to test_animations_omta.html since the
"RunningOn" parameter is consistently inserted in the second-to-last position
just before the description for both omta_is and omta_is_approx.
2014-06-12 13:17:47 +09:00
Brian Birtles
d72c83769e Bug 1018862 part 2 - Make new_div no longer secretly flush styles; r=dholbert
This patch removes the line from new_div that forced a style flush. This was
very confusing because:
* It behaved differently to new_div in test_animations.html so copying tests
  over was more complex (particularly when registering for events is involved).
* It meant after setting up initial style using new_div you could just call
  waitForPaints but if you updated style using elem.style you'd need to call
  waitForPaintsFlushed.

In adjusting test_animations_omta.html we are able to simplify the tests
somewhat. This patch also adds a few additional checks that waiting to update
the compositor does not produce different results.
2014-06-12 13:17:47 +09:00
Brian Birtles
873ce438a9 Bug 1018862 part 1 - Factor out common async animation test methods; r=dholbert
This patch moves some test utility methods from test_animations_omta.html to
animation_utils.js. It also renames addAsyncTest to addAsyncAnimTest and
likewise for a few other methods.
2014-06-12 13:17:46 +09:00
Seth Fowler
81898fc75d Bug 1023618 - Always call FlushRendering in the reftest harness. r=roc 2014-06-11 20:21:08 -07:00
Wes Kocher
bcb140bc6f Merge m-c to inbound 2014-06-11 18:38:53 -07:00
Ed Morley
446d6e3518 Merge mozilla-central and b2g-inbound 2014-06-11 18:06:52 +01:00
Daniel Holbert
02d217e9e4 backout 703d26e9d979 (Bug 1024084) for Android bustage, on a CLOSED TREE 2014-06-11 16:10:29 -07:00
Jonathan Watt
1fe4adc9cb Bug 1024138 - Remove the GetPresShell() and GetPresContext() methods from nsFrameManager. r=dholbert 2014-06-11 23:38:17 +01:00
Daniel Holbert
0d8943c0db Bug 1021913: Explicitly give the textfield in input[type="number"] a min-width of 0, so that "min-width:auto" won't block it from shrinking. r=jwatt 2014-06-11 15:35:18 -07:00
Daniel Holbert
9f3f65a9bf Bug 1024084: Use forward declarations instead of #includes for nsIFrame & nsContent in nsFrameManager.h. r=jwatt 2014-06-11 15:35:17 -07:00
Jonathan Watt
0b5ed58163 Bug 1016680, part 3 - DeCOMify nsGenConNode::mText. r=dholbert 2014-06-11 23:11:15 +01:00
Jonathan Watt
e9faab1c1b Bug 1018324 - Restore inIFlasher, but with drawElementOutline and repaintElement as no-ops. r=bz 2014-06-11 21:29:15 +01:00
Olli Pettay
2672babef6 Bug 1023280 - Rename dictionary.ToObject to ToObjectInternal, r=bz 2014-06-11 22:38:55 +03:00
Ed Morley
3ec4e3a87b Backed out changeset 21a9c0fde1db (bug 467442) for crashes 2014-06-11 18:06:44 +01:00
Ting-Yu Lin
0c30fcf209 Bug 960897 - Add marionette test cases for touch caret. r=roc, r=mdas
Add marionette test cases for touch caret feature in bug 924692. Test
cases cover <input>, <textarea>, and contenteditable elements with
touch caret enabled and disabled.

Enlarge touch caret expiration time to 60 seconds to avoid intermittent
test failures in test cases which need to move touch caret.

Thanks Phoebe Chang <natsuki011077@gmail.com> for the WIP patch.
Thanks C.J. Ku <cku@mozilla.com> for various suggestions.

Run tests on browser manually:
./mach marionette-test layout/base/tests/marionette/test_touchcaret.py
2014-06-11 02:48:00 -04:00
Wes Kocher
1065aa48a9 Merge b2g-inbound to m-c a=merge 2014-06-10 18:37:54 -07:00
Jonathan Watt
4bfe09e6ca Bug 989230 follow-up to increase fuzziness for reftest on Windows. r=orange 2014-06-11 12:14:19 +01:00
Jonathan Watt
0193137a96 Bug 1016680, part 2 - Report the memory used by PresShell::mVisibleImages and PresShell::mFramesToDirty. r=dholbert
--HG--
extra : rebase_source : 0d348e97861917c67862271c4c4ee9f51b007255
2014-06-11 11:20:52 +01:00
Jonathan Watt
d47675ca22 Bug 1016680, part 1 - Report the memory used by RuleCascadeData::mKeyframesRuleTable. r=dholbert
--HG--
extra : rebase_source : 97bd8b0ddef514e9eb218eac783c3af892a8014e
2014-06-11 11:20:50 +01:00
Simon Montagu
16bbd0f24e Replace Get/SetTopAscent with Get/SetBlockStartAscent. Bug 789096, r=jfkthame 2014-06-11 02:45:31 -07:00
Jonathan Watt
f2c9f69fad Bug 989230 reftest - Test that gradient spreadMethod=reflect works. r=longsonr 2014-06-11 10:38:44 +01:00
Ryan VanderMeulen
8c33e2b23c Bug 1023472 - Disable test_bug935876.html on Android for perma-failing when pushed to a different chunk.
CLOSED TREE
2014-06-10 14:54:46 -04:00
Ting-Yu Lin
f912c3b2a5 Bug 1019441 - Part 2: Add marionette test cases for selection carets. r=roc, r=mdas
Add marionette test cases for selection carets feature in bug 987718.
Test cases target <input>, <textarea>, editable and non-editable
elements.

Run tests on browser manually:
./mach marionette-test layout/base/tests/marionette/test_seletioncarets.py

Run tests on b2g emulator manually:
./mach marionette-webapi layout/base/tests/marionette/test_seletioncarets.py
2014-06-11 06:28:00 -04:00