bzbarsky%mit.edu
f4aa559241
Add XXX comment for the time being, since I can't tell what this code _should_ do.
...
git-svn-id: svn://10.0.0.236/trunk@198853 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-02 04:24:53 +00:00
dbaron%dbaron.org
1f3773999e
Report exceptions immediately since constructors and destructors are not called from JS and don't propagate the error status. b=339022 r=bzbarsky sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@198828 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-01 21:51:07 +00:00
bryner%brianryner.com
de28a00f8c
Make command= event retargeting dispatch a new event rather than reusing the old one. Add a new interface for command events that supports a sourceEvent property for accessing the original event. Bug 336696, r=neil sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@198196 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-22 20:37:32 +00:00
bryner%brianryner.com
fd3da04fca
backing out 336696, I checked in the wrong version of the patch
...
git-svn-id: svn://10.0.0.236/trunk@198173 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-22 18:03:16 +00:00
bryner%brianryner.com
61a8c65480
Make command= event retargeting dispatch a new event rather than reusing the old one. Add a new interface for command events that supports a sourceEvent property for accessing the original event. Bug 336696, r=neil sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@198161 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-22 16:18:45 +00:00
cvshook%sicking.cc
e96a4f70c3
Bug 337543: Use nsINode more. r/sr+peterv
...
git-svn-id: svn://10.0.0.236/trunk@197985 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-19 10:01:22 +00:00
bryner%brianryner.com
48dc95f33d
fixing indentation per bzbarsky's suggestion (bug 331290)
...
git-svn-id: svn://10.0.0.236/trunk@197830 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-17 02:42:18 +00:00
neil%parkwaycc.co.uk
8d4a14a8f1
Only create key handlers for <key> elements b=336740 r=bryner sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@196428 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-12 22:58:10 +00:00
bryner%brianryner.com
892476140e
Fix for broken keyboard shortcuts: skip over key elements where there's no oncmmand= on the key or on its command element (bug 336740). r=neil, sr=bzbarsky.
...
git-svn-id: svn://10.0.0.236/trunk@196136 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-07 03:07:02 +00:00
cvshook%sicking.cc
cec9ea1123
Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@196009 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-05 06:52:21 +00:00
bryner%brianryner.com
eb105ae6e2
Invoke <key> element commands using command events rather than compiling and executing the script directly, for consistency with click-invoked commands (bug 331290). r+sr=bzbarsky.
...
git-svn-id: svn://10.0.0.236/trunk@196008 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-05 05:25:19 +00:00
bzbarsky%mit.edu
bf19ef708d
Rename GetNodePrincipal to NodePrincipal. Bug 327246, r+sr=sicking
...
git-svn-id: svn://10.0.0.236/trunk@195579 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 18:21:11 +00:00
leon.sha%sun.com
ca47f5992a
Bug 333896
...
Convert GetAttr calls to AttrValueIs and FindAttrValueIn.
Patch by alfred.peng@sun.com .
roc: review+
roc: superreview+
git-svn-id: svn://10.0.0.236/trunk@195238 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-24 05:40:11 +00:00
bzbarsky%mit.edu
41ab0f8246
Don't reenter frame construction from anonymous content creation. Bug 334430,
...
r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@194674 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-19 15:07:19 +00:00
gavin%gavinsharp.com
c005e02e76
Bug 289536: Alt+Shift+Backspace in text boxes should be "Redo", patch by Mark Pilgrim <pilgrim@gmail.com>, r=mconnor, sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@194604 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-18 15:36:01 +00:00
gavin%gavinsharp.com
e8ea5fc134
Bug 334289, r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@194539 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-17 22:04:47 +00:00
bzbarsky%mit.edu
4f4502bfa0
Add assertion that documents a relationship between two of the args. Bug
...
333392, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@194444 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-15 01:52:32 +00:00
peterv%propagandism.org
a107b380e9
Fix for bug 332239 (Saved xml content gives xml parsing error in this case). r/zr=bz.
...
git-svn-id: svn://10.0.0.236/trunk@193740 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-06 20:55:25 +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
edb4391d9b
Remove unused variable. Bug 329410 followup.
...
git-svn-id: svn://10.0.0.236/trunk@193530 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-04 18:10:12 +00:00
bzbarsky%mit.edu
958a647163
Don't force sync load for non-chrome and non-resource XBL. Bug 329410,
...
r=sicking, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@193481 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-04 02:41:04 +00:00
bzbarsky%mit.edu
1d6502e7c4
More happy rooting. Bug 328007, r=sicking, sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@193480 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-04 02:39:12 +00:00
bzbarsky%mit.edu
e1ba63aa5f
Create a powerless non-principal and start using it. Bug 326506, r=mrbkap,
...
sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@193399 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-02 20:58:26 +00:00
bryner%brianryner.com
1de3fc0366
Clean up header includes (bug 331050). This round of changes deals with some of the public content headers, and factors nsDOMClassInfoID out of nsIDOMClassInfo.h so that nsContentUtils.h doesn't have to bring in XPConnect. r+sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@192794 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-22 18:36:36 +00:00
bzbarsky%mit.edu
f2b3bf3afc
Fix arrow keys in editors. Bug 330133, r=timeless, sr=neil
...
git-svn-id: svn://10.0.0.236/trunk@192314 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-14 16:58:22 +00:00
timeless%mozdev.org
25d5c019d7
Bug 309316 WARNING: GetCharCode used for wrong key event; should use onkeypress., file ../../../../../mozilla/content/events/src/nsDOMKeyboardEvent.cpp, line 108
...
r=bz sr=bz
git-svn-id: svn://10.0.0.236/trunk@192131 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-10 01:54:41 +00:00
Olli.Pettay%helsinki.fi
b6cdf7cb60
Bug 234455, Centralize event dispatch r=jst, sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@191900 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-07 17:08:51 +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
bzbarsky%mit.edu
2adbc49403
This never got CVS removed... Very late followup to bug 308577.
...
git-svn-id: svn://10.0.0.236/trunk@189800 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-12 20:38:56 +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
1510aacc39
Push up GetPrincipal to nsINode (as GetNodePrincipal). This way all nsINodes
...
(content, documents, attr nodes) can return their principal as needed.
Eliminate lazy allocation of principals in nsDocument. Bug 324600, r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@188770 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-02 20:02:34 +00:00
mrbkap%gmail.com
d3ecc5dd10
bug 323908: Pass line and column information to ReportError. Patch by Robert Sayre <sayrer@gmail.com>. r=mrbkap sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@187941 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-21 02:02:02 +00:00
cvshook%sicking.cc
ceaf7bdebc
Bug 323910: Merge atom lists in gklayout
...
r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@187798 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-19 00:58:12 +00:00
cvshook%sicking.cc
cf43ff4e7d
Bug 284950: DeCOMTaminate nsIContent::GetAttrNameAt
...
r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@186678 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-28 21:52:39 +00:00
dbaron%dbaron.org
6efef3c0ad
Make wrapper preservation (the mechanism that makes the GC use reachability information between certain C++ objects rather than rooting at language boundaries) use an interface (nsIDOMGCParticipant) to get reachability information. Preserve the wrappers for event handlers as long as what they are attached to is reachable (from C++ or JS) to avoid entraining event handler closures in cycles. b=241518 r=mrbkap sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@185636 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-03 07:42:40 +00:00
jst%mozilla.jstenback.com
b3caccffbd
Fixing bug 318461. Move SetNewDocument() and SetOpenerWindow() from nsIScriptGlobalObject to nsPIDOMWindow to clean out non-script related methods form the nsIScriptGlobalObject interface. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@185536 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-01 19:35:27 +00:00
mrbkap%gmail.com
1d00d9984d
bug 317370: Remove the vestigial aRemoveEventListeners parameter to SetNewDocument. r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@185476 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-30 23:41:49 +00:00
dougt%meer.net
45057cef96
Build change to make WinCE pick up when windows bindings file, not the linux one. r=dougt
...
git-svn-id: svn://10.0.0.236/trunk@185450 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-30 18:34:56 +00:00
jst%mozilla.jstenback.com
895df6e6ca
Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org
...
git-svn-id: svn://10.0.0.236/trunk@185351 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-28 23:56:44 +00:00
timeless%mozdev.org
94ccbc6bf0
Bug 317877 XBL: crash if <field> has no name attribute [@ nsCharTraits::length]
...
patch by ajschult@verizon.net r=bz sr=bz
git-svn-id: svn://10.0.0.236/trunk@185310 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-27 23:51:42 +00:00
bzbarsky%mit.edu
678223acb0
If a binding stops being the most-derived binding for a content node before
...
we've fired its constructor, remove it from the constructors-to-be-fired list.
Bug 317265, r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@185132 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-22 15:48:10 +00:00
joshmoz%gmail.com
a10295766d
Remove some nsSupportsArray usage from mozilla/content. b=317035 r=dbaron sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@185104 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-22 00:24:48 +00:00
bsmedberg%covad.net
0217e2f9a9
Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver
...
git-svn-id: svn://10.0.0.236/trunk@184456 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 14:36:26 +00:00
bsmedberg%covad.net
d2bfe31839
Bug 315401 - XPTI_GetInterfaceInfoManager is a bad signature and should be removed, r=darin sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@184401 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-10 16:19:44 +00:00
timeless%mozdev.org
ad839849f4
Bug 313035 'nsAutoGCRoot' : type name first seen using 'struct' now seen using 'class'
...
r=bz sr=bz
git-svn-id: svn://10.0.0.236/trunk@184168 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-05 00:46:18 +00:00
cvshook%sicking.cc
b26f9f52fb
Bug 311827: Make GetAttr return a bool rather then an nsresult.
...
r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@183185 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-28 11:25:24 +00:00
mrbkap%gmail.com
5b4082bd7f
bug 313236: Make sure to operate on the right object. r=brendan sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@182753 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-21 22:45:09 +00:00
mrbkap%gmail.com
cb6ba4d393
bug 312871: Make global objects behave more like each other. r=bzbarsky sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@182536 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-19 18:45:14 +00:00
peterv%propagandism.org
8c33ea74e1
Fix for bug 308328 (crash in [@ nsDocument::GetPrincipal] when closing browser). r/sr=bz.
...
git-svn-id: svn://10.0.0.236/trunk@182242 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-14 09:07:29 +00:00