Commit Graph
90 Commits
Author SHA1 Message Date
stephend@netscape.com 67f4c976c6 Part of the fix for bug 52154, 'Make gui for view source coloring pref' r=akkana@netscape.com sr=hewitt@netscape.com 2001-04-04 03:18:34 +00:00
disttsc@bart.nl a72f505720 bug 73339: Remove NS_ConvertToString (just another name for NS_ConvertASCIItoUCS2) from the tree. r=jst, sr=scc 2001-03-27 11:17:17 +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
harishd@netscape.com b4b63d2acb Made parser nodes arena allocated. Also, fixed a few potential leaks.
Note: Parser nodes could be heap allocated by enabling HEAP_ALLOCATED_NODES flag.
r=jst
sr=vidur
2001-01-25 19:37:23 +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
attinasi@netscape.com 96a253b7cf Changed font specification from 'monospace' to '-moz-fixed' to enforce fixed-width fonts always. b=58098 r=dbaron,rickg a=buster 2000-10-30 22:20:56 +00:00
warren@netscape.com 0462ea4ce8 Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren@netscape.com 7730ce0cd3 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
akkana@netscape.com 2eb6f1211a 52154: make view source highlighting prefable. Contribution from jce2@po.cwru.edu, r=me, a=brendan 2000-09-14 18:51:05 +00:00
sfraser@netscape.com d7df2cb4c8 Part of fix for 49187 -- don't hardcode font size of view source, so that it uses browser defaults. r=ben 2000-09-02 04:17:17 +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
harishd@netscape.com db74c8ad11 40809 ( nsbeta2+ ) - Replace "\r\n" with "\n" and CR with LF instead of stripping off CRs altogether - in view source.
r=dbaran@fas.harvard.edu
2000-07-06 20:40:26 +00:00
dbaron@fas.harvard.edu 7b6ec0e75f Fix string assertions. b=42936 code=jst,dbaron r=harishd 2000-06-21 00:53:34 +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
buster@netscape.com bce36568a2 added runtime control for rick's strict dtd work, so engineers can continue to work with existing non-compliant test cases
disabled error reporting in view source, at rick's request
no bug number
r=rickg
a=rickg
2000-06-11 05:05:07 +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 9c23f5c8bc fixed DTD selection bugs; entity bugs; conditionally enabled Strict DTD 2000-04-17 06:33:31 +00:00
harishd@netscape.com f62c0ad973 Fix for
28965 32523 -- Setting Document key to nsISupports
34308
19575 - Fixed had by replacing PRUnichar array with nsDeque.

r=ftang
22786 - Accounting for attributes on <HTML> tag [ this got backed out before ]
r=nisheeth
2000-04-04 23:58:40 +00:00
scc@netscape.com fbf1212b0e making string conversions explict 2000-04-03 08:09:23 +00:00
rickg@netscape.com bb1454996b removed unused includes; fixed addref bug; r=karnaze 2000-04-01 00:23:24 +00:00
rickg@netscape.com 0ea99a3238 fixed bug33466 2000-03-28 00:00:39 +00:00
rickg@netscape.com 775e5ddc35 leak removal; r=harishd 2000-03-26 04:45:45 +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 2ec9abe818 removed calls to deprecated string methods 2000-03-12 22:22:24 +00:00
rickg@netscape.com f893513a91 removed calls to deprecated string methods 2000-03-12 09:14:14 +00:00
pavlov@netscape.com a2c75e1152 fix windows build problems 2000-03-11 03:35:49 +00:00
pavlov@netscape.com 846ce6eadf changes to let us build on MacOS X 2000-03-11 03:08:04 +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 11965cca2f Removed debug setting so that viewsource will show formatting again. r=buster 2000-01-03 19:40:00 +00:00
rickg@netscape.com c028bc687e fixed bugs 17663, 17750, 21779, 21787, 22351, 22406; r=dcone, kmcclusk; a=jar 1999-12-22 23:12:49 +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 7303862101 This fixes PDT+Bug:20228. The essential problem was the lack of refcounting on tokenizers. Also fixed unchecked
dereferences in expattokenizer. r=kmcclusk; a=chofmann.
1999-12-10 04:01:26 +00:00
rickg@netscape.com 2d7ce57d5a fixed PDT+19121; r=kmcclusk 1999-12-03 00:30:29 +00:00
rickg@netscape.com a4af500b5f various bug fixes (PDT+ and other); removed warnings. r=syd 1999-12-02 10:14:42 +00:00
rickg@netscape.com a086a213a5 fixed bug18312; this isn't PDT+, but is something that Phil has been *really* anxious to have fixed. r=nisheeth 1999-11-23 03:09:12 +00:00
rickg@netscape.com 197c796e93 2nd half of parser wip; lots of bugs; r=harishd 1999-11-14 06:23:11 +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 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 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
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
rickg@netscape.com e05d6e8a90 fixes to bugs: 9283, 13210, 13845, 13688, 14265, 14308, 14314 1999-09-20 05:20:46 +00:00
ftang@netscape.com eb5880a469 fix 5974 by passing parser command to the tag observer 1999-09-16 14:17:45 +00:00
kipp@netscape.com 59a8facb42 Added text/css support 1999-09-15 20:29:54 +00:00