2608 Commits

Author SHA1 Message Date
nhotta%netscape.com
4afc9b40ba For charset conversion, avoid Finish() to overwrite a result of Convert(), bug 92776, r=yokoyama, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@100114 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-01 22:31:56 +00:00
glazman%netscape.com
88bfc464bc backing out fix for 88681 due to merge conflicts
git-svn-id: svn://10.0.0.236/trunk@100104 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-01 14:53:15 +00:00
glazman%netscape.com
77425d8395 BodyFixupRule was not updated nor recreated in case of stylesheet disabling; b=88681; r=pierre,hyatt; sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@100101 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-01 14:38:30 +00:00
brade%netscape.com
c9c2349e79 remove duplicate atoms; bug #68167
git-svn-id: svn://10.0.0.236/trunk@100099 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-01 13:40:19 +00:00
peterv%netscape.com
5ddfce25d3 Fix for bug 83981 (document.getElementById([link]).href = [url]; doesn't respond). r=pierre, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@100095 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-01 10:26:38 +00:00
peterv%netscape.com
18f4c81aa0 Fix for bug 63502 (Content-Style-Type doesn't handle parameters). r=glazman, sr=attinasi.
git-svn-id: svn://10.0.0.236/trunk@100094 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-01 10:13:31 +00:00
hyatt%netscape.com
a31dfd024c Fix for table color quirk bug. r=dbaron, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@100093 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-01 07:51:27 +00:00
brendan%mozilla.org
f5bc62edea FASTLOAD_20010703_BRANCH landing, r=dbaron, sr=shaver.
git-svn-id: svn://10.0.0.236/trunk@100030 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-31 19:05:34 +00:00
jaggernaut%netscape.com
2b3b3b2586 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
hyatt%netscape.com
6206b55be6 Fix for 90081, r=dbaron, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@99897 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 06:33:06 +00:00
jst%netscape.com
f3ba54d344 Fixing bugzilla bug 91368 and doing some additional code cleanup. r=ftang@netscape.com, sr=blizzard@netscape.com
git-svn-id: svn://10.0.0.236/trunk@99890 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 05:26:37 +00:00
jaggernaut%netscape.com
56ae52c17a Bug 73353: clean up the REQUIRES lines in Makefiles.
git-svn-id: svn://10.0.0.236/trunk@99764 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-23 22:36:12 +00:00
pollmann%netscape.com
3feecfdd6d Bug 90392: Don't submit forms multiple times when dismissing the 'insecure form submit' warning dialog by pressing Enter. This balances XUL's handling of firing for Enter on KEY_PRESS and firing for space bar on KEY_UP by doing the same for HTML form controls. r=jag@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@99749 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-23 10:24:37 +00:00
hyatt%netscape.com
d2e6a382ec More hot 90081 action. Needed to tweak it a little to avoid crash.
git-svn-id: svn://10.0.0.236/trunk@99541 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-18 23:25:16 +00:00
hyatt%netscape.com
02fae71136 Fix for 90081, r/sr=waterson,attinasi
git-svn-id: svn://10.0.0.236/trunk@99536 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-18 22:48:35 +00:00
waterson%netscape.com
849017d319 Fix both!
git-svn-id: svn://10.0.0.236/trunk@99502 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-18 20:17:09 +00:00
waterson%netscape.com
f7d5c1bbc4 Add a .get() to fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@99501 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-18 20:16:37 +00:00
bzbarsky%mit.edu
e200a7a6f7 Make CSSParserImpl::ParseAndAppendDeclaration keep parsing even when it
encounters an error. Bug 88421, r=pierre, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@99496 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-18 19:43:39 +00:00
waterson%netscape.com
d92d640402 Bug 89184. Use nsXPIDLCString instead of uninitialized bare |char*|. r=dbaron, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@99494 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-18 19:34:14 +00:00
jst%netscape.com
21ce7f8ced Removing use of obsolete macros for defining lists of interfaces used by the DOM classinfo code. r=pollmann@netscape.com, rs=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@99476 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-18 07:48:12 +00:00
waterson%netscape.com
b8c2932759 Bug 91149. Be sure to call |MapAlignAttributesInto()| to make us notice the |align| attribute. r=karnaze, sr=attinasi.
git-svn-id: svn://10.0.0.236/trunk@99469 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-18 04:51:56 +00:00
pete%alphanumerica.com
a1351a5797 Fix for DOM crasher b=89536, r=pollmann, sr=jst.
--pete


git-svn-id: svn://10.0.0.236/trunk@99406 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-17 13:53:15 +00:00
pavlov%netscape.com
cec3a7eb41 part of bug 78690. r=bryner sr=jst
git-svn-id: svn://10.0.0.236/trunk@99366 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-17 01:14:40 +00:00
dbaron%fas.harvard.edu
c09758cc43 Replace the mMediumCascadeTable nsHashtable with a linked list of rule cascades since searching a linked list of at most two elements (and usually just one) is *much* faster than doing a hashtable lookup. r=waterson sr=attinasi b=90791
git-svn-id: svn://10.0.0.236/trunk@99340 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 20:59:28 +00:00
dbaron%fas.harvard.edu
9359000a40 Header include dependency cleanup. b=64023 r=jag rs=brendan
git-svn-id: svn://10.0.0.236/trunk@99299 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 02:40:48 +00:00
jst%netscape.com
7bc2777d1a Fixing bug 83433, exposing DOM constructors and prototypes to JS. r/sr=rpotts@netcape.com, vidur@netscape.com, dbradley@netscape.com
git-svn-id: svn://10.0.0.236/trunk@99063 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-11 09:09:30 +00:00
bernd.mielke%snafu.de
31154d10f6 Empty table width attributes are now treated as no width specified. bug 75250
r=karnaze sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@99058 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-11 05:35:18 +00:00
bernd.mielke%snafu.de
5d386068cf Inherit color into the table elements in quirks mode
bug 46480 patch by fantasai@escape.com r=bernd sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@98810 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-06 14:17:08 +00:00
bratell%lysator.liu.se
5df2e0ae6e Bug 84194 - make color parsing a little faster by using knowledge that numerical color values often start with a '#' and by using iterators instead of old nsString API:s. r=harishd sr=jst
git-svn-id: svn://10.0.0.236/trunk@98807 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-06 14:11:09 +00:00
bratell%lysator.liu.se
335816adf3 Bug 83945 - make attribute parsing and whitespace stripping a little faster by using iterators instead of old nsString API:s. r=bzbarsky sr=jst
git-svn-id: svn://10.0.0.236/trunk@98804 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-06 13:57:46 +00:00
harishd%netscape.com
eb02af6620 40072 - (patch provided by pollmann) Do not process METAs after FRAMESET. r=harishd sr=vidur
58809 - Handle numeric & hexadecimal entities correctly r=heikki sr=vidur
72249 - Per SGML endtag can contain whitespace between generic identifier and tagc. r=heikki sr=vidur
82971 - if the last character was a CR make sure to not lose that information. r=heikki sr=vidur


git-svn-id: svn://10.0.0.236/trunk@98721 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-05 22:20:34 +00:00
jaggernaut%netscape.com
51b17b5bf0 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
kmcclusk%netscape.com
7b72affdd7 Delay the dynamic lowering of the interval when interrupting parsing for 2 seconds. bug 76722 sr=attinasi@netscape.com, r=harishd@netscape.com
git-svn-id: svn://10.0.0.236/trunk@98349 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 01:58:38 +00:00
vidur%netscape.com
599c0d0fe9 Fix for bug 81253. We now sniff upto the first 2k of the first buffer of any HTML stream, looking for a META tag with charset information. If charset information is found, we use it for unicode conversion. This deals with the bulk of cases where we used to do a reload based on charset information in the document. In the worst case (if charset information exists but isn't found during sniffing) we fall back to the reload case. This fix improves initial page load performance for pages with a charset. Degradation in performance for pages loaded out of the cache is still being investigated. r=harishd, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@98320 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 22:56:58 +00:00
jst%netscape.com
99a0cead34 Fixing bug 81290. The element.offsetXXX properties contained incorrect values when the element is positioned, or a child of a positioned element, this made these properties kinda useless since we were nowhere close to IE wrt the values of these properties. r=pollmann@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@98316 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 22:44:20 +00:00
waterson%netscape.com
eaaf7f4149 Bug 87229. Replace giant switch statements with bit-ops and jump tables where appropriate. r=attinasi, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@98315 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 22:42:46 +00:00
nhotta%netscape.com
0c3c57c24d In nsHTMLUtils.cpp changed to create UTF-8 URI instead of a document charset,
in mailnews changed ASCII conversion to UTF-8, bug 87202, r=ftang, sr=jst.


git-svn-id: svn://10.0.0.236/trunk@98311 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 22:21:50 +00:00
harishd%netscape.com
e2e9432efe 88386 - Add null check to avoid crash because the parser could get released from underneath during location.replace
git-svn-id: svn://10.0.0.236/trunk@98299 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 19:57:52 +00:00
jst%netscape.com
bab56626df Fixing bug 84648. The parser blocking code had regressed to re-introduce a problem with document.write()'ing <link> elements from inline scripts. patch by vidur@netscape.com&jst@netscape.com, r=harishd@netscape.com, sr=jst&vidur
git-svn-id: svn://10.0.0.236/trunk@98271 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 09:59:45 +00:00
kmcclusk%netscape.com
f60e0756df Enable interrupting of parsing to improve performance during long document loads + include dynamic switching between user-responsiveness and page load performance,bug 76722 sr=attinasi@netscape.com, r=harishd@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@98243 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 04:01:26 +00:00
dbaron%fas.harvard.edu
ee486fee11 Fix BiDi regression from style system landing by correcting implementation of 'unicode-bidi' to be a non-inherited property, correctly mapping attributes to it, splitting text frames with both strong RTL and LTR characters, and stripping BiDi control characters. Code by me and lkemmel@il.ibm.com r=simon@softel.co.il sr=hyatt b=83958
git-svn-id: svn://10.0.0.236/trunk@98239 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 03:15:58 +00:00
glazman%netscape.com
701df9fa73 CSS parser drops negations if attached to universal selector and a pseudo-element; b=87999, r=peterv, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@98057 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-27 10:41:49 +00:00
dbaron%fas.harvard.edu
a7e10cecec Prevent quirk stylesheet from applying to XML documents. b=87281 r,sr in {hyatt,attinasi}
git-svn-id: svn://10.0.0.236/trunk@98018 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-27 02:25:47 +00:00
morse%netscape.com
89cb681ffa bug 86885 crash if cookie service not available, c=waterson, r=morse, sr=scc, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@97905 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-26 00:11:04 +00:00
rpotts%netscape.com
1022a6475a bug #68955 (r=vidur, sr=jst, a=choffman) This patch prevents the short-circuit optimization of the image src attribute
git-svn-id: svn://10.0.0.236/trunk@97854 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-25 06:18:42 +00:00
ftang%netscape.com
105505f222 fix 86792. r=nhotta sr=jst a=chofmann
unescape mRef before trying go to the anchor


git-svn-id: svn://10.0.0.236/trunk@97680 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-21 14:40:55 +00:00
kmcclusk%netscape.com
1823eaba29 Added code to interrupt the parser's processing of tokens if a threshold is exceeded to improve interactivity during long page loads. Turned OFF by default. Can be enabled through a pref. bug 76722 r=harishd@netscape.com,rickg@netscape.com sr=vidur@netscape.com,attinasi@netscape.com a=chofmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@97651 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-21 02:06:23 +00:00
bzbarsky%mit.edu
24e0e94e6f Fixing a bogus class name in a comment. Bug 86939, rs=jst
git-svn-id: svn://10.0.0.236/trunk@97627 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 22:49:10 +00:00
hyatt%netscape.com
bc4c630bd4 Fix for 83658, font size=7 broken, r=dbaron, sr=waterson, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@97578 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 06:43:28 +00:00
peterv%netscape.com
1498cfe52d Fix for bug 59619 (MIME types should not be case sensitive). r=heikki, sr=jst, a=roc.
git-svn-id: svn://10.0.0.236/trunk@97577 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 06:42:37 +00:00