Commit Graph

45 Commits

Author SHA1 Message Date
Jim Blandy
4d6a633bba 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
ec8396a564 Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin 2014-06-18 17:56:02 -07:00
Paolo Amadini
a8ab0e859e Bug 984813 - Remove deprecated promise.js usage in Firefox for Metro. r=mbrubeck 2014-04-07 18:38:10 +02:00
Jim Mathies
674036ab16 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
1c5361840a Bug 964285 - guard against selecting non-item elements in richgrid. r=mbrubeck 2014-01-31 13:29:54 -08:00
Sam Foster
03abbdc90c 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
cac9aae55a Bug 905369 - Use cached favicons on the start page [r=jimm] 2013-12-16 09:22:24 -08:00
Rodrigo Silveira
76185e6a78 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
c8ccf9a4f8 Backed out changeset 772c30e9e812 (bug 944255) for mochitest-mc orange. 2013-12-09 15:54:27 -05:00
Rodrigo Silveira
b48f853fb6 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
bde6292097 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
ced47fc8e4 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
61124c1afc Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Sam Foster
728f420e0b 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
01d3108700 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
3a2c54d8b2 Bug 915328 - Metro front-end fixes for cross slide with async panning [r=sfoster] 2013-10-02 18:03:05 -07:00
Matt Brubeck
16e6a58bba Bug 891056 - Use resize events instead of Windows notifications for snapped view [r=rsilveira] 2013-09-24 13:16:11 -07:00
Sam Foster
df18982796 Bug 909889 - Add guards around drag property access in CrossSlide. r=mbrubeck 2013-09-09 19:35:33 -07:00
Sam Foster
f7764aae39 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
9f899c1fe6 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
783638efff 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
c2a2835cb5 Bug 903178 - Start screen should scroll vertically when in portrait mode r=sfoster 2013-07-29 11:01:36 -07:00
Sam Foster
d508e3a958 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
1c86cb711e Bug 895519 - Rework tiles favicon treatment + tweaks to meet revised design. r=rsilveira 2013-08-10 01:29:22 -07:00
Sam Foster
fad18503a1 Bug 902246 - Utility methods for adding rgb(a) colors together. r=mbrubeck 2013-08-08 17:02:19 -07:00
Sam Foster
b9d62cffff 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
53a12e6bd4 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
5c25cc9036 No Bug - Removing empty Makefile.in files; r=me 2013-07-18 09:09:28 -07:00
Mike Hommey
ffd522d5c2 Bug 892904 - Remove useless includes of config.mk. r=gps 2013-07-15 18:48:40 +09:00
Allison Naaktgeboren
0252b61830 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
3a2fe83b01 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
8bc3bf52b7 Bug 880245 - Move EXTRA_JS_MODULES to moz.build (batch #3); r=joey 2013-06-28 15:17:07 -04:00
Sam Foster
ce166148c5 Bug 886584 - Enable scrolling/pan on start-ui from tiles. r=fryn 2013-07-01 16:00:51 -07:00
Brian R. Bondy
4ca879fa04 Bug 864733 - Removed unused code in modules/video.jsm. r=jimm 2013-04-24 16:00:53 -04:00
Sam Foster
a733efd7fa 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
1baf431d40 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
a84ef58b85 Bug 842130 - Fix fullscreen video which currently isn't working. r=mbrubeck 2013-03-28 21:29:55 -04:00
Allison Naaktgeboren
816cd28ed4 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
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
c79ccc0693 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
a59d40f143 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
0ffef9b1cc Backout 9eb6532ccfc3 for bustage on some slaves. r=me 2013-03-28 23:28:11 -04:00
Brian R. Bondy
478c4bce26 Bug 842130 - Fix fullscreen video which currently isn't working. r=mbrubeck 2013-03-28 21:29:55 -04:00
Gregory Szorc
758d7a8978 Bug 784841 - Part 18d: Convert /browser; r=gavin f=Ms2ger 2013-02-25 12:47:18 -08:00
Jim Mathies
d3b042e8de Bug 750903 - Land browser/metro/* r=mbrubeck 2013-02-12 14:51:25 -06:00