Commit Graph

677 Commits

Author SHA1 Message Date
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
alecf%flett.org
1c89787dc0 fix for bug 206379:
- combine nsICharsetConverterManager2 and nsICharsetConverterManager
- get rid of nsIAtom in most of the methods
- provide versions of getUnicodeDecoder/Encoder which don't do alias resolution
- change all charset types to ASCII strings
- clean up some other i18n APIs which could be simplified
- fix all consumers of all changed i18n interfaces
r=jshin, smontagu
rs=sfraser


git-svn-id: svn://10.0.0.236/trunk@143589 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-11 18:16:03 +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
darin%netscape.com
1d9c4bbeb7 fixes bug 22994 "Mail reader allows spammers to set/get cookies to track web usage"
r=dwitte sr=dveditz a=sspitzer


git-svn-id: svn://10.0.0.236/trunk@142134 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-05 21:27:02 +00:00
bzbarsky%mit.edu
08127292d1 Make nsHTMLContentSink respond to BeginUpdate and EndUpdate even when not in
script, since the script could be running in some other frame/window.

Removes mInScript, since it's no longer used.  Bug 155504, r=heikki, sr=jst


git-svn-id: svn://10.0.0.236/trunk@141548 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-21 23:51:17 +00:00
bzbarsky%mit.edu
2869a0b14d Make sure to always add base tag info before setting any other attributes. Bug
201998, r=jkeiser, sr=jst


git-svn-id: svn://10.0.0.236/trunk@141344 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-17 23:15:21 +00:00
hpradhan%hotpop.com
12f1dc7f84 bug 196829 : Removed unused DoFragment() methods from parser and contentsinks r=harishd sr=jst
git-svn-id: svn://10.0.0.236/trunk@140742 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-05 07:19:09 +00:00
harishd%netscape.com
8685d66b92 Hack fix: Close the head context before loading a linked style sheet because the CSSLoader can sometimes call ContinueParsing on the parser even if the parser is not blocked and that causes the sink to go crazy. b=197015, r=heikki@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@140644 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-03 18:32:58 +00:00
locka%iol.ie
32a3b4490f Attempt to fix pedantic bustage caused by checkin for b=191023
git-svn-id: svn://10.0.0.236/trunk@140590 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 14:31:43 +00:00
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