Commit Graph

54 Commits

Author SHA1 Message Date
joki%netscape.com
bbb0086bfe 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
aa7305bcb3 Elimination of nsIFocusableContent and improvements to tabbing r=saari 2000-04-04 23:55:31 +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
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
rods%netscape.com
e7e39e8162 Accesskey registration methods (empty stubs at this point)
b 7559, r=joki
2000-02-09 15:14:55 +00:00
saari%netscape.com
a622c90955 Fix for PDT+ bugs 21602 and 21648. r=joki 1999-12-15 22:04:43 +00:00
hyatt%netscape.com
244bfeaee8 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
bcb4759449 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
d89d87531c 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
62ebb4b490 Whitespace/comment police. 1999-11-28 10:32:13 +00:00
norris%netscape.com
51842ef45e 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
dd88339f19 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
af1ce8d410 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
5312eacf8c 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
0aa1e7650e 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
1675be15e0 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
b65978b79a 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
34cd2ddae1 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 01:13:14 +00:00
briano%netscape.com
45f9b17d23 General cleanup. 1999-09-01 00:47:39 +00:00
tague%netscape.com
97b0bd802c 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
dad401a40f Fix build bustage 1999-08-06 03:10:14 +00:00
tague%netscape.com
58316bd322 Added support for replies from private DOM text events. See bug #4826 1999-08-06 02:32:13 +00:00
joki%netscape.com
e49a6d584f 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
f1c8421c61 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
d752334449 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
a9e63d1095 Add GetIID(). 1999-06-30 19:28:16 +00:00
joki%netscape.com
2c742db83b 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
f9c59fc979 More bug 6823. Need to have a GetIID() on nsIEventListenerManager. 1999-05-21 21:22:02 +00:00
hyatt%netscape.com
602abf226d Fix for the regression described in bug 6823. 1999-05-21 19:27:02 +00:00
joki%netscape.com
71e96012a3 Breaking nsIDOMEvent out into nsIDOMEvent and nsIDOMUIEvent. 1999-05-18 23:51:04 +00:00
rods%netscape.com
59a80b40f3 Added Drag Over to act like "hover" 1999-05-04 14:44:51 +00:00
joki%netscape.com
d1f2b3ef88 Adding scrolling fixes to fix bug #3999, A: chofmann 1999-04-30 19:38:39 +00:00
joki%netscape.com
b6f2484b5b New api's into nsEventStateManager for content state change (hover,focus,active) 1999-04-12 21:24:07 +00:00
joki%netscape.com
1c2882e5e6 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
4c62785eab Changes to fix the bookmarks menu crashing problem. 1999-03-15 05:39:04 +00:00
joki%netscape.com
0baca6512f Adding new tab handling and focus support. 1999-03-02 19:19:24 +00:00
joki%netscape.com
c14cc1cb25 Removing nsILinkHandler enum types from dependencies, fixing event handler bugs 1999-01-28 23:14:36 +00:00
shaver%netscape.com
30635270f8 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
e2b921bf3c Add cvsignore entries for makefiles generated bu autoconf. 1998-12-05 09:07:33 +00:00
joki%netscape.com
e7f70ce9ce Add click event support for every element and initial keypress event support 1998-11-24 07:46:58 +00:00
cyeh%netscape.com
65038e9551 Removing static makefiles as a part of the transition to Autoconf. I have taken great
care to only remove makefiles affailiated with building nglayout. I have also verified that
the build at this point in time succesfully builds with autoconf.

If you must recover one of these makefiles, you can use the static tag STATIC_MAKEFILES.
If I removed a makefile that you need, please e-mail cyeh@netscape.com.
1998-11-21 00:34:32 +00:00
joki%netscape.com
65520ba928 Modify event flow to avoid walking into trashed frames. 1998-11-19 00:43:36 +00:00
joki%netscape.com
77fd9c2652 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
411ab80ce3 New autoconf files for nglayout 1998-10-28 03:53:57 +00:00
joki%netscape.com
9cb79b1687 Adding window.open method, fixing editormode in release builds, various event fixes 1998-08-07 04:45:03 +00:00
joki%netscape.com
fe390a0803 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
7cf65076d0 added nsIStateManager.h, nsIEventListenerManager.h, nsIPrivateDOMEvent.h 1998-07-27 16:29:24 +00:00
dcone%netscape.com
e3ef192bdb Added manifiest file so the nsIEventListenerManager could be public 1998-07-27 15:30:14 +00:00
joki%netscape.com
f85ed9ce71 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
ce61da5597 More event stuff. Modified HandleDOMEvent, modified nsGUIEvent types, added mouseover, mouseout. 1998-07-23 02:55:33 +00:00