Matt Brubeck
a00e243a06
Merge last green changeset from inbound to mozilla-central
2012-05-14 14:00:57 -07:00
Mike Hommey
88670fcd3e
Bug 754625 - Use idl-parser from $(LIBXUL_DIST)/sdk/bin and only remove lex and yacc files in header.py --regen. r=khuey
2012-05-14 17:19:39 +02:00
Bobby Holley
b572a685e7
Bug 753277 - Assert that all cross-scope wrapper reparenting operations are cross-compartment, and remove the conditional. r=mrbkap
...
The reindentation is pure. No snakes.
2012-05-14 12:52:17 +02:00
Tom Schuster
448c19e69b
Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger
2012-05-11 17:46:26 +02:00
Landry Breuil
21a2fe28a9
bug 736961 - use the same cachedir for all idl-parser calls, fixes builds without objdir - r=khuey
2012-05-11 11:17:00 -07:00
Ed Morley
94067f98cb
Backout 9b0fcaacb788 & bf3fef257e68 (bug 752226) for mochitest-other orange
2012-05-11 18:25:52 +01:00
Tom Schuster
a5e74fc12b
Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger
...
--HG--
extra : rebase_source : edf2077f8b8bad1970eab6ebe9996e761d4e596c
2012-05-11 17:46:26 +02:00
Steve Fink
baee8c66ce
Bug 752250 - xpc_UnmarkGrayContext should never throw an exception. r=billm
...
It is possible to have a JSContext with no global object and no frames on the
stack, yet still be within a request. In that case, xpc_UnmarkGrayContext will
trigger an exception "nothing active on context" when it attempts to access the
inner object of the cx's NULL global.
2012-05-09 15:12:27 -07:00
Boris Zbarsky
c8acd24873
Bug 753397. Add a field to nsCSSPropList for a preference that controls the property. r=dbaron
...
The actual controlling is not hooked up yet; that will happen in bug 753522 for
the DOM reflections of properties.
2012-05-09 21:29:37 -04:00
Kevin Locke
4e41d9f4c2
Bug 752357 - Include compartment location (sandbox name) in compartment name when it differs from the principal name. r=nnethercote.
...
--HG--
extra : rebase_source : f82959649a377c4f3806043d83506e3aa48b5915
2012-05-08 19:02:37 -07:00
Luke Wagner
05a5a19152
Bug 747617 - fix document.all and swap JSClass::{construct,hasInstance} so this doesn't happen again (r=bz)
...
--HG--
extra : rebase_source : 036acbd046ff8b42f81e63933901b6aaaa595a76
2012-05-07 12:44:08 -07:00
Bill McCloskey
cfb762161c
Bug 751454 - Use automarker for XPCNativeScriptableInfo (r=bholley)
2012-05-08 11:11:09 -07:00
Jon Buckley
eb1579639e
Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob
2012-05-08 13:29:31 -04:00
Ed Morley
93fca3e280
Backout ba7cf6fd10ae (bug 728017) for failing to compile
2012-05-08 18:50:45 +01:00
Jon Buckley
1720b18a60
Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob
2012-05-08 13:29:31 -04:00
Boris Zbarsky
3969a34041
Bug 751077. Skip binding for the XPConnect-default property ops as well when resolving properties on a sandbox prototype. r=bholley
2012-05-07 13:26:50 -04:00
Bill McCloskey
3ae99c720f
Bug 715761 - Start to rewrite xpconnect TraceJS code (r=bholley)
2012-05-07 10:01:50 -07:00
Bill McCloskey
e1570c2297
Bug 715761 - Replace xpconnect automarker macros with templates (r=bholley)
2012-05-07 10:01:44 -07:00
Bill McCloskey
26b9eb29dd
Bug 715761 - Move xpconnect mark bits (r=bholley)
2012-05-07 10:01:39 -07:00
Bill McCloskey
587f474aaf
Bug 715761 - Add a comment explaining xpconnect (r=bholley)
2012-05-07 10:01:33 -07:00
Nicholas Nethercote
aa4ed76615
Bug 752381 - Merge System Principal compartments in about:memory. r=jlebar.
2012-05-06 22:05:16 -07:00
Andrew Paprocki
77fe9cf5f6
Bug 736792 - Add JSOPTION_STRICT_MODE for embedders to force ES5 strict mode for all code without requiring "use strict" annotations. r=njn
2012-05-05 15:26:16 -04:00
Bobby Holley
d5c12cf9a1
Bug 749173 - Remove AutoPreserveCompartment. r=luke
2012-05-06 13:09:49 +02:00
Ms2ger
a147767a14
Bug 741245 - Remove nsresult return value from nsXPConnect::GetSafeJSContext(); r=bholley
2012-05-05 11:00:05 +02:00
Ms2ger
35877cb28a
Bug 745427 - Fix XPCWrappedNativeScope::SetContext; r=gal
2012-05-05 11:00:04 +02:00
Doug Turner
e474437e8e
Bug 738465 - implement device light sensor. r=smaug
2012-05-02 09:43:45 -07:00
Doug Turner
e188f5505d
Bug 738131 - implement device proximity. r=smaug
...
* * *
Bug 738131 - implement device proximity. gonk implementation. r=mwu
2012-05-02 09:43:45 -07:00
Steve Fink
a0dd043f0c
Bug 730208 - UnmarkGray fixups for globals and contexts. r=billm
...
A common source of potential black -> gray edges is JSAPI calls made on objects with gray globals or contexts holding gray globals. (The call could potentially update a black object with a pointer to that global.) This patch mostly traps places where contexts are used, and unmarks their globals. It also includes some more global unmarking.
--HG--
extra : rebase_source : 835c1d6b4a7f7a11571412075ae8847475079edd
2012-03-14 09:32:58 -07:00
Steve Fink
e4ed26e7ee
Bug 730208 - XPConnect changes to UnmarkGray some more objects and return them for convenience. r=mccr8
...
--HG--
extra : rebase_source : ddbfd05ec43868d39c26b1c37cac7e81522df29f
2012-03-20 21:22:40 -07:00
Johnny Stenback
35fa8810bc
First part of bug 749392. Stop exposing 'clear' in our shells in preparation of removing the underlying JS_ClearScope() API. r=jwalden
2012-05-03 15:52:45 -07:00
Andrew McCreight
65d7a82313
Bug 744103, part 4 - Remove nsCycleCollectionLanguageRuntime. r=smaug
2012-05-03 12:28:11 -07:00
Andrew McCreight
07f9a7c5cb
Bug 744103, part 3 - Change NoteRoot to NoteJSRoot and NoteNativeRoot. r=smaug
2012-05-03 12:28:11 -07:00
Andrew McCreight
8f774dbad9
Bug 744103, part 2 - Change NoteScriptChild to NoteJSChild. r=smaug
2012-05-03 12:28:10 -07:00
Peter Van der Beken
174872c252
Fix for bug 744772 (Trace the DOM interface object array). r=bz.
...
--HG--
extra : rebase_source : c9f27bed0eab0e6db03295050176ef986cf0b59b
2012-05-02 14:49:43 +02:00
Marco Castelluccio
45915b1fcf
Bug 751280 - Remove 2-arg form of xpc_FastGetCachedWrapper. r=bholley
2012-05-03 06:22:58 -04:00
Luke Wagner
facff78a38
Bug 720753 - hoist JaegerCompartment and MathCache from JSCompartment into JSRuntime (r=bhackett,njn)
2012-05-03 09:12:47 +02:00
Luke Wagner
328edde002
Bug 650353 - Implement Compartment-Per-Global in XPConnect. r=mrbkap
2012-05-03 09:10:12 +02:00
Luke Wagner
562286d127
Bug 722775 - rm sameGroupAs. r=mrbkap
2012-05-03 09:10:10 +02: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
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
Justin Lebar
1dff62b86c
Bug 748440 - Part 1: Add heap-committed-unused and heap-committed-unused-ratio memory reporters, and rename some JS memory reporters to match. Also add back the js-gc-heap memory reporter. r=njn
...
--HG--
rename : browser/components/privatebrowsing/test/unit/test_privatebrowsing_telemetry.js => browser/components/privatebrowsing/test/unit/test_privatebrowsing_autostart.js
rename : browser/components/privatebrowsing/test/unit/test_privatebrowsingwrapper_telemetry.js => browser/components/privatebrowsing/test/unit/test_privatebrowsingwrapper_autostart.js
rename : security/manager/ssl/src/TransportSecurityInfo.cpp => security/manager/ssl/src/nsNSSIOLayer.cpp
rename : security/manager/ssl/src/TransportSecurityInfo.h => security/manager/ssl/src/nsNSSIOLayer.h
extra : rebase_source : 237a72f9b82f0e39dd0f15afa6056f231dc58358
2012-04-30 14:27:15 -04:00
Kyle Huey
1999811527
Bug 750253: Reorder generation of quickstubs header/cpp to avoid unnecessary rebuilds. r=ted
2012-04-30 12:30:00 -04:00
Mike Hommey
7ae6cd162b
Bug 749573 - Declare run-mozilla.sh and xpcshell as SDK_BINARY. r=ted
2012-04-30 08:05:34 +02:00
Mark Capella
85d9294c4f
Bug 723530 - double error reporting in ctype JS api implementation, r=bholley
2012-04-27 12:47:00 +02:00
Gabor Krizsanits
729109dc65
Bug 735280 - Part 3: Components object specific wrapper. r=bholley
2012-04-28 09:12:28 -04:00
Gabor Krizsanits
97b74839de
Bug 735280 - Part 2: Add pre-create to nsXPComponents. r=bholley
2012-04-28 09:12:27 -04:00
Gabor Krizsanits
67fa596820
Bug 735280 - Part 1: Connect XPCWrappedNativeScope and Components. r=bholley
2012-04-28 09:12:27 -04:00
Eddy Bruel
adf48063d1
Bug 703537: Removing the fix trap r=jorendorff@mozilla.com
2012-04-27 17:09:32 -04:00
Peter Van der Beken
bd962257f1
Fix for bug 723465 (Make finalize for DOM list bindings use XPConnect).
...
--HG--
extra : rebase_source : e4df7d98765aaa2c600044d69f8714568f1d6109
2012-04-27 10:15:40 +02:00