26 Commits

Author SHA1 Message Date
mrbkap%gmail.com
4185ee6ae0 Bug 464174 - Pass a principal in when compiling fields. r+sr=sicking a=dveditz
git-svn-id: svn://10.0.0.236/trunk@255136 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-20 00:03:55 +00:00
bzbarsky%mit.edu
46e7bdf4f5 Don't leave an exception hanging on the JS context when we return ok. Bug
418133, r=jst, sr=brendan, a=beltzner.


git-svn-id: svn://10.0.0.236/trunk@247120 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-05 20:41:27 +00:00
bzbarsky%mit.edu
1fd4026864 Allow JS 1.7 in XBL. Bug 389322, r=brendan, sr=jst, a=brendan
git-svn-id: svn://10.0.0.236/trunk@245814 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-16 05:13:19 +00:00
bzbarsky%mit.edu
511ddb65c3 Skip installing fields which have no text. Bug 397924, r+sr+a=sicking
git-svn-id: svn://10.0.0.236/trunk@237072 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-02 14:38:35 +00:00
bzbarsky%mit.edu
806d62b1e1 Relanding bug 372769 with some cycle collection changes to fix leaks.
r=mrbkap, sr=sicking, with r=sicking on the leak fixes.


git-svn-id: svn://10.0.0.236/trunk@236837 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-28 13:45:03 +00:00
bzbarsky%mit.edu
3ad55d39e0 Backing out bug 372769 due to leaks.
git-svn-id: svn://10.0.0.236/trunk@236713 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-26 14:39:32 +00:00
bzbarsky%mit.edu
5887e44e55 Do lazy evaluation of XBL fields. Bug 372769, r=mrbkap, sr=sicking
git-svn-id: svn://10.0.0.236/trunk@236710 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-26 13:55:07 +00:00
jwalden%mit.edu
dda6ff3c99 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.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
peterv%propagandism.org
cae5ba4341 Fix for bug 368774 (Make cycle collector work with refcounted non-XPCOM objects). r=dbaron, sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@226949 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-24 14:10:04 +00:00
mhammond%skippinet.com.au
e96b5e495a Land DOM_AGNOSTIC3_BRANCH, bug 255942. r=a few people, sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@199778 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-13 03:07:47 +00:00
mrbkap%gmail.com
0b7523274b Checking in Ben Turner <bent.mozilla@gmail.com> and timeless's patch to make Gecko use the JS engine's request model to help multithreaded embedders avoid GC races and crashes. bug 176182, r=mrbkap assumed-rs=brendan
git-svn-id: svn://10.0.0.236/trunk@199768 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-12 22:39:55 +00:00
dbaron%dbaron.org
9911a9b756 Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky
git-svn-id: svn://10.0.0.236/trunk@193572 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 00:00:44 +00:00
bzbarsky%mit.edu
ef85d0865f Make sure to root the function object we compile in
nsXBLPrototypeHandler::ExecuteHandler.  r=jst, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@180904 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-24 02:33:33 +00:00
bzbarsky%mit.edu
b8e0480ec5 Keep the results of EvaluateStringWithValue properly alive while we're using
them, and make sure we don't GC the xbl property getter when we create the
setter.  Bug 299205, r=jst, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@180397 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-16 15:44:59 +00:00
roc+%cs.cmu.edu
0b0fa89131 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
timeless%mozdev.org
6590580432 Bug 242999 Crash while trying to GC [@ DOMGCCallback]
r=jst sr=jst


git-svn-id: svn://10.0.0.236/trunk@156502 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-18 04:00:47 +00:00
gerv%gerv.net
98831918fc Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155044 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 21:52:36 +00:00
darin%meer.net
55688e6410 landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt
git-svn-id: svn://10.0.0.236/trunk@152905 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 02:44:03 +00:00
timeless%mozdev.org
090bed717c Bug 211493 nsXBLProtoImplMethod::CompileMember doesn't check rv from aContext->CompileFunction. Crash [@ JS_CloneFunctionObject]
r=bryner sr=bz


git-svn-id: svn://10.0.0.236/trunk@146736 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-11 04:10:20 +00:00
bzbarsky%mit.edu
5435c5826d Add correct line number reporting to errors from XBL fields and handlers. Make
it possible to pass a url and line number to CompileEventHandler in general.
Bug 127567, r=bryner, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@144752 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 22:54:36 +00:00
bzbarsky%mit.edu
63ed4e4cd2 Make XBL methods and properties report useful line numbers and urls so that the
JS errors/warnings in the JS console point to the right place.  Bug 127567,
r=bryner, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@144079 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-24 01:20:40 +00:00
peterv%netscape.com
3a3c75b9f7 Fix for bug 183999 (Modernize content). r=caillon, sr=bz.
git-svn-id: svn://10.0.0.236/trunk@135128 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 14:24:49 +00:00
dbaron%fas.harvard.edu
8f2c550aff Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@117347 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 22:46:13 +00:00
harishd%netscape.com
09bf9a2fcc Fixing ports bustage. b=105137. r=dbaron, sr=jag
git-svn-id: svn://10.0.0.236/trunk@111734 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 21:50:08 +00:00
dbaron%fas.harvard.edu
4af8dcbc41 Reduce bloat by eliminating nsString member variable (size of nsString and double-on-fault growth). r=jag sr=hyatt b=109963
git-svn-id: svn://10.0.0.236/trunk@108240 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 02:17:04 +00:00
hyatt%netscape.com
b4e87bafad Fix for 106153, don't build a content model for XBL's implementation. r=bryner, sr=ben
git-svn-id: svn://10.0.0.236/trunk@107944 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-13 04:09:56 +00:00