1618 Commits

Author SHA1 Message Date
Peter.VanderBeken%pandora.be
328e0907f9 Renaming NS_PARSER_IID to NS_PARSER_CID, because it *is* a CID. r=jag, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@89252 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 21:02:12 +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
heikki%netscape.com
e90510463a Bug 66786, fix UMR in GetLine(). Fix by Daniel Bratell (bratell@lysator.liu.se). r=heikki, sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@88755 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 02:03:57 +00:00
scc%mozilla.org
a6d2242b23 r=jst, avoid deprecated operator
git-svn-id: svn://10.0.0.236/trunk@88652 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 08:33:00 +00:00
harishd%netscape.com
a552b6d057 Backing out a unintentional change.
r=jst


git-svn-id: svn://10.0.0.236/trunk@88464 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 02:52:57 +00:00
harishd%netscape.com
9a1300e224 69160 - Parser stack & sink stack should be 1:1 even when handling nested MAPs.
3248  - Added Support for http headers ( link,content-base,default-style ) in the sink.
41426 - Making sure that XML like syntax ( <tag/> ) does not produce an extra end tag ( <tag></tag> ) in view-source.
62803 - Stop processing NOFRAME content ( will have to add support to process the content once we have to ability to turn off frames).

r=heikki,sr=vidur


git-svn-id: svn://10.0.0.236/trunk@88427 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 00:37:04 +00:00
disttsc%bart.nl
d30c2be76b Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc
git-svn-id: svn://10.0.0.236/trunk@88396 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 09:26:57 +00:00
jst%netscape.com
f1c950aacf Removing unused files. r=harishd@netscape.com
git-svn-id: svn://10.0.0.236/trunk@88346 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 00:35:33 +00:00
jst%netscape.com
e0bc7c26b2 Don't export unused nsXIFDTD.h file. r=harishd@netscape.com
git-svn-id: svn://10.0.0.236/trunk@88345 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 00:33:13 +00:00
jst%netscape.com
17245c1709 Removing unused files. r=harishd@netscape.com
git-svn-id: svn://10.0.0.236/trunk@88339 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 00:10:33 +00:00
dprice%netscape.com
8e4007e560 # 65845 sr=waterson, new order files will greatly reduce the number of link warnings.
git-svn-id: svn://10.0.0.236/trunk@88058 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 04:38:19 +00:00
nisheeth%netscape.com
bcdcfa2b17 r=harishd. sr=vidur. Fix for bug 44094. Fixes off by one error in column number in XML error message.
git-svn-id: svn://10.0.0.236/trunk@87783 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 06:44:37 +00:00
disttsc%bart.nl
edc70961f6 Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls
git-svn-id: svn://10.0.0.236/trunk@87655 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 09:35:51 +00:00
dougt%netscape.com
175245e2de Relanding Necko Changes.
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:

1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

r=darin@netscape.com
sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@87587 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 20:38:08 +00:00
harishd%netscape.com
5dc914c42b Modified parser test script.
** NOT PART OF THE BUILD **


git-svn-id: svn://10.0.0.236/trunk@87211 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 17:44:23 +00:00
akkana%netscape.com
db324cca20 61757: fix a character type problem. Fix provided by Charles Hannum <mycroft@netbsd.org>, r=me, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@86959 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 01:23:23 +00:00
scc%mozilla.org
c1d8f1bc86 bug #66562: r=harish, sr=brendan, a=blizzard. Make |document.write| work.
git-svn-id: svn://10.0.0.236/trunk@86935 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 21:26:58 +00:00
dprice%netscape.com
fe020ec48a 65845 first cut of the order files
git-svn-id: svn://10.0.0.236/trunk@86883 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 02:48:02 +00:00
disttsc%bart.nl
03f69c5003 Back out dougt's channel changes
git-svn-id: svn://10.0.0.236/trunk@86793 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 03:14:23 +00:00
scc%mozilla.org
1ee3d0b751 fix bustage caused by access violations not caught in CodeWarrior <sorry>
git-svn-id: svn://10.0.0.236/trunk@86722 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 01:05:43 +00:00
dougt%netscape.com
7af79c83df Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols).  The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

The full details of the change on written up in the netlib newsgroup.

r=darin@netscape.com
sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@86717 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 00:16:26 +00:00
scc%mozilla.org
9ffaf9da8b bug #66562: r=harishd, sr=brendan, a=brendan. Allow insertion into sliding string buffers
git-svn-id: svn://10.0.0.236/trunk@86715 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 00:02:28 +00:00
harishd%netscape.com
ad2e158d13 68008 - After evaluating the external JS content make sure to that the parser is not blocked before resumeparsing.
r=jst sr=vidur a=blizzard
68160 - Set stream listener state to eOnStop only on the final context.
r=nisheeth sr=vidur a=blizzard.


git-svn-id: svn://10.0.0.236/trunk@86704 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 22:36:23 +00:00
bratell%lysator.liu.se
c4bbc667c3 Removing files that are no longer used. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@86506 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 06:52:24 +00:00
harishd%netscape.com
6cb66fa5cb 63423 - Unblock parser before evaluating external js content.
63661 - Do not create an end token automatically if the tag did not contain '>'
33051 - Handle residual style before closing a tag.
58992 - Leaf content should go thro' the normal HandleToken path.
61462 - Release parser bundle only when the parser is about to shutdown

r=jst
sr=vidur


git-svn-id: svn://10.0.0.236/trunk@86373 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:35:29 +00:00
waterson%netscape.com
c19863b651 Remove unnecessary #include that breaks gcc-3.0; r=pierre,harishd.
git-svn-id: svn://10.0.0.236/trunk@86368 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:28:44 +00:00
pinkerton%netscape.com
ce9fa42472 Removing HTML->text sink from the parser. r=akkana/sr=vidur. bug 62432.
git-svn-id: svn://10.0.0.236/trunk@86325 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 07:15:32 +00:00
disttsc%bart.nl
31beb62d48 ``death to iostreams in htmlparser!''. For real this time. bug=58344, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@86227 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 14:37:33 +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
anthonyd%netscape.com
df07100265 bug fix for 67007, user tags being consumed
r=akkana
sr=harishd


git-svn-id: svn://10.0.0.236/trunk@86005 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 23:57:24 +00:00
harishd%netscape.com
d0e63392d0 Trying to fix the orangeness!
git-svn-id: svn://10.0.0.236/trunk@86001 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 22:26:44 +00:00
harishd%netscape.com
4541137502 61630 - propagate onstop request.
48256 - Verify hierarchy requested by a child tag.
43678 - Make TABLE a legal child of P.
58942 - MAP is not a legal child of TR!
57999 - When the parser is enabled make sure to pass correct information to ResumeParse().
59669 - Remove a warning.

r=heikki
sr=vidur


git-svn-id: svn://10.0.0.236/trunk@85991 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 21:03:48 +00:00
gagan%netscape.com
f3f5b36700 Optimization for scheme comparison of URIs. See bug 66577 for details. r=darin, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@85797 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 01:33:03 +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
harishd%netscape.com
7a086d6265 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


git-svn-id: svn://10.0.0.236/trunk@85501 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 19:37:23 +00:00
mkaply%us.ibm.com
65486aa684 #65732
r=cls
Make SHORT_LIBNAMEs (used by OS/2 only) match Windows DLL names


git-svn-id: svn://10.0.0.236/trunk@85083 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 15:35:00 +00:00
heikki%netscape.com
f18ce5bc62 Bug 64448, comments in internal subset moved to before internal subset. I also fixed some static global variables and NS_GET_IID stuff. r=harishd, sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@85027 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 18:59:12 +00:00
harishd%netscape.com
4b939ebc0d 60498 - Strip off embedded null char found between tokens/tags.
r=heikki
sr=vidur


git-svn-id: svn://10.0.0.236/trunk@84889 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 21:16:40 +00:00
harishd%netscape.com
b845e28629 Minor modification to the regression script.
** NOT PART OF THE BUILD **


git-svn-id: svn://10.0.0.236/trunk@84880 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 20:08:03 +00:00
harishd%netscape.com
1af0a398e8 64576 -- Make sure to update termial string position to avoid infinite looping.
r=heikki
sr=vidur


git-svn-id: svn://10.0.0.236/trunk@84874 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 19:50:25 +00:00
harishd%netscape.com
ae4b93cd7d Used for regression testing
git-svn-id: svn://10.0.0.236/trunk@84873 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 19:23:21 +00:00
shanjian%netscape.com
89140f3d56 #59268
backup to previous version because of new problem found with this fix.


git-svn-id: svn://10.0.0.236/trunk@84829 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 00:36:21 +00:00
harishd%netscape.com
eedd41dfb3 64622 - Make sure that IsResidualStyleTag() returns the correct value. That is, return TRUE for tags that fall under residual style category.
r=jst
sr=vidur


git-svn-id: svn://10.0.0.236/trunk@84807 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 21:31:03 +00:00
akkana%netscape.com
509c902a05 42452,61173: output formatted lists even in unformatted plaintext output. r=bratell, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@84740 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 22:08:08 +00:00
dbaron%fas.harvard.edu
7deb350f0f Remove static constructors. GetScratchString was no longer used and GetTempStack was used too rarely to be a real performance benefit. r=harishd@netscape.com sr=waterson@netscape.com b=63014
git-svn-id: svn://10.0.0.236/trunk@84702 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 04:04:08 +00:00
shanjian%netscape.com
2ab8e639bc #59268 Autodetection should not override charset from cache and bookmark
r = ftang
sr = erik
lower the priority of autodection.


git-svn-id: svn://10.0.0.236/trunk@84673 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 22:18:44 +00:00
jst%netscape.com
1533a03b6b Fix crash in the XML error reporter (and doing some cleanup), the format string for printf'ing out numbers should be %d, not %s! r=harishd@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84656 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 19:54:37 +00:00
rickg%netscape.com
d391c75b1a removed a few warnings
git-svn-id: svn://10.0.0.236/trunk@84559 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 06:21:00 +00:00
rickg%netscape.com
bedc6b6b8a Inadvertently removed a IF_RELEASE(); r=waterson
git-svn-id: svn://10.0.0.236/trunk@84556 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 04:44:39 +00:00
rickg%netscape.com
c98cf928ae various bug fixes and landed blizzard patch to remove iostream from parser. r=harish, attinasi, kmcclusk; sr=buster
git-svn-id: svn://10.0.0.236/trunk@84554 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 03:37:15 +00:00