mrbkap%gmail.com
bdc788666f
bug 70918: view-source adds > to tags that are missing them. r=bzbarsky sr=dmose
...
git-svn-id: svn://10.0.0.236/trunk@163915 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-17 03:03:46 +00:00
peterv%propagandism.org
7697906006
Merging patch by gerv (from mozilla/htmlparser).
...
Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155383 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-23 13:24:28 +00:00
caillon%returnzero.com
a3976d7340
230953 - Remove traces of dtd-debug. r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@151358 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-15 04:50:10 +00:00
bzbarsky%mit.edu
4077674504
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
git-svn-id: svn://10.0.0.236/trunk@142588 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-17 16:15:30 +00:00
bzbarsky%mit.edu
ef444a9b4f
Bug 124870. PRBool -> PRPackedBool in lots of places. Patch by
...
dann@godzilla.ics.uci.edu , r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@126401 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 01:22:59 +00:00
harishd%netscape.com
a6dd951b3e
Fix line numbers in html. b=111576, r=heikki, sr=jst, a=asa,chofmann
...
git-svn-id: svn://10.0.0.236/trunk@118658 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 22:16:46 +00:00
harishd%netscape.com
6b93bed21c
Backing out timeless's checkin. This wasn't supposed to happen until we branched
...
git-svn-id: svn://10.0.0.236/trunk@118508 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-09 00:43:00 +00:00
timeless%mac.com
195ad89ec0
Bug 111576 Incorrect line numbers in HTML files
...
patch by harishd, r=heikki, sr=jst, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@118494 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-08 23:52:12 +00:00
dbaron%fas.harvard.edu
772b5b8c58
Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117354 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-24 00:16:18 +00:00
darin%netscape.com
8defbf5d26
b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117002 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:50:33 +00:00
dbaron%fas.harvard.edu
a397ea7022
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
...
git-svn-id: svn://10.0.0.236/trunk@116720 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 15:34:43 +00:00
bzbarsky%mit.edu
94daa7754c
Take out fix of bug 40809, since it no longer seems necessary and hurts
...
performance. Bug 129192, r=harishd, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@116132 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-08 02:43:17 +00:00
bzbarsky%mit.edu
b2eb75e1c1
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
git-svn-id: svn://10.0.0.236/trunk@115533 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 00:07:48 +00:00
harishd%netscape.com
476668ebbc
105137 - Eliminate nsTokens, nsParserNode usage for xml/xbl/xul/rdf documents. r=heikki, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@111618 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 01:37:50 +00:00
jst%netscape.com
e9bd9a6f04
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
...
git-svn-id: svn://10.0.0.236/trunk@109117 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 06:13:11 +00:00
dougt%netscape.com
62a8215278
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
...
git-svn-id: svn://10.0.0.236/trunk@106009 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 01:37:21 +00:00
alecf%netscape.com
70a0f7b3ce
fix for bug 100895, contributed by jonsmirl@mediaone.net
...
r=harishd, sr=alecf
slam dunk those dependencies!
git-svn-id: svn://10.0.0.236/trunk@105004 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 04:13:16 +00:00
rbs%maths.uq.edu.au
8cedb518ee
Back-end to allow viewsource to toggle wrapping of long lines. b=22022 r=bzbarsky sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@102241 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 01:02:58 +00:00
harishd%netscape.com
36086848b7
91320 - Removed unused files from htmlparser module and created a public directory.
...
r= heikki
sr=vidur
git-svn-id: svn://10.0.0.236/trunk@100322 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-03 21:15:15 +00:00
rbs%maths.uq.edu.au
5aab9ce2eb
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
...
git-svn-id: svn://10.0.0.236/trunk@93620 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-02 04:55:30 +00:00
rbs%maths.uq.edu.au
45b99efaab
Improve the speed of viewsource - Patch of Boris Zbarsky <bzbarsky@mit.edu> b=74486 r=rbs r=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@92532 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 07:23:04 +00:00
heikki%netscape.com
a4f8173ec8
Bug 44564. Problems with internal subset, especially with view source XML. Also fixed CDATA section problems. Some cleanups. r=harishd, sr=vidur.
...
git-svn-id: svn://10.0.0.236/trunk@86136 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-03 01:13:55 +00:00
vidur%netscape.com
3e62b3f9f3
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
...
git-svn-id: svn://10.0.0.236/trunk@83553 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 21:58:14 +00:00
vidur%netscape.com
4217ab8759
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
...
git-svn-id: svn://10.0.0.236/trunk@77806 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 00:57:14 +00:00
harishd%netscape.com
34a0c50b1e
46702 ( nsbeta3+ ) Partial - Made token cache to be arena based.
...
r=vidur
git-svn-id: svn://10.0.0.236/trunk@77624 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 18:22:03 +00:00
rickg%netscape.com
50cc48a787
fixed nsBeta2+ bugs: 42180, 42270; added env setting for view-errors, which is disabled by default. r=pollmann; a=pdt
...
git-svn-id: svn://10.0.0.236/trunk@72088 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 02:50:24 +00:00
rickg%netscape.com
2e1ef1b2c7
fixed several nsbeta2+ bugs; r=harish, buster; a=pdt
...
git-svn-id: svn://10.0.0.236/trunk@71963 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-10 02:53:04 +00:00
harishd%netscape.com
3ae31acebc
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
git-svn-id: svn://10.0.0.236/trunk@70609 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 21:32:06 +00:00
rickg%netscape.com
6792920069
StrictDTD WIP and fixed mode regression
...
git-svn-id: svn://10.0.0.236/trunk@68210 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 05:53:52 +00:00
rickg%netscape.com
bea8b36d30
fixed bug 28825, 30780, 31723 plus wip for travis; r=harishd
...
git-svn-id: svn://10.0.0.236/trunk@64098 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 03:35:50 +00:00
rickg%netscape.com
0ab79b600b
fixed 22340, 23749, 23931, 24419, 25522, 25630, 25845 and 25895; r=harishd
...
git-svn-id: svn://10.0.0.236/trunk@60478 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 12:11:29 +00:00
rickg%netscape.com
4446b7a92a
fixed bugs: 22510, 22596, 22670, 22838, 22842, 22898, and removed a warning. r=buster
...
git-svn-id: svn://10.0.0.236/trunk@56679 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-03 23:24:04 +00:00
rickg%netscape.com
35b0b37df3
landing residual style handling; r=harishd, buster, kmcclusk for various parts; a=jar
...
git-svn-id: svn://10.0.0.236/trunk@56275 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 07:53:20 +00:00
rickg%netscape.com
0a160eb0a8
various bug fixes (PDT+ and other); removed warnings. r=syd
...
git-svn-id: svn://10.0.0.236/trunk@55067 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 10:14:42 +00:00
harishd%netscape.com
1e6fe5a7f5
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
git-svn-id: svn://10.0.0.236/trunk@53402 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-13 03:53:11 +00:00
dmose%mozilla.org
0efb7c174c
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +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
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
harishd%netscape.com
5d3d91189e
Fix for Bug# 3571.
...
Added Terminate() method in nsIDTD.
git-svn-id: svn://10.0.0.236/trunk@41187 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 00:54:46 +00:00
jfrancis%netscape.com
d4d1113f4f
assorted work to expose nav html dtd to the editor
...
git-svn-id: svn://10.0.0.236/trunk@40179 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 22:49:21 +00:00
rickg%netscape.com
0bae0c1a04
faster viewing of text, bugs: 7889, 7892, 8047, 3795
...
git-svn-id: svn://10.0.0.236/trunk@35098 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 21:24:25 +00:00
rickg%netscape.com
1f82bdb300
fixed bug 6597 and added memory allocation conditioning
...
git-svn-id: svn://10.0.0.236/trunk@32284 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 05:01:46 +00:00
rickg%netscape.com
716929551b
major rev to parsing engine
...
git-svn-id: svn://10.0.0.236/trunk@26286 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 06:55:49 +00:00
rickg%netscape.com
b91799a999
minor fixes to parser; fixed DoCopy
...
git-svn-id: svn://10.0.0.236/trunk@24668 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 10:19:09 +00:00
rickg%netscape.com
2a7f41a86b
fixed a dozen bugs
...
git-svn-id: svn://10.0.0.236/trunk@24432 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 08:47:51 +00:00
rickg%netscape.com
5012f4e582
small bug fixes and removal of global statics
...
git-svn-id: svn://10.0.0.236/trunk@22072 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 06:33:54 +00:00
harishd%netscape.com
a8f3c33c80
Enabling view source window to display title.
...
Added methods OpenHead() and CloseHead() to
the CViewSourceHTML class.
git-svn-id: svn://10.0.0.236/trunk@21919 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 17:43:16 +00:00
rickg%netscape.com
7d4f2c2c76
new primaryDetect code in DTD detection system; fixes XIF
...
git-svn-id: svn://10.0.0.236/trunk@21236 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 23:45:44 +00:00
rickg%netscape.com
20a3af2667
fixed a wad of parser bugs
...
git-svn-id: svn://10.0.0.236/trunk@18556 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 01:24:31 +00:00