Граф коммитов

176 Коммитов

Автор SHA1 Сообщение Дата
gavin%gavinsharp.com 39b57ecdaa 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 9bc4f35244 Back out most of the rest of bug 304462. 2005-08-28 16:45:39 +00:00
dbaron%dbaron.org f7622a3b1c Give popup blocked events a message constant. b=304462 r+sr=bryner 2005-08-26 21:38:38 +00:00
jwatt%jwatt.org 59e42c6cd2 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 6377fe1d40 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 f3ed62af01 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 e4a343f08f 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 aed69207f0 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 50de4a3e1d 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 10c1d75093 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 949dc5fa14 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 51fd4d10d8 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 7e0341dd79 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 872e808fe6 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 60b7e73a8f 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 3cd200f850 oops, this wasn't supposed to go on the trunk. backing out. 2004-06-21 23:41:30 +00:00
bryner%brianryner.com cc1433c45a bringing branch changes forward 2004-06-21 23:35:56 +00:00
bryner%brianryner.com 7d1dbeb3a8 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 8b8dde7d95 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:01:16 +00:00
neil%parkwaycc.co.uk 43cc596efd 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 d1f53e8150 MousMove events should not be cancelable. Bug 76929, r+sr=bryner 2004-03-05 01:34:34 +00:00
darin%meer.net c380c59f65 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 d97dedc812 Back out bug 20022. a=chofmann 2004-02-14 20:29:19 +00:00
jst%mozilla.jstenback.com 64ad19a801 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 4bc72bffba 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 821786cb64 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 5de89631bb fix uninitialized rangeArray. r+sr=dbaron 2004-01-13 23:16:06 +00:00
bryner%brianryner.com 2bddef83ba 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 393cfebbf2 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 2d8fc2dad9 new popupblocked domevent. bug 199705 r=jaggernaut,jst 2003-04-15 23:34:08 +00:00
bryner%netscape.com 9794e6261a 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 c7307e2455 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 8beac694e3 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 0a88931ae5 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 7e4e14d8c5 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 bdfd051dfb 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 a5cda6ec41 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 c0d70b7c42 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 a6c6743038 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 6fa19767f3 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 0ec3f045d8 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 fe5d808f73 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
joki%netscape.com 57040838f7 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 2001-11-07 06:29:29 +00:00
jst%netscape.com cacd57b2ae Fixing bug 52120. Make mozilla pass the expected arguments to window.onerror. r=jkeiser@iname.com, sr=jband@netscape.com 2001-11-02 04:49:07 +00:00
gerv%gerv.net 4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
hyatt%netscape.com 0c296a706a Fix for 71106. r=jag, sr=jst 2001-08-06 21:49:35 +00:00
dbaron%fas.harvard.edu aa4fec2b67 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
vidur%netscape.com ae0d3ddcd3 Continuing fix for bug 18843. Added onload and onerror events for loaded scripts. r=nisheeth, sr=jst 2001-05-19 01:21:57 +00:00
saari%netscape.com 32d8960835 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. 2001-05-18 12:07:42 +00:00
pinkerton%netscape.com 0b03ce7cda 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. 2001-05-17 18:37:50 +00:00
pollmann%netscape.com 5a825e5b27 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 2001-04-17 10:02:11 +00:00
joki%netscape.com 26b7f822c3 Fixes for Create/Init/Dispatch of new DOM events. Bugs 25889, 71544, 52129, 61022, 71823. sr:jst, hyatt 2001-04-17 05:52:11 +00:00
evaughan%netscape.com dd702eea33 XP part of accessibility landing
-r vidur, rods -sr hyatt
2001-04-01 01:01:33 +00:00
mkaply%us.ibm.com 0247db35dd #36665
r=saari, sr=hyatt
Enablement of a DOM event for displaying a context menu
2001-03-23 03:22:56 +00:00
bryner%uiuc.edu 973bbbd400 Bug 58589 - groundwork for horizontal mousewheel scrolling. r=jkobal, sr=scc. 2000-11-13 18:16:43 +00:00
bryner%uiuc.edu 8e29d3ba05 Bug 50597 - mousewheel nonfunctional if set to full-page scroll. r=mjudge,jkobal,ben. a=ben. 2000-11-02 05:15:34 +00:00
saari%netscape.com 1e6e0ac7af For bug 46938, adding event so we can tell when windows created by third party plugins have been activated 2000-08-24 04:49:00 +00:00
shanjian%netscape.com 897032bd28 #49342 IME98/IME2000 Reconversion does not work in text area
ar=ftang
Reconversion query is added to IME judge macro.
2000-08-24 02:10:28 +00:00
akkana%netscape.com c07e47ef49 Define NS_VK keycodes in terms of nsIDOMKeyEvent keycodes. r=saari. Requires undefining ERROR on Win32, r=cmanske 2000-08-17 21:43:26 +00:00
akkana%netscape.com 6c14f21233 23587: Make accelerator and menu access keys settable through a pref. r=saari 2000-08-17 00:09:16 +00:00
shanjian%netscape.com de23b7e7a9 #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
2000-08-04 21:43:29 +00:00
evaughan%netscape.com 4db3654be5 Clean up for autoscrolling menu landing. ScrollBox events need their own type and should not be
on top of menu events.

-r hyatt
2000-06-28 00:00:18 +00:00
evaughan%netscape.com 969d067559 Autoscrolling menus feature landing #32730
-r hyatt, saari
2000-06-23 05:15:04 +00:00
pinkerton%netscape.com f55814a8b5 add NS_IS_DRAG_EVENT macro r=saari, bug 28226 2000-06-21 03:43:40 +00:00
saari%netscape.com 83c1e4462f foundation for fixing 42553, r=danm 2000-06-20 00:44:55 +00:00
mjudge%netscape.com 052d504a2b bug=34896 gettimg ime working in ender-lite. simple fix to dispatch messages to focused element for ime. a=beppe,r=ftang,tajima@eng.sun.com, katakai@japan.sun.com 2000-06-07 01:20:13 +00:00
joki%netscape.com c22fd60f54 More support for onresize and onscroll, bug 960 2000-05-17 06:53:58 +00:00
joki%netscape.com 08d1d06617 fix for resize event support, bug 960, and additional support for DOM 2 events. 2000-05-17 05:27:22 +00:00
joki%netscape.com a743e2b38b Updating mozilla to DOM Level 2 events support. Fixes for bug 34722, 35378, 8411, 10330, plus some others that weren't filed. 2000-05-16 11:35:12 +00:00
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
danm%netscape.com 40294c50f9 add z-level GUI event 2000-04-01 22:08:47 +00:00
danm%netscape.com dac20e5933 adding definition for new sizemode event. bug 30116 r=scc a=jevering 2000-03-09 01:54:14 +00:00
ftang%netscape.com 982fa55c82 partial fix for bug 15533 (size part). 1. change the return value from nsPiont to nsRect. Change widget code to reflect the change. In Gtk, change XIM FontSet based on the rect height. r=cata a=chofmann 1999-12-22 07:56:40 +00:00
ftang%netscape.com 5d9824b4bd add query composition event which get current curosor position. add timer base IME x y location query for gtk. r=erik. fix bug 17916 20550 1999-12-07 01:29:00 +00:00
danm%netscape.com d25d8e587a adding 'close' xul event handler. part of bug 13695. r:hyatt@netscape.com 1999-12-01 22:35:33 +00:00
bryner%uiuc.edu f6edbd1e1b Checking in some widget changes to support scrolling with the mouse
wheel.  Layout changes (to make it actually work) will follow soon,
and also a Windows implementation.  r=blizzard.
1999-11-17 06:54:02 +00:00
saari%netscape.com 39d29f17d7 Just checking in nsGUIEvent.h changes to start the focus landing... can't finish it without more reviews, but this change is reviewed and harmless. r: joki 1999-11-11 01:33:48 +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 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
ftang%netscape.com 850606d07a landing keyEvent_19991004_BRANCH
bugs # see the log of the check in into branch
author/reviewer:
mozilla/layout/base/src/nsRangeList.cpp brade/mjudge
mozilla/layout/html/forms/src/nsGfxTextControlFrame.cpp brade/ftang
mozilla/layout/events/src/nsDOMEvent.cpp brade/joki
mozilla/layout/events/src/nsEventStateManager.cpp brade/joki
mozilla/widget/public/nsGUIEvent.h akkana/ftang
mozilla/widget/src/windows/nsWindow.cpp ftang/mjudge
mozilla/widget/src/windows/nsWindow.h ftang/mjudge
mozilla/widget/src/mac/nsTextAreaWidget.cpp brade/ftang
mozilla/widget/src/mac/nsMacEventHandler.cpp brade/simon
mozilla/widget/src/xpwidgets/nsKeyBindMgr.cpp brade/ftang
mozilla/widget/src/gtk/nsGtkEventHandler.cpp akkana/?
mozilla/widget/src/gtk/nsWidget.cpp erik/ftang
mozilla/layout/xul/base/src/nsTreeCellFrame.cpp brade/ftang
mozilla/editor/base/nsEditorEventListeners.cpp brade/akkana
mozilla/editor/base/nsHTMLEditor.cpp brade/akkana
mozilla/rdf/content/src/nsXULKeyListener.cpp ftang/saari
fix the master bug- 15693
fix at least, but not limited to, the following bugs
10158,11956,6053,9333,10901,14348,6449,11845,13016,14410,15657,15307,15842,13856
1999-10-14 18:27:01 +00:00
kmcclusk%netscape.com d2d24c96ac r=rods; bug=15478; Added WS_EX_TOOLWINDOW extended style for popup windows
to prevent popups from creating empty task bar buttons.
bug=6061; NS_DISPLAYCHANGE event is now generated when the display depth changes
on WIN32.
1999-10-06 21:54:49 +00:00
pavlov%netscape.com 945164901c work to get drawing done based on regions and not rects. remove unneeded code in nsBaseWidget and removed tabs. add InvalidateRegion() method to nsIWidget. did InvalidateRegion implimentation on unix. a=shaver r=beard 1999-09-28 01:31:41 +00:00
saari%netscape.com cb935f51c7 Changing broadcaster to use onbroadcast instead of oncommand. Adding the "braodcast" "commandupdate" and "input" events. Changed all xul observes nodes to use onbroadcast instead of onchange. 1999-09-21 23:02:35 +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
pavlov%netscape.com ebd04ecb57 remove unused tab widget and tooltip widget as they have never been used 1999-08-21 08:41:46 +00:00
pinkerton%netscape.com d1206fe5a3 add drag gesture event. 1999-08-19 19:48:58 +00:00
joki%netscape.com 11585608e8 Adding new onselect event. Also slight modification to ender text widget focus behavior 1999-08-07 23:18:35 +00:00
tague%netscape.com 0912a6ece6 Found missing file from checkin 1999-08-06 03:14:57 +00:00
hyatt%netscape.com aedcbd5d2b Defining the menu GUI events. 1999-07-26 09:19:18 +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
tague%netscape.com 0b7a782118 Added TEXTRANGE_CARETPOSITION support for Input Methods to nsIDOMTextRange and nsGUIEvents 1999-07-02 22:21:03 +00:00
tague%netscape.com 353d857fed Added clause and selection support for Input Methods. Fixes bug #8639, #8459, #6989, #7824 1999-06-29 20:31:22 +00:00
joki%netscape.com 25aab9fee5 Fixing event coordinates to give screen based info. Also fixing direct reference to frames via their names. 1999-06-09 07:38:26 +00:00
hyatt%netscape.com b520345abb Added new events for popup construction and destruction. 1999-06-08 05:08:46 +00:00
pollmann%netscape.com 1f6c80d150 Bug 3322: Adding NS_CONTROL_CHANGE event. This will be used for <SELECT>'s onChange. 1999-05-27 23:53:42 +00:00
tague%netscape.com 83e78f89e5 Fixed bug #5527 (Editor is not able to accumulate successive Japanese input) 1999-05-03 22:57:48 +00:00
rods%netscape.com eb40ebf9de Added new D&D events and removed D&D specific event struct 1999-04-06 20:24:46 +00:00
joki%netscape.com e39e13cf18 Changing api uses in editor, rdf, and xpfe to match DOM2 api name/param changes. 1999-03-28 22:27:38 +00:00
tague%netscape.com 6e19645586 Added support for basic Japanese input on Win32 1999-03-19 23:36:20 +00:00
joki%netscape.com 1d2db0ce5c Adding new charCode variable to nsGUIEvent 1999-03-11 00:01:50 +00:00