Commit Graph

92624 Commits

Author SHA1 Message Date
Nicholas Cameron
9b7506b604 Bug 716439; shadow layer support. r=BenWa 2012-03-19 12:02:38 +13:00
Nicholas Cameron
fa10a91faf Bug 716439; change build process to genshaders statically. r=BenWa 2012-03-27 11:13:34 +13:00
Nicholas Cameron
ece642df25 Bug 716439; using mask layers in OGL. r=BenWa 2012-03-19 09:08:53 +13:00
Nicholas Cameron
925f7ef466 Bug 716439; load a mask texture in the OGL backend. r=BenWa 2012-03-19 09:08:49 +13:00
Nicholas Cameron
55a1863333 Bug 716439; managing mask layer shaders in OpenGL. r=BenWa 2012-03-19 09:07:25 +13:00
Nicholas Cameron
9828673083 Bug 716439; changes to glContext. r=BenWa 2012-04-04 17:56:22 +12:00
Nicholas Cameron
4e849c3e85 Bug 716439; shaders for OpenGL mask layers. r=BenWa 2012-03-19 09:07:25 +13:00
Nicholas Cameron
1c6b3f0c4e Bug 716439; shaders for the dx9 backend. r-Bas 2012-03-07 10:09:19 +13:00
Nicholas Cameron
8e51f09dd5 Bug 716439; c++ support for the shaders and textures for dx9 backend. r-Bas 2012-03-07 10:07:48 +13:00
Nicholas Cameron
1ab21b5f10 Bug 716439; using masks in each of the dx9 backend layers. r-Bas 2012-03-07 10:07:48 +13:00
Nicholas Cameron
08cb3dff93 Bug 716438; using flags to select a shader. r=Bas 2012-03-01 17:29:30 +00:00
Nicholas Cameron
a4a19696e8 Bug 716439; dx10 shaders for mask layers. r=Bas 2012-02-16 12:34:28 +13:00
Nicholas Cameron
d406c20f17 Bug 716439; Using mask layer shaders in DX10. r=Bas 2012-02-16 12:34:25 +13:00
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