Commit Graph

45 Commits

Author SHA1 Message Date
Jim Blandy
7e20285e70 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
Birunthan Mohanathas
51ba75d135 Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin 2014-06-18 17:56:02 -07:00
Paolo Amadini
2b4d57d50a Bug 984813 - Remove deprecated promise.js usage in Firefox for Metro. r=mbrubeck 2014-04-07 18:38:10 +02:00
Jim Mathies
18ff94c109 Bug 977814 - Control the number of tiles displayed in each about:start compartment using prefs. r=sfoster 2014-03-06 08:32:55 -06:00
Sam Foster
61099468ba Bug 964285 - guard against selecting non-item elements in richgrid. r=mbrubeck 2014-01-31 13:29:54 -08:00
Sam Foster
d13d70f04f Bug 951635 - Move CrossSlide.Handler instantiation to be driven by the View via _adjustDOMforViewState method. r=mbrubeck 2014-01-09 14:46:19 -08:00
Matt Brubeck
1838fecf58 Bug 905369 - Use cached favicons on the start page [r=jimm] 2013-12-16 09:22:24 -08:00
Rodrigo Silveira
6a625e7742 Bug 944255 - about:start bookmarks and history tiles cut off when using split views r=sfoster
* * *
Bug 944255 - Test fix

--HG--
extra : rebase_source : cee8e82050c3c95bd83285712567e08e3b9db5cf
2013-12-09 10:41:58 -08:00
Ryan VanderMeulen
f22ee0eab8 Backed out changeset 772c30e9e812 (bug 944255) for mochitest-mc orange. 2013-12-09 15:54:27 -05:00
Rodrigo Silveira
c10f3d8a21 Bug 944255 - about:start bookmarks and history tiles cut off when using split views r=sfoster
--HG--
extra : rebase_source : d1e2a8636ba863d89fbcb658ce373cddceb722b2
2013-12-09 10:41:58 -08:00
Rodrigo Silveira
5d95fd17f1 Bug 939705 - Arrow keys not working in context menu r=mbrubeck
--HG--
extra : rebase_source : d63f915eec428aaf8932689c25bd81e40635a7e3
2013-11-26 17:07:51 -08:00
Sam Foster
351dc76914 Bug 931115 - Cache color info for favicon urls on colorUtils. r=mbrubeck
--HG--
extra : rebase_source : d6147e13fac276f0552dfab40275d69a680635ab
2013-10-31 14:00:28 -07:00
Mike Hommey
59a17d0f20 Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Sam Foster
91ee7b07ac Bug 897113 - add noContext/contextmenu toggle for richgrid, disable selection for snapped view and awesomebar results. New selectNone richgrid method. r=rsilveira 2013-10-22 16:32:42 -07:00
Sam Foster
4fbe199479 Bug 927938 - Remove extra refresh of TopSites tile backgrounds. r=rsilveira
--HG--
extra : rebase_source : 29efd6e3c8385d4c3e72d55d4a5b109b474ce1c7
2013-10-17 15:47:22 -07:00
Matt Brubeck
c501c2ae3e Bug 915328 - Metro front-end fixes for cross slide with async panning [r=sfoster] 2013-10-02 18:03:05 -07:00
Matt Brubeck
54854d9f38 Bug 891056 - Use resize events instead of Windows notifications for snapped view [r=rsilveira] 2013-09-24 13:16:11 -07:00
Sam Foster
bee1d7f75a Bug 909889 - Add guards around drag property access in CrossSlide. r=mbrubeck 2013-09-09 19:35:33 -07:00
Sam Foster
3fa160b3a8 Bug 898650 - Simplified scroll direction heuristics using scrollMaX/Y then document aspect ratio. r=mbrubeck
--HG--
extra : rebase_source : 4cd41227c60ea10294453d1e6a7aaf68dc6ca39b
2013-09-03 17:24:47 -07:00
Sam Foster
4c871cdcf9 Bug 893091 - New populateFragmentFromString+tests, format the save-or-run download notification bar text. r=mbrubeck 2013-08-23 16:29:51 -07:00
Sam Foster
e5aa0369f2 Bug 848137 - Begin break out of Utils.js into a ContentUtil.jsm module. r=mbrubeck 2013-08-23 13:58:55 -07:00
Rodrigo Silveira
531820f87c Bug 903178 - Start screen should scroll vertically when in portrait mode r=sfoster 2013-07-29 11:01:36 -07:00
Sam Foster
328160be66 Bug 904317 - observe viewstate in view markup, call _adjustDOMforViewState at init and from onViewStateChange. r=rsilveira
--HG--
extra : rebase_source : accadb9ffa0a8cb3026ddb5aff0952cfd8a5186c
2013-08-16 16:56:50 -07:00
Sam Foster
96e0cd2235 Bug 895519 - Rework tiles favicon treatment + tweaks to meet revised design. r=rsilveira 2013-08-10 01:29:22 -07:00
Sam Foster
4d1f19f175 Bug 902246 - Utility methods for adding rgb(a) colors together. r=mbrubeck 2013-08-08 17:02:19 -07:00
Sam Foster
0ac7ef2f2d Bug 896766 - Add metro_viewstate_changed handling to toggle grid selectability. r=rsilveira
--HG--
extra : rebase_source : b1be067967f81507bfd88f43341116650c244d9e
2013-07-29 15:03:16 -07:00
Sam Foster
e5ab5520f8 Bug 892632 - Hook up tile ribbon color in History tiles via new shared View module; refactor TopSitesView and BookmarksView to use same. r=mbrubeck 2013-07-19 18:17:08 -07:00
Gregory Szorc
5cf35af589 No Bug - Removing empty Makefile.in files; r=me 2013-07-18 09:09:28 -07:00
Mike Hommey
b97d1767fc Bug 892904 - Remove useless includes of config.mk. r=gps 2013-07-15 18:48:40 +09:00
Allison Naaktgeboren
64a0059353 Bug 879113 part 1/2, favicon errorhandling-Start screen should handle error cases when missing favicons, thumbnails gracefully.r=mbrubeck 2013-07-12 21:13:55 -07:00
Sam Foster
f1b0d865de Bug 835984 - Push start-ui tiles away in 3d space when pressing them. r=jwilde
--HG--
extra : rebase_source : 0a3a60f9b4fb628b1aea8a24e4a33cc584316854
2013-07-09 18:04:08 -07:00
Mike Shal
d2ead9d919 Bug 880245 - Move EXTRA_JS_MODULES to moz.build (batch #3); r=joey 2013-06-28 15:17:07 -04:00
Sam Foster
0df298b75b Bug 886584 - Enable scrolling/pan on start-ui from tiles. r=fryn 2013-07-01 16:00:51 -07:00
Brian R. Bondy
fe05b3f8d8 Bug 864733 - Removed unused code in modules/video.jsm. r=jimm 2013-04-24 16:00:53 -04:00
Sam Foster
d246d56877 Bug 864706 - Fix calls to CrossSlide.Handle's cancel to provide event param. r=jimm 2013-04-23 16:13:51 +01:00
Sam Foster
4514ee2bc1 Bug 829056 - Cross-slide gesture module for Fx start tiles. r=mbrubeck
--HG--
extra : rebase_source : 8722b2800b93015b218400c6e1f7d79227b78924
2013-04-22 22:42:09 +01:00
Brian R. Bondy
bc4e30eaa7 Bug 842130 - Fix fullscreen video which currently isn't working. r=mbrubeck 2013-03-28 21:29:55 -04:00
Allison Naaktgeboren
2824d3fa08 Bug 848155 - Add Colored Bar with Text to Bottom of Topsites Thumbnails. Also fixes 826556. r=mbrubeck 2013-04-03 11:49:45 -07:00
Kyle Machulis
72a717a860 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
43628a7867 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
334c0800cf Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Brian R. Bondy
8ba2e8f4e8 Backout 9eb6532ccfc3 for bustage on some slaves. r=me 2013-03-28 23:28:11 -04:00
Brian R. Bondy
8008ffd3f5 Bug 842130 - Fix fullscreen video which currently isn't working. r=mbrubeck 2013-03-28 21:29:55 -04:00
Gregory Szorc
1b27561fa4 Bug 784841 - Part 18d: Convert /browser; r=gavin f=Ms2ger 2013-02-25 12:47:18 -08:00
Jim Mathies
b3a0b467c6 Bug 750903 - Land browser/metro/* r=mbrubeck 2013-02-12 14:51:25 -06:00