jst%netscape.com
24ceee5611
Fixing bogus assert code that I introduced when fixing 92433.
...
git-svn-id: svn://10.0.0.236/trunk@100706 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-10 01:22:07 +00:00
jst%netscape.com
5e9b7ed9ed
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
...
git-svn-id: svn://10.0.0.236/trunk@100479 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-07 06:09:17 +00:00
harishd%netscape.com
36086848b7
91320 - Removed unused files from htmlparser module and created a public directory.
...
r= heikki
sr=vidur
git-svn-id: svn://10.0.0.236/trunk@100322 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-03 21:15:15 +00:00
glazman%netscape.com
ea8347db88
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@100205 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-02 14:34:55 +00:00
heikki%netscape.com
dc699b5159
Bug 86975, synchronise ScrollToRef() code between HTML and XML content sinks. r=harishd, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@100126 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-01 23:04:32 +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
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
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
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
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
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
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
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
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
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
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
dbaron%fas.harvard.edu
88810ef1eb
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
...
git-svn-id: svn://10.0.0.236/trunk@97540 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 03:27:48 +00:00
pollmann%netscape.com
7c877cbbfd
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)
...
git-svn-id: svn://10.0.0.236/trunk@97512 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 01:04:24 +00:00
cls%seawood.org
88aedd461b
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
git-svn-id: svn://10.0.0.236/trunk@97363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-18 22:10:38 +00:00
harishd%netscape.com
51d81a9901
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
git-svn-id: svn://10.0.0.236/trunk@97352 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-18 21:18:37 +00:00
peterv%netscape.com
dde779814c
Fix for bug 83612 (Correct/cleanup style loading code in content). r=heikki, sr=jst, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@97145 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-14 12:33:38 +00:00
peterv%netscape.com
21c40f404d
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.
...
git-svn-id: svn://10.0.0.236/trunk@96068 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-30 20:35:20 +00:00
peterv%netscape.com
ac47104ac4
Fix for bug 83093 (Leaks went up by about 200k) r=heikki, sr=jst, a=chofmann.
...
git-svn-id: svn://10.0.0.236/trunk@96064 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-30 19:17:42 +00:00
pollmann%netscape.com
161f586d22
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)
...
git-svn-id: svn://10.0.0.236/trunk@96057 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-30 11:26:21 +00:00
jst%netscape.com
8381d28d40
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).
...
git-svn-id: svn://10.0.0.236/trunk@96046 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-30 02:25:52 +00:00
peterv%netscape.com
cb99a56b4c
Fix for bug 81989 (STYLE tags can cause multiple copies of stylesheet to be loaded) r=heikki, sr=jst, a=blizzard.
...
git-svn-id: svn://10.0.0.236/trunk@95990 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-29 08:10:58 +00:00
jst%netscape.com
ceb00ea625
Fixing regression bug 81818 that caused a crash in certain situations when viewing images in mozilla. sr=scc@mozilla.org, a=choffmann@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@95971 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-27 07:15:28 +00:00
pollmann%netscape.com
23709a8e76
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
...
git-svn-id: svn://10.0.0.236/trunk@95955 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-26 06:43:20 +00:00
nisheeth%netscape.com
a63df7b032
Fix for bug 57636. r=rpotts, sr=jst, a=asa. Onload handlers now fire on document.written content.
...
git-svn-id: svn://10.0.0.236/trunk@95903 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 08:49:03 +00:00
jst%netscape.com
855319209e
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
...
git-svn-id: svn://10.0.0.236/trunk@95899 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 07:03:04 +00:00
scc%mozilla.org
1314d936af
bug #75220 : fixing stragglers, people who checked in uses of |nsLiteralC?String| after it had already been removed from the build
...
git-svn-id: svn://10.0.0.236/trunk@95763 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-23 01:21:04 +00:00
jst%netscape.com
d795e51bad
Fixing typo
...
git-svn-id: svn://10.0.0.236/trunk@95633 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 23:29:14 +00:00
jst%netscape.com
535c86019d
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.
...
git-svn-id: svn://10.0.0.236/trunk@95533 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 11:27:30 +00:00
peterv%netscape.com
f74c7ea12a
Fix for bug 7515 (load stylesheets inserted dynamically through the DOM). r=heikki, harishd. sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@95505 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 02:59:15 +00:00
ftang%netscape.com
201b62d65e
fix bug 81266 for simon@softel.co.il
...
r=ftang sr=jst
fix UMR
git-svn-id: svn://10.0.0.236/trunk@95354 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 01:10:54 +00:00
vidur%netscape.com
51d5bb6a4a
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
...
git-svn-id: svn://10.0.0.236/trunk@95228 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 05:54:16 +00:00
jst%netscape.com
45064c050c
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
...
git-svn-id: svn://10.0.0.236/trunk@95202 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 02:37:30 +00:00
attinasi%netscape.com
7d8ef6f0d0
STOP stipping whitespace from name attribute on Map element. b=79738 r=harishd sr=shaver
...
git-svn-id: svn://10.0.0.236/trunk@95109 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-16 05:32:38 +00:00
harishd%netscape.com
8e7bf84767
75641 - Fixing MLK caused by unclosed FONT tags ( penguin.html )
...
r=heikki sr=waterson
77352 - Making sure that the heading tags' size takes precedence over
residual style tags' size info.
r=pollmann sr=attinasi
57248 - Moved attribute entity parsing to the parser land.
r=heikki sr=jst.
git-svn-id: svn://10.0.0.236/trunk@95062 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 22:32:26 +00:00
radha%netscape.com
4693dd0f7c
fix for bug # 72197 javascript url casues problems with SH. r=rpotts sr=blizzard
...
git-svn-id: svn://10.0.0.236/trunk@95061 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 22:27:01 +00:00