Commit graph

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
Michael Pruett
149b9ba012 Bug 1006461 - Fix handling of permission notifications in preference dialogs. r=florian 2014-05-30 19:24:29 -05:00
Michael Pruett
e75469398a Bug 431901 - Update preference dialogs to treat backspace and delete equivalently on Mac OS X. r=MattN 2014-05-12 23:11:19 -05:00
ytx
f238b99f8f Bug 956151 - Remove the perm attribute in permissions.js. r=dao 2014-01-03 09:32:57 -05:00
Blair McBride
44323325c8 Bug 697314 - Defer importing xpinstall permissions until necessary. r=Mossop
--HG--
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug578467.js => toolkit/mozapps/extensions/test/xpcshell/test_permissions_prefs.js
2013-10-25 14:22:32 +13:00
Monica Chew
5989c95c30 Bug 841212 - Add 'Allow first party only' to permissions.js. r=margaret 2013-03-11 20:24:52 -04:00
Trevor Saunders
254bffb739 bug 407956 - make nsITreeView not take a nsISupportsArray* r=neil, bz sr=neil 2013-01-06 19:54:42 -05:00
Andres Hernandez
41c0955363 Bug 325901 - fix unnecessarily preprocessed files in browser/, r=gavin
--HG--
extra : rebase_source : cc42d98604e38528f3bc9941dce4f15ec8ad5d67
2012-08-10 14:20:25 -06:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Felix Fung
6b2098fe3a Bug 275223 - Enable Tree View Columns to be Sorted in Page Info. r=db48x 2012-01-26 16:10:00 -05:00
Johannes Buchner
b665cd0082 Bug 399998 - Use Escape to close permission manager and cookie manager dialogs, r=sdwilsh, ui-r=faaborg 2011-05-14 16:11:48 -07:00
Dave Townsend
31ac0d3f18 Bug 553092: Initialise the permissions manager on startup. r=robstrong 2010-04-26 12:19:18 -07:00
Dave Townsend
bfd56a86b8 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
Dave Townsend
f93e20b472 Bug 553092: Initialise the permissions manager on startup. r=robstrong 2010-04-26 12:19:18 -07:00
Dão Gottwald
e932bb0cf9 Bug 511771 - Provide a way for Web content to preview and install lightweight themes. r=mconnor, sr=vlad 2009-09-22 10:40:12 +02:00
Ehsan Akhgari
246552fa9c Bug 478430 - [RTL] URLs in exceptions dialogs are right-to-left; r=gavin 2009-03-01 20:03:52 +04:30
dcamp@mozilla.com
ec7d260ced Bug 399528: Add 'never for this site' option to the offline-app notification bar. r=mconnor, ui-r=beltzner, blocking-firefox3=mconnor 2008-02-21 22:34:15 -08:00
bent.mozilla@gmail.com
8acd482e75 Bug 334363 - "can't change existing (cookie, popup blocking, xpi install, images) permissions for site, need to remove and then re-add". r=dwitte, a=beltzner. 2007-12-20 16:26:21 -08:00
philringnalda%gmail.com
02b197c452 Bug 371807: reusing permissions dialog shouldn't keep adding observers, r=mano 2007-02-27 04:15:12 +00:00
gavin%gavinsharp.com
4affb8e18e Bug 351591: Pressing Enter in an exceptions dialog adds an unwanted 'scheme:http' entry in the list, r=mano 2006-12-07 21:25:38 +00:00
gavin%gavinsharp.com
21e8cd0e05 Bug 324187: scheme:http appears in software installation whitelist if no other sites exist, patch by logan <mozilla@gozer.org>, r=mconnor 2006-06-24 13:17:01 +00:00
gerv%gerv.net
35149ea17d Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-09-13 18:40:56 +00:00
timeless%mozdev.org
b63d015b68 Bug 293826 whitelist for software install remains empty until visiting a site triggers the notification bar
patch by moz_bugzilla@exchangecode.com r=mconnor a=asa
2005-06-08 23:52:26 +00:00
mconnor%steelgryphon.com
e53f70299d bug 296865 - fixes for addPermission, a=asa 2005-06-08 15:10:19 +00:00
ben%bengoodger.com
7f6e581258 avoid duplicate permissions from being added to the view 2005-02-27 07:45:00 +00:00
ben%bengoodger.com
a7066b5e56 283694 - cannot add cookie permissions. also fix annoying exception on startup 2005-02-27 07:12:05 +00:00
ben%bengoodger.com
b622819900 274712 - new options dialog 2005-02-25 09:07:58 +00:00