Commit Graph
54 Commits
Author SHA1 Message Date
bzbarsky@mit.edu aba870aa05 Bug 124870. PRBool -> PRPackedBool in lots of places. Patch by
dann@godzilla.ics.uci.edu, r=heikki, sr=jst
2002-08-06 01:22:59 +00:00
harishd@netscape.com 3bae7ffa4a Fix line numbers in html. b=111576, r=heikki, sr=jst, a=asa,chofmann 2002-04-10 22:16:46 +00:00
harishd@netscape.com e3ca0042cf Backing out timeless's checkin. This wasn't supposed to happen until we branched 2002-04-09 00:43:00 +00:00
timeless@mac.com a6033e0904 Bug 111576 Incorrect line numbers in HTML files
patch by harishd, r=heikki, sr=jst, a=chofmann
2002-04-08 23:52:12 +00:00
dbaron@fas.harvard.edu e990a4631d Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-24 00:16:18 +00:00
darin@netscape.com 9808f7ca98 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa 2002-03-20 22:50:33 +00:00
dbaron@fas.harvard.edu 44d839863a Remove unused (or used only if one of the magic enviroment variables ENABLE_STRICT or MOZ_VALIDATE_HTML was set) parser-related code, mostly associated with the strict DTD. b=130439 r=harishd sr=jst a=shaver 2002-03-16 15:34:43 +00:00
bzbarsky@mit.edu b297759f95 Take out fix of bug 40809, since it no longer seems necessary and hurts
performance.  Bug 129192, r=harishd, sr=jst, a=asa
2002-03-08 02:43:17 +00:00
bzbarsky@mit.edu d72d02cbc2 Make view-source a lot faster on bidi pages by breaking up the page into
multiple blocks.  Bug 86355, r=rbs, sr=jst, a=asa/shaver
2002-03-01 00:07:48 +00:00
harishd@netscape.com 545be93cae 105137 - Eliminate nsTokens, nsParserNode usage for xml/xbl/xul/rdf documents. r=heikki, sr=jst 2002-01-09 01:37:50 +00:00
jst@netscape.com bc89fe4176 Fixing bug 109400. Removing unnecessary layers of abstraction from nsHTMLTags that does nothing for us except using more memory than we need to use, and makes us slower. This makes nsHTMLTags::LookupTag() 4 times faster. r=harishd@netscape.com, rs=vidur@netscape.com 2001-11-28 06:13:11 +00:00
dougt@netscape.com 2605bce49e Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172 , 104316 , 104420 , 104426 , 104461 , 104511 , 104527 2001-10-23 01:37:21 +00:00
alecf@netscape.com d1fe8c4d78 fix for bug 100895, contributed by jonsmirl@mediaone.net
r=harishd, sr=alecf
slam dunk those dependencies!
2001-10-10 04:13:16 +00:00
rbs@maths.uq.edu.au 9b97dcb14c Back-end to allow viewsource to toggle wrapping of long lines. b=22022 r=bzbarsky sr=jst 2001-09-05 01:02:58 +00:00
harishd@netscape.com 89bd085b18 91320 - Removed unused files from htmlparser module and created a public directory.
r= heikki
sr=vidur
2001-08-03 21:15:15 +00:00
rbs@maths.uq.edu.au c3e5230222 Fix bug 76567 (load viewsource.css on demand rather than at startup) and bug 60892 (show title on the viewsource window). Patch mostly by bzbarsky@mit.edu r=harishd,brendan sr=jst 2001-05-02 04:55:30 +00:00
rbs@maths.uq.edu.au 8915bdfeca Improve the speed of viewsource - Patch of Boris Zbarsky <bzbarsky@mit.edu> b=74486 r=rbs r=attinasi 2001-04-17 07:23:04 +00:00
heikki@netscape.com 71acd2de43 Bug 44564. Problems with internal subset, especially with view source XML. Also fixed CDATA section problems. Some cleanups. r=harishd, sr=vidur. 2001-02-03 01:13:55 +00:00
vidur@netscape.com 5d0ca658ca Changes to parser to allow less copying. Use of the new nsSliding[Sub]String classes so that tokens can hold substrings that keep references into the scanner buffer. Cleaned up token interface and general string usage. r=harishd,heikki sr=jst 2000-12-12 21:58:14 +00:00
vidur@netscape.com ab799e69e8 Fix for bug 49187. ViewSource now emits HTML. The VIEW_SOURCE_HTML #define at the top of nsViewSourceHTML.cpp and nsLayoutDLF.cpp allows us to switch back to XML if necessary. The VIEW_SOURCE_COLORING #define in nsViewSourceHTML.cpp allows us to turn on source coloring. Without source coloring (the default right now), bringing up source is considerably faster. r=harishd 2000-09-01 00:57:14 +00:00
harishd@netscape.com 2aa411b09b 46702 ( nsbeta3+ ) Partial - Made token cache to be arena based.
r=vidur
2000-08-30 18:22:03 +00:00
rickg@netscape.com 3f3ef1ce39 fixed nsBeta2+ bugs: 42180, 42270; added env setting for view-errors, which is disabled by default. r=pollmann; a=pdt 2000-06-13 02:50:24 +00:00
rickg@netscape.com 860597f4b6 fixed several nsbeta2+ bugs; r=harish, buster; a=pdt 2000-06-10 02:53:04 +00:00
harishd@netscape.com c010db949d Fix for
36148 - Mlk [ r= rickg ] nsParser::Parse(string)
39713 - Crash caused by an uninitialized ref. counter
39466 - Handling XML error before calling DidBuildModel().

r=nisheeth

a=waterson
2000-05-22 21:32:06 +00:00
rickg@netscape.com da586dbb57 StrictDTD WIP and fixed mode regression 2000-05-04 05:53:52 +00:00
rickg@netscape.com d919a74980 fixed bug 28825, 30780, 31723 plus wip for travis; r=harishd 2000-03-25 03:35:50 +00:00
rickg@netscape.com 8ec7c86596 fixed 22340, 23749, 23931, 24419, 25522, 25630, 25845 and 25895; r=harishd 2000-02-11 12:11:29 +00:00
rickg@netscape.com aaa597f6fa fixed bugs: 22510, 22596, 22670, 22838, 22842, 22898, and removed a warning. r=buster 2000-01-03 23:24:04 +00:00
rickg@netscape.com 6af41b60f5 landing residual style handling; r=harishd, buster, kmcclusk for various parts; a=jar 1999-12-21 07:53:20 +00:00
rickg@netscape.com a4af500b5f various bug fixes (PDT+ and other); removed warnings. r=syd 1999-12-02 10:14:42 +00:00
harishd@netscape.com be2cc5a0e3 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
1999-11-13 03:53:11 +00:00
dmose@mozilla.org 20621227af updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +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 50724adea2 fixed bug 15290; eliminated a leak; r=kmcclusk 1999-10-05 04:54:53 +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
harishd@netscape.com 51fb0d3d0b Fix for Bug# 3571.
Added Terminate() method in nsIDTD.
1999-07-27 00:54:46 +00:00
jfrancis@netscape.com 601651100c assorted work to expose nav html dtd to the editor 1999-07-19 22:49:21 +00:00
rickg@netscape.com 4acdab38c3 faster viewing of text, bugs: 7889, 7892, 8047, 3795 1999-06-13 21:24:25 +00:00
rickg@netscape.com fc107fc38c fixed bug 6597 and added memory allocation conditioning 1999-05-19 05:01:46 +00:00
rickg@netscape.com b7310def66 major rev to parsing engine 1999-04-05 06:55:49 +00:00
rickg@netscape.com 5c0e9b936e minor fixes to parser; fixed DoCopy 1999-03-22 10:19:09 +00:00
rickg@netscape.com 5d13ef5293 fixed a dozen bugs 1999-03-19 08:47:51 +00:00
rickg@netscape.com 32cfdf42d9 small bug fixes and removal of global statics 1999-02-26 06:33:54 +00:00
harishd@netscape.com 383c42ce90 Enabling view source window to display title.
Added methods OpenHead() and CloseHead() to
the CViewSourceHTML class.
1999-02-25 17:43:16 +00:00
rickg@netscape.com d3c9602234 new primaryDetect code in DTD detection system; fixes XIF 1999-02-18 23:45:44 +00:00
rickg@netscape.com 61d8fbcf4d fixed a wad of parser bugs 1999-01-26 01:24:31 +00:00
rickg@netscape.com e429bddf13 fixed a dozen new parser bugs 1999-01-15 19:29:35 +00:00
rickg@netscape.com d596efe232 A wad of changes to the parser. See my update 1999-01-09 01:09:02 +00:00
rickg@netscape.com d7bacce30f cleaned up DTD api's 1998-11-26 03:35:24 +00:00
rickg@netscape.com 0ce3104c2f improvements to recursively parser calls 1998-11-26 02:55:59 +00:00