52 Commits

Author SHA1 Message Date
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
0374f36974 Merging patch by jst (from mozilla/htmlparser).
Fixing bug 241328. Eliminating dead code, and making some classes use less memory on some 64-bit platforms. Also doing some general cleaning. r+sr=bzbarsky@mit.edu


git-svn-id: svn://10.0.0.236/trunk@155384 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-23 13:29:02 +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
dougt%netscape.com
fed2927b2c Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a “only include” cid list that can mask CID’s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.


git-svn-id: svn://10.0.0.236/trunk@139480 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 01:04:32 +00:00
harishd%netscape.com
a2a40a39a6 Backing out my changes to see if it fixes the orangeness
git-svn-id: svn://10.0.0.236/trunk@135202 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-13 00:28:47 +00:00
harishd%netscape.com
b38cebbd49 Reduce the size of CStartToken. b=179523, r=heikki sr=jst.
Added a couple of testcases to the parser regression test suite


git-svn-id: svn://10.0.0.236/trunk@135185 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-12 22:38:40 +00:00
bzbarsky%mit.edu
4f51e5b41e use prefix ++, not postfix ++. Bug 82615, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@128743 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 22:23:22 +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
harishd%netscape.com
aebb8f7c06 Reduce the size of tokens. b=113657, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@111954 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 19:39:57 +00:00
dbaron%fas.harvard.edu
1382ac90eb Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst
git-svn-id: svn://10.0.0.236/trunk@105468 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 05:31:36 +00:00
gerv%gerv.net
cf694b8116 License changes, take 2. Bug 98089. mozilla/include/, /mozilla/htmlparser/, /mozilla/intl/ (part 1).
git-svn-id: svn://10.0.0.236/trunk@103776 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 00:40:45 +00:00
disttsc%bart.nl
abd8de21e5 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


git-svn-id: svn://10.0.0.236/trunk@88947 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 08:05:05 +00:00
dbaron%fas.harvard.edu
5f0a7ab9bd Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@85654 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 23:06:33 +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
harishd%netscape.com
69b6374ae7 7670 - Enabling NOSCRIPT content.
47827 - Make sure to check DD's hierarchy.

r=jst


git-svn-id: svn://10.0.0.236/trunk@77890 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 18:17:17 +00:00
harishd%netscape.com
fd74c76338 Solaris build bustage..
r=scc


git-svn-id: svn://10.0.0.236/trunk@77738 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 04:21:39 +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
57616b9065 removed warnings; retry landing Strict DTD. r=harishd
git-svn-id: svn://10.0.0.236/trunk@66430 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 08:08:28 +00:00
scc%netscape.com
dd2b4f8ffb making string conversions explict
git-svn-id: svn://10.0.0.236/trunk@65023 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 08:09:23 +00:00
nisheeth%netscape.com
9c91417984 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.


git-svn-id: svn://10.0.0.236/trunk@64553 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 01:41:48 +00:00
rickg%netscape.com
fc42d987f5 removed warnings; r=none
git-svn-id: svn://10.0.0.236/trunk@64107 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 05:38:11 +00:00
harishd%netscape.com
a3e274d547 Added AppendSource() into keep the semantics of
GetSource() alive. This should give us some performance
in adding skipped content to the node.

r=pollmann


git-svn-id: svn://10.0.0.236/trunk@63877 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 21:19:05 +00:00
harishd%netscape.com
e3a8dd5b19 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


git-svn-id: svn://10.0.0.236/trunk@63769 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 22:13:50 +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
harishd%netscape.com
77f9635cce 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


git-svn-id: svn://10.0.0.236/trunk@49988 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 19:04:29 +00:00
kipp%netscape.com
8626b336eb Added ctor/dtor counting to the parser tokens
git-svn-id: svn://10.0.0.236/trunk@49842 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 15:00:05 +00:00
harishd%netscape.com
404bb38877 Replacing ostream to nsStream in DebugDump methods.
git-svn-id: svn://10.0.0.236/trunk@45706 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 18:30:31 +00:00
rickg%netscape.com
6f7f47de92 corrected string usage errors and removed warning
git-svn-id: svn://10.0.0.236/trunk@45065 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-29 17:35:19 +00:00
rickg%netscape.com
1de3f3dd0a fix bugs 8523, 9127, parially fix 8803
git-svn-id: svn://10.0.0.236/trunk@38647 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 07:40:35 +00:00
rickg%netscape.com
8cc14193f7 final features for parsing engine (WIP); lots of bug fixes
git-svn-id: svn://10.0.0.236/trunk@31835 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 05:27:23 +00:00
rickg%netscape.com
c1a9c636d1 sync with new nsString2 API
git-svn-id: svn://10.0.0.236/trunk@28426 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 04:02:14 +00:00
rickg%netscape.com
630bba7859 update to sync up with nsString api
git-svn-id: svn://10.0.0.236/trunk@26290 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 08:44:55 +00:00
rickg%netscape.com
c8fc6237d4 A wad of changes to the parser. See my update
git-svn-id: svn://10.0.0.236/trunk@17433 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 01:09:02 +00:00
rickg%netscape.com
2167e0743c many parser bugs; better backward propagation
git-svn-id: svn://10.0.0.236/trunk@7818 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 08:53:55 +00:00
rickg%netscape.com
8f5813c0a2 WIP for token reduction and a few bug fixes
git-svn-id: svn://10.0.0.236/trunk@7298 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 02:01:44 +00:00
rickg%netscape.com
84cc2596cf major perf changes; a few WIP's
git-svn-id: svn://10.0.0.236/trunk@7140 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 21:04:54 +00:00
rickg%netscape.com
1cc0a2a7f3 added line number support to nodes for Javascript
git-svn-id: svn://10.0.0.236/trunk@6457 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 00:29:15 +00:00
rickg%netscape.com
3e91f727ac even more progress in the parser
git-svn-id: svn://10.0.0.236/trunk@6456 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 00:05:29 +00:00
rickg%netscape.com
1988983aeb table bug fixes, heading fixes, performance, docs
git-svn-id: svn://10.0.0.236/trunk@6238 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 08:21:02 +00:00
kipp%netscape.com
04161762b4 Revised sink API's and others to be more xpcom'ish
git-svn-id: svn://10.0.0.236/trunk@5652 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 22:30:39 +00:00
rickg
3564703faa more bug fixes; changed nsHTMLParser to nsParser.
git-svn-id: svn://10.0.0.236/trunk@4110 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 01:00:27 +00:00
rickg
d26713dc46 modest improvements to push, and various bug fixes
git-svn-id: svn://10.0.0.236/trunk@2489 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 07:12:08 +00:00
rickg
f2f5d28308 incremental parsing; xml support; token handler dispatching; performance
git-svn-id: svn://10.0.0.236/trunk@2126 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-21 20:38:32 +00:00
rickg
1253f68df0 got newlines working much better; Kipp still won't be happy, but the, he never is.
git-svn-id: svn://10.0.0.236/trunk@928 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 20:23:07 +00:00
rickg
2c5f8ffeb3 propagation is now online, aren't DTD's cool?
git-svn-id: svn://10.0.0.236/trunk@670 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 19:45:14 +00:00
scullin
5497189f2b Fixed non-virtual destructor, and incorrect stream usages that
gcc didn't like.


git-svn-id: svn://10.0.0.236/trunk@556 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-23 19:10:35 +00:00
rickg
efaf44175a added DTD and propagation capabilities; dynamic entities, containers, token handlers
git-svn-id: svn://10.0.0.236/trunk@514 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 18:32:49 +00:00