99 Commits

Author SHA1 Message Date
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
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
waterson%netscape.com
c19863b651 Remove unnecessary #include that breaks gcc-3.0; r=pierre,harishd.
git-svn-id: svn://10.0.0.236/trunk@86368 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:28:44 +00:00
jst%netscape.com
17e33bbc26 Checking in for bug 50742, this change removes the use of XIF in mozilla and replaces the XIF converter with a HTML (and XML) serializer.
Contextual information added to HTML copy and intelligence added to HTML paste in the editor (fixes bugs 47014, 50568 and 46554, and partly (at least) fixes bug 53188).

Code written by vidur, jfrancis, jst, akkana. Tested by jfrancis, akkana, vidur, jst, kin. Reviwed (and super reviewed) by waterson, vidur, kin, jfrancis, jst


git-svn-id: svn://10.0.0.236/trunk@80681 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 10:57:30 +00:00
harishd%netscape.com
34a0c50b1e 46702 ( nsbeta3+ ) Partial - Made token cache to be arena based.
r=vidur


git-svn-id: svn://10.0.0.236/trunk@77624 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 18:22:03 +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
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
warren%netscape.com
997161d193 Factored string bundles out of necko. Fixes bug 42107 - need to fix string bundle init workaround. Also bug 40506 - nsIWebProgressListener needs status text. Status messages now work in mozilla and viewer with internationalized and parameterized text! Added temporary error architecture until bug 13423 can be fixed. Extended nsIStringBundleService to provide method to format status message. r=valeski,jband,tao. verified=mstoltz
git-svn-id: svn://10.0.0.236/trunk@74729 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 05:45:56 +00:00
harishd%netscape.com
0389aba1fa Fix for
38601 - Calling DidBuildModel(), through nsParser::Terminate(),
        for documents stopped abruptly ( stopped before a complete load ).
Fixed a few warnings.
r=nisheeth


git-svn-id: svn://10.0.0.236/trunk@69863 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 21:08:57 +00:00
sfraser%netscape.com
7cc03763f5 Fix typo -- "public:;"
git-svn-id: svn://10.0.0.236/trunk@69810 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 19:00:32 +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
beard%netscape.com
ef844473ce Fixing Mac bustage.
git-svn-id: svn://10.0.0.236/trunk@68312 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 01:43:13 +00:00
harishd%netscape.com
28983782c2 Let's see if this fixes the bustage
git-svn-id: svn://10.0.0.236/trunk@68310 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 01:21:55 +00:00
harishd%netscape.com
0fb553bf96 Added method CreateCompatibleDTD() to retrieve an
instance of a DTD based on DOCTYPE, or MIMETYPE.

r=rickg


git-svn-id: svn://10.0.0.236/trunk@68300 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 00:33:16 +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
harishd%netscape.com
6eca6899fa Fixed a silly mistake in my previous checkin.
r=pollmann


git-svn-id: svn://10.0.0.236/trunk@68173 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 23:36:52 +00:00
harishd%netscape.com
0275e427e2 34458 - Added static APIs to determine DTD for a given
DOCTYPE,MIMETYPE,COMMAND.
r=rickg,pollmann
33397 - Fixed the NOSCRIPT interference on residual style handling.
r=rickg.
35456 - Emulating Nav. for documents with unclosed STYLE and SCRIPT.
37052 - Handling XMP content.
r=pollmann


git-svn-id: svn://10.0.0.236/trunk@68152 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 22:09:09 +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
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
6fca8208a2 fixed PDT+ bug 30026; r=harishd, markA; a=jar
git-svn-id: svn://10.0.0.236/trunk@62635 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 08:08:24 +00:00
rickg%netscape.com
ac4f0092a0 fixed bug18312; this isn't PDT+, but is something that Phil has been *really* anxious to have fixed. r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@54244 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 03:09:12 +00:00
jdunn%netscape.com
68a5a4a034 removing ';' from the end of the macros, since the macro in nsTimer.h
already handles the trailing ';'.
NOTE: trying to compile a ';' fails on AIX


git-svn-id: svn://10.0.0.236/trunk@53239 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 21:35:34 +00:00
nisheeth%netscape.com
2bfa653735 a=sdagley. Move over to new timing macros...
git-svn-id: svn://10.0.0.236/trunk@53064 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-10 03:41:09 +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
cls%seawood.org
3e1a9ca95a Removed unused NECKO ifdefs.
a=leaf


git-svn-id: svn://10.0.0.236/trunk@52607 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 23:34:03 +00:00
rickg%netscape.com
b14a509c76 fixed bug17388, dtd leak; r=mscott
git-svn-id: svn://10.0.0.236/trunk@52069 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-28 07:53:21 +00:00
nisheeth%netscape.com
b7fab4e31c Changes should not affect the build. Renaming the RAPTOR_PERF_METRICS ifdef to MOZ_PERF_METRICS.
git-svn-id: svn://10.0.0.236/trunk@51196 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-19 22:27:20 +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
rickg%netscape.com
447e168990 performance and bug fixes: r=buster a=chofmann
git-svn-id: svn://10.0.0.236/trunk@49400 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 04:04:53 +00:00
rickg%netscape.com
001a404a26 added DEBUG timing code to parsing engine
git-svn-id: svn://10.0.0.236/trunk@48814 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 06:19:50 +00:00
nisheeth%netscape.com
654347a177 Add a stopwatch to measure total time (parsing, content creation, frame creation, style resolution, and reflow) in the parser.
git-svn-id: svn://10.0.0.236/trunk@48418 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 22:24:33 +00:00
harishd%netscape.com
404bb38877 Replacing ostream to nsStream in DebugDump methods.
git-svn-id: svn://10.0.0.236/trunk@45706 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 18:30:31 +00:00
harishd%netscape.com
51c8b6da88 Cleaned up some code.
Fixed  bugs 5974, 12641, and 12389.


git-svn-id: svn://10.0.0.236/trunk@45396 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 01:01:21 +00:00
mccabe%netscape.com
0ee0c94bc4 NS_DECL_NSIFOO spam for nsIRequest, nsIChannel, nsIStreamListener, nsIStreamObserver, all from netwerk/
convert manual interface method declarations in implementation class to NS_DECL_NSIFOO macro.


git-svn-id: svn://10.0.0.236/trunk@44059 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-22 13:26:18 +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
harishd%netscape.com
5d3d91189e Fix for Bug# 3571.
Added Terminate() method in nsIDTD.


git-svn-id: svn://10.0.0.236/trunk@41187 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 00:54:46 +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
sspitzer%netscape.com
a3c086765e this pragma is only for windows
git-svn-id: svn://10.0.0.236/trunk@40665 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 17:44:19 +00:00
harishd%netscape.com
37dab34213 Added Observernotification for XML PI, cleaned up some warnings.
git-svn-id: svn://10.0.0.236/trunk@39752 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 21:07:54 +00:00
nisheeth%netscape.com
77b04b9c0b Fix for bug 8703. We now display errors for incomplete XML files like "<b><c></c>". XML_Parse() was not being called with the isFinal parameter set to TRUE after the last chunk of data was passed to expat. Fixed.
git-svn-id: svn://10.0.0.236/trunk@39521 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-15 08:23:37 +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
warren%netscape.com
f165677628 Added channel argument to nsIStreamObserver/nsIStreamListener/nsIProgressEventSink methods.
git-svn-id: svn://10.0.0.236/trunk@38659 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 08:08:40 +00:00
warren%netscape.com
8b1231e0ae Renamed OnStartBinding/OnStopBinding to OnStartRequest/OnStopRequest (removing the redundant ones from necko). Numerous necko fixes. Necko now using nsIPrompt interface instead of nsINetSupport.
git-svn-id: svn://10.0.0.236/trunk@37754 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 19:30:20 +00:00
mscott%netscape.com
fddcf47e13 necko change: nsIStreamListener::OnDataAvailable now takes a nsIInputStream instead of a nsIBufferInputStream.
git-svn-id: svn://10.0.0.236/trunk@37223 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 20:43:28 +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
warren%netscape.com
7792abe2c0 Parser changes for necko.
git-svn-id: svn://10.0.0.236/trunk@36014 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-21 00:33:51 +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
43d615affd Added IsValidFragment()
git-svn-id: svn://10.0.0.236/trunk@32922 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 06:44:44 +00:00