27 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
Dão Gottwald
570b082010 Bug 997131 - Simplify conditional forward button CSS by making the forward button a direct sibling of the location bar. r=mdeboer
--HG--
extra : rebase_source : e9c7c70d5295564dc61766fdaf1eec620e90d77a
2014-04-23 19:26:32 +02:00
Gijs Kruitbosch
6b1f3b5123 Bug 969780 - Australis - places controller gets lost if bookmarks button is moved to overflow or moved outside of customize mode, r=mak
--HG--
extra : rebase_source : dca1ab1dd901468f9dacaff4b7466c27bef84b47
2014-02-18 18:29:51 +00:00
Gijs Kruitbosch
dc5d82af23 Bug 964217 - fix search item insertion in Australis customization mode, r=Unfocused 2014-02-03 10:48:21 +00:00
Gijs Kruitbosch
240fe4437c Bug 964887 - fix menu in Australis to say 'Edit this bookmark' for pages which have already been bookmarked, r=mak 2014-01-31 23:21:41 +00:00
Gijs Kruitbosch
66f1889c0a Bug 944947 - update bookmarks toolbar button styling some more for Australis, r=jaws 2014-01-18 01:43:21 +01:00
Marco Bonardo
196e368400 Bug 958413 - [Australis] Bookmarks menu button dropdown icon has the wrong aspect ratio when placed in the Bookmarks Toolbar. r=Gijs 2014-01-22 10:42:51 +01:00
Gijs Kruitbosch
96b3ec1d95 Bug 889120 - Australis' customize tab gets mixed up with other tab, r=jaws 2014-01-10 15:54:48 +00:00
Carsten "Tomcat" Book
ac726d9baf Backed out changeset d614fa6b53b2 (bug 889120) [australis] for suspicion of pgo perma-orange 2014-01-16 09:44:49 +01:00
Gijs Kruitbosch
4ce8c9d4d6 Bug 889120 - Australis' customize tab gets mixed up with other tab, r=jaws
--HG--
extra : rebase_source : 12ef7ad03ece347dccd1e193a24e4e74b7b20b82
2014-01-10 15:54:48 +00:00
Jared Wein
93625903d2 Bug 940052 - [Australis] Customize tab gets truncated after entering customization mode. r=mconley 2013-12-21 01:17:02 -05:00
Gijs Kruitbosch
696958b500 Bug 700363 - [Australis] Hide conditional forward button permanently when not in use to prevent accidental glitches. r=Unfocused,jaws
--HG--
extra : rebase_source : 981cf692f5e7df0b4dc59a4eb926915363de1fec
2013-12-17 13:43:50 -05:00
Matthew Noorenberghe
b969271e2e Merge mozilla-central to UX 2013-09-06 17:54:20 -07:00
Dão Gottwald
cd6e27404e Bug 899587 - "Remove the now-unneeded setUrlAndSearchBarWidthForConditionalForwardButton hack" r=jaws 2013-07-30 08:09:00 +02:00
Gijs Kruitbosch
3cf6271ad8 Backed out changeset 25c0cb82cae3 for getting the email address wrong 2013-07-30 17:36:51 +02:00
Dão Gottwald
b418d51063 Bug 899587 - "Remove the now-unneeded setUrlAndSearchBarWidthForConditionalForwardButton hack" r=jaws
--HG--
extra : rebase_source : 7bb340d9a1cb23155cdb8c6a4085390e414cafa5
2013-07-30 08:09:00 +02:00
Mike de Boer
63ca3d2cd2 Bug 755598: Merge Back/ Forward/ URLBar/ Stop/ Reload/ Go buttons into 1 toolbaritem. r=dao 2013-07-18 18:46:28 +02:00
Jared Wein
db971a7a5e Bug 888571 - Don't load CustomizeMode.jsm upon startup. r=MattN,dao 2013-06-29 04:25:56 -04:00
Jared Wein
a20425bda0 Backed out changeset ee81f5bac27a (bug 888571) 2013-06-30 08:36:00 -04:00
Jared Wein
c96516a65a Bug 888571 - Don't load CustomizeMode.jsm upon startup. r=MattN,dao
--HG--
extra : rebase_source : 3faf6d921958e0baae0e9495bba7c6481e1bd790
2013-06-29 04:25:56 -04:00
Mike Conley
d05612d23b Bug 881909 - Wrap and unwrap toolbaritems after customization mode transition finishes. r=Gijs. 2013-06-17 10:37:41 -04:00
Mike Conley
247b8f5d7f Bug 868612 - Fix mochitest test failures under browser/base/content/test. r=jaws,feedback=dao. 2013-05-17 15:29:05 -04:00
Mike Conley
cfbf815906 Mostly automated merge with https://hg.mozilla.org/mozilla-central 2013-05-13 13:04:32 -04:00
Mike Conley
7820f12e76 Bug 868589 - Fix broken back button and other menu items after rough SocialMarks merge from m-c. r=MattN. 2013-05-03 20:46:21 -04:00
Mike Conley
48d2378234 Bug 865419 - Follow-up that fixes more 3-way merge badness from 4741bea99fbf. Exiting customization mode no longer breaks things. r=jaws. 2013-04-24 17:13:42 -04:00
Mike Conley
a1ff60cb86 Bug 858597 - Make switching to and from about:customization cause enter and exit from customization mode. r=jaws 2013-04-10 13:37:25 -04:00
Mike Conley
d589bedeac Bug 770135 - New PanelUI and toolbar customization - Milestone 1. r=mconley,jaws,Unfocused. 2013-03-26 17:23:23 -04:00