115 Commits

Author SHA1 Message Date
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
joki%netscape.com
e4bbbe83de Fix for 71705, stop right click from triggering onclick handlers in base html content, though not in xml/xul/chrome. reviewed a while ago, lost in tree. r:saari,sr:hyatt
git-svn-id: svn://10.0.0.236/trunk@107585 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 06:29:29 +00:00
jst%netscape.com
09b081e767 Fixing bug 52120. Make mozilla pass the expected arguments to window.onerror. r=jkeiser@iname.com, sr=jband@netscape.com
git-svn-id: svn://10.0.0.236/trunk@107067 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 04:49:07 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
hyatt%netscape.com
c49a03b7be Fix for 71106. r=jag, sr=jst
git-svn-id: svn://10.0.0.236/trunk@100428 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-06 21:49:35 +00:00
dbaron%fas.harvard.edu
9359000a40 Header include dependency cleanup. b=64023 r=jag rs=brendan
git-svn-id: svn://10.0.0.236/trunk@99299 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 02:40:48 +00:00
vidur%netscape.com
1da03054fb Continuing fix for bug 18843. Added onload and onerror events for loaded scripts. r=nisheeth, sr=jst
git-svn-id: svn://10.0.0.236/trunk@95490 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 01:21:57 +00:00
saari%netscape.com
64b9ba3dd5 fix for 78514, r=pink, sr=hyatt. Windows only temporary (until focus gets totally overhauled) hack to support embedding applications better. This causes our app to relinquish focus to native chrome in the embeddor's app. To do this, we check if the window that is about to get focus is a mozilla window. If not, we obey wm_killfocus like a normal app, and don't wait for the following focus to send the blur event.
git-svn-id: svn://10.0.0.236/trunk@95393 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 12:07:42 +00:00
pinkerton%netscape.com
50bcb65c7f add support for context menu key. use focussed element as the target, not the mouse coordinates. r=roc,dean_tessman@hotmail.com/sr=hyatt. bug#74410, 36665.
git-svn-id: svn://10.0.0.236/trunk@95274 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 18:37:50 +00:00
pollmann%netscape.com
6d4f34711c Bug 76208: Store control that submitted form in event so we can submit it to the server (fixes regression), r=harishd@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@92546 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 10:02:11 +00:00
joki%netscape.com
8443fdd96e Fixes for Create/Init/Dispatch of new DOM events. Bugs 25889, 71544, 52129, 61022, 71823. sr:jst, hyatt
git-svn-id: svn://10.0.0.236/trunk@92524 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 05:52:11 +00:00
evaughan%netscape.com
94e72ae454 XP part of accessibility landing
-r vidur, rods -sr hyatt


git-svn-id: svn://10.0.0.236/trunk@90971 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-01 01:01:33 +00:00
mkaply%us.ibm.com
c2d7008718 #36665
r=saari, sr=hyatt
Enablement of a DOM event for displaying a context menu


git-svn-id: svn://10.0.0.236/trunk@90186 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 03:22:56 +00:00
bryner%uiuc.edu
9621fbe2ab Bug 58589 - groundwork for horizontal mousewheel scrolling. r=jkobal, sr=scc.
git-svn-id: svn://10.0.0.236/trunk@82566 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-13 18:16:43 +00:00
bryner%uiuc.edu
a84695d770 Bug 50597 - mousewheel nonfunctional if set to full-page scroll. r=mjudge,jkobal,ben. a=ben.
git-svn-id: svn://10.0.0.236/trunk@82218 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 05:15:34 +00:00
saari%netscape.com
5326e59917 For bug 46938, adding event so we can tell when windows created by third party plugins have been activated
git-svn-id: svn://10.0.0.236/trunk@77058 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 04:49:00 +00:00
shanjian%netscape.com
966828939b #49342 IME98/IME2000 Reconversion does not work in text area
ar=ftang
Reconversion query is added to IME judge macro.


git-svn-id: svn://10.0.0.236/trunk@77028 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 02:10:28 +00:00
akkana%netscape.com
eb5cd788d6 Define NS_VK keycodes in terms of nsIDOMKeyEvent keycodes. r=saari. Requires undefining ERROR on Win32, r=cmanske
git-svn-id: svn://10.0.0.236/trunk@76584 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 21:43:26 +00:00
akkana%netscape.com
4df3e025f1 23587: Make accelerator and menu access keys settable through a pref. r=saari
git-svn-id: svn://10.0.0.236/trunk@76513 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 00:09:16 +00:00
shanjian%netscape.com
309c493895 #14022 IME98 Reconversion does not work in HTML Editor
r = jfrancis
a = ftang
fix proposed by m_kato@ga2.so-net.ne.jp

New events are added to support reconversion. As a result, many files
are affected. They are:
editor:
  nsEditor.h nsEditor.cpp nsEditorEventListeners.cpp nsEditorEventListeners.h
  nsHTMLEditor.h nsHTMLEditor.cpp nsIEditorIMESupport.h
dom and layout:
  nsIPrivateCompositionEvent.h nsDOMEvent.h nsDOMEvnet.cpp nsEventListenerManager.cpp
  nsIDOMCompositionListener.h
widget:
  nsGUIEvent.h nsWindow.h nsWindow.cpp


git-svn-id: svn://10.0.0.236/trunk@75606 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 21:43:29 +00:00