hyatt%netscape.com
c8a09afc79
Making all focusable content properly tabbable.
...
git-svn-id: svn://10.0.0.236/trunk@63849 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 09:56:58 +00:00
saari%netscape.com
ec7629c39d
Null checking for saftey in some of the focus code. r=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@63505 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 00:47:19 +00:00
jst%netscape.com
96aefc9b5d
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
git-svn-id: svn://10.0.0.236/trunk@63290 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 13:27:00 +00:00
bryner%uiuc.edu
b71d6e40c0
Fixing a stupid leak from mousewheel scrolling. r=pinkerton.
...
git-svn-id: svn://10.0.0.236/trunk@63259 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 06:27:45 +00:00
bryner%uiuc.edu
d419808175
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.
git-svn-id: svn://10.0.0.236/trunk@63128 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 03:34:52 +00:00
bryner%uiuc.edu
52aae81167
Changing nsresult -> NS_IMETHODIMP.
...
git-svn-id: svn://10.0.0.236/trunk@63006 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 05:02:23 +00:00
bryner%uiuc.edu
8c80411e00
Fixing build bustage. Sorry about that.
...
git-svn-id: svn://10.0.0.236/trunk@63000 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 04:29:00 +00:00
bryner%uiuc.edu
516bef93d5
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.
git-svn-id: svn://10.0.0.236/trunk@62998 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 04:03:44 +00:00
bryner%uiuc.edu
3779514c53
Removing some old dead code. r=sspitzer.
...
git-svn-id: svn://10.0.0.236/trunk@62688 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 06:21:32 +00:00
bryner%uiuc.edu
79e912a95c
Fix bug 31507, mousewheel history navigation causes segfault. r=saari.
...
git-svn-id: svn://10.0.0.236/trunk@62675 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 01:19:39 +00:00
bryner%uiuc.edu
6dc1e0ac3d
Fix bug 30174, mouse wheel does not scroll FTP directories. r=troy.
...
git-svn-id: svn://10.0.0.236/trunk@62636 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 08:45:38 +00:00
joki%netscape.com
d4515655d4
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
...
git-svn-id: svn://10.0.0.236/trunk@62485 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 20:22:55 +00:00
joki%netscape.com
3fb867170e
Fix bug 28988, add null check and consume event when script object/window is destroyed while processing an event. a:rickg, r:saari
...
git-svn-id: svn://10.0.0.236/trunk@62474 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 15:33:35 +00:00
joki%netscape.com
2902db6f2c
Fix bug 9140. Prevent window level mouse exit events from accidentally propagating to content. r:rods a:jar
...
git-svn-id: svn://10.0.0.236/trunk@62167 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 23:07:31 +00:00
saari%netscape.com
fd4c76d4e8
Fix for PDT+ 29833, r=hyatt, a=jevering
...
git-svn-id: svn://10.0.0.236/trunk@62082 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 23:15:01 +00:00
saari%netscape.com
0feb5f5a05
fix for PDT+ 29004. r=hyatt, a=jevering
...
git-svn-id: svn://10.0.0.236/trunk@61830 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 03:54:49 +00:00
saari%netscape.com
35cfc92cb4
28467 fix, a=jar, r=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@61713 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-26 01:02:31 +00:00
pinkerton%netscape.com
3d55061c24
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.
...
git-svn-id: svn://10.0.0.236/trunk@61568 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 03:41:14 +00:00
bryner%uiuc.edu
024181717c
Set the event status to prevent us from receiving multiple mousewheel
...
events on Win32. Fixes bug 24083. r=saari,pinkerton. a=chofmann.
git-svn-id: svn://10.0.0.236/trunk@61244 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 23:52:45 +00:00
joki%netscape.com
dcc35666e8
Fixes for bug 9544, 9552, 9558, 9561, and 13309. event handler 4x compat. and capture/bubble fixes. r:pollmann
...
git-svn-id: svn://10.0.0.236/trunk@61096 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 06:59:07 +00:00
alecf%netscape.com
345e9c57a6
add debug_hyatt around this printf so I don't get it constantly
...
git-svn-id: svn://10.0.0.236/trunk@61090 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 06:26:41 +00:00
joki%netscape.com
49b90e87fb
Fix for bug 9140, prevent recursion of mouseover/out events. r:vidur
...
git-svn-id: svn://10.0.0.236/trunk@61044 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 03:52:45 +00:00
vidur%netscape.com
c1719e8d11
Cutting down on debug printf noise.
...
git-svn-id: svn://10.0.0.236/trunk@60808 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 05:06:45 +00:00
saari%netscape.com
620f8e6169
Fix for crashes in EventStateManager that may people are seeing. Bug 27727. r=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@60753 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 00:28:43 +00:00
saari%netscape.com
0c9ed11708
fix for 25434, PDT+ crasher. r=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@60592 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 08:33:12 +00:00
hyatt%netscape.com
74646aeb15
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
git-svn-id: svn://10.0.0.236/trunk@60534 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 23:41:13 +00:00
joki%netscape.com
15bfe999f1
Fix for bug 24947, prevent recursive blur/focus calls. r:saari
...
git-svn-id: svn://10.0.0.236/trunk@60441 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 05:20:44 +00:00
akkana%netscape.com
20d400ff7c
Fixing nsCOMPtr taining build bustage. a=gramps
...
git-svn-id: svn://10.0.0.236/trunk@60414 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 02:38:20 +00:00
tbogard%aol.net
11c3af9ebc
Changed the FocusAvailable to call on the new docshell path rather than the old webshell/ container path. r=saari
...
git-svn-id: svn://10.0.0.236/trunk@60410 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 01:56:01 +00:00
vidur%netscape.com
f1a9c3f401
Fix for bug 9140. Area elements now have event fired for them. r=joki
...
git-svn-id: svn://10.0.0.236/trunk@60399 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 01:24:59 +00:00
rods%netscape.com
29215e2548
Accesskey registration methods (empty stubs at this point)
...
b 7559, r=joki
git-svn-id: svn://10.0.0.236/trunk@60239 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 15:14:55 +00:00
joki%netscape.com
bcf5da502c
Adding getPreventDefault method to events and fixing its propagation through content. r:hyatt
...
git-svn-id: svn://10.0.0.236/trunk@60037 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 02:05:57 +00:00
bryner%uiuc.edu
e932a61bf1
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.
git-svn-id: svn://10.0.0.236/trunk@59815 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-05 00:58:29 +00:00
warren%netscape.com
b14ca3b6c7
Added an assertion for case when return code gets ignored.
...
git-svn-id: svn://10.0.0.236/trunk@59723 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 03:06:16 +00:00
norris%netscape.com
6fc5a6608b
Fix bug #25864 watch() vulnerability
...
r=vidur,rogerl
git-svn-id: svn://10.0.0.236/trunk@59445 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 00:22:58 +00:00
vidur%netscape.com
825e97e024
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
...
git-svn-id: svn://10.0.0.236/trunk@59117 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 23:43:12 +00:00
saari%netscape.com
67ec2fc3c1
Something I forgot with yesterday's checkin.
...
git-svn-id: svn://10.0.0.236/trunk@59015 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 04:04:26 +00:00
kmcclusk%netscape.com
5f7ac3effb
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
git-svn-id: svn://10.0.0.236/trunk@58838 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 23:04:40 +00:00
norris%netscape.com
0dd1063455
Fix 23227 Document object vulnerability
...
r=mstoltz
git-svn-id: svn://10.0.0.236/trunk@58789 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 15:33:57 +00:00
hyatt%netscape.com
d58696d355
Fixes for bugs: 18193, 13971, 23440, 18444, 21462, 21818, 22619, 23498, 24081, and 21972. r=just about everybody.
...
git-svn-id: svn://10.0.0.236/trunk@58568 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 06:35:27 +00:00
norris%netscape.com
e4653042f2
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
git-svn-id: svn://10.0.0.236/trunk@58429 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-23 04:23:14 +00:00
waterson%netscape.com
e7fe781360
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
...
git-svn-id: svn://10.0.0.236/trunk@58414 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-22 22:00:35 +00:00
saari%netscape.com
597d62eba7
Fix for 24124, focus crasher. Review and a whole lot of help from danm.
...
git-svn-id: svn://10.0.0.236/trunk@58211 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 03:03:09 +00:00
bryner%uiuc.edu
ccf75f8758
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.
git-svn-id: svn://10.0.0.236/trunk@57964 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-16 05:30:49 +00:00
brade%netscape.com
4ff4f74a42
remove function DispatchKeyPressEvent (not used); initialize the modifier keys in the event structure; r=joki
...
git-svn-id: svn://10.0.0.236/trunk@57944 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 17:21:20 +00:00
brade%netscape.com
f3a29e1a4a
remove function DispatchKeyPressEvent (not used) r=joki
...
git-svn-id: svn://10.0.0.236/trunk@57943 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 17:21:10 +00:00
brade%netscape.com
2b900a9e8f
initialize to nsnull; r=vidur
...
git-svn-id: svn://10.0.0.236/trunk@57676 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 14:53:51 +00:00
hyatt%netscape.com
49d579d9fe
Cleaning up makefile
...
git-svn-id: svn://10.0.0.236/trunk@57675 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 11:50:18 +00:00
hyatt%netscape.com
16e11e6e8f
Fix for 18444
...
git-svn-id: svn://10.0.0.236/trunk@57674 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 11:49:18 +00:00
hyatt%netscape.com
d5cdba236a
Fix for 18444
...
git-svn-id: svn://10.0.0.236/trunk@57673 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 11:43:54 +00:00