Brian Hackett
068c48419e
Account for all special CALLPROP behavior in inline cache stub, bug 717208. r=dvander
2012-01-11 17:31:41 -08:00
Luke Wagner
61f77cf4c8
Bug 714547 - SecurityWrapper should not interfere with same-document.domain access (r=mrbkap)
2012-01-09 15:32:53 -08:00
Ms2ger
49b36e5f9b
Bug 716357 - Fix license header in FilteringWrapper.cpp; r=gerv DONTBUILD
2012-01-11 17:12:21 +01:00
Brian Hackett
1a13c689f0
Fix non-threadsafe builds, no bug. r=jorendorff
2012-01-11 07:45:55 -08:00
David Rajchenbach Teller
9009fbc947
Bug 707096 - Add a public API for TypedArray / ArrayBuffer. r=dmandelin
2012-01-10 08:56:47 +01:00
Ms2ger
b04d77db01
Merge m-c to m-i.
2012-01-11 12:15:35 +01:00
Ms2ger
e859437277
Bug 332648 - Part h: Move AutoEnumStateArray to jsapi.h; r=evilpie
2012-01-11 09:23:09 +01:00
Ms2ger
9bc33efcf0
Bug 332648 - Part g: Move AutoIdArray to jsapi.h; r=evilpie
2012-01-11 09:23:09 +01:00
Ms2ger
cb20e47063
Bug 332648 - Part f: Move AutoIdRooter to jsapi.h; r=evilpie
2012-01-11 09:23:09 +01:00
Ms2ger
481d42e3d2
Bug 332648 - Part e: Move AutoArrayRooter to jsapi.h; r=evilpie
2012-01-11 09:23:09 +01:00
Ms2ger
47429bed6f
Bug 332648 - Part d: Move AutoStringRooter to jsapi.h; r=evilpie
2012-01-11 09:23:08 +01:00
Ms2ger
5724ce0b4e
Bug 332648 - Part c: Move AutoObjectRooter to jsapi.h; r=evilpie
2012-01-11 09:23:08 +01:00
Ms2ger
a21b9c58a7
Bug 332648 - Part b: Move AutoValueRooter to jsapi.h; r=evilpie
...
This patch also moves the MarkRuntime function into the JS namespace.
2012-01-11 09:23:08 +01:00
Ms2ger
be22ad016c
Bug 332648 - Part a: Move AutoGCRooter to jsapi.h; r=evilpie
...
This also moves AutoCheckRequestDepth into jsapi.h and moves some assertions
from CHECK_REQUEST to the AutoCheckRequestDepth constructor.
2012-01-11 09:23:08 +01:00
Ms2ger
e1f03a5b25
Bug 714264 - Part c: Move IterateData / CollectCompartmentStatsForRuntime / GetExplicitNonHeapForRuntime to js/MemoryMetrics.h; r=njn
...
This patch also removes those APIs exposed in js/MemoryMetrics.h that aren't
used anymore.
2012-01-11 09:23:08 +01:00
Ms2ger
8721cb4b4a
Bug 714264 - Part b: Move CompartmentStats to MemoryMetrics.h; r=njn
...
The name member is implemented as a void*, because it needs to remain an
nsCString, and as such the logic to get the name also remains in XPConnect.
2012-01-11 09:23:08 +01:00
Ms2ger
67be67f349
Bug 714458 - Part c: Don't include jscntxt.h in xpcprivate.h; r=bholley
...
This removes the inclusion from xpcprivate.h, and adds the include to XPConnect
files that still need it, along with notes to clarify what these files need
from the include. These notes will be removed while fixing bug 677079.
2012-01-11 09:23:08 +01:00
Ms2ger
3cc391ed4e
Bug 714458 - Part b: Provide the thread-related APIs xpcprivate.h needs; r=igor
...
This introduces a JS_GetCurrentThread to go with the existing
JS_GetContextThread, as well as a js::GetContextThread to get at the actual
JSThread object, and inlines the only use of JS_THREAD_ID.
2012-01-11 09:23:07 +01:00
Ms2ger
1f75cadf80
Bug 714458 - Part a: Introduce JSAPI for JSContext's second private pointer; r=Waldo
...
JSContext currently has 2 private pointers, but the JSAPI only provides access
to one of them.
2012-01-11 09:23:07 +01:00
Ms2ger
9549b8d0ae
Bug 715634 - Cleanup XPCJSContextStack; r=bholley
2012-01-11 09:23:07 +01:00
Ms2ger
20e82e6b3f
Bug 714728 - Remove jsword/jsuword in favour of intptr_t/uintptr_t; r=Waldo
2012-01-11 09:23:05 +01:00
Andrew McCreight
6b4ca5b91e
Bug 708322 - never traverse non-gray JS Objects. r=billm
2012-01-09 12:02:25 -08:00
Kartikaya Gupta
a21decbb85
Bug 715791 - Preserve line numbers when preprocessing java files as well as js files. r=ted
2012-01-05 23:32:05 -05:00
Rafael Ávila de Espíndola
7521387dac
Bug 715528 - Drop old bits about cross compiling from ppc to x86 and default OS X for ppc. r=ted.
2012-01-10 08:29:13 -05:00
Phil Ringnalda
9d4ec42731
Back out 3ab1dcfb2218 and 46ae4bf4aaf4 (bug 622301) for Windows PGO bustage
2012-01-14 18:56:00 -08:00
Bobby Holley
d0b5d6519b
Bug 716167 - Add a release-mode assertion that XPConnect is never used off the main thread. r=mrbkap
2012-01-14 10:31:19 -08:00
Bobby Holley
820ddc3909
Bug 716167 - Only push null contexts in XPConnect for main thread events, and remove infrastructure from bug 326777. r=bz
2012-01-14 10:31:16 -08:00
Bobby Holley
653cfdcbb8
Bug 622301 - Remove now-obsolete 'callee' parameter. r=mrbkap
2012-01-14 10:29:56 -08:00
Bobby Holley
235b956243
Bug 622301 - Don't use XPCWrappedNative::GetWrappedNativeOfJSObject in quickstub unwrapping. r=mrbkap
2012-01-14 10:29:56 -08:00
Mike Hommey
8f4c76a96b
Bug 701371 - Rename mozutils to mozglue, and move it to top-level. r=khuey,a=brendan
2011-12-28 08:24:02 +01:00
Jeff Walden
935ffc13ee
Fix the test for bug 715682 to use the right file name and bug number, and give it a more accurate description. r=trivial
2012-01-10 00:11:15 -06:00
Jeff Walden
1f17e59fa4
Bug 715821 - Add tests for reimplementation of Object.prototype.__define[GS]etter__ in terms of Object.defineProperty. r=tests
2012-01-09 23:12:47 -06:00
Michael Kohler
c4be71f5ba
Bug 711818 - MOZILLA_GUARD_OBJECT_NOTIFIER* should use a MOZ_ prefix to follow MFBT style
2012-01-10 00:29:30 -05:00
Terrence Cole
2b8032045f
Bug 716176 - Trigger write barriers when copying BaseShapes; r=billm
...
Since getterObj and setterObj are hidden beneath unions, we need to manually
trigger their barriers.
2012-01-09 16:08:24 -08:00
Daniel Holbert
814687ab16
Bug 716702: Fix C++-style comment in header 'jsopcode.h' that gets included in C code. r=bhackett
2012-01-09 15:45:54 -08:00
Landry Breuil
54fd226853
Bug 714312 - Use <machine/endian.h> to get endianess on BSD systems, fixing the BSD build. r=ted
2012-01-09 17:32:00 -06:00
Jeff Walden
1ce46f3f11
Bug 715821 - Make Object.prototype.__defineGetter__ and Object.prototype.__defineSetter__ perform their work by forwarding to Object.defineProperty. This eliminates two calls to CheckRedeclaration, which is impeding property-storage-splitting work. r=bhackett
2012-01-06 00:13:20 -06:00
Ben Turner
5b7aae8048
Bug 674726 - WebTelephony. r=philikon+mounir, sr=sicking. Not part of the default build.
2012-01-09 14:28:47 -08:00
Daniel Holbert
a30c6d12b8
Bug 716663: Fix check for PR49911 to use "=" instead of "==" for string-equality-check with 'test'. r=respindola
2012-01-09 14:17:00 -08:00
Luke Wagner
d584e79077
Bug 716068 - de-OptimizeSpanDeps (r=waldo)
2012-01-09 11:05:06 -08:00
Luke Wagner
e33114ac8a
Bug 715817 - rm SRC_EXTENDED (r=waldo)
2012-01-09 11:05:03 -08:00
Jim Blandy
dfa5e7ec7b
Bug 716629: Mark deleted JSFunction::toFunction methods as private, as per MOZ_DELETE instructions in mfbt/Attributes.h.
2012-01-09 12:34:06 -08:00
Mounir Lamouri
720d04c019
No bug - Fix build bustage. Follow up from bug 716541. r=mrbkap
2012-01-09 20:09:02 +01:00
Jacek Caban
11bc281146
Bug 712594 - libffi fails to build on mingw-w64 r=bsmedberg
2012-01-09 18:46:27 +01:00
Jacek Caban
ed3e7cfbe9
Bug 714646 - jsgc.cpp fails to compile on Win64 GCC r=igor
2012-01-09 18:45:50 +01:00
Brian Hackett
b20e448906
Backout 54cd89b0f1fa (bug 712714 backout). Talos will probably report fake regressions for this patch, do not back out for this reason.
2012-01-09 06:29:50 -08:00
Igor Bukanov
2079abaef8
bug 716512 - make sure that gcparam in shell cannot set MAX_GC_BYTES to a value les than the current GC_BYTES. r=anygregor
2012-01-09 15:23:36 +01:00
Ed Morley
47daecbd14
Backout b1612e3ba9b9 & 668a56be0eef (bug 622301) for Dromaeo regressions
2012-01-07 14:17:54 +00:00
Jeff Walden
125117fe7c
Bug 715852 - Fix an assertion running ecma_5/Object/proto-property-change-writability-set.js that happens when a test gets methodjitted just so. This fix is the required methodjit complement to the interpreter fix from bug 713944. FAIL. r=i-am-dumb
2012-01-07 00:55:21 -06:00
Bobby Holley
1cece415d2
Bug 715417 - Eliminate getPrincipalArray and globalPrivilegesEnabled from JSPrincipals. r=mrbkap
2012-01-06 17:29:02 -08:00