75 Commits

Author SHA1 Message Date
vidur%netscape.com
c1719e8d11 Cutting down on debug printf noise.
git-svn-id: svn://10.0.0.236/trunk@60808 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 05:06:45 +00:00
joki%netscape.com
bcf5da502c Adding getPreventDefault method to events and fixing its propagation through content. r:hyatt
git-svn-id: svn://10.0.0.236/trunk@60037 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 02:05:57 +00:00
kmcclusk%netscape.com
5f7ac3effb Added support for widgetless viewmanager. Changed code pattern that assumed the root view
always has a nsIWidget instance to call viewmanager to get widget instance. b=22069; r=rods@netscape.com


git-svn-id: svn://10.0.0.236/trunk@58838 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 23:04:40 +00:00
brade%netscape.com
2b900a9e8f initialize to nsnull; r=vidur
git-svn-id: svn://10.0.0.236/trunk@57676 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 14:53:51 +00:00
pinkerton%netscape.com
df130bfa90 remove hand-rolled QI and using scc's macros. Also removing static IID's where necessary. r=hyatt,scc a=sdagley.
git-svn-id: svn://10.0.0.236/trunk@56289 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 19:28:15 +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
ftang%netscape.com
199df01b45 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
git-svn-id: svn://10.0.0.236/trunk@55502 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 01:29:00 +00:00
danm%netscape.com
9bfb5a41b9 adding 'close' xul event handler. part of bug 13695. r:hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@54950 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 22:35:33 +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
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
pinkerton%netscape.com
6671a998a4 allow mouse event coordinates to be accessed with d&d events in addition to mouse events, since d&d events have the same structure as mouse events. (r=joki).
git-svn-id: svn://10.0.0.236/trunk@52466 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 01:38:01 +00:00
buster%netscape.com
ab0550c29d no bug number, part of webshell cleanup. nsIWebShell.h was needlessly included, so I removed it
trivial change, no reviewer.


git-svn-id: svn://10.0.0.236/trunk@50822 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 13:34:45 +00:00
ftang%netscape.com
2d2a382150 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


git-svn-id: svn://10.0.0.236/trunk@50688 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 18:27:01 +00:00
mjudge%netscape.com
01e83014a6 bugs 15547,15645,13665,13277,5761, r=akkana,kin,hyatt. fixing selection bugs, keyboard navigation, triple clicking and drag scrolling. get position not a valid call anymore to nsIFrame.h
git-svn-id: svn://10.0.0.236/trunk@50537 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 01:16:09 +00:00
joki%netscape.com
ffaa4fa00a Various fixes to prevent casting events to the wrong struct subtypes when queried
git-svn-id: svn://10.0.0.236/trunk@48824 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 06:30:01 +00:00
joki%netscape.com
1042dd0a3f Adding support for event.clickCount, obsoleting old dblclick event.
git-svn-id: svn://10.0.0.236/trunk@48743 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 02:29:33 +00:00
saari%netscape.com
ca9d9659f4 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.
git-svn-id: svn://10.0.0.236/trunk@48667 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 23:02:35 +00:00
joki%netscape.com
62ad116aae Adding old 4.x capture/release compatibility code, changing dom event VK_* names to DOM_VK_*
git-svn-id: svn://10.0.0.236/trunk@48572 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 14:18:52 +00:00
kipp%netscape.com
229a0d5515 Squish a warning
git-svn-id: svn://10.0.0.236/trunk@47999 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 20:15:09 +00:00
evaughan%netscape.com
68b7100443 1) Fixed bugs in deck
2) Added visual debugging to boxes


git-svn-id: svn://10.0.0.236/trunk@46677 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 00:57:01 +00:00
kipp%netscape.com
e2818b7558 Eliminate a uselss string copy
git-svn-id: svn://10.0.0.236/trunk@45817 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 03:45:44 +00:00
pinkerton%netscape.com
e7b56509aa exposing drag and drop events to JS.
git-svn-id: svn://10.0.0.236/trunk@45637 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 03:51:03 +00:00
kipp%netscape.com
80ddd6ef6a Removed GetRC code
git-svn-id: svn://10.0.0.236/trunk@45395 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 01:00:59 +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
brade%netscape.com
d7e1f74167 change error messages to flag inappropriate uses of GetCharCode
git-svn-id: svn://10.0.0.236/trunk@44834 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 14:16:44 +00:00
ramiro%netscape.com
dc0d55bf2d lower the volume on printf noise.
git-svn-id: svn://10.0.0.236/trunk@44795 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 09:38:44 +00:00
hyatt%netscape.com
dd5bde5e90 Renaming onaction to oncommand. Also adding getIID to nsIFocusableContent, since
I'll need to be using that later on.


git-svn-id: svn://10.0.0.236/trunk@43880 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-20 22:56:15 +00:00
joki%netscape.com
25eb777ec4 Adding new onselect event. Also slight modification to ender text widget focus behavior
git-svn-id: svn://10.0.0.236/trunk@42676 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 23:18:35 +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
hyatt%netscape.com
de800e6548 Adding a menu listener to the DOM for XUL menus.
git-svn-id: svn://10.0.0.236/trunk@41124 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-26 09:18:31 +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
tague%netscape.com
a299b8b6da Fixed bug #8227 deref errors in tempDOMTextRange
git-svn-id: svn://10.0.0.236/trunk@39375 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 21:10:55 +00:00
pinkerton%netscape.com
42c0233d81 rewite GetScreen* to use nsIWidget::WidgetToScreen(), which actually will work under linux and mac. (rev pavlov, appr cyeh). Bug #9114.
git-svn-id: svn://10.0.0.236/trunk@38737 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 22:40:22 +00:00
pinkerton%netscape.com
fed08cf519 don't crash if parent is null when asking for mouse coordinates.
git-svn-id: svn://10.0.0.236/trunk@37637 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 03:26:43 +00:00
tague%netscape.com
ea708a16a8 Added clause and selection support for Input Methods. Fixes bug #8639, #8459, #6989, #7824
git-svn-id: svn://10.0.0.236/trunk@37435 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 20:31:22 +00:00
saari%netscape.com
5a4b85ed88 Fixing Bug #8328, keybinding fix
git-svn-id: svn://10.0.0.236/trunk@35759 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 01:48:22 +00:00
joki%netscape.com
9314e8c0fd Fixing event clientx/y coords to have the right value even in subviews
git-svn-id: svn://10.0.0.236/trunk@35656 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 04:39:51 +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
mjudge%netscape.com
21a15def92 fixing table selection again. also adding parameter to nsIFocusTracker that allows us to get the current caret location. I am also stopping nsTableRowFrame from putting blue border around itself since cells are a high enough granularity. made a change to nsIFrame GetPosition to remove some useless parameters ect. this caused me to change nsDOMEvent.cpp and some other places.
MJ


git-svn-id: svn://10.0.0.236/trunk@34640 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 21:08:17 +00:00
hyatt%netscape.com
a4990a8363 Fixing build bustage.
git-svn-id: svn://10.0.0.236/trunk@34379 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 07:51:52 +00:00
joki%netscape.com
7cb2ba1a65 Fixing event coordinates to give screen based info. Also fixing direct reference to frames via their names.
git-svn-id: svn://10.0.0.236/trunk@34378 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 07:38:26 +00:00
hyatt%netscape.com
7af8deae73 Changed events names to "create" and "destroy".
git-svn-id: svn://10.0.0.236/trunk@34340 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 01:11:22 +00:00
joki%netscape.com
90d260e83f Fixing coords for click event since by not setting them at all before they were unlikely to be correct.
git-svn-id: svn://10.0.0.236/trunk@34224 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 19:28:52 +00:00
hyatt%netscape.com
2996b4f2f8 Added construct and destruct events to the DOM.
git-svn-id: svn://10.0.0.236/trunk@34177 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 05:10:13 +00:00
joki%netscape.com
ee7a67a711 Adding new method to nsIDOMNSUIEvent to give event pos as range offset.
git-svn-id: svn://10.0.0.236/trunk@34162 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 02:19:26 +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