Commit Graph
45 Commits
Author SHA1 Message Date
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
harishd@netscape.com 53e5ac7e01 Reduce the size of tokens. b=113657, r=heikki, sr=jst 2002-01-11 19:39:57 +00:00
dbaron@fas.harvard.edu d0430dd000 Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst 2001-10-16 05:31:36 +00:00
gerv@gerv.net 9a421db1b4 License changes, take 2. Bug 98089. mozilla/include/, /mozilla/htmlparser/, /mozilla/intl/ (part 1). 2001-09-26 00:40:45 +00:00
disttsc@bart.nl 82d8a439a8 Change implicit conversion from
|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|ns[C]LiteralString|
|ns[C]PromiseFlatString|

to explicit |get()|.

Add |get()| to |nsString|, remove implicit conversion operators where possible, add NS_WARNING where not (yet!).

Bug=53057, r=alecf, sr=scc
2001-03-08 08:05:05 +00:00
dbaron@fas.harvard.edu 15267f2b5c Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org 2001-01-27 23:06:33 +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
harishd@netscape.com 4f51a3af73 7670 - Enabling NOSCRIPT content.
47827 - Make sure to check DD's hierarchy.

r=jst
2000-09-01 18:17:17 +00:00
harishd@netscape.com 18d222c031 Solaris build bustage..
r=scc
2000-08-31 04:21:39 +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 a9d6be652e removed warnings; retry landing Strict DTD. r=harishd 2000-04-19 08:08:28 +00:00
scc@netscape.com fbf1212b0e making string conversions explict 2000-04-03 08:09:23 +00:00
nisheeth@netscape.com 543dc21b44 r=pollmann. Fix for bug 29395. XML error messages now show up in the content area for XML, RDF, and XUL files. Earlier, they would only show up for XML files.
- Generate tokens in the expat tokenizer to display an XML error message.
- Process those tokens in the XML DTD
- Add a SetStringValue() method to CToken that accepts an nsString parameter.
- Removed code in the XML content sink's NotifyError() method to create error message content.
2000-03-30 01:41:48 +00:00
rickg@netscape.com 5664f82396 removed warnings; r=none 2000-03-25 05:38:11 +00:00
harishd@netscape.com 98fe4a6aac Added AppendSource() into keep the semantics of
GetSource() alive. This should give us some performance
in adding skipped content to the node.

r=pollmann
2000-03-23 21:19:05 +00:00
harishd@netscape.com fc07f22eb8 Fix for Bugs
29048,31392,31940,29379,29735,
25880,26488,27490,31694.

Gist: General bug fixes, Mem. leaks, and
          a little perf. work ( in collectingskipped content ).

r=pollmann
2000-03-22 22:13:50 +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
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
harishd@netscape.com 00d70e7128 Replacing ostream to nsStream in DebugDump methods. 1999-09-02 18:30:31 +00:00
rickg@netscape.com 595cd1448a corrected string usage errors and removed warning 1999-08-29 17:35:19 +00:00
rickg@netscape.com a71f2cb74d fix bugs 8523, 9127, parially fix 8803 1999-07-07 07:40:35 +00:00
rickg@netscape.com 4f3a22f635 final features for parsing engine (WIP); lots of bug fixes 1999-05-16 05:27:23 +00:00
rickg@netscape.com 93b02e8dd9 sync with new nsString2 API 1999-04-21 04:02:14 +00:00
rickg@netscape.com a98e4e8d08 update to sync up with nsString api 1999-04-05 08:44:55 +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 8aacdd4838 many parser bugs; better backward propagation 1998-08-12 08:53:55 +00:00
rickg@netscape.com 31b78ec17f WIP for token reduction and a few bug fixes 1998-08-05 02:01:44 +00:00
rickg@netscape.com 58cf709ba7 major perf changes; a few WIP's 1998-08-03 21:04:54 +00:00
rickg@netscape.com 6b2172e405 added line number support to nodes for Javascript 1998-07-25 00:29:15 +00:00
rickg@netscape.com c537d6ff83 even more progress in the parser 1998-07-25 00:05:29 +00:00
rickg@netscape.com b0e2b21712 table bug fixes, heading fixes, performance, docs 1998-07-23 08:21:02 +00:00
kipp@netscape.com 4c4281fa01 Revised sink API's and others to be more xpcom'ish 1998-07-15 22:30:39 +00:00
rickg 2beb57a9b0 more bug fixes; changed nsHTMLParser to nsParser. 1998-06-19 01:00:27 +00:00
rickg 791d4fce6a modest improvements to push, and various bug fixes 1998-05-28 07:12:08 +00:00
rickg 507a1f8f85 incremental parsing; xml support; token handler dispatching; performance 1998-05-21 20:38:32 +00:00
rickg 7bc232cbfe got newlines working much better; Kipp still won't be happy, but the, he never is. 1998-04-30 20:23:07 +00:00
rickg 6174577006 propagation is now online, aren't DTD's cool? 1998-04-25 19:45:14 +00:00
scullin aa5c3b5911 Fixed non-virtual destructor, and incorrect stream usages that
gcc didn't like.
1998-04-23 19:10:35 +00:00
rickg 12ed2c58bf added DTD and propagation capabilities; dynamic entities, containers, token handlers 1998-04-22 18:32:49 +00:00
rickg 6cec217ffa improved documentation in headers 1998-04-15 17:27:56 +00:00
kipp 4683c6f4c0 moved to pub 1998-04-13 20:24:54 +00:00