Ed Morley
83427f0fe0
Merge mozilla-central to mozilla-inbound
2012-05-21 13:19:38 +01:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
L. David Baron
6f318c955b
Remove caching of current inflation container and its width from the pres context. (Bug 747720, patch 6) r=roc
...
This is no longer needed because we're getting the width from
nsFontInflationData and the null-ness of the container from
mInflationDisabledForShrinkWrap.
2012-05-20 22:18:28 -07:00
L. David Baron
9ace2103ae
Replace AutoMaybeNullInflationContainer with AutoMaybeDisableInflationForShrinkWrap since the concept of the pres context's current inflation container will be going away. (Bug 747720, patch 2) r=roc
2012-05-20 22:18:27 -07:00
L. David Baron
87599f798d
Cache the last device width we used for font inflation on the pres context so that we can track when it changes. (Bug 747231, patch 2) r=roc
...
--HG--
extra : transplant_source : %19%A1%9B%BC%FD_H%5C%60%BB%88%1E%F6%D1%D5%85%24%F7%26%1B
2012-05-05 15:25:45 +02:00
Ed Morley
559a85b824
Backout 5c35cd6f3ea4 & ba39b0822992 (bug 607417) for native Android R1 failures
2012-05-04 14:26:09 +01:00
Robert O'Callahan
3cff69730f
Bug 607417. Improve definition of the 'fixed layer' flag. r=tnikkel
...
--HG--
extra : rebase_source : f68d53736e65c21a30a6248abe6b2b9ec32cdb17
2012-05-04 17:00:57 +12:00
Robert O'Callahan
5afaaecea3
backing out patches for bug 607417 due to build bustage
2012-05-04 17:29:05 +12:00
Robert O'Callahan
a3f43739ba
Bug 607417. Improve definition of the 'fixed layer' flag. r=tnikkel
2012-05-04 17:00:57 +12:00
Kyle Huey
5e3fddb58d
Back out Bug 679230 due to Android reftest failures.
2012-04-07 10:36:49 -07:00
Kyle Huey
dd495263dd
Bug 697230: Part 1 - Centralize style image observers. r=bz
2012-04-07 08:58:41 -07:00
Hessam Salehi
2bda7efc98
Bug 474505 - Replace uses of nsVoidPtrHashkey with nsPtrHashKey<T>; r=bsmedberg
2012-03-21 14:07:31 -04:00
Nicholas Nethercote
f5e01f1737
Bug 729008 - Add memory reporter for FramePropertyTable. r=bz.
...
--HG--
extra : rebase_source : e366cd84d50b5277f9949b340d44190371e753f8
2012-02-20 21:02:24 -08:00
Jonathan Watt
f4f67ef82f
Bug 416581, part 2 - Pay attention to the 'lang' attribute when fetching the user's font prefs for the CSS cascade. r=dbaron.
2012-01-25 23:52:26 +00:00
Nicholas Nethercote
0709e1673b
Bug 671299 (part 3) - Add style sheet memory reporters. r=dbaron.
2012-01-02 18:19:14 -08:00
Nicholas Nethercote
7559a70a04
Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
...
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
L. David Baron
d562c3a18a
Add member variables to pres context to track, during reflow and intrinsic sizing, the current inflation container and its width. (Bug 706609, patch 2) r=roc
...
This is the first of three patches to rework the way we handle getting
the font inflation container and width data during reflow, which are
needed so that we can sometimes honor inflation during intrinsic width
calculation (which we need to do to make some form controls inflate
correctly).
2012-01-24 17:21:28 -08:00
Jonathan Watt
54daa5bd85
Bug 715769 - Kill unused enums nsWidgetType and nsLanguageSpecificTransformType. r=bernd.mielke.
...
--HG--
extra : rebase_source : b01505b3dab86272ec998ad2cf853db2262a0e63
2012-01-16 21:35:16 +00:00
Boris Zbarsky
fbbb4a9c45
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
4aec0df173
Bug 598482 part 1 - Never force synchronous plugin geometry updates because it forces paints at bad times. r=roc
2011-12-23 22:52:20 -05:00
Kyle Huey
4e6806ed48
Bug 703133: Flush layout data asynchronously on charset changes. r=bz
2012-01-11 21:58:44 +01:00
Phil Ringnalda
2e8e3cc006
Back out 1ac4cb2e7c32 to c631f9c3e9a9 (bug 598482) for Android reftest failures
2011-12-23 22:21:58 -08:00
Boris Zbarsky
d26f136bbf
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
e7f8485ae3
Bug 598482 part 1 - Never force synchronous plugin geometry updates because it forces paints at bad times. r=roc
2011-12-23 22:52:20 -05:00
Nicholas Nethercote
8ea852b335
Bug 705987 - Use mallocSizeOf in the layout memory reporters. r=khuey,bzbarsky
2011-12-08 21:01:52 -08:00
Matheus Kerschbaum
8a393f7f40
Bug 698630 - Remove --disable-smil build option; r=dholbert
2011-11-05 10:32:52 +00:00
Robert O'Callahan
91cce0a191
Bug 696248. Flush pending onscroll events before painting. r=mats
2011-10-26 17:14:31 +13:00
Ehsan Akhgari
92064e6d3f
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
Ben Turner
861a81d26c
Bug 690962 - 'Remove useless assertion now that we use bool instead of PRBool'. r=dbaron.
2011-10-02 13:59:37 -07:00
Michael Wu
d2b70213ac
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
6c3d3da0c3
Bug 669028 part.13 layout should use mozilla::LookAndFeel rather than nsILookAndFeel r=roc
2011-09-09 11:27:13 +09:00
Scott Johnson
83996d7c43
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
fa63f6d2c9
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
Matt Brubeck
981b18c20b
Merge the last green changeset from mozilla-inbound to mozilla-central
2011-08-12 06:41:55 -07:00
Ms2ger
4ca9cbc0f3
Bug 677101, part b - Remove nsContentUtils.h includes from headers; r=volkmar
2011-08-11 15:29:50 +02:00
Rafael Ávila de Espíndola
278aa50e0d
Bug 678222 - Fix build with clang and c++0x; r=roc
...
Change AppUnitsPerDevPixel to return a PRUint32. It should never return
negative values and it is used in initializer lists that expect unsigned
values, which is not valid c++0x.
I have also change the member variables to be unsigned and converted
a sentinel value to use 0 instead of -1. UINT32_MAX should work fine too
if you like it better.
2011-08-11 19:19:03 -04:00
Ms2ger
07b3728d4c
Bug 677101 - Move nsAutoLayoutPhase to its own header; r=tn
2011-08-08 17:14:34 +02:00
Simon Montagu
c5979d144a
Make all nsBidiPresUtils methods static. Bug 624798, r=roc
2011-04-13 12:23:49 +03:00
Javi Rueda
4717926b02
Bug 516547. Remove the browser.display.base_font_scaler preference and all the code to process it. r=bzbarsky, sr=dbaron.
2011-07-11 15:27:25 -04:00
Matheus Kerschbaum ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
1b406143bc
Bug 664924 - Remove MOZ_CSS_ANIMATIONS ifdefs. r=dbaron
2011-06-20 16:47:09 -07:00
Robert O'Callahan
dca8b7c2d3
Bug 661471. Part 6.2: Handle dynamic changes to Cleartype enabled/disabled. r=jfkthame
2011-06-09 08:13:05 +01:00
Boris Zbarsky
0b03178d45
Bug 655549 and bug 645768. Rejigger the quirk table color rule to work more reliably. r=dbaron
2011-06-01 07:43:31 -04: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
Mounir Lamouri
84203d9e11
Merge cedar with mozilla-central.
2011-04-22 15:25:11 +02:00
L. David Baron
eac95bc5f3
Implement window.matchMedia for matching of media queries and notification of media query changes. (Bug 542058, patch 3) r=bzbarsky
...
This is specified at:
http://dev.w3.org/csswg/cssom-view/#extensions-to-the-window-interface
2011-04-21 20:17:31 -07:00
David Zbarsky
a0b813679f
Bug 610305: decom nsEventStateManager r=smaug
2011-04-21 19:35:52 +02:00
Mounir Lamouri
2af4853be5
Backed out changeset c1a7c1bc1aeb due to busted build.
2011-04-20 22:26:06 +02:00
David Zbarsky
732897cc3f
Bug 610305: decom nsEventStateManager r=smaug
2011-04-20 21:42:33 +02:00
Zack Weinberg
3929b6bfdd
Bug 651017, part 5: mechanical changes.
...
--HG--
extra : rebase_source : 8bbdf48488736b51d05e734e2e9316c1460cfed5
2011-04-16 18:22:44 -07:00
Robert O'Callahan
a7b4f1246b
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
b6b73ad75a
Bug 174055, part 4: mechanical fixups outside gfx.
2011-04-07 18:05:49 -07:00
Jan Küchler
c510bc3046
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
Simon Montagu
c808d636dc
Make all nsBidiPresUtils methods static. Bug 624798, r=roc
2011-04-13 12:23:49 +03:00
Jonathan Kew
212f73b280
bug 633299 - don't discard font entries for @font-face rules that haven't changed. r=dbaron
2011-04-12 11:53:20 +01:00
Ms2ger
c36fc1ab40
Backed out changeset 3f82f25d7334
2011-04-12 14:28:53 +02:00
Jonathan Kew
9765228219
bug 633299 - don't discard font entries for @font-face rules that haven't changed. r=dbaron
2011-04-12 11:53:20 +01:00
L. David Baron
d177e3432d
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
88867baa75
Implement and test animation of css3-animations. (Bug 435442, patch 11) r=bzbarsky
2011-04-11 23:18:44 -07:00
Robert O'Callahan
ca12f5328f
Bug 641599. Completely flush all ThebesLayers whenever the appunits-per-dev-pixel ratio changes. r=tnikkel
2011-04-11 16:57:29 -04:00
Timothy Nikkel
c5140ff72c
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
Brad Lassey
7f36eddd1d
bug 623820 - Text zoom reflow messes up layout on AMO and other sites r=roc,dbaron a=blocking-fennec
2011-03-10 23:33:43 -05:00
L. David Baron
dd6d9fe788
By default, disable MozAfterPaint for content. (Bug 608030) r=roc a=blocking2.0:betaN+
2011-01-24 16:23:08 -08:00
L. David Baron
db60dba864
Backout changeset 3248feddc867 (bug 608030).
2011-01-23 22:00:04 -08:00
L. David Baron
163d15ca63
By default, disable MozAfterPaint for content. (Bug 608030) r=roc a=blocking2.0:betaN+
2011-01-23 20:21:40 -08:00
Robert O'Callahan
785dc45b3a
Bug 612190. Make MozAfterPaint actually fire after paint. r=dbaron,a=me (blocks a blocker)
2011-01-15 22:40:33 +13:00
Peter Van der Beken
a5d2efc280
Fix for bug 624722 (nsBidiPresUtils should participate in CC).; r=ehsan a=roc
2011-01-11 14:19:00 -05:00
Michael Wu
adc8f28efe
Backed out changeset 34bd12eb4a9c for causing bug 618916, a=stuart
2010-12-13 16:14:07 -08:00
Oleg Romashin
32de6ed302
Bug 615870 - Remote HTML5 video rendering pipeline should be shorter r=roc a=b-f
2010-12-10 21:32:52 +02:00
Robert O'Callahan
7d301e82fa
Bug 596491. Part 4: Rename ForcePluginGeometryUpdate to SynchronousPluginGeometryUpdate, and make it do nothing if no plugin geometry update is required. r=mats,a=blocking
2010-10-11 13:58:21 +13:00
Timothy Nikkel
915ad4a0c1
Bug 592803. Remove nsPresContext::NotifyInvalidateForScrolling because it is not used. r=roc a=dbaron
2010-10-09 14:09:22 -05:00
Robert O'Callahan
368f4de891
Bug 594774. Detect DOM changes during painting, and abort painting ASAP when that happens. r=dbaron a=blocking
2010-09-17 12:09:08 -07:00
Timothy Nikkel
8979a63173
Bug 593286. Use the frame/view system to determine parent documents, not the docshell because the docshell hierarchy doesn't stay intact during page tranisition. r=roc a=blocking final
2010-09-11 13:24:50 -05:00
Ryan VanderMeulen
0eed661393
Bug 588977 - Fix MSVC warning spam by casting as floats. r=roc a2.0=joe
2010-08-20 14:45:07 +02:00
Robert O'Callahan
3133bff6c6
Bug 537890. Part 10: Fix nsPresContext and nsIDeviceContext unit-conversion methods to be explicit about using CSS logical units instead of physical units. r=dbaron
2010-08-13 21:58:04 +12:00
Robert O'Callahan
c0a3a641e0
Bug 537890. Part 4: Make points be a fixed number of CSS pixels. r=dbaron
2010-08-13 21:58:01 +12:00
Robert O'Callahan
d98ada6843
Bug 579262. Fix logic around mNeedsToUpdatePluginGeometry so we don't miss updating geometry for some plugins. r=tnikkel
2010-07-20 13:29:29 +12:00
Robert O'Callahan
00c5b11afa
Bug 564991. Part 27: Make plugin geometry changes asynchronous and make them happen as close to the final paint as possible. r=matspal,sr=vlad
2010-07-16 09:08:08 +12:00
Robert O'Callahan
3b653c5345
Bug 564991. Part 14: Scroll using the layer system. r=mats,sr=dbaron
2010-07-16 09:08:02 +12:00
Vladimir Vukicevic
73cbd73f4a
b=566447; add presshell memory reporter; r=bz
2010-05-31 19:19:35 -07:00
Timothy Nikkel
af8793ced3
Bug 553359. Address review comments.
2010-05-22 13:55:41 -05:00
Timothy Nikkel
2785965e97
Bug 222436. Simplify nsPresContext::BidiEnabled. r=roc
2010-04-10 13:03:40 -05:00
Michael Kohler
6c0f59f4a6
Bug 506041 Part 2: Correct misspellings in source code
...
r=timeless
2010-05-13 14:19:50 +02:00
Timothy Nikkel
6fb8b586f7
Backed out changeset e6134e94c6cb (Bug 222436) for possible Tsvg_opacity regression.
2010-05-02 02:01:29 -05:00
Timothy Nikkel
bf67d066e3
Bug 222436. Simplify nsPresContext::BidiEnabled. r=roc
2010-04-10 13:03:40 -05:00
Timothy Nikkel
9166d4f4fe
Bug 553359. Cache whether the PresContext is chrome or not. r=bzbarsky
2010-04-10 13:03:40 -05:00
Timothy Nikkel
54c2a7920d
Backed out changeset ae2093359899 (Bug 553359) for tsvg_opacity regression.
2010-04-11 19:26:41 -05:00
Timothy Nikkel
b696838d2e
Bug 553359. Cache whether the PresContext is chrome or not. r=bzbarsky
2010-04-10 13:03:40 -05:00
Timothy Nikkel
30fd077d62
Backed out changeset 3a27158cbdd6 (bug 222436) to try to fix tsvg_opacity regression.
2010-04-11 00:11:26 -05:00
Timothy Nikkel
238e6fe84b
Bug 222436. Simplify nsPresContext::BidiEnabled. r=roc
2010-04-10 13:03:40 -05:00
Robert O'Callahan
0fd1837981
Bug 551660. Switch layout code from using nsPropertyTable to FramePropertyTable. r=mats,sr=dbaron
2010-03-29 14:46:55 +13:00
Markus Stange
00fbecd8b0
Bug 508482 - Window activation status should be a pseudoclass (:-moz-window-inactive) instead of an attribute. r=dbaron, r+sr=jst
2010-03-17 18:10:57 +01:00
Markus Stange
d0207d99c6
Backed out changeset e17c076aceea, bug 508482 (:-moz-window-inactive pseudoclass) because of test_righttoleft.xul test failures.
2010-03-17 20:03:53 +01:00
Markus Stange
4a7a64bc2e
Bug 508482 - Window activation status should be a pseudoclass (:-moz-window-inactive) instead of an attribute. r=dbaron, r+sr=jst
2010-03-17 18:10:57 +01:00
Daniel Holbert
b87539e3b1
Bug 537139 followup: Call RestyleForAnimation() instead of SMILOverrideStyleChanged(), to avoid triggering CSS Transitions from SMIL changes. r=dbaron
2010-03-11 22:03:49 -08:00
Daniel Holbert
8c6b3bae0c
Bug 537139: Prevent SMIL animation from triggering CSS transitions. r=dbaron
2010-03-01 11:31:45 -08:00
Jonathan Kew
f5fd23a05d
Bug 547267 followup - rename nsPresContext::GetLanguage to GetLanguageFromCharset for clarity. r=dbaron
2010-02-26 06:20:35 -08:00
Jonathan Kew
365fbafa0d
Bug 524107 - part 1 - pass original value of 'lang' to gfx text code rather than only a 'langGroup' value, to allow language-specific font rendering. r=roc sr=mats
2010-02-24 09:57:44 -08:00
Mats Palmgren
29c9316331
Null-check the root pres context result. Unregister the plugin frame earlier, at Stop instead of Destroy time. b=521426 r=roc
2010-01-26 14:10:12 +01:00
Robert O'Callahan
0de717dfb6
Bug 526394. Part 31: Move scroll implementation into nsGfxScrollFrame. r=mats
2009-10-08 16:01:15 +13:00
Robert O'Callahan
785abafda3
Bug 526394. Part 5: Fix up a bunch of sites to use nsIScrollableFrame instead of nsIScrollableView. r=mats
2009-09-01 23:29:27 +12:00
L. David Baron
005c3d8297
Add nsPresContext::EnsureSafeToHandOutCSSRules. (Bug 536379) r=bzbarsky
2009-12-31 10:56:33 -05:00
Boris Zbarsky
b0ba4290ce
Bug 500882 part 2. Switch setting of primary frames to the new API; switch nsFrameManager::GetPrimaryFrameFor to the new API; remove resulting gobs of dead code. r=roc
2009-12-24 16:20:05 -05:00
L. David Baron
4f4e8a0731
Make the transition manager reference-counted. (Bug 531585) r=bzbarsky
2009-12-23 14:10:31 -05:00
L. David Baron
87b3db0437
Make nsRefreshDriver reference-counted instead of being a sub-object of the pres context. (Bug 531585) r=bzbarsky
2009-12-23 14:10:30 -05:00
Benjamin Smedberg
df57e102fe
Back out all the pieces of bug 531585 (transitioned event for end of CSS transitions) because of timeouts in test_transitions_events.html
2009-12-23 10:15:26 -05:00
L. David Baron
521bd402f6
Make the transition manager reference-counted. (Bug 531585) r=bzbarsky
2009-12-23 06:35:45 -05:00
L. David Baron
40b1b4376f
Make nsRefreshDriver reference-counted instead of being a sub-object of the pres context. (Bug 531585) r=bzbarsky
2009-12-23 06:35:45 -05:00
L. David Baron
fa1e99da6d
Backout revisions fa5326c011b8, 8b22441911b0, and cfa10b01b1f6 (bug 531585) on suspicion of causing random orange bug 536382.
2009-12-22 15:46:23 -05:00
L. David Baron
17654ece8e
Make the transition manager reference-counted. (Bug 531585) r=bzbarsky
2009-12-21 16:46:25 -05:00
L. David Baron
16f3a3a5b5
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
Olli Pettay
423522c88b
Bug 487667 - Clone documents for printing, r=roc+jst+joe+dbaron
...
--HG--
extra : rebase_source : dbab242066ba97c0d7f34a2fb701a1c465f26ec4
2009-12-10 20:02:13 -08:00
L. David Baron
2ccbe80f89
Implement CSS transitions: handle starting and animation of the transitions. (Bug 435441) r=bzbarsky sr=roc
2009-10-07 20:22:42 -07:00
Boris Zbarsky
628a6ad230
Bug 519590. Don't interrupt reflow until some time has passed. r=roc
2009-10-02 14:05:32 -04:00
Timothy Nikkel
15c88c6cce
Bug 334460. Turn warning on re-entry into frame construction into an assertion. r=bzbarsky
...
--HG--
extra : rebase_source : a9c5cf5446a04322956b951c09154a6ebb82cf2a
2009-09-22 23:52:08 -05:00
Robert O'Callahan
eaeee3bd5a
Bug 435441. Fix signed/unsigned warning. r=dbaron
...
--HG--
extra : rebase_source : 2aac24423b822a5737714115ff9bc3c53677ddd2
2009-09-20 00:12:48 +12:00
Robert O'Callahan
1da8163981
Bug 510110. Extend MozAfterPaint event to contain list of PaintRequest objects with information about individual invalidations. r=dbaron,sr=jst
...
--HG--
extra : rebase_source : 0e8b9f424d50c2d9e346f7ff15834202a6c101d1
2009-09-04 16:49:18 +12:00
L. David Baron
486cb49963
Make style changes know whether they are for transitions or not. (Bug 435441) r=bzbarsky
2009-09-11 06:46:36 -04:00
Daniel Holbert
1b7ae528d3
Bug 474049: (first patch) Add SMILOverrideStyle rule & accessors on nsIContent/nsGenericElement, to store SMIL-animated style values. r=dbaron r=bz
2009-09-02 17:28:37 -07:00
Jeff Walden
502cb46fc2
Bug 508325 - Fix a second instance of the core problem fixed in the first push; also change NSCoordSaturatingMultiply into two separate functions, one of which requires the scale to be non-negative and one which doesn't. r=roc
...
--HG--
extra : rebase_source : e4dc7f9f8e5647512524dcaa0e48dd5f68fe64a0
2009-08-06 00:36:54 -07:00
Zack Weinberg
c50a2c3b1f
Bug 497495 (frame poisoning) part 2: Introduce nsIPresShell::AllocateMisc/FreeMisc functions; add an as-yet-unused "code" parameter to AllocateFrame/FreeFrame; fix up nsFrame to match; use AllocateMisc/FreeMisc for all non-frame pres arena objects; move clearing of frame objects from nsFrame::operator new to AllocateFrame. r=roc sr=dbaron
2009-08-17 20:21:06 -07:00
Robert O'Callahan
4ddd47e32d
Bug 507334, part 1: Remove nsDisplaySummary optimization, since it introduces extra display items that would disable the optimizations in part 2. r=dbaron
2009-08-13 19:09:50 -07:00
Robert O'Callahan
2f9e8221d8
Bug 339548. Part 10.5: Eagerly fix up Mac plugin clip rect to be consistent with other platforms.
2009-07-22 12:45:02 +12:00
Robert O'Callahan
dce2b0d98a
Bug 339548. Part 9: Create nsRootPresContext::UpdatePluginGeometry, and use it. Make nsObjectFrame manage its widget directly.
2009-07-22 12:45:00 +12:00
Robert O'Callahan
16f8bf9ac4
Bug 339548. Part 2: Introduce nsRootPresContext.
2009-07-22 12:44:54 +12:00
Joe Drew
2aa59235f2
Bug 753 - Remove nsIImage, gfxIImageFrame, and their implementations, and expose an equivalent api on imgIContainer. r=roc,josh,bz,longsonr,vlad,karlt,jimm,bsmedberg,mfinkle,peterw,peterv sr=vlad,roc
...
--HG--
rename : gfx/src/shared/gfxImageFrame.cpp => modules/libpr0n/src/imgFrame.cpp
rename : gfx/src/shared/gfxImageFrame.h => modules/libpr0n/src/imgFrame.h
2009-07-20 18:50:15 -07:00
Daniel Brooks
cc1d7d8b29
Bug 495002 - nsPresContext ought to have CSSPixelsToDevPixels and DevPixelsToCSSPixels methods
...
r=bz, sr=roc
2009-06-18 03:35:11 -05:00
Timothy Nikkel
465a4821c7
Bug 491700 - "hang while resizing windows (CPU hits 100%, no interaction is possible)." r+sr=bzbarsky
2009-06-12 21:28:41 -04:00
Boris Zbarsky
849e48d014
Better build bustage fix for bug 495728
2009-06-11 15:30:24 -04:00
Boris Zbarsky
85503ce0ed
Backing out part of bug 495728 to fix Windows test build bustage
2009-06-11 15:08:33 -04:00
Timothy Nikkel
16d4794378
Bug 495728 - "###!!! ASSERTION: destroy called on frame while scripts not blocked: '!nsContentUtils::IsSafeToRunScript()', file /Users/bzbarsky/mozilla/vanilla/mozilla/layout/generic/nsFrame.cpp, line 446." r+sr=bzbarsky
2009-06-11 13:09:33 -04:00
Neil Deakin
15df29db77
Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE)
2009-06-10 14:00:39 -04:00
Boris Zbarsky
346daa82d1
Bug 67752. Implement interruptible reflow. r=roc,dbaron
2009-04-21 19:53:52 -04:00
Joe Drew
633b99bd32
Backed out changeset 6a452e522e07 - Boris Zbarsky – Bug 67752. Implement interruptible reflow. r=roc,dbaron - because of apparent Tp hangs.
2009-04-21 23:02:17 -04:00
Boris Zbarsky
5c5eb9c3ea
Bug 67752. Implement interruptible reflow. r=roc,dbaron
2009-04-21 19:53:52 -04:00
Robert O'Callahan
118b44eb19
Bug 476062. Instead of turning off -moz-appearance when an element has a box-shadow, just ignore the box-shadow. r+sr=dbaron
...
--HG--
extra : rebase_source : 68e79ec44afd089b93870a5d87ea549d5f04b9d6
2009-04-01 14:07:18 +13:00
Robert O'Callahan
6e750e8b5c
Bug 476062. Author-applied 'box-shadow' should cause elements to drop their native look. r+sr=dbaron
...
--HG--
extra : rebase_source : 6f5dfac238eb19be1b38cdd612e5dda8ac457e57
2009-03-18 13:32:08 +13:00
Olli Pettay
b6cf78a6a8
Bug 478245 - Crash [@ nsEventStateManager::PreHandleEvent], r+sr=dbaron
2009-03-11 17:43:08 +02:00
Taras Glek
69c8d8fd0d
Bug 476948: Need to be able to clear outstanding MozAfterPaint events r+sr=roc
2009-02-26 16:21:55 -08:00
Vladimir Vukicevic
85db8be7a1
b=478548; slightly optimize PresContext::Theme; r=dbaron
2009-02-26 12:02:00 -08:00
L. David Baron
715b4bef6b
Construct all our image loaders when we create frames so that we can allow arbitrary numbers of image loaders per frame (for multiple background images). (Bug 322475) r+sr=bzbarsky
2009-02-19 11:03:28 -08:00
L. David Baron
c936720f0a
Back out all 8 changesets that I just landed (bugs 477959, 477961, 322475, 478899, 475215, 478156) again, because Talos Try server builds lie about which changesets they're testing.
2009-02-19 09:06:18 -08:00
L. David Baron
253355ccbb
Construct all our image loaders when we create frames so that we can allow arbitrary numbers of image loaders per frame (for multiple background images). (Bug 322475) r+sr=bzbarsky
2009-02-19 07:29:27 -08:00
L. David Baron
3d090560b0
Revert (back out) the previous 11 changesets (bugs 477959, 477961, 477963, 477962, 322475, 478899, 475215, 478156), due to Mac talos orange with (as usual) no useful diagnostic.
2009-02-18 18:59:47 -08:00
L. David Baron
ce51a87ca9
Construct all our image loaders when we create frames so that we can allow arbitrary numbers of image loaders per frame (for multiple background images). (Bug 322475) r+sr=bzbarsky
2009-02-18 17:13:24 -08:00
Ben Turner
fc39babfc2
Bug 478304 - 'Let nsRunnableMethod be used with non-void-returning functions'. r=bsmedberg.
2009-02-17 20:11:09 -08:00
L. David Baron
53fb188c38
Keep old rule trees around until they are no longer referenced. (Bug 475128) r+sr=bzbarsky
2009-01-29 20:39:23 -08:00
L. David Baron
d8da73cb1f
Backed out changeset 24917a339f2e (bug 475128) because it didn't patch the IsRoot check nsRuleNode::Sweep, which it needs to.
2009-01-29 14:36:34 -08:00
L. David Baron
b81d7c8a40
Keep old rule trees around until they are no longer referenced. (Bug 475128) r+sr=bzbarsky
2009-01-29 12:39:19 -08:00
Boris Zbarsky
ff8ff59c94
Bug 335615. Don't do editor init inside frame construction. r=mats, sr=roc
2009-01-29 14:46:17 -05:00
Robert O'Callahan
224321d82d
Bug 462593. Cancel all outstanding font loads when the presshell is torn down. r=jdaggett
2009-01-19 22:21:29 +13:00