1660 Commits

Author SHA1 Message Date
akkana%netscape.com
bc8b6d116e 13750,13753,14075,15293,13873,12551:
- Rewrite wrapping logic for plaintext output sink,
  and run all output through the wrapping/formatting Write method
  (which now has logic to determine when we should be wrapping).
- Handle blockquote type=cite mail quotes.
- Write several new regression tests for plaintext output bugs,
  and include those tests and their expected output into the
  automated output test.
r=sfraser,harishd


git-svn-id: svn://10.0.0.236/trunk@50072 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 01:10:32 +00:00
harishd%netscape.com
0b8b118754 Cleaned up warnings. R=rickg
git-svn-id: svn://10.0.0.236/trunk@50044 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 23:24:28 +00:00
harishd%netscape.com
77f9635cce Fix for Bugs
13640, 13736 - Memory leaks - R=rickg
1312 - Hooked up XHTML DOCTYPE - R=rickg
7590 - Prematuredly closing <SCRIPT> on seeing </SCRIPTERR>
2749 - Strict comment handling for noquirks mode - R=rickg
14955 - LEGEND inside FIELDSET was causing infinite looping - R=rickg,pollmann
14952 - LABEL got closed on seeing SPAN (LABEL can contain SPAN ) - R=pollmann
15381 - comment handling for XIF and HTML - R=akkana
15346 - Stray end tag caused loading blank document - R=rickg,pollmann


git-svn-id: svn://10.0.0.236/trunk@49988 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 19:04:29 +00:00
kipp%netscape.com
8626b336eb Added ctor/dtor counting to the parser tokens
git-svn-id: svn://10.0.0.236/trunk@49842 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 15:00:05 +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
89cd4dd015 Fixed name of CID to be CID
git-svn-id: svn://10.0.0.236/trunk@49452 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 21:02:20 +00:00
rickg%netscape.com
2e61d329ed replaced ANSI false with PR_FALSE; sorry about that
git-svn-id: svn://10.0.0.236/trunk@49401 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 05:10:45 +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
akkana%netscape.com
1afad03102 Lots of wrapping and whitespace fixes
git-svn-id: svn://10.0.0.236/trunk@49319 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-29 20:17:07 +00:00
briano%netscape.com
ac10e1225d QNX-specific addition to deal with _PRSTR items properly.
git-svn-id: svn://10.0.0.236/trunk@49274 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-29 02:47:05 +00:00
kipp%netscape.com
3008d163f5 new
git-svn-id: svn://10.0.0.236/trunk@49165 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-28 00:44:47 +00:00
vidur%netscape.com
43e788c816 Fixed a leak of the observer service. This could also use NS_WITH_SERVICE. A: leaf R: shaver.
git-svn-id: svn://10.0.0.236/trunk@49149 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-27 21:14:01 +00:00
kipp%netscape.com
2f8faa4f89 Removed most of the static ctors
git-svn-id: svn://10.0.0.236/trunk@49058 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-25 20:05:51 +00:00
nisheeth%netscape.com
351d8f1643 Use NSPR logging rather than printf's for stopwatch output.
git-svn-id: svn://10.0.0.236/trunk@48975 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 08:57:36 +00:00
nisheeth%netscape.com
f622365890 Stop printing out the total time measurement in the parser. Do this measurement up in the webshell.
git-svn-id: svn://10.0.0.236/trunk@48971 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 07:14:42 +00:00
harishd%netscape.com
16c41b22bc Fix for bug 14767.
[A] chofmann [R] nisheeth


git-svn-id: svn://10.0.0.236/trunk@48922 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-23 21:26:40 +00:00
rickg%netscape.com
b5bb9a48c0 improve timer usage in parsing engine for more accurate report
git-svn-id: svn://10.0.0.236/trunk@48839 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 07:41: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
harishd%netscape.com
3304eaed01 Fix for bugs 13113, and 12631.
git-svn-id: svn://10.0.0.236/trunk@48754 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 03:05:25 +00:00
rickg%netscape.com
c97f39f769 fix to bug 13688
git-svn-id: svn://10.0.0.236/trunk@48529 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 06:37:53 +00:00
nisheeth%netscape.com
4e29281319 - Stop the stopwatch *before* the reference to the parser is released!
- Include util.lib into the list of statically linked libraries


git-svn-id: svn://10.0.0.236/trunk@48523 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 06:23:10 +00:00
kipp%netscape.com
c4b871aef6 Eliminate a warning
git-svn-id: svn://10.0.0.236/trunk@48480 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 02:09:46 +00:00
harishd%netscape.com
7a4a0e5db4 Fix for bugs 13498, 14199, 8389, 13640.
git-svn-id: svn://10.0.0.236/trunk@48445 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 00:24:28 +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
akkana%netscape.com
9678ef579b Fix sink stream so that it works when parsing from html as well as from XIF
git-svn-id: svn://10.0.0.236/trunk@48387 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 21:05:47 +00:00
warren%netscape.com
8a533d4ca4 freed tree nodes in nsAVLTree
git-svn-id: svn://10.0.0.236/trunk@48373 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 20:54:12 +00:00
rickg%netscape.com
62a4c30ee3 allow newline in text runs for better text performance on linux/mac
git-svn-id: svn://10.0.0.236/trunk@48354 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 19:27:41 +00:00
rickg%netscape.com
7b9656a8ce fixed newline breakage I caused trying to fix bug 13688
git-svn-id: svn://10.0.0.236/trunk@48352 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 19:17:47 +00:00
rickg%netscape.com
9f277b8d25 fixes to bugs: 9283, 13210, 13845, 13688, 14265, 14308, 14314
git-svn-id: svn://10.0.0.236/trunk@48320 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 05:20:46 +00:00
rickg%netscape.com
207d88ebf9 removed a bunch of statically constructed objects
git-svn-id: svn://10.0.0.236/trunk@48258 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-19 16:51:08 +00:00
slamm%netscape.com
480f213b49 Rename arguments that shadows class members.
git-svn-id: svn://10.0.0.236/trunk@48146 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 01:32:27 +00:00
ftang%netscape.com
14d7307a98 fix 5974 by passing parser command to the tag observer
git-svn-id: svn://10.0.0.236/trunk@47786 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 14:17:45 +00:00
harishd%netscape.com
7fbf7d9dd3 Hooking up ISO doctypes [ These are mapped to strict DTD ].
git-svn-id: svn://10.0.0.236/trunk@47684 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 00:07:46 +00:00
jdunn%netscape.com
f864b22774 Move static constructor into function instead of global. It was coredumping on AIX
git-svn-id: svn://10.0.0.236/trunk@47650 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 21:10:43 +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
harishd%netscape.com
10a9e27c68 Adding support for DOCTYPE.
Also, fix for bug 13566.


git-svn-id: svn://10.0.0.236/trunk@47593 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 17:54:23 +00:00
ramiro%netscape.com
e324fbd024 Cleanup the neckutil linking thing.
git-svn-id: svn://10.0.0.236/trunk@47500 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 02:15:11 +00:00
akkana%netscape.com
18a7c600b5 Fix mem leak similar to 13641
git-svn-id: svn://10.0.0.236/trunk@47177 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 21:50:04 +00:00
akkana%netscape.com
bcaf5ec635 Fix memory leak 13641: don't allocate a new CAttributeToken unless we're going to pass it to AddAttribute
git-svn-id: svn://10.0.0.236/trunk@47156 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 20:26:14 +00:00
mcafee%netscape.com
26d1fb813f Tweaking pinkerton's switch to nsAutoString to avoid crashing! (13598)
git-svn-id: svn://10.0.0.236/trunk@46941 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 07:56:08 +00:00
briano%netscape.com
661307307a General cleanup.
git-svn-id: svn://10.0.0.236/trunk@46915 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 01:43:34 +00:00
pinkerton%netscape.com
87dacbb1ba getting rid of new/delete pairs for string buffers. using nsAutoSTring and CBufDescriptor where appropriate.
git-svn-id: svn://10.0.0.236/trunk@46880 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 23:19:44 +00:00
pinkerton%netscape.com
ad88eaf89c adding get_iid
git-svn-id: svn://10.0.0.236/trunk@46879 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 23:19:15 +00:00
jdunn%netscape.com
0bae64df6e on HP... libraptorhtmlpars.sl HAS to be linked with aCC so we will
special case it until we can get all of seamonkey to link with aCC
(currently libgfx_gtk.sl won't link with aCC)


git-svn-id: svn://10.0.0.236/trunk@46878 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 23:19:09 +00:00
akkana%netscape.com
d444fffb40 Backing out change to write the override charset in a meta tag.
The charset menu should be changing the meta tag in the document,
which the output sink will pick up automatically without needing
any special code.  See bugs 12085 (on seeing two meta charset tags)
and 7849 (that the charset menu should change the actual meta tag
in the document).


git-svn-id: svn://10.0.0.236/trunk@46850 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 22:32:32 +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
harishd%netscape.com
47b7b8b3d5 Fix for bug 12184.
Changed Notify() method, in nsDTDUtils, to
support viewing source in the desired charset.


git-svn-id: svn://10.0.0.236/trunk@46800 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 18:51:16 +00:00
colin%theblakes.com
fcb954f629 OpenVMS specific changes for PRSTR items
git-svn-id: svn://10.0.0.236/trunk@46660 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 00:02:23 +00:00
warren%netscape.com
de60d2685c Removed NS_BASE_STREAM_EOF in favor of returning a count of 0 from Read to indicate EOF. Renamed GetLength to Available. Fixed a number of places where AppendElement's broken error code wasn't checked.
git-svn-id: svn://10.0.0.236/trunk@46637 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 22:05:05 +00:00