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
Abhishek Potnis
325ef9f635
Bug 986499 - Make the calls to import Deprecated.jsm lazy. r=yoric
2014-03-28 10:36:48 -04:00
Drew Willcoxon
50b5fea249
Bug 850219 - Mark nsIContentPrefService as deprecated in favor of nsIContentPrefService2. r=mak
2013-08-08 20:38:49 -07:00
Felipe Gomes
a4bcc77d2f
Bug 854299 - Part 2. Update DownloadLastDir.getFile. r=adw
2013-04-01 03:08:49 -03:00
Felipe Gomes
586824cf24
Bug 850210 - Part 3. Update DownloadLastDir usage of removePrefsByName to nsIContentPrefService2. r=adw
2013-04-01 02:59:17 -03:00
Ms2ger
79841c52f3
Backout changesets a255a998af6e:9c72d5cfe1fb for bc orange.
2013-04-01 12:00:49 +02:00
Felipe Gomes
bbbc13ab19
Bug 854299 - Part 2. Update DownloadLastDir.getFile. r=adw
2013-04-01 03:08:49 -03:00
Felipe Gomes
723a24ee52
Bug 850210 - Part 3. Update DownloadLastDir usage of removePrefsByName to nsIContentPrefService2. r=adw
2013-04-01 02:59:17 -03:00
Ryan VanderMeulen
09552761fb
Backed out changeset badf8d382f79 (bug 850210) for frequent mochitest-bc failures on a CLOSED TREE.
2013-03-30 16:48:44 -04:00
Felipe Gomes
8ca7097b9a
Bug 850210 - Part 3. Update DownloadLastDir usage of removePrefsByName to nsIContentPrefService2. r=adw
2013-03-29 23:08:52 -03:00
Kyle Huey
1482122303
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
...
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Vicamo Yang
8297cdabd6
Backout 67cb43bb8865: Breaks B2G Marionette
2012-10-31 16:35:11 +08:00
Kyle Huey
bdf47895bb
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
2012-10-30 12:28:11 -07:00
Ed Morley
777eed8444
Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE
2012-10-30 17:02:31 +00:00
Kyle Huey
aa1997a51a
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
2012-10-30 08:26:12 -07:00
Josh Matthews
fcf5f9bfe7
Bug 723002 - Determine privacy status from provided nsILoadContext in ContentPrefService. r=ehsan
2012-06-30 07:50:07 -07:00
Saurabh Anand
40da363771
Bug 722995 - Part 2: Make DownloadLastDir.jsm use per-window privacy status instead of global service. r=ehsan
2012-07-21 11:24:41 +05:30
Ryan VanderMeulen
dabaa78a3b
Backout 53d053772879, e68d8406541e, 1a18d1d71ddf, 705c22e17976, 73f73097fb1a, and 8b28f53415fe (bug 722995) due to frequent linux32 mochitest-other orange.
2012-07-21 14:29:50 -04:00
Saurabh Anand
02d334a579
Bug 722995 - DownloadLastDir.jsm uses global Private Browsing state to make decisions, r=ehsan
2012-07-21 11:25:37 +05:30
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Geoff Lankow
8e5b15a9ab
Bug 684107 followup - stop importing XPCOMUtils.jsm and Dict.jsm into DownloadLastDir.jsm; r=gavin
2012-01-20 19:58:38 +13:00
Geoff Lankow
8fdfc439b4
Bug 702748 - Use a pref for disabling per-site remembering of download directory; r=gavin.sharp, a=khuey
2011-12-12 17:31:50 +13:00
Geoff Lankow
7ec43aed40
Bug 684107 - Remove private browsing code from DownloadLastDir.jsm after bug 679784 is fixed; r=ehsan
2011-09-03 22:02:32 +12:00
Geoff Lankow
e0eb9adbb1
Bug 536503 - Last downloaded-to directory should be remembered on a site-by-site basis. r=gavin
2011-06-10 11:19:16 +12:00
Mitchell Field
09e94f0ad4
Bug 461444: remove cases of excessive recursion in makefiles r=ted
...
--HG--
rename : toolkit/mozapps/downloads/src/DownloadLastDir.jsm => toolkit/mozapps/downloads/DownloadLastDir.jsm
rename : toolkit/mozapps/downloads/src/DownloadUtils.jsm => toolkit/mozapps/downloads/DownloadUtils.jsm
rename : toolkit/mozapps/downloads/src/nsHelperAppDlg.js.in => toolkit/mozapps/downloads/nsHelperAppDlg.js
rename : toolkit/mozapps/extensions/src/LightweightThemeManager.jsm => toolkit/mozapps/extensions/LightweightThemeManager.jsm
rename : toolkit/mozapps/extensions/src/nsAddonRepository.js => toolkit/mozapps/extensions/nsAddonRepository.js
rename : toolkit/mozapps/extensions/src/nsBlocklistService.js => toolkit/mozapps/extensions/nsBlocklistService.js
rename : toolkit/mozapps/extensions/src/nsExtensionManager.js.in => toolkit/mozapps/extensions/nsExtensionManager.js
rename : toolkit/mozapps/extensions/public/nsIAddonRepository.idl => toolkit/mozapps/extensions/nsIAddonRepository.idl
rename : toolkit/mozapps/extensions/public/nsIExtensionManager.idl => toolkit/mozapps/extensions/nsIExtensionManager.idl
rename : toolkit/mozapps/handling/src/nsContentDispatchChooser.js => toolkit/mozapps/handling/nsContentDispatchChooser.js
rename : toolkit/mozapps/shared/src/CertUtils.jsm => toolkit/mozapps/shared/CertUtils.jsm
rename : toolkit/mozapps/shared/src/FileUtils.jsm => toolkit/mozapps/shared/FileUtils.jsm
2010-01-27 11:16:53 -08:00