843 Commits

Author SHA1 Message Date
harishd%netscape.com
f755934606 69826 - Flush conten model to access named items
Fixed an assertion.
Added a few more properties for getComputedStyle and did some clean up.
r=heikki, sr=jst


git-svn-id: svn://10.0.0.236/trunk@89299 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 20:47:06 +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
jst%netscape.com
8a2f0eb79a Fixing bug in the incremental layout notification code in the sink (no bug #). The sink context was calling DidAddContent() before decrementing the mInMonolithicContainer member in the sink if we were closing a monolithic container. This made the document never incrementally reflow changes after closing a monolithic container. Fix done by Vidur, sr=vidur@netscape.com/jst@netscape.com, r=harishd@netscape.com
git-svn-id: svn://10.0.0.236/trunk@88596 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 00:52:54 +00:00
harishd%netscape.com
791b756202 3248 - Added Support for http headers ( link,content-base,default-style ) in the sink.
r=heikki,sr=vidur


git-svn-id: svn://10.0.0.236/trunk@88430 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 00:39:29 +00:00
scc%mozilla.org
3f930de8f0 bug #65219: (work done by dbaron) r=jag, sr=scc. Remove leaking string recyclers.
git-svn-id: svn://10.0.0.236/trunk@87754 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 02:03:02 +00:00
jst%netscape.com
2b8664ff14 Fixing bug 68493. document.body should point to the outermost frameset element in a frameset document. r=pollmann@netscape.com, sr=scc@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@87753 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 02:01:30 +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
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
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
dbaron%fas.harvard.edu
ef702b8243 Make ImageListener not confuse leak logging by doing refcounting the way we do it everywhere else. r=disttsc@bart.nl sr=brendan@mozilla.org b=64452
git-svn-id: svn://10.0.0.236/trunk@87447 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 13:46:59 +00:00
Peter.VanderBeken%pandora.be
bad04a33a1 Content/layout split-up. Not part of the build. r=jst@netscape.com, sr=waterson@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@87368 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 17:51:42 +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
heikki%netscape.com
547ee0941d Adding new files needed for splitting layout into two separate libraries (some of these files have been moved from mozilla/layout). r=jst@netscape.com, sr=waterson@netscape.com. Not part of the default build yet.
git-svn-id: svn://10.0.0.236/trunk@87351 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 11:56:40 +00:00
radha%netscape.com
af35982fcc Fix for bug # 39938. Client side redirection messes up SH. r=rpotts, adamlock
git-svn-id: svn://10.0.0.236/trunk@87104 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 19:10:16 +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
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
blakeross%telocity.com
bee55771be Titlebar when viewing images not localizable (57549). r=attinasi sr=erik
git-svn-id: svn://10.0.0.236/trunk@86374 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:39:46 +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
scc%mozilla.org
fe019074bb bug #53067: r=danm, sr=alecf. Eliminate copying versions of |BeginReading|, |EndReading|, |BeginWriting|, |EndWriting|, and fix callers
git-svn-id: svn://10.0.0.236/trunk@86364 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:18:20 +00:00
pollmann%netscape.com
2d0d3de45d Bug 42892: Split FlushPendingNotifications in to content and content+frames cases (speed up content list access), r=jst@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@86318 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 05:46:46 +00:00
anthonyd%netscape.com
481385c4ae fix for bug # 67007 user defined tags being consumed
sr= harishd
r= kin


git-svn-id: svn://10.0.0.236/trunk@86139 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-03 01:24:53 +00:00
harishd%netscape.com
f0f841f430 67426 - Fixing up a regression caused when fixing bug 54453.
r=heikki


git-svn-id: svn://10.0.0.236/trunk@86115 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 22:07:38 +00:00
kin%netscape.com
b9aa3d4ab3 Backing out part of fix for bug #67007 that cause bug #67408. (Can't type newlines in textareas)
a=leaf


git-svn-id: svn://10.0.0.236/trunk@86105 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 16:32:27 +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
759915d51b 54453 - Killing an annoying assertion.
r=heikki


git-svn-id: svn://10.0.0.236/trunk@85992 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 21:04:48 +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
dbaron%fas.harvard.edu
bfc35757e1 Reduce unnecessary #includes to speed up compilation. r=bryner/sfraser sr=alecf b=64023
git-svn-id: svn://10.0.0.236/trunk@85638 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 16:58:15 +00:00
harishd%netscape.com
3fd88b9a18 Removed CNavDTD dependency.
r=jst
sr=vidur


git-svn-id: svn://10.0.0.236/trunk@85500 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 19:33:57 +00:00
jst%netscape.com
ba329b0451 Fixing bug 57772. Hooking document.getSelection() into window.getSelection().toString() which does the right thing (i.e. doesn't produce pretty printed text). r=heikk@netscape.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@85358 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 07:45:08 +00:00
jst%netscape.com
a12de9afe9 Checking in rods@netscape.com's patch for bug 60049. The implementation of document.clear() in mozilla was incorrectly clearing the whole document, the same method in NS 4.x and IE seem to do nothing so with this patch document.clear() is a nop. r=jst@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@85338 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 02:20:33 +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
jst%netscape.com
1f3e4f888b Trivial code cleanup, no bug. Removing unused variable and using nsCOMPtr in stead of doing manual addref/release. r=harishd@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84601 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 22:16:52 +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
attinasi%netscape.com
07d48e660b Removed the bogus file-extension-as-image-type text from the title. b=47891 r=dcone sr=buster
git-svn-id: svn://10.0.0.236/trunk@84312 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-03 23:37:28 +00:00
jst%netscape.com
ffe4f795a3 Fixing bug 57534. document.open() is defined to not return anything in the DOM spec but for backwards compatibility it needs to return the document itself. r=blakeross@telocity.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@84254 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-01 20:54:38 +00:00
jst%netscape.com
6a30c53238 Removing unnecessary include files and forward declarations.
git-svn-id: svn://10.0.0.236/trunk@84063 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-26 01:21:25 +00:00
jst%netscape.com
f5874fe4bc Removing unused CID and doing some whitespace cleanup.
git-svn-id: svn://10.0.0.236/trunk@84062 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-26 01:01:41 +00:00
jst%netscape.com
66de3dc038 Removing dead code and unused member variables from nsHTMLDocument, r=timeless@mac.com. Oh, and wrap nsHTMLDocument::MatchLayers() in #ifdef NS_IMPLEMENT_DOCUMENT_LAYERS
git-svn-id: svn://10.0.0.236/trunk@84061 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-26 00:39:42 +00:00
jst%netscape.com
80b96c36c3 Fix a refcounting screwup I caused in my last checkin. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@83773 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-16 23:38:56 +00:00
jst%netscape.com
74dd2e29a1 Fixing bug 62160, accessing ins or del elements from JS didn't work and caused a crash in the JS GC later on. sr=scc@mozilla.org, r=ben@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83708 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 05:48:19 +00:00
jst%netscape.com
a077967be8 Adding protection for the casae where there's no root element in a document, bug 58477. r=blakeross@telocity.com, sr=scc@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@83661 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 22:37:22 +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
hyatt%netscape.com
e0273d9feb Added Pref control for XBL forms.
r=jst@netscape.com, a=ben@netscape.com


git-svn-id: svn://10.0.0.236/trunk@83464 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-10 09:20:40 +00:00
nhotta%netscape.com
7402e71af4 Changed to convert anchor name as UTF-8 instead of Latin1 if that fails then convert it as document charset, bug 58819, r=erik, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@82918 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 21:43:28 +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
harishd%netscape.com
859b7a2217 27006 - Don't reload documents with POST form data.
r=rpotts,pollmann
sr=vidur


git-svn-id: svn://10.0.0.236/trunk@82157 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 20:25:33 +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