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
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
saari%netscape.com
c5b4a238c8
Fix for PDT+ bugs 21602 and 21648. r=joki
...
git-svn-id: svn://10.0.0.236/trunk@56055 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 22:04:43 +00:00
hyatt%netscape.com
2c134c2abf
Massive rewrite of the focus/blur architecture. Things should behave better
...
now. r=saari
git-svn-id: svn://10.0.0.236/trunk@55715 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 04:54:29 +00:00
saari%netscape.com
de3e84d435
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
git-svn-id: svn://10.0.0.236/trunk@55078 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 20:55:17 +00:00
norris%netscape.com
1ffa0ae294
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
git-svn-id: svn://10.0.0.236/trunk@54940 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 22:23:22 +00:00
brendan%mozilla.org
96b0c7d20d
Whitespace/comment police.
...
git-svn-id: svn://10.0.0.236/trunk@54533 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-28 10:32:13 +00:00
norris%netscape.com
2429ef124a
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
git-svn-id: svn://10.0.0.236/trunk@54477 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 05:28:18 +00:00
vidur%netscape.com
29607952c0
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
...
git-svn-id: svn://10.0.0.236/trunk@54457 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 00:05:21 +00:00
tbogard%aol.net
ae5a81e394
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
...
git-svn-id: svn://10.0.0.236/trunk@54392 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 06:03:41 +00:00
dmose%mozilla.org
92d791b7b0
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
joki%netscape.com
acb57210c3
Fix for bug 17835. Free JS event listeners when the JS object they're registered on goes away. a:chofmann r:vidur
...
git-svn-id: svn://10.0.0.236/trunk@52886 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-05 23:37:40 +00:00
joki%netscape.com
c79e9c67d2
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
...
git-svn-id: svn://10.0.0.236/trunk@52691 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 07:11:45 +00:00
rods%netscape.com
cd163418a8
Added ConsumeFocusEvents method to consume all focus event and make sure they don't get dispatched
...
git-svn-id: svn://10.0.0.236/trunk@49429 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 11:40:42 +00:00
cyeh%netscape.com
cfce14ff56
Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people.
...
git-svn-id: svn://10.0.0.236/trunk@45405 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 01:13:14 +00:00
briano%netscape.com
33f0e42086
General cleanup.
...
git-svn-id: svn://10.0.0.236/trunk@45370 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 00:47:39 +00:00
tague%netscape.com
6bbc6c0935
Added support for a reply from the StartComposition message. Necessary for XIM support on UNIX.
...
git-svn-id: svn://10.0.0.236/trunk@45252 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 01:20:32 +00:00
tague%netscape.com
3d05ffd145
Fix build bustage
...
git-svn-id: svn://10.0.0.236/trunk@42394 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 03:10:14 +00:00
tague%netscape.com
5f2b704a17
Added support for replies from private DOM text events. See bug #4826
...
git-svn-id: svn://10.0.0.236/trunk@42391 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 02:32:13 +00:00
joki%netscape.com
539a7178d4
Partial fixes for focus/blur events on windows/frames, fixes for incorrect event.target values
...
git-svn-id: svn://10.0.0.236/trunk@41315 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 20:55:03 +00:00
joki%netscape.com
73627c01e7
Event fixes to allow key event handling by GFX widgets and fixes for window.defaultStatus.
...
git-svn-id: svn://10.0.0.236/trunk@41139 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-26 15:02:19 +00:00
joki%netscape.com
065c158182
Updating DOM event apis and changing behavior to properly respect capturing, bubbling, and cancellation methods.
...
git-svn-id: svn://10.0.0.236/trunk@40134 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 19:54:34 +00:00
waterson%netscape.com
c6970d71cd
Add GetIID().
...
git-svn-id: svn://10.0.0.236/trunk@37530 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-30 19:28:16 +00:00
joki%netscape.com
1b13b0f841
Fixes for event going to frames which have changes as a result of other event handlers. (loosely bug 1283)
...
git-svn-id: svn://10.0.0.236/trunk@35325 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 03:14:28 +00:00
waterson%netscape.com
ea935454c0
More bug 6823. Need to have a GetIID() on nsIEventListenerManager.
...
git-svn-id: svn://10.0.0.236/trunk@32473 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 21:22:02 +00:00
hyatt%netscape.com
5693100c68
Fix for the regression described in bug 6823.
...
git-svn-id: svn://10.0.0.236/trunk@32469 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 19:27:02 +00:00
joki%netscape.com
5ff7e26f51
Breaking nsIDOMEvent out into nsIDOMEvent and nsIDOMUIEvent.
...
git-svn-id: svn://10.0.0.236/trunk@32168 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:51:04 +00:00
rods%netscape.com
34e1dba245
Added Drag Over to act like "hover"
...
git-svn-id: svn://10.0.0.236/trunk@30106 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 14:44:51 +00:00
joki%netscape.com
a158b164ef
Adding scrolling fixes to fix bug #3999 , A: chofmann
...
git-svn-id: svn://10.0.0.236/trunk@29867 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 19:38:39 +00:00
joki%netscape.com
6c59f19391
New api's into nsEventStateManager for content state change (hover,focus,active)
...
git-svn-id: svn://10.0.0.236/trunk@27211 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 21:24:07 +00:00
joki%netscape.com
58d63da788
Updating internal implementations to new DOM2 api syntax, capture/bubble functionality, new EventStateManager stuff (focus improvements)
...
git-svn-id: svn://10.0.0.236/trunk@25418 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 22:22:54 +00:00
hyatt%netscape.com
f41ac2bd41
Changes to fix the bookmarks menu crashing problem.
...
git-svn-id: svn://10.0.0.236/trunk@24165 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 05:39:04 +00:00
joki%netscape.com
e62bbe65fe
Adding new tab handling and focus support.
...
git-svn-id: svn://10.0.0.236/trunk@22599 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 19:19:24 +00:00
joki%netscape.com
5d1ef109ba
Removing nsILinkHandler enum types from dependencies, fixing event handler bugs
...
git-svn-id: svn://10.0.0.236/trunk@18961 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 23:14:36 +00:00
shaver%netscape.com
9e90a70671
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!]
git-svn-id: svn://10.0.0.236/trunk@16441 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 16:32:37 +00:00
joki%netscape.com
765dbfd39b
Add click event support for every element and initial keypress event support
...
git-svn-id: svn://10.0.0.236/trunk@15233 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 07:46:58 +00:00
joki%netscape.com
63292505da
Modify event flow to avoid walking into trashed frames.
...
git-svn-id: svn://10.0.0.236/trunk@14919 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 00:43:36 +00:00
joki%netscape.com
f1462f4d55
Reworking internal event code to use nsIFrame::GetFrameForPoint
...
Adding new functionality through nsEventStateManager (cursor change, enter/exit events, tab navig)
git-svn-id: svn://10.0.0.236/trunk@14864 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 05:25:26 +00:00
cls%seawood.org
08a6bbac38
New autoconf files for nglayout
...
git-svn-id: svn://10.0.0.236/trunk@13594 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 03:53:57 +00:00
joki%netscape.com
e562c4ba4b
Adding window.open method, fixing editormode in release builds, various event fixes
...
git-svn-id: svn://10.0.0.236/trunk@7528 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 04:45:03 +00:00
joki%netscape.com
098159977e
Adding support for event handlers in html tags and moving event handler IIDs to central file.
...
git-svn-id: svn://10.0.0.236/trunk@6962 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 18:21:37 +00:00
dcone%netscape.com
2785da3077
added nsIStateManager.h, nsIEventListenerManager.h, nsIPrivateDOMEvent.h
...
git-svn-id: svn://10.0.0.236/trunk@6525 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 16:29:24 +00:00
dcone%netscape.com
701aa2cc9f
Added manifiest file so the nsIEventListenerManager could be public
...
git-svn-id: svn://10.0.0.236/trunk@6519 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 15:30:14 +00:00
joki%netscape.com
fb49c0d645
Hooking up window element to event chain and adding in support for a few more event types.
...
git-svn-id: svn://10.0.0.236/trunk@6376 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 05:06:44 +00:00
joki%netscape.com
5352fa5b8e
More event stuff. Modified HandleDOMEvent, modified nsGUIEvent types, added mouseover, mouseout.
...
git-svn-id: svn://10.0.0.236/trunk@6219 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 02:55:33 +00:00
joki%netscape.com
20c386dbe1
Adding new DOM stuff to handle JS event handlers
...
git-svn-id: svn://10.0.0.236/trunk@5792 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 04:52:12 +00:00
joki
4520e7ae2d
Event handling additions for DOM suport. Adding additional event pathway through HandleDOMEvent
...
git-svn-id: svn://10.0.0.236/trunk@4326 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 21:53:02 +00:00
joki
8edbb0a851
Removing no longer used file from Makefiles
...
git-svn-id: svn://10.0.0.236/trunk@3472 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 02:03:31 +00:00
joki
1e97d505b1
Adding parts of dom event flow into layout.
...
git-svn-id: svn://10.0.0.236/trunk@3442 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 07:54:32 +00:00