741 Commits

Author SHA1 Message Date
cls%seawood.org
238046be17 Change netwerk/mime to use MODULE=mimetype to remove avoid confusion with mailnews/mime . Update necessary REQUIRES.
Bug #68381 r=jag


git-svn-id: svn://10.0.0.236/trunk@90452 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 23:40:28 +00:00
mstoltz%netscape.com
6079a31c93 Bugs 55069, 70951 - JS-blocking APIs for mailnews and embedding. r=mscott, sr=attinasi.
Bug 54237 - fix for event-capture bug, r=heikki, sr=jband.


git-svn-id: svn://10.0.0.236/trunk@90195 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 04:22:56 +00:00
heikki%netscape.com
1ddf3b7ae8 Bug 72675, document.load() can cause crash if loading HTML document. r=harishd,sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@90161 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 02:27:10 +00:00
heikki%netscape.com
9595e206f3 Didn't notice tree was closed, backing out to wait for open.
git-svn-id: svn://10.0.0.236/trunk@90036 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 23:35:22 +00:00
heikki%netscape.com
5fb127d4e0 Bug 72675, document.load() can cause crash if loading HTML document. r=harishd,sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@90035 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 23:20:12 +00:00
pollmann%netscape.com
66a5319730 Bug 72288: Don't turn off scrollbars on all XML documents, r=heikki@netscape.com, sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@89971 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 03:00:18 +00:00
heikki%netscape.com
39b54ea982 Removed unused variable. NS_PAGE_LOAD is nsEvent, not nsMouseEvent. r=harishd.
git-svn-id: svn://10.0.0.236/trunk@89855 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 00:19:48 +00:00
pollmann%netscape.com
75ef031b93 Bug 68010: Make XML/XHTML documents obey scrolling attribute on containing frames/iframes, remove unused variable, r=heikki@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@89632 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 07:35:40 +00:00
Peter.VanderBeken%pandora.be
275b883c56 Expose Reset from nsIDocument.
r=jag, sr=jst.


git-svn-id: svn://10.0.0.236/trunk@89330 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 06:39:27 +00:00
Peter.VanderBeken%pandora.be
8870a5780e Expose Reset from nsIDocument.
Implement CreateAttributeNS for XML documents.
r=jag, sr=jst.


git-svn-id: svn://10.0.0.236/trunk@89328 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 06:36:20 +00:00
Peter.VanderBeken%pandora.be
67273ad638 Add LoadComplete call for result of an XSLT transform, switch source document and result document before the transform, fix crash when transform fails (bug 67066). r=jag, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@89327 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 06:34:40 +00:00
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
83465be4dc Bug 36790, support XHTML style element. Also fix CDATA section handling for title and textarea elements. r=harishd, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@88217 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 23:51:35 +00:00
waterson%netscape.com
072b4036bc Bug 43121. Move XUL content model code from RDF DLL to content DLL. r=jst,hyatt; sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@87623 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 03:01:34 +00:00
disttsc%bart.nl
0fb2740ab9 Fix senna bustage (and bustage to be), update REQUIRES for dougt's channel changes and scc's string lib changes. r=cls
git-svn-id: svn://10.0.0.236/trunk@87601 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 22:35:36 +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
heikki%netscape.com
80b36e2891 Checking in changes needed for splitting layout into two separate libraries. r=jst@netscape.com, sr=waterson@netscape.com. Not part of the default build yet.
git-svn-id: svn://10.0.0.236/trunk@87357 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 12:55:42 +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
disttsc%bart.nl
e2205bb1be From Small Gods, by Terry Pratchett:
The light was brilliant, crystalline, in a black sky filled with stars.
'Ah. There really is a desert. Does everyone get this?' said Brutha.
WHO KNOWS?
'And what is at the end of the desert?'
JUDGEMENT.
Brutha considered this.
'Which end?'
Death grinned and stepped aside.
What Brutha had thought was a rock in the sand was a hunched figure, sitting clutching its knees. It looked paralysed with fear.
He stared.
'Vorbis?' he said.
He looked at Death.
'But Vobis died a hundred years ago!'
YES. HE HAD TO WALK IT ALL ALONE. ALL ALONE WITH HIMSELF. IF HE DARED.
'He's been here fore a hundred years?'
POSSIBLY NOT. TIME IS DIFFERENT HERE. IT IS . . . MORE PERSONAL.
'Ah. You mean a hundred years can pass like a few seconds?'
A HUNDRED YEARS CAN PASS LIKE INFINITY.
The black-on-black eyes stared imploringly at Brutha, who reached out automatically, without thinking . . . and then hesitated.
HE WAS A MURDERER, said Death. AND A CREATOR OF MURDERERS. A TORTURER. WITHOUT PASSION. CRUEL. CALLOUS. COMPASSIONLESS.
'Yes. I know. He's Vorbis,' said Brutha. Vorbis changed people. Sometimes he changed them into dead people. But he always changed them. That was his triumph.
He sighed.
'But I'm me,' he said.
Vobis stood up, uncertainly, and followed Brutha across the desert.
Death watched them walk away.

The End.


git-svn-id: svn://10.0.0.236/trunk@86791 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 03:12:57 +00:00
dbaron%fas.harvard.edu
43880accc9 Update REQUIRES to fix senna bustage.
git-svn-id: svn://10.0.0.236/trunk@86744 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 03:06:49 +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
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
harishd%netscape.com
155017d753 Use resumeParsing instead of EnableParse().
r=jst
sr=vidur


git-svn-id: svn://10.0.0.236/trunk@86370 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:31:17 +00:00
heikki%netscape.com
b991c17f24 Bugs 53615 and 51815. XHTML title element did not change window title, and textarea did not have default text. r=harishd, sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@86137 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-03 01:16:20 +00:00
dbaron%fas.harvard.edu
85a014d876 Add lwbrk to REQUIRES to fix MOZ_TRACK_MODULE_DEPS bustage.
git-svn-id: svn://10.0.0.236/trunk@85692 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 01:27:47 +00:00
dbaron%fas.harvard.edu
6c9757124a Change the way nsDocument stores its children by replacing separate nsVoidArrays for prolog and epilog with a single nsISupportsArray that also holds the root element. Using this change, simplify many of the child handling methods in nsDocument (and fix some bugs in them). Since nsDocument no longer uses prolog and epilog, remove AppendToProlog and AppendToEpilog from nsIDocument. b=47850 r=jst@netscape.com sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@85490 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 14:19:38 +00:00
jst%netscape.com
1e3e1cbc56 Fixing bug 47733. Making document.implementation.createDocument() set up the root element in the document correctly so that it's parent and owner document is the document that it's in. r=heikki@netscape.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@85357 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 07:42:20 +00:00
vidur%netscape.com
5624d576e9 Fix for bug 63081. We remove carriage returns passed to us by the parser in the copy from the sink buffer to the content model. r=jst
git-svn-id: svn://10.0.0.236/trunk@85317 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 23:11:02 +00:00
heikki%netscape.com
d466758782 Bug 45420, createCDATASection should check for input ']]>' and some null pointer checks. Removed a bogus comment. Original patch from Taras Tielkes, needed to modify a little because we are now using nsAReadableStrings. r=jst, a=vidur.
git-svn-id: svn://10.0.0.236/trunk@84394 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 00:35:20 +00:00
rods%netscape.com
a6e0d47c5a removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson


git-svn-id: svn://10.0.0.236/trunk@84377 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 20:44:42 +00:00
heikki%netscape.com
42e783bf26 Bug 63560, XML content sink was not adding script element contents to the content model. Includes also minor optimizations and fixes 2 compiler warnings. r=harishd, a=vidur.
git-svn-id: svn://10.0.0.236/trunk@84335 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 00:30:11 +00:00
dbaron%fas.harvard.edu
b4de65c19e Clean up easily fixed unnecessary includes and exports of implementation header files in layout. b=63766 r=jst@netscape.com sr=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84233 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 19:22:22 +00:00
jst%netscape.com
7e93050721 Backing out my last change here, this change didn't do what it was supposed to do, not even close.
git-svn-id: svn://10.0.0.236/trunk@83622 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 06:16:39 +00:00
jst%netscape.com
dfa08e19a2 Checking in fix for annoying asserts on startup caused by a doctype token problem in the parser that was introduced yesterday, casting char * to PRUnichar * just aint a good idea (although that was only part of the problem). Fix done mostly by heikki@netscape.com, r=heikki, harishd, sr=me.
git-svn-id: svn://10.0.0.236/trunk@83618 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 02:30:12 +00:00
vidur%netscape.com
33d6574ffe Change to token and parser node interfaces in conjunction with less copying in the parser. r=harishd,heikki sr=jst
git-svn-id: svn://10.0.0.236/trunk@83552 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 21:58:13 +00:00
heikki%netscape.com
88d1b46226 Bug 51218, problems with DOCTYPE handling. r=harishd, a=vidur.
git-svn-id: svn://10.0.0.236/trunk@83497 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-11 22:21:06 +00:00
jst%netscape.com
b3fc2d5eba Fixing bug 57466. XML documents need to do principal fixup on redirect. sr=vidur, r=mstolts, r=pollmann.
git-svn-id: svn://10.0.0.236/trunk@83426 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 02:04:36 +00:00
heikki%netscape.com
a02e205742 Bug 59675, fixing uninitialized variables. r=jst, a=waterson.
git-svn-id: svn://10.0.0.236/trunk@82928 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 23:23:28 +00:00
cls%seawood.org
6088dfbf6b Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@82785 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-20 07:16:06 +00:00
jst%netscape.com
bba246348c Fixing bug 58888. The content sink was incorrectly releasing the stream loader in its OnStreamComplete() method, this caused a crash when mozilla was running in off-line mode since OnStreamComplete() was called without the sink having a string reference to the stream loader so the incorrect release call in the sink caused a crash later on in necko. sr=rpotts, r=gagan,heikki
git-svn-id: svn://10.0.0.236/trunk@82357 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-06 23:22:44 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
heikki%netscape.com
eda004b171 Bug 57437, copied the implementation from HTML. r=adamlock, a=vidur.
git-svn-id: svn://10.0.0.236/trunk@81633 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 01:03:31 +00:00
mstoltz%netscape.com
9351f77d32 Fixing 56009, exploit allowing XPConnect access. r,a=hyatt, sr=scc
git-svn-id: svn://10.0.0.236/trunk@81158 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 22:59:47 +00:00
mstoltz%netscape.com
6af6562c9e Fixing leak in nsXMLDocument to get the tree reopened. r=mccabe, brendan
git-svn-id: svn://10.0.0.236/trunk@79766 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 19:48:11 +00:00
mstoltz%netscape.com
676f6215b3 Fixing 52497, security problem in document.implementation, r=jst a=brendan
git-svn-id: svn://10.0.0.236/trunk@79671 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 23:38:28 +00:00
Peter.VanderBeken%pandora.be
2cabd6fa68 Enabling XSLT hooks in layout in default build. Bug #42228. r=axel@pike.org, a=waterson@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@79394 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-16 20:53:08 +00:00
nisheeth%netscape.com
d029c3bb44 r=jst. Fix for nsbeta3+ bug 49579: Leak of a char * fixed in StartDocumentLoad().
git-svn-id: svn://10.0.0.236/trunk@79090 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 06:43:08 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00