Commit Graph

270147 Commits

Author SHA1 Message Date
Nicholas Cameron
72a96f7faf Bug 716439; load a mask texture in the OGL backend. r=BenWa 2012-03-19 09:08:49 +13:00
Nicholas Cameron
c801f9b117 Bug 716439; managing mask layer shaders in OpenGL. r=BenWa 2012-03-19 09:07:25 +13:00
Nicholas Cameron
f94ad36d3c Bug 716439; changes to glContext. r=BenWa 2012-04-04 17:56:22 +12:00
Nicholas Cameron
bc5a6227b2 Bug 716439; shaders for OpenGL mask layers. r=BenWa 2012-03-19 09:07:25 +13:00
Nicholas Cameron
64cda729f2 Bug 716439; shaders for the dx9 backend. r-Bas 2012-03-07 10:09:19 +13:00
Nicholas Cameron
ebda58df7d Bug 716439; c++ support for the shaders and textures for dx9 backend. r-Bas 2012-03-07 10:07:48 +13:00
Nicholas Cameron
aecf6c2ae4 Bug 716439; using masks in each of the dx9 backend layers. r-Bas 2012-03-07 10:07:48 +13:00
Nicholas Cameron
7dc5d18fea Bug 716438; using flags to select a shader. r=Bas 2012-03-01 17:29:30 +00:00
Nicholas Cameron
a888c21025 Bug 716439; dx10 shaders for mask layers. r=Bas 2012-02-16 12:34:28 +13:00
Nicholas Cameron
3631fa0610 Bug 716439; Using mask layer shaders in DX10. r=Bas 2012-02-16 12:34:25 +13:00
Nicholas Cameron
1dade22de5 Bug 716439; Loading a mask layer to textures in DX10. r=Bas 2012-02-16 12:34:23 +13:00
Nicholas Cameron
99e2641b5e Bug 716439; backend of the mask layers system for basic layers (software). r=roc 2012-02-08 11:27:21 +13:00
Nicholas Cameron
472977cd01 Bug 716439; creating mask layers. r=roc 2012-02-08 11:27:44 +13:00
Nicholas Cameron
15952fc068 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
c90b8a6b54 Bug 716439; recycling mask layers. r=roc 2012-02-08 11:26:40 +13:00
Nicholas Cameron
a8008d3881 Bug 716439; User data for mask layers. r=roc 2012-02-08 11:26:33 +13:00
Nicholas Cameron
34d6ba072b Bug 716439; mask layer - member, getter, setter, dumping. r=roc 2012-01-18 14:35:49 +13:00
Nicholas Cameron
1b6756aa23 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
c84fd77c3f Bug 733892; block reverting to the null last chance expception handler. r=ehsan 2012-04-20 21:07:55 +12:00
Eitan Isaacson
e69283c655 Bug 751428 - Remove spaces and catch errors when localizing role names. r=davidb 2012-05-02 22:10:55 -07:00
Eitan Isaacson
0940556976 Bug 749812 - Add AccessFu text editing feedback. r=tbsaunde 2012-05-02 22:10:55 -07:00
Eitan Isaacson
c70e8de27c Bug 747272 - Filter out whitespace text leaves. r=surkov 2012-05-02 22:10:55 -07:00
Boris Zbarsky
5b65f56e64 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
2299a42041 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
68cca24d1a 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
1c1601b380 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
db184efc0a 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
8c9211a974 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
508e53390e 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
967dcded2c Bug 750196 - remove ROLE_SYSTEM_ definitions, r=eitan 2012-04-30 21:32:40 -04:00
Max Li
0bf022bdb2 Bug 750193 - get rid useless DEBUG_A11Y code, r=eitan 2012-04-30 19:48:28 -04:00
Ehsan Akhgari
90c267c38a Merge mozilla-central and mozilla-inbound 2012-05-02 23:59:08 -04:00
Ehsan Akhgari
4c2155d99e Merge mozilla-central into mozilla-inbound on a CLOSED TREE 2012-05-02 21:52:33 -04:00
Ehsan Akhgari
0c4b3513cd Merge mozilla-central into mozilla-inbound on a CLOSED TREE 2012-05-02 19:40:48 -04:00
Philipp von Weitershausen
bab14518ab 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
9a869553f8 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
4b42d9ae2b Bug 714973 - Add emergency calls to RIL's state machine. r=philikon 2012-05-02 16:32:46 -07:00
Matt Brubeck
ac34c40e48 Merge mozilla-central and mozilla-inbound 2012-05-02 15:58:11 -07:00
Bobby Holley
1ef0a14fe7 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
66b90a8522 Bug 750269 - Fix places transactions leak with cpg (r=mak,a=not-in-libxul) 2012-05-02 15:06:07 -07:00
Ehsan Akhgari
52cd3e0168 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
710c5cfdb0 Bug 750859 - Remove {Disable,Revert}Capability. r=bz, PGO helper on CLOSED TREE 2012-05-02 23:57:43 +02:00
Bobby Holley
e6e34db54d Bug 750859 - Remove (most of) SetCanEnableCapability. r=bz 2012-05-02 23:57:34 +02:00
Bobby Holley
c532e2d4c3 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
26ec731b76 Bug 750859 - remove unused (or seldom-used) PrivilegeManager functions. r=bz 2012-05-02 23:57:34 +02:00
Ehsan Akhgari
5d044656b7 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
28ecf2b61b 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
d0be68448b 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
147de6e8d8 Bug 751201 - Rip out expat from libxul
Landed on a CLOSED TREE
2012-05-02 14:10:53 -04:00
Ehsan Akhgari
43cc1f598f Bug 751186 - Rip out qcms from libxul; r=khuey
Landed on a CLOSED TREE
2012-05-02 14:05:46 -04:00