2839 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
8c7d49ce1e Stop case-folding attribute values. This makes us compatible with NS4
on those properties that can be gotten in NS4 and compatible with IE
5.5/6 across the board.  Bug 113174, r=fabian, sr=jst


git-svn-id: svn://10.0.0.236/trunk@109654 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 21:12:15 +00:00
alecf%netscape.com
728ab648ca fix for bug 110531, r=dougt, jag, sr=darin - moving ConverterInputStream into uconv, and changing the one in XPCOM into an UTF8-only converter
git-svn-id: svn://10.0.0.236/trunk@109591 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 01:10:43 +00:00
bzbarsky%mit.edu
033ce36ec4 Create formpost files as 0600, not 0666 so people can't randomly read
them.  Bug 76463, r=alexsavulov, sr=darin


git-svn-id: svn://10.0.0.236/trunk@109560 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 23:04:44 +00:00
alecf%netscape.com
104971899d part of fix for bug 110531 - move CSS loader over to using nsIConverterStream instead of nsIUnicharInputStream
sr=darin, r=dougt


git-svn-id: svn://10.0.0.236/trunk@109558 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 23:03:18 +00:00
bzbarsky%mit.edu
20b7eaa2ae Forms should return .method in all lowercase for compat with IE and
NS4.  Bug 113174, r=fabian, sr=jst


git-svn-id: svn://10.0.0.236/trunk@109557 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 23:02:12 +00:00
bzbarsky%mit.edu
d414acca70 Fix typo in value returned by getComputedStyle. Bug 112866, sr=jst
git-svn-id: svn://10.0.0.236/trunk@109474 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 00:28:48 +00:00
roc+%cs.cmu.edu
35e1d479ea Bug 73382. Clean up view manager interfaces, 2nd attempt. r=kmcclusk,rs=attinasi
git-svn-id: svn://10.0.0.236/trunk@109458 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 14:31:45 +00:00
bzbarsky%mit.edu
a57f896a19 Get rid of ghost elements in a form's |elements| array. Bug 98487,
r=jkeiser, sr=jst


git-svn-id: svn://10.0.0.236/trunk@109212 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 14:12:06 +00:00
jst%netscape.com
304a701c9b Whitespace changes.
git-svn-id: svn://10.0.0.236/trunk@109199 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 09:59:31 +00:00
jst%netscape.com
a167a4f39d Oops, backing out last checkin.
git-svn-id: svn://10.0.0.236/trunk@109192 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 09:34:06 +00:00
jst%netscape.com
f3e223e230 Formatting changes, and fixing compiler warning. r=nobody
git-svn-id: svn://10.0.0.236/trunk@109191 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 09:31:45 +00:00
jst%netscape.com
fb84fd48e7 Formatting changes, and fixing compiler warning. r=nobody
git-svn-id: svn://10.0.0.236/trunk@109190 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 09:30:46 +00:00
jst%netscape.com
378ca9ba32 Formatting changes, and fixing compiler warning. r=nobody
git-svn-id: svn://10.0.0.236/trunk@109188 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 09:27:12 +00:00
jst%netscape.com
be2baf922d Fixing bug 112473. Eliminate unnecessary allocations in the CSS parser and speed up NS_NewHTMLReflowCommand() a bit. r=dbaron@fas.harvard.edu, rs=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@109187 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 08:48:53 +00:00
jst%netscape.com
9dbb6356f3 Oops, forgot to make peterv's suggested comment changes when checking in the fix for bug 109854.
git-svn-id: svn://10.0.0.236/trunk@109185 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 07:14:00 +00:00
jst%netscape.com
fa9acfe976 Fixing bug 34398. Making element.offsetParent be a <th>, <td> or <table> if element is a decendant of one of those element types. r=hidday@geocities.com, rs=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@109182 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 05:08:25 +00:00
jkeiser%iname.com
9aabc077d6 Submit empty file inputs. Bug 111963. r=alexsuvalov@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@109178 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 03:51:38 +00:00
jst%netscape.com
6ef8928139 Fixing bug 109854. Don't let HTMLContentSink::DemoteContainer() mess up the order of the form controls in form.elements, and rename DemoteContainer() to DemoteForm(). Patch by jkeiser@iname.com and myself, r=peterv@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@109130 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 11:00:14 +00:00
dbaron%fas.harvard.edu
3233bfeefd Fix more |#ifdef DEBUG| bustage from jst's checkin.
git-svn-id: svn://10.0.0.236/trunk@109125 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 07:57:55 +00:00
jkeiser%iname.com
dcdbaa821c Make disabled optgroups not be initially selected (bug 106524, r=bzbarsky@mit.edu, sr=jst@netscape.com)
git-svn-id: svn://10.0.0.236/trunk@109123 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 06:52:56 +00:00
jst%netscape.com
e9bd9a6f04 Fixing bug 109400. Removing unnecessary layers of abstraction from nsHTMLTags that does nothing for us except using more memory than we need to use, and makes us slower. This makes nsHTMLTags::LookupTag() 4 times faster. r=harishd@netscape.com, rs=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@109117 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 06:13:11 +00:00
alecf%netscape.com
bf4d9b0e6e first part of fix for bug 112209, making nsStr private by switching nsStaticNameTable over to nsAFlatString. r=dbaron, sr=blake
git-svn-id: svn://10.0.0.236/trunk@109022 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-27 21:13:53 +00:00
timeless%mac.com
535b6f20f2 Bugzilla Bug 107823 change nsIFile
to use 'Modified' instead of 'Modification'
r=akkana sr=brendan


git-svn-id: svn://10.0.0.236/trunk@108891 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-26 08:05:05 +00:00
roc+%cs.cmu.edu
fce7355cf6 My cleanup checkin for bug 73382 caused 5% increase in page load times. Backing out.
git-svn-id: svn://10.0.0.236/trunk@108850 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-24 05:37:25 +00:00
roc+%cs.cmu.edu
5d13b4f0c5 View manage interface cleanup. Bug 73382. r=kmcclusk, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@108796 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 05:26:32 +00:00
yokoyama%netscape.com
90696cffcf Bug 110512
Remove the hard-coded charset
Read a default charset from Pref
/r=jbetak; /sr=brendan


git-svn-id: svn://10.0.0.236/trunk@108742 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 23:28:19 +00:00
seawood%netscape.com
889469fd27 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov


git-svn-id: svn://10.0.0.236/trunk@108684 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 09:49:41 +00:00
jst%netscape.com
b2781576cf Fixing bug 110924. Speeding up HTMLContentSink::AddAttributes() and nsGenericHTMLElement::IsEventName(). r=bzbarsky@mit.edu, sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@108682 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 09:10:41 +00:00
dbaron%fas.harvard.edu
b42386ef84 Bug 109431: Speed up ID selector matching, mainly by using nsDependentString instead of nsAutoString. Patch by rjesup and me. Bug 110815: Avoid an unneeded QI from nsICSSStyleRule to nsIStyleRule, which it inherits. r=jag sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@108664 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 03:30:44 +00:00
dbaron%fas.harvard.edu
eb89cf17f8 Speed up HTMLAttributesImpl::HasClass, mostly by using nsDependentString instead of nsAutoString. Patch by rjesup and me. r=jag sr=jst b=109416
git-svn-id: svn://10.0.0.236/trunk@108663 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 03:27:14 +00:00
attinasi%netscape.com
cae55bbe7b Stop stripping whitespace from image map name. b=87050 r=kmcclusk sr=attinasi (checked in for David Einstein)
git-svn-id: svn://10.0.0.236/trunk@108635 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-20 22:53:59 +00:00
bzbarsky%mit.edu
945c775af1 Check the mimetype on the stylesheet channel and only
load the sheet if the type is text/css (strict mode change
only). bug 46225, r=dbaron, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@108487 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-19 20:30:29 +00:00
jst%netscape.com
e5e4e2e102 Checking in John Keiser's fix for bug 110613, problems with file inputs. r=peterv@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@108473 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-19 10:35:52 +00:00
timeless%mac.com
7b921259da Bugzilla Bug 110080 change !NS_SUCCEEDED(status) to NS_FAILED(status)
s/!NS_SUCCEEDED/NS_FAILED/g;s/!NS_FAILED/NS_SUCCEEDED/g;
r=dougt sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@108471 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-19 06:45:00 +00:00
jst%netscape.com
ded5cf4b76 Fixing part of bug 62536. Make element.scrollHeight and scrollWidth work correctly and making element.scrollIntoView() work even for elements inside nested scrollable views. r=hidday@geocities.com, jkeiser@iname.com, sr=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@108426 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-18 06:04:17 +00:00
danm%netscape.com
c748829484 more changes to make xmldoc.createElementNS() create the correct type of element (and fix tinderbox mac bustage)
git-svn-id: svn://10.0.0.236/trunk@108358 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-17 06:18:04 +00:00
rbs%maths.uq.edu.au
5553e08c9e bug 110417 - no need to special-case the viewsource protocol anymore since security now knows about it. r=bzbasrky sr=jst
git-svn-id: svn://10.0.0.236/trunk@108341 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-17 02:36:05 +00:00
bzbarsky%mit.edu
64ae81272f Make various location.href and anchor href properties writable (NS4
compat).  Patch from Christian Biesinger (cbiesinger@web.de),
r=bzbarsky, sr=jst


git-svn-id: svn://10.0.0.236/trunk@108339 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-17 02:23:22 +00:00
morse%netscape.com
d82e69afa8 bug 104894, parsing p3p compact policies, r=harishd, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@108304 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 15:05:53 +00:00
jkeiser%iname.com
d443ae56e1 Fix textboxes not showing up in Print and Print Preview (bug 109914). r=sicking@bigfoot.com;sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@108249 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 02:38:10 +00:00
danm%netscape.com
a5c5cddf01 adding nsIDocument::ResetToURI. bug 88229 r=jst,rpotts
git-svn-id: svn://10.0.0.236/trunk@108225 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 02:03:19 +00:00
jaggernaut%netscape.com
d928e4ddac Clean up REQUIRES lines. r/sr=alecf
git-svn-id: svn://10.0.0.236/trunk@108216 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 01:54:59 +00:00
dbaron%fas.harvard.edu
5d903ccb5f Avoid pointless nsAutoString construction and extra copy. b=109250 r=jag sr=jst
git-svn-id: svn://10.0.0.236/trunk@108163 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-15 07:47:39 +00:00
alecf%netscape.com
0c847ee212 win32 REQUIRES cleanup
git-svn-id: svn://10.0.0.236/trunk@108139 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-15 03:49:13 +00:00
cmanske%netscape.com
886cace519 Use 1000 as limit for HR size, b=102051, r=brade, sr=jst
git-svn-id: svn://10.0.0.236/trunk@108090 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 22:27:58 +00:00
bzbarsky%mit.edu
068756d821 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@107987 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 01:33:42 +00:00
bzbarsky%mit.edu
8a3a1251d3 Fix pasting into password boxes with middle-mouse paste. Bug 109520,
r=fabian, sr=jst


git-svn-id: svn://10.0.0.236/trunk@107902 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-11 22:52:18 +00:00
dbaron%fas.harvard.edu
e619d6fc7c Pull computation of loop invariants for rule matching out of outer loop (over rule processors) as well, from SelectorMatchesData in nsCSSStyleSheet to RuleProcessorData in nsStyleSet. Use the RuleProcessorData structure in nsHTMLStyleSheet as well. Simplify matching of :-moz-bound-element pseudo-class. b=83836 r=waterson, pierre sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@107856 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 23:51:45 +00:00
bzbarsky%mit.edu
7d6358f8fc Fix getComputedStyle() position/size calculations. Bug 84599 and bug
94855, r=glazou, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@107832 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 17:29:04 +00:00
jst%netscape.com
0936a7cef0 Checking in Jonas Sicking's <sicking@bigfoot.com> fix for bug 109154. Make this code not suck as much, don't use GetPrimaryFrame() when there's no need to. r=jkeiser@iname.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@107826 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 08:25:16 +00:00