Commit Graph

92621 Commits

Author SHA1 Message Date
Nicholas Cameron
5cc1397fe6 Bug 716439; load a mask texture in the OGL backend. r=BenWa 2012-03-19 09:08:49 +13:00
Nicholas Cameron
446bb86751 Bug 716439; managing mask layer shaders in OpenGL. r=BenWa 2012-03-19 09:07:25 +13:00
Nicholas Cameron
ecab6b290f Bug 716439; changes to glContext. r=BenWa 2012-04-04 17:56:22 +12:00
Nicholas Cameron
3849921577 Bug 716439; shaders for OpenGL mask layers. r=BenWa 2012-03-19 09:07:25 +13:00
Nicholas Cameron
059fcb1038 Bug 716439; shaders for the dx9 backend. r-Bas 2012-03-07 10:09:19 +13:00
Nicholas Cameron
fa43179112 Bug 716439; c++ support for the shaders and textures for dx9 backend. r-Bas 2012-03-07 10:07:48 +13:00
Nicholas Cameron
69669ee102 Bug 716439; using masks in each of the dx9 backend layers. r-Bas 2012-03-07 10:07:48 +13:00
Nicholas Cameron
1a1d9b947e Bug 716438; using flags to select a shader. r=Bas 2012-03-01 17:29:30 +00:00
Nicholas Cameron
eac598ef43 Bug 716439; dx10 shaders for mask layers. r=Bas 2012-02-16 12:34:28 +13:00
Nicholas Cameron
066b53a0d9 Bug 716439; Using mask layer shaders in DX10. r=Bas 2012-02-16 12:34:25 +13:00
Nicholas Cameron
8a3481fe55 Bug 716439; Loading a mask layer to textures in DX10. r=Bas 2012-02-16 12:34:23 +13:00
Nicholas Cameron
1b026c33c9 Bug 716439; backend of the mask layers system for basic layers (software). r=roc 2012-02-08 11:27:21 +13:00
Nicholas Cameron
7d91b411ee Bug 716439; creating mask layers. r=roc 2012-02-08 11:27:44 +13:00
Nicholas Cameron
f33f08a88c 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
3256b79a37 Bug 716439; recycling mask layers. r=roc 2012-02-08 11:26:40 +13:00
Nicholas Cameron
5c54eddf89 Bug 716439; User data for mask layers. r=roc 2012-02-08 11:26:33 +13:00
Nicholas Cameron
930c8d94e7 Bug 716439; mask layer - member, getter, setter, dumping. r=roc 2012-01-18 14:35:49 +13:00
Nicholas Cameron
59e6ca2712 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
9f1b8e3e60 Bug 733892; block reverting to the null last chance expception handler. r=ehsan 2012-04-20 21:07:55 +12:00
Eitan Isaacson
c8ea4d1e92 Bug 751428 - Remove spaces and catch errors when localizing role names. r=davidb 2012-05-02 22:10:55 -07:00
Eitan Isaacson
8da509049e Bug 749812 - Add AccessFu text editing feedback. r=tbsaunde 2012-05-02 22:10:55 -07:00
Eitan Isaacson
86f8cae72e Bug 747272 - Filter out whitespace text leaves. r=surkov 2012-05-02 22:10:55 -07:00
Boris Zbarsky
7080045141 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
224115946f 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
cb8220ad18 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
3e0ac701ac 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
63694e1120 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
204b6c58a7 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
06a49ecbe4 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
87d7458bc0 Bug 750196 - remove ROLE_SYSTEM_ definitions, r=eitan 2012-04-30 21:32:40 -04:00
Max Li
7e7f08dd69 Bug 750193 - get rid useless DEBUG_A11Y code, r=eitan 2012-04-30 19:48:28 -04:00
Ehsan Akhgari
cb1754a1ce Merge mozilla-central and mozilla-inbound 2012-05-02 23:59:08 -04:00
Ehsan Akhgari
588ee9732d Merge mozilla-central into mozilla-inbound on a CLOSED TREE 2012-05-02 21:52:33 -04:00
Ehsan Akhgari
c675336331 Merge mozilla-central into mozilla-inbound on a CLOSED TREE 2012-05-02 19:40:48 -04:00
Philipp von Weitershausen
4febef4f6a 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
f3d6e83abe 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
e56f9d260f Bug 714973 - Add emergency calls to RIL's state machine. r=philikon 2012-05-02 16:32:46 -07:00
Matt Brubeck
e5d1d7a8d7 Merge mozilla-central and mozilla-inbound 2012-05-02 15:58:11 -07:00
Bobby Holley
40ba0c800a 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
d4d2f2074e Bug 750269 - Fix places transactions leak with cpg (r=mak,a=not-in-libxul) 2012-05-02 15:06:07 -07:00
Ehsan Akhgari
7f4dd2e0c3 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
e79c2696df Bug 750859 - Remove {Disable,Revert}Capability. r=bz, PGO helper on CLOSED TREE 2012-05-02 23:57:43 +02:00
Bobby Holley
999f61cc07 Bug 750859 - Remove (most of) SetCanEnableCapability. r=bz 2012-05-02 23:57:34 +02:00
Bobby Holley
d67552e8b9 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
b7e05a0784 Bug 750859 - remove unused (or seldom-used) PrivilegeManager functions. r=bz 2012-05-02 23:57:34 +02:00
Ehsan Akhgari
8526beca46 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
eee858e39f 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
52885d5cd3 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
b4d56168a1 Bug 751201 - Rip out expat from libxul
Landed on a CLOSED TREE
2012-05-02 14:10:53 -04:00
Ehsan Akhgari
4e3fab9c01 Bug 751186 - Rip out qcms from libxul; r=khuey
Landed on a CLOSED TREE
2012-05-02 14:05:46 -04:00