Commit Graph

265 Commits

Author SHA1 Message Date
hyatt%netscape.com
0b141a6b2d Making all focusable content properly tabbable. 2000-03-23 09:56:58 +00:00
saari%netscape.com
7badcbb935 Null checking for saftey in some of the focus code. r=hyatt 2000-03-21 00:47:19 +00:00
jst%netscape.com
872a669579 Landing changes Vidur made while the tree was closed for beta1 work, here's a list of the changes. r=me
[1] Cutting down the size of content. Made nsIJSScriptObject inherit from nsIScriptObjectOwner
[2] Cutting down the size of content. Made nsITextContent inherit from nsIContent.
[3] Cutting down the size of content. Moved implementation of nsIDOMReceiver to nsListenerManager. This is not true aggregation since it isn't transitive, but it's OK for now. It will be necessary for nsListenerManager to have a reference to its content in the future anyway, so the transitivity could be done.

dom/public/nsDOMPropEnums.h,v  - bug 12559
dom/public/nsIJSScriptObject.h,v - [1]
dom/public/html/MANIFEST,v - bug 12559
dom/public/html/Makefile.in,v - bug 12559
dom/public/html/makefile.win,v -  bug 12559
dom/public/html/nsIDOMHTMLInputElement.h,v - bug 17544
dom/public/idl/html/HTMLAnchorElement.idl,v - bug 12559
dom/public/idl/html/HTMLAreaElement.idl,v - bug 12559
dom/public/idl/html/HTMLInputElement.idl,v - bug 17544
dom/src/base/nsGlobalWindow.cpp,v - bug 30700
dom/src/base/nsGlobalWindow.h,v - [1]
dom/src/base/nsLocation.cpp,v - [1]
dom/src/html/nsJSHTMLAnchorElement.cpp,v - bug 12559
dom/src/html/nsJSHTMLAreaElement.cpp,v - bug 12559
dom/src/html/nsJSHTMLInputElement.cpp,v - bug 17544
layout/base/public/nsIDocument.h,v - bug 27953
layout/base/public/nsITextContent.h,v - [2]
layout/base/src/nsCommentNode.cpp,v - [2]
layout/base/src/nsDocument.cpp,v - bug 27953
layout/base/src/nsDocument.h,v - bug 27953
layout/base/src/nsDocumentViewer.cpp,v - bug 27953
layout/base/src/nsGenericDOMDataNode.cpp,v - [3]
layout/base/src/nsGenericDOMDataNode.h,v - [3]
layout/base/src/nsGenericElement.cpp,v - [3]
layout/base/src/nsGenericElement.h,v - [3]
layout/base/src/nsNameSpaceManager.cpp,v - bug 7834
layout/base/src/nsStyleContext.cpp,v - outline property shouldn't reflow
layout/base/src/nsTextNode.cpp,v - [2]
layout/events/src/nsEventListenerManager.cpp,v - [3]
layout/events/src/nsEventListenerManager.h,v - [3]
layout/html/base/src/nsGfxScrollFrame.cpp,v - nsString->nsAutoString
layout/html/content/src/nsAttributeContent.cpp,v - [2]
layout/html/content/src/nsHTMLAnchorElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLAppletElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLAreaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBRElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBaseElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBaseFontElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBodyElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLButtonElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDelElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDirectoryElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDivElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLEmbedElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFieldSetElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFontElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFormElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFrameElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFrameSetElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHRElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHeadElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHeadingElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHtmlElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLIFrameElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLImageElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLInputElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLInsElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLIsIndexElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLIElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLabelElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLayerElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLegendElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLinkElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMapElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMenuElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMetaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLModElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLObjectElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOptGroupElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOptionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLParagraphElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLParamElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLPreElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLQuoteElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLScriptElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSelectElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSpacerElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSpanElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLStyleElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableCaptionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableCellElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableColElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableColGroupElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableRowElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableSectionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTextAreaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTitleElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLUListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLWBRElement.cpp,v - [1][3]
layout/html/document/src/nsHTMLDocument.cpp,v - bug 27953
layout/html/document/src/nsHTMLDocument.h,v - bug 27953
layout/xml/content/src/nsXMLCDATASection.cpp,v - [1][2]
layout/xml/content/src/nsXMLDocumentType.cpp,v - [1][2]
layout/xml/content/src/nsXMLElement.h,v - [1][2]
layout/xml/content/src/nsXMLEntity.cpp,v - [1][2]
layout/xml/content/src/nsXMLNotation.cpp,v - [1][2]
layout/xml/content/src/nsXMLProcessingInstruction.cpp,v - [1][2]
layout/xul/base/src/nsBoxFrame.cpp,v - nsString->nsAutoString
layout/xul/base/src/nsSliderFrame.cpp,v - nsString->nsAutoString
netwerk/protocol/http/src/nsHTTPRequest.cpp,v - nsString->nsAutoString
rdf/content/src/nsXULDocument.cpp,v - bug 27953
rdf/content/src/nsXULDocument.h,v - bug 27953
rdf/content/src/nsXULElement.h,v - [1]
xpcom/base/IIDS.h,v  - bug 12559
2000-03-17 13:27:00 +00:00
bryner%uiuc.edu
52e5ffae3c Fixing a stupid leak from mousewheel scrolling. r=pinkerton. 2000-03-17 06:27:45 +00:00
bryner%uiuc.edu
d64a914509 Change mousewheel debugging messages to use PR_LOG instead of being turned
on by an #ifdef.  This will enable nightly build users to generate useful
debugging output.
2000-03-16 03:34:52 +00:00
bryner%uiuc.edu
c03645c830 Changing nsresult -> NS_IMETHODIMP. 2000-03-15 05:02:23 +00:00
bryner%uiuc.edu
8c855923d1 Fixing build bustage. Sorry about that. 2000-03-15 04:29:00 +00:00
bryner%uiuc.edu
c96f3c7c16 Clean up handling of mousewheel prefs by removing built-in caching, and
use a shutdown observer so we can release the prefs service if
necessary.  r=sspitzer.
2000-03-15 04:03:44 +00:00
bryner%uiuc.edu
c923e727b2 Removing some old dead code. r=sspitzer. 2000-03-12 06:21:32 +00:00
bryner%uiuc.edu
e62a270deb Fix bug 31507, mousewheel history navigation causes segfault. r=saari. 2000-03-12 01:19:39 +00:00
bryner%uiuc.edu
b35bd6ca05 Fix bug 30174, mouse wheel does not scroll FTP directories. r=troy. 2000-03-11 08:45:38 +00:00
joki%netscape.com
0fa4add35d Fix for bug 31186, backout of part of fix for 28988. r:saari a:leaf and the rest of the irc crowd to fix tree blocker 2000-03-09 20:22:55 +00:00
joki%netscape.com
614b588d2f Fix bug 28988, add null check and consume event when script object/window is destroyed while processing an event. a:rickg, r:saari 2000-03-09 15:33:35 +00:00
joki%netscape.com
4c33e407f9 Fix bug 9140. Prevent window level mouse exit events from accidentally propagating to content. r:rods a:jar 2000-03-03 23:07:31 +00:00
saari%netscape.com
b811298c4b Fix for PDT+ 29833, r=hyatt, a=jevering 2000-03-02 23:15:01 +00:00
saari%netscape.com
a839266bd8 fix for PDT+ 29004. r=hyatt, a=jevering 2000-02-29 03:54:49 +00:00
saari%netscape.com
515c3ce686 28467 fix, a=jar, r=hyatt 2000-02-26 01:02:31 +00:00
pinkerton%netscape.com
2fa2e1e62e fix for case where when a frame is deleted as a result of a drag (say, moving a bookmark or mail message) we don't try to access the frame after it has been deleted but use |mCurrentTarget| which we know will be up to date and safe. Also check for null in UpdateCursor()...we should have been doing this anyway. r=saari, a=jevering. 2000-02-24 03:41:14 +00:00
bryner%uiuc.edu
a0bd56bc00 Set the event status to prevent us from receiving multiple mousewheel
events on Win32.  Fixes bug 24083.  r=saari,pinkerton.  a=chofmann.
2000-02-17 23:52:45 +00:00
joki%netscape.com
c564b74577 Fixes for bug 9544, 9552, 9558, 9561, and 13309. event handler 4x compat. and capture/bubble fixes. r:pollmann 2000-02-16 06:59:07 +00:00
alecf%netscape.com
0526e07dee add debug_hyatt around this printf so I don't get it constantly 2000-02-16 06:26:41 +00:00
joki%netscape.com
2919db4ef3 Fix for bug 9140, prevent recursion of mouseover/out events. r:vidur 2000-02-16 03:52:45 +00:00
vidur%netscape.com
59afb30e1b Cutting down on debug printf noise. 2000-02-15 05:06:45 +00:00
saari%netscape.com
84fd5fa25f Fix for crashes in EventStateManager that may people are seeing. Bug 27727. r=hyatt 2000-02-15 00:28:43 +00:00
saari%netscape.com
53f9de18ca fix for 25434, PDT+ crasher. r=hyatt 2000-02-12 08:33:12 +00:00
hyatt%netscape.com
34cd127797 Landing focus memory. If you pull before saari completes this checkin (we
still have to land nsWebShellWindow and nsGlobalWindow),
you will not like the result.  r=saari
2000-02-11 23:41:13 +00:00
joki%netscape.com
45b81df728 Fix for bug 24947, prevent recursive blur/focus calls. r:saari 2000-02-11 05:20:44 +00:00
akkana%netscape.com
a873ff2c2d Fixing nsCOMPtr taining build bustage. a=gramps 2000-02-11 02:38:20 +00:00
tbogard%aol.net
a83acd9498 Changed the FocusAvailable to call on the new docshell path rather than the old webshell/ container path. r=saari 2000-02-11 01:56:01 +00:00
vidur%netscape.com
d4b67b3219 Fix for bug 9140. Area elements now have event fired for them. r=joki 2000-02-11 01:24:59 +00:00
rods%netscape.com
e7e39e8162 Accesskey registration methods (empty stubs at this point)
b 7559, r=joki
2000-02-09 15:14:55 +00:00
joki%netscape.com
3480787577 Adding getPreventDefault method to events and fixing its propagation through content. r:hyatt 2000-02-08 02:05:57 +00:00
bryner%uiuc.edu
c28caccf54 Adding some new mousewheel code that isn't used yet. Also removing an
unneeded comparison in the existing code, and changing several occurrences
of NS_DEFINE_IID to NS_GET_IID.  r=saari.
2000-02-05 00:58:29 +00:00
warren%netscape.com
5080d81af2 Added an assertion for case when return code gets ignored. 2000-02-04 03:06:16 +00:00
norris%netscape.com
c04c4d51f9 Fix bug #25864 watch() vulnerability
r=vidur,rogerl
2000-02-02 00:22:58 +00:00
vidur%netscape.com
e8157b30cb Fix for bugs 20485 and 24600. We no longer flush immediately in the content sink when we hit a script element. Instead the sink is a document observer and listens for BeginUpdate/EndUpdate notifications when evaluating a script and flushes only if necessary. Added BeginUpdate/EndUpdate notifications to nsIDocument and layout content (note that it's still necessary for XUL content). r=nisheeth,pollmann 2000-01-28 23:43:12 +00:00
saari%netscape.com
729048aef7 Something I forgot with yesterday's checkin. 2000-01-28 04:04:26 +00:00
kmcclusk%netscape.com
eeeb109f4c Added support for widgetless viewmanager. Changed code pattern that assumed the root view
always has a nsIWidget instance to call viewmanager to get widget instance. b=22069; r=rods@netscape.com
2000-01-26 23:04:40 +00:00
norris%netscape.com
7ec9655d07 Fix 23227 Document object vulnerability
r=mstoltz
2000-01-26 15:33:57 +00:00
hyatt%netscape.com
0dfb94bf0a Fixes for bugs: 18193, 13971, 23440, 18444, 21462, 21818, 22619, 23498, 24081, and 21972. r=just about everybody. 2000-01-25 06:35:27 +00:00
norris%netscape.com
8507a58ec3 Files:
caps/include/nsScriptSecurityManager.h
	caps/src/nsScriptSecurityManager.cpp
	modules/libpref/src/init/all.js
Fix
24565 nsScriptSecurityManager::GetSecurityLevel() is a performance
24567 re-write DOM glue security checks to avoid NS_WITH_SERVICE()
r=waterson

Files:
	dom/src/base/nsGlobalWindow.cpp
	layout/base/src/nsDocument.cpp
	layout/base/src/nsGenericElement.cpp
Fix assertion failure for 1-character property names.


Files:
	dom/src/jsurl/nsJSProtocolHandler.cpp
	webshell/src/nsDocLoader.cpp
Fix 18653 "javascript:" URLs cross windows problems (probably regressi
r=nisheeth

Files:
	layout/events/src/nsEventListenerManager.cpp
Fix
23834 document.onkeypress allows sniffing keystrokes
24152 document.onclick shows links from other window
r=joki
2000-01-23 04:23:14 +00:00
waterson%netscape.com
d100985675 Bugs 18127, 20677, 23905. Partial fix. Give the nsXULPrototypeDocument it's own JSContext to use for compiling scripts and event handlers. Modify script and event handler code to compile shared scripts using this context, if appropriate. r=brendan 2000-01-22 22:00:35 +00:00
saari%netscape.com
f5b4ea7489 Fix for 24124, focus crasher. Review and a whole lot of help from danm. 2000-01-19 03:03:09 +00:00
bryner%uiuc.edu
6012d905b7 Make trees capable of scrolling by full pages with the mouse wheel.
General cleanup and additions to mousewheel debugging code (which is
#ifdef DEBUG_scroll).  r=hyatt.
2000-01-16 05:30:49 +00:00
brade%netscape.com
1a4bae4013 remove function DispatchKeyPressEvent (not used); initialize the modifier keys in the event structure; r=joki 2000-01-15 17:21:20 +00:00
brade%netscape.com
5fc79019be remove function DispatchKeyPressEvent (not used) r=joki 2000-01-15 17:21:10 +00:00
brade%netscape.com
6142b95f61 initialize to nsnull; r=vidur 2000-01-13 14:53:51 +00:00
hyatt%netscape.com
7665038584 Cleaning up makefile 2000-01-13 11:50:18 +00:00
hyatt%netscape.com
797cc38b9a Fix for 18444 2000-01-13 11:49:18 +00:00
hyatt%netscape.com
8b0ed8707d Fix for 18444 2000-01-13 11:43:54 +00:00