252 Commits

Author SHA1 Message Date
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
sicking%bigfoot.com
6f8753e832 Bug 8929: Kill NS_COMFALSE
r=peterv sr=bz


git-svn-id: svn://10.0.0.236/trunk@134398 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-25 11:21:22 +00:00
bzbarsky%mit.edu
f6b3b3afb9 Make nsILinkHandler take uris instead of strings. Bug 176904, r=darin, sr=jst
git-svn-id: svn://10.0.0.236/trunk@134133 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-20 00:44:26 +00:00
bryner%netscape.com
b345c67a0c Add a second pass of event processing for system events, using DOM3 event group functionality. Bug 124990. Patch by joki, r=saari and bryner, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@133439 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-09 00:25:25 +00:00
bzbarsky%mit.edu
22537f1fd2 Notify properly when calling AppendChild on a documentfragment. Bug
175843, r=sicking, sr=peterv


git-svn-id: svn://10.0.0.236/trunk@133060 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 01:46:03 +00:00
dbaron%fas.harvard.edu
0aaa1704e7 Porting fixes for gcc trunk (to become 3.3): Eliminate C-only option from CXXFLAGS. Don't use pasting for things that are still separate tokens. Don't pass objects of non-POD type through |...|. Don't include strstream.h, which isn't used anymore anyway. b=170250 r=bbaetz sr=alecf
git-svn-id: svn://10.0.0.236/trunk@130797 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-30 14:18:27 +00:00
dbaron%fas.harvard.edu
f15f88b9e8 Fix matching of class selectors on XML elements (pending a better patch that cleans up the NS_COMFALSE-using API). b=168596 r=sicking sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@129701 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-16 14:17:18 +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
jkeiser%netscape.com
dbaed25a2e Make save/restore in textfields / textare work again (bug 163714), r=rjesup@wgat
e.com, sr=jst@netscape.com, a=asa


git-svn-id: svn://10.0.0.236/trunk@129017 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 00:58:08 +00:00
jst%netscape.com
7326b78c7d Whitespace cleanup, and a little bit of curly brace fun, no code changes. r/sr/a=me!
git-svn-id: svn://10.0.0.236/trunk@129015 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 00:43:49 +00:00
jkeiser%netscape.com
00f9a12d62 Make anonymous content inaccessible to web content (bug 164086), r=sicking@bigfoot.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@128436 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-29 04:05:39 +00:00
bbaetz%student.usyd.edu.au
4e8a1e0dc7 Backing out jkeiser's checkin for bug 164086 (not bug 96537) because he
left a file out, and the tree turned red....


git-svn-id: svn://10.0.0.236/trunk@128332 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-28 10:13:28 +00:00
jkeiser%netscape.com
958a25b600 Make anonymous content inaccessible to web content (bug 96537), r=sicking@bigfoot.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@128330 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-28 08:19:43 +00:00
roc+%cs.cmu.edu
c6bb83f66a Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin
git-svn-id: svn://10.0.0.236/trunk@128041 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-24 14:41:28 +00:00
jst%netscape.com
b336df4317 Fixing topcrash bug 162526. Change the shutdown code in nsGenericElement so that the order in which things are torn down, and also the things that are torn down match what we did before my fix for bug 156364. This causes us to leak what we leaked before my fix for bug 156364. r=jkeiser@netscape.com, sr=dbaron@fas.harvard.edu
git-svn-id: svn://10.0.0.236/trunk@127520 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-17 01:06:11 +00:00
dbaron%fas.harvard.edu
de6516960e Handle style attribute changes in XUL through the normal style change mechanism rather than forcing a reframe. Change nsIStyledContent::WalkInlineStyleRules to nsIStyledContent::GetInlineStyleRule to simplify nsCSSFrameConstructor::AttributeChanged. b=156971 sr=hyatt r=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@127460 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-16 11:29:20 +00:00
jst%netscape.com
ec845ed149 Fixing typo's in comments. Typo's found by dbaron (bug 162526).
git-svn-id: svn://10.0.0.236/trunk@127273 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-14 20:48:55 +00:00
jst%netscape.com
ed117f9119 Fixing bug 156364. Laying the groundwork for associating more info with elements in the DOM, and moving event listener managers and range lists out of nsGenericElement slots. This change cuts down on the size of nsGenericElement. r=sicking@bigfoot.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@127114 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-13 00:50:50 +00:00
dbaron%fas.harvard.edu
ac193497c0 Propagate |aNotify| parameter through XBL to attribute changes of XBL-inherited attributes. b=156547 sr=hyatt r=bryner
git-svn-id: svn://10.0.0.236/trunk@126511 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 13:39:22 +00:00
nhotta%netscape.com
c49fae7638 Adding null check for mDocument before getting a document charset,
bug 159434, r=caillon, sr=jst, a=asa.


git-svn-id: svn://10.0.0.236/trunk@125859 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 16:45:45 +00:00
nhotta%netscape.com
7da2a94cbd Change nsJSProtocolHandler to listen to originCharset to apply conversion if necessary,
also changed the callers to set originCharset,
bug 137182, r=caillon, sr=jst, a=asa.


git-svn-id: svn://10.0.0.236/trunk@125650 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 23:28:28 +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
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
radha%netscape.com
392fbcdca7 Fix for bug # 35011. r=jst sr=kin. window.onscroll and element.onscroll don't fire.
git-svn-id: svn://10.0.0.236/trunk@123722 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 21:47:59 +00:00
jaggernaut%netscape.com
b506de82e7 Back out changes for bug 35011 (context menu, ctrl+key, page-up/down all stopped working in browser).
git-svn-id: svn://10.0.0.236/trunk@123576 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 12:37:57 +00:00
radha%netscape.com
18e3f5da82 Fix for bug # 35011 r=joki sr=jst. window.onscroll and element.onscroll don't fire.
git-svn-id: svn://10.0.0.236/trunk@123534 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-18 23:00:50 +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
bzbarsky%mit.edu
5ad9be30cc Bug 140758 redux -- cache results of getElementsByTagName in case people call
it in a loop.  r=dbaron, sr=jst


git-svn-id: svn://10.0.0.236/trunk@121093 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 20:48:19 +00:00
bzbarsky%mit.edu
abc6497b45 Back last checkin out till I get the windows casting stuff settled out....
git-svn-id: svn://10.0.0.236/trunk@121038 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 04:13:16 +00:00
bzbarsky%mit.edu
c195950355 Bug 140758 -- cache results of getElementsByTagName in case people call
it in a loop.  r=dbaron, sr=jst


git-svn-id: svn://10.0.0.236/trunk@121033 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 03:15:45 +00:00
jaggernaut%netscape.com
fe68e4711d Backing out joki's checkin for bug 124990 (at his request) since this breaks some stuff on linux.
git-svn-id: svn://10.0.0.236/trunk@119450 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 01:48:32 +00:00
joki%netscape.com
568563a1cc Fix for bug 124990, Add additional processing loop for DOM event listeners to allow browser level handlers to be fired after content based listeners. r:saari, sr:jst
Browser based listeners can now registers themselves using the AddGroupedEventListener and passing the system event group (which can be gotten via the nsIDOMEventReceiver interface).  These listeners will now fire after all content based listeners have processed.
In this initial version of the checkin most browser listeners are still left in the original content group for stability purposes.


git-svn-id: svn://10.0.0.236/trunk@119346 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 02:52:01 +00:00
jst%netscape.com
67ee650f45 Checking in the fix for bug 52334 for the third time. This time it should stick! Making iframe's load their document even if they're not displayed. r=jkeiser@netscape.com, sr=rpotts@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@119206 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 04:17:16 +00:00
peterv%netscape.com
eb1e6e2ca8 Fix for bug 132300 (Need a better way to bootstrap an XPathEvaluator). r=pike, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@119096 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 11:57:17 +00:00
timeless%mac.com
bcb964d3df http://bonsai.mozilla.org/cvsquery.cgi?module=SeaMonkeyAll&branch=HEAD&cvsroot=/cvsroot&date=explicit&mindate=1017959940&maxdate=1017960540&who=jst%25netscape.com&generateBackoutCVSCommands=1
Backing out the fix for bug 52334

approved by sheriff (karnaze) and cathleen


git-svn-id: svn://10.0.0.236/trunk@118211 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-05 05:42:10 +00:00
jst%netscape.com
198bc42921 Checking in the fix for bug 52334 again now that the linux crash and the scrollwheel crash has been fixed. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@118156 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 22:42:19 +00:00
jst%netscape.com
68b586dd87 Backing out latest checkins due to them not working on linux and other unix systems with broken compilers.
git-svn-id: svn://10.0.0.236/trunk@118090 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 07:31:16 +00:00
jst%netscape.com
dc83a26530 Fixing bug 52334. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@118072 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 02:09:19 +00:00
jkeiser%netscape.com
f217d9c22f Move save/restore form control state to content (bug 108309). r=rods@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@117791 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-31 10:14:01 +00:00
jkeiser%netscape.com
317b99e5a5 Backing out 108308 due to pageload spike
git-svn-id: svn://10.0.0.236/trunk@117722 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-29 07:35:09 +00:00
jkeiser%netscape.com
55481f5be5 Move save/restore of form controls to content (bug 108309) (r=rods@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org)
git-svn-id: svn://10.0.0.236/trunk@117716 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-29 05:35:47 +00:00
rayw%netscape.com
bf26c33309 Fix for bug 30534 r=hixie, sr=jst, a=asa for checkin to trunk.
Cause hasFeature to return true on 2.0 core and CSS2.


git-svn-id: svn://10.0.0.236/trunk@117507 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 21:09:50 +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
darin%netscape.com
04849998e1 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
bzbarsky%mit.edu
f68919f405 Relanding the Compare --> Equals conversion. a=mcafee
git-svn-id: svn://10.0.0.236/trunk@114163 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu
2ab4074373 Testing performance impact of backout of part of patch from bug 115289.
See bug 123947 for details.


git-svn-id: svn://10.0.0.236/trunk@114146 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 16:10:51 +00:00
bzbarsky%mit.edu
2fd80b82c9 Convert Compare() to Equals() where possible now that we can do
case-insensitive Equals().  Bug 115289, r=alecf, sr=jag


git-svn-id: svn://10.0.0.236/trunk@113665 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 02:03:07 +00:00
jst%netscape.com
7af4c8d1f2 Fixing bug 120504. Make QI's on DOM elements only call into the binding manager only if the element itself doesn't implement the interface that the element is being QI'ed to. r=hyatt@netscape.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@112677 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 09:17:00 +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