Commit Graph
896 Commits
Author SHA1 Message Date
rickg@netscape.com c26d2ea289 fixed bug16624; r=buster. Buffer used to translate unicode entities in forms wasn't being truncated. 1999-10-18 22:39:58 +00:00
harishd@netscape.com 1127de2560 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
1999-10-18 20:23:27 +00:00
rickg@netscape.com ab6959fbd1 another WIP for bug 13536; added charset notification back in; r=harish 1999-10-18 05:14:38 +00:00
rickg@netscape.com c66eae4000 removed warnings; no material code affected 1999-10-17 07:01:10 +00:00
rickg@netscape.com 61284dc91a 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.
1999-10-17 02:50:38 +00:00
rickg@netscape.com bcfa60a2ea improve debug timing code for ongoing perf work; not enabled in normal build. r=peterl 1999-10-17 02:45:26 +00:00
nisheeth@netscape.com 16e6ab84e4 Changes do not get built in regular build. Fix timing hooks in the parser. 1999-10-15 23:42:09 +00:00
harishd@netscape.com a73350ce77 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.
1999-10-14 23:37:21 +00:00
beard@netscape.com 327935a2ec fixing a memory leak, just use an nsAutoString. bug=15380, r=harishd 1999-10-13 23:59:27 +00:00
waterson@netscape.com 66100de2fb 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 1999-10-12 03:05:10 +00:00
dveditz@netscape.com e4c61f2088 Fixing 8.3 library name problems, bugs 10355, 10359,10364, 10365, 10372, 11796, 11791. Checking in for cathleen, r=dveditz 1999-10-10 01:32:59 +00:00
rickg@netscape.com 9aa3e100ab added default XML apos entity; no bug #. This update (and my last) were reviewed by peterl 1999-10-08 15:05:41 +00:00
rickg@netscape.com eafa17e260 fixed bug 15649; when the parsing library was modularized last week, tag lookup for view source got disconnected. This simply reconnects it. 1999-10-08 14:52:16 +00:00
warren@netscape.com 525b59f80b Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty. 1999-10-08 01:49:06 +00:00
rickg@netscape.com 591a931e83 fixed bug 15881; r=kmcclusk 1999-10-07 23:52:29 +00:00
rickg@netscape.com 777d8b6a00 fixed bug 15788; r=kmcclusk 1999-10-07 23:51:29 +00:00
harishd@netscape.com c5b1b66fa0 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
1999-10-07 01:30:56 +00:00
akkana@netscape.com 12b0b81af9 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
1999-10-07 01:10:32 +00:00
harishd@netscape.com 92630bfeeb Cleaned up warnings. R=rickg 1999-10-06 23:24:28 +00:00
harishd@netscape.com 921d2e7a2b 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
1999-10-06 19:04:29 +00:00
kipp@netscape.com 8c54709fff Added ctor/dtor counting to the parser tokens 1999-10-05 15:00:05 +00:00
rickg@netscape.com 50724adea2 fixed bug 15290; eliminated a leak; r=kmcclusk 1999-10-05 04:54:53 +00:00
rpotts@netscape.com 0e9ad26987 bug #15341 and bug #15344. Use the documentloader observer instead of a stream observer. 1999-10-05 04:04:16 +00:00
beard@netscape.com c3a82c2a86 changed from directly using "MSL DropInRuntime.Lib" to using "NSComponentStartup.o" to enable GC leak detector. r=smfr 1999-10-03 20:46:23 +00:00
akkana@netscape.com 14ee4f46b4 Automated tests of output. Not part of apprunner, not built by default.
Fix Compare() function;
add lots of before and after files for testing various regressions;
add a TestOutSinks script which tests the known cases.
1999-10-01 20:55:01 +00:00
vidur@netscape.com b5d99354e2 added files: mozilla/htmlparser/src/nsParserModule.cpp, removed files: mozilla/htmlparser/src/nsParserFactory.cpp 1999-09-30 22:11:48 +00:00
vidur@netscape.com 13e2eeacbb 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. 1999-09-30 22:01:48 +00:00
kipp@netscape.com 027fa7bb53 Fixed name of CID to be CID 1999-09-30 21:02:20 +00:00
rickg@netscape.com 24e5caaded replaced ANSI false with PR_FALSE; sorry about that 1999-09-30 05:10:45 +00:00
rickg@netscape.com 8ca3fde4d4 performance and bug fixes: r=buster a=chofmann 1999-09-30 04:04:53 +00:00
akkana@netscape.com bb99f557bf Fix cvsignore since the program name changed 1999-09-29 20:29:50 +00:00
akkana@netscape.com 52669b9681 Lots of wrapping and whitespace fixes 1999-09-29 20:17:07 +00:00
akkana@netscape.com 3a26a8c64d Many changes to make output test really useful. Fix Windows makefile. Add some sample test input files 1999-09-29 20:11:07 +00:00
briano@netscape.com 0220a6fac2 QNX-specific addition to deal with _PRSTR items properly. 1999-09-29 02:47:05 +00:00
kipp@netscape.com 4546843373 new 1999-09-28 00:44:47 +00:00
vidur@netscape.com b82284e255 Fixed a leak of the observer service. This could also use NS_WITH_SERVICE. A: leaf R: shaver. 1999-09-27 21:14:01 +00:00
kipp@netscape.com 88d0b9d790 Removed most of the static ctors 1999-09-25 20:05:51 +00:00
nisheeth@netscape.com e99f7f9cef Use NSPR logging rather than printf's for stopwatch output. 1999-09-24 08:57:36 +00:00
nisheeth@netscape.com 6cc5f47f18 Stop printing out the total time measurement in the parser. Do this measurement up in the webshell. 1999-09-24 07:14:42 +00:00
harishd@netscape.com 80f5741234 Fix for bug 14767.
[A] chofmann [R] nisheeth
1999-09-23 21:26:40 +00:00
rickg@netscape.com e1b034d38b improve timer usage in parsing engine for more accurate report 1999-09-22 07:41:53 +00:00
rickg@netscape.com f4bcbe75f9 added DEBUG timing code to parsing engine 1999-09-22 06:19:50 +00:00
harishd@netscape.com c326592365 Fix for bugs 13113, and 12631. 1999-09-22 03:05:25 +00:00
rickg@netscape.com c4808b2028 fix to bug 13688 1999-09-21 06:37:53 +00:00
nisheeth@netscape.com bbc55b977b - Stop the stopwatch *before* the reference to the parser is released!
- Include util.lib into the list of statically linked libraries
1999-09-21 06:23:10 +00:00
kipp@netscape.com 0176bd92b3 Eliminate a warning 1999-09-21 02:09:46 +00:00
harishd@netscape.com 6050cf9948 Fix for bugs 13498, 14199, 8389, 13640. 1999-09-21 00:24:28 +00:00
nisheeth@netscape.com 4f0732cd69 Add a stopwatch to measure total time (parsing, content creation, frame creation, style resolution, and reflow) in the parser. 1999-09-20 22:24:33 +00:00
akkana@netscape.com d8c08c537b Pass formatted flag along in plaintext case 1999-09-20 21:06:29 +00:00
akkana@netscape.com 28fbe58c93 Fix sink stream so that it works when parsing from html as well as from XIF 1999-09-20 21:05:47 +00:00