Commit Graph

31 Commits

Author SHA1 Message Date
Jim Blandy
39dc0c6097 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
Marco Zehe
563e9a7ced Bug 968111 - Fix various accessibility markup issues in Toolkit XUL files, r=da0 2014-02-05 17:33:43 +01:00
Saurabh Anand
c2f36dde0f Bug 722996 - cookieAcceptDialog.js uses global Private Browsing state to make decisions; r=ehsan 2012-07-19 02:23:40 +05:30
Neil Rashbrook
3f194429dd Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-26 00:11:16 +01:00
Ed Morley
4bd90ea948 Backout ec9451e9e830 (bug 758354) for PGO linux permaorange in browser_bug422590.js and friends 2012-06-25 19:14:43 +01:00
Neil Rashbrook
d9a10be7eb Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-25 09:24:49 +01:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Hubert Gajewski
04aa9cf08f Bug 471989 - atEndOfSession define in cookieAcceptDialog.properties should be capitalize; r=gavin.sharp 2009-02-12 05:16:02 +01:00
Ehsan Akhgari
5de76cbe1a Bug 461625 - Hide the UI for saving permission manager entries in Private Browsing mode, r=mconnor 2008-11-04 02:52:22 +03:30
Robert Kaiser
01028e1ff0 bug 451601 - kill MOZILLA_LOCALE_VERSION, main mozilla-central patch to kill xpfe-style chrome versions, r=ted sr=Neil 2008-09-11 01:08:57 +02:00
9d995e39f8 Bug 383993 - remove p3p ui from suite. r=kairo, sr=jag. 2007-09-02 17:58:05 -07:00
3988c8c17b Bug 381468 - Convert toolkit application/x-javascript to application/javascript. r=gavin.sharp 2007-05-23 11:08:10 -07:00
jwalden@mit.edu
d18ede5730 Bug 279698 - Some .js files in jars are not stripped of license headers via preprocessing (pass 1). r=mconnor 2007-03-11 02:21:48 +00:00
marco@gnome.org
f42e7fb83f Bug 233461 Add icons to the dialogs buttons
r=mconnor
2005-03-12 10:40:46 +00:00
bugzilla@arlen.demon.co.uk
f3b5ff2a60 Bug 277097 Tidy up cookie js/xul/pref code (Removing js/xul from extensions/cookie) - history for pref-cookies.xul/dtd and pref-images.xul/dtd can be got from the attic (see bug for details)
p=me r=dwitte/benjamin sr=darin
2005-03-10 18:36:07 +00:00
mconnor@myrealbox.com
6695df6cf6 bug 238045 - Cookie manager of 1.7beta does not display stored cookies, r=mvl, sr=darin, a=chofmann, display a blank value for expiry if FormatDateTime chokes on really long-lived cookies 2004-03-31 00:38:17 +00:00
mconnor@myrealbox.com
06e024048e bug 102269: Cookie Manager: Server Secure is unclear. r=mvl, sr=alecf 2004-03-07 08:25:59 +00:00
mconnor@myrealbox.com
62c4c5e177 previous checkin should have read bug 230624 - better dialog version, r=neil, sr=jst 2004-03-05 01:45:15 +00:00
mconnor@myrealbox.com
ce810c4ed5 *** empty log message *** 2004-03-05 01:31:43 +00:00
bzbarsky@mit.edu
e40bfeb2b9 Rework cookie dialogs to allow setting session-only cookies. Bug 230624, patch
by Mike Connor <mconnor@myrealbox.com>, r=mvl, sr=darin
2004-01-29 03:34:58 +00:00
dwitte@stanford.edu
cc509c6dd5 add accesskeys for the cookie confirmation dialog.
b=201743, r=neil, sr=alecf
2003-10-30 17:26:44 +00:00
dwitte@stanford.edu
1c6911c84d Bug 206356: cookies refused by default if you just close dialog.
makes the "do you want to accept this cookie?" dialog more user-friendly, by not touching the permission list if you dismiss the dialog without clicking a button.

patch by mvl, r=neil, sr=jag, a=asa.
2003-05-22 00:37:48 +00:00
cbiesinger@web.de
077afe345b 198829 patch by mvl@exedo.nl r=dwitte@stanford.edu sr=dmose Blocking cookies does not remain persistent 2003-03-23 22:35:02 +00:00
bzbarsky@mit.edu
f20939f657 Checking in permissions rewrite phase 1 (troop deployment in the permission
gulf).  Bug 191380, patch by mvl@exedo.nl (Michiel van Leeuwen),
r=dwitte@stanford.edu, sr=darin.
2003-03-22 01:24:51 +00:00
cbiesinger@web.de
6ae4c8a166 163350 patch by mvl@exedo.nl r=suresh sr=jag Cookie confirmation dialog could use better wording. 2003-02-28 20:49:09 +00:00
kairo@kairo.at
5e3be3e9d4 bug 163350 - Cookie confirmation dialog could use better wording, r=timeless, sr=jag, checking in for mvl@exedo.nl 2003-02-22 13:42:15 +00:00
timeless@mozdev.org
37175c7583 Bug 179798 cookie confirm dialog no longer works in embedding (doesn't call nsIPrompt service)
patch by mvl@exedo.nl r=dwitte sr=darin
2003-01-22 05:52:33 +00:00
suresh@netscape.com
900fb9f798 bug 189522 - cookies have ok/cancel instead of yes/no. r/sr-jag. 2003-01-17 23:36:34 +00:00
suresh@netscape.com
8b76eea8ec Bug 168930, Cookie accept/decline alert buttons are in the wrong order. r/sr-jag. 2003-01-16 22:09:00 +00:00
morse@netscape.com
1135c0e322 bug 170237, cookie-accept dialog doesn't indicate session cookies, c=mvl@shop-engine.nl, r=morse, sr=dveditz 2002-09-29 13:16:53 +00:00
morse@netscape.com
82dba5889f bug 23508, cookie confirmation dialog should show all data, code=mvl@shop-engine.nl, a=morse, r=timeless@myrealbox.com, sr=alecf 2002-09-13 08:51:13 +00:00