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 |
|
mrbkap@gmail.com
|
f90fd387a3
|
Clear dormantNext when we're done using it. bug 387725, r=igor
|
2007-07-11 14:57:05 -07:00 |
|
igor@mir2.org
|
a4c622bced
|
Bug 386885: JSAtom.number is removed in favour of using atoms itself for hashing. r=brendan
|
2007-07-11 02:25:45 -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
|
fb2469a627
|
Ensure that we have a valid scope chain at all times so C++ callers can create objects in the right scope. bug 387591, r=brendan
|
2007-07-10 17:29:25 -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 |
|
brendan@mozilla.org
|
85a81f822c
|
to{Source,{,Locale}String} are not generic (387501, r=mrbkap).
|
2007-07-09 22:07:20 -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 |
|
igor@mir2.org
|
ab560f0cb7
|
Bug 385729: objects and regexps are stored in separated tables in JSScript. r=brendan,mrbkap
|
2007-07-08 02:03:34 -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 |
|
igor@mir2.org
|
20e1e61bfd
|
Bug 387229: now DUMP_SCOPE_STATS includes js_scope_stats into the log. r=brendan
|
2007-07-07 14:55:29 -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 |
|
brendan@mozilla.org
|
d3ce030899
|
Fix degenerate unsigned (enum) comparisons (357016, r=igor).
|
2007-07-05 16:25:27 -07:00 |
|
crowder@fiverocks.com
|
1bd6dc84a7
|
Bug 357016: changing this back to (void *) for now to fix burning tree
|
2007-07-05 13:54:44 -07:00 |
|
crowder@fiverocks.com
|
b5153b0a7c
|
Bug 357016: fixing brendan's nit from comment 23
|
2007-07-05 13:41:59 -07:00 |
|
crowder@fiverocks.com
|
daa4556abc
|
Bug 357016: spidermonkey should be buildable by a C++ compiler, patch by
crowder/Jason Orendorff, r=brendan
|
2007-07-05 13:37:47 -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 |
|
brendan@mozilla.org
|
046a5b5536
|
Fix redundant statement and out-of-date comment.
|
2007-07-02 14:06:52 -07:00 |
|
igor@mir2.org
|
9137bfaf4e
|
Bug 349326: for-in loop now always closes iterator objects. r=brendan
|
2007-07-02 05:13:23 -07:00 |
|
timeless@mozdev.org
|
90c5be45ec
|
Bug 385765 [@ jsdASObserver::Observe] You can't dereference a NULL nsCOMPtr with operator->()
r=dveditz sr=dveditz
|
2007-07-01 12:25:10 -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 |
|
mrbkap@gmail.com
|
2b63ef8316
|
Skip initial holes when computing the start value of reduce(Right). bug 386030, r=brendan
|
2007-06-27 17:04:49 -07:00 |
|
brendan@mozilla.org
|
397ecf464e
|
Re-land fix for cloned function object prototyping (300079, r=igor/mrbkap).
|
2007-06-26 11:19:54 -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 |
|
mrbkap@gmail.com
|
813d418204
|
Actually populate the string cache so we don't leak all deflated strings. bug 385378, r=brendan
|
2007-06-21 17:31:50 -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 |
|
mrbkap@gmail.com
|
599875400f
|
Remove useless variable. bug 385368, patch from Gabriel Sjoberg <gabrielsjoberg@gmail.com>, r=mrbkap
|
2007-06-21 13:38:45 -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 |
|
mrbkap@gmail.com
|
c2900f1bf8
|
Use the latest version of JS, so the shell always has the newest features. bug 385159, r=brendan
|
2007-06-20 16:53:55 -07:00 |
|