cvshook%sicking.cc
8d4b46ee48
Bug 324723: Make nsPropertyTable resistent against using the wrong base pointer by enforcing type safety. r/sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@188286 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 23:40:49 +00:00
cvshook%sicking.cc
9618fbb2fc
Bug 324572: Forgot to remove some property implementations that are now unneeded. r/sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@188192 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-25 23:29:56 +00:00
cvshook%sicking.cc
f6f272638d
Fix build bustage
...
git-svn-id: svn://10.0.0.236/trunk@188178 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-25 21:36:46 +00:00
cvshook%sicking.cc
5fe171311b
Bug 324572: Move property methods to nsINode and make nsIAttribute inherit nsINode.
...
r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@188174 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-25 20:49:56 +00:00
cvshook%sicking.cc
4d0919d856
Bug 296207: Optimize nsDOMAttributeMap::SetNamedItemInternal.
...
r=allan sr=peterv
git-svn-id: svn://10.0.0.236/trunk@186694 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-29 03:01:58 +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
Olli.Pettay%helsinki.fi
7f966db435
Bug 315762, nsDOMAttribute::LookupPrefix and ::LookupNamespaceURI should return null if there is no parent element, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@184774 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-16 19:04:54 +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
peterv%propagandism.org
5994d37e85
Fix for bug 314075 (Crash [@ nsPropertyTable::DeleteAllPropertiesFor]). Patch by Mark Mentovai, r/sr=me.
...
git-svn-id: svn://10.0.0.236/trunk@183177 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-28 08:48:11 +00:00
peterv%propagandism.org
7645808305
Fix for bug 264308 (Implement DOM Level 3 UserData API). r/sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@183126 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-27 14:09:23 +00:00
peterv%propagandism.org
86ac4d2e8f
Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). Patch by sicking, updated by peterv, r=bz, sr=peterv.
...
git-svn-id: svn://10.0.0.236/trunk@180911 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-24 18:43:15 +00:00
peterv%propagandism.org
c1c35accda
Fix for bug 251025 (document.importNode does not set the right owner document.). r=jst, sr=bz.
...
git-svn-id: svn://10.0.0.236/trunk@179989 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 17:15:08 +00:00
peterv%propagandism.org
5a1d292898
Back out fix for bug 251025 to fix bustage.
...
git-svn-id: svn://10.0.0.236/trunk@179988 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 15:42:31 +00:00
peterv%propagandism.org
03ea6f5dac
Fix for bug 251025 (document.importNode does not set the right owner document.). r=jst, sr=bz.
...
git-svn-id: svn://10.0.0.236/trunk@179987 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 15:05:31 +00:00
timeless%mozdev.org
bd4d34031a
Bug 305041 shutdown crash [@ nsAttrValue::ToString] nsAttrValue::sEnumTableArray is null
...
r=bz sr=bz
git-svn-id: svn://10.0.0.236/trunk@178318 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-19 23:40:42 +00:00
allan%beaufour.dk
7153ad6147
Implement Get/SetProperty for nsIAttribute. Bug 285597, r+sr=peterv,a=mkaply
...
git-svn-id: svn://10.0.0.236/trunk@174164 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-06 08:51:40 +00:00
allan%beaufour.dk
25cea2ad26
Fix up nsDOMAttributeMap so it caches the nsDOMAttributes that it creates. Bug 235512, r=sicking, sr=peterv, a=shaver
...
git-svn-id: svn://10.0.0.236/trunk@173894 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 13:46:20 +00:00
doronr%us.ibm.com
86f11fca63
Bug 279057 - Implement hasFeature for XForms. Patch by smaug, r=bryner/sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@169429 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 21:32:46 +00:00
mvl%exedo.nl
6685ddd25e
Implement DOM 3 isDefaultNamespace()
...
bug 270640, patch by smaug@welho.com , r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@165847 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-28 10:57:22 +00:00
peterv%propagandism.org
50c76ce2ea
Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). r+sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@160621 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 20:37:26 +00:00
peterv%propagandism.org
ca3bbc8275
Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). r/sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@160598 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 10:22:36 +00:00
peterv%propagandism.org
0a98e68e54
Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@158468 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-25 12:26:02 +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
b9dcb1f1b3
landing marco's patch for bug 238928 "domstubs.idl should not include nsAString.h" r=bsmedberg sr=jst a=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@154430 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-01 19:44:17 +00:00
sicking%bigfoot.com
3ca6a33f19
Bug 232989: Fix crash due to bad refcounting in nsDOMAttribute
...
r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@152631 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 02:02:39 +00:00
jst%mozilla.jstenback.com
12ed685455
Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. r=jonas@sicking.cc, sr=bryner@brianryner.com
...
git-svn-id: svn://10.0.0.236/trunk@151784 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-24 00:46:17 +00:00
sicking%bigfoot.com
737987f531
Bug 195350: First stage of attributes overhaul. New class for storing attributes and children for an element. Use this class for xml elements. Also remove a couple of unneccesary functions from nsIContent.
...
r=caillon sr=jst
git-svn-id: svn://10.0.0.236/trunk@151370 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-15 17:07:27 +00:00
bryner%brianryner.com
98fb7d2529
deCOMtaminate nsINodeInfo and nsINodeInfoManager. See bug 225060 for details. r=sicking, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@149340 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-15 05:27:37 +00:00
jst%mozilla.jstenback.com
ef67a47aab
Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
...
git-svn-id: svn://10.0.0.236/trunk@147354 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-27 04:18:26 +00:00
caillon%returnzero.com
056169e55b
210451 - Implement getting Node.textContent (see the DOM3 WD)
...
r+sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@144107 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-24 21:39:39 +00:00
caillon%returnzero.com
0a6d1ae509
Bug 209087
...
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@143683 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 20:10:01 +00:00
caillon%returnzero.com
fb75cd3bbb
Bug 209133
...
Make |Node| from script recognize constants defined in nsIDOM3Node.
Move DOM3 constants over to nsIDOM3Node.
Update the names and values to reflect the latest draft of the DOM 3 Core (Last Call)
r=timeless sr=jst
git-svn-id: svn://10.0.0.236/trunk@143619 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-12 02:54:16 +00:00
peterv%netscape.com
b92e5ede69
Fix for bug 186538 (Touching the ownerElement of an attribute through XPath generates a security error.). r=sicking, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@136784 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-22 03:25:51 +00:00
dbaron%dbaron.org
30879d2c9e
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it's no longer needed. r=timeless sr=jag
...
git-svn-id: svn://10.0.0.236/trunk@135991 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 19:24:38 +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
caillon%returnzero.com
3519a9924e
Bug 177328: Update compareTreePosition to compareDocumentPosition as per the latest DOM3 Core WD: http://www.w3.org/TR/2002/WD-DOM-Level-3-Core-20021022/core.html#Node3-compareDocumentPosition
...
r=bzbarsky sr=jst
git-svn-id: svn://10.0.0.236/trunk@134777 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-04 05:18:39 +00:00
jst%netscape.com
0e103fad90
Fixing bug 181351. Making NS_NewTextNode() return an nsITextContent pointer in stead of reaturning an nsIContent pointer to avoid having to QI the new text node to set it's value. r=caillon@returnzero.com, sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@134298 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-22 01:11:33 +00:00
dougt%netscape.com
e289284076
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
...
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
caillon%returnzero.com
00ebc565e0
Initial implementation of DOM Level 3 Core methods Node.compareTreePosition() and Node.isSameNode(), Bug 139344, r=jkeiser, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@121437 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 01:28:17 +00:00
dbaron%fas.harvard.edu
c43a97f1d5
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@117353 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 23:54:46 +00:00
bzbarsky%mit.edu
ad1fb22926
Change users of Length() to IsEmpty() where the code really cares about
...
the latter in content/. Bug 100649, r=jag, sr=jst
git-svn-id: svn://10.0.0.236/trunk@112623 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 02:03:19 +00:00
dbaron%fas.harvard.edu
9ef49bf676
Fix member initializer re-ordered warnings by re-ordering member initializers. r=jag rs=waterson b=105974
...
git-svn-id: svn://10.0.0.236/trunk@106235 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 03:21:53 +00:00
gerv%gerv.net
ed9b258739
License changes, take 2. Bug 98089. mozilla/content/.
...
git-svn-id: svn://10.0.0.236/trunk@103682 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 01:32:19 +00:00
vidur%netscape.com
10d80cd1e9
Fix for bug 98815. Implement DOM Level 3 namespace methods for prefix and URI lookup. The implementation of these may be changed later if we get rid of the nsINameSpace interface. r=heikki, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@102732 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 03:04:49 +00:00
bryner%netscape.com
7da361b479
Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@101283 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 08:14:14 +00:00
jst%netscape.com
21ce7f8ced
Removing use of obsolete macros for defining lists of interfaces used by the DOM classinfo code. r=pollmann@netscape.com, rs=vidur@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@99476 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-18 07:48:12 +00:00
jst%netscape.com
4f022036c9
Use XPConnect to get the private nsISupports pointer from a JSObject, and fix nsIDOM3Node fu introduced by the XPCDOM landing, r=glazman@netscape.com, rs=vidur@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@94870 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-14 09:16:27 +00:00
jst%netscape.com
9d299d36ce
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
...
git-svn-id: svn://10.0.0.236/trunk@94238 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 16:46:42 +00:00
heikki%netscape.com
75dc2e58dc
Bug 76641, back out baseURI property in the Node interface to fix binary compatibility. baseURI property is implemented in a different way on the DOM conversion branch, so baseURI will get back when the branch lands. This fix by jst, r=heikki, sr=brendan, a=chofmann.
...
git-svn-id: svn://10.0.0.236/trunk@92962 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-24 00:04:11 +00:00
heikki%netscape.com
6c69c694fd
Bug 72522, implemented DOM Level 3 baseURI property (node interface). r=harishd, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@90803 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 02:15:21 +00:00