Olli Pettay
a59ad13258
Bug 641821, MutationObserver, r=sicking
...
--HG--
extra : rebase_source : a680c883b22976edf38eea23fb516215e081084f
2012-03-31 09:30:13 -07:00
Boris Zbarsky
2ceaeb679d
Bug 598482 part 23. Set a backup timer to update plugin geometry if we don't manage to do any painting or layout flushes for a while. r=roc
2011-12-23 22:52:26 -05:00
Markus Stange
7a8ceb30a5
Bug 598482 part 11 - Set up a connection between the view manager and the refresh driver. r=roc
2011-12-23 22:52:22 -05:00
Phil Ringnalda
5c2ad9ace8
Back out 1ac4cb2e7c32 to c631f9c3e9a9 (bug 598482) for Android reftest failures
2011-12-23 22:21:58 -08:00
Boris Zbarsky
ccaf52fed8
Bug 598482 part 23. Set a backup timer to update plugin geometry if we don't manage to do any painting or layout flushes for a while. r=roc
2011-12-23 22:52:26 -05:00
Markus Stange
4e93aac498
Bug 598482 part 11 - Set up a connection between the view manager and the refresh driver. r=roc
2011-12-23 22:52:22 -05:00
Boris Zbarsky
f65bcc325a
Bug 704171 part 2. Remove the no-argument form of mozRequestAnimationFrame. r=roc
2011-11-28 07:49:53 -05:00
Boris Zbarsky
254cf77550
Bug 704175 part 2. Rename nsIAnimationFrameListener to nsIFrameRequestCallback. r=roc
...
--HG--
rename : dom/interfaces/base/nsIAnimationFrameListener.idl => dom/interfaces/base/nsIFrameRequestCallback.idl
2011-11-28 07:48:30 -05:00
Boris Zbarsky
746765f8dc
Bug 704175 part 1. Rename onBeforePaint to sample for animation frame callbacks. r=roc
2011-11-28 07:48:27 -05:00
Scott Johnson
35dce58f26
Bug 666446, Part 2/10 - Change nsRefreshDriver to accept imgIRequest objects to facilitate refresh driver-based animations. [r=roc]
2011-11-09 13:39:16 -08:00
Justin Lebar
910294f481
Back out bug 666446 due to Talos regression.
2011-11-02 20:11:01 -04:00
Scott Johnson
55e6fa77b1
Bug 666446, Part 2/10 - Change nsRefreshDriver to accept imgIRequest objects to facilitate refresh driver-based animations. [r=roc]
2011-11-01 11:06:53 -04:00
Ehsan Akhgari
1deb9f1504
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
1bb2d1626a
Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
...
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Jeff Walden
1872189eac
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
2011-10-12 12:21:53 -07:00
Jeff Walden
37f2b96015
Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
...
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Scott Johnson
d6fc4ac271
Backout cset a48ccb52c137 from bug 666446 while we sort out regressions
2011-10-07 00:26:01 -07:00
Scott Johnson
da9b6d9538
Bug 666446, Part 2/18 - Change nsRefreshDriver to accept imgIRequest objects to facilitate refresh driver-based animations. [r=roc]
2011-10-03 13:39:05 -07:00
Michael Wu
ac54b41b01
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Masayuki Nakano
f6d218f2cd
Bug 660121 Remove all pref related methods from nsContentUtils r=roc
2011-05-29 08:42:57 +09:00
Masayuki Nakano
3b106893b1
Bug 659536 part.2 Replace nsContentUtils::GetIntPref() with Preferences::GetInt() or Preferences::GetUint() r=roc
2011-05-25 15:32:00 +09:00
Boris Zbarsky
2c8093be46
Bug 652401. Make sure to not have straggling JSContexts on the stack when notifying in the refresh driver. r=smaug
2011-05-05 12:26:32 -04:00
Boris Zbarsky
f04def28fa
Bug 650379. Add a new XPCOM timer type that is like TYPE_REPEATING_PRECISE but does not swamp the event queue if the callback takes longer than the timer interval to run. r=cjones, sr=brendan
...
This implements proposal 3 from bug 650379 comment 13. The main difference
between TYPE_REPEATING_PRECISE and TYPE_REPEATING_PRECISE_CAN_SKIP is to not
AddTimer the REPEATING_PRECISE_CAN_SKIP timer until after the callback has run;
this guarantees that no more timer events will be posted until after the
callback finishes executing. A secondary change is to make
REPEATING_PRECISE_CAN_SKIP timers advance their firing time to mDelay from when
PostTimerEvent is called, not mDelay from the old mTimeout. While this arguably
makes them less precise, the alternative is that if a timer is significantly
delayed for some reason (e.g. because the user puts the computer to sleep for a
while) it will then fire a whole bunch of times to "catch up" to where it's
supposed to be, advancing its firing time by mDelay at a time. That seems
undesirable.
An alternate approach would have been to readd the timer from inside
PostTimerEvent, but only if we're not in the middle of firing the timer. That
would allow more precise timers in the case when the callback is not taking too
long, but still handle gracefully the case when the callback is
slow. Unfortunately this falls down if something _else_ is hogging the main
thread event loop (e.g. some other timer has a slow callback, or whatever); in
that case we would post multiple events for the one precise timer while the
event-loop-hogging operation is running. So I don't think we should do that.
2011-04-28 19:33:52 -04:00
L. David Baron
02af45d068
Ensure nsRefreshDriver::MostRecentRefresh tells the truth even when we stop and restart timers. (Bug 650469) r=bzbarsky
2011-04-21 20:17:32 -07:00
L. David Baron
f69d9d6829
Add interface for taking over the refresh driver in a test (i.e., mocking time). (Bug 435442, patch 9) r=bzbarsky
2011-04-11 23:18:43 -07:00
Boris Zbarsky
e2a823dfc9
Bug 645943. Initialize mLastTimerInterval correctly. r=dbaron
2011-03-29 00:41:01 -04:00
Boris Zbarsky
5f690ae085
Bug 642717. Hold strong references to our MozBeforePaint event targets. r=roc
2011-03-28 10:49:48 -04:00
Boris Zbarsky
a477fc5489
Bug 630127. Use a precise timer when we have animation frame callbacks. r=dbaron
2011-03-07 11:58:48 -05:00
Boris Zbarsky
62f240087c
Bug 614733. Do exponential backoff on throttled refresh drivers. r=dbaron
2011-03-04 10:27:02 -05:00
Ehsan Akhgari
6362a1e42d
Bug 598726 - Prevent hangs in the refresh driver due to outstanding restyles on the same pres shell after processing the pending restyles on it; r=bzbarsky a=blocking-final+
2011-01-14 15:03:06 -05:00
Boris Zbarsky
34b08bb2f5
588174. Make it possible to pass an explicit callback function to mozRequestAnimationFrame. r=roc, sr=dbaron
2010-09-09 01:38:04 -04:00
Boris Zbarsky
0b4622531f
Bug 586201. Throttle refresh drivers in background tabs. r=roc, a=roc
2010-08-27 00:26:23 -04:00
Robert O'Callahan
be84653a84
Bug 587887. Create pref for refresh driver timer, and make it 60Hz by default. r=dbaron,a=bsmedberg
2010-08-23 21:30:08 +12:00
Boris Zbarsky
2b46cf4152
Bug 569520 part 2. Implement a mozRequestAnimationFrame/mozAnimationStartTime API. r=roc, a=joe
2010-08-11 17:05:28 -04:00
Boris Zbarsky
06492cc193
Bug 577607 part 2. Teach the refresh driver to flush restyles and reflow on more than one presshell. r=roc
2010-08-11 17:05:27 -04:00
Robert O'Callahan
8492742a01
Backed out changeset 0c4519d63a98
2010-08-12 11:32:21 +12:00
Boris Zbarsky
5dd310d75a
Bug 577607 part 2. Teach the refresh driver to flush restyles and reflow on more than one presshell. r=roc
2010-08-11 17:05:27 -04:00
Ben Newman
a2d75cb968
Replace direct instantiations of nsRunnableMethod with calls to the templatized NS_NewRunnableMethod function (part 3/3 of bug 558498). r=dwitte sr=dbaron
2010-04-20 16:21:35 -07:00
Boris Zbarsky
1b0f9a2411
Bug 538087. Hook up reflow to refresh driver. r=dbaron
2010-02-19 12:11:40 -05:00
Boris Zbarsky
8cceccb582
Bug 540531. Freeze the refresh driver when a page goes into bfcache. r=dbaron
2010-02-03 16:17:55 -05:00
Boris Zbarsky
9e3e565f0b
Bug 528306 part 1. Don't stop the refresh driver timer on observer removal; instead just stop it if it fires when there are no observers. r=dbaron
2009-12-31 14:07:57 -05:00
L. David Baron
fd03d03437
Make nsRefreshDriver hold a reference to its observers while notifying them. (Bug 531585) r=bzbarsky
2009-12-21 16:46:25 -05:00
L. David Baron
6b0f4477eb
Make nsRefreshDriver reference-counted instead of being a sub-object of the pres context. (Bug 531585) r=bzbarsky
2009-12-21 16:46:24 -05:00
L. David Baron
9d968722a4
Implement CSS transitions: handle starting and animation of the transitions. (Bug 435441) r=bzbarsky sr=roc
2009-10-07 20:22:42 -07:00