Dão Gottwald
89558f41d4
Backed out changeset e14c7409ede7
2012-12-18 01:04:30 +01:00
Avi Halachmi
41a9893d72
Bug 820167: Enable performance measurement of tab animation. r=jmuizelaar
2012-12-17 18:48:01 -05:00
Vladimir Vukicevic
1269aa2a0a
b=821230; crash in nsRefreshDriver::SetHighPrecisionTimersEnabled during xpcom shutdown; r=ehsan
2012-12-14 12:47:57 -05:00
Vladimir Vukicevic
748ed03797
b=731974, requestAnimationFrame generates too short/long frames (incl. bug 799242); r=bz,smaug,roc,ehsan
2012-12-11 17:15:32 -05:00
Nicholas Cameron
6edbdb7f5a
Bug 780692; throttle OMTA (rollup patch). r=dbaron,bz
2012-12-12 10:12:43 +13:00
Robert O'Callahan
68341e4a9e
Bug 785348. Part 1: Track when we've called into plugin code. While we're in plugin code, never run the refresh driver. r=mats
2012-12-07 12:58:14 +13:00
Mats Palmgren
d8957b773b
Bug 802902 - Live long and prosper Mr. View Manager. r=roc
2012-10-22 15:53:31 +02:00
Daniel Holbert
fdc48f572e
Bug 800603: Just check rv (not rv & outparam) after calling imgIRequest:GetImage & GetImagePrincipal. r=jrmuizel
2012-10-16 16:05:54 -07:00
Ed Morley
ae6bab13a9
Backout 739aff49b8bb (bug 731974) for turning browser_586068-reload.js permaorange on WinXP 3 days ago
2012-10-08 10:57:12 +01:00
Vladimir Vukicevic
c8f5c72c22
b=731974, requestAnimationFrame generates too short/long frames; r=bz,smaug,roc
2012-10-02 10:54:46 -04:00
Ed Morley
4182538823
Backout 16ae4d5d27d7 for mochitest-other failures in test_mousescroll.xul
2012-10-02 17:38:49 +01:00
Vladimir Vukicevic
6920cde2f9
b=731974, requestAnimationFrame generates too short/long frames; r=bz,smaug,roc
2012-10-02 10:54:46 -04:00
Matt Woodrow
68688f4315
Bug 539356 - Part 26 - Send invalidations for hidden documents. r=roc
2012-08-29 17:48:44 +12:00
Ed Morley
ed4fe023b5
Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE
2012-09-27 16:34:46 +01:00
Matt Woodrow
47c6e63bd5
Bug 539356 - Part 26 - Send invalidations for hidden documents. r=roc
2012-08-29 17:48:44 +12:00
Robert O'Callahan
9f0246e29b
Bug 468568. Part 0.6: Assert when ScheduleViewManagerFlush is called on a non-root. r=mattwoodrow
2012-09-17 17:06:12 +12:00
Ehsan Akhgari
243c878d26
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Matt Woodrow
7f95d6fb80
Bug 539356 - Part 8b - Move painting of retained layers to the view manager flush, and only composite on the paint event. r=roc
...
* * *
Fix Empty transactions with the new paint timing
2012-08-13 22:10:10 +12:00
Chris Jones
4efcbec77d
Bug 780346: Add a sample label to refresh driver. irl-r=mattwoodrow
2012-08-03 20:23:24 -07:00
Aryeh Gregor
8b4a23fc4c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Ehsan Akhgari
298a11d0fb
Backout changeset bd0a91621ea9 (bug 539356) because of performance and correctness regressions
2012-07-03 20:25:57 -04:00
Ehsan Akhgari
7f86bf3424
Backout changeset e794d5f88e0c (bug 539356) because of performance and correctness regressions
2012-07-03 20:14:47 -04:00
Ehsan Akhgari
5d2f11443a
Backout changeset 17cc480ae05d (bug 539356) because of performance and correctness regressions
2012-07-03 20:08:53 -04:00
Matt Woodrow
c93feb82fc
Bug 539356 - Part 26 - Send invalidations for hidden documents. r=roc
2012-06-30 15:06:13 +12:00
Matt Woodrow
7fa74467c3
Bug 539356 - Part 19 - Only repaint retained layers after the previous repainted has been drawn to the window. r=roc
2012-06-30 15:06:13 +12:00
Matt Woodrow
dc1a291f1f
Bug 539356 - Part 8b - Move painting of retained layers to the view manager flush, and only composite on the paint event. r=roc
2012-06-30 15:06:10 +12:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Olli Pettay
0f29fee720
Bug 641821, MutationObserver, r=sicking
2012-03-31 09:30:13 -07:00
Boris Zbarsky
3fe9039735
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
3a1e7d918b
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
23b7725580
Back out 1ac4cb2e7c32 to c631f9c3e9a9 (bug 598482) for Android reftest failures
2011-12-23 22:21:58 -08:00
Boris Zbarsky
1d17bd3866
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
4007001301
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
1778afb027
Bug 704171 part 2. Remove the no-argument form of mozRequestAnimationFrame. r=roc
2011-11-28 07:49:53 -05:00
Boris Zbarsky
73cb34f04b
Bug 704175 part 2. Rename nsIAnimationFrameListener to nsIFrameRequestCallback. r=roc
2011-11-28 07:48:30 -05:00
Boris Zbarsky
dff3d1c829
Bug 704175 part 1. Rename onBeforePaint to sample for animation frame callbacks. r=roc
2011-11-28 07:48:27 -05:00
Scott Johnson
35bd899e52
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
fd2f694139
Back out bug 666446 due to Talos regression.
2011-11-02 20:11:01 -04:00
Scott Johnson
e92eaafa33
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
478ad1a412
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
7d613942b0
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
2011-10-10 22:50:08 -07:00
Jeff Walden
c5e5f873d1
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
2011-10-12 12:21:53 -07:00
Jeff Walden
946f2ae0e3
Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
2011-10-10 22:50:08 -07:00
Scott Johnson
20857fa51b
Backout cset a48ccb52c137 from bug 666446 while we sort out regressions
2011-10-07 00:26:01 -07:00
Scott Johnson
b853f71917
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
0fe7772ece
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
2011-09-28 23:19:26 -07:00
Masayuki Nakano
8b335d50b1
Bug 660121 Remove all pref related methods from nsContentUtils r=roc
2011-05-29 08:42:57 +09:00
Masayuki Nakano
81dbe5de4d
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
441421a467
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
31d14013bf
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