Commit Graph

440 Commits

Author SHA1 Message Date
Walter Litwinczyk
324cfd1c23 Bug 701948 - Rename nsIGfxInfo::FEATURE_NO_INFO to nsIGfxInfo::FEATURE_STATUS_OK. r=jgilbert 2014-07-01 14:44:09 -07:00
Paolo Amadini
7436cbb7de Bug 1030714 - Clarify that unhandled rejections indicate an issue with the code. r=Yoric 2014-06-26 13:40:12 +01:00
David Rajchenbach-Teller
a82c78cd53 Bug 1023787 - Make Task.jsm stack rewriting play nicely with xpcshell and mochi tests. r=paolo, r=mikedeboer 2014-06-20 14:23:00 -04:00
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
Manish Goregaokar
dfd5b80652 Bug 978857 - Create Battery.jsm. r=Yoric 2014-07-01 05:50:00 +02: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
David Rajchenbach-Teller
e44d8d0788 Bug 995198 - Promise Debugging API. r=paolo 2014-04-15 12:51:19 -04:00
Martin Stransky
46d13e6899 Bug 983843 - Use toolkit drag & drop functions for Gtk3 too. r=karlt 2014-04-16 10:29:39 -04:00
Paolo Amadini
cb677e7a33 Bug 887923 - Switch Task.jsm from promise.js to Promise.jsm. r=mano 2013-06-27 11:34:21 -07:00
Olivier Yiptong
9efab45b6a Bug 992327 - Change directoryLinks and NewTabUtils to imageURI instead of imageURISpec [r=adw]
Replace reference data and uses of s/Spec//.
2014-04-08 17:02:24 -07:00
Ryan VanderMeulen
fe0ec6cc66 Merge inbound to m-c. 2014-04-08 18:17:58 -04:00
Marco Bonardo
628fd219c7 Bug 991682 - Sqlite.jsm API to clone an open db connection. r=Yoric 2014-04-08 14:09:26 +02:00
Florian Quèze
977fb4f101 Bug 991202 - The event callback of popup notifications should have a way to prevent the panel from showing, r=felipe.
--HG--
extra : rebase_source : 3005a199a081d8cc9aa803c0f7d6e426d8af03a0
2014-04-07 19:37:50 +02:00
Mark Hammond
cd2c8e6c5b Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted. 2014-04-02 10:53:55 +11:00
Ed Morley
4dbb994ef5 Backed out changeset 8b2f6ad94248 (bug 887923) for turning Windows mochitest-browser-chrome orange 2014-03-31 18:09:30 +01:00
Carsten "Tomcat" Book
a99b75244f Merge m-c to mozilla-inbound 2014-04-08 15:39:46 +02:00
Neil Deakin
16437e7796 Bug 610545, fix tests to disable arrow panel transitions to speed them up and fix mouse targetting issues, r=felipe 2014-04-08 08:45:52 -04:00
Paolo Amadini
8e98a19eee Bug 887923 - Switch Task.jsm from promise.js to Promise.jsm. r=mano 2013-06-27 11:34:21 -07:00
Brandon Benvie
d6a3dc6ce0 Bug 941920 - Implement full Promise API in Promise.jsm. r=paolo 2014-03-31 14:43:07 +02:00
Ed Lee
8974c496ed Bug 972930 - Clicks (raw number) for tiles [r=adw]
Provide an array of expected directory link types to count how many were clicked.
2014-03-31 01:51:22 -07:00
Olivier Yiptong
bc6bf45892 Bug 975228 - Create logic to merge frecency-pages and Tiles (Tile equiv 1000 frecency) [r=adw]
Use DirectoryLinksProvider for Firefox and make PlacesProvider match in expected Links format.
Make sure there's at least 2 of each type so Telemetry doesn't know for sure which links were used.
2014-03-31 01:51:21 -07:00
Drew Willcoxon
26f1679c90 Bug 911307 - Reflect changes to top sites immediately in about:newtab (part 2, front-end patch). r=ttaubert 2014-03-28 23:31:05 -07:00
Phil Ringnalda
b9b8a97985 Back out 43663582cfdb (bug 987404) because it looks like it disabled things even without e10s being defined 2014-03-30 23:18:57 -07:00
Mark Hammond
555f838434 Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted. 2014-03-31 14:11:49 +11:00
Phil Ringnalda
4f4a41f2dc Back out ab12037022ef:81f65b2f3d07 (bug 911307) for intermittent Win8 debug failures in its browser_newtab_update.js
CLOSED TREE
2014-03-30 12:42:09 -07:00
Drew Willcoxon
a1b2c46dee Bug 911307 - Reflect changes to top sites immediately in about:newtab (part 2, front-end patch). r=ttaubert 2014-03-28 23:31:05 -07:00
Gregory Szorc
4198e2c13b Bug 989137 - Part 3: Log.jsm API to get a Logger that prefixes messages; r=bsmedberg
A common pattern for logging is to have multiple loggers for multiple
underlying object instances. You often want to have each instance attach
some identifying metdata contained in each logged message. This patch
provides an API to facilitate that.

--HG--
extra : rebase_source : 5816e0671c78f55cca45bdd1aed52c85695945c4
2014-03-28 11:36:37 -07:00
Phil Ringnalda
9fb4d14a71 Backed out 2 changesets (bug 911307) for frequent timeouts in browser_newtab_perwindow_private_browsing.js
Backed out changeset 70638b7c97f1 (bug 911307)
Backed out changeset 3951f7e82b4c (bug 911307)
2014-03-29 12:13:11 -07:00
Drew Willcoxon
bd71d42305 Bug 911307 - Reflect changes to top sites immediately in about:newtab (part 2, front-end patch). r=ttaubert 2014-03-28 23:31:05 -07:00
Olivier Yiptong
9bf23741ca Bug 975211 - Create backend logic to provide list of Tiles and associated metadata (image, text, background color) [r=adw]
Package a list of directory links to expose via DirectoryLinksProvider.jsm
2014-03-27 01:03:42 -07:00
Marco Bonardo
31eb1ae673 Bug 983571 - browser.bookmarks.autoExportHTML = true no longer works. r=Yoric 2014-03-25 17:25:58 +01:00
Paolo Amadini
e1abd4eded Bug 986364 - Convert to Promise.jsm in the Toolkit "modules" folder. r=mak 2014-03-24 15:47:50 +01:00
Paolo Amadini
1f62e330c3 Bug 973239 - Promise should call executor and handlers with "undefined" as thisArg. r=benvie 2014-03-24 15:44:11 +01:00
Marco Bonardo
9bd8bc602c Backout 0469cf95fbfe (bug 983571) cause didn't mean to land it yet. 2014-03-22 15:43:20 +01:00
Marco Bonardo
f2ab276e4d Bug 983571 - browser.bookmarks.autoExportHTML = true no longer works. r=Yoric 2014-03-22 14:26:52 +01:00
Carsten "Tomcat" Book
42f261e57f Merge mozilla-central to fx-team 2014-03-21 15:35:37 +01:00
Boris Zbarsky
b138bfaeec Bug 980962. Fix in-tree consumers to not construct typed arrays without "new". r=jorendorff 2014-03-20 23:19:42 -04:00
Jared Wein
89c0580e77 Bug 940393 - Win8: Text color on inactive tabs makes text very hard to read. r=gijs
--HG--
extra : rebase_source : 03e07612be960c1b3a961e065404034ae0db5ce1
2014-03-20 20:23:36 -04:00
Matthew Noorenberghe
83652b3eef Bug 885139 - Notify consumers about LWT optimization and listen for it in LightweightThemeListener. r=jaws
[Australis]
2014-03-20 13:55:49 -07:00
Benjamin Smedberg
a3b303bcf2 Fix the test for bug 981842 to expect the new data on a CLOSED TREE. 2014-03-20 13:50:05 -04:00
Gregg Lind
8d8727e145 Bug 981842 - Show details about current and past teleemtry experiments in about:support, r=bsmedberg 2014-03-20 11:19:19 -04:00
Bill McCloskey
4745f6462b Bug 917681 - [e10s] Make context menu work for selected text (r=felipe) 2014-03-14 11:47:46 -07:00
Bill McCloskey
aa5f40a77e Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 21:38:19 -07:00
Ryan VanderMeulen
f40898828c Merge m-c to fx-team. 2014-03-13 15:37:02 -04:00
Vaibhav Agarwal
74d0d984a3 Bug 971132 - B2G mochitests should use the new manifest format for runtests; r=jmaher 2014-03-13 10:40:10 -04:00
Brandon Benvie
660db90274 Bug 943512 - Stubify Promise.jsm so it can be used in the devtools debugger server. r=paolo
--HG--
rename : toolkit/modules/Promise.jsm => toolkit/modules/Promise-backend.js
2014-03-05 10:39:19 -08:00
Carsten "Tomcat" Book
fc2f11e1f9 merge fx-team to mozilla-central 2014-03-12 12:19:49 +01:00
Bill McCloskey
a1cffdcdf6 Bug 980766 - [e10s] Send document content type to remote-browser.xml (r=felipe) 2014-03-11 20:13:41 -07:00
Jan Keromnes
568db05ae8 Bug 974498 - Refactor XPIProvider's private zip utilities into a ZipUtils.jsm. r=Mossop 2014-03-11 17:01:29 -04:00
Ryan VanderMeulen
af3b3619c0 Backed out changeset 1c3076666191 (bug 943512) for Gaia UI test bustage. 2014-03-12 15:23:48 -04:00
Brandon Benvie
cbc32daac3 Bug 943512 - Stubify Promise.jsm so it can be used in the devtools debugger server. r=paolo
--HG--
rename : toolkit/modules/Promise.jsm => toolkit/modules/Promise-backend.js
2014-03-12 18:49:43 +01:00
Wes Kocher
5ae3b29a8b Unbacked out changeset 19fe1e621c5c (bug 966182) because it didn't actually introduce the new hazard. 2014-03-05 20:45:55 -08:00