Commit Graph

847 Commits

Author SHA1 Message Date
bryner%netscape.com
422834eff1 Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst. 2001-08-17 08:14:14 +00:00
rpotts%netscape.com
33bbd6972c bug #94205. Adding flags to nsIWebNavigation::Stop(). 2001-08-14 04:46:20 +00:00
jst%netscape.com
cbdb687bd9 Fixing bug 72613, crash in nsIDOMHTMLDocument::Write() when called from C++ w/o any JS on the stack. sr=vidur@netscape.com, r=pollmann@netscape.com 2001-08-11 00:37:27 +00:00
jst%netscape.com
7fe184bd8b Fixing bogus assert code that I introduced when fixing 92433. 2001-08-10 01:22:07 +00:00
jst%netscape.com
a26a6ba8d2 Fixing topembed crash bug 92433. Calling element.replaceChild(aChild, sameChild) caused a crash in the content modified notification code due to a bug in the replaceChild code. r=pollmann@netscape.com, sr=vidur@netscape.com 2001-08-07 06:09:17 +00:00
harishd%netscape.com
a51389e84f 91320 - Removed unused files from htmlparser module and created a public directory.
r= heikki
sr=vidur
2001-08-03 21:15:15 +00:00
glazman%netscape.com
145fd781e4 BodyFixupRule was not updated nor recreated in case of stylesheet disabling; b=88681; r=pierre,hyatt; sr=attinasi 2001-08-02 14:34:55 +00:00
heikki%netscape.com
c13e800871 Bug 86975, synchronise ScrollToRef() code between HTML and XML content sinks. r=harishd, sr=jst. 2001-08-01 23:04:32 +00:00
glazman%netscape.com
9355372000 backing out fix for 88681 due to merge conflicts 2001-08-01 14:53:15 +00:00
glazman%netscape.com
47a195eda3 BodyFixupRule was not updated nor recreated in case of stylesheet disabling; b=88681; r=pierre,hyatt; sr=attinasi 2001-08-01 14:38:30 +00:00
jaggernaut%netscape.com
e91f8a147e Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
jst%netscape.com
ec7cf9b88e Fixing bugzilla bug 91368 and doing some additional code cleanup. r=ftang@netscape.com, sr=blizzard@netscape.com 2001-07-25 05:26:37 +00:00
jst%netscape.com
88d48dc0c5 Removing use of obsolete macros for defining lists of interfaces used by the DOM classinfo code. r=pollmann@netscape.com, rs=vidur@netscape.com 2001-07-18 07:48:12 +00:00
pete%alphanumerica.com
bf5c016153 Fix for DOM crasher b=89536, r=pollmann, sr=jst.
--pete
2001-07-17 13:53:15 +00:00
dbaron%fas.harvard.edu
aa4fec2b67 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
bratell%lysator.liu.se
5aa73c180e Bug 83945 - make attribute parsing and whitespace stripping a little faster by using iterators instead of old nsString API:s. r=bzbarsky sr=jst 2001-07-06 13:57:46 +00:00
harishd%netscape.com
7ef87f6bbd 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
2001-07-05 22:20:34 +00:00
jaggernaut%netscape.com
5a6317b8a5 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 :-)
2001-06-30 11:02:25 +00:00
kmcclusk%netscape.com
efed793c3e Delay the dynamic lowering of the interval when interrupting parsing for 2 seconds. bug 76722 sr=attinasi@netscape.com, r=harishd@netscape.com 2001-06-30 01:58:38 +00:00
vidur%netscape.com
9a358b6df4 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 2001-06-29 22:56:58 +00:00
harishd%netscape.com
37c20e80aa 88386 - Add null check to avoid crash because the parser could get released from underneath during location.replace 2001-06-29 19:57:52 +00:00
jst%netscape.com
acdc0b4d30 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 2001-06-29 09:59:45 +00:00
kmcclusk%netscape.com
a80e214257 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. 2001-06-29 04:01:26 +00:00
dbaron%fas.harvard.edu
1a9c2b2c62 Prevent quirk stylesheet from applying to XML documents. b=87281 r,sr in {hyatt,attinasi} 2001-06-27 02:25:47 +00:00
morse%netscape.com
17ee52513f bug 86885 crash if cookie service not available, c=waterson, r=morse, sr=scc, a=chofmann 2001-06-26 00:11:04 +00:00
ftang%netscape.com
9a43659d8c fix 86792. r=nhotta sr=jst a=chofmann
unescape mRef before trying go to the anchor
2001-06-21 14:40:55 +00:00
kmcclusk%netscape.com
e52b604682 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 2001-06-21 02:06:23 +00:00
bzbarsky%mit.edu
900adf4453 Fixing a bogus class name in a comment. Bug 86939, rs=jst 2001-06-20 22:49:10 +00:00
peterv%netscape.com
63ca2dafef Fix for bug 59619 (MIME types should not be case sensitive). r=heikki, sr=jst, a=roc. 2001-06-20 06:42:37 +00:00
dbaron%fas.harvard.edu
9d35ed31a4 Fix bad getters on nsIDocument and nsIScriptContext to use out params rather than return |AddRef|ed pointers. b=81289 r=jaggernaut sr=jst a=asa 2001-06-20 03:27:48 +00:00
pollmann%netscape.com
604e25f040 Bug 77390: Display <noscript> content if nsScriptSecurityManager::CanExecuteScripts returns false. This covers some edge cases where the pref could be set to allow javascript, but nsScriptSecurityManager doesn't want us to for whatever reason. In these cases, we will display the content in <noscript> instead of nothing, r=harishd@netscape.com, sr=jst@netscape.com, a=drivers@mozilla.org (asa) 2001-06-20 01:04:24 +00:00
cls%seawood.org
bf5fb48486 Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
Changes allow us to have a finer control over which parts of the tree are built with PIC.  Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf
2001-06-18 22:10:38 +00:00
harishd%netscape.com
addc8ca065 82500 - Make sure that DidBuildModel gets called only once per document.
79492 - In collecting skipped content make sure that entity-like-markup is not mistaken for an entity.
80009 - PRE should be treated as a block-level element - per spec.
82498 - Do not process script content in a frameset document.
82544 - Beginning/ending quotes in attribute values are now removed by the parser.
77145 - Fix off-by-one error.

r=heikki
sr=vidur
a=asa
2001-06-18 21:18:37 +00:00
peterv%netscape.com
832e0cfab4 Fix for bug 83612 (Correct/cleanup style loading code in content). r=heikki, sr=jst, a=asa. 2001-06-14 12:33:38 +00:00
peterv%netscape.com
3740f9b3fe Fix for bug 83078 (document.write of 'LINK' (ext. stylesheet) causes duplicate content). Call UpdateAllContexts when a stylesheet is add/removed/enabled/disabled. r=harishd, sr=jst, a=chofmann. 2001-05-30 20:35:20 +00:00
peterv%netscape.com
4d452fd30a Fix for bug 83093 (Leaks went up by about 200k) r=heikki, sr=jst, a=chofmann. 2001-05-30 19:17:42 +00:00
pollmann%netscape.com
1ac7a3715e Bug 77834: Fix problem where form control state is being restored to the wrong form control or not restored at all when going back and forth through session history. The problem was that the hash key we used was the content ID, which was not consistent from page load to page load. The fix was to key instead by index of form in document / index of control in form, with logic to fall back to content ID if we are unable to do this. r=nisheeth@netscape.com, sr=jst@netscape.com, a=drivers@mozilla.org (blizzard@mozilla.org) 2001-05-30 11:26:21 +00:00
jst%netscape.com
6f138c7969 Fixing crasher bug 73331. When cleaning up incorrect content in the HTML content sink we ended up creating frames for content that was about to be taken out of the document shortly after only to be inserted into the document again at a different place, this caused frame construction to happen for the new content that was about to be moved. So we created frames for no good reason and the frames we created got distroyed immediately after they've been created. The frame construction left old frames around that held on to anonymous content that was partly torn down and didn't have a valid document pointer, this caused a crash later on in the style resolution code. r=harishd@netscape.com, sr=vidur@netscape.com, a=drivers@mozilla.org (blizzard@mozilla.org). 2001-05-30 02:25:52 +00:00
peterv%netscape.com
5ba43898a9 Fix for bug 81989 (STYLE tags can cause multiple copies of stylesheet to be loaded) r=heikki, sr=jst, a=blizzard. 2001-05-29 08:10:58 +00:00
jst%netscape.com
07339d1164 Fixing regression bug 81818 that caused a crash in certain situations when viewing images in mozilla. sr=scc@mozilla.org, a=choffmann@netscape.com 2001-05-27 07:15:28 +00:00
pollmann%netscape.com
99eb785ee0 Bug 79565: Fix a crash where elements in the mImageMaps array were released but not removed from the array, and a stale pointer was dereferenced. r=jst@netscape.com, sr=vidur@netscape.com, a=drivers@mozilla.org 2001-05-26 06:43:20 +00:00
nisheeth%netscape.com
73edd4ea66 Fix for bug 57636. r=rpotts, sr=jst, a=asa. Onload handlers now fire on document.written content. 2001-05-25 08:49:03 +00:00
jst%netscape.com
881ec0a39f Checking in vidur@netscape.com's fix for bug 81994 which caused scripts on webpages to be executed twice when calling DemoteContainer() in the html content sink. r=nisheeth@netscape.com, sr=jband@netscape.com, a=asa@mozilla.org 2001-05-25 07:03:04 +00:00
scc%mozilla.org
b7b3395bad bug #75220: fixing stragglers, people who checked in uses of |nsLiteralC?String| after it had already been removed from the build 2001-05-23 01:21:04 +00:00
jst%netscape.com
3e0ca8c751 Fixing typo 2001-05-21 23:29:14 +00:00
jst%netscape.com
77aeecc056 scc checking in from jst's account. bug #75220: sr=jst, rs=brendan. renaming |nsPromiseC?Concatenation| to |nsDependentC?Concatenation|; |nsPromiseC?Substring| to |nsDependentC?Substring|; |nsLiteralC?String| and |nsLocalC?String| to |nsDependentC?String|, as these new names better reflect clients obligations to instances. 2001-05-19 11:27:30 +00:00
peterv%netscape.com
d8dc78eb98 Fix for bug 7515 (load stylesheets inserted dynamically through the DOM). r=heikki, harishd. sr=jst. 2001-05-19 02:59:15 +00:00
ftang%netscape.com
94b1ec6389 fix bug 81266 for simon@softel.co.il
r=ftang sr=jst
fix UMR
2001-05-18 01:10:54 +00:00
vidur%netscape.com
d692a32b9a Fix for bug 18843. Dynamically added SCRIPT elements are now processed through a per-document script loader. Script execution that originally occured in the content sinks is now done by the script loader. r=heikki sr=jst 2001-05-17 05:54:16 +00:00
jst%netscape.com
9fd6cf8888 Fixing bug 80754. Make the content sink do what the docshell does when looking for the ref (i.e. the part after the '#') in a URI, this makes scrolling to named anchors work even if the uri that's loaded is not a nsIURL, such as chrome:// urls. r=pollmann@netscape.com, rs=vidur@netscape.com 2001-05-17 02:37:30 +00:00