Commit Graph

405 Commits

Author SHA1 Message Date
Zack Weinberg
52c99aabb7 Bug 174055, part 6: eliminate pointless nsresult return values. 2011-04-07 21:18:43 -07:00
Zack Weinberg
624a6e3ce5 Bug 174055, part 5: prune unused and unimplemented methods. 2011-04-07 20:07:27 -07:00
Zack Weinberg
42ead75834 Bug 174055, part 4: mechanical fixups outside gfx. 2011-04-07 18:05:49 -07:00
Ms2ger
6ee0b2b1da Bug 589894 - Fix a number of build warnings in content/; r=smaug 2011-04-14 14:04:12 +02:00
Peter Van der Beken
afdf1551f1 Fix for bug 584048 (Clean up cycle collection code) - remove NS_IMPL_CYCLE_COLLECTING_ADDREF_AMBIGUOUS/NS_IMPL_CYCLE_COLLECTING_RELEASE_AMBIGUOUS. r=bent. 2011-03-06 12:11:31 +01:00
Matheus Kerschbaum
93480c6366 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07:00
Boris Zbarsky
e7675b4602 Bug 633271 part 2. Simplify nsEventStateManager::SetContentState. r=dbaron 2011-03-28 23:32:11 -04:00
Boris Zbarsky
0a7e20bbec Bug 313351. ContentStatesChanged should take only one argument. r=dbaron 2011-03-28 23:32:11 -04:00
timeless@mozdev.org
e0efbae0ff Bug 620258 add additional fall through comments to nsEventStateManager::PreHandleEvent
r=smaug
2010-12-19 19:46:00 -05:00
timeless@mozdev.org
298e408f3f Bug 620167 nsEventStateManager::SetContentState inconsistently handles mPresContext [@ nsEventStateManager::EnsureDocument | nsEventStateManager::SetContentState]
r=smaug
2011-03-22 15:12:30 -04:00
Steven Michaud
e5b24adc59 Bug 627649 - [Mac] Some events incorrectly passed to a plugin that occur over the plugin. r=roc,josh a=blocking2.0final+ 2011-03-01 15:15:23 -06:00
Markus Stange
20d43637e6 Bug 607464 - Don't use smooth scrolling for pixel scrolling. r=roc, a=roc 2011-02-04 09:00:06 +01:00
Neil Deakin
0334e5d14a Bug 618907, focus frame when mousedown event on content is cancelled and chrome is currently focused, fixes focus issues with docs.google.com, r=smaug,a=blocking 2011-01-24 09:50:37 -05:00
Neil Deakin
2eeca289de Bug 527749 - Drag events out of order; r=smaug,dao a=blocking-betaN+ 2010-12-03 11:19:55 -05:00
Markus Stange
91753f22f5 Bug 604190 - Fix build warning in nsEventStateManager.cpp:2776: warning: 'bool NodeAllowsClickThrough(nsINode*)' defined but not used. r=smaug a=bsmedberg 2010-11-24 10:49:02 +01:00
Olli Pettay
0a2ef887ea Bug 508518, Implement nsUITimerCallback with one-shot timer, r=jst, a=blocking 2010-11-07 21:07:59 +02:00
Markus Stange
253a0ae7e1 Bug 574663 - Mark momentum scroll events with a kIsMomentum flag and don't allow them to cause zooming. r=smaug, a=final 2010-11-05 17:04:28 +01:00
Olli Pettay
7a6327ec8a Bug 606192 - After drag & drop any link/text/image to contents area, mouse click chrome elements does not work, r=enndeakin, a=beltzner 2010-10-28 17:11:15 +03:00
Olli Pettay
780b1891fd Backout Bug 508518, a=dromaeo-dom-regression 2010-10-25 00:52:17 +03:00
Olli Pettay
0ac2007026 Bug 508518 - Implement nsUITimerCallback with one-shot timer, r=jst, a=blocking-fennec
--HG--
extra : rebase_source : b486aa38fb17baacf0a5be39becd536fbec0c574
2010-10-24 21:20:53 +03:00
Olli Pettay
5fd6fa43e4 Bug 605242 - No :active state for <button>, r=enndeaking, a=blocking, try: -b o -p all -m none -t none -u mochitests
--HG--
extra : rebase_source : e075f9024515c801996f10b3fff706551c833843
2010-10-20 16:49:53 +03:00
Mounir Lamouri
66067bcb7b Bug 595036 (2/2) - Introduce nsEventStates class to represent event states. r+a=bz 2010-10-20 13:26:32 +02:00
Olli Pettay
309638f46c Bug 582771 - Drag & drop email to folder fails in hotmail, r=enndeakin, a=blocking
--HG--
extra : rebase_source : 8598c6764c820388cffd82d68a851ce33d628b1b
2010-10-15 19:41:02 +03:00
Olli Pettay
05b9ab5a2e Backout Bug 508518, a=regression? 2010-10-12 12:55:31 +03:00
Olli Pettay
cb6e20ac9b Bug 508518, Implement nsUITimerCallback with one-shot timer, p=romaxa+me, r=jst, a=blocking-fennec 2010-10-12 11:09:06 +03:00
Timothy Nikkel
4ad6405061 Bug 591815. Don't bail early if we don't have a target frame for mouse down events because we still need to process them. r=smaug a=blocking-betaN+ 2010-10-09 14:09:22 -05:00
Jim Chen
c077f30804 Bug 599053 - Check for focus in chrome before forwarding IME events; r=smaug a=blocking-fennec 2010-09-27 17:46:51 -04:00
Olli Pettay
024ac60656 Bug 594760, no need to initialize when nsCOMPtr is used, r=roc, a=roc
--HG--
extra : rebase_source : b04e017e6dd9cbffb125911069354fc7015b4e60
2010-09-28 15:18:36 +03:00
Brad Lassey
9c43d63744 Bug 591047 - (6/7) Adding IME event support to content fake widget; r=roc a=blocking-fennec 2010-09-23 23:28:15 -04:00
Brad Lassey
6878ccd6f4 Bug 591047 - (1/7) Backing out Android a1 IME code from bug 581535 and bug 582644; r=blassey a=blocking-fennec 2010-09-23 23:28:15 -04:00
Juha Kotiranta
56f82f2757 Bug 581916 - Fetching mouse cursor from window trough DOM window utils API. r=Olli.Pettay a=approval2.0 2010-09-17 11:56:53 -07:00
Olli Pettay
d62dadbd6f Bug 593959 - :active tracking gets out of sync when releasing the mouse over a different document, r=roc, a=blocking
--HG--
extra : rebase_source : a8b1c968b13eda6671df21da1bb8c48273811e5c
2010-09-16 16:10:18 +03:00
Olli Pettay
c285ac7b06 Bug 524037, prevent mouse capture if mouse up happens before handling all of mouse down, r=enndeakin, a=blocking
--HG--
extra : rebase_source : f0a30782ef3cb97d14ca21d663b23d3eff57913d
2010-09-08 20:41:37 +03:00
Masayuki Nakano
d5dccbf24b Bug 593620 fix middle click and right click event handling r=smaug, a=betaN 2010-09-08 22:25:21 +09:00
Masayuki Nakano
ce5c3032a2 Bug 590819 Click event isn't fired when mouse button down on border of <input> and mouse button up on padding box of it r=smaug, a2.0=jst 2010-09-02 11:38:54 +09:00
Robert O'Callahan
f6aa05c375 Bug 579323. Part 1.4: Switch nsIFrameFrame users to use nsSubDocumentFrame.h. r=tnikkel
--HG--
extra : rebase_source : de526602586c70b994a061bbb8a7ca2731c72bbd
2010-08-31 12:49:07 +12:00
Timothy Nikkel
17ab64bed2 Bug 587944. Save and restore the target frame when we dispatch a synth mouse enter/exit event. r=smaug 2010-08-27 18:15:08 -05:00
Chris Pearce
ed95b897ba Commit merge of backout of 66dcf25705f9. a=backout 2010-08-20 10:49:29 +12:00
Chris Pearce
a868d8d046 Backed out changeset 66dcf25705f9 2010-08-20 10:47:24 +12:00
Timothy Nikkel
86f1f98226 Bug 587944. Need to clear are target frame when we clear our target content. r=smaug a=blocking 130078 which blocks 2010-08-18 20:16:58 -05:00
Mounir Lamouri
ef6632684a Bug 344615 - Implement <input type="url">. r=sicking, sr=smaug a2.0=blocking 2010-08-18 20:33:37 +02:00
Mounir Lamouri
17e57ca845 Bug 555559 - Implement <input type="email">. r=smaug,sicking sr=jst a2.0=blocking 2010-08-18 20:31:54 +02:00
Jim Chen
fa4d8d116b Bug 582644 - IME event remoting, patch to content; r=smaug, blocking-fennec=2.0a1+ 2010-08-17 01:07:44 -07:00
Ehsan Akhgari
3068a7eddc Back out bug 582644 and 576716 because of mochitest-3 oranges 2010-08-16 19:14:00 -04:00
Jim Chen
8053ee8f11 bug 582644 - IME event remoting, patch to content r=smaug blocking-fennec=2.0a1+ 2010-08-16 14:48:32 -07:00
David Zbarsky
de6582a359 Remove unneeded nsIDOMNSHTMLInputElement interface by merging it into nsIDOMHTMLInputElement. (Bug 582303) r=jst 2010-08-04 22:40:18 -04:00
Markus Stange
65909a7edf Backed out changeset cd5c28912351, bug 574663 (momentum scroll zooming) because the new test fails on Windows. 2010-08-02 17:51:57 +02:00
Markus Stange
d08bf257da Bug 574663 - Mark scroll events that are sent by touchpad momentum scrolling after the finger has left the touchpad with a kIsMomentum flag and prevent these events from changing the zoom factor. r=josh, r=smaug 2010-08-02 15:30:52 +02:00
David Zbarsky
aa0b85856a Remove unneeded nsIDOMNSHTMLLabelElement interface by merging it into nsIDOMHTMLLabelElement. (Bug 582303) r=jst 2010-07-28 16:43:52 -07:00
Markus Stange
b5159a8bd0 Bug 392188 - Add a XUL attribute called "clickthrough" that determines whether an element accepts mouse events when it's in a background window. r=smaug 2010-07-16 14:50:28 +02:00
Timothy Nikkel
976046bf62 Bug 563878. Part 5. Rename nsIFrame::GetWindow(Offset) to GetNearestWidget. r=mats 2010-07-02 14:11:04 -05:00
Timothy Nikkel
32158fa7f0 Bug 572294. Make sure the refpoint is relative to the widget we use on the drop event. r=roc 2010-06-25 16:51:17 -05:00
Ms2ger@gmail.com
a4005e2fd1 Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug 2010-06-25 15:59:57 +02:00
Vivien Nicolas
27fdccc31f Bug 563329 - Add a preference to enable/disable click hold context menus [r=smaug] 2010-06-16 09:36:11 +02:00
Olli Pettay
82feff3515 Bug 556493 - No click fired when mousedown on the text of an element and mouseup on empty area, r=jst
--HG--
extra : rebase_source : bf2257df87153638358404878d03c09193014125
2010-06-15 16:29:23 +03:00
Markus Stange
77a4281c8d Bug 426082, part 3: Reflect a label's :hover/:active state on its associated natively themed control.
This patch adds an aFollowLabels argument to nsIEventStateManager::GetContentState which defaults to false. Setting it to true will return NS_EVENT_STATE_HOVER / _ACTIVE for labeled controls even if only their label is subject to this state. At the moment this flag is only set by native theming, so there won't be an observable change for the :hover / :active pseudoclasses.
In order to make dynamic state changes on the label work, SetContentState will now always notify the labeled control of state changes when its label changes state.
r=smaug
2010-05-31 19:49:55 +02:00
Markus Stange
5e59cfef32 Bug 426082, part 2: Make nsEventStateManager::GetContentState return the state directly instead of using an outparam. r=dbaron 2010-05-31 19:49:04 +02:00
Markus Stange
ba23dd0663 Bug 426082, part 1: Some refactoring in nsEventStateManager::Get/SetContentState. r=dbaron 2010-05-31 19:47:11 +02:00
Mounir Lamouri
a821ae13af Bug 456229 - Implement <input type="search">. r=smaug sr=sicking 2010-05-17 12:20:22 +02:00
Karl Tomlinson
f48d8a05cd b=564972 Add NS_IS_MOUSE_EVENT_STRUCT to test event class and use it to correct assert r=smaug 2010-05-13 14:33:16 +12:00
Michael Kohler
9397418412 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Mounir Lamouri
cbf74508a5 Bug 557620 - Implement <input type="tel">. r=smaug,dolske,dao sr=sicking 2010-05-12 09:17:07 +02:00
Boris Zbarsky
04027a9479 Bug 562688 part 4. Change GetRootContent and the like to return Elements. r=jst, sr=sicking 2010-04-30 09:12:05 -04:00
Mitchell Field
9818f00bf2 Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov 2010-04-29 18:59:13 +02:00
Olli Pettay
8ef39a6b0c Bug 560902 - Optimize nsFocusManager::ContentRemoved, r=enndeakin+sicking
--HG--
extra : rebase_source : 69c72c67341dd27dbd5a526c59c5ee52d2b6a813
2010-04-27 12:58:58 +03:00
Neil Deakin
ceb1712f98 Bug 418521, improve the way focus indicators are displayed to correlate better with system behaviour, add -moz-focusring property to apply only when focus rings should be drawn, r=dao,jmathies,dbaron sr=neil 2010-04-21 10:53:42 -04:00
Masayuki Nakano
53ce892306 Bug 544277 IME became unusable when switching focus on Gmail RTF Editor r=enn 2010-04-21 22:13:08 +09:00
felipc@gmail.com
33b5d6a951 Bug 547996 - Be able to tell when a click was generated by a tap on the screen, r=smaug,jimm, sr=jst 2010-04-06 15:59:24 +03:00
Craig Topper
a31830c001 Bug 253889: DeCOMtaminate nsIPresShell - GetEventTarget[Frame|Content](). r=roc
--HG--
extra : rebase_source : aa059747dc2b24360fd8429fbd7fd21077ecbfa4
2010-03-31 08:43:01 -04:00
Kyle Huey
afc6c6ca2d Backed out changeset 4b8936ac4a31 2010-03-30 19:56:44 -04:00
Craig Topper
6c9540a26d Bug 253889: More deCOMtamination of nsIPresShell. r=roc 2010-03-28 19:21:11 -04:00
Craig Topper
c3fc5fa456 Bug 554253 - Convert nsCOMPtr<nsPresContext> to nsRefPtr<nsPresContext>. r=roc
--HG--
extra : rebase_source : d828daca07188864d055f3d1a72f5217632eb358
2010-03-25 14:17:11 +01:00
Karl Tomlinson
4ae5415e56 b=544211 preparation for handling synthesized button-up events for ending element pointer capture r=smaug 2010-03-24 16:36:27 +13:00
Masayuki Nakano
788bb1a791 Bug 315727 Request Firefox respond to Windows scroll messages so pages can be scroll captured r=jmathies+smaug, sr=roc 2010-03-11 14:25:29 +09:00
Jae-Seong Lee-Russo
30218c70c3 Bug 530373. Use NS_MIN/NS_MAX instead of PR_MIN/PR_MAX in DOM code. r=bzbarsky 2010-02-22 14:41:19 -05:00
Neil Deakin
65465d8068 Bug 528491, combine nsFocusController and nsWindowRoot, r=jst,sr=smaug 2010-02-20 11:07:03 -05:00
Makoto Kato
256f2577f8 Bug 182954 - Content should use the newer nsIPrefService APIs instead of nsIPref. r=jst 2010-02-08 11:49:18 +09:00
Timothy Nikkel
c63f549245 Bug 517737. Don't allow starting a drag if something is capturing the mouse. r=smaug(part of),enndeakin
--HG--
extra : rebase_source : 171cef43d1fef9337b49d6f3b9ca661c3e618437
2010-02-02 20:07:08 -06:00
Neil Deakin
40511b2e0e Bug 541520, don't fire dragleave on successful drop, but do fire it when drop fails or is cancelled, r=jonas,smichaud 2010-02-01 10:11:08 -05:00
Olli Pettay
72d240fc9b Bug 534833 - click event is occasionally lost in text form controls when focus event changes the value of the control, r=roc
--HG--
extra : rebase_source : 9c90b0ed41ab12c38d264edc839227cdd0d8817f
2010-01-25 11:21:33 +02:00
Robert O'Callahan
6787212ae4 Bug 539331 - browser_sanitizeDialog.js is failing, r=matspal 2010-01-14 05:00:00 -08:00
Henri Sivonen
6edbf4cf09 Bug 539423 - Remove bogus assertion: Mouse move must have some target content. r=Olli.Pettay. 2010-01-14 15:58:33 +02:00
Robert O'Callahan
dd13d8b675 Bug 526394. Part 9: More conversion for nsEventStateManager and nsImageDocument. r=smaug 2010-01-12 10:45:04 +13:00
Robert O'Callahan
ae8ce9d0eb Bug 526394. Part 6: Fix up nsEventStateManager. r=smaug 2010-01-12 10:45:02 +13:00
Robert O'Callahan
9324676397 Bug 526394. Part 5: Fix up a bunch of sites to use nsIScrollableFrame instead of nsIScrollableView. r=mats 2009-09-01 23:29:27 +12:00
Tom Dyas
8209cf7fbc Support receiving data from Mac OS X services into text and HTML editors. b=525389 r=josh r/sr=smaug 2010-01-10 20:45:45 -05:00
Olli Pettay
63fd91b1fa Bug 534226 - Remove support for multiple presshells, r=bz, sr=roc 2010-01-07 12:36:11 +02:00
Josh Aas
f9051ae7e3 Backed out changeset bee6729280d8 2009-12-30 17:29:26 -05:00
Tom Dyas
13780ad38c Support receiving data from Mac OS X services into text and HTML editors. b=525389 r=josh r/sr=smaug 2009-12-30 15:58:33 -05:00
Boris Zbarsky
cb8ca909a6 Bug 500882 part 4. Switch content module to using the new GetPrimaryFrame API. r=smaug, sr=roc 2009-12-24 16:20:05 -05:00
Josh Aas
80e4d43179 Rename nsGUIEvent's nativeMsg field to pluginEvent. b=527617 r=roc 2009-11-10 16:55:38 -05:00
Neil Deakin
858ddbf525 Bug 482070, stop mousemove event propagation when a drag has began, r=smaug 2009-11-09 09:55:53 -05:00
Olli Pettay
2c424b3794 Bug 526286 - Detaching a tab by dragging it down into its content area stopped working, r=enndeakin, sr=jonas
--HG--
extra : rebase_source : 7b04c1dc00bb1e55eba73222d185b37cbbb125be
2009-11-05 16:39:18 +02:00
Olli Pettay
c806e56c0e Bug 508479 - HTML5 Drag and Drop: Drop event on elements that are not drop targets, r=enn, sr=sicking 2009-10-29 13:11:02 +02:00
Jim Mathies
ffffc4dbe4 Bug 483776 - Update original data transfer mozCursor state during drags. r=bz. 2009-10-06 21:51:02 -05:00
David Zbarsky
8d8553ee41 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Masayuki Nakano
d01fa130dd Bug 518745 Two-finger trackpad scrolling triggers "ASSERTION: aAllowScrollSpeedOverride is true but the quantity isn't by-line scrolling." r=roc 2009-09-25 12:51:17 +09:00
Masayuki Nakano
dc3936158f Bug 513817 Switch scrolling to 6 lines in the default case for 3.6 on windows r=roc, ui=faaborg 2009-09-24 19:58:04 +09:00
Neil Deakin
22715396a4 Bug 516076, pass a contextual window to focus controller methods, so that it retrieves the controller for the right window, r=neil,sr=smaug 2009-09-21 13:39:44 -04:00
Josh Aas
2dbe5949ee Replace usage of "::StillDown" with "CGEventSourceButtonState", 64-bit fix for layout. b=517392 r=mstange r=bz 2009-09-18 12:34:37 -04:00
Markus Stange
55aca69596 Bug 482985 - add hidden pref for activity cursor. r=bz 2009-09-17 15:04:08 +02:00
Neil Deakin
02a7469b05 Bug 503943, add mouse capturing api to elements, remove capturing from views, r=roc,sr=smaug 2009-09-13 09:13:16 -04:00
Neil Deakin
a5bfe49767 Bug 503943, back out mouse capture patch, CLOSED TREE 2009-09-10 12:11:41 -04:00
Neil Deakin
2ca788ce33 Bug 503943, add mouse capturing api to elements, remove capturing from views, r=roc,sr=smaug 2009-09-10 08:51:36 -04:00
Masayuki Nakano
46e7090dcf Bug 512235 bug 462809 should be implemented in content/events, not widget/src/* r=roc+vlad 2009-09-03 16:07:18 +09:00
Boris Zbarsky
36622c6995 Backed out changeset 4aa19414e651 (bug 488249) to fix test orange.
--HG--
extra : rebase_source : ae1c0155ec32b0887eff27ded77c6ba2b37dda64
2009-08-24 20:51:57 -04:00
David Zbarsky
932e28482f Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
L. David Baron
ed026ed2f0 Don't QI a node to nsIDOMElement and back to nsIContent for every call to nsEventStateManager::GetContentState. (Bug 509889) r=enndeakin 2009-08-13 19:09:49 -07:00
Felipe Gomes
972bf3dc41 Bug 503541 - Fine grained control of gesture registration on widgets (Win7). r=smaug+roc, sr=smaug 2009-08-13 13:54:09 -07:00
Masayuki Nakano
f9802cc670 Bug 128647 [RFE] Handler for WM_COPY/WM_CUT/WM_PASTE/WM_CLEAR r=ere+roc, sr=roc 2009-08-08 00:11:17 +09:00
timeless@mozdev.org
b456407073 Bug 504473 FORWARD_NULL deref of mPresContext in nsEventStateManager::GetEventTarget
r=smaug sr=smaug
2009-07-22 17:31:01 -05:00
Robert O'Callahan
2ebc95776b Bug 352093. Part 10: misc fixes to remove assumptions about documents having widgets. r=smaug 2009-07-22 12:45:09 +12:00
Robert O'Callahan
41b0dc9d84 Bug 339548. Part 9: Create nsRootPresContext::UpdatePluginGeometry, and use it. Make nsObjectFrame manage its widget directly. 2009-07-22 12:45:00 +12:00
Alexander Surkov
11522a48f5 Bug 494345 - Do not create accessibles for XUL label or description having a role of 'presentation', r=marcoz, enndeaking, sr=smaug 2009-07-10 20:17:15 +08:00
Neil Deakin
463ebf9287 Bug 455590, use new drag and drop api with trees, r=neil,sr=smaug 2009-06-24 13:12:33 -04:00
Neil Deakin
79321ef1f8 Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE) 2009-06-10 14:00:39 -04:00
Jim Mathies
586ad3cbd2 Bug 485101 - Implement panning feedback for touch enabled displays with win7. r+sr=smaug r=blassey. 2009-05-19 21:05:59 -05:00
Masayuki Nakano
feee8b464b Bug 492233 [IMM32] Reimplement IME mouse handling r=VYV03354+roc, sr=roc 2009-05-15 09:46:24 +09:00
Olli Pettay
1f7cf9b660 Bug 486502 - Dispatch test events only when running mochitest/chrome/browser-chrome, r+sr=roc 2009-05-06 07:30:39 +03:00
Boris Zbarsky
05780cc568 Bug 67752. Implement interruptible reflow. r=roc,dbaron 2009-04-21 19:53:52 -04:00
Joe Drew
64bbcf4155 Backed out changeset 6a452e522e07 - Boris Zbarsky – Bug 67752. Implement interruptible reflow. r=roc,dbaron - because of apparent Tp hangs. 2009-04-21 23:02:17 -04:00
Boris Zbarsky
e5f6293681 Bug 67752. Implement interruptible reflow. r=roc,dbaron 2009-04-21 19:53:52 -04:00
Jim Mathies
bf62e148ca Bug 479901 - Add WM_GESTURE support for Windows 7. r=vlad+smaug. 2009-04-02 14:34:31 -05:00
Tom Dyas
b86ed018a1 Bug 479093 - Text sent to services includes body of <script> tags. r=smaug, r=josh, sr=roc 2009-03-17 19:04:01 -07:00
Olli Pettay
e511e04fa7 Bug 484658 - element.focus() handing when called during event suppression, r+sr=jst 2009-03-25 16:11:11 +02:00
Josh Aas
a017628a07 Stop using FlatCarbon headers on Mac OS X. b=482277 r=bsmedberg 2009-03-19 10:41:13 -07:00
mozbugz@karlt.net
4cfb92a744 Bug 481768 - mouse wheel scrolls too far when viewport is smallish, p=karlt+smaug, r=karlt+smaug, sr+roc 2009-03-09 13:10:12 +02:00
Olli Pettay
ef1e0eba37 backout Bug 481768 2009-03-09 00:28:45 +02:00
Olli Pettay
2dafc7fbab Bug 481768 - mouse wheel scrolls too far when viewport is smallish, p=karlt+me, r=karlt, sr=roc 2009-03-08 22:58:47 +02:00
Markus Stange
ac0fae4854 Bug 481359 - Mouse shouldn't show spinner while pages are transferring, ui-r=beltzner r+sr=bzbarsky 2009-03-05 16:07:55 +01:00
Olli Pettay
8e3d66727a Bug 480767 - Closing 'Bookmark All Tabs' screws up focus, r+sr=jst 2009-03-03 22:20:11 +02:00
Olli Pettay
2219417624 Bug 333198 - Suppress Input events for web content during synchronous XMLHttpRequest loads, r=bz, sr=jst 2009-03-03 22:11:14 +02:00
Olli Pettay
cb57be346c backout 333198 2009-03-02 22:21:46 +02:00
Ginn Chen
3694c15b1d Bug 333198 fix Solaris bustage 2009-02-27 14:47:27 +08:00
Olli Pettay
e6f01244a1 Bug 333198 - 'Suppress Input events for web content during synchronous XMLHttpRequest loads'. r=bz, sr=jst, a=blocking1.9.1+ 2009-02-26 14:00:30 -08:00
Jeremy D. Lea
b9a1696e34 Bug 476726 - deCOMtaminate WidgetToScreen and ScreenToWidget; r+sr=roc
--HG--
extra : rebase_source : 4a35ccdcafbe8a0a9dded9f292a139b4679709e3
2009-02-18 16:11:49 -08:00
Masayuki Nakano
bcf39be0ea Bug 478536 Crash by removing a scroll target in MozMouseScrollFailed event handler r+sr=roc 2009-02-18 00:55:53 +09:00
Neil Deakin
90c37e3e72 Bug 399427, don't update caret position when a xul element is focused, r=neil, sr=roc 2009-02-17 10:51:11 -05:00
Serge Gautherie
5ec9f53e89 Backed out changeset: 719dca3419b5 2009-02-15 18:41:16 +01:00
Jeremy Lea
b82cdbd258 Bug 476726 - deCOMtaminate WidgetToScreen and ScreenToWidget; r+sr=roc 2009-02-15 17:41:06 +01:00
Masayuki Nakano
68f9a6a266 Bug 442774 Wheel/touchpad scrolling gets stuck in frame, stop scrolling the web page as a whole r=Olli.pettay, sr=roc 2009-02-12 19:44:38 +09:00
Masayuki Nakano
789465492f backing-out the patch for bug 442774 2009-02-12 18:54:02 +09:00
Masayuki Nakano
4d6c3072e5 Bug 442774 Wheel/touchpad scrolling gets stuck in frame, stop scrolling the web page as a whole r=Olli.pettay, sr=roc 2009-02-12 16:02:49 +09:00
Jim Chen
6513b5e77c Bug 88831 Support new IME API "Text Services Framework" from Office XP and Windows XP (relanding)
--HG--
rename : content/events/src/nsQueryContentEventHandler.cpp => content/events/src/nsContentEventHandler.cpp
rename : content/events/src/nsQueryContentEventHandler.h => content/events/src/nsContentEventHandler.h
2009-02-11 05:56:51 +09:00
Masayuki Nakano
def135f71a Backing out the patch of bug 442774. This might cause a timeout failure on test_keycodes.xul 2009-02-11 03:19:15 +09:00
Masayuki Nakano
4755de05c7 Backing out the TSF patch of bug 88831. This might cause a timeout failure on test_keycodes.xul
--HG--
rename : content/events/src/nsContentEventHandler.cpp => content/events/src/nsQueryContentEventHandler.cpp
rename : content/events/src/nsContentEventHandler.h => content/events/src/nsQueryContentEventHandler.h
2009-02-11 03:02:05 +09:00
Masayuki Nakano
4fa4a8c50d Bug 442774 Wheel/touchpad scrolling gets stuck in frame, stop scrolling the web page as a whole r=Olli.Pettay, sr=roc 2009-02-10 20:17:37 +09:00
Jim Chen
41a1a807d6 Bug 88831 Support new IME API "Text Services Framework" from Office XP and Windows XP r=masayuki+peterv, sr=roc
--HG--
rename : content/events/src/nsQueryContentEventHandler.cpp => content/events/src/nsContentEventHandler.cpp
rename : content/events/src/nsQueryContentEventHandler.h => content/events/src/nsContentEventHandler.h
2009-02-10 20:15:36 +09:00
L. David Baron
ef5fe05834 Revert changeset fc8d54ab29a6 (Bug 88831, Support new IME API "Text Services Framework" from Office XP and Windows XP) due to failure (every time) of the new unit test it added (Test WinTSF) on the Windows tinderbox.
--HG--
rename : content/events/src/nsContentEventHandler.cpp => content/events/src/nsQueryContentEventHandler.cpp
rename : content/events/src/nsContentEventHandler.h => content/events/src/nsQueryContentEventHandler.h
2009-02-07 09:13:30 -08:00
Jim Chen
e53087b660 Bug 88831 Support new IME API "Text Services Framework" from Office XP and Windows XP r=masayuki+peterv, sr=roc
--HG--
rename : content/events/src/nsQueryContentEventHandler.cpp => content/events/src/nsContentEventHandler.cpp
rename : content/events/src/nsQueryContentEventHandler.h => content/events/src/nsContentEventHandler.h
2009-02-07 18:52:59 +09:00
Jeremy Lea
1800930122 Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint different types from nsRect/nsMargin/nsSize/nsPoint different types for better compile-type unit checking. r+sr=roc
--HG--
extra : rebase_source : a331a9e49fbc5931f546919281fcca7f008ab615
2009-01-15 16:27:09 +13:00
Benjamin Smedberg
24e7cb1f78 Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted

Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.

r+sr=roc

nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.

--HG--
extra : rebase_source : 4894a2ca0278e2ab92f27459db77165f8348cf41
2009-01-12 14:20:59 -05:00
Benjamin Smedberg
50621e4f9f Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal. 2009-01-09 11:35:24 -05:00
Benjamin Smedberg
d0b948876f Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted

Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.

r+sr=roc

This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
Olli Pettay
7c4810ebbf Bug 419059 - contentAccess accesskeys for elements hidden with CSS don't work, r=neil, sr=roc, a=jst 2008-12-30 16:09:14 +02:00
Martijn Wargers
90151ed8c8 Bug 450876 - [r=Smaug sr=roc] 2008-12-14 22:26:37 -08:00
Markus Stange
76daa5a7da Bug 463042 - Smooth scrolling isn't working with the scrollbar or the keyboard arrows, r+sr=roc 2008-12-02 14:18:08 +01:00
Olli Pettay
f6fcfe8f4b Bug 457672 - window blur event is not fired when opening a new tab, r+sr=jst 2008-12-03 13:18:23 +02:00
Olli Pettay
c3018f74aa Bug 466433 - Crash [@ CallQueryInterface<nsIFrame,nsIScrollableViewProvider>] with MozMousePixelScroll event and removing window, r+sr=roc 2008-12-03 12:33:31 +02:00
Olli Pettay
682cb8f56a Bug 463958 - Remove nsEventStateManager::ForceViewUpdate, r+sr=roc 2008-12-03 11:55:44 +02:00
L. David Baron
f0a1beced5 Handle some additional codepaths for position: fixed elements inside elements with -moz-transform. (Bug 455171) r+sr=bzbarsky a=blocking1.9.1+ 2008-11-25 15:22:39 -08:00
L. David Baron
2a61487dd7 Back out 342b86dd79f48f11583e7b6526a5b78457d29a1c due to mac startup failures. 2008-11-25 14:38:17 -08:00
L. David Baron
dc119e5622 Handle some additional codepaths for position: fixed elements inside elements with -moz-transform. (Bug 455171) r+sr=bzbarsky a=blocking1.9.1+ 2008-11-25 13:27:54 -08:00
Mats Palmgren
1064a3f990 Mute a warning when typing Alt+ArrowKey. Code cleanup. b=460680 r+sr=bzbarsky 2008-11-02 16:00:05 +01:00
Markus Stange
69ed7048d1 Bug 457864 - Make wheel scrolling asynchronous, r+sr=roc (relanding) 2008-11-01 15:07:34 +01:00
Benjamin Smedberg
4eb5e5d5a8 Bug 461212 - deCOM frame traversal (relanding) r=mats.palmgren sr=roc 2008-10-30 10:15:22 -07:00
Benjamin Smedberg
dfbac6a0c3 Merge backout and typo fix of bug 461212 2008-10-28 02:50:20 -04:00
Benjamin Smedberg
3a3f316c84 Backed out changeset affcc1c08bc0 (deCOM frame enumerator) due to regression from it or bug 461410. 2008-10-28 02:47:40 -04:00
Benjamin Smedberg
d89e3c2841 Bug 461212 - deCOM frame enumerator, r=mats.palmgren sr=roc 2008-10-28 00:47:19 -04:00
Benjamin Smedberg
09975e25e4 Bug 461359 - Make nsTreeBodyFrame not implement nsITreeBoxObject... nsTreeBoxObject can just call the methods on nsTreeBodyFrame directly, and we avoid nsISupports oddities for bug 396185 r=Enn sr=roc 2008-10-28 00:47:19 -04:00
Siraj Razick
8fac55eee5 Bug 424847. Clamp mousewheel text zoom to min/max percentages at zoom time. r+sr=bzbarsky. 2008-10-22 10:15:14 -04:00
Taras Glek
f217b27ac5 Bug 454469: prbool issues in content/ r+sr=sicking 2008-10-14 12:00:08 -07:00
Olli Pettay
256070b717 Bug 458202 - Speed up event handling, r+sr=jst 2008-10-08 14:35:29 +03:00
Boris Zbarsky
d674c8ca02 Bug 433616 part 1. Make it possible to create a document viewer with no parent widget or container, and make various code saner about handling null document/prescontext/documentviewer containers. r=roc, sr=jst 2008-09-28 15:14:28 -04:00
Boris Zbarsky
012ae72fd1 Backing out changesets 2ea77fa990af, 7d2d8869e73c, 93441e4f521e, 43d2ee100f3b, a2d84821ea71 to see whether they're causing the Windows Txul or Mac Tp regressions 2008-09-29 08:51:29 -04:00
Boris Zbarsky
10026a0921 Bug 433616 part 1. Make it possible to create a document viewer with no parent widget or container, and make various code saner about handling null document/prescontext/documentviewer containers. r=roc, sr=jst 2008-09-28 15:14:28 -04:00
Robert O'Callahan
279af36fc7 Backing out bug 448830 2008-09-28 23:13:58 +13:00
Jeremy Lea
92e7030a42 Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint their own types so that we can catch errors by distinguishing pixels from appunits. r+sr=roc 2008-09-28 20:38:34 +13:00
Robert O'Callahan
6a45b282aa Backing out bug 448830 2008-09-26 13:10:26 +12:00
Jeremy Lea
67f3afd13b Bug 448830. Make nsIntRect/nsIntSize/nsIntPoint/nsIntMargin separate types so we get appunit vs pixel typechecking. r+sr=roc 2008-09-26 10:42:19 +12:00
Neil Deakin
e34ef1e4ae Bug 455215, make editable fields draggable, r=smaug,sr=roc 2008-09-25 10:45:03 -04:00
Neil Deakin
eef5c2e01b Bug 454844, -moz-drag-over state is reversed, r+sr=roc 2008-09-25 10:44:53 -04:00
Markus Stange
d1428fa84e Bug 350471 - Reenable pixel scrolling (two-finger touchpad), r=smaug r=smichaud sr=roc 2008-09-17 13:27:19 +02:00
Neil Deakin
39ab9e9583 Bug 452787, change to ignore selection when inside a draggable html element, r=smaug,sr=roc 2008-09-08 12:09:35 -04:00
Neil Deakin
b5875fe04a Bug 452083, drag and drop not working on Windows if effectAllowed isn't set, don't reuse the event for drops on Linux, causes the cancel flag to still be set from the previous event, r=smaug,sr=roc 2008-09-01 15:51:12 -04:00
Neil Deakin
7ad96d6b3e Bug 356295. Implement HTML5 drag-drop. r=smaug,neil,sr=roc 2008-08-27 08:07:27 -04:00
Boris Zbarsky
fc1785cbc1 Backed out changeset 6958399a2eb1 o try to fix failed mochitests on Windows and Linux 2008-08-25 11:08:28 -04:00
Neil Deakin
7c92721496 Bug 356295. Implement HTML5 drag-drop API. r=smaug,sr=roc 2008-08-25 21:56:29 +12:00
Dave Camp
66ad0d3422 Backed out changeset 30d900751ca9 to fix unit test orange (Bug 356295) 2008-08-19 17:55:30 -07:00
Neil Deakin
f58dac1bbf Bug 356295. Implement HTML5 drag-drop. r=smaug,sr=roc 2008-08-20 10:31:45 +12:00
Ere Maijala
7b1baebe99 Patch for bug 112294: calling an alert box from window.onblur triggers the event multiple times
r=smaug
sr=roc
2008-08-01 10:32:32 -07:00
John Daniels
ef0fee1d70 Bug 419532 – deCOMtaminate nsICaret. r+sr=roc 2008-07-16 12:52:01 +02:00
Jim Chen
e043b3bba2 Bug 444772. Merge nsIKBStateControl into nsIWidget. r+sr=roc 2008-07-14 14:56:18 +12:00
Gavin Sharp
cbb75961d6 Bug 443781: TraverseAccessKeyContent is unused, r+sr=jst 2008-07-08 11:30:51 -04:00
Benjamin Smedberg
ec69c9db81 Bug 442735 - Annotate classes in dom/content which only appear on the stack, r+sr=jst 2008-06-30 21:03:50 -04:00
gavin@gavinsharp.com
2c2be0d4bc Bug 409604: Accesskeys on HTML label, area and legend elements don't work, patch by Ehsan Akhgari <ehsan.akhgari@gmail.com>, r+sr=roc, a=schrep 2008-05-08 13:00:24 -07:00
gavin@gavinsharp.com
16dc70b7b4 Bug 428680: Sometimes, the document node is the event target for mousemove events now, patch by Matthew Gregan <kinetik@flim.org>, r=smaug, sr=roc, a=damon 2008-04-23 15:51:27 -07:00
gavin@gavinsharp.com
f7724abef2 Back out bug 409604 due to mochitest failures 2008-04-22 11:32:00 -07:00
gavin@gavinsharp.com
efc492e216 Bug 409604: accesskey on HTML label, area and legend elements don't work, patch by Ehsan Akhgari <ehsan.akhgari@gmail.com>, r+sr=roc, a=beltzner 2008-04-22 09:52:16 -07:00
peterv@propagandism.org
6484cf40bb Fix for bug 406596 (Link/anchor elements are focused within an contentEditable element). r/sr=jst, a=beltzner. 2008-04-15 11:40:38 -07:00