Commit Graph

99 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
Ehsan Akhgari
b344638c9b Bug 983920 - Port window.sidebar and window.external to WebIDL; r=bzbarsky 2014-03-28 00:03:03 -04:00
Marina Samuel
d4dcf5b089 Bug 961587: Only create Windows 8 Touch smart bookmark once a user has intialized their Metro bookmark list. r=mbrubeck, r=mak77 2014-03-10 12:53:19 -04:00
Gian-Carlo Pascutto
452e75f96c Bug 971240 - Move phishing/malware test pages to their own domain. r=mmc 2014-03-07 19:12:23 +01:00
Marina Samuel
75f1b40913 Bug 950174: Part 2: Form data and scroll position save and restore. r=mbrubeck 2014-02-19 11:28:04 -05:00
Marina Samuel
e7b1974dc1 Bug 872206 - Part 2 -Use CrashMonitor to identify crashes in Metro for sending a SHUTDOWN_OK telemetry probe. r=mbrubeck 2014-02-12 12:59:16 -05:00
Marina Samuel
c9c70d42a6 Bug 855930 - Add telemetry for max and current number of tabs. r=sfoster 2014-02-11 14:00:19 -05:00
Alfredo Yang
3853c6783a Bug 853356 - gUM video permisson prompt. r=fabrice, felipc, wjohnston, mrbkap, jimm, jesup, khuey, jsmith 2014-02-09 15:34:40 -05:00
YFdyh000
869a3e3be0 Bug 961177 (followup) - Add missing 'let' to variable declaration [r=mbrubeck] 2014-02-07 09:41:10 -08:00
Allison Naaktgeboren
c941ae59f0 Bug 961177 - Given argument incorrect for alertDownloadSave2. r=mbrubeck 2014-02-05 17:15:06 -05:00
Matt Brubeck
ca3c02cbb6 Bug 952259 - Tests for Metro SessionStore.getBrowserState [r=msamuel] 2014-01-28 15:24:52 -08:00
Matt Brubeck
6af0ea2a73 Bug 962212 (part 2) - Basic private browsing in Metro, preffed off [r=ally] 2014-01-27 15:42:50 -08:00
Sam Foster
3d912e3aff Bug 960740 - skip writing session state data if it fails sanity check. r=msamuel 2014-01-23 16:58:33 -08:00
Marina Samuel
72347ed5ba Bug 959396 - Init WindowsPrefSync sooner and populate _orderedWindows even when not restoring. r=tabraldes 2014-01-23 13:34:27 -08:00
Allison Naaktgeboren
93ba216dd7 Bug 961177 - Given argument incorrect for alertDownloadSave2. r=mbrubeck 2014-01-23 09:42:59 -05:00
Marina Samuel
5197f302ab Bug 958170: Check selectedWindow exists before using it. r=mbrubeck 2014-01-15 15:34:55 -05:00
Rodrigo Silveira
e8462c0479 Bug 956741 - Load first run on start page for the first 3 tabs r=mbrubeck 2014-01-09 14:02:47 -08:00
Matt Brubeck
ef75a67658 Bug 958166 - Fix error saving tabs from other groups to session store [r=emtwo] 2014-01-09 12:13:12 -08:00
Marina Samuel
7041cdfabd Bug 956368: Keep track of tab groups when switching to Metro and only switch over tabs from the current group. r=mbrubeck 2014-01-08 13:32:38 -05:00
Tim Abraldes
920887ea39 Bug 850372 - Delete session store backup during process suspend so that termination-from-suspended-state is treated as a normal shutdown. r=mbrubeck 2013-12-19 11:32:12 -05:00
Marina Samuel
8a328858c6 Bug 920236 - Add a pref to display a page on first run after install/upgrade r=mbrubeck 2013-12-13 13:42:02 -08:00
Marina Samuel
414f242156 Bug 950159: Save state of other desktop windows to be restored when switching back from Metro. r=mbrubeck 2013-12-18 14:20:39 -05:00
Matt Brubeck
ed00d7e3b8 Bug 949333 - Make Metro prompt service work for Master Password [r=TimAbraldes] 2013-12-16 10:15:09 -08:00
Marina Samuel
09d718827a Bug 949612: Restore closed tabs data on startup and adjust json format to match desktop. r=mbrubeck 2013-12-12 16:59:42 -05:00
Marina Samuel
4fd613f1e0 Bug 948983: Make about:newtab the start page with about:home and about:start as aliases and save all as about:newtab in sessionstore. r=mbrubeck 2013-12-12 15:55:31 -05:00
Randell Jesup
c73f788f82 Bug 853356: backout p1 2013-12-10 01:00:18 -05:00
Carsten "Tomcat" Book
58d1429d0f merge b2g-inbound to m-c 2013-12-08 12:23:13 +01:00
Tim Abraldes
2a9ecbc879 bug 903426. Implement crash reporter prompt as an about page. Add options for including URLs in crash reports. r=mbrubeck,jimm 2013-12-07 15:55:14 -08:00
Alfredo Yang
c4c617f113 Bug 853356 - Part1 Add new permissions and prompt for mutiple permissions request. r=fabrice, felipc, wjohnston, mrbkap, jimm 2013-12-06 17:38:51 -05:00
Mike Hommey
26bc04d200 Bug 939044 - Rename remaining MODULE definitions to XPIDL_MODULE. r=mshal 2013-11-19 11:47:43 +09:00
Matt Brubeck
6224a46e78 Bug 936659 - Remove unused parameters for Browser.addTab [r=sfoster] 2013-11-08 15:44:01 -08:00
Reuben Morais
1d3b24a4d5 Backed out 4 changesets (bug 853356) for breaking permission prompts. 2013-11-06 01:32:42 -02:00
Alfredo Yang
af01190bbc Bug 853356 - Part1 Add new permissions and prompt for mutiple permissions request. r=fabrice, felipc, wjohnston, mrbkap, jimm 2013-11-05 16:29:27 +08:00
Kan-Ru Chen (陳侃如)
3b2be7096b Backout 3903cb4b779f 2013-11-05 15:00:31 +08:00
Alfredo Yang
0d61f474ce Bug 853356 - Part1 Add new permissions and prompt for mutiple permissions request. r=fabrice, felipc, wjohnston, mrbkap, jimm 2013-11-05 14:05:52 +08:00
Matt Brubeck
bf394296f5 Bug 928201 - Change Run to Open in Metro download bar [r=emtwo] 2013-11-01 16:10:49 -07:00
Raymond Lee
77d71a2319 Bug 931777 - Use Downloads.jsm functions to get download directories in Firefox for Metro r=msamuel 2013-11-02 01:49:12 +08:00
Gijs Kruitbosch
75143f25bb Backed out changeset c672c4cd6c7f (bug 928201) for mochitest-mc purply-bustage, rs=bustage on a CLOSED TREE 2013-11-02 14:07:23 +01:00
Matt Brubeck
10ce495a44 Bug 928201 - Change Run to Open in Metro download bar [r=emtwo] 2013-11-01 16:10:49 -07:00
Doug Turner
951d114a44 Backing out 7fe2c77ebbf2 2013-10-31 20:25:03 -07:00
Alfredo Yang
4317439507 Bug 853356 - Part 1: Add new permissions and prompt for mutiple permissions request. r=fabrice, felipc, wjohnston, mrbkap, jimm 2013-10-26 21:19:32 -04:00
Mike Hommey
59a17d0f20 Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Makoto Kato
f6a8ad20c1 Bug 919929 - AlertsService for Metro should send alertshow and alertfinished observer. r=jimm 2013-10-09 11:15:41 +09:00
Matt Brubeck
0aa375784e Bug 923828 - Show the Metro download button only during downloads [r=emtwo] 2013-10-08 08:27:07 -07:00
Matt Brubeck
e34b965bf4 Bug 922075 - Back out HelperAppDialog changes from 63fc2fe63f0d (bug 875731) because of broken downloads 2013-09-30 19:29:09 -07:00
Raymond Lee
f2a7fce4e8 Bug 875731 - Replace callers of nsIDownloadManager.usersDownloadsDirectory with Downloads.getUserDownloadsDirectory in browser/metro/. r=mbrubeck 2013-09-23 13:10:38 +08:00
Marina Samuel
c65775caf0 Bug 904702 - Toggle download-progress notifications. r=mbrubeck 2013-09-19 13:55:54 -04:00
Brian R. Bondy
ba3bbe287d Bug 910597 - Downloaded amount is always reported as unknown size. r=mbrubeck 2013-09-17 07:04:01 -07:00
Sam Foster
2b008e1e0d Bug 893763 - Notify of resuming downloads at startup. r=mbrubeck 2013-09-09 17:20:51 -07:00
Matt Brubeck
bff32d823c Bug 909019 - Rename and simplify BrowserUI new tab API [r=ally] 2013-09-05 17:40:17 -07:00