618 Commits

Author SHA1 Message Date
locka%iol.ie
25a3fd42bf Attempt to fix pedantic bustage caused by checkin for b=191023
git-svn-id: svn://10.0.0.236/trunk@140587 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 13:59:09 +00:00
locka%iol.ie
945fbd5fb9 Remove references to webshell and make HTML document more tolerant when supplied with a null docshell. b=191023 r=heikki@netscape.com sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@140583 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 11:18:00 +00:00
alecf%netscape.com
f24ccb3da0 landing attempt #2 for 195262 - support for static atoms, and converting atoms over to UTF8 to reduce bloat - now without performance regressions!
sr=darin, r=dbaron


git-svn-id: svn://10.0.0.236/trunk@140260 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 18:55:59 +00:00
alecf%netscape.com
2a83f1b2d9 backout my static atom patch for now until I figure out the performance loss! :(
bug 195262


git-svn-id: svn://10.0.0.236/trunk@139962 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 20:13:08 +00:00
alecf%netscape.com
59c2bfe187 fix for bug 195262:
- convert atoms to UTF8 because 99% of the time, that is what they are used for
- add support for static atoms, where the strings are declared in a large const array and not copied into the heap
r=dbaron, sr=darin

this is an experimental landing - if there are performance issues, I will back it out.


git-svn-id: svn://10.0.0.236/trunk@139909 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 06:26:32 +00:00
bzbarsky%mit.edu
5861678ec0 Fix regression bug 197823 -- scrolling state restoration broken during history
navigation if URL includes anchor name.  Remove unnecessary and deleterious
flush. r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@139643 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-18 04:09:24 +00:00
bzbarsky%mit.edu
2a85f35d5f AddDoctypeDecl should not enforce "doctype" being uppercase. Bug 197331, patch
by bugzilla@jellycan.com (Brodie Thiesfield), r=harishd, sr=jst


git-svn-id: svn://10.0.0.236/trunk@139626 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-17 23:24:27 +00:00
dbaron%dbaron.org
c4b30dddae Fix operator precedence error in previous patch (which I reviewed, eek!). b=197277
git-svn-id: svn://10.0.0.236/trunk@139545 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-16 01:03:20 +00:00
bzbarsky%mit.edu
16b3162eea Make :target work for history loads too. Bug 197277, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@139410 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-14 01:16:31 +00:00
suresh%netscape.com
388e154175 bug 185692 - enable prefetching of '?' URLs in the context of rel=prefetch. r-dougt, sr-darin
git-svn-id: svn://10.0.0.236/trunk@139044 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-06 21:37:09 +00:00
harishd%netscape.com
fa53826eab Ignore noxxx content when copy pasting into a plain text editor. b=97687, r=peterv, sr=heikki
git-svn-id: svn://10.0.0.236/trunk@136430 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-16 20:24:03 +00:00
dbaron%dbaron.org
19a9279a84 Implement CSS3 :target pseudo-class, which matches the target of the fragment identifier of the document's URL. Change the semantics of nsIPresShell::GoToAnchor by requiring that it be called whenever the current target changes, with an additional boolean parameter specifying whether to scroll. b=188734 r=glazman sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@136266 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-13 23:10:53 +00:00
bzbarsky%mit.edu
a34e471574 Comments in framesets should not be moved to <head>. Bug 75873, r=harishd, sr=heikki
git-svn-id: svn://10.0.0.236/trunk@136188 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-11 02:42:36 +00:00
hpradhan%hotpop.com
f3a5bc0fb5 bug 185073: mozilla crashes on http://www.kccommunications.com/
r=caillon sr=jst


git-svn-id: svn://10.0.0.236/trunk@136157 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-10 12:31:41 +00:00
harishd%netscape.com
e7a19238c2 Close Head context before dealing with tags that belong in body/frameset. b=187790, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@136073 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 18:29:23 +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
sicking%bigfoot.com
34e90f95bb Bug 186835: Hold off notifying that the transformation is finished until all stylesheets are loaded.
r=peterv sr=bz


git-svn-id: svn://10.0.0.236/trunk@135885 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-06 14:55:13 +00:00
harishd%netscape.com
ba933c6526 Avoid the call to OpenHead and CloseHead with incorrect parserNode. b=182021, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@135841 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-03 23:17:22 +00:00
caillon%returnzero.com
f26f161dcc 185493 - Try and clean up some leaks of text nodes by using nsCOMPtr.
r=jst sr=peterv


git-svn-id: svn://10.0.0.236/trunk@135500 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-19 20:23:57 +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
8eb8abf86c 182954 - Convert content to use nsIPrefService, nsIPrefBranch, and friends.
r=sicking sr=peterv


git-svn-id: svn://10.0.0.236/trunk@135071 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-10 23:44:03 +00:00
bzbarsky%mit.edu
c3731640d3 Make the CSSLoader correctly order stylesheets as they are dynamically added
and removed via the DOM.  Clean up the nsIDocument stylesheet accessors.  Clean
up nsIDocumentObserver stylesheet stuff a bit.  Make style sheets visible in
the CSSOM (though not completely accessible) from the moment the load is kicked
off.  Make us have sheet objects that can be manipulated via CSSOM even for
failed loads. Bug 107567, bug 47734, bug 57225, bug 178407.
r=sicking,  sr=peterv.


git-svn-id: svn://10.0.0.236/trunk@134667 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 05:48:14 +00:00
bzbarsky%mit.edu
a7df7dd1ed Remove fishy logic with the advisory type. Bug 155421, r=sicking, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@134526 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-27 03:42:37 +00:00
sicking%bigfoot.com
db4678c2f2 Bug 181808: Use macros to declare and implement nsIDocumentObserver
r=caillon sr=bz


git-svn-id: svn://10.0.0.236/trunk@134395 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-25 08:33:30 +00:00
darin%netscape.com
b59017f198 fixes bug 157133 "HTTP Interfaces need to be frozen" r=dougt sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@134319 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-22 07:40:16 +00:00
jst%netscape.com
0fcfc0bc39 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@134285 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-21 23:53:06 +00:00
jst%netscape.com
2911d76fc4 Fixing bug 180816. Avoid construction of an nsAutoString every time we open a container in the sink when the nsAutoString is only needed when dealing with textarea tags.
git-svn-id: svn://10.0.0.236/trunk@134206 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-20 22:30:53 +00:00
harishd%netscape.com
1eb8cce6ae Do not hold parser nodes, that do not contain residual style information, longer than necessary. By recycling the nodes earlier the number of malloc calls and the peak memory usage can be reduced. b=177994, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@134114 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 18:29:35 +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
rpotts%netscape.com
dad38a973d bug #174404 (r=adam, sr=jst) Support the optional FOR and EVENT attributes on the SCRIPT tag
git-svn-id: svn://10.0.0.236/trunk@133264 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 05:17:21 +00:00
darin%netscape.com
fd3783c18d fixes bug 174984 "Prefetch requests should send Referer" r=gagan,mstoltz
sr=bzbarsky a=dbaron


git-svn-id: svn://10.0.0.236/trunk@132436 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-24 03:17:44 +00:00
bzbarsky%mit.edu
ae2933d7e3 Missed some of that bustage...
git-svn-id: svn://10.0.0.236/trunk@132058 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-16 03:07:37 +00:00
bzbarsky%mit.edu
d2e663d620 fixing build bustage...
git-svn-id: svn://10.0.0.236/trunk@132056 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-16 02:50:06 +00:00
kmcclusk%netscape.com
852a2e2dfc Fix sluggish UI during long page loads from local file or cache on WIN32 by setting plevent performance hint when there is user interaction r=rods sr=kin a=asa @173956
git-svn-id: svn://10.0.0.236/trunk@132055 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-16 02:13:48 +00:00
heikki%netscape.com
5bee27e8e8 Bug 172372, when loading XML as data, we need to disable scripts and styles. r=sicking, sr=bzbarsky, a=asa.
git-svn-id: svn://10.0.0.236/trunk@131749 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-11 00:38:29 +00:00
darin%netscape.com
2fdd85166b fixes bug 173278 "Should not prefetch <link rel="alternate">" r=gordon sr=alecf
git-svn-id: svn://10.0.0.236/trunk@131458 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 21:04:25 +00:00
darin%netscape.com
88943e0691 fixes bug 171102 "prefetch <link rel=prefetch> and only prefetch the first
occurance of <link rel=next>" r=gagan sr=jst


git-svn-id: svn://10.0.0.236/trunk@131048 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-03 02:53:18 +00:00
kmcclusk%netscape.com
3db5f70791 improve user interactivity during long page loads by doing better detection of user-input and interrupting the parser more frequently. Also moved the WIN32 specific logic for determining when the user is moving a top-level window from plevent.c to the widget module. b=165039 r=rods@netscape.com sr=kin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@130871 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-01 03:04:22 +00:00
hyatt%netscape.com
231ada71e5 Fix for 169373, make HTML form controls fully support native look on Windows XP. r/sr=hewitt/blake
git-svn-id: svn://10.0.0.236/trunk@130192 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-21 01:03:38 +00:00
rpotts%netscape.com
699385330e fixing build bustage...
git-svn-id: svn://10.0.0.236/trunk@129981 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-19 00:13:40 +00:00
jst%netscape.com
9b143a5e27 Fixing bug 168371. Cleaning up nsHTMLContentSink.cpp, I'll now get to own this whole file! r=caillon@returnzero.com, rs=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@129979 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-18 23:31:08 +00:00
jkeiser%netscape.com
a43827cf5e Make multiple HEAD tags work, and fix form to work with it too (patch by harishd@netscape.com, bug 141537), r=jkeiser@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@129752 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-16 21:48:25 +00:00
darin%netscape.com
0440ed5ff8 enabling prefetching again for XP_MAC (had to back this out two days back
due to bustage)


git-svn-id: svn://10.0.0.236/trunk@129399 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 19:45:10 +00:00
darin%netscape.com
75837576ff temporary hack to fix mac bustage... will return with the real fix.
git-svn-id: svn://10.0.0.236/trunk@129231 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 04:32:38 +00:00
darin%netscape.com
d692f0f7a2 fixes bug 166647 "allow link prefetching from a META tag + other fixes"
r=dougt,hixie sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@129223 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 03:12:13 +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
dougt%netscape.com
db8cc9c7ec Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129037 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 05:38:16 +00:00
jkeiser%netscape.com
d73bc69f1a Fix race condition where iframe's frame is created after document is loaded and body is parsed (bug 153815), kin@netscape.com's patch, r=jkeiser@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@128944 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-06 05:44:31 +00:00
shanjian%netscape.com
5d1c227024 #162239 POST document could not inherit charset from previous page if the previous charset is from autodetection.
r=ftang, darin, sr=jst
added PrevDocCharset to markupViewer, and pass around previous document charset.
This charset is later used to load POST document.


git-svn-id: svn://10.0.0.236/trunk@128141 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 20:13:31 +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