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

53 Коммитов

Автор SHA1 Сообщение Дата
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
hyatt%netscape.com 537541b987 Elimination of nsIFocusableContent and improvements to tabbing r=saari 2000-04-04 23:55:31 +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
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
rods%netscape.com bc703cef36 Accesskey registration methods (empty stubs at this point)
b 7559, r=joki
2000-02-09 15:14:55 +00:00
saari%netscape.com 97e523f919 Fix for PDT+ bugs 21602 and 21648. r=joki 1999-12-15 22:04:43 +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
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
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
brendan%mozilla.org 118bd6c79b Whitespace/comment police. 1999-11-28 10:32:13 +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
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
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
cyeh%netscape.com 26effbde96 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 01:13:14 +00:00
briano%netscape.com e5e316ce8a General cleanup. 1999-09-01 00:47:39 +00:00
tague%netscape.com d22744e0e1 Added support for a reply from the StartComposition message. Necessary for XIM support on UNIX. 1999-08-31 01:20:32 +00:00
tague%netscape.com 59c80d1df9 Fix build bustage 1999-08-06 03:10:14 +00:00
tague%netscape.com 1e3c4f5ac5 Added support for replies from private DOM text events. See bug #4826 1999-08-06 02:32:13 +00:00
joki%netscape.com 37bfd24b93 Partial fixes for focus/blur events on windows/frames, fixes for incorrect event.target values 1999-07-27 20:55:03 +00:00
joki%netscape.com deb676cd44 Event fixes to allow key event handling by GFX widgets and fixes for window.defaultStatus. 1999-07-26 15:02:19 +00:00
joki%netscape.com 0af283b8e2 Updating DOM event apis and changing behavior to properly respect capturing, bubbling, and cancellation methods. 1999-07-19 19:54:34 +00:00
waterson%netscape.com 602b1c37bf Add GetIID(). 1999-06-30 19:28:16 +00:00
joki%netscape.com 33ed7f5b51 Fixes for event going to frames which have changes as a result of other event handlers. (loosely bug 1283) 1999-06-15 03:14:28 +00:00
waterson%netscape.com ca3211269e More bug 6823. Need to have a GetIID() on nsIEventListenerManager. 1999-05-21 21:22:02 +00:00
hyatt%netscape.com 8fb2c9835b Fix for the regression described in bug 6823. 1999-05-21 19:27:02 +00:00
joki%netscape.com 022a0e65af Breaking nsIDOMEvent out into nsIDOMEvent and nsIDOMUIEvent. 1999-05-18 23:51:04 +00:00
rods%netscape.com 2ffa4c5b0f Added Drag Over to act like "hover" 1999-05-04 14:44:51 +00:00
joki%netscape.com 91c2b2ba1f Adding scrolling fixes to fix bug #3999, A: chofmann 1999-04-30 19:38:39 +00:00
joki%netscape.com 26b45c4762 New api's into nsEventStateManager for content state change (hover,focus,active) 1999-04-12 21:24:07 +00:00
joki%netscape.com 393a3e937e Updating internal implementations to new DOM2 api syntax, capture/bubble functionality, new EventStateManager stuff (focus improvements) 1999-03-28 22:22:54 +00:00
hyatt%netscape.com e61c558de9 Changes to fix the bookmarks menu crashing problem. 1999-03-15 05:39:04 +00:00
joki%netscape.com c401b7142e Adding new tab handling and focus support. 1999-03-02 19:19:24 +00:00
joki%netscape.com 76111374a3 Removing nsILinkHandler enum types from dependencies, fixing event handler bugs 1999-01-28 23:14:36 +00:00
shaver%netscape.com 2e1488cb9a Add --enable-debug=module1,module2 to selective turn on debugging.
Remove --enable-dom, because Mariner is dead (sob).
Rename some MODULE= lines to make the afore-mentioned --enable-debug
technique actually useful.  Feel free to recategorize.
Fix libraptorhtml.so link bogosity by disabling shared lib generation for the
sub-archives (libraptor*_s.a), so that we can put bin before lib in the
library path and still get the right effect.  We could disable static-lib
generation in most other places and cut the build time down a fair bit, too.
[NOTE: I'm getting on a train...msw@gimp.org has agreed to be my tinderbox
buddy.  Thanks, Matt!]
1998-12-15 16:32:37 +00:00
ramiro%netscape.com 2009b728de Add cvsignore entries for makefiles generated bu autoconf. 1998-12-05 09:07:33 +00:00
joki%netscape.com 09cd62b18e Add click event support for every element and initial keypress event support 1998-11-24 07:46:58 +00:00
joki%netscape.com c3708b2ed8 Modify event flow to avoid walking into trashed frames. 1998-11-19 00:43:36 +00:00
joki%netscape.com 7716dc91e8 Reworking internal event code to use nsIFrame::GetFrameForPoint
Adding new functionality through nsEventStateManager (cursor change, enter/exit events, tab navig)
1998-11-18 05:25:26 +00:00
cls%seawood.org 609f087498 New autoconf files for nglayout 1998-10-28 03:53:57 +00:00
joki%netscape.com 20d06b486a Adding window.open method, fixing editormode in release builds, various event fixes 1998-08-07 04:45:03 +00:00
joki%netscape.com 44c03fce8e Adding support for event handlers in html tags and moving event handler IIDs to central file. 1998-07-31 18:21:37 +00:00
dcone%netscape.com d32d8c6ae6 added nsIStateManager.h, nsIEventListenerManager.h, nsIPrivateDOMEvent.h 1998-07-27 16:29:24 +00:00
dcone%netscape.com dee8d80716 Added manifiest file so the nsIEventListenerManager could be public 1998-07-27 15:30:14 +00:00
joki%netscape.com 689aa84ddc Hooking up window element to event chain and adding in support for a few more event types. 1998-07-24 05:06:44 +00:00
joki%netscape.com 921c374705 More event stuff. Modified HandleDOMEvent, modified nsGUIEvent types, added mouseover, mouseout. 1998-07-23 02:55:33 +00:00
joki%netscape.com 1b3eefccdb Adding new DOM stuff to handle JS event handlers 1998-07-17 04:52:12 +00:00