Commit Graph

334 Commits

Author SHA1 Message Date
bryner@brianryner.com
f2d97c530e 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. 2006-05-22 20:37:32 +00:00
bryner@brianryner.com
bec508a609 backing out 336696, I checked in the wrong version of the patch 2006-05-22 18:03:16 +00:00
bryner@brianryner.com
6c6c44a0b0 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. 2006-05-22 16:18:45 +00:00
Olli.Pettay@helsinki.fi
8e62b0e792 Bug 330494, Remove NS_EVENT_FLAG_INIT. Makes NN4 event handling and preventBubble and preventCapture methods no-op. r=sicking, sr=jst 2006-04-10 17:04:54 +00:00
Olli.Pettay@helsinki.fi
55b4ac047b Bug 329512, Remove NS_XUL_CLICK r+sr=bz 2006-03-13 20:57:36 +00:00
Olli.Pettay@helsinki.fi
6ba912b316 Bug 234455, Centralize event dispatch r=jst, sr=bz 2006-03-07 17:08:51 +00:00
leon.sha@sun.com
33640557e5 Bug 328824 Something duplicate in the MACRO "NS_IS_MOUSE_EVENT".
Patch by alfred.peng@sun.com.
roc: review+
roc: superreview+
2006-03-02 08:41:08 +00:00
Olli.Pettay@helsinki.fi
9248abb6bd Bug 326904, Remove NS_APP_EVENT_FLAG_HANDLED, r+sr=jst 2006-02-14 17:24:00 +00:00
gavin@gavinsharp.com
4ce8bccacd Bug 314427: nsIDOMPopupBlockedEvent should expose the blocked window's target name, r+sr=jst 2005-11-01 01:41:00 +00:00
dbaron@dbaron.org
240ad6a546 Back out most of the rest of bug 304462. 2005-08-28 16:45:39 +00:00
dbaron@dbaron.org
310abf6ccd Give popup blocked events a message constant. b=304462 r+sr=bryner 2005-08-26 21:38:38 +00:00
jwatt@jwatt.org
c8baae3dd6 Fixing bug 302103. Implement SVG events. r=tor@acm.org, sr=jst@mozilla.org 2005-08-25 21:31:09 +00:00
roc+@cs.cmu.edu
3ce3467504 Bug 296036. Remove the very poorly specified (and redundant) field 'point' of nsEvent. r+sr=roc, patch by Eli Friedman 2005-08-23 03:57:07 +00:00
jst@mozilla.jstenback.com
a8e85d5e58 Fixing bug 296704. Make re-dispatching of events work as expected. r=dveditz@cruzio.com, sr=bryner@brianryner.com, a=dveditz@cruzio.com 2005-06-22 01:53:58 +00:00
bryner@brianryner.com
8fd17efff4 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. 2005-06-15 23:52:46 +00:00
bryner@brianryner.com
9d9b2e7a47 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. 2005-05-04 20:22:32 +00:00
jst@mozilla.jstenback.com
f54c1fc9b1 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 2005-04-28 23:48:28 +00:00
timeless@mozdev.org
f16358af80 Bug 285974 Crash when we use ATOK on the other of editor[@ nsWindow::OnIMEQueryCharPosition]
patch by masayuki@d-toybox.com r=timeless sr=roc
2005-03-18 06:17:59 +00:00
bzbarsky@mit.edu
abf16ba157 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
2005-02-01 19:24:59 +00:00
jst@mozilla.jstenback.com
41fea915d1 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 2004-09-04 19:28:46 +00:00
dbaron@dbaron.org
b77ec58575 Make NS_MUTATION_EVENT and NS_ACCESSIBLE_EVENT not be the same value. b=256469 r+sr=bryner 2004-08-25 22:26:15 +00:00
timeless@mozdev.org
8a465b705f Bug 238773 Separating nsDOMEvent into separate classes
patch by mozilla-bugzilla@future.shiny.co.il r=bryner sr=jst
2004-08-20 18:09:19 +00:00
dbaron@dbaron.org
66ccd22431 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 2004-06-22 04:32:52 +00:00
bryner@brianryner.com
702740f30e oops, this wasn't supposed to go on the trunk. backing out. 2004-06-21 23:41:30 +00:00
bryner@brianryner.com
35bc7e588f bringing branch changes forward 2004-06-21 23:35:56 +00:00
bryner@brianryner.com
e93363d19f 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. 2004-04-30 23:55:16 +00:00
gerv@gerv.net
4ba0518141 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:01:16 +00:00
neil@parkwaycc.co.uk
341bc26247 Bug 205648 Support "context menu" key under gtk/gtk2 p=crispin@flowerday.cx r=blizzard sr=bryner 2004-03-06 15:00:38 +00:00
bzbarsky@mit.edu
f68581958a MousMove events should not be cancelable. Bug 76929, r+sr=bryner 2004-03-05 01:34:34 +00:00
darin@meer.net
33f7ab6e0c landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin 2004-02-28 22:34:07 +00:00
dbaron@dbaron.org
07b839cbf9 Back out bug 20022. a=chofmann 2004-02-14 20:29:19 +00:00
jst@mozilla.jstenback.com
5680860700 Fixing bug 68215. Adding support for the onbeforeunload event. r=peterv@propagandism.org, sr=brendan@mozilla.org 2004-02-11 06:09:51 +00:00
mvl@exedo.nl
96102fe271 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
2004-02-10 18:22:23 +00:00
dbaron@dbaron.org
e17f039010 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 2004-02-04 00:11:59 +00:00
bryner@brianryner.com
831309e006 fix uninitialized rangeArray. r+sr=dbaron 2004-01-13 23:16:06 +00:00
bryner@brianryner.com
7255062ea4 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. 2004-01-12 08:25:18 +00:00
bzbarsky@mit.edu
850c188877 Init the member vars to prevent access to uninitialized memory. Bug 203505,
r=bryner, sr=jst, a=sspitzer
2003-05-01 01:01:03 +00:00
danm@netscape.com
7766824adb new popupblocked domevent. bug 199705 r=jaggernaut,jst 2003-04-15 23:34:08 +00:00
bryner@netscape.com
32ec9b666e 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. 2003-01-08 03:08:46 +00:00
dean_tessman@hotmail.com
d5ad8dc604 bug 30431 - Intellimouse Explorer Backwards and Forwards button support.
r=rods on widget, timeless on content
sr=bryner
a=asa
2002-12-06 03:41:43 +00:00
bryner@netscape.com
e26b85861a 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. 2002-11-09 00:25:25 +00:00
kmcclusk@netscape.com
6c47747442 Dispatch (WIN32 only) and handle a new cross platform message NS_SYSCOLORCHANGE. bug 143174. r=rods sr=roc 2002-06-04 17:47:54 +00:00
jaggernaut@netscape.com
19c3136191 Backing out joki's checkin for bug 124990 (at his request) since this breaks some stuff on linux. 2002-04-20 01:48:32 +00:00
joki@netscape.com
95e043f00f 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.
2002-04-19 02:52:01 +00:00
joki@netscape.com
4288f2920a 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 2002-04-14 21:45:04 +00:00
joki@netscape.com
fe1e65ac20 Fix for bug 114366, fix UMR in nsEvent struct by adding constructor. r:saari, sr:jst, a:roc+moz 2002-03-27 06:24:55 +00:00
hewitt@netscape.com
e56e15d46a 133426 - can't get coordinates from popup events, r=jgaunt, sr=jst, a=asa 2002-03-27 02:59:39 +00:00
jaggernaut@netscape.com
c1633a12db Bug 90221: Click() needs to act like a real click. r=jst, sr=hyatt 2002-02-01 23:55:49 +00:00
hyatt@netscape.com
389657361a Fix for 112980, nsITheme API and dynamic skin switching re-enabling. r=ben, sr=waterson 2001-12-17 22:51:39 +00:00
rjc@netscape.com
ecbe4f345b Fix bug # 75772: On Mac OS X, add support for window toolbar button which hides/shows toolbar buttons. r=ben sr=hyatt 2001-11-27 01:47:41 +00:00