777 Commits

Author SHA1 Message Date
rickg%netscape.com
217ed89f11 fixed bug16624; r=buster. Buffer used to translate unicode entities in forms wasn't being truncated.
git-svn-id: svn://10.0.0.236/trunk@51048 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-18 22:39:58 +00:00
harishd%netscape.com
cd72403513 Fix for Bug 16126 -- Error message was not getting propagated
to the parser ( CNavDTD::AddLeaf() )
Related to bug 16578 - Throwing userdefined tags to the floor
( what we used to do before ). This will avoid people from being
blocked.   Will work on a fix later.

r=nisheeth


git-svn-id: svn://10.0.0.236/trunk@51017 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-18 20:23:27 +00:00
rickg%netscape.com
756b010b94 another WIP for bug 13536; added charset notification back in; r=harish
git-svn-id: svn://10.0.0.236/trunk@50975 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-18 05:14:38 +00:00
rickg%netscape.com
d16fa469ea removed warnings; no material code affected
git-svn-id: svn://10.0.0.236/trunk@50944 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-17 07:01:10 +00:00
rickg%netscape.com
1a6a40a3c6 Fix (perf) bug 13536 dealing with viewsource; r=kmcclusk.
Viewsource is now based on XML. These changes make viewsource 2X faster,
30% smaller (in obj code), and uses between 30-60% less markup overhead.
This update also enables stylesheet usage on viewsource, which is controlled
by the viewsource namespace  in html.css.

Also, note that viewsource remains (and always has been) fully incremental.
Remaining performance issues are in contentsink as shown in quantify runs.


git-svn-id: svn://10.0.0.236/trunk@50938 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-17 02:50:38 +00:00
rickg%netscape.com
7f8bd4a5fc improve debug timing code for ongoing perf work; not enabled in normal build. r=peterl
git-svn-id: svn://10.0.0.236/trunk@50937 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-17 02:45:26 +00:00
nisheeth%netscape.com
c916cc6da1 Changes do not get built in regular build. Fix timing hooks in the parser.
git-svn-id: svn://10.0.0.236/trunk@50896 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 23:42:09 +00:00
harishd%netscape.com
1cd0327569 Bug fix 2749 - Tweaked comment handling in quirks mode.
Bug fix 15992 - Line breaks within script and style were not getting counted
Related to bug 15423 - Rectified a glitch in Nav. DTD code where a doctype tag
                                         was opening up a body.
Userdefined tags are now treated as containers.
Added Kipp's Leaky Tool

r=pollmann.


git-svn-id: svn://10.0.0.236/trunk@50722 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:37:21 +00:00
beard%netscape.com
c49f31fb70 fixing a memory leak, just use an nsAutoString. bug=15380, r=harishd
git-svn-id: svn://10.0.0.236/trunk@50625 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 23:59:27 +00:00
waterson%netscape.com
30e53d03e9 Bug 16105. (Bugsplat 366256.) Ensure that nsISupports::Release() calls dtor only once by 'stabilizing' refcnt to a non-zero value before invoking the dtor. See also news://news.mozilla.org/37FD0F3C.3078AE5C%40netscape.com. r=scc,fur
git-svn-id: svn://10.0.0.236/trunk@50416 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 03:05:10 +00:00
dveditz%netscape.com
30a83caa1d Fixing 8.3 library name problems, bugs 10355, 10359,10364, 10365, 10372, 11796, 11791. Checking in for cathleen, r=dveditz
git-svn-id: svn://10.0.0.236/trunk@50322 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-10 01:32:59 +00:00
rickg%netscape.com
24c8eb13e7 added default XML apos entity; no bug #. This update (and my last) were reviewed by peterl
git-svn-id: svn://10.0.0.236/trunk@50226 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 15:05:41 +00:00
rickg%netscape.com
7bfc990fcf fixed bug 15649; when the parsing library was modularized last week, tag lookup for view source got disconnected. This simply reconnects it.
git-svn-id: svn://10.0.0.236/trunk@50225 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 14:52:16 +00:00
warren%netscape.com
c9fbdb8075 Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty.
git-svn-id: svn://10.0.0.236/trunk@50188 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 01:49:06 +00:00
rickg%netscape.com
32ae9a79ff fixed bug 15881; r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@50170 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 23:52:29 +00:00
rickg%netscape.com
dee37d8ec6 fixed bug 15788; r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@50169 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 23:51:29 +00:00
harishd%netscape.com
946d742a4d In reference to bug # 12415
Added assertion ( per warrne's request ) to detect null char occasionally appearing in the input
stream provided by necko
R=pollmann


git-svn-id: svn://10.0.0.236/trunk@50073 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 01:30:56 +00:00
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