Commit Graph

739 Commits

Author SHA1 Message Date
Benjamin Stover
b8dce1ee99 Bug 680126 Use ColorLayers for presshell painting and correct painting area r=roc 2011-08-23 15:59:43 -07:00
Oleg Romashin
9ed09830e6 Bug 621228 - Make plugins listening presShell SetActive calls. r=jst 2011-08-18 22:08:38 +02:00
Josh Matthews
e46409280a Backing out bug 675669, due to its controversial landing. 2011-08-15 20:15:17 -04:00
Scott Johnson
933fb53b10 Bug 673984 - Fix crash in nsImageLoader::DoRedraw by clearing image loaders even on ignore of frame destruction callbacks. [r=dbaron,dholbert] 2011-08-15 11:44:15 -07:00
L. David Baron
e9801c3364 Remove nsPresContext::GetMetricsFor, which was always a bad idea since it uses the generally-incorrect language-from-charset. (Bug 678671, patch 4) r=roc
This fixes the one remaining caller (the debugging code to visually
display reflow counts!) to just pass a null language, since it's just
debugging code.
2011-08-14 10:08:04 -07:00
Josh Matthews
bc4f34b907 Bug 675669 - Ignore paint suppression for hit testing. r=ehsan 2011-08-08 19:05:50 -04:00
Ms2ger
7c8d83cd86 Bug 677101 - Move nsAutoLayoutPhase to its own header; r=tn 2011-08-08 17:14:34 +02:00
Alexander Surkov
89610eda17 Bug 665335 - Don't trigger PresShellActivated when presshell is not activated, r=tbsaunde, roc 2011-08-08 15:57:45 +09:00
Masayuki Nakano
1380b10143 Bug 675865 backout new dragginf for selection handling code from Mozilla8 r=smaug (backed out patches are: bug 552707, bug 644621, bug 670058, bug 670508, bug 671319) 2011-08-03 12:39:02 +09:00
Kyle Huey
f2a2e3cbf4 Bug 675624: Enumerate style sets in about:memory. r=bz 2011-08-01 14:24:38 -04:00
Marco Castelluccio
6e58070f5f Bug 635643. Remove nsIRegion, because it is a useless wrapper class. r=tnikkel 2011-07-25 17:19:37 -05:00
Masayuki Nakano
7d481573dc Bug 671319 Should abort drag for selection at resetting capture r=smaug 2011-07-21 09:29:32 +09:00
Alexander Surkov
047029f65e Bug 671504 - get rid nsIPresShell::gAccessibilityIsActive, r=roc 2011-07-19 17:30:19 +09:00
Simon Montagu
672d772074 Make all nsBidiPresUtils methods static. Bug 624798, r=roc 2011-04-13 12:23:49 +03:00
Ed Morley
e2dd282c90 Bug 661584 - Substitute final PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-07-03 11:53:40 +02:00
Justin Lebar
169b00ccad Bug 664486 - Add page fault counts to about:memory on Linux and Mac. r=njn, sr=bz
--HG--
extra : rebase_source : 47dd7501dea7ae69e01828a5c730e8853739dc71
2011-06-16 14:34:09 -04:00
Craig Topper
cfe91e4f31 Bug 654369 - Part 11: Remove OOM checks from layout/base r=bz
--HG--
extra : rebase_source : a725d78f3e128d6d4ca1eb48eec1cfc78f7762bf
2011-04-28 22:02:40 -07:00
Craig Topper
0fe078244e Bug 654369 - Part 2: Remove oom check and outparam from PresShell::CloneStyleSet r=bz
--HG--
extra : rebase_source : 2eb3e5fa6f3c2cefc417f2d756421820782d3f0d
2011-05-01 18:34:07 -07:00
Ed Morley
af1d9c6c2b Bug 661584 - Code cleanup, substitute more PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc,ted 2011-06-25 16:06:02 +02:00
Bill Gianopoulos
122c01ef80 Bug 427990 Gecko part - Make XLink href work on MathML element. r=jonas. 2011-06-24 14:54:28 +02:00
Matheus Kerschbaum ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
6469811981 Bug 664924 - Remove MOZ_CSS_ANIMATIONS ifdefs. r=dbaron 2011-06-20 16:47:09 -07:00
Jan Varga
6976400f8a Bug 617528 Part 1 - Dispatch shift right click (contextmenu event) only to chrome. r=smaug 2011-06-19 11:23:12 +02:00
Jonas Sicking
17ec46a39a Bug 659053 Part 1: Merge nsIDOM3Node into nsIDOMNode. Also removes Node.getFeature. r=peterv 2011-06-14 00:56:48 -07:00
Ms2ger
a2b407958f Bug 660433 - Remove nsIDOMNSHTMLTextAreaElement; f=volkmar r=peterv 2011-06-11 09:52:24 +02:00
Masayuki Nakano
85c451e309 Bug 660121 Remove all pref related methods from nsContentUtils r=roc 2011-05-29 08:42:57 +09:00
Oleg Romashin
d3b5094cab Bug 657844 - SynthesizeMouseMove calls should be disabled in fennec r=bzbarsky 2011-05-22 09:55:55 -07:00
Masayuki Nakano
49814a538d 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
060287addd Bug 659533 Replace nsContentUtils::GetBoolPref() with Preferences::GetBool() r=roc 2011-05-25 15:31:59 +09:00
Matheus Kerschbaum
35f86c76ad Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew 2011-05-23 18:54:47 +02:00
Nicholas Nethercote
30e92c3349 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
Craig Topper
52d9de655d Bug 658143 - Part 2: Don't use createInstance for nsFrameSelection. r=roc 2011-05-18 22:26:45 -07:00
Craig Topper
4e38ca20a7 Bug 658143 - Part 1: Changes nsCOMPtr<nsFrameSelection> to nsRefPtr. r=roc 2011-05-18 20:10:49 -07:00
Josh Aas
f6eb4c8df6 Bug 637253: Remove nsIPluginInstance interface. r=bsmedberg 2011-05-17 21:48:34 -04:00
Markus Stange
9b2334a690 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
Ms2ger
3388f3994d Bug 657160 - Remove NS_NewCaret; r=ehsan,roc 2011-05-15 12:17:09 +02:00
Jim Mathies
9b7daaeb53 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
Timothy Nikkel
88a07ae5c6 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
Masayuki Nakano
6a43b8a387 Bug 651694 Sort out NS_PLUGIN_EVENT r=roc 2011-05-11 13:52:44 +09:00
Nicholas Nethercote
6ef173ddbb Bug 633653 - revamp about:memory. r=vlad,sdwilsh,dvander,gavin,ehsan,edwsmith; sr=benjamin. 2011-05-03 17:12:58 -07:00
Zack Weinberg
bfba1f66e2 Bug 653179: fix a call to nsRenderingContext::GetWidth(). r=dholbert 2011-05-02 12:27:36 -07:00
Timothy Nikkel
45cc226593 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
Simon Montagu
ece92e21ce Back out bug 263359 and bug 624798 because of performance regressions (bug 650189) 2011-04-27 11:47:18 +03:00
David Zbarsky
5ecf0a2bd3 Bug 610305: decom nsEventStateManager r=smaug 2011-04-21 19:35:52 +02:00
Mounir Lamouri
b4cf8cd184 Backed out changeset c1a7c1bc1aeb due to busted build. 2011-04-20 22:26:06 +02:00
David Zbarsky
c4d29900ed Bug 610305: decom nsEventStateManager r=smaug 2011-04-20 21:42:33 +02:00
Zack Weinberg
647b7a0bfe Bug 651017, part 7: remove nsDeviceContext::CreateRenderingContextInstance and the CreateRenderingContext overload that takes a widget.
--HG--
rename : gfx/src/nsThebesDeviceContext.cpp => gfx/src/nsDeviceContext.cpp
rename : gfx/src/nsThebesDeviceContext.h => gfx/src/nsDeviceContext.h
extra : rebase_source : 6be7fe432488dcf2fb5b2faa0e178dccab480285
2011-04-16 21:08:22 -07:00
Zack Weinberg
dd67585463 Bug 651017, part 5: mechanical changes.
--HG--
extra : rebase_source : 8bbdf48488736b51d05e734e2e9316c1460cfed5
2011-04-16 18:22:44 -07:00
Zack Weinberg
51864c09d8 Bug 651017, part 1: minimize inclusion of ns*DeviceContext.h; move the printing error codes to nsIDeviceContextSpec.h; os2 small widget cleanup.
--HG--
extra : rebase_source : 5b7cebe68f71a760463e3522b159c7cde8a72f5e
2011-04-16 18:22:41 -07:00
Robert O'Callahan
c957ae039e Bug 641426. Part 5: Avoid operator== where possible to distinguish between 'equal edges' and 'equal areas' for rectangles. r=dbaron,sr=cjones 2011-04-19 15:07:23 +12:00
Zack Weinberg
52c99aabb7 Bug 174055, part 6: eliminate pointless nsresult return values. 2011-04-07 21:18:43 -07:00
Zack Weinberg
624a6e3ce5 Bug 174055, part 5: prune unused and unimplemented methods. 2011-04-07 20:07:27 -07:00
Zack Weinberg
42ead75834 Bug 174055, part 4: mechanical fixups outside gfx. 2011-04-07 18:05:49 -07:00
Zack Weinberg
f5a0843ac7 Bug 266236 part 9: Move nsBoundingMetrics to its own header and prune inclusions of nsRenderingContext.h.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 92660748436f03475e011184e2828f1db0ad63e0
2011-04-07 18:04:40 -07:00
Zack Weinberg
c3400ef3c4 Bug 266236 part 7: Simplify calling convention of SetClipRect and SetClipRegion.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : b1c68e23a4fa67cdc09b151ad39d7560cdd8baf7
2011-04-07 18:04:40 -07:00
Jan Küchler
5ef6bf26cf Bug 266236 part 3: Mechanical rename of nsIRenderingContext and nsThebesRenderingContext to nsRenderingContext. Mechanical substitution of nsRefPtr<nsRenderingContext> for nsCOMPtr<nsRenderingContext>.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
extra : rebase_source : 34884bfcafd885feaf73300bc7246cd192062a48
2011-04-07 18:04:40 -07:00
Jan Küchler
0e92a9d34a Bug 266236 part 1: Preliminary API cleanup on nsIRenderingContext.
--HG--
extra : rebase_source : a21ffad484f47103e403b8316eae5fdfd815c2cb
2011-04-07 18:04:39 -07:00
Simon Montagu
8ade1e195e Make all nsBidiPresUtils methods static. Bug 624798, r=roc 2011-04-13 12:23:49 +03:00
L. David Baron
7e86462271 ifdef CSS animations so that the feature can be backed out by flipping the switches in configure.in and then reverting the changes to the following four files appropriately: nsIDOMCSS2Properties.idl, nsIDOMCSSRule.idl, property_database.js, test_transitions_computed_values.html. (Bug 435442, patch 15) r=bzbarsky 2011-04-11 23:18:44 -07:00
L. David Baron
6f2e43e63d Fire animation events at the correct times. (Bug 435442, patch 14) r=bzbarsky 2011-04-11 23:18:44 -07:00
L. David Baron
d1dba7e001 Implement and test animation of css3-animations. (Bug 435442, patch 11) r=bzbarsky 2011-04-11 23:18:44 -07:00
Robert O'Callahan
79cd41dfd7 Backed out changeset 082a9df5c6f7 2011-04-11 09:39:49 -07:00
Robert O'Callahan
6209cb624a Bug 279629. Allow scrolling to anchors to use smooth scrolling. r=mats 2011-04-11 08:44:09 -07:00
Robert O'Callahan
acc00bd703 Bug 598854. We no longer have cases where the view to paint is not a displayroot, so remove the code that handles that. r=tnikkel 2011-04-11 08:41:18 -07:00
Timothy Nikkel
6a72c8927e Bug 642977. Don't suppress painting if the document isn't loading; r=bz 2011-04-06 11:00:35 -07:00
Timothy Nikkel
8e035ecec6 Bug 643678. When documents go in the bfcache remove them from any schedule plugin geometry updates. r=roc 2011-04-06 11:00:02 -07:00
Robert O'Callahan
8fd77f670c Bug 617539. Remove nsIPresShell_MOZILLA_2_0_BRANCH(2). r=tnikkel 2011-04-01 10:33:46 +13:00
Ms2ger
3aac8958f3 Bug 637864 - Give nsIViewManager::GetRootView a sane signature; r=bz 2011-03-29 22:24:54 -04:00
Boris Zbarsky
0a7e20bbec Bug 313351. ContentStatesChanged should take only one argument. r=dbaron 2011-03-28 23:32:11 -04:00
L. David Baron
802da587ae Merge layout work from projects/birch, part 2. 2011-03-23 17:39:29 -07:00
Craig Topper
72d7c1f754 Bug 576831 part 4. Remove nsICSSStyleRule and use mozilla::css::StyleRule instead. r=bzbarsky
--HG--
rename : layout/style/nsCSSStyleRule.cpp => layout/style/StyleRule.cpp
rename : layout/style/nsICSSStyleRule.h => layout/style/StyleRule.h
2011-03-10 21:48:57 -05:00
Boris Zbarsky
250488127b Bug 457102. Remove vestiges of dead xpointer/fixptr stuff. r=sicking 2011-03-23 10:45:21 -04:00
Alexander Surkov
34f2d0cb46 Bug 612872 - HAL/Supernova needs tweaks to our window emulation, r=davidb, sr=roc, a=davidb 2011-03-02 22:41:42 +08:00
Benjamin Stover
a646bb5913 Bug 618975 Followup: bitrot and remove mDisplayport from nsDisplayScrollLayer r=cjones r=tn a=blocking-fennec 2011-03-09 13:35:27 -08:00
Benjamin Stover
e9b77710b0 Bug 618975 Pan overflow elements in parent process r=cjones r=tn sr=roc a=blocking-fennec 2011-03-15 16:20:19 -07:00
Chris Jones
e4ac9c5928 Bug 593243: Clip invalidations to the displayport when one is set. r=tn 2011-03-11 17:12:11 -06:00
Benjamin Stover
69c0a8afb5 Bug 634397 Setting displayport redraws entire displayport r=tn a=blocking-fennec 2011-03-09 10:39:43 -08:00
Doug Turner
eff01baa10 Backing out 99f6b3acc464 (bug 618975). Bug This caused a reftest crash. a=bustage 2011-03-08 22:02:50 -08:00
Benjamin Stover
6fd6388bc0 Bug 618975 Pan overflow elements in parent process r=cjones r=tn sr=roc a=blocking-fennec 2011-03-08 21:28:18 -08:00
Olli Pettay
0ee7b9841d Bug 635434, dispatch to gKeyDownTarget using the right presshell, r=enn, f=masayuki, a=hardblocker 2011-02-21 18:39:21 +02:00
Olli Pettay
dede0b4d96 Bug 634291, use faster inline method for global object check, r=bz, a=beltzner 2011-02-17 11:50:23 +02:00
Jonas Sicking
16a77cbfa9 Bug 583889: Prevent scrolling from leaking information. r=dbaron a=blocker 2011-02-10 23:46:59 -08:00
Vivien Nicolas
ba32fd6a8e Fix spurious NS_WARNING by adding missing return. (Bug 632802) r=dbaron a2.0=dbaron 2011-02-10 15:21:07 -08:00
Mats Palmgren
e39778e78a Bug 629823 - Assert that the root view size is in sync with the pres context visible size. r=tnikkel a=roc 2011-02-10 23:38:37 +01:00
Rich Walsh
9adfe5d061 Bug 377392 - 'Copy Link Location' strips random characters from URLs copied to the clipboard; r=wuno,bzbarsky a=dbaron 2011-02-03 12:11:12 -05:00
Robert O'Callahan
9ba5ca14eb Bug 622542. Ensure that the layer tree is updated after NS_DOCUMENT_STATE_WINDOW_INACTIVE has changed. r=tnikkel,a=blocking 2011-02-03 21:45:32 +13:00
Robert O'Callahan
01fd6c923d Bug 626962. Part 0: Don't do empty transactions when painting to a widget's non-retaining layer manager. r=tnikkel,a=blocker 2011-02-03 21:45:23 +13:00
Kevin Gadd
c4d09902c6 bug 629838 - After incrementing mozPaintCount during an empty transaction, also dispatch MozAfterPaint; r=roc a=blocking-final+
--HG--
extra : rebase_source : 91e6eb9b0d12b5c82363d4c4ce6914fef9bcf007
2011-01-31 18:41:58 -08:00
Neil Deakin
d791f40aa9 Bug 619089, retarget key events if the focus changes during a keydown event from content to chrome, r=olli,a=blocking 2011-02-01 09:46:48 -05:00
Alexander Surkov
d1a035e99c Bug 629950 - [@ nsIPresShell::RemoveRefreshObserverInternal(nsARefreshObserver*, mozFlushType)], r=bz, a=bz 2011-02-01 14:44:20 +08:00
Kevin Gadd
90c20af040 bug 625248 - During each paint, build a list (stored as a FrameProperty of the root nsIFrame) of all the PresShells that are visible during this paint, so that we can increment their paint count correctly during an empty transaction; r=roc a=blocking-final+
--HG--
extra : rebase_source : 2524d2e258a6a6cc13a7d8df2c874752e415c1ba
2011-01-27 13:53:10 -08:00
Boris Zbarsky
aa0e947d18 Bug 629035. Don't try to reconstruct frames if we don't have any. r=dbaron, a=blocker 2011-01-28 09:29:21 -05:00
Alexander Surkov
60014572d1 Bug 628922 fix Solaris build - layout should use cached nsIAccessibilityService, r=roc, a=roc 2011-01-28 16:42:14 +08:00
Alexander Surkov
f1d1126c15 Bug 628922 - layout should use cached nsIAccessibilityService, r=davidb, sr=roc, a=roc 2011-01-28 12:38:14 +08:00
Timothy Nikkel
0123cc0fff Bug 622328 - Always make sure the area of the root content document is considered opaque. r=roc, a=blocking. 2011-01-27 16:58:50 -06:00
Mihai Sucan
f276342e3d Bug 621271 remove non-ASCII character from comment of nsIPressShell.h and nsPresShell.cpp r=masayuki, a=comment-only 2011-01-21 11:57:18 +09:00
Robert O'Callahan
409b6ce451 Bug 621601. Part 1: Change empty transaction API to EndEmptyTransaction. r=bas,tnikkel,a=joe 2011-01-19 21:27:54 +13:00
Alexander Surkov
e1a5d1938b Bug 498015 - update accessible tree on content insertion after layout, r=davidb, sr=bz, a=blockingBetaN
--HG--
rename : accessible/src/base/nsEventShell.cpp => accessible/src/base/NotificationController.cpp
rename : accessible/src/base/nsEventShell.h => accessible/src/base/NotificationController.h
2011-01-18 16:03:38 +08:00
Robert O'Callahan
27268fea3d Bug 625288. Part 1: Don't create nsDisplaySolidColors with zero alpha. They just confuse our display list analysis. r=tnikkel,a=blocking 2011-01-16 23:38:45 +13:00
Robert O'Callahan
784d23003a Bug 612190. Make MozAfterPaint actually fire after paint. r=dbaron,a=me (blocks a blocker) 2011-01-15 22:40:33 +13:00
Benjamin Stover
822ae4d1f4 Bug 605618 Part 5: Support displayport for iframes r=tn sr=roc 2011-01-13 09:45:14 -08:00