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
dbaron%dbaron.org
a6785f4e73
Fix rooting in nsXBLProtoImplProperty::InstallMember and remove some no-longer-needed null checks of cx. b=327712 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@190647 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-21 06:37:16 +00:00
bzbarsky%mit.edu
7507363770
Fix crash on empty getters or setters. Bug 326910, r=sicking, sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@189845 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-13 19:36:01 +00:00
cbiesinger%web.de
6322c04952
bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
...
r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +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
jst%mozilla.jstenback.com
792744ce69
Landing the split window work, bug 296639. This change doesn't have full reviews yet, bzbarsky@mit.edu and shaver@mozilla.org have done partial reviews, but there's still more to look at. Given the current time constraint this is landed with reviews and followup changes that result to come after the initial checkin. a=drivers
...
git-svn-id: svn://10.0.0.236/trunk@176884 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-30 20:57:07 +00:00
mrbkap%gmail.com
fd2fe9656b
bug 281336: Don't rely on the aIsCompiled flag to tell us if we've compiled our getter and setter, since if one of them was successfully compiled and the other wasn't, then the parameter is incorrect. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@168929 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-07 19:38:10 +00:00
bzbarsky%mit.edu
efc0b7b7b4
Add some debug members to XBL to catch cases where things are treated as
...
compiled when they're not and vice versa. Bug 280089, r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@168881 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-06 20:34:15 +00:00
bzbarsky%mit.edu
649ff418b5
Pass aShared=PR_TRUE when compiling brutally shared methods and properties.
...
Bug 258832, r+sr=brendan
git-svn-id: svn://10.0.0.236/trunk@162467 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-16 18:30:04 +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
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
bzbarsky%mit.edu
aaf4afad44
Make property compilation use dependent strings instead of copying the method
...
bodies and move some duplicated code into a superclass. Bug 232132,
r=timeless, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@152980 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 22:24:41 +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
bryner%brianryner.com
978d05c917
Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
...
git-svn-id: svn://10.0.0.236/trunk@146614 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-07 21:50:21 +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
jst%netscape.com
e6a333ff34
Fixing typo in comment.
...
git-svn-id: svn://10.0.0.236/trunk@144028 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-21 18:03:15 +00:00
jst%netscape.com
544a6a4df4
Fixing orangeness.
...
git-svn-id: svn://10.0.0.236/trunk@144016 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-21 03:08:56 +00:00
jst%netscape.com
45f72e0474
Fixing one more part of bug 209699. Replace NS_Convert* with Copy/Append*. r=dwitte@stanford.edu, sr=alecf@flett.org.
...
git-svn-id: svn://10.0.0.236/trunk@144012 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-21 00:26:28 +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
timeless%mac.com
02076e4267
Add JS Error reporter to XBL Prototype compilation, and prevent crashes when the compilation fails r=hyatt sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@112176 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 15:40:57 +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
d1c83fa406
Reduce string copying by using |operator+| to form dependent concatenations. b=106153 r=jag sr=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@107992 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 01:38:55 +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