Commit Graph

318 Commits

Author SHA1 Message Date
Masayuki Nakano
edb717f467 Bug 657634 Don't use high resolution scrolling when scrolling speed is customized by prefs r=smaug 2011-05-22 14:39:16 +09:00
Craig Topper
4e38ca20a7 Bug 658143 - Part 1: Changes nsCOMPtr<nsFrameSelection> to nsRefPtr. r=roc 2011-05-18 20:10:49 -07:00
Masayuki Nakano
24127357de Bug 657648 Don't use high resolution scrolling when acceleration is enabled r=smaug 2011-05-19 08:12:34 +09:00
Masayuki Nakano
1d3f3a321b Bug 605648 Support high resolution scrolling on Windows r=jimm+smaug 2011-05-17 09:23:23 +09:00
Ms2ger
a49c5db9c8 Bug 655513 - Remove nsIDOMDocumentRange; f=ehsan r=bzbarsky 2011-05-15 12:07:28 +02:00
Olli Pettay
d5431f150a Bug 652752 - Click event isn't fired if mousedown event and mouseup event are fired on different textnode of same element, r=masayuki
--HG--
extra : rebase_source : 90c84bb703c5e314dcdcf3b435b842e680d591ad
2011-05-07 12:42:45 +03:00
Ms2ger
941e819c63 Bug 616684 - Remove support for DOM Views; r=sicking,ehsan 2011-04-24 08:54:25 +02:00
Ehsan Akhgari
d2a61eb331 Backout changeset 13f6847dd840 (bug 616684) because it changes code semantics in a bad way, which results in problems like the crash in bug 652580, possibly among others 2011-04-25 17:05:17 -04:00
Ms2ger
295bf7256b Bug 616684 - Remove support for DOM Views; r=sicking 2011-04-24 08:54:25 +02:00
David Zbarsky
5ecf0a2bd3 Bug 610305: decom nsEventStateManager r=smaug 2011-04-21 19:35:52 +02:00
Mounir Lamouri
b4cf8cd184 Backed out changeset c1a7c1bc1aeb due to busted build. 2011-04-20 22:26:06 +02:00
David Zbarsky
c4d29900ed Bug 610305: decom nsEventStateManager r=smaug 2011-04-20 21:42:33 +02:00
Zack Weinberg
51864c09d8 Bug 651017, part 1: minimize inclusion of ns*DeviceContext.h; move the printing error codes to nsIDeviceContextSpec.h; os2 small widget cleanup.
--HG--
extra : rebase_source : 5b7cebe68f71a760463e3522b159c7cde8a72f5e
2011-04-16 18:22:41 -07:00
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