mrbkap@gmail.com
|
053410f558
|
Deal with XPCCallContexts that aren't able to initialize themselves. This also fixes bugs related to finalizing objects on dead contexts. bug 390083, r+sr=jst
|
2007-07-30 14:50:10 -07:00 |
|
mrbkap@gmail.com
|
2ccd5c8afc
|
Implement cross-origin wrappers to gate accesses between sites that are cross origin. This will prevent sites from monkeying with each other by doing bad things to allAccess properties, and pave the way for more security work. bug 367911, r=jst rs=brendan
|
2007-07-26 12:18:06 -07:00 |
|
benjamin@smedbergs.us
|
2694ad77f8
|
Fix MSVC7 build bustage from bug 389401, a=gavin for checkin to closed tree
|
2007-07-26 07:09:46 -07:00 |
|
mrbkap@gmail.com
|
32e5403680
|
Don't double-wrap objects when getting them out of an XPCVariant. bug 384632, r=peterv sr=jst
|
2007-07-20 18:03:55 -07:00 |
|
dbaron@dbaron.org
|
e2de611d66
|
Add more useful assertion for debugging cycle collector faults. b=386912 r+sr=peterv
|
2007-07-18 21:58:39 -07:00 |
|
dmose@mozilla.org
|
b67b115f9b
|
Fix comment to say 'createInstance' when it really means that, since this is pointed to by devmo as API documentation; no bug; rs=shaver
|
2007-07-18 13:19:05 -07:00 |
|
mrbkap@gmail.com
|
243fcf04c8
|
Move where we convert things into strings into a more centralized place. bug 372075, r=bzbarsky sr=jst
|
2007-07-17 13:12:21 -07:00 |
|
dolske@mozilla.com
|
6bf090c4dc
|
Bug 388190: XPCOMUtils spews uuids when registering components. r=sayrer, sr=benjamin
|
2007-07-16 10:57:49 -07:00 |
|
alex@croczilla.com
|
1f0c5d93d4
|
Bug 381693 - Allow null targetObj arg to xpcIJSModuleLoader::import().
r=sayrer, src=brendan.
|
2007-07-15 11:21:11 -07:00 |
|
asqueella@gmail.com
|
25882be3be
|
synchronize documentation, Sylvain Pasche <sylvain.pasche@gmail.com>
r=sayrer, bug 380970
|
2007-07-14 14:43:35 -07:00 |
|
jwalden@mit.edu
|
af5688aa77
|
Back out bug 386635; it broke restoring sessions in the browser.
|
2007-07-12 12:11:45 -07:00 |
|
jwalden@mit.edu
|
8f1a184c3f
|
Back out bug 387390; it causes the marquee binding to throw security exceptions.
|
2007-07-11 20:14:27 -07:00 |
|
mrbkap@gmail.com
|
ab6b85e4fa
|
Don't trust the filename of cloned functions. bug 387390, r=jst sr=brendan
|
2007-07-11 18:27:03 -07:00 |
|
mrbkap@gmail.com
|
fcde0538ee
|
Always return XPCSafeJSObjectWrappers from Components.utils.Sandbox and evalInSandbox. This makes this interface much, much easier to use safely, as the wrapper takes care of several common problems that occur when touching regular JS objects directly. bug 386635, r=jst sr=brendan
|
2007-07-11 15:52:28 -07:00 |
|
neil@parkwaycc.co.uk
|
11ed13d71f
|
Followup to bug 348748 to fix the alignment of trailing backslashes in macros
[xxx_cast<foo*>(bar) is three characters shorter than NS_XXX_CAST(foo*, bar)]
|
2007-07-11 01:46:44 -07:00 |
|
bzbarsky@mit.edu
|
a91172fdd2
|
Clean up the XDR properly even if JS_XDRScript fails. In particular, don't
double-free things. Bug 387572, r+sr=brendan
|
2007-07-10 20:10:43 -07:00 |
|
bzbarsky@mit.edu
|
8a55f7964d
|
Relanding bug 326777, r=bsmedberg, sr=jst
|
2007-07-10 17:57:17 -07:00 |
|
mrbkap@gmail.com
|
bb96ca4a6a
|
Create exceptions with the right parent. bug 387390, r=jst sr=brendan
|
2007-07-10 17:37:03 -07:00 |
|
mrbkap@gmail.com
|
c71d4d7cd9
|
Avoid asserting for user-controlled thing (through __proto__ setting). bug 387182, r+sr=jst
|
2007-07-10 17:27:57 -07:00 |
|
bzbarsky@mit.edu
|
b684e745b0
|
Backing out to fix red
|
2007-07-09 21:07:45 -07:00 |
|
bzbarsky@mit.edu
|
e57cc08535
|
Make sure that we push a null JSContext on the current thread's XPConnect stack
before processing events. Bug 326777, r=bsmedberg, sr=jst
|
2007-07-09 20:48:06 -07:00 |
|
mrbkap@gmail.com
|
623c0f85b7
|
Attempt to fix leaks.
|
2007-07-09 17:24:16 -07:00 |
|
mrbkap@gmail.com
|
9142f922fa
|
Back out this change to hopefully fix the rest of the regressions test failures (from bug 386695).
|
2007-07-09 16:34:58 -07:00 |
|
mrbkap@gmail.com
|
9f3554437c
|
Associate XPCWrappedNativeScopes with XPCContexts, like the DOM does with windows and contexts, so that we can push a context that's allowed to actually call XPCWrappedJS functions. bug 352791, r=jst sr=brendan
|
2007-07-09 14:51:57 -07:00 |
|
mrbkap@gmail.com
|
980c3bec0a
|
Don't create exceptions using the global object as the parent, since that's bogus, use the scope chain instead. bug 386695, r+sr=jst
|
2007-07-09 14:46:18 -07:00 |
|
jwalden@mit.edu
|
e3c4baccae
|
Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
|
2007-07-08 00:08:04 -07:00 |
|
dbaron@dbaron.org
|
85bc16700d
|
Fix bogus trace names. b=387223 r=brendan
|
2007-07-07 00:30:58 -07:00 |
|
mrbkap@gmail.com
|
978a357c6f
|
Allow chrome files to touch implicit XPCNativeWrappers. bug 387084, r+sr=jst
|
2007-07-06 17:52:44 -07:00 |
|
jwatt@jwatt.org
|
b661213963
|
Fixing bug 317304. Implement weak references for JavaScript. Patch by Alex Fritze <alex@croczilla.com>. r+sr=shaver@mozilla.org
|
2007-07-06 13:13:12 -07:00 |
|
mrbkap@gmail.com
|
774b9ea95f
|
Ensure that accesses to implicit XPCNativeWrappers are actually legal. bug 384750, r+sr=jst
|
2007-07-05 13:13:43 -07:00 |
|
mrbkap@gmail.com
|
a3f0810cc1
|
Ensure that accesses to implicit XPCNativeWrappers are actually legal. bug 384750, r+sr=jst
|
2007-07-05 13:01:12 -07:00 |
|
dbaron@dbaron.org
|
b55a2cb262
|
Put comment in the right place. b=180380
|
2007-07-03 14:31:02 -07:00 |
|
mrbkap@gmail.com
|
1605bc2452
|
Backing out these changes to fix tinderbox orange.
|
2007-07-02 18:12:41 -07:00 |
|
mrbkap@gmail.com
|
ba27e0932a
|
Ensure that accesses to implicit XPCNativeWrappers are actually legal. bug 384750, r+sr=jst
|
2007-07-02 16:39:41 -07:00 |
|
sayrer@gmail.com
|
523df9c569
|
Bug 180380. nsXPCComponents object and its wrapper leaked at shutdown. Patch by David Baron, David Bradley, and Robert Sayre. r=jst/bzbarsky, sr=dbaron
|
2007-06-30 16:00:09 -07:00 |
|
dbaron@dbaron.org
|
ab765e1d21
|
Suspect all native wrappers during cycle collection (last part, rest already done by Graydon). b=368869 r=graydon sr=jst
|
2007-06-29 20:03:30 -07:00 |
|
dbaron@dbaron.org
|
1f58020b96
|
Make wrapped native debug dump log the native that is wrapped. b=385549 r+sr=jst
|
2007-06-29 20:02:15 -07:00 |
|
jst@mozilla.org
|
92a4c5b092
|
Fixing bug 380474. Use the inner object when looking up methods and adding event listeners. r=mrbkap@mozilla.org, sr=brendan@mozilla.org
|
2007-06-27 17:28:02 -07:00 |
|
enndeakin@sympatico.ca
|
d165145397
|
Bug 382034, support optional args in idl, try again with fix for crash calling toString, r+sr=shaver
|
2007-06-25 07:23:26 -07:00 |
|
enndeakin@sympatico.ca
|
2364c01e63
|
Bug 382034, back out due to test content/base/test/test_bug352728.html failing
|
2007-06-22 08:21:13 -07:00 |
|
enndeakin@sympatico.ca
|
23b79c6763
|
Bug 382034, support optional arguments in idl, r+sr=shaver
|
2007-06-22 07:22:20 -07:00 |
|
dbaron@dbaron.org
|
4f57c6e110
|
Back out again.
|
2007-06-21 20:11:41 -07:00 |
|
dbaron@dbaron.org
|
3416985295
|
Bug 368869, suspect all native wrappers for cycle collection. Relanding. Patch by graydon@mozilla.com. r=brendan, sr=jst
|
2007-06-21 15:25:51 -07:00 |
|
sayrer@gmail.com
|
8e7abbc126
|
Bug 381651. Tweak XPCOMUtils. Patch by Nickolay_Ponomarev <asqueella@gmail.com>. r=sayrer, sr=bsmedberg
|
2007-06-20 21:53:35 -07:00 |
|
mrbkap@gmail.com
|
5154e96e3e
|
Implement a full nsIScriptSecurityManager in xpcshell. bug 239969, r+sr=jst
|
2007-06-20 17:10:48 -07:00 |
|
sayrer@gmail.com
|
7dae407d8c
|
Bug 384168. C.u.import doesn't prevent recursion in the presence of circular dependencies. r=brendan, sr=bsmedberg
|
2007-06-19 23:29:49 -07:00 |
|
gavin@gavinsharp.com
|
72a9b9d6c0
|
Back out previous patch for bug 239969 (bustage, and tree is closed)
|
2007-06-19 19:30:54 -07:00 |
|
mrbkap@gmail.com
|
ed3cb9fd25
|
Implement an nsIScriptSecurityManager for the xpcshell. bug 239969, r+sr=jst
|
2007-06-19 19:13:22 -07:00 |
|
jwatt@jwatt.org
|
bc9300967d
|
Fixing bug 383917. The new Components.utils.import code shouldn't spam the console. r=sayrer@gmail.com, sr=brendan@mozilla.com
|
2007-06-18 08:36:16 -07:00 |
|
mrbkap@gmail.com
|
56aed6adf0
|
Restrict who can claim to implement nsISecurityCheckedComponent. bug 352882, r=jst sr=bzbarsky
|
2007-06-15 14:44:51 -07:00 |
|
igor@mir2.org
|
bc0a21a243
|
Bug 378793: Patch from Mike Moening and me to implement per-context debug hooks. r=brendan
|
2007-06-14 23:44:18 -07:00 |
|
mrbkap@gmail.com
|
781e986b4b
|
Allow C.u.Sandbox to take a principal or an nsIScriptObjectPrincipal. bug 353732, r+sr=jst
|
2007-06-14 16:50:28 -07:00 |
|
graydon@mozilla.com
|
ebd1fa3764
|
Amazingly, backing out 368869 again.
|
2007-06-14 13:40:17 -07:00 |
|
graydon@mozilla.com
|
7e6c0bf09e
|
Bug 368869, suspect all native wrappers for cycle collection. Nth attempt, slightly safer.r=brendan, sr=jst
|
2007-06-14 12:42:58 -07:00 |
|
bzbarsky@mit.edu
|
33a8653e15
|
Change the URI argument to Components.utils.import to be a resource: URI. Bug380970, patch by Alex Vincent <ajvincent@gmail.com>, r=sayrer, sr=bsmedberg
|
2007-06-10 14:13:18 -07:00 |
|
graydon@mozilla.com
|
65eb1c1bf4
|
Backing out patch in bug 368869, again. Still randomly crashing (as in bug 383763).
|
2007-06-08 12:08:26 -07:00 |
|
gavin@gavinsharp.com
|
218738d375
|
Bug 381031: make JS1.8 the default for <xul:script>, and add a JSVERSION_LATEST #define to simplify future changes, patch by Nickolay Ponomarev <asqueella@gmail.com>, r+sr=brendan
|
2007-06-07 15:50:12 -07:00 |
|
asqueella@gmail.com
|
7cbb96fa68
|
Bug 381499 - Components.utils.import reports NS_ERROR_FAILURE when the file not existsswitch to NS_ERROR_FILE_NOT_FOUND and update testsr=sayrer, sr=brendan
|
2007-06-07 15:34:06 -07:00 |
|
graydon@mozilla.com
|
ad2d5719f0
|
Bug #368869, suspect all native wrappers as cycle roots (yet again, after Igor's change to js gc).r=brendan, sr=jst
|
2007-06-05 16:50:22 -07:00 |
|
mattwillis@gmail.com
|
6f6f76486f
|
bug 382744 - Correct backwards assertion check in XPCNativeScriptableInfo. Patch by Manish Singh <manish@flock.com>, r=dbaron, sr=shaver
|
2007-06-05 08:59:44 -07:00 |
|
mrbkap@gmail.com
|
93e990bf21
|
Remove indirect eval. bug 382509, r=brendan
|
2007-06-04 16:03:03 -07:00 |
|
mrbkap@gmail.com
|
0f3c9fea93
|
Create XPCNativeWrapper function wrappers with the right parent. bug 370127, r=bzbarsky sr=brendan
|
2007-06-04 14:43:57 -07:00 |
|
peterv@propagandism.org
|
0aec607ac4
|
Fix for bug 382133 ("(function(){}).apply.ee = <foo/>;" causes shutdown crash [@ nsXPConnect::Unlink] during nsCycleCollector::CollectWhite). r/sr=jst.
|
2007-06-04 03:01:34 -07:00 |
|
igor@mir2.org
|
7d41735dbf
|
Bug 379220: replacing JS_AddRoot calls via doubly-linked lists. r=jst sr=brendan
|
2007-06-02 08:11:52 -07:00 |
|
mvl@exedo.nl
|
21821eaf0b
|
bug 382237: make xpctools profiler work, and make it record time spend in the function itself. r=shaver
|
2007-05-28 08:00:50 -07:00 |
|
neil@parkwaycc.co.uk
|
17aa0501f7
|
Bug 351007 Crash @ XPCWrappedNative::CallMethod passing null to out A*String parameters r+sr=jst
|
2007-05-25 13:45:50 -07:00 |
|
peterv@propagandism.org
|
7e189d8549
|
Fix for bug 377884 (Switch nsXPConnect::Traverse to use tracing). r=jst/igor, sr=dbaron.
|
2007-05-25 01:42:08 -07:00 |
|
peterv@propagandism.org
|
98955fbcad
|
Fix for bug 368774 (Make cycle collector work with refcounted non-XPCOM objects). r=dbaron, sr=sicking.
|
2007-05-24 07:10:02 -07:00 |
|
mrbkap@gmail.com
|
7985ba2c50
|
Back this out for now to sort out what happens when we're called from C++, not from Javascript.
|
2007-05-23 17:50:50 -07:00 |
|
mrbkap@gmail.com
|
2409391b2a
|
Use the currently executing function as the nominal parent for our function so that we pull the correct prototype for our function. bug 370127, r+sr=jst
|
2007-05-23 17:18:00 -07:00 |
|
asqueella@gmail.com
|
5919a26047
|
bug 381369 - improve Components.utils.import-related commentsr=sayrer
|
2007-05-22 14:57:42 -07:00 |
|
sayrer@gmail.com
|
c1cab1cba0
|
Bug 238324. Tweak generateFactory to call new, and add unit tests for module loading. Patch by Alex Vincent <ajvincent@gmail.com>. r=sayrer, sr=bsmedberg
|
2007-05-20 15:45:14 -07:00 |
|
sayrer@gmail.com
|
90faa81713
|
JS code-sharing module system. Patch by Alex Fritze <alex@croczilla.com> and Robert Sayre <sayrer@gmail.com>. r=shaver/brendan, sr=brendan
|
2007-05-15 16:27:40 -07:00 |
|
igor@mir2.org
|
0b07474b6a
|
Bug 340212: All XPC GC tracing now happens in the runtime trace callback.
|
2007-05-15 02:01:34 -07:00 |
|
graydon@mozilla.com
|
df0899706b
|
Back out patch for bug 368869, yet again. Seems to cause some obscure crashesin nightlies.
|
2007-05-05 20:46:06 -07:00 |
|
bzbarsky@mit.edu
|
5a7814a82a
|
When pushing on top of a JSContext on the XPConnect JSContext stack, save offthe JSStackFrame chain on that JSContext. When popping, restore the stackframe chain. Bug 371858, r=jst, sr=brendan
|
2007-05-04 22:55:47 -07:00 |
|
peterv@propagandism.org
|
5415bac556
|
Fix for bug 379593 (Only create one XPCCallContext per cycle collection). r=jst, sr=brendan.
|
2007-05-04 01:55:08 -07:00 |
|
graydon@mozilla.com
|
5336c6731e
|
Bug #368869, suspect all native wrappers as cycle roots (again).r=brendan, sr=jst
|
2007-05-03 15:53:00 -07:00 |
|
igor@mir2.org
|
e5defb0763
|
Bug 377751: Switching JSClass.mark in XPConnect to the tracing semantics. r=jst, sr=brendan
|
2007-05-02 13:20:21 -07:00 |
|
igor@mir2.org
|
1160f3bc2d
|
Bug 377751: removal of the commit.
|
2007-05-01 14:54:29 -07:00 |
|
igor@mir2.org
|
4626b2a66f
|
Bug 377751: More build fixes.
|
2007-05-01 14:44:15 -07:00 |
|
igor@mir2.org
|
1b2ef20671
|
Bug 377751: Fixing windows compilation problem.
|
2007-05-01 14:33:00 -07:00 |
|
igor@mir2.org
|
1ce0c4d485
|
Bug 377751: JSClass instances in xpconnect use the tracing API. r=brendan, sr=jst
|
2007-05-01 14:06:07 -07:00 |
|
peterv@propagandism.org
|
378d89744e
|
Part of bug 377606 (Switch cycle collector to more efficient hashtables - only keep hashtable around while collecting). r=graydon, sr=dbaron.
|
2007-05-01 05:51:39 -07:00 |
|
igor@mir2.org
|
d69de1f698
|
Bug 379165: Simplifing JS_DimpHeap while fixing BeOS build problems. r=brendan
|
2007-04-29 14:49:00 -07:00 |
|
igor@mir2.org
|
bd2f8f4e1f
|
Bug 378255: DEBUG build of xpc now dumps JS heap on shutdown to a file defined by XPC_SHUTDOWN_HEAP_DUMP environment variable. r=brendan sr=jst
|
2007-04-26 23:12:39 -07:00 |
|
bzbarsky@mit.edu
|
36656a88fa
|
Allow getting the lineNumber of XPConnect expceptions. Bug 291377, r=sicking,sr=jst. r=mrbkap, sr=jst for the test.
|
2007-04-26 21:19:11 -07:00 |
|
peterv@propagandism.org
|
f61971e016
|
Fix for bug 378595 (Improve cycle collection QI performance). r/sr=sicking.
|
2007-04-25 09:35:27 -07:00 |
|
igor@mir2.org
|
68d7b74a96
|
Bug 378261: Replacing GC_MARK_DEBUG by DumpHeap. r=brendan
|
2007-04-25 06:43:18 -07:00 |
|
dbaron@dbaron.org
|
436a51a9c7
|
Followup fixes to making cycle collector use more efficient hashtables: shrink size of table and fix warnings on 64-bit machines. b=377606 sr=peterv r=graydon
|
2007-04-23 16:34:33 -07:00 |
|
peterv@propagandism.org
|
fa1d45ea66
|
Fix for bug 372110 (Make cycle-collection debugging features optional at compile time). r=graydon, sr=jst.
|
2007-04-21 10:43:19 -07:00 |
|
peterv@propagandism.org
|
01dc49f9b9
|
Fix for bug 377606 (Switch cycle collector to more efficient hashtables). Patch by graydon, r=peterv, sr=dbaron.
|
2007-04-20 01:01:01 -07:00 |
|
jst@mozilla.org
|
e6a180e75b
|
One more fix for bug 368945. Make sure to find the right this object when calling functions through a wrapper. r+sr=brendan@mozilla.org
|
2007-04-19 13:27:57 -07:00 |
|
peterv@propagandism.org
|
d114bf0dbe
|
Fix for bug 374872 (freeze/pause after clicking on a link). Patch by sspitzer, r/sr=peterv.
|
2007-04-18 03:14:38 -07:00 |
|
mrbkap@gmail.com
|
eb8514f0f0
|
Protect against someone calling XPCSafeJSObjectWrapper.prototype(). bug 375164, r+sr=brendan
|
2007-04-10 09:04:43 -07:00 |
|
igor@mir2.org
|
dac58ab9ec
|
Taking out the patches for bug 375999 and bug 375808 until the reason for ref counting leak would be clear.
|
2007-03-31 23:48:21 -07:00 |
|
igor@mir2.org
|
7ccbbd605a
|
Bug 375808 - GCX_PRIVATE is replaced by GCX_FUNCTION. r=brendan
|
2007-03-29 23:23:00 -07:00 |
|
bzbarsky@mit.edu
|
f16f948579
|
Fix JS strict warning in the wrapper code. Bug 371948, r+sr=brendan
|
2007-03-28 13:29:00 -07:00 |
|
dbaron@dbaron.org
|
a7d9802f77
|
Remove GetKeyPointer method from nsTHashtable key types. b=374906 r=bsmedberg
|
2007-03-27 08:34:59 -07:00 |
|
dbaron@dbaron.org
|
85eb65ced4
|
Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg
|
2007-03-27 08:33:38 -07:00 |
|
peterv@propagandism.org
|
a21e9fae83
|
Relanding part of the fix for bug 372960 (Make XPConnect traverse more JS edges). r=brendan, sr=jst.
|
2007-03-23 06:21:22 -07:00 |
|
hg@mozilla.com
|
465265d0d4
|
Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT,
|
2007-03-22 10:30:00 -07:00 |
|