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
Nick Fitzgerald
f79fcccd5f
Bug 1000967 - Add source notes for |new| expression and function calls to improve source maps and debugging. r=ejpbruel
2014-06-20 13:09:00 -04:00
Michael Brennan
98148b703a
Bug 939072: Auto-close Sqlite connections on finalization; r=Yoric
...
--HG--
extra : rebase_source : 07a2987082723c20b75667615a2d04e497d31f9a
2014-06-11 23:40:17 +02:00
Michael Brennan
a6cd893d51
Bug 939072: Refactor Sqlite connections to support finalization; r=Yoric
...
--HG--
extra : rebase_source : 2171ab3b3f7cf654ccc37865f5def9fc7f133e3c
2014-06-11 23:40:06 +02:00
Ed Morley
ff723affc4
Merge latest green fx-team changeset and mozilla-central; a=merge
2014-06-19 15:59:56 +01:00
David Rajchenbach-Teller
55ed50c27f
Bug 1027033 - AsyncShutdown errors should cause test failures but should not break AsyncShutdown. r=froydnj
2014-06-18 05:40:00 -04:00
Birunthan Mohanathas
ec8396a564
Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin
2014-06-18 17:56:02 -07:00
David Rajchenbach-Teller
2d13fbc16d
Bug 1010518 - Maintaining stack information through Task.jsm. r=paolo
2014-06-09 13:27:00 +02:00
Bernardo P. Rittmeyer
9b1437e391
Bug 804430 - Add list of whitelisted locked prefs to about:support. r=Unfocused
2014-06-10 10:49:00 -04:00
Drew Willcoxon
b94f908d93
Bug 1013051 - Fix "Comparable link missing required property: frecency" error. r=ttaubert
2014-06-10 10:34:20 -07:00
Ed Lee
55480a23b3
Bug 975235 - Send click pings for Directory Tiles (including which link, tile, other metadata) [r=adw]
...
Send a ping from the DirectoryLinks module on various click actions from newtab page.
2014-06-09 22:03:23 -07:00
Gijs Kruitbosch
512849a7ab
Bug 1016419 - implement showing lwt in customization mode, r=mconley,jaws
2014-06-02 21:59:38 +01:00
Tim Taubert
c7b1cf5924
Backed out changeset 84a0967ba12d (bug 804430)
2014-06-08 08:28:05 +02:00
Bernardo P. Rittmeyer
27ba2c13df
Bug 804430 - Added list of whitelisted locked prefs to about:support. r=Unfocused
2014-06-05 02:47:00 +12:00
David Rajchenbach-Teller
9bfe2ad5dd
Bug 1022198 - AsyncShutdown.jsm typo fix. r=yoric
2014-06-07 10:21:00 -04:00
Maxim Zhilyaev
17997f9c38
Bug 995806 - test_DirectoryLinksProvider.js xpcshell test makes tcp connection to example.com [r=mcmanus]
...
Point to localhost instead of nosuchhost for tests.
2014-06-06 11:02:55 -07:00
Ed Lee
b1947e1117
Bug 1019298 - Use Telemetry to count which directory links were shown in which tile position [r=adw f=gfritzsche]
...
Remember the directory index and trigger the telemetry probe for link0-8 and tile0-8.
2014-06-05 00:29:51 -07:00
David Rajchenbach-Teller
76baae5b1b
Bug 1018895 - Make AsyncShutdown output easier to parse by TBPL. r=froydnj, r=edmorley
2014-06-03 01:14:00 -04:00
Maxim Zhilyaev
7fd4ed340b
Bug 993906 - Package and send appropriate data with remotely hosted links request [r=adw]
...
Save a copy of the directory links count to send with the links request.
2014-06-02 09:14:08 -07:00
Gijs Kruitbosch
5f4648d31d
Bug 1016582 - pin new back/fwd/refresh/stop/star group at the top of the context menu, r=jaws
...
--HG--
extra : rebase_source : 26b6555b405e247daab91317ac9bed284fb7fb63
2014-05-29 12:08:32 +01:00
David Rajchenbach-Teller
304bcf36bb
Bug 1014473 - Trivial code cleanup on AsyncShutdown. r=froydnj
2014-05-27 14:21:00 -04:00
Maxim Zhilyaev
cfcba2c759
Bug 993904 - Use cached directory links instead of locally packaged links [r=adw]
...
Read in the local file instead of fetching the packaged file.
2014-05-27 13:59:34 -07:00
Maxim Zhilyaev
6fac9f5dc0
Bug 993901 - Implement logic to decide when to fetch remotely hosted links [r=adw]
...
Download links file if it's been a day on init, new tab load, or pref change.
2014-05-27 13:59:33 -07:00
Wes Kocher
c48da415e3
Backed out changeset 94eef72cb9b7 (bug 993901) for causing OSX bc1 to frequently fail in browser_tabopen_reflows.js
2014-05-28 17:00:32 -07:00
Wes Kocher
d09429c2f2
Backed out changeset 9e93a0ac18a0 (bug 993904) for depending on 94eef72cb9b7, which I'm about to back out for bustage
2014-05-28 16:59:30 -07:00
Maxim Zhilyaev
16e62f553f
Bug 993904 - Use cached directory links instead of locally packaged links [r=adw]
...
Read in the local file instead of fetching the packaged file.
2014-05-27 13:59:34 -07:00
Maxim Zhilyaev
5163163b9f
Bug 993901 - Implement logic to decide when to fetch remotely hosted links [r=adw]
...
Download links file if it's been a day on init, new tab load, or pref change.
2014-05-27 13:59:33 -07:00
David Rajchenbach-Teller
050a7e0346
Bug 1014473 - Fix AsyncShutdown warning. r=froydnj
2014-05-22 02:53:00 -04:00
Chris Manchester
c76f1bbd0a
Bug 997364 - Make fileAppender chain promises on file creation.; r=irving
2014-05-16 19:45:04 -04:00
Adam Dane [:hobophobe]
c5d02a1e51
Bug 1008450 - Bail on _findIterator when we lack a body node. r=mikedeboer
2014-05-14 15:16:03 -05:00
David Rajchenbach-Teller
d301f49278
Bug 985655 - Sphinx documentation for AsyncShutdown. r=ted, r=froydnj
2014-05-12 13:01:00 -04:00
David Rajchenbach-Teller
90313dccd9
Bug 985655 - Ensure that Sqlite.jsm doesn't shutdown before its clients. r=mak
2014-05-13 01:00:00 -04:00
David Rajchenbach-Teller
ea17d052ae
Bug 985655 - Split AsyncShutdown's mechanism into a lightweight Barrier (that doesn't spin the event loop and doesn't cause crashes) and a heavyweight Spinner (that does). Also, exposing Barrier so as to let services expose lightweight shutdown dependencies without having to spin the event loop. r=froydnj, sr=bsmedberg
2014-05-12 12:44:00 -04:00
Marina Samuel
54da69ed86
Bug 986521 - Fetch Directory Links data from a network location to cache locally. r=adw
2014-05-09 11:24:30 -04:00
Ryan VanderMeulen
47351cb9f9
Merge fx-team to m-c.
2014-05-08 16:04:26 -04:00
Dave Huseby
5c4d7906b9
Bug 972075 - Add profile markers from browser element event synthesis. r=BenWa, r=vingtetun
2014-05-05 16:41:00 -04:00
Mike de Boer
e6e73a8258
Bug 947344: add more shortcut tooltip and label helpers where possible. r=mconley.
2014-05-08 11:14:20 +02:00
David Rajchenbach-Teller
985067ff31
Bug 994951 - Activate OS.File xpcshell tests on B2G. r=froydnj
2014-05-05 06:53:00 -04:00
Asaf Romano
d78e31bbd3
Bug 981689 - Show a notice to beta users when we turn telemetry on by default on the beta channel - Firefox Desktop (very final fix). r=bsmedberg.
2014-05-06 10:15:20 +03:00
Mike de Boer
8377244319
Bug 257061: adding a counter of found matches to the find in page bar. r=Unfocused
2014-05-01 13:01:14 +02:00
Ed Morley
46f475aff4
Backed out changeset 8d131b6770d7 (bug 257061) for exceptions in findbar.xml
2014-05-01 11:45:32 +01:00
Mike de Boer
4855c9a48d
Bug 257061: adding a counter of found matches to the find in page bar. r=Unfocused.
2014-05-01 11:30:26 +02:00
Irving Reid
69a9e55be6
Bug 966674: #3 Add parameter substitution in log messages; r=gps,rnewman
2014-04-29 10:09:29 -04:00
Irving Reid
8797f73681
Bug 966674: #2 Move exceptionStr() and stackTrace() from utils.js to Log.jsm; r=gps,rnewman
2014-04-29 10:09:27 -04:00
Irving Reid
4232666be5
Bug 966674: #1 Clean up a couple of ReferenceErrors; r=gps
2014-04-29 10:09:25 -04:00
Asaf Romano
888a277a59
Bug 981689 (Show a notice to beta users when we turn telemetry on by default on the beta channel) - For the new channel-override preference, use UpdateChannel.jsm rather than nsIXULRuntime so that it's easier to QA the feature by hacking install.js. As part of that, add a new argument to UpdateChannel.js for excluding partners. r=bsmbedberg.
2014-04-28 17:04:51 +03:00
Ryan VanderMeulen
c6e96a2d96
Merge fx-team to m-c.
2014-04-16 22:29:41 -04:00
Gijs Kruitbosch
4d2c8a5901
Bug 996363 - order OS X cloverleaf symbol correctly in ShortcutUtils.jsm, r=Unfocused
...
--HG--
extra : rebase_source : e0adc6db828fa66f879dec58ab0bbb370f3512ee
2014-04-16 13:23:19 +01:00
Ryan VanderMeulen
eeb2349619
Merge m-c to fx-team.
2014-04-15 23:28:51 -04:00
Ed Lee
893190ba16
Bug 991210 - [new tab page] Tiles are sometimes arranged all in a single line (wrapping as appropriate, e.g. to two lines with 5 items and then 4 items), instead of 3x3 grid [r=adw]
...
Always Grid_init before "load", defer size calculation to "load", and only wait for links cache for site rendering. Clean up timers triggered from previous tests to avoid unexpected updates.
--HG--
extra : rebase_source : aba79dc12fd3660c50d8004197a6b2f5a23419cb
2014-04-15 12:14:09 -07:00