Commit Graph

45 Commits

Author SHA1 Message Date
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
Birunthan Mohanathas
c910458886 Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin 2014-06-18 17:56:02 -07:00
Paolo Amadini
ff2f291afe Bug 984813 - Remove deprecated promise.js usage in Firefox for Metro. r=mbrubeck 2014-04-07 18:38:10 +02:00
Jim Mathies
a74963c682 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
f31ffbdab7 Bug 964285 - guard against selecting non-item elements in richgrid. r=mbrubeck 2014-01-31 13:29:54 -08:00
Sam Foster
f318583067 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
eecc1db9a4 Bug 905369 - Use cached favicons on the start page [r=jimm] 2013-12-16 09:22:24 -08:00
Rodrigo Silveira
0b940d4a8b 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
d4bcccf1be Backed out changeset 772c30e9e812 (bug 944255) for mochitest-mc orange. 2013-12-09 15:54:27 -05:00
Rodrigo Silveira
84f9be1f2e 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
99b3c7cc3f 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
fa1a50aedc 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
80c623bb6a Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Sam Foster
396493be0f 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
2854eb946b 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
e048ae4084 Bug 915328 - Metro front-end fixes for cross slide with async panning [r=sfoster] 2013-10-02 18:03:05 -07:00
Matt Brubeck
7388d92b3e Bug 891056 - Use resize events instead of Windows notifications for snapped view [r=rsilveira] 2013-09-24 13:16:11 -07:00
Sam Foster
c9f4f37474 Bug 909889 - Add guards around drag property access in CrossSlide. r=mbrubeck 2013-09-09 19:35:33 -07:00
Sam Foster
d8a1513d26 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
d06e2cf8e8 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
35a55170b7 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
8749d11467 Bug 903178 - Start screen should scroll vertically when in portrait mode r=sfoster 2013-07-29 11:01:36 -07:00
Sam Foster
6f9e3c18af 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
d8c2d38fdd Bug 895519 - Rework tiles favicon treatment + tweaks to meet revised design. r=rsilveira 2013-08-10 01:29:22 -07:00
Sam Foster
343d6ce5a0 Bug 902246 - Utility methods for adding rgb(a) colors together. r=mbrubeck 2013-08-08 17:02:19 -07:00
Sam Foster
75832c5523 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
88af615fe8 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
4ca67f021a No Bug - Removing empty Makefile.in files; r=me 2013-07-18 09:09:28 -07:00
Mike Hommey
e9ee5bb8ee Bug 892904 - Remove useless includes of config.mk. r=gps 2013-07-15 18:48:40 +09:00
Allison Naaktgeboren
626fecac73 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
84269fa943 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
e215f1fcd7 Bug 880245 - Move EXTRA_JS_MODULES to moz.build (batch #3); r=joey 2013-06-28 15:17:07 -04:00
Sam Foster
252bf45087 Bug 886584 - Enable scrolling/pan on start-ui from tiles. r=fryn 2013-07-01 16:00:51 -07:00
Brian R. Bondy
fdb5891225 Bug 864733 - Removed unused code in modules/video.jsm. r=jimm 2013-04-24 16:00:53 -04:00
Sam Foster
0d19eabbfb 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
95662a90e9 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
f309288776 Bug 842130 - Fix fullscreen video which currently isn't working. r=mbrubeck 2013-03-28 21:29:55 -04:00
Allison Naaktgeboren
1b3f8aec49 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
f5e3aadf0b Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
d2b6e6e01a 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
5663b98bc5 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
9837ff4bcf Backout 9eb6532ccfc3 for bustage on some slaves. r=me 2013-03-28 23:28:11 -04:00
Brian R. Bondy
e0d01cc498 Bug 842130 - Fix fullscreen video which currently isn't working. r=mbrubeck 2013-03-28 21:29:55 -04:00
Gregory Szorc
8f9112102d Bug 784841 - Part 18d: Convert /browser; r=gavin f=Ms2ger 2013-02-25 12:47:18 -08:00
Jim Mathies
a1aa248d9d Bug 750903 - Land browser/metro/* r=mbrubeck 2013-02-12 14:51:25 -06:00