Commit Graph

92611 Commits

Author SHA1 Message Date
Nicholas Cameron
4619e13780 Bug 716439; Loading a mask layer to textures in DX10. r=Bas 2012-02-16 12:34:23 +13:00
Nicholas Cameron
fa220c0a0e Bug 716439; backend of the mask layers system for basic layers (software). r=roc 2012-02-08 11:27:21 +13:00
Nicholas Cameron
06d16ddac0 Bug 716439; creating mask layers. r=roc 2012-02-08 11:27:44 +13:00
Nicholas Cameron
a387d019ba Bug 716439; remove a check for rounded rects to enable the use of mask layers. r=roc 2012-02-08 11:26:46 +13:00
Nicholas Cameron
30a8eb0b61 Bug 716439; recycling mask layers. r=roc 2012-02-08 11:26:40 +13:00
Nicholas Cameron
32f2aad481 Bug 716439; User data for mask layers. r=roc 2012-02-08 11:26:33 +13:00
Nicholas Cameron
c4f07f19a1 Bug 716439; mask layer - member, getter, setter, dumping. r=roc 2012-01-18 14:35:49 +13:00
Nicholas Cameron
44c6d07ba4 Bug 733894; changing the framework for representing shaders in the OGL
layers backend. r=BenWa
2012-03-19 09:07:25 +13:00
Nicholas Cameron
b056a47fa0 Bug 733892; block reverting to the null last chance expception handler. r=ehsan 2012-04-20 21:07:55 +12:00
Eitan Isaacson
685c08c630 Bug 751428 - Remove spaces and catch errors when localizing role names. r=davidb 2012-05-02 22:10:55 -07:00
Eitan Isaacson
6d26a0e6d1 Bug 749812 - Add AccessFu text editing feedback. r=tbsaunde 2012-05-02 22:10:55 -07:00
Eitan Isaacson
c56e11412f Bug 747272 - Filter out whitespace text leaves. r=surkov 2012-05-02 22:10:55 -07:00
Boris Zbarsky
577419e736 Bug 748983. Fix the instanceof behavior for new bindings in situations where we don't need a custom hasInstance hook. r=peterv 2012-05-03 00:35:38 -04:00
Boris Zbarsky
32c7f6e634 Bug 742217. Reduce the use of nested namespaces in our binding code. r=peterv,bent
In the new setup, all per-interface DOM binding files are exported into
mozilla/dom.  General files not specific to an interface are also exported into
mozilla/dom.

In terms of namespaces, most things now live in mozilla::dom.  Each interface
Foo that has generated code has a mozilla::dom::FooBinding namespace for said
generated code (and possibly a mozilla::bindings::FooBinding_workers if there's
separate codegen for workers).

IDL enums are a bit weird: since the name of the enum and the names of its
entries all end up in the same namespace, we still generate a C++ namespace
with the name of the IDL enum type with "Values" appended to it, with a
::valuelist inside for the actual C++ enum.  We then typedef
EnumFooValues::valuelist to EnumFoo.  That makes it a bit more difficult to
refer to the values, but means that values from different enums don't collide
with each other.

The enums with the proto and constructor IDs in them now live under the
mozilla::dom::prototypes and mozilla::dom::constructors namespaces respectively.
Again, this lets us deal sanely with the whole "enum value names are flattened
into the namespace the enum is in" deal.

The main benefit of this setup (and the reason "Binding" got appended to the
per-interface namespaces) is that this way "using mozilla::dom" should Just
Work for consumers and still allow C++ code to sanely use the IDL interface
names for concrete classes, which is fairly desirable.

--HG--
rename : dom/bindings/Utils.cpp => dom/bindings/BindingUtils.cpp
rename : dom/bindings/Utils.h => dom/bindings/BindingUtils.h
2012-05-03 00:35:38 -04:00
Robert O'Callahan
12e3b37b2f Bug 749075. Part 2: Skip the guts of Accumulate if we're adding a display item in an area of the layer that's already opaque and visible. r=mattwoodrow
This patch moves some stuff that needs to be done for every item up to the front of the function, then checks to
see if the item is being added in an area that's already opaque and visible. If so (and assuming the
color-layer optimization has already been disabled), none of the rest of the method would do anything so we
can exit early. In particular we avoid calling IsUniform and GetOpaqueRegion on the item, and we also avoid
some expensive region manipulation.
2012-05-03 16:29:05 +12:00
Robert O'Callahan
3e30bf4a46 Bug 749075. Part 1: Refactor the nsDisplayItem API for testing whether the item needs to be rendered to a transparent surface. r=mattwoodrow
Currently we return an extra out parameter on GetOpaqueRegion. This is ugly and it's also going to be inefficient
because in a followup patch I'm going to avoid calls to GetOpaqueRegion, but we still need to know whether the item
needs a transparent surface. So this patch removes that out parameter. Instead, we rely on the fact that only
Windows' glass-window-background display item needs to force a transparent surface, and there can only be one
of those per window. So we store a reference to it in the nsDisplayListBuilder if there is one, and then we can
efficiently tell if any leaf display item is the one that forces a transparent surface. For display items that
wrap a list, we continue to store whether they need to force a transparent surface in a boolean in the list.
2012-05-03 16:29:05 +12:00
Robert O'Callahan
be76e09cf5 Bug 653994. Avoid trying to paint plugin widgets in the case where a plugin fails to subclass our window. r=bsmedberg 2012-05-03 16:29:04 +12:00
Max Li
e93f14bea3 Bug 748601 - nsMaiInterfaceText.cpp should check internal role not atk role, r=tbsaunde, f=surkov 2012-05-02 07:13:34 -04:00
Landry Breuil
6090d71f96 Bug 750853 - Remove trailing comma at end of enumerator list, breaks build on OpenBSD, r=hub 2012-05-01 13:05:00 -07:00
Max Li
c396260939 Bug 750196 - remove ROLE_SYSTEM_ definitions, r=eitan 2012-04-30 21:32:40 -04:00
Max Li
d46bff565c Bug 750193 - get rid useless DEBUG_A11Y code, r=eitan 2012-04-30 19:48:28 -04:00
Ehsan Akhgari
b719576270 Merge mozilla-central and mozilla-inbound 2012-05-02 23:59:08 -04:00
Ehsan Akhgari
1f46a45045 Merge mozilla-central into mozilla-inbound on a CLOSED TREE 2012-05-02 21:52:33 -04:00
Ehsan Akhgari
90f1c2744d Merge mozilla-central into mozilla-inbound on a CLOSED TREE 2012-05-02 19:40:48 -04:00
Philipp von Weitershausen
1bb8055430 Bug 750589 - Update default MobileConnection permissions after Gaia refactoring (#1277). r=fabrice a=b2g-only 2012-05-02 16:33:15 -07:00
Philipp von Weitershausen
e3b7f40711 Bug 750592 - B2G RIL: only enable RILQUIRKS_CALLSTATE_EXTRA_UINT32 on SGS2 gingerbread. r=qDot 2012-05-02 16:32:46 -07:00
Jose Antonio Olivera Ortega
2ba242bf5a Bug 714973 - Add emergency calls to RIL's state machine. r=philikon 2012-05-02 16:32:46 -07:00
Matt Brubeck
e3b7b8e191 Merge mozilla-central and mozilla-inbound 2012-05-02 15:58:11 -07:00
Bobby Holley
739e8822de Bug 751086 - Disable toolkit/mozapps/plugins/tests/browser_bug435788.js for leaks (r=Mano,a=test-only) 2012-05-02 15:06:27 -07:00
Asaf Romano
6e16bdb5fa Bug 750269 - Fix places transactions leak with cpg (r=mak,a=not-in-libxul) 2012-05-02 15:06:07 -07:00
Ehsan Akhgari
5d889508d9 Bug 751273 - Part 2: Rip out cairo and pixman from libxul; r=khuey
Landing on a CLOSED TREE

--HG--
extra : rebase_source : 92b945b90bb70a020609ad8ac0ffe633076bed10
2012-05-02 16:32:16 -04:00
Bobby Holley
8bc0b852b9 Bug 750859 - Remove {Disable,Revert}Capability. r=bz, PGO helper on CLOSED TREE 2012-05-02 23:57:43 +02:00
Bobby Holley
37471e102e Bug 750859 - Remove (most of) SetCanEnableCapability. r=bz 2012-05-02 23:57:34 +02:00
Bobby Holley
61fa812956 Bug 750859 - Kill the CAPS confirm dialog. r=bz
This will break addons using enablePrivilege, but that's going away too. We've been warning for many releases now, so it's time to bite the bullet.
2012-05-02 23:57:34 +02:00
Bobby Holley
7901c91583 Bug 750859 - remove unused (or seldom-used) PrivilegeManager functions. r=bz 2012-05-02 23:57:34 +02:00
Ehsan Akhgari
723adfb1b0 Backed out changeset 27c51f14c3ed (bug 751273) because of build bustage on Linux on a CLOSED TREE 2012-05-02 16:46:25 -04:00
Ehsan Akhgari
a5ca4e8f1d Bug 751273 - Part 2: Rip out cairo and pixman from libxul; r=ted
Landing on a CLOSED TREE
2012-05-02 16:32:16 -04:00
Ehsan Akhgari
0fda6cb7ad Bug 751273 - Part 1: Remove the debugging code in Cairo which we don't use any more; r=jrmuizel
Landing on a CLOSED TREE
2012-05-02 16:28:13 -04:00
Ehsan Akhgari
f2d42cf659 Bug 751201 - Rip out expat from libxul
Landed on a CLOSED TREE
2012-05-02 14:10:53 -04:00
Ehsan Akhgari
a204fe7019 Bug 751186 - Rip out qcms from libxul; r=khuey
Landed on a CLOSED TREE
2012-05-02 14:05:46 -04:00
Ehsan Akhgari
5807b0217c Bug 750747 - Rip out libpng from libxul; r=khuey
Landing on a CLOSED TREE
2012-05-02 11:02:15 -04:00
Ted Mielczarek
2d8264acc2 bug 748797 - support MOZ_LINKER_EXTRACT=1 as a configure option to turn on linker extraction all the time. r=glandium,blassey, a=android-only
CLOSED TREE
2012-05-02 07:15:07 -04:00
Ted Mielczarek
d404b0a0a0 bug 740242 - add some diagnostics to get more info about Python exceptions during Mochitest. r=jmaher, a=test-only 2012-05-02 07:15:07 -04:00
Ehsan Akhgari
f744e5cbef Backout changeset e58855b90cf6 (bug 750747) because of build bustage of a CLOSED TREE 2012-05-02 10:04:33 -04:00
Ehsan Akhgari
4102e594fa Bug 750867 - Rip out libjpeg from libxul; r=khuey
Landing on a CLOSED TREE
2012-05-02 09:28:52 -04:00
Ehsan Akhgari
d875f3f6b2 Bug 750747 - Rip out libpng from libxul; r=khuey 2012-05-02 09:28:29 -04:00
Luke Wagner
3fd46e14d2 Bug 749617 - Optimize js::CloneScript (r=njn,a=not-libxul)
--HG--
extra : rebase_source : a18f454312960f048b0ef15a3b3b7d48f9ba49f8
2012-05-01 20:39:05 -07:00
Luke Wagner
f3f59663e8 Bug 749617 - improve getLocalNamesArray (r=waldo,a=not-libxul)
--HG--
extra : rebase_source : 184c3644798da9bca23da017f6f9a53e28711930
2012-05-01 15:45:01 -07:00
Luke Wagner
28cc1f08ca Bug 749617 - rm XDRState::codeString (r=njn,a=not-libxul)
--HG--
extra : rebase_source : de4e8eba904cd44a7b3d99edd85d841a359b83d5
2012-05-01 14:01:06 -07:00
Josh Aas
a91941c89a Bug 748343: Remove support for "java" and "packages" objects from the DOM. r=jst sr=smaug a=ehsan CLOSED TREE 2012-05-01 16:47:35 -04:00