Commit Graph

70357 Commits

Author SHA1 Message Date
David Mandelin
2299c54162 Bug 656282: Remove redundant declaration that causes an MSVC warning, r=luke
--HG--
extra : rebase_source : 42c6e9594f36fd7320bdea90fdb01c955bf07f4d
2011-05-16 16:17:19 -07:00
Chris Leary
8a58ce9072 Bug 657537: clean up jschar inflation/deflation. (r=Waldo) 2011-05-26 15:50:05 -07:00
Jim Blandy
6f5851edb8 (no bug): Fix comments referring to allocation policies defined in jstl.h --- they're now in jsalloc.h. 2011-05-26 10:55:58 -07:00
Brian Hackett
98763bc2cb [INFER] Move addTypeProperty barriers under obj->setProperty, obj->defineProperty, bug 619693. 2011-05-16 16:15:37 -07:00
Tim Taubert
f2abe04c73 Bug 618188 - browser-chrome: browser_600545.js (and _601955.js) intermittently times out; r=zpao 2011-05-17 00:41:28 +02:00
Ed Morley
a024675103 Bug 656187 - Remove modules/lib7z/ since it was only used for the WinCE installer; r=bsmedberg 2011-05-17 16:06:18 +02:00
Ed Morley
c24361f216 Bug 655498 - Remove WinCE code from profile/* ; r=bsmedberg 2011-05-17 16:06:10 +02:00
Ed Morley
d260544670 Bug 316661 - Part A - Remove null-checks before delete. r=bsmedberg 2011-05-17 16:01:36 +02:00
Rafael Ávila de Epíndola
85524ac5b6 Bug 655865 - Fix --enable-accessibility build with clang. r=smichaud,joshmoz 2011-05-17 16:00:30 +02:00
Hiroyuki Ikezoe
fe5b0f156b Bug 657487 - Include static keyword in definitions of signal callback functions. r=karlt 2011-05-17 15:55:16 +02:00
Ehren Metcalfe
8947b2bf0c Bug 551390 - Remove dead code in content r=sicking,roc 2011-05-17 15:54:09 +02:00
Mounir Lamouri
64a8d3688b Merging cedar with mozilla-central. 2011-05-17 15:32:32 +02:00
Mounir Lamouri
8a721ac4c8 Backout test fix that was needed for bug 656749. 2011-05-17 13:43:40 +02:00
Mounir Lamouri
cffb492c94 Backout bug 656749. 2011-05-17 13:43:10 +02:00
Mounir Lamouri
53f16e074a Merge backout 2011-05-17 11:44:32 +02:00
Mounir Lamouri
eceb98864c Backout bug 629866 and bug 647560. 2011-05-17 11:44:17 +02:00
Robert O'Callahan
66c9b9c755 Backout 647560 --- changesets 32a13c864e55 c2dbc3747034 3d845440cbc7 13c5fa1bdfb0 8cf18f0d9e7e 863cd05ae581 2011-05-17 19:05:23 +12:00
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
Brian Hackett
c3e5ec9390 [INFER] Restore known type of tracked vars at access points, not join points, bug 657304. 2011-05-16 10:22:41 -07:00
Brian Hackett
7c0d886caf [INFER] Make sure Interpret finishes the frame when rejoining from the interpoline, bu 657288. 2011-05-16 07:46:47 -07:00
Brian Hackett
83b1ef1e45 [INFER] Don't run same-compartment assertions for GETLOCAL followed by POP, bug 657287. 2011-05-16 06:59:37 -07:00
Raymond Lee
26574c60f1 Bug 657331 - Fix the registerCleanupFunction() in browser_tabview_bug625195.js r=ian 2011-05-16 20:40:09 +08:00
Rafael Ávila de Espíndola
33fe4e2770 Bug 657364 - Put dom/tests/mochitest/dom-level2-html/files/document.html applet in a new file. r=ehsan 2011-05-18 11:56:06 +02:00
Mounir Lamouri
627d04b7ce Bug 655960 - Use a native rendering for vertical progress bar in Cocoa. r=mstange 2011-05-16 12:58:55 +02:00
Mounir Lamouri
8c71c5f7ea Bug 655313 - Use a native rendering for indeterminate vertical progress bar in GTK. r=roc,karlt 2011-05-16 12:59:10 +02:00
Mounir Lamouri
c838180b45 Bug 638540 - Progress element should be shown vertically when -moz-orient value is 'vertical'. r=roc
--HG--
rename : layout/reftests/forms/progress/bar-pseudo-element-ref.html => layout/reftests/forms/progress/bar-pseudo-element-vertical-ref.html
rename : layout/reftests/forms/progress/bar-pseudo-element.html => layout/reftests/forms/progress/bar-pseudo-element-vertical-rtl.html
rename : layout/reftests/forms/progress/bar-pseudo-element.html => layout/reftests/forms/progress/bar-pseudo-element-vertical.html
rename : layout/reftests/forms/progress/indeterminate-style-width-ref.html => layout/reftests/forms/progress/indeterminate-style-height-ref.html
rename : layout/reftests/forms/progress/indeterminate-style-width.html => layout/reftests/forms/progress/indeterminate-style-height.html
rename : layout/reftests/forms/progress/margin-padding-ref.html => layout/reftests/forms/progress/margin-padding-vertical-ref.html
rename : layout/reftests/forms/progress/margin-padding-rtl-ref.html => layout/reftests/forms/progress/margin-padding-vertical-rtl-ref.html
rename : layout/reftests/forms/progress/margin-padding-rtl.html => layout/reftests/forms/progress/margin-padding-vertical-rtl.html
rename : layout/reftests/forms/progress/margin-padding.html => layout/reftests/forms/progress/margin-padding-vertical.html
rename : layout/reftests/forms/progress/values-ref.html => layout/reftests/forms/progress/values-vertical-ref.html
rename : layout/reftests/forms/progress/values-ref.html => layout/reftests/forms/progress/values-vertical-rtl-ref.html
rename : layout/reftests/forms/progress/values.html => layout/reftests/forms/progress/values-vertical-rtl.html
rename : layout/reftests/forms/progress/values.html => layout/reftests/forms/progress/values-vertical.html
2011-05-16 12:56:06 +02:00
Jan de Mooij
d6fcfe5e43 [INFER] Revert 118fb707c569, just initialize varTypes to NULL in ActiveFrame constructor. 2011-05-16 11:02:18 +02:00
Jan de Mooij
cd0e91e189 [INFER] Set varTypes to NULL with inference disabled to prevent crashes. r=orange 2011-05-16 10:27:50 +02:00
Brian Hackett
4b32973a89 [INFER] Fix memory leaks. 2011-05-15 23:32:21 -07:00
Brian Hackett
2eed6ef8b1 [INFER] Allow for scripts with no reachable return statement when analyzing 'new' script properties, bug 657197. 2011-05-15 22:58:53 -07:00
Brian Hackett
98223df216 [INFER] Object.toLocaleString is not guaranteed to produce a string, bug 657225. 2011-05-15 22:46:19 -07:00
Brian Hackett
309753c03d [INFER] Fix bogus assert in array_pop_dense, bug 657245. 2011-05-15 22:08:10 -07:00
Brian Hackett
9074d3578c [INFER] Match js_StringIsIndex in termination condition for MakeTypeId, bug 657247. 2011-05-15 21:27:12 -07:00
Brian Hackett
afdce01248 Merge TM -> JM 2011-05-15 11:32:09 -07:00
Brian Hackett
2cc64eaaa8 [INFER] Treat NEWOBJECT like NEWINIT in scripts marked as compileAndGo but with no associated global object, bug 619433. 2011-05-15 09:33:40 -07:00