Ms2ger
faa2fb2251
Bug 677079 - Part s: Make JS_TRACER_INIT a function instead of a macro; r=billm
2012-01-15 09:13:10 +01:00
Ms2ger
47fef8e488
Bug 677079 - Part r: Provide AutoSkipConservativeScan in jsfriendapi.h; r=luke
2012-01-15 09:13:10 +01:00
Ms2ger
a68763cbfd
Bug 677079 - Part q: Expose gcLock in jsfriendapi.h; r=gal
2012-01-15 09:13:10 +01:00
Ms2ger
59f812e2ba
Bug 677079 - Part p: Remove AutoLockJSGC in favour of js::AutoLockGC; r=bholley
2012-01-15 09:13:10 +01:00
Ms2ger
d3a8cef289
Bug 677079 - Part o: Expose setActivityCallback in jsfriendapi.h; r=gal
2012-01-15 09:13:10 +01:00
Ms2ger
e1128e53a7
Bug 677079 - Part n: Expose JSOPTION_UNROOTED_GLOBAL in jsfriendapi.h; r=gal
2012-01-15 09:13:09 +01:00
Ms2ger
d18f6233a3
Bug 677079 - Part m: Expose context's compartment in jsfriendapi.h; r=jorendorff
2012-01-15 09:13:09 +01:00
Ms2ger
53a542098a
Bug 677079 - Part l: Use the existing JSAPI for the global object for a context; r=bholley
2012-01-15 09:13:09 +01:00
Ms2ger
481a852857
Bug 677079 - Part k: Expose outstandingRequests in jsfriendapi.h; r=cdleary
2012-01-15 09:13:09 +01:00
Ms2ger
f9031f06f9
Bug 677079 - Part i: Expose errorReporter in jsapi.h; r=mrbkap
2012-01-15 09:13:09 +01:00
Ms2ger
b36971fb80
Bug 677079 - Part h: Expose debuggerHandler in jsfriendapi.h; r=igor
2012-01-15 09:13:09 +01:00
Ms2ger
db00645596
Bug 677079 - Part g: Expose VersionSetXML in jsfriendapi.h; r=bhackett
2012-01-15 09:13:08 +01:00
Ms2ger
799383f927
Bug 677079 - Part f: Expose structuredCloneCallbacks in jsfriendapi.h; r=jorendorff
2012-01-15 09:13:08 +01:00
Ms2ger
074cb0467e
Bug 677079 - Part e: Move js_GetSCOffset to jsfriendapi.h; r=luke
2012-01-15 09:13:08 +01:00
Ms2ger
6b0c6353bd
Bug 677079 - Part d: Move js_GetErrorMessage to jsfriendapi.h; r=jorendorff
2012-01-15 09:13:08 +01:00
Ms2ger
51011b3e2b
Bug 677079 - Part c: Stop installing jsdate.h; r=Waldo
2012-01-15 09:13:07 +01:00
Ms2ger
10cf80e5a4
Bug 677079 - Part b: Use existing JSAPI functions where those are available; r=bholley
2012-01-15 09:13:07 +01:00
Ms2ger
eed17b31be
Bug 677079 - Part a: Move AutoLockGC to jsfriendapi.h; r=igor
2012-01-15 09:13:07 +01:00
Shu-yu Guo
e27f5dd66b
Fix opcode metadata counting for property and element ops, bug 717988. r=bhackett
2012-01-13 17:47:59 -08:00
Brian Hackett
afa722933a
Mark types for second value pushed by JSOP_CALLXMLNAME, bug 717252. r=dvander
2012-01-13 17:45:11 -08:00
Brian Hackett
e494be423b
Merge.
2012-01-13 17:40:14 -08:00
Chris Leary
9c521b7872
Back out b36175bbda47.
...
--HG--
extra : rebase_source : 927a14ed70c37c654b53145a71d2f88be139a9b9
2012-01-13 17:35:10 -08:00
Brian Hackett
138d6124db
Don't clobber compared FP registers when syncing before a double comparison, bug 716119. r=dvander
2012-01-13 13:18:51 -08:00
Chris Leary
65bb6fc01a
Bug 717762: Proliferate js_memcpy and PodCopy. (r=luke)
2012-01-12 18:40:08 -08:00
Chao-ying Fu
2ee874bb61
Add MIPS support to JaegerMonkey (bug 678154, r=dvander).
...
--HG--
extra : rebase_source : 8f174670ae068741a1536696e17e3a2a6bb4c7e5
2012-01-12 19:18:05 -08:00
Rafael Ávila de Espíndola
a8a418330d
Bug 717908 - disable unreliable test. r=igor.
...
Since we use a conservative gc, this test can fail depending on the memory
layout.
--HG--
extra : rebase_source : dc0f35343a4aa2b911cb582c093a17a50289d299
2012-01-13 11:11:03 -05:00
Nathan Froyd
1511735e48
Bug 717501 - reduce space required by unicode tables; r=evilpie
2012-01-12 00:10:26 -05:00
Landry Breuil
9c18b76213
Bug 717733 - Fix int64 types usage in js/xpconnect, build failure on OpenBSD
...
js/xpconnect/src/XPCJSRuntime.cpp:1881:
error: invalid conversion from 'PRInt64*' to 'int64_t*'
2012-01-12 16:56:02 -05:00
Luke Wagner
221d46b0b7
Bug 715561 - Don't forget to bump JSXDR_BYTECODE_VERSION! (r=jorendorff)
2012-01-12 13:41:49 -08:00
Luke Wagner
657d7762b9
Bug 715561 - Fix js_XDRStaticBlockObject to handle empty destructuring let (r=jorendorff)
2012-01-09 10:50:17 -08:00
Luke Wagner
8746c5f966
Bug 715561 - Tidy up js_XDRStaticBlockObject (r=jorendorff)
...
--HG--
extra : rebase_source : a0cdaca76ee0a475bb7592090b1e9993e662fecb
2012-01-09 10:23:38 -08:00
Brian Hackett
fc306d98e5
Fix AssertValidPropertyCacheHit when called from JIT stubs, bug 717251. r=dvander
2012-01-12 08:41:09 -08:00
Brian Hackett
77528032b4
Avoid skipping sync code in GETPROP PIC on non-length accesses which can invoke a getter, bug 717184. r=dvander
2012-01-11 17:42:58 -08:00
Brian Hackett
da9cc94683
Account for all special CALLPROP behavior in inline cache stub, bug 717208. r=dvander
2012-01-11 17:31:41 -08:00
Luke Wagner
d72163a2d5
Bug 714547 - SecurityWrapper should not interfere with same-document.domain access (r=mrbkap)
...
--HG--
extra : rebase_source : ffc6e1920dccdd194269fa7056113944863e0419
2012-01-09 15:32:53 -08:00
Ms2ger
ca9baae85f
Bug 716357 - Fix license header in FilteringWrapper.cpp; r=gerv DONTBUILD
2012-01-11 17:12:21 +01:00
Brian Hackett
ea3261837a
Fix non-threadsafe builds, no bug. r=jorendorff
2012-01-11 07:45:55 -08:00
David Rajchenbach Teller
7cc95dee63
Bug 707096 - Add a public API for TypedArray / ArrayBuffer. r=dmandelin
2012-01-10 08:56:47 +01:00
Ms2ger
10ae9ad9d2
Merge m-c to m-i.
2012-01-11 12:15:35 +01:00
Ms2ger
0ee7223f8a
Bug 332648 - Part h: Move AutoEnumStateArray to jsapi.h; r=evilpie
2012-01-11 09:23:09 +01:00
Ms2ger
badf95659c
Bug 332648 - Part g: Move AutoIdArray to jsapi.h; r=evilpie
2012-01-11 09:23:09 +01:00
Ms2ger
b15e0925fa
Bug 332648 - Part f: Move AutoIdRooter to jsapi.h; r=evilpie
2012-01-11 09:23:09 +01:00
Ms2ger
dbd0ec7cdd
Bug 332648 - Part e: Move AutoArrayRooter to jsapi.h; r=evilpie
2012-01-11 09:23:09 +01:00
Ms2ger
61e5d8db2b
Bug 332648 - Part d: Move AutoStringRooter to jsapi.h; r=evilpie
2012-01-11 09:23:08 +01:00
Ms2ger
28ef8d5df7
Bug 332648 - Part c: Move AutoObjectRooter to jsapi.h; r=evilpie
2012-01-11 09:23:08 +01:00
Ms2ger
41e5f45d47
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
afa524ca3b
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
ba150c988a
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
4c9257d038
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
5788bfeabb
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