dbaron%fas.harvard.edu
9a632e0396
Undoing backout of bug 97227 because valeski and rpotts insist. I guess drivers aren't doing approvals after all.
...
git-svn-id: svn://10.0.0.236/trunk@102072 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-31 04:28:26 +00:00
dbaron%fas.harvard.edu
5f0d92745b
Backing out unapproved checkin for bug 97227. a=brendan,blizzard
...
git-svn-id: svn://10.0.0.236/trunk@102064 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-31 03:45:20 +00:00
rpotts%netscape.com
3d787fbce9
bug #97227 (r=valeski, sr=vidur). This patch makes all calls to nsIWebBrowserChrome::SetStatus(...) display synchronously.
...
git-svn-id: svn://10.0.0.236/trunk@102039 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-30 21:47:45 +00:00
hyatt%netscape.com
4f51638ef4
Fix for 95475. r=jag, sr=ben, a=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@101788 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-25 02:01:08 +00:00
darin%netscape.com
fd7138d231
workaround fix for blocker bug 96440 r=harishd, sr=vidur, a=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@101710 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-23 18:59:46 +00:00
darin%netscape.com
c45df76363
fixes bug 90288 (part 2) "not honoring Pragma: no-cache from HTTP-EQUIV"
...
r=gagan, sr=dougt
git-svn-id: svn://10.0.0.236/trunk@101577 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-22 00:38:46 +00:00
harishd%netscape.com
9a07a3e168
94903 - Don't forgot to resume parsing if loading external js fails.
...
r=heikki,sr=jst
git-svn-id: svn://10.0.0.236/trunk@101351 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 22:24:39 +00:00
bryner%netscape.com
7da361b479
Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@101283 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 08:14:14 +00:00
rpotts%netscape.com
92ac833e09
bug #94205 . Adding flags to nsIWebNavigation::Stop().
...
git-svn-id: svn://10.0.0.236/trunk@101001 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-14 04:46:20 +00:00
jst%netscape.com
e00d456156
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
...
git-svn-id: svn://10.0.0.236/trunk@100856 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-11 00:37:27 +00:00
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