Commit Graph

271 Commits

Author SHA1 Message Date
saari%netscape.com
a7256ab15f Fix for space bar scrolling page when in text fields. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@67987 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 00:49:37 +00:00
nisheeth%netscape.com
8a6a52bef1 1) Added support for loading an XML document "out of band" from script and manipulating it via dom interfaces.
2) Fixed compile errors in XSL glue code that happened after the recent nsString landing by scc.
3) Added a check for a null URI before de-referencing it in nsCodeBasePrincipal.cpp.


git-svn-id: svn://10.0.0.236/trunk@67709 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 06:58:53 +00:00
michael.lowe%bigfoot.com
8807cc67e0 Implement CSS2 resize cursors on Windows (bug 1916)
git-svn-id: svn://10.0.0.236/trunk@67665 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 15:29:32 +00:00
bryner%uiuc.edu
d505a018fe Reorganizing the mousewheel code, and in the process fixing bug 36886 and
working around bug 32344.  Also removing some old #ifdef code that is not
going to be used.


git-svn-id: svn://10.0.0.236/trunk@67093 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 06:25:43 +00:00
joki%netscape.com
8aabc79a05 fixes for 5995, 7304, 10573, 22832, and 9668.
Changes to event handling to deal with reentrant events, cursor fixes, and return value fixes.


git-svn-id: svn://10.0.0.236/trunk@66958 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 04:41:27 +00:00
tbogard%aol.net
b7b1ee0f64 Changed over from using the webshell APIs and nsISessionHistory to using the webNavigation interface on the docshell to go back and forward. Don't have to get the root, docshell does that for you.
git-svn-id: svn://10.0.0.236/trunk@66123 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 06:14:38 +00:00
scc%netscape.com
8a7f53cc88 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66101 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 20:15:37 +00:00
mstoltz%netscape.com
e8a0e8479c Made prefapi.h private and removed all #includes of it outside of libpref. r=norris
git-svn-id: svn://10.0.0.236/trunk@66060 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 03:43:09 +00:00
saari%netscape.com
407a95b69f Fix for 27936, double carets in message compose window. reviewed by hyatt many moons ago, tested by many.
git-svn-id: svn://10.0.0.236/trunk@66010 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 21:49:34 +00:00
hyatt%netscape.com
3dca29dd25 Cuddling mailnews and giving it some of my sweet sweet love. r=saari
git-svn-id: svn://10.0.0.236/trunk@65635 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 00:24:07 +00:00
saari%netscape.com
1f93ec4b0d Fix for M15 bug, crashing on tab. Effectively a null check in event state manager. r=hyatt, a=leaf
git-svn-id: svn://10.0.0.236/trunk@65562 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 20:52:52 +00:00
danm%netscape.com
8351af30e1 abort on null PresShell during focus blur and deactivate. bug 34148 r=saari
git-svn-id: svn://10.0.0.236/trunk@65277 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 02:10:25 +00:00
hyatt%netscape.com
c1aeb69e54 Elimination of nsIFocusableContent and improvements to tabbing r=saari
git-svn-id: svn://10.0.0.236/trunk@65217 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 23:55:31 +00:00
scc%netscape.com
e16ab47ebe making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@65029 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 11:20:35 +00:00
bryner%uiuc.edu
45556e0036 This fixes bug 31204 (mousewheel scrolling with pointer over a textfield),
by hooking up the parent document for the editor.  r=jst@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@64891 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 20:09:54 +00:00
scc%netscape.com
d88198c611 small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64167 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 10:06:21 +00:00
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