Commit Graph

39 Commits

Author SHA1 Message Date
Vivien Nicolas
6ce5c1be7d Bug 1016944 - Events are processed twice in BrowserElementPanning.js for nested in-process mozbrowser iframes. r=fabrice 2014-07-11 16:17:19 +02:00
Jim Blandy
b6b202b6bb Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Fabrice Desré
63c5a84412 Bug 1003836 - Don't use createEvent("TouchEvent") to check if TouchEvents are supported r=smaug 2014-05-02 14:56:18 -07:00
Botond Ballo
857b2811ce Bug 976605 - Disable active element handling in BEP.js if APZ is enabled. r=kats,vingtetun
--HG--
extra : source : 2a6f99faedb8317b87b99a81953fa0ddd759ddaa
2014-04-09 13:39:36 -04:00
Ed Morley
9e1dd10843 Backed out changeset 7d8d52db13a6 (bug 976605) 2014-04-15 17:45:13 +01:00
Botond Ballo
3d60647ed5 Bug 976605 - Disable active element handling in BEP.js if APZ is enabled. r=kats,vingtetun
--HG--
extra : source : 62f6bbf910b470d8e423811dd036fe13b2c8c47b
2014-04-09 13:39:36 -04:00
Vivien Nicolas
062ed28a41 Bug 986752 - CSS :active states get stuck with multiple on-screen touches. r=botond 2014-04-09 14:47:30 +02:00
Vivien Nicolas
c8d7604f94 Bug 978544 - Ignore events targetting a nsIMozBrowserFrame in BrowserElementPanning.js. r=fabrice 2014-03-04 09:53:16 +01:00
Vivien Nicolas
acdcf9342b Bug 972081 - Highlighting seems broken with APZC enabled. r=kats,fabrice 2014-02-15 01:45:45 +01:00
Nathan Froyd
f541f7ecdd Bug 961793 - unregister observers in BrowserElementPanning.js at global unload; r=fabrice 2014-01-22 16:55:42 -05:00
Nathan Froyd
69ecacdb40 Bug 961808 - delete dead imports from BrowserElement{Child,Panning}.js; r=fabrice 2014-01-20 11:33:34 -05:00
Nathan Froyd
9b7560d62a Bug 961841 - use Services.obs for the observer service in BrowserElementPanning.js; r=smaug 2014-01-20 16:04:24 -05:00
Vivien Nicolas
62f6f02e42 Bug 950300 - Cancel APZC panning is the first touchmove is preventDefault'ed. r=kats 2013-12-20 10:11:01 +01:00
Vivien Nicolas
6dce3ba22f Bug 946339 - Tap and hold does not highlight the targeted element. r=fabrice 2013-12-12 11:43:45 +01:00
Vivien Nicolas
a7ad22ef86 Bug 944047 - Change the initialisation order in BrowserElementPanning.js r=cwiiis
Change the order of initialisation in BrowserElementPanning.js so that
TabChild::IsAsyncPanZoomEnabled isn't called before
TabChild::InitRenderingState.
2013-12-05 20:47:19 +00:00
Vivien Nicolas
a9dc58a8df Bug 935561 - [Messaging] Attach icon is kept like pressed when tapping on it and cancel selecting a content to attach (followup). r=fabrice 2013-11-26 18:30:12 +01:00
Fabrice Desré
5bf862ed32 Bug 942259 - Folder list scrolling seems broken r=vingtetun 2013-11-24 15:18:00 -08:00
Vivien Nicolas
6562636f52 Bug 935561 - [Messaging] Attach icon is kept like pressed when tapping on it and cancel selecting a content to attach. r=fabrice 2013-11-22 13:45:05 +01:00
Timothy Nikkel
770956b066 Bug 908100. Prefer the pointerDownTarget when resetting the active state because that is what we set active state on. r=vingtetun 2013-11-19 12:15:20 -06:00
Kartikaya Gupta
78cc3658d4 Bug 906877 - Remove code obsoleted by multi-apzc. r=BenWa, vingtetun
Now that we have multi-APZC landed, we don't need BrowserElementPanning
to detect when it's about to scroll a subframe and let APZC know. So
the two messages involved in this can be completely removed.
2013-10-30 17:06:15 -04:00
Vivien Nicolas
eae8198829 Bug 928405 - Reset :hover state when the application is sent to the background. r=fabrice 2013-10-19 12:30:33 +02:00
Vivien Nicolas
d433e8a1e8 Bug 863702 - [B2G] :active state is sometime not rendered if you tap quickly. r=fabrice 2013-10-17 09:18:13 +02:00
Ryan VanderMeulen
d553cd01bf Backed out changeset 0f1efa209f53 (bug 863702) for B2G mochitest-2 failures. 2013-10-11 14:41:22 -04:00
Vivien Nicolas
9e3e1db447 Bug 863702 - [B2G] :active state is sometime not rendered if you tap quickly. r=fabrice 2013-10-11 17:29:19 +02:00
Fabrice Desré
eb40cf04c2 Bug 914854 - BrowserElementPanning causes sync reflow by quering scrollLeft/Top r=bz,vingtetun 2013-09-30 10:32:02 -07:00
Anthony Ricaud
93eb04a526 Bug 889717 - Do not send focus when the user taps to stop scrolling. r=vingtetun 2013-09-04 08:29:46 -04:00
Ryan VanderMeulen
cf3b6bd95f Backed out changeset 669d3fd3ea2b (bug 906877) for Mnw failures. 2013-09-03 17:22:14 -04:00
Kartikaya Gupta
169484edbe Bug 906877 - Remove code obsoleted by multi-apzc. r=BenWa, vingtetun
Now that we have multi-APZC landed, we don't need BrowserElementPanning
to detect when it's about to scroll a subframe and let APZC know. So
the two messages involved in this can be completely removed.
2013-09-03 13:04:21 -04:00
Justin Lebar
1c4309b339 Bug 899801 - Don't keep more than five "momentums" values in BrowserElementPanning.js. r=vingtetun
--HG--
extra : rebase_source : f9285a4208b307713d707e5750f39eb43c2b126c
2013-07-31 09:22:57 -07:00
Kartikaya Gupta
221f975427 Bug 866232 - Disable BrowserElementPanning.js from panning subframes and interfering with multi-apzc. r=BenWa, vingtetun 2013-07-30 14:03:42 -04:00
Kyle Huey
50b6fd843b Bug 897701: Don't entrain the target of the pan longer than necessary. r=jlebar 2013-07-24 16:27:45 -07:00
Alfredo Yang
a2bcabf52c Bug 829862 - Recalculate scroll direction when traversing to the outer frame. r=vivien 2013-06-05 08:02:51 -04:00
Vivien Nicolas
493baf1419 Bug 864892 - dom/browser-element/BrowserElementPanning.js kinetic panning does not work with hand made touch events. r=fabrice 2013-05-23 17:52:04 +02:00
Shih-Chiang Chien
0a4b48546d Bug 868271 - Don't ignore touchend even if event is preventDefaulted. r=vingtetun 2013-05-14 08:30:37 -04:00
Jinho Hwang
aa3c4b0176 Bug 864684 - Prevent two way scrolling if it is not neccessary. r=vingtetun 2013-04-26 16:50:12 -04:00
Jonathan Watt
4f321e3a7a Bug 854133 - Stop the page from scrolling when the user tries to drag an <input type=range>'s thumb in the B2G browser app. r=smaug 2013-03-24 21:21:17 +00:00
Shih-Chiang Chien
4e23be6c04 Bug 844326 - Use addSystemEventListener to receive all mouse/touch events. r=vingtetun 2013-02-27 16:48:32 -05:00
Chris Jones
63f195022b Bug 841830: Allow scrolling while tap/pan gesture is still ambiguous, for perceived responsiveness. r=vingtetun
--HG--
extra : rebase_source : efb68d082921d1a41120c5b447b72637ea72ab73
2013-02-15 11:41:23 -08:00
Vivien Nicolas ext:(%20and%20Chris%20Jones%20%3Cjones.chris.g%40gmail.com%3E)
4c3f66fadd Bug 835809: Preload more things for faster page loads. r=fabrice,jlebar
--HG--
rename : dom/browser-element/BrowserElementChild.js => dom/browser-element/BrowserElementChildPreload.js
rename : dom/browser-element/BrowserElementScrolling.js => dom/browser-element/BrowserElementPanning.js
2013-02-07 21:10:01 -08:00