Commit Graph
369 Commits
Author SHA1 Message Date
Ms2ger 26fa23777d Bug 743573 - Fix a number of build warnings in dom/; r=mounir 2012-08-07 09:06:29 +02:00
David Anderson d827932879 Merge from mozilla-central. 2012-07-30 13:15:39 -07:00
Aryeh Gregor 8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
David Anderson 681def000b Merge from mozilla-central. 2012-07-10 19:45:14 -07:00
Rafael Ávila de Espíndola ec153c3b0e Bug 784895 - Remove unnecessary token pasting. r=mrbkap. 2012-08-23 19:57:51 -04:00
Bill McCloskey a4d863d341 Bug 770759 - Add mutable handles (r=bhackett) 2012-07-04 11:12:16 -07:00
David Rajchenbach-Teller 9eca609f25 Bug 750178 - Expose OS.Constants as an xpcom component. r=khuey 2012-07-04 08:30:58 -04:00
David Anderson 2d79cd0d62 Merge from mozilla-central. 2012-06-15 15:23:58 -07:00
Jan de Mooij 076d4b18ce Merge m-c to ionmonkey 2012-06-08 11:18:39 +02:00
Jason Orendorff a7c7c697dd Bug 753542 - Add prefs to enable/disable E4X (javascript.options.xml.content and .chrome). r=bsmedberg, sr=jst. 2012-06-06 21:52:14 -05:00
Sean Stangl 33d4a46d9a Merge m-c onto Ionmonkey. 2012-05-31 17:17:52 -07:00
Jason Orendorff 97c660a9e4 Bug 753885 - Part 2: Add JSOPTION_ALLOW_XML, making E4X support optional per-context. r=Waldo. 2012-05-30 15:05:59 -05:00
David Anderson 6d3300ecb8 Merge from mozilla-central. 2012-05-21 14:40:04 -07:00
Gervase Markham cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
David Anderson abb43df39f Merge from mozilla-central. 2012-05-08 17:34:07 -07:00
Ms2ger b8c940e642 Bug 741245 - Remove nsresult return value from nsXPConnect::GetSafeJSContext(); r=bholley 2012-05-05 11:00:05 +02:00
David Anderson 6945bf688d Merge from mozilla-central. 2012-05-04 19:16:35 -07:00
David Anderson 063a2ce15e Merge from mozilla-central. 2012-04-30 12:53:32 -07:00
David Anderson 2ff0bc15ba Enable IonMonkey in the browser, and introduce an about:config option to pref it off (bug 745390, r=dmandelin). 2012-04-19 15:02:47 -07:00
Christian Holler 16b6b8eb6c Bug 779560 - Revert worker stack limit in ASan builds to default state. r=bent 2012-08-28 13:39:32 +02:00
Ms2ger 2cba70143c Bug 741349 - Get rid of the mozilla::xpconnect::memory namespace; r=bholley 2012-04-14 15:05:19 +02:00
Ms2ger 54f1f6b78d Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes. 2012-04-14 17:52:34 +02:00
Ms2ger 6622f9ead6 Bug 741349 - Get rid of the mozilla::xpconnect::memory namespace; r=bholley 2012-04-14 15:05:19 +02:00
Ms2ger 78bc77e39f Bug 741245 - Remove nsresult return value from nsXPConnect::GetSafeJSContext(); r=bholley 2012-04-14 15:05:01 +02:00
David Zbarsky 9050aef271 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Jeff Walden dc3cce2d6d Bug 757908 - Remove JSRESOLVE_DECLARING. r=dmandelin 2012-05-23 10:22:46 -07:00
David Rajchenbach-Teller 3928c50d3e Bug 763848 - Expose the path to libxul at OS.Constants.Sys. r=khuey 2012-06-28 21:56:30 -04:00
Ryan VanderMeulen 66bc0d319b Backout b97cdd8008a0, bc305a9ac000, and 03549c72043d due to Android browser-chrome orange. 2012-06-30 11:09:26 -04:00
Jeff Walden 3d133e4c1f Bug 757908 - Remove JSRESOLVE_DECLARING. r=dmandelin 2012-05-23 10:22:46 -07:00
Peter Van der Beken 70167db26f Fix for bug 741267 (UserScript's XMLHttpRequest is undefined in 20120401 nightly).
Pass two objects when creating a DOM interface object, the global used to cache
the DOM interface objects and a receiver object on which the named property is
that points to the DOM interface object.
2012-04-23 16:10:56 +02:00
Brian Hackett b4c002a912 Use handles in API object hooks where possible, bug 750733. r=billm 2012-05-19 15:03:45 -07:00
Brian Hackett 4f8baecc9e Backed out changeset 5fc7462dd394 for android orange. 2012-05-19 11:52:55 -07:00
Brian Hackett b7d2500332 Use handles in API object hooks where possible, bug 750733. r=billm 2012-05-19 09:48:09 -07:00
Bill McCloskey 38062ea556 Bug 742570 - Remove the compartment option for gczeal (r=igor) 2012-04-03 11:41:56 -07:00
Peter Van der Beken 6233c150b8 Fix for bug 740069 (Generate JS bindings in C++ with a python script for DOM objects on the main thread and in workers. Infrastructure and new bindings for XMLHttpRequest). Patch by bent/bz/bholley/jst/khuey/peterv, r=bent/bz/bholley/jlebar/khuey/peterv/sicking/smaug. 2012-03-30 21:42:20 -07:00
Boris Zbarsky 830492af6c 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.
2012-05-03 00:35:38 -04:00
Benjamin Smedberg 2b55dddfca Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar 2012-05-18 13:30:49 -04:00
Christian Holler 05d3b224aa Bug 727445 - Add --enable-address-sanitizer for ASan specific workarounds. Add --enable-llvm-hacks to pass CFLAGS to NSS and omit -Wl,-z,defs for shared libs. r=khuey,kaie 2012-03-07 15:11:15 -08:00
David Mandelin f0690b22d1 Bug 730511: remove obsolete typedefs intN, uintN, r=luke 2012-02-28 15:11:11 -08:00
Honza Bambas 1415b7fdef Bug 720778 - Important threads should have a name for better debugability, r=bsmith, sr=bsmedberg+glandium 2012-06-12 19:06:20 +02:00
Chris Leary cd8032094d Bug 700822: Randomize JIT VirtualAlloc location on win32, sans XP. (r=dmandelin) 2012-02-13 21:36:11 -08:00
Kyle Huey 282cb7bb00 Bug 725848: ProxyCompleteRunnable must always run, even when clearing the event queue. r=bent 2012-02-09 20:54:47 -08:00
Igor Bukanov 18eb7777e9 bug 723021 - moving native stack limits into runtime. r=luke 2012-01-31 23:28:22 +01:00
Ben Turner 8ee989c91b Bug 718100 - 'Web workers should GC more'. r=mrbkap. 2012-01-17 12:05:25 -08:00
Ben Turner 01a3e5cf81 Bug 715756: Workers: Enable TI and allow JIT hardening to be disabled. r=sicking. 2012-01-05 17:51:21 -08:00
Ben Turner 8a04d58443 Bug 711388 - 'WORKER_RUNTIME_HEAPSIZE too small for big PDFs in PDF.JS'. r=sicking. 2012-01-04 11:11:32 -08:00
Ben Turner 02167d741a Bug 713728 - 'Workers: Need a shutdown observer topic'. r=mrbkap. 2011-12-29 13:28:09 -05:00
Nathan Froyd 01a317a0fe Bug 709205 - use GetObserverService in dom,docshell; r=bz 2011-12-09 14:35:37 -05:00
Ben Turner 0c2ba68ea6 Bug 687929 - 'null cx Crash [@ JS_BeginRequest] with dom workers', r=sicking. 2011-12-08 02:52:53 -08:00
Blake Kaplan 0a5d56105e Bug 698621 - Part 1: Implement cross-thread dispatching for web workers. r=bent 2011-12-05 15:58:27 +08:00