Commit Graph

193915 Commits

Author SHA1 Message Date
Brian Birtles
98e75eda6c Bug 1032573 part 4 - Add AnimationTimeline::ToTimelineTime helper method; r=dbaron
This patch simply factors out the conversion from a TimeStamp value to
a nullable-double value relative to the start of the timeline. This is so that,
in a subsequent patch, this functionality can be reused by ElementAnimation
when it reports its start time (which is currently recorded as a TimeStamp).
2014-07-16 09:02:30 +09:00
Brian Birtles
5994332d88 Bug 1032573 part 3 - Add AnimationTimeline::GetCurrentTimeStamp; r=dbaron
AnimationTimeline::GetCurrentTime returns the time value of the timeline as
a double. For internal calculations however it is more useful to get this as
a mozilla::TimeStamp.

This patch splits the calculation of the current time into two stages:
calculation as a timestamp then conversion to a double.
2014-07-16 09:02:30 +09:00
Brian Birtles
8b0b848c5a Bug 1032573 part 2 - Add a timeline member to ElementAnimations; r=dbaron
When we expose ElementAnimation objects to script they need to have a parent
object so they can be associated with a Window.

This patch adds a pointer from an ElementAnimation to its AnimationTimeline.
2014-07-16 09:02:30 +09:00
Brian Birtles
f0ba010439 Bug 1032573 part 1 - Don't overload start time for marking finished transitions; r=dbaron
When transitions finish, we keep them around for one additional throttle-able
tick to provide correct behavior for subsequent transitions that may be
triggered. Prior to this patch we did this by overloading the start time of the
animation and setting it to null in this case.

However, if we begin returning ElementAnimation objects to script, script can
hold on to those objects and query their start time even after they are
finished. Therefore we need another means of marking finished transitions that
doesn't clobber the start time field.

This patch introduces a new boolean member for marking such transitions.

While we're touching IsFinishedTransition we also take the chance to tidy up one
of the call sites, namely IsCurrentAt, to make the logic a little easier to
follow.
2014-07-16 09:02:29 +09:00
Anthony Jones
f96b22a4c6 Bug 1038971 - Fix libav frame ordering; r=edwin 2014-07-16 11:54:26 +12:00
Andrew McCreight
64fa835d97 Bug 1038853 - Use nullptr instead of 0 in Shmem.h and Shmem.cpp. r=bent 2014-07-15 16:51:44 -07:00
Bobby Holley
c9b6af3770 Bug 1037264 - Add an 8-bit short-lived string cache. r=neil 2014-07-15 16:30:51 -07:00
Bobby Holley
67f78da3a9 Bug 1037264 - Factor out short-lived string buffer into a templated helper class. r=neil 2014-07-15 16:30:50 -07:00
Wes Kocher
78f6be009c Backed out 1 changesets (bug 1005225) for Gu permared
Backed out changeset 452d8502bea1 (bug 1005225)
* * *
Backed out 2 changesets (bug 1005225, bug 1030936) for Gu permared

Backed out changeset 32a1fa1b28d5 (bug 1030936)
Backed out changeset 61d41b381f30 (bug 1005225)
2014-07-15 16:18:50 -07:00
Wes Kocher
e656ec43b4 Backed out changeset f4592864c982 (bug 1037360) for b2g mochitest-9 failures 2014-07-15 15:45:38 -07:00
Ralph Giles
af45cd41dc Bug 1037689 - Document MP4Sample timestamp units. r=ajones
These look to be returning values in microseconds, already
adjusted by the stream's internal timescale.
2014-07-14 14:19:00 -07:00
Bas Schouten
b9a7152efc Bug 1036785: Use DIBs for drawing when not using opaque surfaces. r=nical 2014-07-10 23:29:40 +02:00
Bas Schouten
1a3c189ac3 Bug 1036785 - Tests: Fuzz some tests to mask subpixel-AA differences. r=jrmuizel 2014-07-15 23:40:32 +02:00
Nikhil Marathe
ad52c11b44 Bug 983497 - Patch 2: Fire updatefound on ServiceWorkerContainers. r=ehsan
--HG--
extra : transplant_source : %98%1B%D73y%CF%A9%3Fb%DAR%DC%25%A9S%15%22%CF%C4%1B
2014-07-11 16:00:52 -07:00
Nikhil Marathe
1d4f2c7f6d Bug 983497 - Patch 1: Infrastructure to fire events on ServiceWorkerContainers. r=ehsan,smaug
--HG--
extra : transplant_source : S1z%F3%86%E5%CF%D6%3BWW%8E%1A%90%A3%94%7E%FE%E3z
2014-07-14 14:15:23 -07:00
Andrew McCreight
fae4030844 Bug 1036629 - Take a deathgrip on the runnable passed to NS_DispatchToCurrentThread. r=bsmedberg
This will prevent a leak of the runnable if it is passed in with a refcount of zero and the dispatch fails.
2014-07-15 14:29:14 -07:00
Christoph Kerschbaumer
7baffd6361 Bug 1005225: Follow up, changed uuid in the wrong idl (r=ckerschb) 2014-07-15 13:59:59 -07:00
Terrence Cole
3dd46cba68 Bug 1030577 - Move some GC guards below the GC_BEGIN callback; r=jonco
--HG--
extra : rebase_source : 6c4b6576242047a07cbc2cf0ed018e48e523550d
2014-07-15 13:47:09 -07:00
Sid Stamm
502fa82c14 Bug 1030936 - Remove CSP fast path for certified apps (r=fabrice)
--HG--
extra : rebase_source : 29ded0fc7b6cd320b234e45571239961513bd9ff
2014-07-15 13:31:47 -07:00
Christoph Kerschbaumer
e95172359b Bug 1005225 - CSP in C++: SImplify shouldProcess for CSP (r=sstamm)
--HG--
extra : rebase_source : a0e2bacb5376afde0ccc0487da6e3ceb70bfb09c
2014-07-07 10:15:36 -07:00
Ehsan Akhgari
f1b188feb8 Bug 1038156 - Give GPUAdapterReporter a private destructor; r=bjacob 2014-07-15 16:41:50 -04:00
Ehsan Akhgari
dc75936e5e Bug 1038190 - Give JumpListShortcut a private destructor; r=bjacob 2014-07-15 16:41:28 -04:00
Ehsan Akhgari
878aa1c893 Bug 1038158 - Give ReadbackResultWriter a private destructor; r=bjacob 2014-07-15 16:41:05 -04:00
Ehsan Akhgari
b75dc8fa6b Bug 1038166 - Give nsFilePicker a private destructor; r=bjacob 2014-07-15 16:40:41 -04:00
Ehsan Akhgari
8169ced264 Bug 1038170 - Give GfxInfo a private destructor; r=bjacob 2014-07-15 16:40:08 -04:00
Ehsan Akhgari
a18dfaf3ed Bug 1038187 - Give JumpListSeparator a private destructor; r=bjacob 2014-07-15 16:39:45 -04:00
Ehsan Akhgari
a3188f357f Bug 1038189 - Give JumpListLink a private destructor; r=bjacob 2014-07-15 16:39:22 -04:00
Ehsan Akhgari
85fc22371b Bug 1038193 - Give LSPAnnotationGatherer a private destructor; r=bjacob 2014-07-15 16:39:01 -04:00
Ehsan Akhgari
1cc140bd51 Bug 1038196 - Give WinWakeLockListener a private destructor; r=bjacob 2014-07-15 16:38:31 -04:00
Ehsan Akhgari
e962ee1725 Bug 1038200 - Fix the rest of the public refcounted destructors in widget/windows; r=bjacob 2014-07-15 16:37:58 -04:00
Ehsan Akhgari
aa47662f4d Bug 1038202 - Give MSCOMInitThreadPoolListener a private destructor; r=bjacob 2014-07-15 16:37:33 -04:00
Sotaro Ikeda
267307ff4f Bug 1037360 - Fix SharedBufferManagerParent's destruction r=jmuizelaar 2014-07-15 13:33:26 -07:00
Randell Jesup
b938bb593a Bug 1038879: ensure odd widths/heights in getUserMedia are handled correctly r=rillian 2014-07-15 15:49:01 -04:00
Andrew McCreight
83678d3e16 Bug 1038523 - Make IPDL generate nullptr for ExprLiteral.NULL. r=bent 2014-07-15 12:46:52 -07:00
Jed Davis
26c23fd575 Bug 1038490 - Fix misuse of MOZ_WIDGET_GONK in Linux content process sandbox policy. r=kang
--HG--
extra : amend_source : 0a7fe8ca751b59102cbc23316b18982268306423
2014-07-14 18:35:56 -07:00
Jed Davis
2a93c829f2 Bug 1038486 - Fix Linux desktop seccomp sandbox build on 32-bit x86. r=kang
--HG--
extra : amend_source : 130d2cbd485734997739ea96ac5d83c01899d8b0
2014-07-09 16:52:56 -07:00
Ehsan Akhgari
c926e29d01 Backed out changeset 32d47282044f (bug 1038411) because of build bustage on CLOSED TREE 2014-07-15 15:31:15 -04:00
Bobby Holley
464298e95d Bug 987678 - Stop doing all the crazy stuff in xbl-marquee. r=bz 2014-07-15 12:23:43 -07:00
Ehsan Akhgari
9750c2acae Bug 1038204 - Make two destructors in the Windows print GUI code private; r=bjacob 2014-07-15 15:00:15 -04:00
Ehsan Akhgari
1bdd0ff61d Bug 1038212 - Give nsNativeAppSupportWin a private destructor; r=bjacob 2014-07-15 14:59:20 -04:00
Ehsan Akhgari
ea38d20a97 Bug 1038213 - Give nsTestComFactory a private destructor; r=bjacob 2014-07-15 14:58:34 -04:00
Ehsan Akhgari
dacd893b8c Bug 1038219 - Give nsHapticFeedback a private destructor; r=bjacob 2014-07-15 14:58:11 -04:00
Ehsan Akhgari
71ba28f087 Bug 1038210 - Fix the public destructors for refcounted classes in Windows only code in accessible; r=bjacob 2014-07-15 14:57:48 -04:00
Ehsan Akhgari
2609c063b0 Bug 1038195 - Give some classes in the Windows taskbar code private destructors; r=bjacob 2014-07-15 14:57:14 -04:00
Ehsan Akhgari
b41e037c9d Bug 1038171 - Give JumpListItem a private destructor; r=bjacob 2014-07-15 14:56:36 -04:00
Ehsan Akhgari
51fa50433a Bug 1038164 - Give some classes in WinUtils.h private destructors; r=bjacob 2014-07-15 14:56:01 -04:00
Ehsan Akhgari
cf14bd6743 Bug 1038411 - Give myDownloadObserver a private destructor; r=bjacob 2014-07-15 14:55:04 -04:00
Ehsan Akhgari
442c0d2876 Bug 1038150 - Make nsAnonTempFileRemover's destructor private and also remove the useless ctor/dtor counting macros; r=bjacob 2014-07-15 14:54:15 -04:00
Benoit Girard
cb397e6eb5 Bug 1037691 - Fix instances where refcounted classes expose a public destructor. r=ehsan,bent,mayhemer,jrmuizel 2014-07-15 11:37:45 -04:00
Jeff Muizelaar
f98f9a7b13 Bug 1038727 - Convert APZ from nsAutoPtr to UniquePtr. r=kats
--HG--
rename : browser/components/loop/content/shared/js/views.jsx => browser/components/loop/content/shared/js/views.js
rename : toolkit/webapps/tests/test_custom_origin_uninstall_install.xul => toolkit/webapps/tests/test_custom_origin.xul
extra : rebase_source : 2448597696cbf24512b54b6acbdfb52b71995dde
2014-07-15 13:44:37 -04:00