Commit Graph

247275 Commits

Author SHA1 Message Date
Zack Weinberg
2f9f710588 Bug 541496 part 6: remove no-longer-used stream-processing code from css::Loader and nsCSSParser. r=bzbarsky 2011-05-18 21:22:59 -04:00
Zack Weinberg
97dcf8c409 Bug 541496 part 5: use the string-taking API for sync sheet loads. r=bzbarsky 2011-05-18 21:22:59 -04:00
Zack Weinberg
c526a0f788 Bug 541496 part 4: rewrite ns(I)UnicharStreamLoader to produce a string rather than a stream; use string-taking parser API for async style loads. r=bzbarsky 2011-05-18 21:22:59 -04:00
Zack Weinberg
e89f55ad05 Bug 541496 part 3: use the new string-taking API in LoadInlineStyle. r=bzbarsky 2011-05-18 21:22:59 -04:00
Zack Weinberg
566c8cf306 Bug 541496 part 2: use the new string-taking API in nsHTMLParanoidFragmentSink. En passant prune some unnecessary inclusions of ns(I)UnicharInputStream.h. r=bzbarsky 2011-05-18 21:22:59 -04:00
Zack Weinberg
e852e1fb26 Bug 541496 part 1: add an overload of nsCSSParser::Parse() that takes a string rather than a stream; rename both methods ParseSheet(); change calling convention of the older overload for the templated implementation's sake. r=bzbarsky 2011-05-18 21:22:59 -04:00
Robert O'Callahan
47ede5b8e2 Bug 647560. Remove unused MayHaveOverlappingOrTransparentLayers. r=tnikkel 2011-05-18 23:24:52 +12:00
Robert O'Callahan
b3d6e4d026 Bug 647560. Cache temporary backbuffer surfaces. r=karlt 2011-05-18 23:24:52 +12:00
Robert O'Callahan
66c2bd79f5 Bug 647560. Create ApplyDoubleBuffering to recursively walk layer tree and implement double-buffering by setting mUseIntermediateSurface on ContainerLayers where necessary. r=tnikkel
The idea here is to do double-buffering just by setting mUseIntermediateSurface on ContainerLayers when needed. When
we need to double-buffer compositing of a layer tree, ApplyDoubleBuffering examines the root container layer. If the
child layers don't overlap and together cover the window, we don't need to double-buffer in that container, instead
we can double-buffer each child layer separately --- so we recursively call ApplyDoubleBuffering on the child layers.
When a container has children that overlap or that don't cover the container's visible rect (the latter case
probably can't happen in practice), we force it to have an intermediate surface.

This change fixes this bug because in normal browser windows the Web content layer double-buffers
2011-05-18 23:24:52 +12:00
Robert O'Callahan
c768bea25e Bug 647560. Add support for compositing BasicLayers with OPERATOR_SOURCE. r=tnikkel
We'll need this for the improved backbuffer code in the next patch. When a layer tree's
leaf layers don't overlap and cover the window, the next patch will avoid double-buffering
by blitting those layers directly to the window. If the window has transparent parts
(e.g. with Aero Glass), we need to draw the layers for those transparent parts using
OPERATOR_SOURCE so that the alpha values in the window are reset.
2011-05-18 23:24:52 +12:00
Robert O'Callahan
f243295b25 Bug 647560. Clean up MarkLeafLayersHidden and make it set the hidden state on container layers. r=tnikkel
Instead of doing tricks with the cliprect to prevent layer content from adding to aOpaqueRegion, pass an explicit flag to control that.
Mark a ContainerLayer hidden if all its children are hidden. This will need to be changed if/when we add layer properties
that result in a ContainerLayer drawing content even if it has no children.
2011-05-18 23:24:52 +12:00
Robert O'Callahan
211b76b78d Bug 629866. Part 2: Make MarkLeafLayersHidden actually hide layers that aren't in the dirty region. Don't consider hidden layers when deciding whether double-buffering is needed. r=cjones 2011-05-18 23:24:52 +12:00
Tim Taubert
5e6522f267 Bug 643392 - A 'ghost tab' appears inside a Tab Group; f=raymond, r=dao+ehsan 2011-05-17 23:31:41 +02:00
Tim Taubert
df2d627e1c Bug 656778 - Enable session restore when Panorama usage is detected; r=zpao+dolske, ui-r=limi 2011-05-18 00:00:05 +02:00
Karl Tomlinson
7d1750ae34 normal line height test b=657864
--HG--
extra : transplant_source : w%E7B%EF%D1%A7%8C%9A%98%C2%0Ce%C1N%BB%08nrC2
2011-05-17 14:57:31 +12:00
Karl Tomlinson
06e7bea554 b=657041 initialize with NS_MATHML_STRETCH_ALL_CHILDREN_VERTICALLY for when InheritAutomaticData does not get called r=fred
--HG--
extra : transplant_source : %E3%07S3%ABv%EC%B67%5C%25%29CH%12%99%8C%B43P
2011-05-19 11:56:14 +12:00
Dão Gottwald
493bddf3da Bug 658852 - When a page is loading, the status panel should appear immediately rather than being faded in (affects page load time). r=gavin 2011-05-22 19:07:23 +02:00
Michael Wu
71e8152319 Bug 658093 - BuildFileList can potentially try to read a signature beyond the end of the zip file, r=taras 2011-05-22 09:38:02 -07:00
Joel Maher
d97ccb1021 Bug 616999 - switch to a manifest format for xpcshell instead of walking directories. r=jhammel, a=test-only 2011-05-20 12:22:00 -04:00
Mike Hommey
d8f57ea03c Add missing file after backout aa83abd4fd01 2011-05-22 18:09:55 +02:00
Mike Hommey
650910705e Backout bug 552864, bug 632404 and bug 657297 because of leak test bustage 2011-05-22 17:52:16 +02:00
Ludovic Hirlimann
caed4c146a Bug 328090 - remove -fpascal-strings from mac build options. r=ted 2011-05-22 17:26:52 +02:00
Kenneth Barbalace
14fb4cd9c3 Bug 658729 - Override tab max-width set by extensions and themes using !important. r=dao 2011-05-22 17:25:44 +02:00
Ms2ger
95946ba581 Bug 657210 - Outparamdel nsEditor::GetPresShell; r=ehsan 2011-05-22 14:43:13 +02:00
Markus Stange
aa420b6209 Bug 658500 - Don't treat windows with window level kCGFloatingWindowLevel as transparent to mouse events. r=josh
--HG--
extra : rebase_source : 4bba3149f835785fb1e28709b96dc41060cc8461
2011-05-21 22:06:38 +02:00
Benjamin Peterson
77408a88a6 Bug 658314 - UserToDevice uses the transform matrix. r=roc
--HG--
extra : rebase_source : 642b8d2ec5c5a523c74d44c4285731810f28e7ba
2011-05-21 22:06:24 +02:00
Daniel.S
695f80cd69 Bug 477462 - margin-collapsing test suite, wave 4: dynamic horizontal, block, table, caption sibling margins. r=dbaron
--HG--
extra : rebase_source : 2768fbfd11770d9f72edd70d7828b4f4f5ac9ae0
2011-05-21 22:05:43 +02:00
Hiroyuki Ikezoe
341957a759 Bug 658405 - Use NS_ARRAY_LENGTH macro. r=karlt
--HG--
extra : rebase_source : a8063e50e165735d0623e5ac08d4f020f8d34275
2011-05-21 22:04:44 +02:00
Simon Montagu
e1b022a91f Cache in-flow content length. Bug 566066, r=roc 2011-05-22 11:20:29 +03:00
Randell Jesup
668c993e99 Bug 655084 - Remove nsWeakFrame's from editor scripts and the nsTextInputListener to improve perf on pages with lots of text widgets. r=ehsan 2011-05-21 04:25:27 -04:00
Mike Hommey
2751dcdc2f Bug 657297 part 2 - Add telemetry samples for initial I/O counters. r=tglek 2011-05-22 08:24:32 +02:00
Mike Hommey
2941bc9625 Bug 657297 part 1 - Expose a function to add telemetry samples in XRE. r=tglek,sr=bsmedberg 2011-05-22 08:23:20 +02:00
Mike Hommey
c7ba79baa9 Bug 632404 - Preload dependent libraries at startup. r=tglek,r=bsmedberg 2011-05-22 08:23:20 +02:00
Mike Hommey
d20e85816d Bug 552864 part 2 - Load the XUL library with the standalone glue and get rid of the startup shell script. r=tglek,r=ted 2011-05-22 08:23:20 +02:00
Mike Hommey
bd8115fb89 Bug 552864 part 1.5 - Move XRE_GetBinaryPath code in a dedicated class. r=tglek 2011-05-22 08:23:20 +02:00
Mike Hommey
cf55d3b88a Bug 552864 part 1 - Move DLL blocklist in XRE, and inline NS_SetDllDirectory and environment sanitization, which now needs to be called manually. r=ehsan,r=bsmedberg 2011-05-22 08:22:27 +02:00
Mike Hommey
3fb48f605b Bug 658273 - Move sqlite before nss in dependentlibs.list. r=bsmedberg 2011-05-22 08:22:27 +02:00
Masayuki Nakano
cddb7705f5 Bug 657634 Don't use high resolution scrolling when scrolling speed is customized by prefs r=smaug 2011-05-22 14:39:16 +09:00
Patrick McManus
bd356c84e9 websockets - disable deflate-stream while an orange is sorted out r=biesi 2011-05-21 21:27:53 -04:00
Patrick McManus
01c51e2d07 bugzilla 640003 websockets ietf-07 r=smaug r=biesi sr=bz 2011-05-21 21:27:52 -04:00
Patrick McManus
5fd56cb6b8 bug 640003 - websockets, fixup tests for new server r=smaug r=biesi 2011-05-21 21:27:52 -04:00
Patrick McManus
4ff34a4169 bug 640003 websockets - update incorporated pywebsockets to support -07 r=biesi 2011-05-21 21:27:52 -04:00
Daniel Holbert
6ce0ea820e Bug 308590 patch 7: Reftest for SVG data URI including hash-reference to internal pattern. r=bz 2011-05-21 18:12:46 -07:00
Daniel Holbert
9b63119f9a Bug 308590 patch 6: Fix nsDataHandler::NewURI to accept relative URI specifications like "#myRef". r=bz 2011-05-21 18:12:46 -07:00
Daniel Holbert
7c96f3c728 Bug 308590 patch 5: Clean up QIs to nsIURL that are really checks for "Does this support GetRef/SetRef", now that nsIURI supports GetRef/SetRef too. r=bz 2011-05-21 18:12:46 -07:00
Daniel Holbert
270f56506c Bug 308590 patch 4: Add impl for .ref on nsSimpleURI. r=bz 2011-05-21 18:12:45 -07:00
Daniel Holbert
2ee75e0a93 Bug 308590 patch 3.5: Add nsIURI::CloneIgnoringRef interface & impls. r=bz sr=biesi 2011-05-21 18:12:45 -07:00
Daniel Holbert
f4110d2e96 Bug 308590 patch 3: Add nsIURI::EqualsExceptRef interface & impls. r=bz sr=biesi 2011-05-21 18:12:45 -07:00
Daniel Holbert
a8ca33ca0f Bug 308590 patch 2: Move GetRef/SetRef from nsIURL to nsIURI. r=bz sr=biesi 2011-05-21 18:12:45 -07:00
Daniel Holbert
cbdf2a3c2f Bug 308590 patch 1: Revamp test_URIs.js, including some tests for .ref (which will be supported on URIs after the rest of this bug's patches). r=bz 2011-05-21 18:12:45 -07:00