54 Commits

Author SHA1 Message Date
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
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
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
ded3051b1e Fix for bug 106796 (Improve GetNameSpaceID() performance). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@179983 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 11:24:16 +00:00
peterv%propagandism.org
b64b04886f Fix for bug 306363 (Clean up nsContentUtils service getters). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@179982 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 10:08:43 +00:00
cvshook%sicking.cc
67eb4b9d17 Bug 296450: Make the hashtable holding attribute nodes work properly on all platforms.
r=beaufour sr=peterv a=caillon


git-svn-id: svn://10.0.0.236/trunk@174372 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-09 20:17:40 +00:00
allan%beaufour.dk
2599b5e59f Fix crash in nsDOMAttributeMap, regression from bug 235512. Bug 296490, r=Pike,sr=peterv,a=roc
git-svn-id: svn://10.0.0.236/trunk@174116 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-03 11:41:46 +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
bzbarsky%mit.edu
ca3d2ed9ce Make setting attributes via attribute nodes in HTML correctly lowercase the
attr name.  Bug 264644, r=sicking, sr=peterv


git-svn-id: svn://10.0.0.236/trunk@164275 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-24 17:18:27 +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
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
peterv%propagandism.org
94b69cb574 Miscellaneous cleanup. r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@151493 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-18 10:45:26 +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
c6fc0e8155 No need to keep an owning reference to an element's NodeInfo if we already have an owning reference to the element. Bug 225825, r=bz, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@149369 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-15 21:29:07 +00:00
bryner%brianryner.com
f56464de41 Fixing orange (hopefully). Don't dereference a pointer in the same call where it's passed as getter_AddRefs, because that will null it out first. For now, I'm keeping a strong reference to the node info manager at these call sites since it's not clear to me that it's guaranteed to stay around after the NodeInfo is released.
git-svn-id: svn://10.0.0.236/trunk@149345 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-15 08:16:23 +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
peter%propagandism.org
3ba29338bc Fix for bug 126765 (Change NormalizeAttrString to GetAttrWithName). Original fix by Daniel Bratell and sicking, r=sicking, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@148564 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 13:47:29 +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
peter%propagandism.org
ea481fdedc Fix for bug 85798 (INUSE_ATTRIBUTE_ERR expected when using setNamedItem()). r=sicking, sr=jst.
Fix for bug 127205 (setNamedItemNS() in NamedNodeMap  doesn't set the item properly). r=sicking, sr=jst.


git-svn-id: svn://10.0.0.236/trunk@147164 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-23 13:46:20 +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
dbaron%dbaron.org
e6a2b29ebf Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst
git-svn-id: svn://10.0.0.236/trunk@138193 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 15:34:38 +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
peterv%netscape.com
d103a96ada Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@134587 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-29 23:44:07 +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
sicking%bigfoot.com
c52d22c28d Reenable same-origin checks. Patch by me and jst.
b=156452 r=peterv/sicking/jst sr=bz/jst a=chofmann


git-svn-id: svn://10.0.0.236/trunk@125447 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 05:53:28 +00:00
sicking%bigfoot.com
7ef44d6e76 Add same-origin checks in a few DOM methods. Patch by me and jst.
b=156452, r=jst/me, sr=bz, a=pending


git-svn-id: svn://10.0.0.236/trunk@125294 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 13:09:15 +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
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
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
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
timeless%mac.com
534247895d fix Bug 70989 Clean up lots of "shadows" and other common warnings
r=peterv, jst, ducarroz, edburns. sr=jst, shaver


git-svn-id: svn://10.0.0.236/trunk@89986 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 05:32:22 +00:00
jst%netscape.com
0b04376254 Fixing nsbeta3+ bug 48213 and most of bug 48161. Finally removing the temporary DOM Level 2 debugging code, cleaning out some unused code and making getAttribute and setAttribute on HTML elemensts case insensitive. r=vidur@netscape.com, waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77692 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 00:36:31 +00:00
jst%netscape.com
7e0575bfee DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc
git-svn-id: svn://10.0.0.236/trunk@76967 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 17:27:06 +00:00
jst%netscape.com
e1196e179e Fixing nsbeta3+ bug 47420. Don't throw a DOM exception when accessing a nodemap by index even if the index is out of range, simply return null in stead. r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76629 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 07:04:30 +00:00
jst%netscape.com
52bb73928e Fixing nsbeta2+ bug 33477, completing (more or less) the DOM Level 2 NamedNodeMap implementation, this includes modifying the XML content sink to properly pass attribute prefixes to the content objects. r=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@73000 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 00:21:32 +00:00
jst%netscape.com
e4d9d527e8 Updating nsIContent to allow accessin the attribute prefix and not only the attribute name and value.
git-svn-id: svn://10.0.0.236/trunk@70202 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 00:21:53 +00:00
mjudge%netscape.com
3cd9a051da making string conversions explicit. scc
git-svn-id: svn://10.0.0.236/trunk@67161 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 01:13:55 +00:00
jst%netscape.com
c1252cc4a3 Making nsDOMAttributeMap a 'live' NamedNodeMap, removed the hashtable for the attributes since a) it caused the none-liveness and b) it was overkill, the number of attributes is usually so low so having a hashtable for them doesn't help much.
git-svn-id: svn://10.0.0.236/trunk@65902 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 23:42:52 +00:00
jst%netscape.com
c64f805590 Update the DOM interface to DOM Level 2, only stubs so far.
git-svn-id: svn://10.0.0.236/trunk@65872 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 21:21:02 +00:00
scc%netscape.com
e16ab47ebe making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@65029 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 11:20:35 +00:00
jst%netscape.com
6965052726 Don't leak the hash table used for the attribute map (#32196). Patch from shaver, r=beard
git-svn-id: svn://10.0.0.236/trunk@64078 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 00:54:30 +00:00
vidur%netscape.com
b0d8cb960b Fixed bug 16609. RemoveNamedItem now returns the correct error code if the attribute doesn't exist. r=pollmann
git-svn-id: svn://10.0.0.236/trunk@58887 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 05:17:11 +00:00
vidur%netscape.com
61f580e993 Fix for bug 22344. Removing FMMs in nsDOMAttribute.cpp. a=don r=kin
git-svn-id: svn://10.0.0.236/trunk@56443 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 22:44:30 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
kin%netscape.com
d9ba7b42e8 Fix for bug #16701: Editor API Log playback of Insert HRule crashes in DOM code
and     bug #16848: DOM Crash
  - Removed extra NS_RELEASE(attrPrivate) call that was releasing
    attrPrivate one too many times, and causing nsDOMAttributeMap::SetNamedItem() to crash.
r=vidur@netscape.com


git-svn-id: svn://10.0.0.236/trunk@51716 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-25 14:15:34 +00:00
kipp%netscape.com
99aaa55232 Updated SizeOf methods for html content objects to be more accurate; implemented MOZ_DECL_CTOR_COUNTER for all html content objects
git-svn-id: svn://10.0.0.236/trunk@50066 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 00:35:04 +00:00
vidur%netscape.com
bb6ee90548 Reporting better nsresults to DOM methods.
git-svn-id: svn://10.0.0.236/trunk@46440 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 23:18:27 +00:00