Commit Graph

69325 Commits

Author SHA1 Message Date
Robert O'Callahan
4924cae39a Bug 656749. Fix Mac test failure 2011-05-17 19:03:02 +12:00
Rafael Ávila de Espíndola
cc917952cb Bug 657528 - Use a volatile pointer to force a trap; r=ehsan
Clang issues the warning:
mozalloc_abort.cpp:64:22: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference]

And sure enough, TouchBadMemory is currently broken with clang. That breaks mozalloc_abort
which breaks NS_DebugBreak which breaks the crashreport test.
2011-05-16 21:07:06 -04:00
Robert O'Callahan
c5e00b2e8a Bug 647560. Remove unused MayHaveOverlappingOrTransparentLayers. r=tnikkel 2011-05-17 11:42:19 +12:00
Robert O'Callahan
e5e28d9ac2 Bug 647560. Cache temporary backbuffer surfaces. r=karlt 2011-05-17 11:42:11 +12:00
Robert O'Callahan
03d1ea7300 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-17 11:42:05 +12:00
Robert O'Callahan
3e50014290 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-17 11:41:57 +12:00
Robert O'Callahan
d1fe5a6711 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-17 11:41:48 +12:00
Robert O'Callahan
0bca45c661 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-17 11:41:39 +12:00
Ian Moody
fa4e75ab4d Bug 657143 - Reorder mature CSS properties in nsComputedDOMStyle.cpp 2011-05-17 11:20:08 +12:00
Paul ADENOT
6f534e4407 Bug 657447 : adding include guard aroung nsTimeRanges class. 2011-05-17 11:14:40 +12:00
Robert O'Callahan
ebb22db890 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
9f2fc5b8e2 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-17 11:05:46 +12:00
Robert O'Callahan
eec1211b36 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
Benoit Jacob
d1bac4c182 Bug 656752 - WebGL crash [@gleRunVertexSubmitImmediate()] - r=jrmuizel, a=clegnitto
Fix bookkeeping in webgl.bindBuffer()
2011-05-16 17:18:04 -04:00
Justin Lebar
ec8f99b5de Bug 656991 - Followup. Use JS_free instead of free. r=bz
--HG--
extra : rebase_source : 00e5cc27f067a191e7a834852faee8c788feb061
2011-05-16 16:36:12 -04:00
Taras Glek
3e856fc317 Bug 657411 - Telemetry doesn't register for idle-daily r=mak 2011-05-16 13:07:45 -07:00
Gavin Sharp
dd3b8d223c Bug 656815: make loading javascript: URIs in a docshell work for DISALLOW_INHERIT_OWNER loads, r=bz
--HG--
extra : rebase_source : 6b0e289ac80ffab967813b06e2e28f2842921b70
2011-05-13 10:40:22 -07:00
Gavin Sharp
f6fa25a9a0 Bug 656433: don't allow URIs loaded into the location bar to inherit the currently loaded document's principal, r=bz, r=dao
--HG--
extra : rebase_source : 3eed0612c5740d6a52ba5898d7ae130cfadd9641
2011-05-12 10:52:25 -07:00
Joe Drew
7a0cf04eb4 Bug 473841 - "ASSERTION: NULL mIconRequest! Multiple calls to OnStopRequest()?"; r=josh,bzbarsky 2011-05-16 15:24:54 -04:00
Steven Michaud
d95bb1842a Ensure compatibility with OS X 10.7's arrowless scrollbar. r=mstange 2011-05-16 12:56:03 -05:00
Ehsan Akhgari
5aaebed294 Bug 656875 - Use the transformed dirty rectngle when building display list items for stacking context; r=roc 2011-05-16 13:27:24 -04:00
Mike Hommey
276732190f Backout bug 644608 because of bustage 2011-05-16 16:29:03 +02:00
Siarhei Siamashka
45f3e58d85 Bug 656782 - Runtime CPU features detection does not work for pixman in Android [r=jmuizelaar]
Pixman upgrade from bug 640250 resulted in ARM cpu features
not being detected properly in Android. As a result, NEON
optimizations were not used at all.
2011-05-12 15:26:00 -04:00
Mark Finkle
6a14bd1a87 Bug 654733 - Stop using 'computer' in offline storage notifications (entity changes) [r=wjohnston] 2011-05-16 10:01:44 -04:00
Mike Hommey
2d708facec Bug 569365 - Remove preprocessor.pl and replace it with Preprocessor.py. r=ted
--HG--
rename : config/Expression.py => js/src/config/Expression.py
rename : config/Preprocessor.py => js/src/config/Preprocessor.py
2011-05-16 15:51:21 +02:00
Mike Hommey
a733c6b3cf Fixup for bug 644608. r=ted 2011-05-16 15:49:29 +02:00
Mounir Lamouri
66e9fa56e1 Bug 656284 - Fix clipped XUL progressmeter on Windows. r=roc 2011-05-16 12:19:27 +02: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
Mike Hommey
c01d121edb Bug 644608 - Implement full dependencies for expandlibs. r=ted 2011-05-03 09:33:45 +02:00
Ted Mielczarek
a7fa63e90b bug 654448 - don't call Typelib._sanitycheck after every merge in xpt_link. r=glandium 2011-05-16 08:04:47 -04:00
Shawn Wilsher
1aafd383b1 Bug 657034 - Timed Expiration queries need to bind null too. r=mak 2011-05-16 12:42:05 +02:00
timeless@mozdev.org
564ada81e6 Bug 584316 - Fix DownloadManager usage of deprecated Storage binding APIs. r=sdwilsh 2011-05-16 12:41:28 +02:00
Dão Gottwald
f990270df5 Update browser_urlHighlight.js for bug 657173 2011-05-16 12:40:40 +02:00
Hiroyuki Ikezoe
640d89fbb5 Bug 657259 - Remove needless GTK_OBJECT macro. r=karlt 2011-05-16 11:07:37 +02:00
Serge Gautherie
a53df1b729 Bug 603574 - Remove --disable-profile-guided-optimization support, Fix some unrelated nits. r=ted 2011-05-16 11:05:47 +02:00
Kai Liu
06c8709e17 Bug 657262 - Use ThreeDShadow instead of ThreeDDarkShadow for the border for the location bar and search box in Windows Classic. r=dao 2011-05-16 11:04:52 +02:00
Gavin Sharp
719f72b4a6 Bug 657173 - Don't format URL bar value when the URL bar is focused. r=dao 2011-05-14 16:38:59 -07:00
Richard Marti
fbfdf06ce4 Bug 655691 - Use native button appearance for colorpicker buttons. r=dao 2011-05-16 11:00:39 +02:00
Tuukka Tolvanen
3d2315a7b1 Bug 290274 - [mozTXTToHTMLConv] 'clever formatting' of plaintext strips caret from superscript display (x^2 => x2); r=BenB,honzab 2011-05-16 08:59:18 +01:00
Michael Ventnor
b218b6f65b Bug 513006 - Some scrollbars disappear if GTK2 theme has scrollbar buttons turned off r=roc 2011-05-16 13:28:01 +10:00
Honza Bambas
66f442f038 Bug 654707 - Crash [@ nsGlobalWindow::FireDelayedDOMEvents], r=jst
--HG--
extra : rebase_source : 0b41a8aab5a92192754c0a15ae563e40c60eb892
2011-05-04 07:49:00 -07:00
Justin Lebar
f454c06deb Backing out rev 355db79ef6b6 due to orange.
--HG--
extra : rebase_source : 196fc1d1d009a9d9c02c5b2132e6d30721594fd6
2011-05-15 21:51:04 -04:00
Hiroyuki Ikezoe
d8cbca802f Bug 656781 - More efficient way to use g_app_info_launch_uris and gnome_vfs_mime_application_launch, r=karlt
--HG--
extra : rebase_source : a97c1bdaf1b45d380c3b90d9abb2507c68ab5128
2011-05-12 20:55:00 -07:00
Phil Ringnalda
b9f79ef09d Bug 657252 - Clean up some random packaging warnings, r=khuey
--HG--
extra : rebase_source : 44bc71af666ba46ecdfe7a0c90d8e8932518c1be
2011-05-15 18:07:38 -07:00
Justin Lebar
66eadc7e21 Bug 656991 - Fix leak in nsStructuredCloneContainer::InitFromVariant. r=bz,igor 2011-05-15 20:29:19 -04:00
Justin Lebar
9ce61756db Bug 655273 - SHEntries created by history.pushState should have their titles set. r=sicking 2011-05-09 14:54:36 -04:00
Justin Lebar
0421065dcb Bug 646422 - push/replaceState should inform global history of the new URI's title. r=mak 2011-05-15 20:29:18 -04:00
Justin Lebar
548056eb81 Bug 654354 - Don't output python backtraces when a mochitest is killed via ctrl-c. r=ted
--HG--
rename : testing/mochitest/pywebsocket_ignore_sigint.py => testing/mochitest/pywebsocket_wrapper.py
2011-05-09 17:54:35 -04:00
Tatiana Meshkova
7542ad5654 Bug 656167 - Temporarily disable or back out fixed layers. Visibility part. r=roc 2011-05-13 16:21:59 +03:00
Matt Brubeck
7e64da9007 Bug 656167 - Disable reftest until fixed layers are re-enabled (test-only). 2011-05-15 09:36:52 -07:00