104 Commits

Author SHA1 Message Date
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
jst%netscape.com
3b31ece558 Checking in patch from sbanu@softwin.ro that enables view-source of text/sgml in mozilla, fixes bug 76671. r=harishd@netscape.com, sr=me.
git-svn-id: svn://10.0.0.236/trunk@93923 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-04 10:13:25 +00:00
timeless%mac.com
bb6fa05909 Bugzilla Bug 77080 Show application/x-javascript in browser window instead of trying to download
fix by bzbarsky@mit.edu, r=harishd, sr=jst


git-svn-id: svn://10.0.0.236/trunk@93852 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-03 22:28:44 +00:00
shanjian%netscape.com
8c2e5edb63 #43529 Propagate charset override in frames
r = ftang sr=erik
Charset from parent frame should take precedence of charset from cache.


git-svn-id: svn://10.0.0.236/trunk@93312 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 21:47:14 +00:00
heikki%netscape.com
425ae2f19f Forgot a file, fix bustage.
git-svn-id: svn://10.0.0.236/trunk@93178 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-26 20:46:17 +00:00
harishd%netscape.com
d2199013d8 69455 - enable noframes content when frames are disabled
r=heikki,sr=waterson,a=choffmann


git-svn-id: svn://10.0.0.236/trunk@92885 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-21 22:22:15 +00:00
harishd%netscape.com
ebecf5a4cb 68790 - Remove nsHTMLContentSinkStream dependency. Not in use anymore
r=heikki
sr=jst


git-svn-id: svn://10.0.0.236/trunk@92594 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 23:23:33 +00:00
darin%netscape.com
9d03c579d0 Necko API changes, bug 74221. r=valeski, sr=rpotts.
git-svn-id: svn://10.0.0.236/trunk@91842 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-10 06:01:08 +00:00
blakeross%telocity.com
f21f284aef Removing non-compliant text/xul mimetype, replacing with application/vnd.mozilla.xul+xml (28237, patch by gerv@gerv.net). r=blake sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@90374 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 16:49:38 +00:00
harishd%netscape.com
ad2e158d13 68008 - After evaluating the external JS content make sure to that the parser is not blocked before resumeparsing.
r=jst sr=vidur a=blizzard
68160 - Set stream listener state to eOnStop only on the final context.
r=nisheeth sr=vidur a=blizzard.


git-svn-id: svn://10.0.0.236/trunk@86704 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 22:36:23 +00:00
harishd%netscape.com
6cb66fa5cb 63423 - Unblock parser before evaluating external js content.
63661 - Do not create an end token automatically if the tag did not contain '>'
33051 - Handle residual style before closing a tag.
58992 - Leaf content should go thro' the normal HandleToken path.
61462 - Release parser bundle only when the parser is about to shutdown

r=jst
sr=vidur


git-svn-id: svn://10.0.0.236/trunk@86373 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:35:29 +00:00
shanjian%netscape.com
89140f3d56 #59268
backup to previous version because of new problem found with this fix.


git-svn-id: svn://10.0.0.236/trunk@84829 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 00:36:21 +00:00
shanjian%netscape.com
2ab8e639bc #59268 Autodetection should not override charset from cache and bookmark
r = ftang
sr = erik
lower the priority of autodection.


git-svn-id: svn://10.0.0.236/trunk@84673 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 22:18:44 +00:00
harishd%netscape.com
446727274f 56070 - Rewrote the handling of misplaced content inside TABLE to also be effective when document
is provided in multipel buffers.
62954 - DD is not a legal child of SELECT.

r=heikki
sr=vidur


git-svn-id: svn://10.0.0.236/trunk@84384 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 22:15:06 +00:00
rickg%netscape.com
ece465da5b fixed nsbeta3 bugs (crash and compatibility), an FMM, reduced memory usage. Top100+Regression tests ok. R=harishd/buster
git-svn-id: svn://10.0.0.236/trunk@78537 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 23:06:13 +00:00
harishd%netscape.com
69b6374ae7 7670 - Enabling NOSCRIPT content.
47827 - Make sure to check DD's hierarchy.

r=jst


git-svn-id: svn://10.0.0.236/trunk@77890 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 18:17:17 +00:00
akkana%netscape.com
76d428f3cc 41868 and 45994: Expose CreateComparibleDTD. r=Harishd
git-svn-id: svn://10.0.0.236/trunk@77409 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 23:45:08 +00:00
ftang%netscape.com
16518d2f5d fix 50072. move the order of kCharsetFromAutoDetect higher than kCharsetFromCache
and kCharsetFromBookmark


git-svn-id: svn://10.0.0.236/trunk@77194 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 07:48:50 +00:00
jst%netscape.com
7e0575bfee DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc
git-svn-id: svn://10.0.0.236/trunk@76967 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 17:27:06 +00:00
ftang%netscape.com
cae2e05f83 Check in the fix for jbetak. Move the priority of the bookmark / cache up. fix bug 18022
r=jbetak/ftang


git-svn-id: svn://10.0.0.236/trunk@73327 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 21:29:28 +00:00
jbetak%netscape.com
3270617bdb 18022, bookmark doc charset caching
r=rjc, ftang, a=ftang


git-svn-id: svn://10.0.0.236/trunk@71216 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 01:08:28 +00:00
harishd%netscape.com
d2f44f024a Parser regression test. Triggered by PARSER_DUMP_CONTENT env. flag
under NS_DEBUG.

r=rickg
a=rickg


git-svn-id: svn://10.0.0.236/trunk@70917 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 19:45:26 +00:00
harishd%netscape.com
1ddf9f1307 Fix for bugs:
34351 ( nsbeta2+ ) - Made webshell service available to
observer base through parser bundle.
37503,36852 ( nsbeta2+ ) - Fixed crash in Observer base...
( caused by a wrong assumtion for document key ). The key now is
always nsISupports*.
24474 - Fixed content leakage in my.netscape.com caused by a script
entity in LAYER.
31890 - Mlk fix ( patch provided by Patrick ) ( r=me )

r= nisheeth


git-svn-id: svn://10.0.0.236/trunk@69671 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 19:24:59 +00:00
rickg%netscape.com
6792920069 StrictDTD WIP and fixed mode regression
git-svn-id: svn://10.0.0.236/trunk@68210 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 05:53:52 +00:00
nisheeth%netscape.com
8a6a52bef1 1) Added support for loading an XML document "out of band" from script and manipulating it via dom interfaces.
2) Fixed compile errors in XSL glue code that happened after the recent nsString landing by scc.
3) Added a check for a null URI before de-referencing it in nsCodeBasePrincipal.cpp.


git-svn-id: svn://10.0.0.236/trunk@67709 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 06:58:53 +00:00
harishd%netscape.com
3f72307bc5 Fix for
26583,2946, 22636 (partial),32782
33570,27136,24184,35125,
35806,36063,29456
r=rickg,waqar
34311 - Patch provided by Patrick ( Fix for MLK ).
r=me.


git-svn-id: svn://10.0.0.236/trunk@66741 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:22:03 +00:00
rickg%netscape.com
e986fc3858 fixed DTD selection bugs; entity bugs; conditionally enabled Strict DTD
git-svn-id: svn://10.0.0.236/trunk@66182 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 06:33:31 +00:00
rickg%netscape.com
fc42d987f5 removed warnings; r=none
git-svn-id: svn://10.0.0.236/trunk@64107 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 05:38:11 +00:00
rickg%netscape.com
bea8b36d30 fixed bug 28825, 30780, 31723 plus wip for travis; r=harishd
git-svn-id: svn://10.0.0.236/trunk@64098 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 03:35:50 +00:00
rickg%netscape.com
0ab79b600b fixed 22340, 23749, 23931, 24419, 25522, 25630, 25845 and 25895; r=harishd
git-svn-id: svn://10.0.0.236/trunk@60478 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 12:11:29 +00:00
rickg%netscape.com
a01e50e17f 2nd half of parser wip; lots of bugs; r=harishd
git-svn-id: svn://10.0.0.236/trunk@53451 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-14 06:23:11 +00:00
harishd%netscape.com
1e6fe5a7f5 This checkin contains combined work of rickg and harishd
Harishd's Changes:
 Fix for bugs
 2749    - Tweaked strict comment handling, i.e., <!------> is now treated as an illegal comment in strict mode
16934   - Rectifed reporting of JS line error when a newline is found within a tag.
15204   - Made TEXTAREA content to reflect the source document.
11979, 16826  - Stoping the parser properly on receiving the stop-error message.
17594   - Added code to parse <!DOCTYPE> content correctly.
17496   - Building up the stack for orphaned OPTIONs

r=rickg

Rickg's Changes:
  rickg will be posting comments on his changes by 11/12/99.

r=harishd


git-svn-id: svn://10.0.0.236/trunk@53402 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-13 03:53:11 +00:00
dmose%mozilla.org
0efb7c174c updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
rickg%netscape.com
685d8d596e fixed bug 15290; eliminated a leak; r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@49805 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 04:54:53 +00:00
vidur%netscape.com
30b1f0a71b Converted parser into a module. NS_NewFoo routines are temporarily inlined to call component manager. Introduced nsIParserService for temporary replacement of nsHTMLTags and nsHTMLEntities static methods. RickG to do complete review.
git-svn-id: svn://10.0.0.236/trunk@49499 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 22:01:48 +00:00
kipp%netscape.com
a4f58b7e5c Added text/css support
git-svn-id: svn://10.0.0.236/trunk@47636 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 20:29:54 +00:00
ftang%netscape.com
06fda7c308 add constant for byte order makr detection
git-svn-id: svn://10.0.0.236/trunk@46814 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 18:58:37 +00:00
ftang%netscape.com
22a8bbbcc8 add one more constant
git-svn-id: svn://10.0.0.236/trunk@44527 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 21:38:24 +00:00
ftang%netscape.com
85eaada20b add two new constant
git-svn-id: svn://10.0.0.236/trunk@44267 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 07:17:46 +00:00
harishd%netscape.com
aa418dc7e3 Made EnableParse() to return nsresult. Used to return PRBool
git-svn-id: svn://10.0.0.236/trunk@41356 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 23:32:30 +00:00
rickg%netscape.com
aed2a73b26 remove warnings, bug fixes, API enhancements
git-svn-id: svn://10.0.0.236/trunk@41054 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-25 17:23:24 +00:00
rickg%netscape.com
1958024e3d bug fixes, warning removal, perf. improvements
git-svn-id: svn://10.0.0.236/trunk@39702 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 17:31:38 +00:00
rickg%netscape.com
c2aacff36d fixed bug 9386 and added Terminate() to parser API
git-svn-id: svn://10.0.0.236/trunk@38783 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-08 04:39:38 +00:00
waterson%netscape.com
7a1b68ea24 Add GetIID()'s to interfaces.
git-svn-id: svn://10.0.0.236/trunk@37528 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-30 19:12:21 +00:00
warren%netscape.com
06d707be48 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too.
git-svn-id: svn://10.0.0.236/trunk@36440 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 03:29:44 +00:00
ftang%netscape.com
b018cf10ce push SetParserFilter from nsParser.h to nsIParser.h
git-svn-id: svn://10.0.0.236/trunk@35517 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:29:54 +00:00
akkana%netscape.com
5731d83f36 Vidur's initial implementation of Insert HTML Fragment
git-svn-id: svn://10.0.0.236/trunk@33637 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:38:38 +00:00
rickg%netscape.com
1f82bdb300 fixed bug 6597 and added memory allocation conditioning
git-svn-id: svn://10.0.0.236/trunk@32284 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 05:01:46 +00:00
waterson%netscape.com
8434a7ac0f Remove fstream.h to fix bustage.
git-svn-id: svn://10.0.0.236/trunk@32249 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 03:45:50 +00:00
rickg%netscape.com
8cc14193f7 final features for parsing engine (WIP); lots of bug fixes
git-svn-id: svn://10.0.0.236/trunk@31835 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 05:27:23 +00:00