Commit Graph

37 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
Paolo Amadini
e95feeeb26 Bug 899110 - Remove the code to switch between different back-ends from the Downloads Panel. r=enn 2013-11-04 19:21:13 +01:00
Paolo Amadini
9b991a2fbf Bug 824345 - Hide old Download Manager preferences when the Downloads Panel is enabled.
r=mak
2012-12-28 00:54:54 +01:00
Josh Matthews
ea13d2b4f6 Backed out changeset 0b3cc2b5fc5f (bug 824345) 2012-12-27 20:44:18 -05:00
Paolo Amadini
1d548be2f1 Bug 824345 - Hide old Download Manager preferences when the Downloads Panel is enabled.
r=mak
2012-12-28 00:54:54 +01:00
Andres Hernandez
6c0b339ed1 Bug 781973 - Use filepicker's open() instead of the obsolete show() in /browser. r=bbondy 2012-09-19 17:21:38 -06:00
Javi Rueda
675a43db45 Bug 513164 - Remove "Manage Addons" from Preferences UI; r=gavin 2012-08-27 12:45:48 -04:00
Paolo Amadini
74da64cc78 Bug 748160 - Update the Downloads command to open the Downloads view instead of the Downloads Panel. r=mak 2012-08-25 11:37:55 +02:00
Andres Hernandez
fd33841755 Bug 325901 - fix unnecessarily preprocessed files in browser/, r=gavin
--HG--
extra : rebase_source : cc42d98604e38528f3bc9941dce4f15ec8ad5d67
2012-08-10 14:20:25 -06:00
Andrew Hurle
05ae23c117 Bug 720154 - Move restore_on_demand checkbox to Tabs page, never disable it. r=zpao, ui-r=jboriss 2012-05-26 09:33:52 -04:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Paolo Amadini
fc466abc21 Bug 726444 - Implement the Downloads Panel. r=mak ui-r=limi
Includes: Bug 697679 - By Javi Rueda <leofigueres@yahoo.com>.
2012-04-17 13:35:09 +02:00
Ed Morley
fe0db58bce Backout ba7da6256b23 (bug 726444) for talos regressions; a=mak 2012-03-11 23:38:53 +00:00
Paolo Amadini
ebd422385f Bug 726444 - Implement the Downloads Panel. r=mak ui-r=limi
Includes: Bug 697679 - By Javi Rueda <leofigueres@yahoo.com>.
2012-03-10 15:00:45 +01:00
Gavin Sharp
af3038818b Bug 714272: icon does not appear in Download preferences pane if default download location is "Desktop", r=jared 2012-01-17 12:12:53 -08:00
Paul O’Shannessy
20e59e456a Bug 625329 - Pinned tabs are used when setting homepage from current tabs [r=gavin] 2011-12-13 11:41:25 -08:00
Paul O’Shannessy
233cde3cd2 Bug 648683 - Expose tabs on-demand preference [r=dietrich, r=gavin, ui-r=boriss]
This removes the browser.sessionstore.max_concurrent_tabs integer preference in favor of a boolean preference. This disables the hidden way of disabling cascaded restore.
The new browser.sessionstore.restore_on_demand preference is exposed in the "General" pref pane.
2011-08-15 23:24:25 -07:00
Tim Taubert
9cfec7bd80 Bug 636149 - Home Page -> Use Current Pages; Does not respect Tab groups; r=gavin 2011-05-03 01:59:46 +02:00
Gavin Sharp
509610b4b5 Bug 474718 - don't call the defaultDownloadsDirectory getter on prefpane initialization, since it might unnecessarily create the downloads folder. r=sdwilsh 2011-03-10 14:15:35 -05:00
Ehsan Akhgari
8ca3a63b47 Bug 567487 - Option to never remember history should disable the option to restore the last session; ui-r=limi r,a=gavin 2010-09-15 11:19:02 -04:00
Marco Bonardo
1bafc13d63 Bug 596409: show about:home title on home button tooltip if home page is about:home, r=gavin, a=blocking 2010-09-14 18:56:37 -04:00
Gavin Sharp
a30568499a Bug 595356: pref dialog should show default home page as "Firefox Start".r=mak a=blocking 2010-09-14 19:10:28 -04:00
Blair McBride
e47441825e Bug 554007: New add-ons manager UI (browser parts). r=sdwilsh 2010-04-29 10:17:06 -07:00
Dave Townsend
74b7768710 Backout new add-ons manager due to Ts regression on OSX 10.5
--HG--
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_bug404024.xml => toolkit/mozapps/extensions/test/unit/data/test_bug404024.xml
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_bug417606.xml => toolkit/mozapps/extensions/test/unit/data/test_bug417606.xml
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_bug424262.xml => toolkit/mozapps/extensions/test/unit/data/test_bug424262.xml
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug404024.js => toolkit/mozapps/extensions/test/unit/test_bug404024.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug417606.js => toolkit/mozapps/extensions/test/unit/test_bug417606.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug424262.js => toolkit/mozapps/extensions/test/unit/test_bug424262.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug449027.js => toolkit/mozapps/extensions/test/unit/test_bug449027.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug455906.js => toolkit/mozapps/extensions/test/unit/test_bug455906.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug514327_3.js => toolkit/mozapps/extensions/test/unit/test_bug514327_3.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug541420.js => toolkit/mozapps/extensions/test/unit/test_bug541420.js
2010-05-01 11:04:44 -07:00
Blair McBride
8629963616 Bug 554007: New add-ons manager UI (browser parts). r=sdwilsh 2010-04-29 10:17:06 -07:00
Dão Gottwald
e67e348580 add missing spaces; 'switch' is not a function 2010-02-06 11:40:06 +01:00
L. David Baron
39f78a82a0 Fix spelling (s/depreciated/deprecated/) to force Windows builder to cycle. 2008-09-26 16:33:53 -07:00
mozilla.mano@sent.com
c0a06d2b9a Bug 413437 - Locking homepage buttons to disable them is broken. patch from Michael Schonfeld <dev@schonfeld.org>, r=me. 2008-02-12 11:19:26 -08:00
reed@reedloden.com
629f38f4b0 Bug 407383 - "Manage Add-ons in Preferences may open the add-on manager with an irrelevant pane selected" [p=ehsan.akhgari@gmail.com (Ehsan Akhgari) r=Mano ui-r=beltzner a1.9=schrep] 2008-01-05 19:59:16 -08:00
rob_strong@exchangecode.com
08ae24aa2a Bug 406387 - Move System Defaults from Main to Advanced - General. r=sspitzer, approval1.9=dsicore 2007-12-03 18:38:06 -08:00
gavin@gavinsharp.com
84e115b359 Bug 393247: Downloads no longer remember last download directory, patch by Jim Mathies <jmathies@mozilla.com>, r=me 2007-09-04 09:21:34 -07:00
rob_strong@exchangecode.com
2fe3aa4828 Bug 384956 - Provide access to extension options from app options. r-mano, ui-r=madhava 2007-08-29 20:50:47 -07:00
gavin@gavinsharp.com
67b44962f8 Fix newlines 2007-08-29 12:58:59 -07:00
gavin@gavinsharp.com
e7ca2e6572 Bug 393342: read the download.dir pref as a nsILocalFile instead of just a file path (fixes automatic downloads on Mac), patch by Jim Mathies <jmathies@mozilla.com>, r=me 2007-08-28 11:59:49 -07:00
sdwilsh@shawnwilsher.com
d84e1dbbf7 Bug 308073 - Change default downloading folder in Windows Vista from Desktop to Downloads. Patch by Jim Mathies <jmathies@mozilla.com>. r=robarnold, r=robert.bugzilla, sr=dougt, a=mconnor 2007-08-21 10:22:02 -07:00
mozilla.mano@sent.com
0419606b62 Bug 386392 - Drop pre places/places-bookmarks support from browser/. r=gavin. 2007-07-17 14:08:24 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00