joki%netscape.com
1cdf7b1070
Adding accesskey support. Bug 959.
2000-05-16 10:22:20 +00:00
bryner%uiuc.edu
473dcb0d5b
Hook up text enlarge/reduce with ctrl+mousewheel. bug
...
25427. r=erik@netscape.com .
2000-05-15 02:10:11 +00:00
saari%netscape.com
58bded8675
First checkin for bug 29800, preventing scrolling to content when focus
...
memory is resetting focus after deactivating and reactivating a window.
2000-05-11 22:40:51 +00:00
mjudge%netscape.com
a89f9e3c80
changing way we access caret. use the selection controller whenever possible. because it will make the caret do the right thing even when we have multiple selections accessing same caret.
2000-05-11 04:25:43 +00:00
pollmann%netscape.com
24a3947b93
Bug 17605: Don't tab to anchor without an href. r=harishd
2000-05-11 01:43:04 +00:00
sfraser%netscape.com
92b6ce8a47
Make nsEventStateManger support nsIWeakReference, so that they are not held onto as XPCOM observers. r=saari
2000-05-09 19:04:13 +00:00
michael.lowe%bigfoot.com
73b7310c91
Implement CSS3 cursors on Windows
2000-05-07 05:14:43 +00:00
joki%netscape.com
c7f081acc1
Fix for 10574, fix pageX, pageY coords to match 4.x behavior
2000-05-05 14:47:37 +00:00
joki%netscape.com
39233a94c8
Adding assertion and null check for mCurrentTarget in PostHandleEvent
2000-05-05 14:43:20 +00:00
saari%netscape.com
617482beb5
Fix for space bar scrolling page when in text fields. r=hyatt
2000-05-03 00:49:37 +00:00
nisheeth%netscape.com
fa1d77063b
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.
2000-05-01 06:58:53 +00:00
michael.lowe%bigfoot.com
32ad1a7b11
Implement CSS2 resize cursors on Windows (bug 1916)
2000-04-30 15:29:32 +00:00
bryner%uiuc.edu
68ad904901
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.
2000-04-25 06:25:43 +00:00
joki%netscape.com
3851e31b9f
fixes for 5995, 7304, 10573, 22832, and 9668.
...
Changes to event handling to deal with reentrant events, cursor fixes, and return value fixes.
2000-04-24 04:41:27 +00:00
tbogard%aol.net
a03e1ffa4e
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.
2000-04-16 06:14:38 +00:00
scc%netscape.com
927265130c
making string conversions explicit
2000-04-15 20:15:37 +00:00
mstoltz%netscape.com
a4b2043dcb
Made prefapi.h private and removed all #includes of it outside of libpref. r=norris
2000-04-15 03:43:09 +00:00
saari%netscape.com
aa9467d924
Fix for 27936, double carets in message compose window. reviewed by hyatt many moons ago, tested by many.
2000-04-14 21:49:34 +00:00
hyatt%netscape.com
304980e9cd
Cuddling mailnews and giving it some of my sweet sweet love. r=saari
2000-04-12 00:24:07 +00:00
saari%netscape.com
c0fb49e506
Fix for M15 bug, crashing on tab. Effectively a null check in event state manager. r=hyatt, a=leaf
2000-04-10 20:52:52 +00:00
danm%netscape.com
ba0b04425f
abort on null PresShell during focus blur and deactivate. bug 34148 r=saari
2000-04-05 02:10:25 +00:00
hyatt%netscape.com
537541b987
Elimination of nsIFocusableContent and improvements to tabbing r=saari
2000-04-04 23:55:31 +00:00
scc%netscape.com
be4311c49a
making string conversions explicit
2000-04-03 11:20:35 +00:00
bryner%uiuc.edu
d27deaa678
This fixes bug 31204 (mousewheel scrolling with pointer over a textfield),
...
by hooking up the parent document for the editor. r=jst@netscape.com .
2000-04-01 20:09:54 +00:00
scc%netscape.com
9c2f6dad62
small changes to clients of string converting APIs
2000-03-26 10:06:21 +00:00
hyatt%netscape.com
7ecc5d1450
Making all focusable content properly tabbable.
2000-03-23 09:56:58 +00:00
saari%netscape.com
b89a059ea4
Null checking for saftey in some of the focus code. r=hyatt
2000-03-21 00:47:19 +00:00
jst%netscape.com
b768001187
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
3c7b164c57
Fixing a stupid leak from mousewheel scrolling. r=pinkerton.
2000-03-17 06:27:45 +00:00
bryner%uiuc.edu
5d1042264d
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
963daa904a
Changing nsresult -> NS_IMETHODIMP.
2000-03-15 05:02:23 +00:00
bryner%uiuc.edu
185eefdef5
Fixing build bustage. Sorry about that.
2000-03-15 04:29:00 +00:00
bryner%uiuc.edu
8eb961e986
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
09f99f5187
Removing some old dead code. r=sspitzer.
2000-03-12 06:21:32 +00:00
bryner%uiuc.edu
34b42f2d14
Fix bug 31507, mousewheel history navigation causes segfault. r=saari.
2000-03-12 01:19:39 +00:00
bryner%uiuc.edu
f003f9fd71
Fix bug 30174, mouse wheel does not scroll FTP directories. r=troy.
2000-03-11 08:45:38 +00:00
joki%netscape.com
776030a706
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
a944ec326d
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
db16fa08a6
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
edd1f9baac
Fix for PDT+ 29833, r=hyatt, a=jevering
2000-03-02 23:15:01 +00:00
saari%netscape.com
f8b6e475eb
fix for PDT+ 29004. r=hyatt, a=jevering
2000-02-29 03:54:49 +00:00
saari%netscape.com
d88605b116
28467 fix, a=jar, r=hyatt
2000-02-26 01:02:31 +00:00
pinkerton%netscape.com
2fad7e232b
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
6543b52771
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
4596efac68
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
5a548d2760
add debug_hyatt around this printf so I don't get it constantly
2000-02-16 06:26:41 +00:00
joki%netscape.com
59302327ee
Fix for bug 9140, prevent recursion of mouseover/out events. r:vidur
2000-02-16 03:52:45 +00:00
vidur%netscape.com
20f4a68d80
Cutting down on debug printf noise.
2000-02-15 05:06:45 +00:00
saari%netscape.com
d424e9d21b
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
10b1426410
fix for 25434, PDT+ crasher. r=hyatt
2000-02-12 08:33:12 +00:00
hyatt%netscape.com
bd77bde56c
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
440e602f73
Fix for bug 24947, prevent recursive blur/focus calls. r:saari
2000-02-11 05:20:44 +00:00
akkana%netscape.com
3d64781210
Fixing nsCOMPtr taining build bustage. a=gramps
2000-02-11 02:38:20 +00:00
tbogard%aol.net
967c9ce147
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
306c814879
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
bc703cef36
Accesskey registration methods (empty stubs at this point)
...
b 7559, r=joki
2000-02-09 15:14:55 +00:00
joki%netscape.com
b7846d75d9
Adding getPreventDefault method to events and fixing its propagation through content. r:hyatt
2000-02-08 02:05:57 +00:00
bryner%uiuc.edu
aedeff9b62
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
39dc0d41c0
Added an assertion for case when return code gets ignored.
2000-02-04 03:06:16 +00:00
norris%netscape.com
131271ae68
Fix bug #25864 watch() vulnerability
...
r=vidur,rogerl
2000-02-02 00:22:58 +00:00
vidur%netscape.com
fa580e6551
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
9501564f7b
Something I forgot with yesterday's checkin.
2000-01-28 04:04:26 +00:00
kmcclusk%netscape.com
dc23d344e1
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
e7f484f030
Fix 23227 Document object vulnerability
...
r=mstoltz
2000-01-26 15:33:57 +00:00
hyatt%netscape.com
0f660e6f84
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
e753eaa792
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
903106b34d
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
57ea4c7120
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
694f805643
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
a6d671ec0e
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
659cea5806
remove function DispatchKeyPressEvent (not used) r=joki
2000-01-15 17:21:10 +00:00
brade%netscape.com
58b13d6b47
initialize to nsnull; r=vidur
2000-01-13 14:53:51 +00:00
hyatt%netscape.com
a55bebe0dd
Cleaning up makefile
2000-01-13 11:50:18 +00:00
hyatt%netscape.com
6be1991e03
Fix for 18444
2000-01-13 11:49:18 +00:00
hyatt%netscape.com
fd051365d5
Fix for 18444
2000-01-13 11:43:54 +00:00
sspitzer%netscape.com
8056debbe2
fixing my old enemy "the classic .get() with nsCOMPtr on solaris (and linux, if you have --enable-pedantic) turned on" bustage.
2000-01-12 07:39:00 +00:00
beard%netscape.com
5e6eab69d6
fixes nsIAtom leaks, bug=15906, r=sspitzer
2000-01-12 06:54:58 +00:00
bryner%uiuc.edu
51a564df40
This fixes mousewheel scrolling inside trees. I also cleaned up the code
...
in nsEventStateManager, moving the view/frame locating code to its own
function - this will be helpful for implementing page up/down scrolling
for trees. r=alecf.
2000-01-11 22:30:22 +00:00
cls%seawood.org
9f3b874745
Removed redundant XPDIST from the build. Changed existing references to DIST.
...
Replaced all uses of $(DIST)/include with $(PUBLIC) except those looking for NSPR headers.
Removed extra instances of $(DIST)/include or $(PUBLIC) from INCLUDES as it's already there.
Override OS_LIBS when setting host variables for cross-compiling.
2000-01-11 05:13:01 +00:00
brendan%mozilla.org
bd00bf675b
(bug 22795, r=vidur@netscape.com)
...
- Add "aShared" flag to nsIScriptContext::CompileEventHandler, telling it to clear the compiled event handler's scope chain if true, in order to
(a) avoid entraining garbage
(i.e., a shared compile-time-only parent object); and
(b) cause later BindCompiledEventHandler calls to ensure that the event handler has the particular scope chain needed for the binding
(to the target object that's receiving the event).
- Use :: consistently (and all over the place) before calls to JS_ functions in nsJSEnvironment.cpp.
- Eliminate tabs and barbarians-at-the-gate-of-Rome style, in favor of when-in-Rome style (hail Waterson Maximus!)
2000-01-08 00:24:24 +00:00
bryner%uiuc.edu
0da2c2a772
Implementing the mousewheel preferences. A new option has been added, "Use system default", which follows the OS
...
default (on Windows at least) for the number of lines to scroll. I also changes the default actions for the modifier
keys slightly.
2000-01-06 06:22:00 +00:00
sspitzer%netscape.com
a18efcb68c
whoops. when I checked in that warnings fix I accidentally checked in some
...
changes from bryner for the mouse wheel prefs. backing my last check in out,
but still fixing the warning.
1999-12-28 23:02:38 +00:00
sspitzer%netscape.com
42e7039924
fix warnings
1999-12-28 19:41:57 +00:00
mcafee%netscape.com
08c3c0f243
Fixing null pointer reference, patch submitted by jst@citec.fr. r=mcafee
1999-12-28 08:29:11 +00:00
vidur%netscape.com
beab8d39b8
Removing warnings. a=don r=waqar
1999-12-22 22:47:15 +00:00
hyatt%netscape.com
563b3b509d
Patch that gets tabbing back into text fields. r=waterson
1999-12-21 19:35:13 +00:00
pinkerton%netscape.com
c1fd7f7797
remove hand-rolled QI and using scc's macros. Also removing static IID's where necessary. r=hyatt,scc a=sdagley.
1999-12-21 19:28:15 +00:00
saari%netscape.com
8c44b2b1a8
Simple check for null fix for a crasher that some people are seeing quite a lot today. It is reflected in bug 22024. R= waterson, a= chofmann
1999-12-21 01:12:40 +00:00
hyatt%netscape.com
64b7811b77
Fixes for 3 PDT+ bugs (THAT'S RIGHT). Bugs 21895, 21832, and 21610. r=mjudge,
...
a=i'm leaving now for vacation, and i can't find anyone around, but i'm assuming that you
actually want them before January 3rd, so I'm checking them in.
1999-12-18 04:02:28 +00:00
saari%netscape.com
97e523f919
Fix for PDT+ bugs 21602 and 21648. r=joki
1999-12-15 22:04:43 +00:00
danm%netscape.com
167d27faa2
deathgrip the event listener manager in HandleEvent. partial fix for bug 21397. r:hyatt a:chofmann
1999-12-14 02:29:34 +00:00
hyatt%netscape.com
139c75574b
Fix for the crash in SendFocusBlur.
1999-12-11 05:42:18 +00:00
mjudge%netscape.com
2cf7e901e3
massive changes a=jar.hoffman, r=akkana
1999-12-11 00:02:08 +00:00
saari%netscape.com
b2d7a2eb2c
Helping to fix 19114 by making a strong ref weak. Potential fix for 19268 by making scrollbars not steal focus. r=hyatt a=chofmann
1999-12-10 00:51:50 +00:00
joki%netscape.com
25f4443f89
fix 21337, set modifier keys for generated events. r:brendan a:brendan
1999-12-09 21:02:09 +00:00
hyatt%netscape.com
3a797b3681
Fix for caret problems in Ender text fields. r=saari
1999-12-08 20:55:45 +00:00
hyatt%netscape.com
c759f0ad08
Fix for the two crashers: 21180 and 21163, r=saari
1999-12-08 20:18:16 +00:00
hyatt%netscape.com
c13bdf625e
Fix for 21139, r=waterson
1999-12-08 09:01:06 +00:00
hyatt%netscape.com
3f9fa43e97
Massive rewrite of the focus/blur architecture. Things should behave better
...
now. r=saari
1999-12-08 04:54:29 +00:00
brendan%mozilla.org
c939085774
- Rename "FunctionObject" or shorthands to "EventHandler" to make nsIScriptContext more scripting-language-neutral.
...
- Allow nsIScriptContext::BindEventHandler to take a null void* handler argument, to remove the binding by nullifying it (for hyatt's XML-driven-key-mapping work).
- Try to GetCompiledEventHandler (and if we don't, and compile it, Put too) for the load event and other non-deferred (XUL window-level) event listeners.
- Improve doc comments and whitespace.
1999-12-07 22:14:17 +00:00
ftang%netscape.com
723af171cd
add query composition event which get current curosor position. add timer base IME x y location query for gtk. r=erik. fix bug 17916 20550
1999-12-07 01:29:00 +00:00
kin%netscape.com
866303bdee
Fix for bug #20524 : [DOGFOOD] No Caret in Win32 Composer window
...
Made some modifications to nsEventStateManager::PreHandleEvent().
We now prevent setting of gLastFocusedContent when handling
NS_ACTIVATE. We now allow DOM focus notifications even when
we can't send a blur notification in NS_GOTFOCUS.
r=saari@netscape.com
1999-12-06 21:48:36 +00:00
joki%netscape.com
c68fbf669c
Fix for bug 20663, mem leak in event listeners. r:beard
1999-12-04 23:40:05 +00:00
joki%netscape.com
805ffa761a
Fix bug 14836, keep disabled control from responding to events. r:pollmann@netscape.com
1999-12-04 02:22:21 +00:00
tbogard%aol.net
648ace3e23
1.) WebShell no longer implements nsIScriptContextOwner.
...
2.) WebShell now implements the new nsIScriptGlobalObjectOwner.
3.) WebShell supports GetInterface to nsIScriptGlobalObject.
4.) Documents no longer carry around a reference to nsIScriptContextOwner. Instead they hold on to a nsIScriptGlobalObject. nsIDocument::GetScriptContextOwner has now become nsIDocument::GetScriptGlobalObject(). Same change to the set methods.
1999-12-03 09:24:22 +00:00
brendan%mozilla.org
f3855ca6b0
- Doc-comments for nsIScriptContext methods I added or modified.
...
- Rename nsIScriptContext::CompileFunction to CompileEventHandler, and add BindCompiledEventHandler, to reflect function name restrictions and help brutal sharing.
- Add adjunct-interface nsIScriptEventHandlerOwner to nsIScriptObjectOwner.h; this interface is queried for by nsEventListenerManger.cpp to test and fill the XUL prototype event handler "cache".
- PR_LOG JS warnings, and look in javascript.options.{strict,werror} for those options.
- Implement nsIScriptEventHandlerOwner in nsXULElement, keeping pointers to pre-compiled event handlers in nsXULPrototypeAttribute.
(bug 13218, r=waterson@netscape.com ,vidur@netscape.com)
1999-12-03 03:40:30 +00:00
saari%netscape.com
1779ba2e0e
Adding new event state manager API GetFocusedEventTarget which returns the current frame in focus
...
regardless of the ESM instance you call it from. Editor guys need this for bug 20225
1999-12-02 20:55:17 +00:00
danm%netscape.com
a9db94dfe7
adding 'close' xul event handler. part of bug 13695. r:hyatt@netscape.com
1999-12-01 22:35:33 +00:00
norris%netscape.com
afb1f1e1e3
Fix
...
20257 unable to edit existing images in editor due to JS error
19933 JavaScript "window.location" core dumps in CAPS
Back out previous changes for enforcing security on listeners and go with a
simple restriction of access to the method for adding listeners.
r=mstoltz
1999-12-01 22:23:22 +00:00
saari%netscape.com
c882a84687
Fix for bug 18983, multiple carets showing up. R: shaver, a long time ago. I've since verified personally on linux and other platforms.
1999-12-01 09:09:46 +00:00
bryner%uiuc.edu
c271bcbc40
Making a minor optimization for mousewheel scrolling on trees. r=shaver.
1999-11-30 22:00:28 +00:00
waterson%netscape.com
04b634654b
Fix incorrect use of dont_QueryInterface() in PreHandleEvent() that was leaking.
1999-11-29 22:47:39 +00:00
brendan%mozilla.org
b05bdb027a
Use nsAutoString for local strings (r=vidur@netscape.com).
1999-11-29 21:15:42 +00:00
brendan%mozilla.org
118bd6c79b
Whitespace/comment police.
1999-11-28 10:32:13 +00:00
warren%netscape.com
4ab4ee4d4e
Eliminated the libs build pass.
1999-11-28 03:05:01 +00:00
norris%netscape.com
b62c04253e
Fix 18553 [DOGFOOD] addEventListener allows sniffing keystrokes
...
Add checks to nsScriptSecurityManager::CheckCanListenTo that take
a principal and ensure that the currently executing script code
either is from the same origin as that principal or has the
UniversalBrowserRead privilege enabled. (chrome code has all
privileges enabled by default.) It's okay for the principal passed in
to be null. That just signifies a privileged window/document that only
can be listened to with privileges.
I added GetPrincipal/SetPrincipal methods to nsIEventListenerManager.
nsDocument::GetNewListenerManager sets a principal on the listener
manager when it creates one. Obviously there are other places that
create listener managers, but scripts seem to go through this one.
Another change is to save some memory usage. Currently I allocate an
array of PolicyType that is NS_DOM_PROP_MAX elements long.
Unfortunately, compilers appear to allocate four bytes for each
PolicyType, so the array takes around 2400 bytes. I've added changes
to use two bit vectors that should consume about 1/16 that space.
r=joki
There are also changes that push nsnull onto the JSContext stack when
entering a nested event loop.
r=jband
1999-11-25 05:28:18 +00:00
vidur%netscape.com
c49c6f4ec1
Fixes for 19650 and 15133. Added nsHTMLDocument::Resolve(). Script event handler compilation is deferred till when the event handler is first invoked. Atoms used for event name comparisions instead of strings. R=joki
1999-11-25 00:05:21 +00:00
tbogard%aol.net
a0640b60c4
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
1999-11-24 06:03:41 +00:00
warren%netscape.com
a4e7d3e5e4
Minor cleanup.
1999-11-23 07:05:53 +00:00
joki%netscape.com
e3b049c197
Fix for 17683, add key events for alt+numpad character generation. r:vidur
1999-11-22 19:45:13 +00:00
bryner%uiuc.edu
d245b90d04
These changes will enable scrolling with the mouse wheel (currently only
...
for unix). r=saari.
1999-11-21 01:46:41 +00:00
saari%netscape.com
7582e2e065
Bring back, bring back, bring back the caret to me, to me...
...
The return of the text caret. Simple change, start dispatching content
focus events to the window (what I checked in) *and* the document (the
way it worked before, what editor relied upon). Discussed with joki, but not
technically reviewed.
1999-11-16 00:04:55 +00:00
don%netscape.com
ce0079e2d5
Checked in saari fix for bug #18876 to help re-open tree. r:saari
1999-11-15 20:09:37 +00:00
saari%netscape.com
80a7ab6371
Landing focus changes. R: joki
1999-11-13 05:16:33 +00:00
pinkerton%netscape.com
6915f28945
don't generate drag exit events until _after_ drop event has been processed. move from PreHandleEvent to PostHandleEvent. r=saari.
1999-11-12 01:02:14 +00:00
waterson%netscape.com
2e43f337cc
Bug 18066. Only addref the listener if it isn't already in our set of listeners. r=joki, a=chofmann
1999-11-09 23:37:08 +00:00
pinkerton%netscape.com
14245ece47
fix for #17664 (crash in drag code when css destroys the frame when clicking on link). small fix for when target is null on mouseMove events (say when mouse is in menu bar on MacOS). (r=saari).
1999-11-09 07:10:46 +00:00
joki%netscape.com
9a7af075b2
Fix for bug 17618, null out current event target frame after processing event. a:chofmann, r:vidur
1999-11-08 21:30:22 +00:00
dmose%mozilla.org
42fc94a6ec
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:40:37 +00:00
joki%netscape.com
bd3ab57a91
Fix for bug 17835. Free JS event listeners when the JS object they're registered on goes away. a:chofmann r:vidur
1999-11-05 23:37:40 +00:00
joki%netscape.com
d5c05ea133
Changes to DOM events to accomodate the new breakdown of events into mouse and key events. This fixes a couple of bug, though the main one is 13406. Involves changes to multiple DOM generated file as well as fixing up usage of DOM event api usage in editor, rdf, and xul. r:vidur
1999-11-03 07:11:45 +00:00
pinkerton%netscape.com
8e90a3e9c2
fix for #16463 (crash when frames involved in a drag went away) and nsCOMPtrizing a lot of things (r=saari).
1999-11-02 03:55:14 +00:00
pinkerton%netscape.com
54193af6af
allow mouse event coordinates to be accessed with d&d events in addition to mouse events, since d&d events have the same structure as mouse events. (r=joki).
1999-11-02 01:38:01 +00:00
brendan%mozilla.org
fe51b61664
(13163, r=alecf, scc, waterson, others; names available on request)
...
- Fix most of bug 13163 (see TODO for rest). This entails adding a version-string argument to nsIScriptContext::EvaluateString and passing it around lots of places in content sinks.
- Fix leaks and confusion about mSecurityManager and mNameSpaceManager in nsJSEnvironment.cpp. These still need to move from nsJSContext to nsGlobalWindow or thereabouts, jband and vidur are looking at that.
- Added comments and expanded tabs in nsJSEnvironment.cpp, esp. to EvaluateString. Also changed various nsresult vars to be named rv. Also restored brace/style conformity to nsJSProtocolHandler.cpp.
- Factored CompileFunction from AddScriptEventListener to pave the way for brutal sharing of compiled JS event handlers via JS_CloneFunctionObject.
- Lots of nsCOMPtr uses added. I'm using one for mNameSpaceManager. Hold mSecurityManager as a service explicitly, on the other hand (awaiting scc's fix to allow comptrs for services), and release in nsJSContext's dtor (fixing a leak). These two managers should be moved to the window object -- TODO item below.
- Hold JSRuntimeService along with JSRuntime for live of nsJSEnvironment, fix for shaver.
- Fix window.setTimeout etc. so the filename and line number of the timeout expr is propagated. This meant factoring nsJSUtils.cpp code.
- Fix all content sinks to use the same, and up-to-date JavaScript version parsing (whether for script type or for old language attribute); also fix SplitMimeType clones to strip whitespace.
- With waterson, fix bug in brutal-sharing version of XUL content sink: script src= should not evaluate the inline content of its tag.
1999-10-31 00:43:30 +00:00
troy%netscape.com
a47e8db44b
Changed SetView/GetView to take an additional argument which is the
...
pres context
1999-10-26 04:44:41 +00:00
rods%netscape.com
9903fdab4a
The code that checked to see whether it should explicitly set focus on the gfx's containing widget
...
now uget the new focused content's frame instead of using the mCurrentTarget. The mCurrentTarget
is correct for a mouse down but incorrect for a "tab". This is because the mCurrentTarget points at
the currently focused content for a tab event, instead of the new content.
r=joki, bug 11162
1999-10-19 21:57:43 +00:00
buster%netscape.com
27c06f0a19
no bug number, part of webshell cleanup. nsIWebShell.h was needlessly included, so I removed it
...
trivial change, no reviewer.
1999-10-15 13:34:45 +00:00
kipp%netscape.com
f9c3c010dc
Removed two more warnings
1999-10-15 00:29:28 +00:00
ftang%netscape.com
bd9000ea54
landing keyEvent_19991004_BRANCH
...
bugs # see the log of the check in into branch
author/reviewer:
mozilla/layout/base/src/nsRangeList.cpp brade/mjudge
mozilla/layout/html/forms/src/nsGfxTextControlFrame.cpp brade/ftang
mozilla/layout/events/src/nsDOMEvent.cpp brade/joki
mozilla/layout/events/src/nsEventStateManager.cpp brade/joki
mozilla/widget/public/nsGUIEvent.h akkana/ftang
mozilla/widget/src/windows/nsWindow.cpp ftang/mjudge
mozilla/widget/src/windows/nsWindow.h ftang/mjudge
mozilla/widget/src/mac/nsTextAreaWidget.cpp brade/ftang
mozilla/widget/src/mac/nsMacEventHandler.cpp brade/simon
mozilla/widget/src/xpwidgets/nsKeyBindMgr.cpp brade/ftang
mozilla/widget/src/gtk/nsGtkEventHandler.cpp akkana/?
mozilla/widget/src/gtk/nsWidget.cpp erik/ftang
mozilla/layout/xul/base/src/nsTreeCellFrame.cpp brade/ftang
mozilla/editor/base/nsEditorEventListeners.cpp brade/akkana
mozilla/editor/base/nsHTMLEditor.cpp brade/akkana
mozilla/rdf/content/src/nsXULKeyListener.cpp ftang/saari
fix the master bug- 15693
fix at least, but not limited to, the following bugs
10158,11956,6053,9333,10901,14348,6449,11845,13016,14410,15657,15307,15842,13856
1999-10-14 18:27:01 +00:00
vidur%netscape.com
8b5a3290c2
Fix for bug 15772. Check that a content node is part of the document tree before dispatching a blur event to it. R=joki
1999-10-13 04:19:26 +00:00
mjudge%netscape.com
21ba41e280
bugs 15547,15645,13665,13277,5761, r=akkana,kin,hyatt. fixing selection bugs, keyboard navigation, triple clicking and drag scrolling. get position not a valid call anymore to nsIFrame.h
1999-10-13 01:16:09 +00:00
kipp%netscape.com
b0dcc883f8
Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
1999-10-08 20:41:19 +00:00
rods%netscape.com
6eeeaff2b0
Added ConsumeFocusEvents method to consume all focus event and make sure they don't get dispatched
1999-09-30 11:40:42 +00:00
mscott%netscape.com
06e3be3316
Bug #14816 --> we were leaking a nsIPrincipal object in AddScriptEventListener which could be remedied using a nsCOMPtr.
...
Also clean up for insufficient rv useage, un-commoned JSPRINCIPALS_DROP and improving the control flow for readability.
These changes are actually Brendan's...i'm checking this in on his behalf.
r=mscott. a=brendan
1999-09-24 06:49:33 +00:00
joki%netscape.com
3f574efaed
Various fixes to prevent casting events to the wrong struct subtypes when queried
1999-09-22 06:30:01 +00:00
joki%netscape.com
e9e44594ea
Fix scrolling via home/end keys to scroll to beginning and end of doc
1999-09-22 06:28:57 +00:00
joki%netscape.com
de1d4abc32
Adding support for event.clickCount, obsoleting old dblclick event.
1999-09-22 02:29:33 +00:00
saari%netscape.com
6df67e6af3
Changing broadcaster to use onbroadcast instead of oncommand. Adding the "braodcast" "commandupdate" and "input" events. Changed all xul observes nodes to use onbroadcast instead of onchange.
1999-09-21 23:02:35 +00:00
joki%netscape.com
c681d323f9
Fix bug 6258, release of null content pointer due to reentrant event
1999-09-21 19:00:55 +00:00
joki%netscape.com
70f5a105ba
Adding old 4.x capture/release compatibility code, changing dom event VK_* names to DOM_VK_*
1999-09-21 14:18:52 +00:00