Граф коммитов

788 Коммитов

Автор SHA1 Сообщение Дата
scc%mozilla.org 6a8b3af976 bug #65219: (work done by dbaron) r=jag, sr=scc. Remove leaking string recyclers. 2001-02-23 02:03:02 +00:00
jst%netscape.com 9c0d6974b0 Fixing bug 68493. document.body should point to the outermost frameset element in a frameset document. r=pollmann@netscape.com, sr=scc@mozilla.org 2001-02-23 02:01:30 +00:00
disttsc%bart.nl a6f2f5861a Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls 2001-02-22 09:35:51 +00:00
waterson%netscape.com 9fe59f23f0 Bug 43121. Move XUL content model code from RDF DLL to content DLL. r=jst,hyatt; sr=brendan. 2001-02-22 03:01:34 +00:00
dougt%netscape.com 128f95aa9b 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
2001-02-21 20:38:08 +00:00
dbaron%fas.harvard.edu 1257148b20 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 2001-02-20 13:46:59 +00:00
Peter.VanderBeken%pandora.be fc57601cdc Content/layout split-up. Not part of the build. r=jst@netscape.com, sr=waterson@netscape.com. 2001-02-19 17:51:42 +00:00
heikki%netscape.com 915749084a 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. 2001-02-19 12:55:42 +00:00
heikki%netscape.com de35f432ad 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. 2001-02-19 11:56:40 +00:00
radha%netscape.com b2d6bb81e1 Fix for bug # 39938. Client side redirection messes up SH. r=rpotts, adamlock 2001-02-15 19:10:16 +00:00
disttsc%bart.nl 901482d14c 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.
2001-02-12 03:12:57 +00:00
dougt%netscape.com 1b9ca82439 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
2001-02-10 00:16:26 +00:00
harishd%netscape.com bc2996109d 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.
2001-02-09 22:36:23 +00:00
blakeross%telocity.com a5858da5bf Titlebar when viewing images not localizable (57549). r=attinasi sr=erik 2001-02-06 23:39:46 +00:00
harishd%netscape.com a7c109086e Use resumeParsing instead of EnableParse().
r=jst
sr=vidur
2001-02-06 23:31:17 +00:00
scc%mozilla.org 05a7c0e1fc bug #53067: r=danm, sr=alecf. Eliminate copying versions of |BeginReading|, |EndReading|, |BeginWriting|, |EndWriting|, and fix callers 2001-02-06 23:18:20 +00:00
pollmann%netscape.com 26e414d3ed Bug 42892: Split FlushPendingNotifications in to content and content+frames cases (speed up content list access), r=jst@netscape.com, sr=vidur@netscape.com 2001-02-06 05:46:46 +00:00
anthonyd%netscape.com 46fe8b86d6 fix for bug # 67007 user defined tags being consumed
sr= harishd
r= kin
2001-02-03 01:24:53 +00:00
harishd%netscape.com 2863e449d8 67426 - Fixing up a regression caused when fixing bug 54453.
r=heikki
2001-02-02 22:07:38 +00:00
kin%netscape.com 667694cf0f Backing out part of fix for bug #67007 that cause bug #67408. (Can't type newlines in textareas)
a=leaf
2001-02-02 16:32:27 +00:00
anthonyd%netscape.com e6a453fa48 bug fix for 67007, user tags being consumed
r=akkana
sr=harishd
2001-02-01 23:57:24 +00:00
harishd%netscape.com 59e1414dad 54453 - Killing an annoying assertion.
r=heikki
2001-02-01 21:04:48 +00:00
dbaron%fas.harvard.edu 6a1cef6f9a 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
dbaron%fas.harvard.edu 1e046d05c0 Reduce unnecessary #includes to speed up compilation. r=bryner/sfraser sr=alecf b=64023 2001-01-27 16:58:15 +00:00
harishd%netscape.com 0b29f035c9 Removed CNavDTD dependency.
r=jst
sr=vidur
2001-01-25 19:33:57 +00:00
jst%netscape.com 91b8195823 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 2001-01-23 07:45:08 +00:00
jst%netscape.com 5407409933 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 2001-01-23 02:20:33 +00:00
vidur%netscape.com 6962d4a540 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 2001-01-22 23:11:02 +00:00
jst%netscape.com 360c1f537e Trivial code cleanup, no bug. Removing unused variable and using nsCOMPtr in stead of doing manual addref/release. r=harishd@netscape.com 2001-01-08 22:16:52 +00:00
rods%netscape.com edb0c6270c removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00
attinasi%netscape.com 5fbed3e0c0 Removed the bogus file-extension-as-image-type text from the title. b=47891 r=dcone sr=buster 2001-01-03 23:37:28 +00:00
jst%netscape.com 96702bc8a2 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 2001-01-01 20:54:38 +00:00
jst%netscape.com 2539c465b6 Removing unnecessary include files and forward declarations. 2000-12-26 01:21:25 +00:00
jst%netscape.com 6002d6944f Removing unused CID and doing some whitespace cleanup. 2000-12-26 01:01:41 +00:00
jst%netscape.com 671815e49a Removing dead code and unused member variables from nsHTMLDocument, r=timeless@mac.com. Oh, and wrap nsHTMLDocument::MatchLayers() in #ifdef NS_IMPLEMENT_DOCUMENT_LAYERS 2000-12-26 00:39:42 +00:00
jst%netscape.com 49aacd78f8 Fix a refcounting screwup I caused in my last checkin. r=pavlov 2000-12-16 23:38:56 +00:00
jst%netscape.com 90ec69406d 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 2000-12-15 05:48:19 +00:00
jst%netscape.com 82295066c0 Adding protection for the casae where there's no root element in a document, bug 58477. r=blakeross@telocity.com, sr=scc@mozilla.org 2000-12-14 22:37:22 +00:00
vidur%netscape.com 4f62c23956 Change to token and parser node interfaces in conjunction with less copying in the parser. r=harishd,heikki sr=jst 2000-12-12 21:58:13 +00:00
hyatt%netscape.com eea715dc3f Added Pref control for XBL forms.
r=jst@netscape.com, a=ben@netscape.com
2000-12-10 09:20:40 +00:00
nhotta%netscape.com 04382fd18b 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. 2000-11-27 21:43:28 +00:00
jst%netscape.com 25b8e29ff2 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 2000-11-06 23:22:44 +00:00
harishd%netscape.com 42fcdba367 27006 - Don't reload documents with POST form data.
r=rpotts,pollmann
sr=vidur
2000-11-01 20:25:33 +00:00
warren%netscape.com cd56c0575b Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com 9a6d92a433 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
pollmann%netscape.com 8911ee3487 Bug 13871: Frameset spoofing - cleanup unneeded DOM interface. r=jst, sr=vidur 2000-10-24 04:35:25 +00:00
locka%iol.ie fa2b23d380 Removed unused variables made obselete by previous checkin. b=56285 2000-10-19 18:56:56 +00:00
pollmann%netscape.com 3da7c0c668 Bug 13871: Prevent frameset spoofing r=mstoltz, sr=mscott, a=rpotts 2000-10-19 10:25:49 +00:00
locka%iol.ie 29e166e8bc Fix to content sink's handling of anchors. Flushes reflows before scrolling and uses the pres shell's scrolling code. b=56285, sr=vidur@netscape.com 2000-10-18 20:37:54 +00:00
kmcclusk%netscape.com 6d70638b57 Prevent flushing of pending events if painting or reflowing bug 56335 a=buster@netscape.com r=vidur@netscape.com 2000-10-17 05:07:39 +00:00
harishd%netscape.com 74ec5fa330 56501 - Sink changes in dealing with NOSCRIPT content
r=jst
sr=scc,vidur
2000-10-15 17:31:09 +00:00
mstoltz%netscape.com f1137e89ec Fixing 56009, exploit allowing XPConnect access. r,a=hyatt, sr=scc 2000-10-13 22:59:47 +00:00
jst%netscape.com ca1356da38 Fixing rtm++ bug 54825. The form element cleanup code in the HTML sink was incorrectly adding the form element itself to it's parent event if it had already been added, this caused the content iterator to lock up when doing 'Find on this page'. sr=vidur, r=pollmann 2000-10-12 22:57:25 +00:00
jst%netscape.com a901542622 Fixing rtm++ bug 52998. Form controls inside <noscript> were incorrectly added to the form even if javascript was enabled. sr=vidur, r=pollmann 2000-10-11 23:23:21 +00:00
jst%netscape.com 6ea631e28c Checking in for bug 50742, this change removes the use of XIF in mozilla and replaces the XIF converter with a HTML (and XML) serializer.
Contextual information added to HTML copy and intelligence added to HTML paste in the editor (fixes bugs 47014, 50568 and 46554, and partly (at least) fixes bug 53188).

Code written by vidur, jfrancis, jst, akkana. Tested by jfrancis, akkana, vidur, jst, kin. Reviwed (and super reviewed) by waterson, vidur, kin, jfrancis, jst
2000-10-07 10:57:30 +00:00
rods%netscape.com d4c242a03b decided it made sense to rename the arg from aName to aId to be less confusing.
Consider this part of my last checkin for Bug 54136.
2000-10-04 14:11:19 +00:00
rods%netscape.com c8c0f51843 Renaming MatchName to MatchId and now it only compares against the element's id and also the name
Bug 54136, r=jst, a=buster
2000-10-04 14:04:15 +00:00
dougt%netscape.com 4de121dc63 Restores INCLUDE_XUL #define. b=54248. r/a=hyatt@netscape.com 2000-10-01 05:24:00 +00:00
harishd%netscape.com b30e5825f1 50965 [nsbeta3+ - PDTP1]
Making sure that textnodes are created for SCRIPT,STYLE,TITLE,XMP,TEXTAREA,PLAINTEXT,
in FragmentSink, for editor->HTML Source.

r=jst
a=waterson.
2000-09-26 19:19:28 +00:00
jst%netscape.com f4edbb9849 Redoing how 'replaceable' properties on DOM objects are resolved to be compatible with 4.x, with this change named frames in framesets override 'replaceable' properties so that window.toolbar (or any replaceable property) in a frameset document with a frame named 'toolbar' actually resolves to the frame, and not the native toolbar. r/a=brendan, r=rpotts&scc 2000-09-22 10:18:07 +00:00
mscott%netscape.com f7cec2cb2b Bug #51403, 52875 --> don't fall out with a failure just because we can't get a last
modification date for a document... r=a=waterson
2000-09-22 00:43:40 +00:00
jst%netscape.com ac39c5e211 Fixing nsbeta3+ bug 52724. Fixing an oversight found by David Baron in HTMLDocument::createElement(), this makes document.createElement() be case insensitive. r/a=vidur, r=nisheeth 2000-09-20 05:12:44 +00:00
harishd%netscape.com 715a0d19de 52013 - Block sink reentrance to avoid frame duplication.
49115 - Delay breaking the circularity, between parser & snk, with a death grip!!!

r=jst
a=vidur
[sheriff approved]
2000-09-19 22:35:50 +00:00
jst%netscape.com a72320d2a1 Fixing nsbeta3+ bug 43741. Making mozilla ignore document.open() calls that are executed while the document is being parsed, this is needed for backwards compatibility. r/a=vidur, r=joki 2000-09-19 05:11:59 +00:00
rpotts%netscape.com 792c2c3c30 Removed two bogus asserts... 2000-09-15 06:13:11 +00:00
rayw%netscape.com 3cd14f5878 Bug fix for 52648 -- remaining stash of progids which I missed on
the mega-change yesterday.  This will fix a few more issues.

r=warren
2000-09-14 23:20:49 +00:00
morse%netscape.com a0648104b0 bug 51338, cookie nag box not modal on meta-tag cookies, r=harishd 2000-09-14 18:59:47 +00:00
mjudge%netscape.com e2be918716 small but pervasive change to make nsIDOMSelection an xpidl interface. also broke it into 2 interfaces, nsISelection and nsISelectionPrivate. moved nsIDOMSelectionListener also to xpidl. these new idl files live in layout/base/public. r=sfraser, r=anthonyd bug 48575 2000-09-14 11:45:01 +00:00
jst%netscape.com 347b9460b5 Fixing nsbeta3+ bug 52572. Updating the DOM intefaces in mozilla to match the current DOM Level 2 PR. r=kandrot@netscape.com 2000-09-14 05:19:00 +00:00
rayw%netscape.com 0257791053 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
scc%mozilla.org f75af5e15f if you want a pointer to the characters, you're going to have to |.get()| it 2000-09-13 02:48:08 +00:00
harishd%netscape.com 6aab716011 Removed the hack,in the sink, to limit nesting depth. This now
happens in the parser.

r=rickg/jst
2000-09-12 21:18:50 +00:00
akkana%netscape.com f9508b7d47 36082: don't load contents of script tag if script evaluation is off. r=brendan 2000-09-11 22:27:53 +00:00
jst%netscape.com a29c8269e1 Removing static IID's (NS_DEFINE_IID()) and replace the static IID's with NS_GET_IID(), this cleans things up and simplifies my fix for nsbeta3+ bug 7515. r=pollmann@netscape.com 2000-09-09 05:46:14 +00:00
pollmann%netscape.com 55a8fc8526 Bug 49921: Fix leak of a CNavDTD (leak and fix found thanks to beard@netscape.com) r=jst@netscape.com 2000-09-08 04:52:57 +00:00
morse%netscape.com f1dd1c89b4 bug 51338, cookie nag box not modal, r=mstoltz 2000-09-07 07:00:36 +00:00
ftang%netscape.com fe633c6d96 fix bug 50654. r=nhotta take care " in the charset 2000-09-06 20:41:12 +00:00
beard%netscape.com 4503140e65 fixing code that relied on implicit string construction (less than optimal temporary fix). r=scc 2000-09-02 07:21:57 +00:00
harishd%netscape.com 4668b6e263 7670 - Enable NOSCRIPT.
r=jst
2000-09-01 18:17:43 +00:00
vidur%netscape.com e153192875 Fix for bug 46861. nsIDOMWindow is now split into two interfaces: a public interface (still called nsIDOMWindow) for embedders and an internal interface (nsIDOMWindowInternal) for internal use. The union of the two interfaces is still visible from JavaScript. r=jst@netscape.com 2000-09-01 01:54:35 +00:00
locka%iol.ie 11358c799f Call to GetCurrentURI modified to new style. b=46847, r=valeski, a=valeski 2000-08-30 11:37:06 +00:00
nisheeth%netscape.com b65a3881e0 - Fix for nsbeta3+ bug 10292: ID attribute information is passed up from the parser to the content sink and into the node info objects associated with content objects. nsIXMLContent now inherits from nsIStyledContent which allows
authors to use ID selectors to target elements in an XML document.

- Checking in a P3P related patch to the pres shell, html document, and xml document from Tom Lendacky (toml@us.ibm.com)
2000-08-30 00:35:43 +00:00
akkana%netscape.com 2c350ddd30 Fix a warning I introduced yesterday, and add a safety check 2000-08-29 23:29:52 +00:00
akkana%netscape.com 76b85d375c Last checkin didn't fix 47309, so revert that part 'til we get a better fix 2000-08-29 00:18:53 +00:00
akkana%netscape.com 22f88b737e Last checkin didn't fix 47309, so revert that part 'til we get a better fix 2000-08-29 00:17:44 +00:00
akkana%netscape.com e01a11631a 41868 and 45994: Call parser to determine inline vs. block. r=harishd 2000-08-28 23:47:11 +00:00
jst%netscape.com 9abec73fbe DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc 2000-08-23 17:27:06 +00:00
rods%netscape.com 835eb1c7c3 adds base href/target info to a form
b=34656 r=pollmann,harishd
2000-08-23 10:29:49 +00:00
ftang%netscape.com 2b20c4ed57 fix bug 21312. r=nhotta. Store the charset decision into the cache and reuse it later. 2000-08-21 23:16:43 +00:00
scc%mozilla.org eb0aaea827 fixing code that relied on implicit string construction 2000-08-19 22:23:46 +00:00
waterson%netscape.com 038c1f7d4b Bug 29641. Set default content.notify.backoffcount to -1 (never). This doesn't really 'fix' the bug; however, it keeps us from getting into a situation where layout gets too much content crammed down its throat at once. r=vidur,nisheeth 2000-08-18 06:33:34 +00:00
ftang%netscape.com 87f5cb86aa *** empty log message *** 2000-08-18 00:47:03 +00:00
harishd%netscape.com 8540cbd4f7 bug 22886 - Relax refresh header paring, in the sink, a little bit.
r=pollmann
2000-08-17 20:55:48 +00:00
dbaron%fas.harvard.edu d828a22239 Fix leak of strings used as hash table keys. r=waterson b=48880 2000-08-16 23:16:21 +00:00
waterson%netscape.com f7e7ca5d51 Bug 44480. Demote 'width' and 'height' attributes from NSDocument to NSHTMLDocument and XULDocument; make nsHTMLDocument's implementation use the <body> element's frame (instead of the <html> element's frame) to determine metrics. r=jst 2000-08-16 01:04:52 +00:00
saari%netscape.com 0d2ab064c2 undoing hackery and fixing a leak. r=dbaron 2000-08-12 22:19:55 +00:00
mccabe%netscape.com 651f462b43 Spelling fix. 2000-08-11 20:31:17 +00:00
harishd%netscape.com fdf725dc17 36944 - USe NS_VMREFRESH_NO_SYNC to refresh
r=kmcclusk
2000-08-09 22:30:36 +00:00
saari%netscape.com 6ea350941c hack part deux for testing for leak increase 2000-08-09 02:59:44 +00:00
saari%netscape.com 4c09a29ac5 massive landing of joki changes.
Relevant nsbeta3+ bugs 43309, 44503, 2634, 2504,5981, 24698, 25758, 33577,
36062, 36217, 41191, 41491, 42356, 42829, 43016
r=saari (joki code). also been tested by heikki and bryner
2000-08-08 21:31:05 +00:00