Commit Graph

8389 Commits

Author SHA1 Message Date
Jonathan Protzenko
b42fd271bd Bug 659666 - PSM passes uninitialized value for inout checkValue argument of promptPassword r=jdm 2011-05-31 20:17:57 +02:00
Robert O'Callahan
775437c0c3 Bug 646757. Don't snap display item bounds during hit-testing. r=tnikkel 2011-05-31 09:44:10 +12:00
Ed Morley
95e5ecd7d4 Bug 617539 - Integrate nsIMarkupDocumentViewer_MOZILLA_2_0_BRANCH back into the main interface; r=smontagu 2011-05-30 18:36:23 +02:00
Dominic Fandrey
968bf5196a Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-06-02 14:56:50 +02:00
Ms2ger
90dd851282 Bug 660657 - Make nsCSSRendering::Init return void; r=roc 2011-06-02 14:56:46 +02:00
Ms2ger
471e6d31d0 Bug 660604 - Remove nsIHTMLDocument::GetBodyContentExternal; r=jst 2011-06-02 14:56:46 +02:00
Ehsan Akhgari
f92823ac1a Backout bug 467669 and bug 660088 2011-06-15 16:52:48 -04:00
Jonathan Kew
ec17b9ce84 bug 467669 - pt 2 - find the @font-face rule (if any) responsible for the font entry. r=roc
--HG--
extra : rebase_source : 97bab01d80e49e179e8f675ca1ec1e067d7b56ec
2011-06-15 20:17:51 +01:00
Jonathan Kew
6e0f6efdfd bug 467669 - pt 1 - get list of fonts actually used to render a document range. r=roc sr=bzbarsky
--HG--
extra : rebase_source : 3d7699c4a201bafdfa1d97ba97117a497303c1b5
2011-06-15 20:17:50 +01:00
Ed Morley
f13392fb42 Bug 614515 - Remove MOZ_SVG conditions. r=roc 2011-05-30 09:34:50 +02:00
Masayuki Nakano
4a5030c91a Bug 660121 Remove all pref related methods from nsContentUtils r=roc 2011-05-29 08:42:57 +09:00
Ms2ger
86b93bb1ab Bug 659113 - Remove nsIDOMNSHTMLDocument; r=bz 2011-05-28 09:43:57 +02:00
Masayuki Nakano
60459f3de7 Bug 660401 Re-land the previous backed out patch 2011-05-28 16:03:00 +09:00
Masayuki Nakano
c1ab9c6d97 Bug 660401 temporary backout the patches for bug 659820 and bug 659821 for investigating talos regression 2011-05-28 13:50:19 +09:00
Masayuki Nakano
3f360020b4 Bug 659821 Replace nsContentUtils::GetLocalizedStringPref() with Preferences::GetLocalizedC?String() r=roc 2011-05-27 13:53:03 +09:00
Masayuki Nakano
e99d6b2176 Bug 659820 part.4 Replace nsContentUtils::Get(Char|String)Pref() with Preferences::GetC?String() r=roc 2011-05-27 13:53:03 +09:00
Ehsan Akhgari
9db2091376 Bug 634406 - Don't select past the trailing BR node in text fields when performing the SelectAll operation; r=roc 2011-05-25 16:30:14 -04:00
Oleg Romashin
a5bf01c86e Bug 657844 - SynthesizeMouseMove calls should be disabled in fennec r=bzbarsky 2011-05-22 09:55:55 -07:00
Mounir Lamouri
85664af740 Merging cedar with mozilla-central. 2011-05-25 10:03:25 +02:00
Jonathan Watt
06594c58c1 Bug 614732 part 2 - Doc changes (clarify why nsDisplayTransform requires a bounds rect, and correctly associate nsStyleTransformMatrix's doxygen comment with it). r=roc. 2011-05-25 09:01:11 +01:00
Boris Zbarsky
e5de19d85b Bug 631529. Pass a TreeMatchContext into ReResolveStyleContext so that we can share the nth-index cache across the entire reresolution. r=dbaron 2011-05-24 20:19:09 -04:00
Matt Brubeck
8349139224 Merge cedar to mozilla-central 2011-05-24 14:55:37 -07:00
Masayuki Nakano
7b13fbd2d9 Bug 659536 part.2 Replace nsContentUtils::GetIntPref() with Preferences::GetInt() or Preferences::GetUint() r=roc 2011-05-25 15:32:00 +09:00
Masayuki Nakano
caee4cc73f Bug 659533 Replace nsContentUtils::GetBoolPref() with Preferences::GetBool() r=roc 2011-05-25 15:31:59 +09:00
Daniel Holbert
0ff79027b4 Bug 646180: Reorder nsPresContext init list to fix build warning. r=roc 2011-05-24 03:36:21 -07:00
Steven Michaud
b75cd94d3c Backed out changeset ae5b84b96fd7 (bug 570341) due to test failures DONTBUILD. a=sheriff 2011-05-24 01:54:23 -05:00
Igor Bazarny
a1cc18f0fb bug 570341 - Initial implementation of web timing specification
r=jduell sr=biesi
2011-05-23 19:19:24 -07:00
Jim Mathies
d3ff5d4365 Backout of bug 570341 (cset:1a645ea075fc) due to test failure. 2011-05-23 19:55:36 -05:00
Igor Bazarny
0dd92c4fcb bug 570341 - Initial implementation of web timing specification
r=smaug sr=biesi

--HG--
extra : rebase_source : e8b233ebcf1065ea5e6df61446cfd013262a61d0
2011-05-23 14:19:36 -07:00
Matheus Kerschbaum
6eb93f7dd3 Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew 2011-05-23 18:54:47 +02:00
Ms2ger
c911ae13be Bug 655517 - Remove nsIDOMDocumentEvent; f=ehsan r=smaug 2011-05-23 18:46:36 +02:00
Matt Brubeck
4d5eb3b9f7 Merge cedar and mozilla-central 2011-05-23 07:39:21 -07:00
Robert O'Callahan
b31c5d7b30 Bug 656749. Only optimize away zero-opacity elements when we're painting, not for any other kind of display list construction such as plugin geometry. r=tnikkel 2011-05-23 12:28:47 +12:00
Robert O'Callahan
3d15e79871 Bug 628901. Ensure a MozAfterPaint event is fired after 'load'. r=ehsan 2011-05-23 12:25:56 +12:00
Daniel Holbert
f47ab381dd Backed out changeset dfeab223be6d (Bug 657844) on suspicion of causing perma-orange in test_hover.html 2011-05-22 13:25:33 -07:00
Oleg Romashin
b21e32256a Bug 657844 - SynthesizeMouseMove calls should be disabled in fennec r=bzbarsky 2011-05-22 09:55:55 -07:00
Craig Topper
03142a505f Bug 658143 - Part 2: Don't use createInstance for nsFrameSelection. r=roc 2011-05-18 22:26:45 -07:00
Craig Topper
8a3f0ad8f7 Bug 658143 - Part 1: Changes nsCOMPtr<nsFrameSelection> to nsRefPtr. r=roc 2011-05-18 20:10:49 -07:00
Benjamin Stover
2d4a3eb67a Bug 655864 Password field is not masked immediately and shows artifacts, when typing past the end of the field r=roc 2011-05-18 15:54:31 -07:00
Mounir Lamouri
513d0ca1d6 Merging cedar with mozilla-central. 2011-05-18 11:42:37 +02:00
Robert O'Callahan
a3d1ab8a34 Bug 657780. Silence pldhash warnings by shrinking ThebesLayerItemsEntry. r=tnikkel 2011-05-18 17:48:43 +12:00
Mounir Lamouri
0782c0f9f3 Merging cedar with mozilla-central. 2011-05-17 15:32:32 +02:00
Robert O'Callahan
ee46b56186 Bug 648483. Record the transform used when we last painted a layer and use that to control what needs to be invalidated in the layer. r=tnikkel 2011-05-17 11:05:56 +12:00
Robert O'Callahan
ff4a04b32c Bug 640899. Have test_leaf_layers_partition_browser_window.xul test maximized windows as well as normal windows; on Windows XP, don't test normal windows because we know the resizer overlaps there. r=tnikkel 2011-05-17 11:04:53 +12:00
Markus Stange
02b4fd3198 Bug 596600 - Start generating window-level mouse out events at the root EventStateManager. r=smaug
--HG--
rename : widget/tests/test_native_mouse_mac.xul => widget/tests/test_bug596600.xul
2011-05-16 15:15:43 +02:00
Mounir Lamouri
d58b2950df Bug 655065 - Add a -moz-orient CSS property. r=bz 2011-05-10 15:47:46 +02:00
Tatiana Meshkova
8148576e7f Bug 656167 - Temporarily disable or back out fixed layers. Visibility part. r=roc 2011-05-13 16:21:59 +03:00
Ms2ger
f32c8d1912 Bug 657160 - Remove NS_NewCaret; r=ehsan,roc 2011-05-15 12:17:09 +02:00
Matt Brubeck
d4862ec52d Bug 598736 - Use bilinear image scaling when NEON is available [r=jrmuizel] 2011-04-08 10:15:37 -07:00
Nicholas Nethercote
e942f8f50a Bug 657327 - about:memory: merge the "mapped" and "heap used" trees, and make the resulting tree flatter. r=sdwilsh,Jesse, sr=roc. 2011-05-22 19:49:56 -07:00
Josh Aas
669eb04ac7 Bug 637253: Remove nsIPluginInstance interface. r=bsmedberg 2011-05-17 21:48:34 -04:00
Robert O'Callahan
a519d6e979 Bug 640889. Have test_leaf_layers_partition_browser_window.xul test maximized windows as well as normal windows; on Windows XP, don't test normal windows because we know the resizer overlaps there. r=tnikkel 2011-05-17 15:45:19 +02:00
Mounir Lamouri
47ddeb3dad Backout c0f9a84ffb2d (bug 640889) because it has been pushed with the incorrect bug number. 2011-05-17 15:43:59 +02:00
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