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
jst%mozilla.jstenback.com
2affc5b4f0
Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com.
...
git-svn-id: svn://10.0.0.236/trunk@149527 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-19 01:20:56 +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
caillon%returnzero.com
34f81b2b3a
Ensure that content can always grab a security manager and namespace manager.
...
Bug 223373; r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@148521 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 02:53:08 +00:00
bryner%brianryner.com
eeddf02bde
deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@148257 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 06:09:48 +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
bzbarsky%mit.edu
2c863a555b
Fix selection regression. Bug 214343, r=caillon, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@145363 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-29 23:49:41 +00:00
bzbarsky%mit.edu
0147d8d4a6
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@145284 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:09:56 +00:00
bzbarsky%mit.edu
b878645544
Add an nsIDocument* GetOwnerDocument() to nsGenericElement, deCOMify
...
nsINodeInfo a tad. Bug 211634, r=jkeiser, sr=jst
git-svn-id: svn://10.0.0.236/trunk@145155 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-24 17:30:52 +00:00
bzbarsky%mit.edu
c6ed9701dd
Fix up name resolution under forms to not find elements that are just
...
randomly in the document. Bug 148782, r=caillon, sr=jst
git-svn-id: svn://10.0.0.236/trunk@144869 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-15 02:07:55 +00:00
bzbarsky%mit.edu
baa52a02e7
DOM properties that return URIs should return absolute URIs when they
...
are accessed (even if the corresponding attribute value is a relative URI).
Bug 47534, r=caillon, sr=jst
git-svn-id: svn://10.0.0.236/trunk@144551 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-08 05:35:04 +00:00
jst%netscape.com
ecae24eff4
Fixing bug 209884. Writing an inline helper to safely get an nsIScriptContext from a JSContext and making direct callers of JS_GetContextPrivate() use the helper. r=caillon@aillon.org, sr=peterv@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@144108 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-24 21:43:01 +00:00
caillon%returnzero.com
f54af50cad
When comparing principals, callers should explicitly check if the subject principal is the system principal, if it cares that it is.
...
This fixes bug 209946, Copy doesn't work anymore.
r=bzbarsky, sr=jst
git-svn-id: svn://10.0.0.236/trunk@143962 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 23:59:24 +00:00
aaronl%netscape.com
290c0f8aa6
Bug 208460. Remove nsIDOM3Node.idl dependency from nsIDOMNode.idl
...
git-svn-id: svn://10.0.0.236/trunk@143756 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-16 11:17:18 +00:00
caillon%returnzero.com
3d76baaf52
209494 - use nsCOMPtr::swap() in a few loops
...
r+sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@143745 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-16 00:14:23 +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
jst%netscape.com
8a34ba3e82
Fixing bug 207563. Make reparenting of wrapper for content nodes that are not part of a document work correctly. r=caillon@aillon.org, sr=peterv@netscape.com, a=brendan@mozilla.org, adt@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@143353 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-05 20:33:38 +00:00
jaggernaut%netscape.com
fd04e5bb85
Bug 203960: Make bookmark groups replace existing tabs instead of appending. r=jkeiser, varga, adamlock, sr=jst, hewitt
...
git-svn-id: svn://10.0.0.236/trunk@143070 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-30 00:21:01 +00:00
bzbarsky%mit.edu
636fa48493
Make some static data const in content. Bug 204532, patch by ataylor@its.to
...
(Andrew Taylor), r=bzbarsky, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@142936 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-27 03:49:22 +00:00
jst%netscape.com
08e9d026e0
Fixing bug 124412. Making nsXULDocument inherit nsXMLDocument to avoid the need to duplicate a large amount of code in nsXULDocument. Also removing nsMarkupDocument and nsIDOMEventCapturer that are no longer needed. Changing the inheritance of nsIDOMXULDocument to avoid ~60 or so forwarding methods, and doing a *lot* of code cleanup. r=bugmail@sicking.cc, sr=peterv@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@140344 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-26 07:41:30 +00:00
jst%netscape.com
ff2baf6763
Fixing bug 191579. Make <script for='window' event='onload'> execute as inline script like it used to. r=bzbarsky@mit.edu, sr=peterv@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@138570 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 00:49:36 +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
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
bzbarsky%mit.edu
f40558f6ae
Um.. spell PRUint16 right
...
git-svn-id: svn://10.0.0.236/trunk@134782 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-04 06:15:43 +00:00
bzbarsky%mit.edu
5c33473c49
Fix mac bustage
...
git-svn-id: svn://10.0.0.236/trunk@134781 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-04 06:13:56 +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
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
bratell%lysator.liu.se
d252fe621f
Bug 165893 - avoid refetching the parser service all the time. r=jst@netscape.com, sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@134097 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 13:39:20 +00:00
caillon%returnzero.com
8e43539a5c
IsCallerChrome() should return a PRBool like the signature says and not an nsresult.
...
r=cls sr=jst via IRC. No bug.
git-svn-id: svn://10.0.0.236/trunk@130988 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-02 08:45:54 +00:00
peterv%netscape.com
3f57e344ed
Fix for bug 163810 (Option Object created, own properties added, but Mozilla "forgets" them after some time.). r=sicking, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@130147 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-20 13:40:53 +00:00
sicking%bigfoot.com
3ffbd92c7f
Bug 64945: XML Prettyprinting stage 1
...
r=peterv sr=jst
git-svn-id: svn://10.0.0.236/trunk@128818 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-04 06:57:25 +00:00
peterv%netscape.com
31de3f5600
Fix for bug 138295 (XML Loading on Mac fails on .childNodes of non-root nodes). r=mstoltz, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@126889 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-09 08:45:30 +00:00
sicking%bigfoot.com
9f524ba3a3
Use principals instead of URIs for same-origin checks.
...
b=159348, r=bz, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@126081 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 21:26:32 +00:00
sicking%bigfoot.com
fdf8ae5b5f
Make sure it is possible to get URI of xul elements even if they share nodeinfo with their prototype and are removed from the document tree.
...
b=156452 r=bz sr=jst a=asa
git-svn-id: svn://10.0.0.236/trunk@125642 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 22:16:45 +00:00
sicking%bigfoot.com
96ef7647c7
Allow "chromenodes" to access all domains.
...
b=158167 r=bzbarsky sr=jst a=asa
git-svn-id: svn://10.0.0.236/trunk@125528 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-20 01:40:02 +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
peterv%netscape.com
76b49d7465
Temporarily disable the code that caused the slowdown in Txul, Tp and Ts. Bug 156452.
...
git-svn-id: svn://10.0.0.236/trunk@125297 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 15:46:39 +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
sicking%bigfoot.com
f0e2529596
Add sameorigin checks to treewalker
...
b=156452, r=mstoltz, sr=jst, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@125233 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 19:25:27 +00:00
bzbarsky%mit.edu
7c94c072e9
Make content lists lazy. Bug 104603, r=jkeiser, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@124253 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-28 01:30:09 +00:00
caillon%returnzero.com
a57921536a
Bug 154401. Cannot paste HTML on clipboard into composition or editor windows.
...
r=bzbarsky, sr=kin
git-svn-id: svn://10.0.0.236/trunk@124121 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 21:05:00 +00:00
caillon%returnzero.com
fd710e312e
Speed up and move the helper functions in nsRange to nsContentUtils and make compareTreePosition() faster.
...
Bug 144014 r=bzbarsky sr=jst
git-svn-id: svn://10.0.0.236/trunk@124012 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 20:03:06 +00:00
harishd%netscape.com
2f67ab9c46
Strip leading/trailing spaces from img src attribute value that was preventing image rendering. b=87894, r=jkaiser, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@123108 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 23:23:12 +00:00
caillon%returnzero.com
d283e6e7a2
Bug 117707. Disabling most of the prefs in Edit>Prefs>Advanced>Scripts/Windows was causing real JS scripts to break because it used CAPS. Move the checks for these features into C++, with new prefs. Patch by doronr@naboonline.com (initial work) and caillon@returnzero.com. r=fabian sr=jst a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@118839 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 10:11:39 +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
timeless%mac.com
69ae314807
Bug 106386 rid source of misspellings
...
r=db48x sr=blake a=asa
git-svn-id: svn://10.0.0.236/trunk@116832 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 04:30:17 +00:00
jst%netscape.com
2e5e8c3344
Fixing bug 86191. Don't return nsnull as a nsresult, return NS_OK in stead. r=sicking@bigfoot.com, sr=nobody, trivial change.
...
git-svn-id: svn://10.0.0.236/trunk@111439 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-06 02:39:13 +00:00
jst%netscape.com
7bc2777d1a
Fixing bug 83433, exposing DOM constructors and prototypes to JS. r/sr=rpotts@netcape.com, vidur@netscape.com, dbradley@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@99063 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-11 09:09:30 +00:00