Commit Graph

8286 Commits

Author SHA1 Message Date
Olli Pettay
c7a9fa4b67 Bug 307258 - Support beforeprint and afterprint events, r=mats, sr=roc
--HG--
extra : rebase_source : f14da5d6e282fe6ab4813c121d3366844dd89af6
2011-05-14 15:03:58 +03:00
Chris Leary
277ecef0fa Merge mozilla-central and tracemonkey. 2011-05-13 15:06:53 -07:00
Jim Mathies
ada37f0740 Bug 633282 - Accumulate exclude glass regions during painting and update the widget opaque region info. r=roc. 2011-05-13 11:40:46 -05:00
Jim Mathies
4a2e304d12 Bug 633282 - Add support for -moz-appearance: -moz-win-exclude-glass. r=roc. 2011-05-13 11:40:46 -05:00
Jim Mathies
d839661fc9 Bug 633282 - manual backout of 'fixup UpdatePossiblyTransparentRegion v.3' in bug 622328 due to merge conflicts. r=tn 2011-05-13 11:40:46 -05:00
Mounir Lamouri
137f2b751b Merging cedar with mozilla-central. 2011-05-13 10:59:05 +02:00
Robert O'Callahan
e8bdea28a0 Bug 654641. Make nsDisplaySolidColor::GetBounds reflect any snapping that's going on. r=tnikkel 2011-05-13 02:59:09 +12:00
Timothy Nikkel
64072dc44f Bug 655267. Move the synth mouse move handling from the view manager to the pres shell. r=roc
I also snuck in some minor cleanup.
2011-05-11 10:49:16 -05:00
Boris Zbarsky
d034eefa80 Bug 597291. Create nsIURI objects lazily for nsCSSValue::URL, so that we don't pay the cost of creating the ones we don't actually need. r=dbaron
In the new setup, the mURL member of nsCSSValue::URL stores either the actual URI pointed to or the base URI; a boolean flag keeps track of which is stored.  Consumers use GetURI() to get the URI instead of raw access to mURI, and GetURI calls NS_NewURI as needed.
2011-05-11 11:28:53 -04:00
Masayuki Nakano
a4ea6b689d Bug 651694 Sort out NS_PLUGIN_EVENT r=roc 2011-05-11 13:52:44 +09:00
Ed Morley
97cc9c4eea Bug 655756 - Remove final XP_MAC remnants; r=josh 2011-05-10 20:24:48 +02:00
Edmund Wong
9926796429 Bug 366774 - Removed unused preference bidi.characterset. r=smontagu 2011-05-10 20:24:43 +02:00
Tatiana Meshkova
3dd472d1eb Bug 653133 - Fennec crashes when loading a page with huge background-attachment:fixed background r=roc 2011-05-09 11:40:09 +03:00
Ehsan Akhgari
e422c276a8 Bug 612129 - Set the initial selection range to the beginning of the text field in order to be more compatible with other browsers; r=roc 2011-05-12 09:52:38 -04:00
Mounir Lamouri
9d45d86044 Bug 567872 - Layout part of the progress element. r=roc,dbaron 2011-05-10 14:59:07 +02:00
Olli Pettay
3b50630ddb Bug 649170, use the same nsIWeakReference in DocumentViewer and nsPrintEngine, r=roc 2011-05-10 15:55:26 +03:00
Shawn Wilsher
6df69767bc Merge for back out tracked by bug 655860. Also backs out bug 654990 because it depends on bugs in the back out range. 2011-05-09 15:52:44 -07:00
Shawn Wilsher
d616bf2fcb Back out bug 514437, bug 567872, bug 568825, bug 633209, bug 633913, bug 634086, bug 634088, bug 634549, bug 634551, bug 638176, bug 641517, bug 641905, bug 641942, bug 642127, and bug 642667 to undo the performance regression tracked by bug 655860. 2011-05-09 15:48:39 -07:00
Jonas Sicking
9a1d88b9ee Bug 650493 Part 3: Back out patch from bug 645572 as we should now always end up with correct update counts. r=ehsan 2011-05-09 12:33:03 -07:00
Jonas Sicking
6835982ecc Bug 650493 Part 1: Simplify mutation events by firing all but DOMNodeRemoved off of script runners, and DOMNodeRemoved before starting any update batches or aquiring any state. r=smaug/peterv 2011-05-09 12:33:03 -07:00
Ed Morley
6354509c50 Bug 655493 - Remove WinCE code from layout; r=roc 2011-05-09 09:56:09 -07:00
Mounir Lamouri
75a14a114e Bug 567872 - Layout part of the progress element. r=roc,dbaron 2011-05-07 10:15:14 +02:00
Jonathan Kew
83cedda246 bug 655198 - don't parse 'all' as a value for -moz-hyphens. r=dbaron 2011-05-07 16:01:01 +01:00
Boris Zbarsky
eddb0544bf Merge cedar with mozilla-central 2011-05-06 20:39:36 -04:00
Ehsan Akhgari
e66b9024c8 Bug 10209 - Part 2: Implement the absolute positioning support for all frames; r=roc 2011-04-29 19:02:33 -04:00
Ehsan Akhgari
d883e58253 Bug 10209 - Part 1: Add an API for absolute container support for all frame types; r=roc 2011-04-27 19:41:43 -04:00
Boris Zbarsky
13f47fe406 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
2724d954fd Merge cedar with mozilla-central 2011-05-04 13:58:26 -04:00
Boris Zbarsky
44b750c135 Bug 654167. Fix drawing of thin 'border-style: double' border-collapsed borders. r=roc 2011-05-04 13:57:01 -04:00
Jonathan Kew
88c9ed0c0c bug 253317 - part 1 - implement -moz-hyphens property in CSS. r=dbaron 2011-05-04 12:14:50 +01:00
Nicholas Nethercote
020b76968f Bug 633653 - revamp about:memory. r=vlad,sdwilsh,dvander,gavin,ehsan,edwsmith; sr=benjamin. 2011-05-03 17:12:58 -07:00
Zack Weinberg
a86d659d4f Bug 653179: fix a call to nsRenderingContext::GetWidth(). r=dholbert 2011-05-02 12:27:36 -07:00
Benjamin Stover
1b6808fa69 Bug 640048 Fix edge case for z-ordering for async scrollable elements r=roc 2011-05-01 18:53:01 -07:00
Craig Topper
16c85e6947 Bug 648885 - Part 3: Remove nsIImageMap. r=roc
--HG--
extra : rebase_source : 179eb2e28f555d2a6159f92aa5ccd6d0af900b2b
2011-04-26 22:51:13 -07:00
Timothy Nikkel
f18d13c30e Bug 653839. Don't call DidPaint on hidden documents. This just does for DidPaint what bug 594267 did for WillPaint. r=roc 2011-05-01 20:59:15 +02:00
Mark Finkle
cabb1dfab7 Backed out changeset c7f62d818af2. Causes content crashes Bug 653889 2011-04-30 00:01:29 -04:00
Benjamin Stover
c95d8badae Bug 640048 Fix edge case for z-ordering for async scrollable elements r=roc 2011-04-29 10:15:44 -07:00
Mounir Lamouri
56051af077 Merge cedar with mozilla-central. 2011-04-29 16:19:07 +00:00
Kevin Gadd
f1f3c7f993 bug 632102 - Don't assert that mozAfterPaint and mozPaintCount are in sync, since that's not reliable. r=roc 2011-04-29 12:26:46 +00:00
Timothy Nikkel
1f4fb4d375 Bug 653125. Remove misc SVG views. r=roc 2011-04-29 12:36:02 +02:00
Boris Zbarsky
2d337f0522 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
Boris Zbarsky
24257a4235 Bug 654989 part 2. Use the nsStyleContext handed back from CreateAnonymousContent. r=roc
This asserts the parts of AddFrameConstructionItems that should never matter for anonymous content and then just copies the one-line style context get if it's needed.
2011-05-06 16:04:44 -04:00
Boris Zbarsky
7d3e2c97ad Bug 654989 part 1. Allow handing out both an nsIContent and an nsStyleContext from CreateAnonymousContent. r=roc 2011-05-06 16:04:44 -04:00
Timothy Nikkel
d7ba2c0b5d Bug 653129. Remove useless CreateViewForFrame calls that don't do anything anymore. r=roc 2011-04-29 15:51:09 +02:00
Blake Kaplan
9f083caecc Fixing bustage from bug 641342.
--HG--
extra : rebase_source : 4d0dc461bb21028b4f0dba4de8c1f925a3c85a47
2011-05-12 17:12:00 -07:00
Blake Kaplan
de8e28588c Bug 641342 - Treat chrome DOM objects like DOM objects. r=gal/jst 2011-05-10 14:41:25 -07:00
Simon Montagu
f213cf876f Back out bug 263359 and bug 624798 because of performance regressions (bug 650189) 2011-04-27 11:47:18 +03:00
Philip Chee
f3e044b88a Backed out changeset: baf7456adc98 2011-04-25 02:19:05 +08:00
Edmund Wong
e923fb2f59 Bug 366774 - Removed unused preference bidi.characterset.(p2) r=smontagu 2011-04-25 01:56:09 +08:00
L. David Baron
6448f71f0d Push a context on the stack when notifying a MediaQueryListListener. (Bug 652317) r=smaug 2011-04-23 13:19:01 -07:00