Ben Newman
61fbd9bf96
Bug 484121 (6/6) - Don't let DTDs hold parser references. r+sr=mrbkap
2009-06-23 14:22:17 -07:00
Ben Newman
d050b2670c
Bug 484121 (5/6) - Avoid needlessly passing nsIContentSink parameters to nsIDTD methods. r+sr=mrbkap
2009-06-23 14:22:17 -07:00
Ben Newman
7b01bbc5bb
backout of changeset c0fad0d1535d
2009-03-23 20:59:14 -07:00
Ben Newman
199e33bb40
nsIDTD-related improvements (bugs 483939, 484121, 484874). r+sr=mrbkap
2009-03-23 18:26:50 -07:00
Curtis Bartley
480ef2c82a
Bug 464314 - view-source link-browsing doesn't decode entities. r+sr=mrbkap
2009-01-16 16:07:12 +01:00
Neil Rashbrook
d3ac5e79be
Follow-on fixes for bug 17612 r+sr=mrbkap a=beltzner (grudgingly given that I should have filed a new bug)
2008-11-14 11:16:18 +00:00
Curtis Bartley
a3f2748a30
SRC and HREF attributes turned into clickable links in view source. p=cbartley r+sr=mrbkap a=beltzner b=17612
2008-11-10 16:18:39 -05:00
fb62663173
Log parser token refcounting, and fix a number of token leaks in view-source that were also leaking strings. Bug 402633, r+sr=mrbkap
2007-11-07 09:28:22 -08:00
fc37a7014a
Bug 395845. Fix leak of static parser-node cache. Patch by mrbkap. r/sr=sicking
2007-11-05 11:48:12 -08:00
[email protected]
6d25fd2467
bug 324738: Remove some unnecessary complexity from the parser and hardcode DTDs. r=sicking sr=jst
2006-01-26 19:07:41 +00:00
[email protected]
d978e03d83
bug 76412: Clean up some obvious things in the view source DTD, as well as ripping out obsolete and unused error reporting cruft. r+sr=bzbarsky
2005-11-10 22:47:09 +00:00
[email protected]
d4ab578468
Only allocate and copy a string in CAttributeToken::GetStringValue if the string spans multiple buffers. Otherwise, just wrap it with a nsDependentSubstring. Bug 268932, r=bzbarsky, sr=darin.
2004-11-11 03:46:51 +00:00
[email protected]
e18d708383
bug 263083: view-source now reports tokenization-level errors in HTML and XML. r=rbs sr=dmose
2004-10-24 17:32:30 +00:00
[email protected]
a67d3d9e27
bug 70918: view-source adds > to tags that are missing them. r=bzbarsky sr=dmose
2004-10-17 03:03:46 +00:00
[email protected]
1ed76a83d6
Merging patch by gerv (from mozilla/htmlparser).
...
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-23 13:24:28 +00:00
[email protected]
294aae53d9
230953 - Remove traces of dtd-debug. r+sr=jst
2004-01-15 04:50:10 +00:00
[email protected]
3121705e3b
Put line number ids on all the <pre> blocks that we create; this should make it
...
easier to hook up a performant "go to line" UI. Bug 104383, r+sr=rbs, a=asa
2003-05-17 16:15:30 +00:00
[email protected]
aba870aa05
Bug 124870. PRBool -> PRPackedBool in lots of places. Patch by
...
[email protected] , r=heikki, sr=jst
2002-08-06 01:22:59 +00:00
[email protected]
3bae7ffa4a
Fix line numbers in html. b=111576, r=heikki, sr=jst, a=asa,chofmann
2002-04-10 22:16:46 +00:00
[email protected]
e3ca0042cf
Backing out timeless's checkin. This wasn't supposed to happen until we branched
2002-04-09 00:43:00 +00:00
[email protected]
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
[email protected]
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
[email protected]
9808f7ca98
b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa
2002-03-20 22:50:33 +00:00
[email protected]
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
[email protected]
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
[email protected]
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
[email protected]
545be93cae
105137 - Eliminate nsTokens, nsParserNode usage for xml/xbl/xul/rdf documents. r=heikki, sr=jst
2002-01-09 01:37:50 +00:00
[email protected]
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. [email protected] , [email protected]
2001-11-28 06:13:11 +00:00
[email protected]
2605bce49e
Extraneous Symbol Removal. Patch by Jon Smirl [email protected] . [email protected] , [email protected] . Bug 104172 , 104316 , 104420 , 104426 , 104461 , 104511 , 104527
2001-10-23 01:37:21 +00:00
[email protected]
d1fe8c4d78
fix for bug 100895, contributed by [email protected]
...
r=harishd, sr=alecf
slam dunk those dependencies!
2001-10-10 04:13:16 +00:00
[email protected]
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
[email protected]
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
[email protected]
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 [email protected] r=harishd,brendan sr=jst
2001-05-02 04:55:30 +00:00
[email protected]
8915bdfeca
Improve the speed of viewsource - Patch of Boris Zbarsky <[email protected] > b=74486 r=rbs r=attinasi
2001-04-17 07:23:04 +00:00
[email protected]
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
[email protected]
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
[email protected]
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
[email protected]
2aa411b09b
46702 ( nsbeta3+ ) Partial - Made token cache to be arena based.
...
r=vidur
2000-08-30 18:22:03 +00:00
[email protected]
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
[email protected]
860597f4b6
fixed several nsbeta2+ bugs; r=harish, buster; a=pdt
2000-06-10 02:53:04 +00:00
[email protected]
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
[email protected]
da586dbb57
StrictDTD WIP and fixed mode regression
2000-05-04 05:53:52 +00:00
[email protected]
d919a74980
fixed bug 28825, 30780, 31723 plus wip for travis; r=harishd
2000-03-25 03:35:50 +00:00
[email protected]
8ec7c86596
fixed 22340, 23749, 23931, 24419, 25522, 25630, 25845 and 25895; r=harishd
2000-02-11 12:11:29 +00:00
[email protected]
aaa597f6fa
fixed bugs: 22510, 22596, 22670, 22838, 22842, 22898, and removed a warning. r=buster
2000-01-03 23:24:04 +00:00
[email protected]
6af41b60f5
landing residual style handling; r=harishd, buster, kmcclusk for various parts; a=jar
1999-12-21 07:53:20 +00:00
[email protected]
a4af500b5f
various bug fixes (PDT+ and other); removed warnings. r=syd
1999-12-02 10:14:42 +00:00
[email protected]
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
[email protected]
20621227af
updated xPL license boilerplate to v1.1, [email protected] ,[email protected]
1999-11-06 03:43:54 +00:00
[email protected]
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