hpradhan%hotpop.com
1c581a3fca
still bug 218837 : backing out all the backouts. they did not work.
...
git-svn-id: svn://10.0.0.236/trunk@147582 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-05 11:28:06 +00:00
hpradhan%hotpop.com
155cccf24e
One final attempt to fix Tp regression from bug 218837
...
git-svn-id: svn://10.0.0.236/trunk@147581 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-05 10:20:56 +00:00
hpradhan%hotpop.com
b17a745241
backing out part of bug 218837. hoping to fix Tp regression
...
git-svn-id: svn://10.0.0.236/trunk@147580 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-05 09:21:41 +00:00
hpradhan%hotpop.com
3197ccf7ad
bug 218837 : Refactor some code duplicated in the xml and html
...
content sinks into a base class r=sicking sr=peterv
git-svn-id: svn://10.0.0.236/trunk@147577 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-05 07:29:50 +00:00
bzbarsky%mit.edu
62c2420626
Make presshell batch processing of style changes (using BeginUpdate/EndUpdate
...
notifications). Bug 200931, r=peterv, sr=jst
git-svn-id: svn://10.0.0.236/trunk@147516 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-02 21:29:40 +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
hpradhan%hotpop.com
3dd9b150e5
Bug 170985 : fix for gcc3.4 bustage
...
git-svn-id: svn://10.0.0.236/trunk@147226 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-24 07:30:16 +00:00
hpradhan%hotpop.com
2386bca751
Bug 170985 : table-based content object creation r=peterv sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@147220 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-24 06:16:52 +00:00
timeless%mozdev.org
da927140fb
Bug 217089 Compiler warnings
...
patch by mbockelkamp@web.de r=jst sr=jst
git-svn-id: svn://10.0.0.236/trunk@146729 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-11 03:18:49 +00:00
bryner%brianryner.com
978d05c917
Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
...
git-svn-id: svn://10.0.0.236/trunk@146614 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-07 21:50:21 +00:00
caillon%returnzero.com
d55b44719f
Backing out the patch to bug 83536.
...
I will reland this when 1.6a re-opens.
r+sr=jst@netscape.com
a=chofmann
git-svn-id: svn://10.0.0.236/trunk@146256 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-22 03:06:53 +00:00
roc+%cs.cmu.edu
c0bc42c584
Bug 190735. nsIFrame deCOMtamination, r+rs=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@145645 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-06 03:07:12 +00:00
bzbarsky%mit.edu
8f8f987c9c
Don't override earlier attrs on <body> with later ones from a separate <body>
...
tag (we merge all the attrs onto the single <body> node; oh, the insanity!)
Bug 214577, r+sr=peterv
git-svn-id: svn://10.0.0.236/trunk@145423 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-31 14:07:17 +00:00
bzbarsky%mit.edu
91bfd993dc
Fix issues with ScriptAvailable() not firing for some scripts. Bug 214081, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@145410 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-31 01:28:16 +00:00
caillon%returnzero.com
cd46cbbaad
Bug 83536.
...
Merge script principal implementations into one class.
Should reduce footprint, speed up calls to caps a little bit, and fixes several memory leaks.
Also fixes bugs 211174 and 211263
r=jst@netscape.com
sr=bzbarsky@mit.edu
moa=mstoltz@netscape.com (he looked at an earlier patch and said it looked fine, and will do a retroactive review when he returns from vacation as well)
git-svn-id: svn://10.0.0.236/trunk@145137 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-24 05:15:20 +00:00
dbaron%dbaron.org
20a7c5ebb1
Remove unused content quality stubs. b=111346 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@145076 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-22 18:38:08 +00:00
bzbarsky%mit.edu
153da6cfa1
Avoid having to call SetAttr for each attribute we set by just looping
...
backwards over the attributes in the parser node instead. Bug 213347, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@145059 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-22 14:21:59 +00:00
bzbarsky%mit.edu
b1597b655e
Sync up the attribute-adding code in the fragment sink to the HTML sink to
...
avoid stripping quotes too many times. Bug 212805; r=jkeiser; sr=jst
git-svn-id: svn://10.0.0.236/trunk@145042 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-22 01:31:34 +00:00
caillon%returnzero.com
e69f301e32
Bug 212504. Removal of the default namespace arguments from CSSStyleSheet and CSSLoader.
...
r=bzbarsky@mit.edu , sr=dbaron@dbaron.org
git-svn-id: svn://10.0.0.236/trunk@144937 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-18 01:26:47 +00:00
jaggernaut%netscape.com
36ab3d76a9
Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@144817 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-14 07:37:39 +00:00
jst%netscape.com
45f72e0474
Fixing one more part of bug 209699. Replace NS_Convert* with Copy/Append*. r=dwitte@stanford.edu, sr=alecf@flett.org.
...
git-svn-id: svn://10.0.0.236/trunk@144012 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-21 00:26:28 +00:00
dbaron%dbaron.org
906d582953
Make CSSStyleRuleImpl immutable by changing mutation code (including some merging of code between nsDOMCSSAttributeDeclaration and DOMCSSDeclarationImpl) so that it creates a new rule for the modified declaration. Change StyleRuleChanged notification signatures, and change pres shell's handling of style rule change, addition, and removal to just do reresolution. Remove fine-grained ways of clearing style data. Change PeekStyleData so it doesn't do more work than it needs to, and can be relied on not to access rules that no longer match any content. b=188803 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@143831 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 01:59:57 +00:00
alecf%flett.org
71e5d724e5
fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
...
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org
git-svn-id: svn://10.0.0.236/trunk@143800 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 16:40:34 +00:00
bzbarsky%mit.edu
573909f5fc
Backing out fix for bug 22480 to fix regression bug 209504.
...
git-svn-id: svn://10.0.0.236/trunk@143777 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-16 23:40:13 +00:00
bzbarsky%mit.edu
87c48ba870
Make <form><p></form> actually close out the form, since <p> has an optional
...
end tag. Bug 22480, r=harishd, sr=heikki.
git-svn-id: svn://10.0.0.236/trunk@143719 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-15 00:49:57 +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
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