Commit Graph

272 Commits

Author SHA1 Message Date
Bobby Holley
727aeb5e13 Bug 622301 - Don't use XPCWrappedNative::GetWrappedNativeOfJSObject in quickstub unwrapping. r=mrbkap 2012-01-06 17:29:02 -08:00
Jeff Walden
1ecff3d221 Bug 713965 - Replace deleteGeneric (taking a jsid) with deleteByValue (taking a Value), and use the property-type-specific methods exclusively. r=bhackett
--HG--
extra : rebase_source : c9273f81996c755f6b3814895a4ce64f390f7c50
2011-12-28 16:33:20 -06:00
Bill McCloskey
5957dd4b9c Bug 714418 - Remove nsIXPCScriptable::DONT_SHARE_PROTOTYPE (r=bholley, sr=mrbkap) 2012-01-04 14:13:20 -08:00
Bill McCloskey
14477ceb3b Bug 714353 - Remove nsIXPCScriptable::Trace (r=mrbkap) 2012-01-04 14:13:15 -08:00
Bill McCloskey
095c6da986 Bug 714350 - Remove nsXPConnect::RestoreWrappedNativePrototype (r=mrbkap) 2012-01-04 14:13:08 -08:00
Luke Wagner
9505e967d8 Bug 714696 - rm lingering remains of tracer in js::Value (r=waldo)
--HG--
extra : rebase_source : c0d377c97e450b515941a5677eaafd5b23122d2c
2012-01-02 15:06:15 -08:00
Gabor Krizsanits
f2bac14884 Bug 677294 - part 2: need a way to create new JS scopes and run scripts against them (same compartment); r=mrbkap 2012-01-02 19:06:07 +01:00
Ms2ger
1f37b86a6b Bug 710805 - Assert validity in xpc_qsBasicString; r=jst 2012-01-02 19:05:19 +01:00
Ms2ger
2db789079c Bug 709086 - Don't use JS_GetParent in mozJSSubScriptLoader::LoadSubScript; r=jorendorff 2012-01-02 19:05:19 +01:00
Ms2ger
29d457f80c Bug 714057 - Remove uintn users from XPConnect; r=bholley+khuey 2012-01-02 19:05:19 +01:00
Ms2ger
51f59f0021 Bug 713645 - Remove superfluous inclusions of jscntxt.h; r=luke 2012-01-02 19:05:19 +01:00
Bill McCloskey
0e0533464b Bug 714363 - Remove XPCWrappedNativeScope::mPrototypeJSFunction (r=bholley) 2012-01-01 14:48:15 -08:00
Nicholas Nethercote
13e0ce90ef Bug 708159 - Avoid unnecessary work done by multi-reporters in nsMemoryReporterManager::GetExplicit. r=jlebar,bent. 2011-12-12 19:04:12 -08:00
Boris Zbarsky
5ea84e0dfe Backing out bug 707717 because it seems to be a perf hit, not a perf win. 2011-12-28 16:22:05 -05:00
Matt Brubeck
442a1b085f Merge mozilla-central and mozilla-inbound 2011-12-28 11:17:19 -08:00
Josh Matthews
a18ebbe4ab Bug 463122 - Propagate mozJSComponentLoader exceptions that occur while executing the script. r=mrbkap 2011-12-28 11:55:11 -05:00
Ms2ger
08d1075fb2 Bug 713550 - Move Base64 code on nsXPConnect to XPCOM / xpcpublic.h; r=bholley+khuey 2011-12-28 09:13:38 +01:00
Ms2ger
bf9d539b9d Bug 713340 - Fix jsShell_ErrorFormatString array lengths; r=luke 2011-12-28 09:13:37 +01:00
Ms2ger
285970686c Bug 713553 - Remove GetRTStringByIndex; r=bholley 2011-12-28 09:13:37 +01:00
Ms2ger
3b98653c7b Bug 713554 - Remove xpc_SameScope declaration; r=bholley 2011-12-28 09:13:37 +01:00
Olli Pettay
c2e7d2b30f Bug 710380 - IndexedDB could use the dictionary reader, r=khuey 2011-12-27 20:01:28 +02:00
Boris Zbarsky
5e4f813534 Bug 707717. Don't dynamically mutate the proto chains of DOM prototypes. r=peterv 2011-12-26 11:31:07 -05:00
Phil Ringnalda
30796bb59b Merge m-i <-> m-c 2011-12-24 21:50:23 -08:00
Ms2ger
3483b813ea Bug 711859 - Add an IsObjectInContextCompartment API; seems-better-than-the-alternative-all-things-considered=Waldo 2011-12-24 09:28:55 +01:00
Ms2ger
6aaac66913 Bug 711748 - Remove FIT_U32 from XPCConvert; r=bholley 2011-12-24 09:28:39 +01:00
Ms2ger
8ab0c6de34 Bug 712055 - Remove xpc_qsInt32ToJsval/xpc_qsUint32ToJsval; r=jorendorff 2011-12-24 09:28:14 +01:00
Ms2ger
d78a953c36 Bug 711826 - Remove nsJSRuntimeServiceImpl declaration; r=bholley 2011-12-24 09:28:03 +01:00
Ms2ger
ebb23ed2ef Bug 692277 - Part b: Remove js/src from xpconnect LOCAL_INCLUDES; r=luke 2011-12-24 09:27:51 +01:00
Ms2ger
474f03a4a7 Bug 692277 - Part a: Introduce an unstable public API for JS memory measurements to be used in XPCJSRuntime; r=njn sr=dmandelin 2011-12-24 09:27:39 +01:00
Ms2ger
99e36e1123 Bug 711240 - Part b: Expose xpc_qsStringToJsval publicly; r=bholley 2011-12-24 09:27:04 +01:00
Ms2ger
2a9fde8d7d Bug 711240 - Part a: Expose BAD_TLS_INDEX in xpcpublic.h; r=bholley 2011-12-24 09:26:34 +01:00
Ms2ger
86227c89ab Bug 711404 - Part b: Remove xpc_qsDoubleToUint64; r=bholley 2011-12-24 09:26:18 +01:00
Makoto Kato
e75b93afae Bug 711404 - Part a: Correctly handle unsigned long long as PRUint64 instead of PRInt64; r=bholley 2011-12-24 09:25:54 +01:00
Ms2ger
e2dcfa6ed5 Bug 712649 - Components.utils.getWeakReference(null) should fail silently; r=bholley 2011-12-24 09:20:04 +01:00
Olli Pettay
3851d96683 Bug 709569, a tool for webidl dictionary-like interfaces, r=khuey,mrbkap 2011-12-24 00:13:46 +02:00
Jeff Walden
841701c767 Bug 711647 - Add MOZ_DELETE to a bunch of deliberately-not-implemented methods across the tree. r=dbaron
--HG--
extra : rebase_source : 507006c0f099da6851b585d2062267d285978ad7
2011-12-16 14:42:07 -05:00
Bobby Holley
cb7c5d7fc2 Bug 712858 - Remove lingering XPT_TDP_POINTER uses in XPConnect. r=mrbkap 2011-12-23 16:22:44 -08:00
aceman
eb3ebc1fc0 Bug 711721 - merge nsIScriptError and nsIScriptError2 interfaces; r=neil, sr=bzbarsky 2011-12-21 16:51:29 -05:00
Ben Turner
ae2da55496 Bug 712448 - 'Slim wrappers do not use deferred release mechanism'. r=mrbkap. 2011-12-20 17:42:51 -05:00
Ed Morley
6b3e3d80a0 Merge last PGO-green changeset from mozilla-inbound to mozilla-central 2011-12-20 11:15:11 +00:00
Jason Duell
e1e683a5e9 Bug 695635: Unprefix websockets. r=sicking, sr=smaug
--HG--
rename : content/base/public/nsIMozWebSocket.idl => content/base/public/nsIWebSocket.idl
2011-12-20 00:20:12 -08:00
Marco Bonardo
951b7a56f6 Merge last green PGO changeset from mozilla-inbound to mozilla-central 2011-12-19 12:47:41 +01:00
Phil Ringnalda
595ce8403f Bug 695345 - Bring back ISO8601DateUtils.jsm, a=akeybl 2011-12-18 18:50:13 -08:00
Matt Brubeck
dde6ccdccc Merge mozilla-central to mozilla-inbound 2011-12-18 08:22:53 -08:00
Ms2ger
09490d5127 Bug 708330 - Use IDL for Components.utils.getWeakReference; r=bholley 2011-12-18 11:11:56 +01:00
Ms2ger
fe9b843007 Bug 708326 - Use IDL for Components.utils.forceGC; r=bholley 2011-12-18 11:11:23 +01:00
Ms2ger
21ffe5b481 Bug 708253 - Use IDL for Components.(utils.)reportError; r=bholley 2011-12-18 11:10:59 +01:00
Ms2ger
18a1378840 Bug 705324 - Remove nsAXPCNativeCallContext::{GetRetValPtr,GetReturnValueWasSet,SetReturnValueWasSet}; r=bholley sr=bz 2011-12-18 11:09:58 +01:00
Ms2ger
9dce0a682b Bug 705355 - Use IDL for Components.utils.evalInSandbox; r=bholley 2011-12-18 11:09:56 +01:00
Ms2ger
b69c913b12 Bug 705188 - Use IDL for mozIJSSubScriptLoader::LoadSubScript, {xpcIJSModuleLoader,nsIXPCComponents_Utils}::Import; r=bz 2011-12-18 11:09:16 +01:00
Ms2ger
29d2d0e19b Bug 705344 - Use IDL for Components.(utils.)lookupMethod; r=bholley 2011-12-18 11:08:04 +01:00
Ms2ger
070299e0ab Bug 707576 - Remove nsIDOMNSElement; r=smaug 2011-12-18 11:06:23 +01:00
Andrew McCreight
198963afc3 Bug 711616 - QI wrapped native weak map keys to nsINode. r=jst 2011-12-17 22:11:04 -08:00
John Schoenick
1c874917cd Bug 687679 - Rename JS_CompileFile to JS_CompileUTF8File, fix users. r=jorendorff,jst 2011-12-16 11:08:59 -08:00
Jeff Walden
7f153524ef Bug 711672 - Break mfbt's dependency on jstypes.h by moving various API macros out of JS and into mfbt. r=luke, r=cjones
--HG--
extra : rebase_source : f18993e1eec1a5e5bcdb9cd97fa7d7c6ad261e2c
2011-12-13 14:26:58 -05:00
Andrew McCreight
db59eae076 Bug 710492 - add special cycle collector shape tracing path. r=bhackett 2011-12-19 10:24:56 -08:00
Nicholas Nethercote
1c1d565232 Bug 709653 - Fix GC heap memory reporters. r=bhackett.
--HG--
extra : rebase_source : 6805671750bd6a9e9661e70832a3837d4064f6ea
2011-12-11 21:21:18 -08:00
Nicholas Nethercote
8f335f567c Bug 707865 - Convert nsTArray::SizeOf() to nsTArray::SizeOfExcludingThis(). r=jlebar.
--HG--
extra : rebase_source : d802d58bc7dedda2490878793923adc0ab55f779
2011-12-15 14:59:53 -08:00
Jeff Walden
98dd456fc1 Bug 711799 - Fix a bunch of initializing-pointer-from-boolean warnings. r=dholbert
--HG--
extra : rebase_source : 4a5d03b10ad8ac4eaff222037ba3400a26e7cf55
2011-12-18 01:00:47 -05:00
Jeff Walden
9d7141da5c Add MOZ_OVERRIDE to CrossOriginWrapper functions. No bug (but sort of r=luke from bug 708735 :-) )
--HG--
extra : rebase_source : d0bdbc8c031457a3a9f7f8cc82d141e0d83883f4
2011-12-15 14:32:25 -05:00
aceman
e03bb0b7ab Bug 122213 - Display time and date of messages in toolkit's Error Console. r=neil sr=bz 2011-12-17 05:22:26 +01:00
Doug Sherk
f8cc305c99 Bug 708207: implement WebGL's getShaderPrecisionFormat r=bjacob 2011-12-16 13:11:59 -08:00
Ms2ger
c3c3bdba73 Backed out changeset ba447ace2594 (bug 687679) for bustage. 2011-12-16 21:17:16 +01:00
John Schoenick
a355d623f2 Bug 687679 - Rename JS_CompileFile to JS_CompileUTF8File, fix users. r=jorendorff,jst 2011-12-16 11:08:59 -08:00
Jeff Walden
87d3f92e61 Bug 708735 - Use <stdint.h> types in JSAPI and throughout SpiderMonkey. Continue to provide the {u,}int{8,16,32,64} and JS{Uint,Int}{8,16,32,64} integer types through a single header, however, for a simpler backout strategy -- and also to ease the transition for embedders. r=timeless on switching the jsd API to use the <stdint.h> types, r=luke, r=dmandelin 2011-12-08 22:54:10 -05:00
Andrew McCreight
3366dba944 Bug 680937, part 3 - implement and set preserve wrapper callback. r=jst 2011-12-15 17:45:49 -08:00
Andrew McCreight
64385f889e Bug 680937, part 2 - Add native wrapper preservation hook, call it in WeakMap_set. r=billm 2011-12-15 17:45:21 -08:00
Bobby Holley
84032122fb Bug 711203 - enable XPConnect wstring test. r=khuey 2011-12-15 13:27:42 -08:00
Andrew McCreight
59ca827dee Bug 709162 - crash test for cycle collector dumping. rs=bholley a=mbrubeck 2011-12-14 16:02:12 -08:00
Andrew McCreight
07887213c4 Bug 710761 - test if CC listener begin fails, don't call listener again. rs=bholley 2011-12-14 15:56:37 -08:00
Andrew McCreight
e32959a25b Bug 709160 - fix ObjShrink fallout in nsXPConnect::Traverse CC printing code. r=luke 2011-12-14 15:56:37 -08:00
Andrew Quartey
faa8be8d82 Bug 706010 - Remove NS_SPECIALIZE_TEMPLATE and HAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX; r=khuey a=cleanup/removal 2011-12-13 14:17:59 +00:00
Ms2ger
ac9df022f7 Bug 709603 - Remove unused variables 'type' in CallMethodHelper::Get{ArraySize,InterfaceType}FromParam; r=bholley a=ehsan 2011-12-13 09:49:31 +11:00
Nicholas Nethercote
688c469bc9 Bug 704400 - Implement --enable-dmd. r=khuey. 2011-12-08 19:09:36 -08:00
Mike Hommey
57f9bdde28 Bug 695843 part 9 - Use FileLocations in the component manager. r=bsmedberg 2011-11-08 18:10:51 +01:00
Mike Hommey
1c5ea5be3e Bug 695843 part 8 - Properly handle jar-in-jars when importing modules. r=mrbkap 2011-12-08 11:03:36 +01:00
Mike Hommey
1d5e489323 Bug 695843 part 7 - Use the URI string as the key for the various mozJSComponentLoader hashtables. r=mrbkap 2011-11-08 18:08:49 +01:00
Bill McCloskey
b931f019bd Bug 707051 - Change MarkChildren for shapes (r=igor) 2011-12-07 09:52:16 -08:00
Blake Kaplan
dc51d7dcc5 Bug 708215 - Report errors from the safe JS context. r=bent 2011-12-07 18:12:20 +08:00
Bobby Holley
9171552a19 Bug 706301 - Tests. r=mrbkap 2011-12-06 11:05:26 -08:00
Bobby Holley
bbdbbf662a Bug 706301 - Don't cache own properties on XrayProxy. r=mrbkap 2011-12-06 11:05:26 -08:00
Nicholas Nethercote
6c8107ba0c Bug 704723 - Add memory reporter for XPConnect. r=mrbkap. 2011-12-05 14:24:28 -08:00
Ed Morley
1ffbd8940f Merge mozilla-central and mozilla-inbound 2011-12-04 15:04:54 +00:00
Ms2ger
18fa4b8800 Bug 705357 - Use IDL for Components.utils.getGlobalForObject; r=bholley 2011-12-03 22:50:16 +01:00
Ms2ger
7835d6610a Bug 705333 - Use IDL for nsJSCID::{CreateInstance,GetService}; r=bholley 2011-12-03 22:50:16 +01:00
Kyle Huey
a441b10233 Merge b-s to m-c. 2011-12-03 16:27:21 -05:00
Brian Hackett
356489907c Merge MC -> JM 2011-12-03 10:34:26 -08:00
Antti Haapala
55185ebf5e Bug 699156: Support TypedArrays in XPConnect. r=bholley,evilpie 2011-12-03 09:33:20 -05:00
Brian Hackett
d3db56074b Merge MC -> JM 2011-12-01 11:51:09 -08:00
Brian Hackett
4fa421bf15 Merge MC -> JM 2011-11-30 12:45:27 -08:00
Brian Hackett
73956e1912 Merge MC -> JM 2011-11-26 15:03:20 -08:00
Brian Hackett
586dafd5c1 Add about:memory reporters for per compartment shape tables, bug 704372. 2011-11-21 20:29:05 -05:00
Brian Hackett
9a1b4e584a Merge mozilla-central and mozilla-inbound 2011-12-03 14:36:54 -08:00
Makoto Kato
c012763b5c Bug 655658 - NetUtil.readInputStreamToString should have aCharset argument as optional. r=sdwilsh, sr=bz 2011-11-25 11:23:41 +09:00
Andrew McCreight
4453584b8b Bug 668855, part 6: test weak maps and the cycle collector. r=gal 2011-11-24 07:35:57 -05:00
Brian Hackett
299ac2bf87 Merge MC -> JM 2011-11-18 18:02:40 -08:00
Brian Hackett
2f44413ef8 Mark uncacheable prototypes on objects whose prototype has dynamically changed, bug 703047. 2011-11-18 13:28:07 -08:00
Brian Hackett
fdac79a1f2 Avoid shape changes on XPConnect wrapper prototype changes, bug 703047. 2011-11-16 12:52:47 -08:00
Brian Hackett
57fdfc58fd Clear XPCWrappedNativeScope fields to avoid accessing freed arenas during destruction, no bug. r=billm 2011-11-14 17:06:53 -08:00
Ed Morley
1c87228e23 Merge last green changeset of mozilla-inbound to mozilla-central 2011-11-16 11:02:43 +00:00