Boris Zbarsky
fe9cb94d87
Bug 783867. Don't blindly assume IsDOMClass objects are nsISupports. r=peterv
2012-08-22 12:18:46 -07:00
Alex Crichton
6433a8eeb7
Bug 568142 - Part 2: Have ParseNode's pn_pos enclose children better. r=jorendorff
2012-08-22 12:03:11 -07:00
Alex Crichton
e7be10f63a
Bug 568142 - Part 1: Add column numbers to error reports. r=jorendorff
2012-08-22 12:03:11 -07:00
Brian Hackett
1717030cc6
Allow purging analysis-temporary while retaining jitcode, bug 778724. r=luke
2012-08-22 12:28:34 -06:00
Luke Wagner
9c7bbcf21c
Bug 784639 - Fix SetNameOperation to not use cx->fp since it is wrong for jit-inlined calls (r=bhackett)
...
--HG--
extra : rebase_source : 046400a0df483fe5d8e1a7cb96219fb9416d1be8
2012-08-22 10:57:42 -07:00
Alex Crichton
6a2a73c700
Bug 782659: Fix assertions about empty registers when profiling is enabled on ARM. r=bhackett
2012-08-22 09:39:03 -07:00
Ehsan Akhgari
57ac5ddc72
Merge the landing of bug 579517 to mozilla-inbound
2012-08-22 12:12:15 -04:00
Luke Wagner
383e2c6813
Bug 784550 - Fix overly-conservative deoptimization of assignment to named lambda (r=jorendorff)
...
--HG--
extra : rebase_source : ddd625be29c4221843ddc52b9f1c39124c4b1f08
2012-08-21 18:26:22 -07:00
Ed Morley
d7e1816500
Backout d62929fa4325 for talos crashes
2012-08-22 14:53:11 +01:00
Brian Hackett
9a2dd0a706
Allow purging analysis-temporary while retaining jitcode, bug 778724. r=luke
2012-08-22 06:27:18 -06:00
Eric Chou
d86c1206ca
Bug 783520 - [b2g-bluetooth] follow-up to bug 730992, r=qdot
2012-08-22 18:37:08 +08:00
Jon Coppeard
a316b8c4b1
Bug 779183 - GC: Incremental sweeping of atoms table part 2 - Sweep atoms compartment at the end r=billm
2012-08-22 10:45:37 +01:00
Jon Coppeard
b0fba29ab1
Bug 779183 - GC: Incremental sweeping of atoms table part 1 - Add per-compartment mark/sweep state r=billm
2012-08-22 10:45:37 +01:00
Jon Coppeard
7fc41759f9
Bug 784282 - GC: Assert that cross-compartment pointers are wrapped when marking r=billm
2012-08-22 10:45:37 +01:00
Shu-yu Guo
54fafb5e95
Bug 767961 - Only mark properties as definite if we could analyze the entire constructor (r=bhackett)
2012-08-21 12:29:47 -07:00
Shu-yu Guo
aa780996c2
Bug 783924 - Part 2: Fix TI assertion in ParallelArray constructor (r=bhackett)
2012-08-21 12:29:47 -07:00
Shu-yu Guo
63f35e865e
Bug 783924 - Part 1: Fix ParallelArray constructor being called with non array-like objects (r=dmandelin)
2012-08-21 12:29:46 -07:00
Brian Hackett
d80b30ab38
Make JSObject::doSomethingToThisObject methods static, bug 782646. r=terrence
2012-08-21 13:13:28 -06:00
Bobby Holley
625511572e
Bug 784233 - Relax __exposedProps__ check for sandboxes until we can repack AMO addons. r=gal
2012-08-21 10:27:08 -07:00
Luke Wagner
083ee54000
Bug 774915 - don't use the property cache for dynamic name lookup (r=bhackett)
2012-08-17 18:09:43 -07:00
Luke Wagner
d2b8e1571a
Bug 783978 - disallow duplicated argument names when default arguments are used (r=jorendorff)
2012-08-20 13:45:54 -07:00
Irving Reid
0e5ea6e34a
Bug 782471: Add library name to ctypes Library::Create() error message for easier debugging; r=bholley
2012-08-13 13:23:23 -04:00
Jon Coppeard
74c3890d5f
Bug 782993 - Part 2: Tidy unused parts of FreeOp r=billm
2012-08-21 09:58:30 +01:00
Jon Coppeard
a031bef656
Bug 782993 - Part 1: Always sweep background things at the end r=billm
2012-08-21 09:47:15 +01:00
Jon Coppeard
805b2a0428
Bug 779897 - GC: Use arenaListsToSweep to queue arenas for background as well as foreground sweeping r=billm
2012-08-21 09:45:33 +01:00
Shu-yu Guo
5e7859bd23
Bug 784015 - Fix division by 0 when calling ParallelArray.prototype.partition (r=dmandelin)
2012-08-20 22:02:18 -07:00
Shu-yu Guo
f589c14e25
Bug 784011 - Fix ParallelArray.prototype.get being called with an object with length 0 (r=dmandelin)
2012-08-20 22:02:11 -07:00
Shu-yu Guo
cd0e42e626
Bug 783923 - Fix calling toString on an empty ParallelArray (r=dmandelin)
2012-08-20 22:02:04 -07:00
Bobby Holley
da84660fd1
Backed out changeset 61e9eaf9aae2
...
--HG--
extra : rebase_source : 30fb2e7a057482412d29a96f8b8e98135beb6a79
2012-08-20 21:07:07 -07:00
Bobby Holley
e4a6e10695
Bug 784233 - Relax __exposedProps__ check for sandboxes until we can repack AMO addons. r=gal
2012-08-20 21:03:44 -07:00
Bobby Holley
d91593dc3f
Bug 783989 - Return false after reporting error. r=ejpbruel
2012-08-20 14:04:26 -07:00
Gina Yeh
b9012edcf5
Bug 783454 - v1: Create devicefound event with event generator, r=qdot
2012-08-21 10:54:28 +08:00
Nicholas Nethercote
05e9db6ab1
Bug 770865 - Rename TreeContext as ParseContext. r=luke.
...
--HG--
extra : rebase_source : 91846a909a39ca08aae0e6ccd7a9e5e533775324
2012-08-16 17:04:54 -07:00
Shu-yu Guo
f565ae544d
Bug 784201 - Use maybeShortid to print out shortid in Shape::dump (r=luke)
2012-08-20 17:04:45 -07:00
Ryan VanderMeulen
f12fa88179
Merge m-c to inbound.
2012-08-20 20:21:35 -04:00
Olli Pettay
baa2eb76c7
Bug 783856 - Autogen PopupBlockedEvent, r=jst
2012-08-20 11:26:34 -07:00
Olli Pettay
16a0618b95
Bug 783376 - codegenerator should be able generate implementations which inherit other simple events, r=khuey
2012-08-20 11:20:25 -07:00
Ed Morley
86bd51ea45
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-08-20 16:45:41 +01:00
Rafael Ávila de Espíndola
45552fbbef
Bug 783505 - OS X gcc builds failing. r=jorendorff.
...
This patch adds a workaround for
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39608
2012-08-20 10:36:30 -04:00
Ginn Chen
6a9fa4c810
Bug 783533 testValueABI.cpp and valueABI.c should use same prototype of C_ValueToObject() r=bhackett
2012-08-20 16:27:14 +08:00
Landry Breuil
650050edd4
Bug 777357: declare mjit namespace outside of #ifdef JS_METHODJIT, fixes non-mjit builds. r=bhackett
2012-08-20 09:59:37 +02:00
Nicholas Nethercote
52fc19d5d1
Bug 782871 (part 2) - Rename the |TreeContext| module as |SharedContext|. r=jorendorff.
...
--HG--
rename : js/src/frontend/TreeContext-inl.h => js/src/frontend/SharedContext-inl.h
rename : js/src/frontend/TreeContext.h => js/src/frontend/SharedContext.h
2012-08-16 22:05:51 -07:00
Nicholas Nethercote
ca12a195c0
Bug 782871 (part 1 ) - Move TreeContext and related things into the Parser module. r=jorendorff.
2012-08-16 21:29:03 -07:00
Nicolas B. Pierron
7e353e83b9
Revert "Bug 783464 - Fix condition for removing the constrained output vector. r=bhackett" CLOSED TREE
...
This revert changeset 1906fe4159fe.
2012-08-20 13:56:25 -07:00
Nicolas B. Pierron
7f175f0bf6
Bug 783464 - Fix condition for removing the constrained output vector. r=bhackett
2012-08-20 13:12:43 -07:00
Gina Yeh
392f4dff11
Bug 778640 - Final version: Firing devicedisappeared event, r=qdot, r=smaug
...
---
dom/bluetooth/BluetoothAdapter.cpp | 16 ++++++++++++++-
dom/bluetooth/Makefile.in | 1 +
.../nsIDOMBluetoothDeviceAddressEvent.idl | 21 ++++++++++++++++++++
js/xpconnect/src/event_impl_gen.conf.in | 3 +++
4 files changed, 40 insertions(+), 1 deletion(-)
create mode 100644 dom/bluetooth/nsIDOMBluetoothDeviceAddressEvent.idl
2012-08-20 12:23:32 +08:00
Ehsan Akhgari
2795937cf4
Bug 579517 - Part 4: Manually rewrite some parts of the code base not covered by the automated conversion; r=bsmedberg
2012-08-22 11:59:54 -04:00
Ehsan Akhgari
2cc047017f
Bug 579517 - Part 2: Make the IDL parser aware of stdint types; r=bsmedberg
2012-08-22 11:57:22 -04:00
Ehsan Akhgari
0fd9123eac
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Saurabh Anand
d331c76300
Bug 730085 - Object.prototype.hasOwnProperty calls ToString on first argument before calling ToObject on this. r=evilpie
2012-08-18 15:51:52 +05:30
Tom Schuster
b1d4b54be1
Bug 783016 - Make space for Int32 string type. r=luke
2012-08-18 18:15:51 +02:00
Mike Hommey
146619b99c
Bug 781529 - Use -MMD flag for dependency generation instead of -MD. r=ted
2012-08-18 11:17:48 +02:00
Mike Hommey
daa472b3d2
Bug 781461 - Work around mksh/pdksh bug in config.status.m4. r=ted
2012-08-18 11:17:29 +02:00
Bobby Holley
4a569927e2
Bug 553102 - Make content-> access default to deny if __exposedProps__ is not defined. r=mrbkap
2012-08-17 23:14:55 -07:00
Bill McCloskey
381a34c2d9
Bug 783421 - Need to clear the right JIT code when setting GC zeal (r=dvander)
2012-08-17 18:47:55 -07:00
Bill McCloskey
76324ce990
Bug 783537 - Fix some barrier accounting during JIT compilation (r=dvander)
2012-08-17 18:47:08 -07:00
Bill McCloskey
d2442e81a4
Bug 783147 - Collect telemetry for SCC GC sweeping (r=mccr8)
2012-08-17 18:44:54 -07:00
Luke Wagner
e189f52b5a
Bug 783441 - Fix AliasedNameToSlot to deal with duplicate formals (r=dvander)
2012-08-17 11:21:57 -07:00
Luke Wagner
6f88ac1eaa
Fix warnings in js/src (no bug,r=themaid)
2012-08-17 11:21:52 -07:00
Luke Wagner
77b4a5d492
Bug 783543 - add test for fix in bug 783315 (no bug, r=me)
2012-08-17 11:19:47 -07:00
Bobby Holley
a4ec7a6646
Bug 695292 - Port SimpleTest.executeSoon() to SpecialPowers. r=mrbkap
...
If we just naively use the thread manager to dispatch the event via SpecialPowers,
we cannot avoid the XPCWrappedJS for the runnable being in chrome scope (even if
we pass a content object, we make the call in chrome scope, so we pass a cross-
compartment wrapper). This means that the machinery in
nsXPCWrappedJSClass::CheckForException ends up calling the error reporter for the
SpecialPowers scope, which isn't what we want.
Messing around with the implementation of CheckForException is playing with fire.
So we work around this with an explicit Cu API. :-(
2012-08-17 15:13:23 -07:00
Bill McCloskey
c055d5c416
Backout bug 783147 (12753a1a11b8 and 0a70fc2d7d25) for WinXP dbg M-3 failures
2012-08-17 12:55:52 -07:00
Steve Fink
d8dd0b3c22
Bug 756267 - Move the internal logic to only call script destroy hook if create hook was called from inside the JS engine to JSD, and add a flag for controlling it. r=jorendorff
...
--HG--
extra : rebase_source : f561d1d2acf5980f2efd9faf019317bb3306e9b1
2012-08-17 10:23:21 -07:00
Shu-yu Guo
500ef454b7
Bug 778559 - Implement ParallelArray API with sequential execution (r=dmandelin)
2012-08-17 10:38:59 -07:00
Alex Crichton
6114da03ec
Bug 783030: Prevent the profiled line number from incorrectly pointing to the start. r=bhackett
2012-08-17 10:28:05 -07:00
Bill McCloskey
11bc34c5ce
Bug 783147 - Send telemetry about SCC GC times (r=mccr8)
2012-08-17 10:05:11 -07:00
Bill McCloskey
8861b08a08
Bug 783147 - Decompose compartments into SCCs for GC (r=mccr8)
2012-08-17 10:04:02 -07:00
Aryeh Gregor
03c970d57f
Bug 780474 - Set -Wno-mismatched-tags for clang; r=glandium
2012-08-14 12:10:42 +03:00
Ed Morley
8f4f1ad013
Backout 19ec214f806c (bug 782916), 88b802832f52 (bug 782919), f16429aa2210 (bug 780474) for Android build failures
2012-08-17 12:25:12 +01:00
Aryeh Gregor
a23d8e7b07
Bug 780474 - Set -Wno-mismatched-tags for clang; r=glandium
2012-08-14 12:10:42 +03:00
Gabor Krizsanits
beaf6f99b2
Bug 779821 - safe XHR creation for sandboxes
2012-08-15 11:00:21 +02:00
Phil Ringnalda
8c55938528
Back out e6761635f9cf (bug 695292) for Android mochitest bustage on a CLOSED TREE
2012-08-16 21:35:53 -07:00
Chris Pearce
0b56ddc818
Bug 778640 - Backout due to burning. r=bustage
2012-08-17 16:22:25 +12:00
Gina Yeh
e1defc266b
Bug 778640 - Final version: Firing devicedisappeared event, create nsIDOMBluetoothDeviceAddressEvent by event generator, r=qdot, r=smaug
...
---
dom/bluetooth/BluetoothAdapter.cpp | 17 +++++++++++++++-
dom/bluetooth/Makefile.in | 1 +
.../nsIDOMBluetoothDeviceAddressEvent.idl | 21 ++++++++++++++++++++
js/xpconnect/src/event_impl_gen.conf.in | 3 ++-
4 files changed, 40 insertions(+), 2 deletions(-)
create mode 100644 dom/bluetooth/nsIDOMBluetoothDeviceAddressEvent.idl
2012-08-17 12:02:52 +08:00
Bobby Holley
773b674a05
Bug 695292 - Port SimpleTest.executeSoon() to SpecialPowers. r=mrbkap
...
If we just naively use the thread manager to dispatch the event via SpecialPowers,
we cannot avoid the XPCWrappedJS for the runnable being in chrome scope (even if
we pass a content object, we make the call in chrome scope, so we pass a cross-
compartment wrapper). This means that the machinery in
nsXPCWrappedJSClass::CheckForException ends up calling the error reporter for the
SpecialPowers scope, which isn't what we want.
Messing around with the implementation of CheckForException is playing with fire.
So we work around this with an explicit Cu API. :-(
2012-08-16 18:33:27 -07:00
Bobby Holley
f739c39cbd
Bug 783031 - Make js1_5/Regress/regress-328897.js throw a different way. r=jmaher
2012-08-16 18:33:27 -07:00
Nick Fitzgerald
a0368645e4
Bug 772113: Expose source map URLs via Debugger.Script r=jimb
2012-08-16 17:54:07 -07:00
Till Schneidereit
a43cefeb72
Bug 462300 - Embed self-hosted scripts and compile into special compartment. r=bhackett, r=gerv, r=ted
2012-07-23 23:01:54 +02:00
Luke Wagner
e6999fdbb9
Bug 783315 - Don't touch script->bindings.bindingArray if the script isn't fully compiled (r=billm)
...
--HG--
extra : rebase_source : fb4e163eaf9f3f7d84ad632d5f940b9d343c8ffc
2012-08-16 15:38:22 -07:00
Ryan VanderMeulen
9be2e1acdd
Backout 06dae3ea0f89 (bug 778559) due to Windows build failures.
...
--HG--
extra : rebase_source : 81c77b37fd85d6330ef17ba581f2bb934d94cca9
2012-08-16 17:44:18 -04:00
Bill McCloskey
417e93c957
Bug 783135 - Remove jitstats.tbl (r=dmandelin)
2012-08-16 14:42:42 -07:00
Shu-yu Guo
fe6e21ff38
Bug 778559 - Implement ParallelArray API with sequential execution (r=dmandelin)
2012-08-16 14:03:44 -07:00
Bill McCloskey
7c02696c5e
Bug 782337 - Stack clobbering (r=bhackett)
2012-08-16 14:03:18 -07:00
Bill McCloskey
3f6d70d2cf
Bug 782337 - Make incremental GC marking validation optional (r=bhackett)
2012-08-16 14:01:36 -07:00
Bobby Holley
6c543db737
Bug 781476 - Test. r=me
2012-08-16 12:25:39 -07:00
Bobby Holley
4f30addfaf
Bug 781476 - Cross-compartment wrap same-origin objects with PreCreate even if PreCreate requests one wrapper per scope. r=mrbkap
2012-08-16 12:25:39 -07:00
Jim Blandy
15c77f9995
Bug 777174: Change CallNonGenericMethod to take the predicate and implementation as template arguments, not function arguments. r=luke
...
On x86_64 Fedora 17, this patch yields an 8ms (1.6%) speedup on SunSpider compared to the tree just prior to the introduction of CallNonGenericMethod, or a ~12ms (2.8%) speedup compared to the tree just after the introduction.
2012-08-16 11:40:05 -07:00
Luke Wagner
9c2659bbf8
Fix compiler warnings in js/src (no bug,r=themaid)
...
--HG--
extra : rebase_source : bce94f0cc69b5eb7e5289688d720c6f65e742ac9
2012-08-15 18:23:05 -07:00
Luke Wagner
98048c149f
Bug 767013 - only store aliased variables in scope objects (r=bhackett)
...
--HG--
extra : rebase_source : e9e52b7fa61ebff7c34ca96ba2121cd90b757540
2012-08-06 07:56:45 -07:00
Luke Wagner
8eda18e87a
Bug 780647 - use bindings, instead of CallObject's shape, in DebugScopeProxy (r=jimb)
...
--HG--
extra : rebase_source : 8234f30a4512367c71095082c4ad0f0a375c1a73
2012-08-06 10:13:47 -07:00
Luke Wagner
86070ac08f
Bug 780647 - don't use unaliased CallObject slots as storage in DebugScopeProxy (r=jimb)
...
--HG--
extra : rebase_source : de3319a4563ee7e9196bf74576351ab0ba0aac97
2012-08-06 07:56:16 -07:00
Luke Wagner
a84c4e40d3
Bug 775323 - remove PN_NAMESET and dead uses (r=ejpbruel)
...
--HG--
extra : rebase_source : d35867ed8ebbfda0a2a55c2d4c7f87979a727628
2012-07-30 15:01:49 -07:00
Luke Wagner
d80d33c1f5
Bug 775323 - build Bindings after, not during, parsing (r=ejpbruel)
...
--HG--
extra : rebase_source : f78cf919d2e205b688260f462ea109f2816b5ace
2012-07-30 11:38:53 -07:00
Luke Wagner
abaee54e50
Bug 775323 - move bindings construction (r=jorendorff)
...
--HG--
extra : rebase_source : 05e12cd2e2f7bd472bc1b5abdf1ebe51411e1975
2012-07-30 18:37:55 -07:00
Bill McCloskey
55cbbbc633
Bug 765065 - Annotation for crash reports: "Are we GCing?" (r=bsmedberg)
2012-08-15 10:47:51 -07:00
Bill McCloskey
71681479b2
Bug 782782 - Move js::MaybeVerifyBarriers on Windows (r=bhackett)
2012-08-15 10:43:49 -07:00
Bill McCloskey
21788b34fd
Bug 774859 - JM: Missing write barrier on JSOP_INITPROP (r=bhackett)
2012-08-15 10:39:59 -07:00
Bill McCloskey
c9d89f4a35
Bug 774859 - JM: Missing write barrier on JSOP_INITPROP (r=terrence)
2012-08-15 10:39:54 -07:00
Bill McCloskey
1197b8262a
Bug 781390 - Make barrier verifier testing work better with the methodjit (r=bhackett)
2012-08-15 10:39:48 -07:00
Bill McCloskey
6ffc6f7672
Bug 781393 - JS VM stack values shouldn't always be clobbered during marking (r=bhackett)
2012-08-15 10:33:12 -07:00