Bill McCloskey
b5b7133e4b
Bug 706227 - Add way for JS_GC API users to give detailed reason for invocation (r=mccr8)
2012-01-25 10:59:55 -08:00
Nicholas Nethercote
bdcd8d9251
Bug 720219 (part 1) - Clean up JS object measurement. r=bhackett.
...
--HG--
extra : rebase_source : ff9aa7da84814e6868fef88b56bcb038389d5fb9
2012-01-23 15:35:37 -08:00
Luke Wagner
deb78ef5af
Bug 675078 - rm JSThreadData and JSThread (JSRuntime is now officially single-threaded) (r=igor,rs=mccr8)
...
--HG--
extra : rebase_source : f6d2c2c6083f4589691ede571159bfd7e7ef8701
2011-07-18 14:54:48 -07:00
Matt Brubeck
54f0eed49e
Back out 79deba022227 (bug 675078) because of Win debug mochitest-other failures
2012-01-24 17:32:30 -08:00
Luke Wagner
411fc35146
Bug 675078 - rm JSThreadData and JSThread (JSRuntime is now officially single-threaded) (r=igor)
2011-07-18 14:54:48 -07:00
Nathan Froyd
e0439c9672
Bug 714365 - DictionaryHelpers.cpp gets rebuilt on every build. r=ted
2012-01-23 07:55:21 -08:00
Ben Turner
c043698ddd
Bug 705640 - Implement DOMError as defined in DOM 4, r=mounir.
...
--HG--
extra : transplant_source : %15%98Xx%C3%F3%89%95%94%5Eu%99%B0%CC%8B%E0V%3A4%C6
2012-01-24 02:13:41 -08:00
Bill McCloskey
37bab689c0
Bug 716033 - Move write barriers from jsapi.h to jsfriendapi.h (r=luke,bholley)
2012-01-23 16:43:12 -08:00
Andrew McCreight
8a73fee0b0
Bug 720292 - add more cycle collector edge names. r=smaug
2012-01-23 15:25:53 -08:00
Ed Morley
52a93f5d13
Backout 143f01714f2b (bug 705640) for build failures
2012-01-23 14:25:47 +00:00
Ben Turner
00f78a4ed3
Bug 705640 - 'Implement DOMError as defined in DOM 4'. r=mounir.
2012-01-23 03:02:54 -08:00
Ed Morley
0c97f287c4
Backout fcb3a7884fa9 (bug 705640) for build failures
2012-01-23 11:48:35 +00:00
Ben Turner
70d8b59c47
Bug 705640 - 'Implement DOMError as defined in DOM 4'. r=mounir.
2012-01-23 03:02:54 -08:00
John Schoenick
7bbce8eb51
Bug 718899 - Implement Cu.forceShrinkingGC / Cu.schedulePreciseShrinkingGC r=gwagner
2012-01-19 10:58:25 -08:00
Andrew McCreight
e33c1372a4
Bug 718029 - don't skip JSContexts with outstanding requests. r=smaug
2012-01-17 09:38:24 -08:00
Nathan Froyd
f427e14b9a
Bug 711563 - compact function specs; r=jorendorff
2011-12-29 16:23:53 -05:00
Nathan Froyd
cae1a132cc
Bug 711563 - flatten property and function names; r=jorendorff
2011-12-29 16:20:26 -05:00
Nathan Froyd
dd4958fcd7
Bug 711563 - more compact property and function tables; r=jorendorff
2011-12-29 15:18:41 -05:00
Nathan Froyd
deed107b93
Bug 711563 - reduce space required by hash entry chains; r=jorendorff
2011-12-16 14:49:53 -05:00
Justin Wood
94e66a942e
Merge m-c tip to m-i
2012-01-15 05:29:24 -05:00
Ms2ger
877acb1064
Bug 717195 - Export dombindings.h; r=bholley
2012-01-15 09:13:12 +01:00
Ms2ger
6f32f32b0c
Bug 677079 - Part aa: Expose sizeof(JSContext) in jsfriendapi.h; r=njn
2012-01-15 09:13:11 +01:00
Ms2ger
51d689e4f8
Bug 677079 - Part z: Move JS_CHECK_RECURSION to jsfriendapi.h; r=mjrosenb
2012-01-15 09:13:11 +01:00
Ms2ger
eabd14ca4c
Bug 677079 - Part y: Move AutoIdVector to jsapi.h; r=evilpie
2012-01-15 09:13:11 +01:00
Ms2ger
93d155a6e0
Bug 677079 - Part x: Move AutoValueVector to jsapi.h; r=evilpie
2012-01-15 09:13:11 +01:00
Ms2ger
36d683ad8a
Bug 677079 - Part v: Expose rt->compartments in jsfriendapi.h; r=jorendorff
2012-01-15 09:13:11 +01:00
Ms2ger
af15e55f33
Bug 677079 - Part u: Provide TriggerOperationCallbacksForActiveContexts in jsfriendapi.h; r=bhackett
2012-01-15 09:13:10 +01:00
Ms2ger
475d2d2ae7
Bug 677079 - Part t: Provide IsContextRunningJS in jsfriendapi.h; r=jorendorff
2012-01-15 09:13:10 +01:00
Ms2ger
ca8fadca6c
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
fb1a9705e9
Bug 677079 - Part r: Provide AutoSkipConservativeScan in jsfriendapi.h; r=luke
2012-01-15 09:13:10 +01:00
Ms2ger
2fa4283d53
Bug 677079 - Part q: Expose gcLock in jsfriendapi.h; r=gal
2012-01-15 09:13:10 +01:00
Ms2ger
9cc9bf5989
Bug 677079 - Part p: Remove AutoLockJSGC in favour of js::AutoLockGC; r=bholley
2012-01-15 09:13:10 +01:00
Ms2ger
5760a0138f
Bug 677079 - Part o: Expose setActivityCallback in jsfriendapi.h; r=gal
2012-01-15 09:13:10 +01:00
Ms2ger
dcc2192b9e
Bug 677079 - Part n: Expose JSOPTION_UNROOTED_GLOBAL in jsfriendapi.h; r=gal
2012-01-15 09:13:09 +01:00
Ms2ger
073f6de1f2
Bug 677079 - Part m: Expose context's compartment in jsfriendapi.h; r=jorendorff
2012-01-15 09:13:09 +01:00
Ms2ger
5dd89f7622
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
b9c45d68a5
Bug 677079 - Part k: Expose outstandingRequests in jsfriendapi.h; r=cdleary
2012-01-15 09:13:09 +01:00
Ms2ger
12e2f46eaf
Bug 677079 - Part i: Expose errorReporter in jsapi.h; r=mrbkap
2012-01-15 09:13:09 +01:00
Ms2ger
ea843ee873
Bug 677079 - Part d: Move js_GetErrorMessage to jsfriendapi.h; r=jorendorff
2012-01-15 09:13:08 +01:00
Ms2ger
aec664aa8d
Bug 677079 - Part b: Use existing JSAPI functions where those are available; r=bholley
2012-01-15 09:13:07 +01:00
Landry Breuil
1a664042ed
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
Ms2ger
7f96c272cf
Bug 716357 - Fix license header in FilteringWrapper.cpp; r=gerv DONTBUILD
2012-01-11 17:12:21 +01:00
Ms2ger
27ed38a4d4
Bug 332648 - Part g: Move AutoIdArray to jsapi.h; r=evilpie
2012-01-11 09:23:09 +01:00
Ms2ger
06db6578d4
Bug 332648 - Part e: Move AutoArrayRooter to jsapi.h; r=evilpie
2012-01-11 09:23:09 +01:00
Ms2ger
25c1f65ab1
Bug 332648 - Part c: Move AutoObjectRooter to jsapi.h; r=evilpie
2012-01-11 09:23:08 +01:00
Ms2ger
d7850e8af7
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
4de4e729e4
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
d8cd240512
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
b320983b67
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
fab1325ed4
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