bryner%brianryner.com
de28a00f8c
Make command= event retargeting dispatch a new event rather than reusing the old one. Add a new interface for command events that supports a sourceEvent property for accessing the original event. Bug 336696, r=neil sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@198196 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-22 20:37:32 +00:00
bryner%brianryner.com
fd3da04fca
backing out 336696, I checked in the wrong version of the patch
...
git-svn-id: svn://10.0.0.236/trunk@198173 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-22 18:03:16 +00:00
bryner%brianryner.com
61a8c65480
Make command= event retargeting dispatch a new event rather than reusing the old one. Add a new interface for command events that supports a sourceEvent property for accessing the original event. Bug 336696, r=neil sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@198161 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-22 16:18:45 +00:00
Olli.Pettay%helsinki.fi
52e2d4c325
Bug 330494, Remove NS_EVENT_FLAG_INIT. Makes NN4 event handling and preventBubble and preventCapture methods no-op. r=sicking, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@194006 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 17:04:54 +00:00
Olli.Pettay%helsinki.fi
97d917f5bb
Bug 329512, Remove NS_XUL_CLICK r+sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@192282 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-13 20:57:36 +00:00
Olli.Pettay%helsinki.fi
b6cdf7cb60
Bug 234455, Centralize event dispatch r=jst, sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@191900 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-07 17:08:51 +00:00
leon.sha%sun.com
bc6b6662c8
Bug 328824 Something duplicate in the MACRO "NS_IS_MOUSE_EVENT".
...
Patch by alfred.peng@sun.com .
roc: review+
roc: superreview+
git-svn-id: svn://10.0.0.236/trunk@191564 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-02 08:41:08 +00:00
Olli.Pettay%helsinki.fi
38e1dbe796
Bug 326904, Remove NS_APP_EVENT_FLAG_HANDLED, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@189970 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-14 17:24:00 +00:00
gavin%gavinsharp.com
b499180d77
Bug 314427: nsIDOMPopupBlockedEvent should expose the blocked window's target name, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@183310 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-01 01:41:00 +00:00
dbaron%dbaron.org
874d8e8784
Back out most of the rest of bug 304462.
...
git-svn-id: svn://10.0.0.236/trunk@179160 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-28 16:45:39 +00:00
dbaron%dbaron.org
c0f10d9c21
Give popup blocked events a message constant. b=304462 r+sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@179107 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-26 21:38:38 +00:00
jwatt%jwatt.org
7240d0e8a8
Fixing bug 302103. Implement SVG events. r=tor@acm.org, sr=jst@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@178992 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 21:31:09 +00:00
roc+%cs.cmu.edu
5525e0f045
Bug 296036. Remove the very poorly specified (and redundant) field 'point' of nsEvent. r+sr=roc, patch by Eli Friedman
...
git-svn-id: svn://10.0.0.236/trunk@178666 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 03:57:07 +00:00
jst%mozilla.jstenback.com
79ba7b6cdd
Fixing bug 296704. Make re-dispatching of events work as expected. r=dveditz@cruzio.com, sr=bryner@brianryner.com, a=dveditz@cruzio.com
...
git-svn-id: svn://10.0.0.236/trunk@174986 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-22 01:53:58 +00:00
bryner%brianryner.com
3274ca4c10
Fix assorted issues with fastback, including adding progress listener notifications and introducing the PageHide and PageShow events. See bug 292971 for all of the details. r=darin, sr=bzbarsky, a=shaver.
...
git-svn-id: svn://10.0.0.236/trunk@174651 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-15 23:52:46 +00:00
bryner%brianryner.com
189a661d09
Add support for caching content viewers in session history to speed up back/forward (bug 274784). This initial landing has the feature disabled by default; set browser.sessionhistory.max_viewers to the maximum number of pages to cache to enable the feature. r=bzbarsky, sr/a=brendan.
...
git-svn-id: svn://10.0.0.236/trunk@173044 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-04 20:22:32 +00:00
jst%mozilla.jstenback.com
ebed1ee784
Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@172848 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 23:48:28 +00:00
timeless%mozdev.org
afac222a93
Bug 285974 Crash when we use ATOK on the other of editor[@ nsWindow::OnIMEQueryCharPosition]
...
patch by masayuki@d-toybox.com r=timeless sr=roc
git-svn-id: svn://10.0.0.236/trunk@170884 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-18 06:17:59 +00:00
bzbarsky%mit.edu
7572605e3c
Add a way for IME to query the caret position. Bug 278061, patch by
...
Masayuki Nakano (Mozilla Japan) <masayuki@d-toybox.com>, r=smontagu,glazou,
sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@168653 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-01 19:24:59 +00:00
jst%mozilla.jstenback.com
809b317cb3
Fixing bug 252326. Fixing some popup blocker problems. Making sure only trusted events get mark trusted, and only allow popups while processing trusted (initiated by the user) events. Patch by trev@gtchat.de and jst@mozilla.org, r=bzbarsky@mit.edu, rs=brendan@mozilla.org, bryner@biranryner.com
...
git-svn-id: svn://10.0.0.236/trunk@161765 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 19:28:46 +00:00
dbaron%dbaron.org
1c4905d744
Make NS_MUTATION_EVENT and NS_ACCESSIBLE_EVENT not be the same value. b=256469 r+sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@161280 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-25 22:26:15 +00:00
timeless%mozdev.org
2d2b43d7bc
Bug 238773 Separating nsDOMEvent into separate classes
...
patch by mozilla-bugzilla@future.shiny.co.il r=bryner sr=jst
git-svn-id: svn://10.0.0.236/trunk@161059 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-20 18:09:19 +00:00
dbaron%dbaron.org
41ff3ad83f
Update :hover state and mouse cursor and send mouse events when the position of the pointer changes due to scrolling or reflow. b=20022 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@158287 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-22 04:32:52 +00:00
bryner%brianryner.com
c69233d235
oops, this wasn't supposed to go on the trunk. backing out.
...
git-svn-id: svn://10.0.0.236/trunk@158278 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-21 23:41:30 +00:00
bryner%brianryner.com
ea5334a7ce
bringing branch changes forward
...
git-svn-id: svn://10.0.0.236/trunk@158277 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-21 23:35:56 +00:00
bryner%brianryner.com
b65ef5dbc6
Implement basic support for DOM level 2 UIEvents, and implement DOMActivate for HTML form control elements. Also minor usage cleanup for nsIDOMUIEvent. Bug 60212, r+sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@155788 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-30 23:55:16 +00:00
gerv%gerv.net
586f796c2a
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155091 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 22:01:16 +00:00
neil%parkwaycc.co.uk
6e350e305a
Bug 205648 Support "context menu" key under gtk/gtk2 p=crispin@flowerday.cx r=blizzard sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@153622 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-06 15:00:38 +00:00
bzbarsky%mit.edu
9699939548
MousMove events should not be cancelable. Bug 76929, r+sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@153552 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-05 01:34:34 +00:00
darin%meer.net
af98e4f306
landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@153357 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-28 22:34:07 +00:00
dbaron%dbaron.org
18c65e7769
Back out bug 20022. a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@152780 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-14 20:29:19 +00:00
jst%mozilla.jstenback.com
d28978604e
Fixing bug 68215. Adding support for the onbeforeunload event. r=peterv@propagandism.org, sr=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@152654 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 06:09:51 +00:00
mvl%exedo.nl
94aeeaf580
Add a way to manually show a single blocked pop-up window. Pass the features of the window.open() call in DOMPopupBlockedEvent.
...
Bug 198846, r=danm, sr=jag
git-svn-id: svn://10.0.0.236/trunk@152603 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-10 18:22:23 +00:00
dbaron%dbaron.org
b7508c936c
Update :hover state and mouse cursor and send mouse events when the position of the pointer changes due to scrolling or reflow. b=20022 r=roc sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@152252 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-04 00:11:59 +00:00
bryner%brianryner.com
7c1324c86b
fix uninitialized rangeArray. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@151269 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-13 23:16:06 +00:00
bryner%brianryner.com
3d8a7179f8
Improve the way in which nsEvent and its subclasses are initialized. Commonly-used members can now be initialized via an inline constructor, and all other members are initialized to zero. eventStructType is set automatically. This also fixes some cases where an eventStructType was doubling as a message -- NS_TEXT_EVENT is now only used as an eventStructType, with a message of NS_TEXT_TEXT. NS_COMPOSITION_* events get an eventStructType of NS_COMPOSITION_EVENT, and ditto for NS_RECONVERSION_*. NS_DRAGDROP_EVENT is no longer an eventStructType since it is not a unique type of struct. There is also some miscellaneous cleanup to nsDOMEvent. Bug 220228, r=jst, sr=blizzard.
...
git-svn-id: svn://10.0.0.236/trunk@151191 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-12 08:25:18 +00:00
bzbarsky%mit.edu
a49c23b2b7
Init the member vars to prevent access to uninitialized memory. Bug 203505,
...
r=bryner, sr=jst, a=sspitzer
git-svn-id: svn://10.0.0.236/trunk@141988 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-01 01:01:03 +00:00
danm%netscape.com
4ff6e06e52
new popupblocked domevent. bug 199705 r=jaggernaut,jst
...
git-svn-id: svn://10.0.0.236/trunk@141208 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-15 23:34:08 +00:00
bryner%netscape.com
8232690f9a
Prevent right and middle click from triggering onclick handlers by making sure NS_EVENT_FLAG_NO_CONTENT_DISPATCH doesn't get inadvertently cleared during dispatch (don't put it into aFlags). r=saari, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@135964 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 03:08:46 +00:00
dean_tessman%hotmail.com
273bf1b59f
bug 30431 - Intellimouse Explorer Backwards and Forwards button support.
...
r=rods on widget, timeless on content
sr=bryner
a=asa
git-svn-id: svn://10.0.0.236/trunk@134880 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-06 03:41:43 +00:00
bryner%netscape.com
b345c67a0c
Add a second pass of event processing for system events, using DOM3 event group functionality. Bug 124990. Patch by joki, r=saari and bryner, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@133439 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-09 00:25:25 +00:00
kmcclusk%netscape.com
eb567220f1
Dispatch (WIN32 only) and handle a new cross platform message NS_SYSCOLORCHANGE. bug 143174. r=rods sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@122677 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 17:47:54 +00:00
jaggernaut%netscape.com
fe68e4711d
Backing out joki's checkin for bug 124990 (at his request) since this breaks some stuff on linux.
...
git-svn-id: svn://10.0.0.236/trunk@119450 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 01:48:32 +00:00
joki%netscape.com
568563a1cc
Fix for bug 124990, Add additional processing loop for DOM event listeners to allow browser level handlers to be fired after content based listeners. r:saari, sr:jst
...
Browser based listeners can now registers themselves using the AddGroupedEventListener and passing the system event group (which can be gotten via the nsIDOMEventReceiver interface). These listeners will now fire after all content based listeners have processed.
In this initial version of the checkin most browser listeners are still left in the original content group for stability purposes.
git-svn-id: svn://10.0.0.236/trunk@119346 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 02:52:01 +00:00
joki%netscape.com
34048fc38a
Fix for bug 78989, force focus events to go their corresponding view as opposed to using coordinate targeting which can be incorrect. r:roc+moz, sr:jst
...
git-svn-id: svn://10.0.0.236/trunk@118961 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-14 21:45:04 +00:00
joki%netscape.com
c07c2d1d48
Fix for bug 114366, fix UMR in nsEvent struct by adding constructor. r:saari, sr:jst, a:roc+moz
...
git-svn-id: svn://10.0.0.236/trunk@117615 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 06:24:55 +00:00
hewitt%netscape.com
f707c93789
133426 - can't get coordinates from popup events, r=jgaunt, sr=jst, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117564 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 02:59:39 +00:00
jaggernaut%netscape.com
0ac23b506b
Bug 90221: Click() needs to act like a real click. r=jst, sr=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@113462 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 23:55:49 +00:00
hyatt%netscape.com
f9a19ba7cd
Fix for 112980, nsITheme API and dynamic skin switching re-enabling. r=ben, sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@110648 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 22:51:39 +00:00
rjc%netscape.com
e41baa73d3
Fix bug # 75772: On Mac OS X, add support for window toolbar button which hides/shows toolbar buttons. r=ben sr=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@108960 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-27 01:47:41 +00:00