557 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
171fd440e2 Fix off-by-one-char error that caused hang. Bug 142290, r=caillon, sr=jst
git-svn-id: svn://10.0.0.236/trunk@121169 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 14:41:51 +00:00
jkeiser%netscape.com
4fd4a3d9c6 Treat NOLAYER like any undeclared tag (from Antonio Xu). Bug 61443, r=harishd@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121143 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 02:33:34 +00:00
jkeiser%netscape.com
6fecd9e30b Remove DemoteForm. Sweet, sweet revenge--may you rest in peace. bug 90756, r=harishd@netscape.com, sr=vidur@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121130 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 00:29:23 +00:00
jst%netscape.com
a9a7bb82fa Fixing Txul regression bug 138012. Make docshells always accessible through box objects and load about:blank when no src is specified on a frame. Eliminate creation of synthetic documents when they're not needed. r=peterv@netscape.com, sr=jaggernaut@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119902 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 23:04:52 +00:00
harishd%netscape.com
c996b9fb65 Prevent charset loading for document.write content because the content is already in unicode. b=125317, r=ftang, sr=jst
git-svn-id: svn://10.0.0.236/trunk@119320 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 22:11:17 +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
timeless%mac.com
2a70c77497 Bug 137780 lots of warnings about unhandled enum and a complaint about
using an unscoped nsCOMPtr in a switch
r=dbradley sr=jst


git-svn-id: svn://10.0.0.236/trunk@119114 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 18:09:53 +00:00
harishd%netscape.com
4737cceba4 Fixed a crash my making sure that the CNavDTD and HTMLContentSink stacks are synchronized when handling a FORM. b=133410, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@118812 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 23:50:44 +00:00
dbaron%fas.harvard.edu
1e850f52c6 Fix up and enable hierarchical :hover and remove the hacks that made :hover work for anchors without it. Pass mask rather than pseudo-class to ContentStatesChanged notifications. Optimize event state changes in the style system by passing state mask to HasStateDependentStyle and using it in HasStateDependentStyle implementations. b=5693 r=bryner, joki sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@118715 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 03:49:30 +00:00
harishd%netscape.com
a6dd951b3e Fix line numbers in html. b=111576, r=heikki, sr=jst, a=asa,chofmann
git-svn-id: svn://10.0.0.236/trunk@118658 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 22:16:46 +00:00
harishd%netscape.com
6b93bed21c Backing out timeless's checkin. This wasn't supposed to happen until we branched
git-svn-id: svn://10.0.0.236/trunk@118508 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-09 00:43:00 +00:00
timeless%mac.com
195ad89ec0 Bug 111576 Incorrect line numbers in HTML files
patch by harishd, r=heikki, sr=jst, a=chofmann


git-svn-id: svn://10.0.0.236/trunk@118494 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-08 23:52:12 +00:00
jkeiser%netscape.com
6d34e23b51 Fix recursion in content sink causing pageload crashes (bug 133669), r=harishd@netscape.com, sr=jst@netscape.com, a=asa
git-svn-id: svn://10.0.0.236/trunk@118320 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-06 00:47:43 +00:00
peterv%netscape.com
19d065539b Fix for bug 34849 (dynamically added STYLE element doesn't alter style). r=sicking, sr=jst, a=roc+moz, adt=jaimejr.
git-svn-id: svn://10.0.0.236/trunk@118245 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-05 11:29:40 +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
radha%netscape.com
7d669b0814 Fix for bug 59774. Save scrollbar positions in sessionhistory when jumping from one anchor to another in a page. r=adamlock sr=alecf a=asa. Approved by ADT.
git-svn-id: svn://10.0.0.236/trunk@118146 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 22:10:10 +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
48601f9f57 Make document.write options show up in combobox (bug 133867). r=rods@netscape.com, sr=vidur@netscape.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@117790 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-31 09:51:02 +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
harishd%netscape.com
b06c32fe16 Make sure to not reevaluate a SCRIPT when demoting FORM. Patch proposed by |vidur|. b=96861, r=harishd, sr=jst, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@117524 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 23:13:12 +00:00
peterv%netscape.com
50fecb115d Back-out of fix for bug 123899 (document.body.innerHTML is broken). This caused bug 132673 and a bunch of duplicates. Tp might go up slightly but that's just because we stop dropping some content.
git-svn-id: svn://10.0.0.236/trunk@117479 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 11:15:15 +00:00
dbaron%fas.harvard.edu
83983b4622 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@117351 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 23:13:20 +00:00
andreas.otte%debitel.net
6151a1f374 fix bug 94096 [Content-Base Header should not be supported] remove
support for header that was only part of a draft for http 1.1,
r=harishd, sr=jst, a=scc


git-svn-id: svn://10.0.0.236/trunk@117220 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 21:24:48 +00:00
darin%netscape.com
8defbf5d26 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa
git-svn-id: svn://10.0.0.236/trunk@117002 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:50:33 +00:00
peterv%netscape.com
2ccc2317a7 Bug 123899 (document.body.innerHTML is broken). Don't notify the document twice about content modification from script. r=Fabian, sr=jst, a=asa.
git-svn-id: svn://10.0.0.236/trunk@116973 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 13:22:27 +00:00
badami%netscape.com
da14c60c9d forget datas - If no basehref is specified in head but one is in the body use the one in the body.
bug 121481 r=harishd sr=jst a=asa patch=tmutreja@netscape.com


git-svn-id: svn://10.0.0.236/trunk@116949 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 04:43:23 +00:00
bryner%netscape.com
01634657fa - Implement the :checked CSS pseudoclass which maps to the "selected" property on option elements.
- Eliminate the _moz-option-selected attribute; move the actual selected state into the option content node.
- Change all users of _moz-option-selected to use :checked.
- Add a third parameter to nsIDocument[Observer]::ContentStatesChanged to indicate which pseudoclass changed, this is used for optimizing handling of :checked state changes.

Bug 128947, r=dbaron, sr=jst, a=asa.


git-svn-id: svn://10.0.0.236/trunk@116029 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 03:34:29 +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
kmcclusk%netscape.com
8cc792af65 Sample the system clock only once out of every 200 tokens when in the low frequency parser interruption mode to improve page load time on large pages. bug 124697 r=harishd sr=attinasi a=asa
git-svn-id: svn://10.0.0.236/trunk@115895 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 01:00:48 +00:00
peterlubczynski%netscape.com
a25dbbd889 Making applets and objects monolithic containers to fix problem in bug 108363 where not all params make it to the plugin. Patch by adu@sparc.spb.su r=peterl sr=attinasi a=roc+moz (and for last checkin too)
git-svn-id: svn://10.0.0.236/trunk@115134 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 02:05:21 +00:00
alecf%netscape.com
83ac6a3dcc progress towards fixing 123041 - stop making copies of entities names and values as we retrieve them out of various entity tables
also, a few uses of NS_LITERAL_STRING, removal of long-since-unused nsHTMLContentSinkStream
r/sr=sfraser, sr=jag, r=harishd


git-svn-id: svn://10.0.0.236/trunk@114304 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 21:17:53 +00:00
radha%netscape.com
2bd74e926a Fox for bug # 109485. Meta refresh works differently than otehr browsers. r=valeski. sr=jaggernaut.
git-svn-id: svn://10.0.0.236/trunk@114073 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 22:46:09 +00:00
rpotts%netscape.com
bc4e6e1a96 bug #117948 (r=bzarsky@mit.edu, sr=vidur@netscape.com) Ignore the HTTP Window-Target header inside of <meta> tags
git-svn-id: svn://10.0.0.236/trunk@113680 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 04:46:54 +00:00
harishd%netscape.com
c8641ade9a Do not create a new node info with |no name| for userdefined tags. b=113349, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@112900 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 23:25:09 +00:00
jst%netscape.com
6b1260a9e6 Fixing bug 118933. Speeding up the id and name hash tables in nsHTMLDocument by changing them over from nsHashtable/nsStirngKey to pldhash. Also combining the hashes to optimize performance and memory useage. r=heikki@netscape.com, sr=jband@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@112844 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 06:37:35 +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
brade%netscape.com
773e92d74f remove unused static kCharsetConverterManagerCID for gain of 16 bytes (bug 117927; r/sr=jst,darin)
git-svn-id: svn://10.0.0.236/trunk@111812 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 14:07:22 +00:00
harishd%netscape.com
476668ebbc 105137 - Eliminate nsTokens, nsParserNode usage for xml/xbl/xul/rdf documents. r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@111618 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 01:37:50 +00:00
peterv%netscape.com
2fa512bd41 XHTML is case-sensitive. Pass the right flag to NS_CreateHTMLElement r=sicking, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@111446 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-06 10:34:41 +00:00
bryner%netscape.com
87d7aa496f Initial checkin of XBL select widget (listbox) code (bug 112713).
Summary of changes:
- Removed old XBL form control cruft.
- Made nsOutlinerContentView accessible from content scripts.
- Created a new interface, nsIDOMNSXBLFormControl which exists to allow a
select element to have an outliner box object.
- Factored out nsChildIterator into its own file.
- Added support to the outliner content view for having option elements
directly inserted in the outliner.
- Cleaned up pixel/twip conversions in outliner.
- Added support for intrinsic width for outliner.

r=jag, sr=hyatt.  Note that the new select widget is NOT turned on by
default.


git-svn-id: svn://10.0.0.236/trunk@111407 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-05 07:17:10 +00:00
timeless%mac.com
21c081c8bc Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst


git-svn-id: svn://10.0.0.236/trunk@111049 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-23 23:23:41 +00:00
sicking%bigfoot.com
de73bb35c1 Bug 17003. Give textareas a childnode and connect that childnode to .defaultValue. Also make textareas work properly for display: none;
r=jkeiser sr=jst


git-svn-id: svn://10.0.0.236/trunk@111045 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-23 16:06:13 +00:00
jaggernaut%netscape.com
576ec93128 Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst
git-svn-id: svn://10.0.0.236/trunk@110611 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 07:14:49 +00:00
jaggernaut%netscape.com
436d43f211 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +00:00
jst%netscape.com
da1d2917dd Removing dead code, r=sicking@bigfoot.com, sr=me, no bug #.
git-svn-id: svn://10.0.0.236/trunk@110569 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 08:16:29 +00:00
harishd%netscape.com
920d9110b8 98218 - set layout mode whether a DOCTYPE exists or not
r=heikki, sr=jst.


git-svn-id: svn://10.0.0.236/trunk@110035 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 21:53:39 +00:00