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

2333 Коммитов

Автор SHA1 Сообщение Дата
Peter.VanderBeken%pandora.be ede8756d78 Renaming NS_PARSER_IID to NS_PARSER_CID, because it *is* a CID. r=jag, sr=jst. 2001-03-10 21:02:12 +00:00
attinasi%netscape.com 63d7861535 Prevent text nodes from being passed to SelectorMatches to improve style resolution performance and ensure correctness. b=56117 r=pierre sr=waterson 2001-03-10 06:14:52 +00:00
hyatt%netscape.com 4c6682bec7 Fix for 71262 and 71485, r=jag, srs=shaver on 71262 and hewitt on 71485 2001-03-10 01:43:09 +00:00
mkaply%us.ibm.com 00632e1cf9 #70961
author=simon@softel.co.il; r=waterson; sr=erik
New layout atoms for bidi - not part of build yet due to #ifdef IBMBIDI
2001-03-09 04:15:34 +00:00
erik%netscape.com ca75151209 bug 71370; author=simon@softel.co.il; r=attinasi; sr=erik; implement bidi
(bidirectional text) for languages such as Arabic and Hebrew; from IBM bidi
project; not part of build yet (due to #ifdef IBMBIDI)
2001-03-09 03:13:03 +00:00
dbaron%fas.harvard.edu 24822ec31e Remove long-obsolete file that hasn't been part of the build since late 1998. sr=buster@netscape.com 2001-03-09 03:10:47 +00:00
glazman%netscape.com 514b078cef Cleanup of ParseSelector() ; b=71100, r=peterl, sr=attinasi 2001-03-08 23:27:39 +00:00
dbaron%fas.harvard.edu dc14bce8cb Fix CSS_REPORT_PARSE_ERRORS build bustage resulting from string changes. 2001-03-08 14:25:11 +00:00
disttsc%bart.nl aebc676048 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
2001-03-08 08:05:05 +00:00
heikki%netscape.com b2ce503d1a Bug 69830, cleanup after layout split by moving duplicated files to a library that is statically linked to content and layout, and backing out changes to inline some functions that now also live in the shared lib. r=jst, sr=waterson. 2001-03-08 02:41:16 +00:00
law%netscape.com 834275d324 Part of bug 57576; adding support for getting list-style-image; r=harishd, sr=jst 2001-03-08 00:55:01 +00:00
glazman%netscape.com bd70011ca1 mSourceString in SelectorList was allocated, filled with a
reconstructed copy of ALL selectors in chrome and document,
unused and then deallocated ! b=70995, r=hewitt, sr=attinasi
2001-03-06 23:07:33 +00:00
hyatt%netscape.com 5a40dceb52 Fix for 70809. r=attinasi, sr=brendan 2001-03-06 02:30:30 +00:00
dbaron%fas.harvard.edu 2c102bee6e Work in progress on CSS error reporting: fix the known false positives and duplicate messages and improve the error messages. It's still a hack that I wouldn't really want to enable by default, but it should be useful for debugging chrome CSS. r=glazman@netscape.com sr=attinasi@netscape.com b=65469 2001-03-06 01:57:30 +00:00
jst%netscape.com 090fd7aadf 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 2001-03-06 00:52:54 +00:00
hyatt%netscape.com 5eb460964a Fix for 70704, r=brendan, sr=attinasi 2001-03-03 21:57:56 +00:00
harishd%netscape.com dad8f665c0 Correcting an error.
r=heikki
2001-03-03 00:54:53 +00:00
glazman%netscape.com 90d257e695 enhancement for the 3 new attributes selectors in CSS 3. r=dbaron, sr=attinasi 2001-03-03 00:54:04 +00:00
harishd%netscape.com e5fbdfc15e Added more properties(font,background,padding,border,z-index..etc) for getComputedStyle().
r=heikki,sr=jst.
2001-03-03 00:44:19 +00:00
harishd%netscape.com 18f4fb8fe3 Added refresh & setcookie atoms
r=heikki,sr=vidur
2001-03-03 00:41:02 +00:00
harishd%netscape.com c7da10b532 3248 - Added Support for http headers ( link,content-base,default-style ) in the sink.
r=heikki,sr=vidur
2001-03-03 00:39:29 +00:00
harishd%netscape.com 16c90ed2d1 Added refresh & setcookie
r=heikki,sr=vidur
2001-03-03 00:38:39 +00:00
rods%netscape.com 4eb2a631cc Noe processing the current event so click works on alt text
Bug 65747 r=pollmann sr=attinasi
2001-03-02 15:45:35 +00:00
disttsc%bart.nl 043186b34e Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc 2001-03-02 09:26:57 +00:00
heikki%netscape.com df04c126b2 Bug 63559, attributes are lost on XHTML elements if the document is loaded as data. r=jst, sr=vidur. 2001-02-28 23:42:10 +00:00
jst%netscape.com e425716676 Fixing bug 70014. Making td.chOff use the correct atom when looking up the attribute 'charoff'. r=heikki@netscape.com, sr=vidur@netscape.com 2001-02-28 01:54:40 +00:00
roc+%cs.cmu.edu ce59023066 Fix for bug 67478. Fix for BodyFixupRule so that if both the BODY and HTML elements have a transparent background, we make sure to give the canvas the default background (chosen by the PresShell). r=kmcclusk, sr=attinasi 2001-02-24 20:37:06 +00:00
jst%netscape.com 012e814ecd Fixing regression bug 69716. Make nsHTMLImageElement::GetImageFrame() always initialize the out parameter. r=heikki@netscape.com, sr=hyatt@netscape.com 2001-02-23 03:04:38 +00:00
scc%mozilla.org 97df62b78a 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 cc63f5847c 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
dbaron%fas.harvard.edu d8ef7a992b Fix MOZ_TRACK_MODULE_DEPS bustage resulting from string and xul changes. 2001-02-22 12:48:42 +00:00
disttsc%bart.nl e53227d6ad Update REQUIRES to fix senna bustage 2001-02-22 12:18:48 +00:00
rods%netscape.com 7976914fa3 In some cases the mForm pointer doesn't get set because of the way the content can be constructed
and added via the DOM. So before it is used try to find and set its value again.
Bug 62799 r=harishd sr=attinasi
2001-02-22 11:33:57 +00:00
rods%netscape.com 954bec7088 The loop looking for the domText should only quit when a non-zero string is found.
Bug 68963 r=kmcclusk sr=attinasi
2001-02-22 11:30:53 +00:00
disttsc%bart.nl 744785129a 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 2cd62f503b 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 eab041f43f 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 d5bb038c8d 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 6a44335d10 Content/layout split-up. Not part of the build. r=jst@netscape.com, sr=waterson@netscape.com. 2001-02-19 18:11:03 +00:00
Peter.VanderBeken%pandora.be 305429e76d 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 ae23767cdd 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
rods%netscape.com f5a3843e21 making spacebar click on key up
Bug 68850 sr=attinasi
2001-02-19 12:36:01 +00:00
heikki%netscape.com 3b9cdf783c 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 12:21:27 +00:00
heikki%netscape.com 11c3410104 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 12:10:13 +00:00
heikki%netscape.com 6356d29009 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
hyatt%netscape.com 36abf9f7b5 Fix for 67739. r=pierre,attinasi, sr=ben 2001-02-15 21:25:31 +00:00
hyatt%netscape.com 093c9c2e71 Fix for 67739. r=pierre,attinasi sr=ben 2001-02-15 21:24:47 +00:00
radha%netscape.com f2638b18c0 Fix for bug # 39938. Client side redirection messes up SH. r=rpotts, adamlock 2001-02-15 19:10:16 +00:00
jfrancis%netscape.com 13c0684590 bug 50497: plaintext copy loses newlines on paste bug 57292: copy of table cell contents shouldn't copy cell bug 57170: some inline style not preserved across copy paste for all above: r=akkana; sr=sfraser 2001-02-15 13:22:26 +00:00
glazman%netscape.com ecc86acb75 patch for #62607 : cssText field of CSSRule is incomplete, missing curly braces. r=brade, sr=attinasi 2001-02-13 14:10:38 +00:00
glazman%netscape.com d78b90bd69 patch for #65448 : css parser refused multiple ID selectors in same sequence; r=dbaron,attinasi sr=attinasi (buster's delegation) 2001-02-13 14:06:29 +00:00
glazman%netscape.com 7b4e3d65b8 #52381 corrects pseudo-elmts handling in nsCSSSelector::ToString ; r=attinasi,saslawsky sr=vidur,waterson 2001-02-12 13:04:06 +00:00
disttsc%bart.nl 35ab17c7e4 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 69415757ab 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
jst%netscape.com 7fa17c08f1 Fixing regression bug 68139. Accessing radiobutton.value always returning the defalue value. r=harishd, sr=vidur, a=blizzard@mozilla.org/asa@mozilla.org 2001-02-09 23:45:41 +00:00
harishd%netscape.com 7bc76a76cc 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
pierre%netscape.com ad19cf4c81 Reinstate my changes that were backed out 10 days ago. #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. r=attinasi,sr=buster. 2001-02-07 09:57:26 +00:00
jst%netscape.com 73bd38d920 Fixing bug 37763. Making applet elements that are not associated with an Java applet still be scriptable as a normal DOM node. r=pollmann@netscape.com, sr=jband@netscape.com 2001-02-07 07:39:20 +00:00
blakeross%telocity.com 95b1ae98b0 Titlebar when viewing images not localizable (57549). r=attinasi sr=erik 2001-02-06 23:39:46 +00:00
harishd%netscape.com 539e2f64ec Use resumeParsing instead of EnableParse().
r=jst
sr=vidur
2001-02-06 23:31:17 +00:00
scc%mozilla.org e767c98b62 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 acc42b588c 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
jst%netscape.com 901474c52d Fixing regression (bug 67713) that I introduced in my content code re-org in the end of december. Adding a missing interface to the QI implementation of nsHTMLButtonElement. r=nisheeth@netscape.com, sr=n/a 2001-02-06 02:31:31 +00:00
jst%netscape.com e42678b03f Fixing bug 67563. Adding null pointer checks to avoid crasing when accessing certain properties on orphan OPTION, TD and TH elements. r=harishd@netscape.com, r=nisheeth@netscape.com, sr=vidur@netscape.com 2001-02-06 02:11:30 +00:00
disttsc%bart.nl c353ccb7bf Replace iostream.h cerr << dependancy with NS_WARNING. bug=67536, r=jst, sr=blizzard 2001-02-03 09:09:24 +00:00
jst%netscape.com a21f5982e1 Moving methods around to make this file make more sense. no code changes. 2001-02-03 03:50:04 +00:00
anthonyd%netscape.com 0097af2035 fix for bug # 67007 user defined tags being consumed
sr= harishd
r= kin
2001-02-03 01:24:53 +00:00
harishd%netscape.com 96884cd0ae 67426 - Fixing up a regression caused when fixing bug 54453.
r=heikki
2001-02-02 22:07:38 +00:00
kin%netscape.com 3748fdc618 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
jst%netscape.com f451a8c50b Fixing bug 64755. Moving code around to make plugins instantiated from an <object> tag be scriptable. r=pollmann@netscape.com, sr=hyatt@netscape.com 2001-02-02 11:31:08 +00:00
jst%netscape.com 729d5d12a9 Fixing bug 53860. Making inputElement.getAttribute('checked') return the value 'checked' if the attribute was ever set. r=pollmann@netscape.com, sr=rpotts@netscape.com 2001-02-02 01:34:57 +00:00
anthonyd%netscape.com 6451a45f2c bug fix for 67007, user tags being consumed
r=akkana
sr=harishd
2001-02-01 23:57:24 +00:00
harishd%netscape.com 3b8bfb2cf8 54453 - Killing an annoying assertion.
r=heikki
2001-02-01 21:04:48 +00:00
jst%netscape.com 0999addcc3 Fixing bug 44615. Making the default value of radio buttons be "on" to match older browsers. r=rods@netscape.com&heikki@netscape.com, sr=brendan@mozilla.org. 2001-01-30 04:22:24 +00:00
dbaron%fas.harvard.edu 7a97a55d82 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 20b685bf78 Reduce unnecessary #includes to speed up compilation. r=bryner/sfraser sr=alecf b=64023 2001-01-27 16:58:15 +00:00
attinasi%netscape.com 4217840de6 Performance fix: moves content-specific queries out of SelectorMatches to reduce number of times called in rule matching. b= 53620 r=dbaron sr=waterson 2001-01-27 05:48:41 +00:00
harishd%netscape.com acc199f5d7 Removed CNavDTD dependency.
r=jst
sr=vidur
2001-01-25 19:33:57 +00:00
mcafee%netscape.com 2a02bb78fd Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil 2001-01-25 02:58:12 +00:00
jst%netscape.com 49b1414272 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 3502f87859 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 99ec8cdc30 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
hewitt%netscape.com aca04ca013 52381 - DOM selectorText implementation, r=attinasi/jst, sr=waterson 2001-01-22 04:03:48 +00:00
pierre%netscape.com 531ba68b54 #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster. 2001-01-20 22:46:54 +00:00
blakeross%telocity.com 35c3ef934e Fix 65025: scrollbars in Mac Classic are wrong color. patch by lordpixel. r=blake sr=blizzard 2001-01-16 01:27:20 +00:00
rods%netscape.com 0b47866fbe must return NS_OK from DOM calls, this will make the button look enabled when enabled
Bug 63722 r=attinasi sr=buster
2001-01-11 15:14:47 +00:00
jst%netscape.com c40e4b62af Fixing bug 63967. Fixing a crash that happened when the .src of an image was set and the base URL was not available. r=timeless@mac.com, disttsc@bart.nl, sr=vidur@netscape.com 2001-01-10 22:41:47 +00:00
heikki%netscape.com 71310e036b Some raw interface pointers to nsCOMPtrs, potential null pointer access fix, fixing two wrong eventStructTypes. No bug number. r=saari, sr=waterson. 2001-01-10 20:21:09 +00:00
jst%netscape.com 7089ccc6f4 Fixing bug 60920. Adding type cheks to the document.form.select.options[n] setter so that we don't crash if someone tries to set the value to an invalid type (i.e. not a HTMLOptionElement). sr=brendan@mozilla.org, r=pollmann@netscape.com 2001-01-10 05:11:05 +00:00
jst%netscape.com 699d3a6929 Fixing bug 64642. This is a regression caused in my large content code reorg/cleanup that I did a few weeks ago, SetDocument on a from control was was forwarding the call to the wrong base class, it was calling nsGenericElement::SetDocument() in stead of nsGenericHTMLElement::SetDocument() and that caused style attributes to not get reparsed when form controls were added to a document. r=pollmann@netscape.com 2001-01-09 02:53:33 +00:00
jst%netscape.com 2ab3b02548 Fixing bug 63943. Accessing .offsetXXX properties on elements must call FlushPendingNotifications() on the document and not only on the pres shell to make sure the sink flushes all its content so that frames exists for all elements. r=heikki@netscape.com, sr=rpotts@netscape.com 2001-01-09 01:26:05 +00:00
jst%netscape.com 34ec509fb4 Code cleanup, no bug. Make the implementations of methods whose return type is declared as NS_IMETHOD return NS_IMETHODIMP and not just nsresult. r=heikki@netscape.com 2001-01-09 00:03:42 +00:00
jst%netscape.com e664f14e29 Trivial code cleanup that removes the need for a kungFoDeathGrip. r=heikki@netscape.com 2001-01-08 23:43:56 +00:00
jst%netscape.com 20bffa53a7 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
jst%netscape.com d370359e69 Fixing regression introduced in my huge checkin a few weeks ago, backing out the change I made while doing some code cleanup/reorg 2001-01-05 23:26:05 +00:00
rods%netscape.com c81b2c3b26 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 37534f2aac 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 c362958cf3 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
dbaron%fas.harvard.edu 9430a92e06 Clean up easily fixed unnecessary includes and exports of implementation header files in layout. b=63766 r=jst@netscape.com sr=buster@netscape.com 2000-12-30 19:22:22 +00:00
blakeross%telocity.com 5883645a6f Fix 63721: removing extraneous code from nsHTMLButtonElement.cpp. It's Dead Code Removal week, so I'm just doing my part. r=jst sr=alecf 2000-12-27 08:41:29 +00:00
jst%netscape.com 71dde5c2c0 Removing unnecessary include files and forward declarations. 2000-12-26 01:21:25 +00:00
jst%netscape.com 7b3d01e9db Removing unused CID and doing some whitespace cleanup. 2000-12-26 01:01:41 +00:00
jst%netscape.com d0fd187bfa 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 6727dcb7c0 Fixing a change I overlooked in my last big checkin that caused a crash in some cases where forms were accessed from JS. r=jag 2000-12-24 01:52:05 +00:00
jst%netscape.com e600425247 More mac bustage fixes... 2000-12-23 13:32:28 +00:00
jst%netscape.com 2d9b923669 One more attempt at fixing the mac redness. 2000-12-23 12:57:59 +00:00
jst%netscape.com 9444e2ce66 Attempting to fix mac bustage. 2000-12-23 11:59:05 +00:00
jst%netscape.com 9e2b7ade05 Redoing the way code is shared between different element classes in mozilla, in stead of having an inner object (mInner) and forwarding function calls to the inner object the elements now inherit from what used to be the inner object. Previously nsIJSScriptObject and nsIContent (and related interfaces) were implemented on all leaf classes (~60 classes) and all the methods in those interfaces were forwarded to the inner object, now all those methods are inherited in stead. This saves us ~3600 methods in the layout library (and 160k of code on linux) and cleans the code up considerably. r=pollmann@netscape.com, harishd@netscape.com sr=vidur@netscape.com. 2000-12-23 10:56:31 +00:00
jst%netscape.com aad156274a Fix a refcounting screwup I caused in my last checkin. r=pavlov 2000-12-16 23:38:56 +00:00
jst%netscape.com d2ee134807 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 21f9b3d8a4 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 01bf191f42 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
rods%netscape.com 2e059f583d smoketest blocker,
an event is cancelled when it is equal to nsEventStatus_eConsumeNoDefault
a=joki
2000-12-11 20:07:50 +00:00
rods%netscape.com 4b58e0289d removed where the input element was telling the rado/checkbox to return the opposite value
now it changes it value before the DOM call (script) and then if the event is cancelled
it sets the value back (which doesn't happen very often)
r=pollmann,jst sr=buster  b=57137,57239,58460
2000-12-10 16:05:29 +00:00
hyatt%netscape.com d10778f295 Added Pref control for XBL forms.
r=jst@netscape.com, a=ben@netscape.com
2000-12-10 09:20:40 +00:00
blakeross%telocity.com d8b4e030d4 Fix 46174: widgets don't use Appearance Manager variation color in mac classic theme. patch by lordpixel@mac.com. r=ben sr=blizzard 2000-12-05 21:49:42 +00:00
dbaron%fas.harvard.edu f316e0c51b Fix leak of atom and fix return value propagation from SetMedia. b=58697 r=pierre@netscape.com sr=waterson@netscape.com 2000-12-02 15:53:42 +00:00
jst%netscape.com 9ffb7c034c Fixing bug 49597. Setting the 'checked' state on a dynamically created radio button that wasn't yet part of the document in JS was throwing an exception since our internal pres state code was generating a failure code when the input element didn't have a document. sr=vidur, r=pollmann 2000-11-28 03:41:50 +00:00
nhotta%netscape.com f49d7db175 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
hyatt%netscape.com 56d558b610 Patch for 55595. r=joki, a=brendan 2000-11-27 07:55:20 +00:00
cls%seawood.org 8bd122b3d5 Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org 2000-11-20 07:16:06 +00:00
brade%netscape.com ef56b86d61 use inline methods rather than typecasting directly to floats to prevent rounding errors (bug #56022); r=jst; sr=buster 2000-11-15 10:54:41 +00:00
heikki%netscape.com da42f8f899 Bug 59389, eliminate nsIContent::IsSynthetic(). r=jst, a=vidur. 2000-11-08 00:42:42 +00:00
jst%netscape.com 44900ed58e 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
hyatt%netscape.com b53cda604c Putting back 54150 on the trunk. ben,waterson. Finally found the reason it needs to be this way. 2000-11-04 09:10:48 +00:00
harishd%netscape.com 7c66338f99 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 4189314fdb 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
blakeross%telocity.com a61eb4f00d Fix for 12056: ctrl+click on a link should open in new window, alt+click should save it. r=jst sr=brendan, alecf 2000-10-28 14:30:48 +00:00
warren%netscape.com 6e35f97e31 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
jst%netscape.com d4d77508ae Fixing rtm+ bug 57495. Making element.getElementsByTagName() case insensitive if called on an HTML element. r=pollmann, sr=vidur. 2000-10-27 09:01:33 +00:00
attinasi%netscape.com 0c357e6319 Fix was already approved for checkin on the branch, now updating trunk as well. b=56194, r=karnaze a=buster (for RTM bug 40340) 2000-10-26 00:34:08 +00:00
jst%netscape.com f5767882c1 Fixing rtm++ bug 56529. Necko was unescaping the content of URL's if a segment of the URL is requested (but not if the whole URL is requested), the DOM code used this unescaped string as is and that caused backwards compatibility problems. a=gagan&brendan, r=andreas.otte@primus-online.de 2000-10-24 04:56:10 +00:00
pollmann%netscape.com 54e2b01df6 Bug 13871: Frameset spoofing - cleanup unneeded DOM interface. r=jst, sr=vidur 2000-10-24 04:35:25 +00:00
pollmann%netscape.com 44d1adbf72 Bugscape 2369: Don't hold onto frame reference / type across mInner::HandleDOMEvent, fixes crashes. r=rods,jst sr=vidur 2000-10-24 01:41:07 +00:00
locka%iol.ie a31f0aa954 Removed unused variables made obselete by previous checkin. b=56285 2000-10-19 18:56:56 +00:00
pollmann%netscape.com 87208694ab Bug 13871: Prevent frameset spoofing r=mstoltz, sr=mscott, a=rpotts 2000-10-19 10:25:49 +00:00
locka%iol.ie 5947aa93c8 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
hyatt%netscape.com 5e055a5f2d Fix for 56353. r=buster, r=waterson, a=brendan. Also reverting a style
change to a prop list for moz-binding to the state it was on the branch (just to
be compatible).
2000-10-18 08:03:24 +00:00
jst%netscape.com 1bc2495bff Fixing rtm++ bug 54121. Make sure to unroot the JS object before setting the script object to null to avoid referencing deleted memory later on in the GC. Thanks to sean@beatnik.com for testing and helping with the patch. a=waterson, r=brendan 2000-10-17 21:19:26 +00:00
kmcclusk%netscape.com 8e94cba562 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
hyatt%netscape.com b5af19308f Fix for 56167. r=joki, a=waterson 2000-10-16 21:52:22 +00:00
harishd%netscape.com bd0d4ac743 56501 - Serializer changes in dealing with NOSCRIPT ( checkin for jst )
r=me
sr=scc
2000-10-15 17:33:11 +00:00
harishd%netscape.com 317893e085 56501 - Sink changes in dealing with NOSCRIPT content
r=jst
sr=scc,vidur
2000-10-15 17:31:09 +00:00
mstoltz%netscape.com 99a2b79580 Fixing 56009, exploit allowing XPConnect access. r,a=hyatt, sr=scc 2000-10-13 22:59:47 +00:00
jst%netscape.com d952c93575 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
buster%netscape.com 7f078398f2 bug 55250 (crash when align attribute is changed)
r=karanze
a=waterson
2000-10-12 20:43:18 +00:00
jst%netscape.com 09789e8ee0 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 563eadb198 Fixing rtm++ bug 54892. The .offsetParent property on the BODY element was incorreclty returning its real parent in stead of null. sr=vidur, r=pierre 2000-10-11 23:11:28 +00:00
pollmann%netscape.com a2cf49269d Bug 54966, 54845, 55906: Prevent psm-glue from accidentally cancelling form submit for file: urls, javascript: urls, and submits to 127.0.0.1 r=javi,jst sr=mscott 2000-10-11 09:53:29 +00:00
attinasi%netscape.com ecabb80a7a Implemented the backend for the following prefs: Override Document colors, Override document fonts, Link and Visited link colors, and Underline links. Provided the ability to disable the preferences as well, so Composer can show changed fonts and colors. These changes are stewing on the trunk for a day or so before making their debut on the branch. b=40340, r=karnaze,pierre a=buster 2000-10-11 08:33:01 +00:00
buster%netscape.com d11af5d076 bug 29276 (text inside <label> tags within a table cell breaks out of table cell)
bug 1164 (ALIGN=MIDDLE and ALIGN=ABSMIDDLE values are not being supported)
bug 54119 (percentage (%) image (img) heights do nothing)
r=karnaze, rods, attinasi
a=waterson
2000-10-09 21:19:36 +00:00
pierre%netscape.com 543d81b5ef bug 47846: Crash opening mail message. r=attinasi+brendan, a=phil 2000-10-09 08:51:50 +00:00
jst%netscape.com b3d9cbac12 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 47f8fdf71e 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 45342163b9 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
rods%netscape.com 5fcd33af27 Focus rect is now drawn and erased directly via C++ code. Focus comes from "SetFocus" being set
on the content node which calls the frame. The frame is notified of Blur via thecontent node
watching for NS_CONTENT_BLUR events.
The rule we are removing from html.css is responsible for drawing in the focus,
but it causes the combobox, the dropdown and all the options to have their style reresolved.
Bug 32920, r=attinasi, b=buster
2000-10-04 13:39:07 +00:00
rods%netscape.com c80b1b9d5e subtract off 2 point sizes for fonts for List and Button on Windows and make sure
it is zero or greater
Bug 53744, r=attinasi, sr=buster
2000-10-04 02:17:44 +00:00
bryner%uiuc.edu 3fcba76e2b Fix for bug 53723 (gray form control on Linux). r=pierre, ianh,
pavlov.  sr/a=ben.
2000-10-04 00:38:03 +00:00
dougt%netscape.com bfbbaa82b6 Restores INCLUDE_XUL #define. b=54248. r/a=hyatt@netscape.com 2000-10-01 05:24:00 +00:00
hyatt%netscape.com 3cee6bdb23 Fix for 53417. r=brendan, a=brendan 2000-09-27 20:23:49 +00:00
cmanske%netscape.com 8038f6e0f2 Fixing new content serializer's formatting to match behavior in current HTMLContentSink output. (This is a branch to be integrated later; not part of any current tip or 6.0 branch build) r/a=vidur 2000-09-27 19:23:36 +00:00
harishd%netscape.com 66f020d558 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
mozilla.BenB%bucksch.org 60384e2742 51285: Move |EnsureBlockDisplay| to make it less agressive. Patch by attinasi, r=buster 2000-09-23 17:59:20 +00:00
rods%netscape.com 59a4fba503 The font size for selects and buttons needs to reduce the font size by 2 points
from the default font size set in prefs
b=53744 a=buster
2000-09-23 00:30:04 +00:00
jst%netscape.com 50cb267dc7 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 4285057062 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
pierre%netscape.com fb572bb67f fix related to the reconstruction of html.css (#6625) and to css system fonts (#1021): in quirks mode and on each platform, use the same fonts as Nav4 for edit fields, lists and buttons. r=rods a=buster 2000-09-21 10:21:23 +00:00
jst%netscape.com 31aca48aad Fixing nsbeta3+ 49112. Making with(someimageelement) { src=someurl; } work by dynamically defining the 'src' property in nsHTMLImageElement::Resolve() (since src is defined as [noscript] in the IDL). r/a=vidur, r/a=brendan 2000-09-21 02:42:46 +00:00
jst%netscape.com afe4b175f9 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 8ece07cb91 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
heikki%netscape.com e13fae3ffe Fixed bug 52526, the cause was that image load event was bubbling even though the specs say it should not. Previously we were not even sending the load event on image load. I also fixed bug 50478 by fixing the logic in GetBubbles and GetCancelable of the DOMEvent. This helps in testing the first bug. I also fixed several cases where we had wrong combination of event class and event struct type. a=waterson, r=joki,rods. 2000-09-19 21:47:04 +00:00
jst%netscape.com 9a938e886f Fixing nsbeta3+ bug 52572. Renaming CSSValue::valueType to CSSValue::cssValueType to be up-to-date with the latest changes to the DOM Level 2 spec. r/a=vidur, r=pollmann 2000-09-19 05:37:23 +00:00
jst%netscape.com 96a956c384 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
joki%netscape.com 7eb4f33a20 Fix for 30178, "hrefs override imagemap" and part of fix for 5693 by removing old hack to make :hover work on links. r:jst 2000-09-15 06:15:31 +00:00
rpotts%netscape.com 6f9f0f1cee Removed two bogus asserts... 2000-09-15 06:13:11 +00:00
rayw%netscape.com d39d9e6d59 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 274bc5e8c8 bug 51338, cookie nag box not modal on meta-tag cookies, r=harishd 2000-09-14 18:59:47 +00:00
dbaron%fas.harvard.edu bf8a8ed6e7 Change the names of behavior and opacity DOM properties to MozBinding and MozOpacity, and make them work again with new CSS property names. r=jst, except for case change (Moz not moz) agreed on mozilla-style b=3935 2000-09-14 14:18:24 +00:00
mjudge%netscape.com a2fa9edcb5 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
pinkerton%netscape.com a20b67ad5f before starting a selection, make sure we aren't in a link because we don't want to usurp the DnD code. r=mjudge, bug# 52541. 2000-09-14 08:47:46 +00:00
jst%netscape.com 0031679c0b 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 6cc70ebd6c 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 9243f9cdad if you want a pointer to characters, you're going to have to |.get()| it 2000-09-13 08:21:04 +00:00
scc%mozilla.org 983223fbc2 if you want a pointer to the characters, your going to have to |.get()| it 2000-09-13 04:47:36 +00:00
scc%mozilla.org d2b859ab77 if you want a pointer to the characters, you're going to have to |.get()| it 2000-09-13 02:48:08 +00:00
kandrot%netscape.com c0249a4636 Fix for bug #51944. This change removes the stored selector text, and adds a method to the selector to generate the text, if needed.
r=vidur
2000-09-13 00:05:04 +00:00
harishd%netscape.com dfdff8d6ba 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 1b0e97ed6b 36082: don't load contents of script tag if script evaluation is off. r=brendan 2000-09-11 22:27:53 +00:00
rods%netscape.com 8370535078 stripping CR/LF in href attrs on mouse over or mouse click
b=52119 r=harishd
2000-09-11 21:21:40 +00:00
vidur%netscape.com fae2208e28 Added missing HTML tags. r=jst 2000-09-10 07:04:30 +00:00
rods%netscape.com 6cf19df91a reverting back to using macro for impl of set/get of disabled attr
b=41252 r=attinasi
2000-09-09 22:18:53 +00:00
jst%netscape.com 585c9cdc89 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 0bbeb76430 Bug 51856: Allow selection of just part of a text input or textarea to increase the karma around people who make typos. r=jst@netscape.com 2000-09-09 01:22:01 +00:00
pnunn%netscape.com c6b9835eb3 bug:13718: natural img dimens. pnunn, r:sfraser 2000-09-08 22:52:05 +00:00
valeski%netscape.com fffc143b83 50188. ifdef debug'ing stderr output so we don't spew it in release builds. 2000-09-08 22:43:58 +00:00
pollmann%netscape.com 584c5f6ec7 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
sfraser%netscape.com bcea862cd3 Fix the tree bustage. r=jst 2000-09-08 02:06:56 +00:00
dbaron%fas.harvard.edu 9b8dfea330 Clean up reporting of CSS parser errors: Use |nsAReadableString|s and an additional macro to allow all the error reporting to be done by macros. Also clean up a few comments. Not part of the default build (you must define CSS_REPORT_PARSE_ERRORS).
Make namespace prefixes case insensitive within CSS by normalizing to lower-case.  b=35813

r=attinasi
2000-09-08 02:05:09 +00:00
pollmann%netscape.com f51a223363 Bug 13652: select method should fire onselect handlers, blur should blur, r=jst@netscape.com 2000-09-08 01:46:00 +00:00
akkana%netscape.com f2a51fdcb9 50821: don't force a bogus 3.2 doctype, and eliminate OutputNoDoctype flag. r=cmanske 2000-09-07 18:40:14 +00:00