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

2289 Коммитов

Автор SHA1 Сообщение Дата
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
hyatt%netscape.com e050817098 Fix for 67739. r=pierre,attinasi, sr=ben 2001-02-15 21:25:31 +00:00
hyatt%netscape.com 6d784c14e8 Fix for 67739. r=pierre,attinasi sr=ben 2001-02-15 21:24:47 +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
jfrancis%netscape.com fed9703e2b 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 55715aa6e7 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 9968e71541 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 2156fd088a #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 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
jst%netscape.com 57fb4072b5 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 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
pierre%netscape.com 9af01acf22 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 ea66f70179 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 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
jst%netscape.com d6d94da0ff 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 f9f8015c1c 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 8d5cb84a07 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 5565218676 Moving methods around to make this file make more sense. no code changes. 2001-02-03 03:50:04 +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
jst%netscape.com 15cb2acddd 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 41c0bd2ce3 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 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
jst%netscape.com 6428a91973 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 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
attinasi%netscape.com 73fc7b1a0d 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 0b29f035c9 Removed CNavDTD dependency.
r=jst
sr=vidur
2001-01-25 19:33:57 +00:00
mcafee%netscape.com 7ecf530933 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 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
hewitt%netscape.com b061c11ad1 52381 - DOM selectorText implementation, r=attinasi/jst, sr=waterson 2001-01-22 04:03:48 +00:00
pierre%netscape.com 62bf433a35 #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 c72ba88ee8 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 be43d5e2a0 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 adf202b502 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 b119e95db4 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 06ad76ab78 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 b74658e1ff 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 99150cedb1 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 657a77d24e 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 75f4f0f6f9 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 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
jst%netscape.com b1ebf176a1 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 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
dbaron%fas.harvard.edu caa9658024 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 7d3fb8a274 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 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 ccf4483775 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 469f98b907 More mac bustage fixes... 2000-12-23 13:32:28 +00:00
jst%netscape.com 9d288d841d One more attempt at fixing the mac redness. 2000-12-23 12:57:59 +00:00
jst%netscape.com 0def54d99d Attempting to fix mac bustage. 2000-12-23 11:59:05 +00:00
jst%netscape.com 3c2288e0b9 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 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
rods%netscape.com 01c76373c3 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 c543ccf234 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 eea715dc3f 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 68cf67e019 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 7ccca40aab 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 0b7bd0948d 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 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
hyatt%netscape.com d9f3df81f0 Patch for 55595. r=joki, a=brendan 2000-11-27 07:55:20 +00:00
cls%seawood.org 66a18fcbbf 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 684ef11aeb 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 3870ddca29 Bug 59389, eliminate nsIContent::IsSynthetic(). r=jst, a=vidur. 2000-11-08 00:42:42 +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
hyatt%netscape.com 824a44fab8 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 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
blakeross%telocity.com 027eeadcc1 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 9a6d92a433 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 bafa544b10 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 99ce6eef2c 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 c1ccea8268 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 8911ee3487 Bug 13871: Frameset spoofing - cleanup unneeded DOM interface. r=jst, sr=vidur 2000-10-24 04:35:25 +00:00
pollmann%netscape.com 1ef66b0dbd 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 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
hyatt%netscape.com b97a5ea3cf 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 1e5f75e727 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 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
hyatt%netscape.com 379b66f6ec Fix for 56167. r=joki, a=waterson 2000-10-16 21:52:22 +00:00
harishd%netscape.com 91cb27bcff 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 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
buster%netscape.com 6e23903f89 bug 55250 (crash when align attribute is changed)
r=karanze
a=waterson
2000-10-12 20:43:18 +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 3069f6b20d 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 ea3baaa437 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 f959a038e4 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 13899dbffa 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 c9409e6184 bug 47846: Crash opening mail message. r=attinasi+brendan, a=phil 2000-10-09 08:51:50 +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
rods%netscape.com 965ad980fb 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 2732c621e8 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 320b10e024 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 4de121dc63 Restores INCLUDE_XUL #define. b=54248. r/a=hyatt@netscape.com 2000-10-01 05:24:00 +00:00
hyatt%netscape.com bc40a1821f Fix for 53417. r=brendan, a=brendan 2000-09-27 20:23:49 +00:00
cmanske%netscape.com 71c1e8d72d 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 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
mozilla.BenB%bucksch.org df4e806ceb 51285: Move |EnsureBlockDisplay| to make it less agressive. Patch by attinasi, r=buster 2000-09-23 17:59:20 +00:00
rods%netscape.com 336e477482 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 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
pierre%netscape.com 3cfd5c30d9 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 6e53f5662f 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 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
heikki%netscape.com c3c301798c 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 1a5288822d 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 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
joki%netscape.com 0267aa3dd3 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 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
dbaron%fas.harvard.edu 19bd466446 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 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
pinkerton%netscape.com 3a03377767 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 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 38e1cdde57 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 cfbee28623 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 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
kandrot%netscape.com 861c2cc6cb 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 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
rods%netscape.com 8405e126aa 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 580c3f4c4b Added missing HTML tags. r=jst 2000-09-10 07:04:30 +00:00
rods%netscape.com e50b4c7bdd 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 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 a5c145257d 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 7a62c0d377 bug:13718: natural img dimens. pnunn, r:sfraser 2000-09-08 22:52:05 +00:00
valeski%netscape.com a0ab5edcee 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 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
sfraser%netscape.com 76a1ca49fb Fix the tree bustage. r=jst 2000-09-08 02:06:56 +00:00
dbaron%fas.harvard.edu c2cbfd2d6d 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 4262a79a1f 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 3c2341c61c 50821: don't force a bogus 3.2 doctype, and eliminate OutputNoDoctype flag. r=cmanske 2000-09-07 18:40:14 +00:00
morse%netscape.com f1dd1c89b4 bug 51338, cookie nag box not modal, r=mstoltz 2000-09-07 07:00:36 +00:00
hyatt%netscape.com cccbddadec Patch to enable event.originalTarget on input fields. r=joki 2000-09-07 02:47:52 +00:00
ftang%netscape.com fe633c6d96 fix bug 50654. r=nhotta take care " in the charset 2000-09-06 20:41:12 +00:00
rods%netscape.com d21753a7fc For NavQuirks we need to set the appropriate font for buttons/selects or for text and textarea
If these fonts are set in the html.css or quirk.css they cannot be overriden
We now use the CSS3 font names and for NavQuirks we adjust the fonts to match Nav 4.x
The change is to give field fonts monospace instead of sans-serif
Bug 44656 r=dcone
2000-09-06 14:02:44 +00:00
jst%netscape.com 4e563c4a15 Fixing a cloneNode() regression in the HTML code, doing a deep clone on a element that didn't have a style attribute was failing to clone it's chil nodes. r=pollmann@netscape.com 2000-09-06 05:03:34 +00:00
dbaron%fas.harvard.edu c9392da530 Add code to allow the CSS parser to report errors. This code is not enabled by default in any builds, but it could be useful for chrome authors to catch CSS errors. We may want to turn it on in debug builds at some point, but it needs some work first. r=attinasi 2000-09-06 02:27:46 +00:00
dbaron%fas.harvard.edu 8c105459ae Change the names of CSS properties that are not part of the CSS2 specification by adding a -moz- prefix. Change the names of those that are used internally to use -x-, just for documentation. b=3935 r=attinasi 2000-09-06 02:15:18 +00:00
rods%netscape.com 2ec6128d8f fixed so script can find out if an option is selected when no frame exists
no all DOM calls can be made on a select or an option with or without a frame
and the results will be correct
All the PresState info (for now) is kept in the select content, a couple of new
methods were added to nsISelectElement to make it easier for the option to
Get/Set its index
Bug 45760 r=kmcclusk
2000-09-05 13:37:16 +00:00
dbaron%fas.harvard.edu c3bbbaf9c8 Fix build warning by renaming variable. r=disttsc@bart.nl 2000-09-05 02:08:41 +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
saari%netscape.com cbf6ecc1f7 fix for 46505, text inputs and text areas need to change their event targets when crossing the anonymous content boundry. r=hyatt 2000-09-02 04:59:44 +00:00
jst%netscape.com 3e82d91d63 Tweaking the fix to nsbeta3+ bug 28277 so that the src property of the a JavaScript constructed image is correcly set at the time when the onload and onerror events fire. r=nisheeth@netscape.com 2000-09-01 23:23:35 +00:00
harishd%netscape.com 4668b6e263 7670 - Enable NOSCRIPT.
r=jst
2000-09-01 18:17:43 +00:00
jst%netscape.com 7fec4da1ce Comment and whitespace change... 2000-09-01 08:24:00 +00:00
jst%netscape.com 7aa7ed7f6d Fixing nsbeta3+ bug 28277. Add a callback to nsHTMLImageElement so that we know when a image created in JavaScript has loaded (or fails to load), this is needed to support onload and onerror event fireing and also to support the '.complete' property on images create in JavaScript. r=nisheeth@netscape.com 2000-09-01 07:05:08 +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
pollmann%netscape.com 1b49ca7042 Bug 49897: Only send focus and left click events from labels to target content r=jst@netscape.com 2000-09-01 00:48:47 +00:00
jst%netscape.com ca738093f5 Fixing nsbeta3+ bug 48213 and most of bug 48161. Finally removing the temporary DOM Level 2 debugging code, cleaning out some unused code and making getAttribute and setAttribute on HTML elemensts case insensitive. r=vidur@netscape.com, waterson@netscape.com 2000-08-31 00:36:31 +00:00
rods%netscape.com f90be81a55 Notifying the doc that an attribute is changed is the wrong approach
Making "REFLOW" be the hint for when rows or cols attrs are changed
Not doing it for input text it seems to work fine without
b=50280
2000-08-30 21:59:53 +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
rods%netscape.com 8507f2d98b Moved the dispatch of the onChange to after where the property is set, this way it will have the "new" value
Removed macro impl of Set/GetSize and implemented it to notify the document that an attr has changd and the hint is reflow so when the size gets changed via script it changes size
b=50280,50436 r=kmcclusk
2000-08-29 01:50:31 +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
attinasi%netscape.com 87e7fd47e2 Fixed to handle ToInteger returning an error. b=29061 r=kmccluck@netscape.com 2000-08-28 23:44:05 +00:00
jst%netscape.com df6f2a53e2 Removing unused code from the build. r=pollmann@netscape.com 2000-08-26 07:00:17 +00:00
warren%netscape.com 3ec392431b Bug 15623. Fixed registration of nsKeygenHandler. 2000-08-25 18:48:50 +00:00
rods%netscape.com 239bac387a changed mozoutline to -moz-outline
b=48973 r=ianh
2000-08-25 14:28:22 +00:00
waterson%netscape.com 9c85e83202 Bug 47191. Trim whitespace from relative spec before constructing absolute URLs. r=jst 2000-08-25 06:03:49 +00:00
jst%netscape.com 1c85ae898c Fixing nsbeta3+ bug 49548. Making the 'type' property on input elements default to 'text', and making the 'type' property of button elements be all lowercased. r=vidur@netscape.com 2000-08-25 01:57:28 +00:00
rods%netscape.com 7f0dcda2ea Temporarily changed outline to be mozoutline, this will enable us to get links
to show a focus rect. When we get outlines really working, then mozoutline will go away.
b=48973 r=attinasi
2000-08-24 13:45:48 +00:00
cltbld%netscape.com 7f50eca4d0 Fixing solaris bustage -jst,mcafee 2000-08-23 21:38:20 +00:00
jst%netscape.com 75698e4585 Fix for Solaris bustage. 2000-08-23 20:41:13 +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
rods%netscape.com 2838a98adc In NavQuirks mode it makes the default font for CSS3 fonts: button, field, caption sans-serif
b=33312 r=kmcclusk
2000-08-23 10:28:28 +00:00
jband%netscape.com 5b1229a9a8 Use hastable based nsStaticNameTable rather than slower and fatter AVLTree for static names. fix bug 48855. r=harishd,attinasi 2000-08-22 06:57:32 +00:00
jst%netscape.com bd22259260 Fixing nsbeta3+ bug 44024. Expose the stylesheets in stye and link elements (DOM Level 2) as 'sheet' properties on the elements. r=harishd@netscape.com 2000-08-22 04:14:53 +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
waterson%netscape.com 4eb1b2b3b0 Bug 46846. HandleEventForAnchors() call to QI() for nsILink rather than look for 'href' attribute; fix potential problems with document charset and image maps and <link> tags. (Really just an extension of cleanup for bug 10373) r=dbaron 2000-08-20 21:57:50 +00:00
warren%netscape.com a94aa1aa52 Fix for hash code performance problem discovered by bienvenu. 'Sampling' hash code was statistically evil. 2000-08-20 21:29:10 +00:00
scc%mozilla.org eb0aaea827 fixing code that relied on implicit string construction 2000-08-19 22:23:46 +00:00