Commit Graph

216 Commits

Author SHA1 Message Date
Paolo Amadini
a14291b5ec Bug 1023402 - API review for OS.File.setPermissions. r=Yoric 2014-07-09 14:26:41 +01:00
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
Benoit Jacob
029e0e533d Bug 1028588 - Fix dangerous public destructors in toolkit/ - r=ehsan 2014-06-23 18:40:02 -04:00
Zack Weinberg
3206700a25 Bug 961080: apply umask upon completion of downloads. r=amadini 2014-06-20 19:54:06 -04:00
Paolo Amadini
14dd343f32 Bug 983197 - Test that downloads fail with an HTTP/1.1 response shorter than the Content-Length. r=enn 2014-03-13 09:08:00 +00:00
Ghislain 'Aus' Lacroix
29a9bf0450 bug 983747 - Add 'download' method to Browser API r=kanru,paolo 2014-06-09 10:51:25 -07:00
Ghislain 'Aus' Lacroix
29995590a5 Backed out changeset ceb784b90138 2014-06-09 08:51:16 -07:00
Ghislain 'Aus' Lacroix
2e0f9afb51 bug 983747 - Add 'download' method to Browser API r=kanru,paolo 2014-06-09 08:34:54 -07:00
Monica Chew
aeda299594 Bug 1011799: Integrate nsIRedirectChannel redirects into application reputation check 2014-05-28 16:06:21 -07:00
David Rajchenbach-Teller
fcb4bae158 Bug 1010277 - Fixed uncaught async error in test_DownloadImport.js. r=paolo 2014-05-14 08:39:00 +02:00
Masatoshi Kimura
c9532f8ab2 Bug 1008778 - Respect Security Zone settings when the download manager marks a downloaded file. r=paolo 2014-05-15 06:58:35 +09:00
Hansu Kim
ae09d5509d Bug 991977 - Ensure volume is mounted before starting download. r=dhylands 2014-04-23 17:50:00 -04:00
Birunthan Mohanathas
eeb9aaaa94 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
David Rajchenbach-Teller
9b431d8582 Bug 991038 - Uncaught async error in DownloadIntegration.jsm. r=paolo 2014-04-03 11:01:07 -04:00
Paolo Amadini
eb2124c3b9 Bug 941317 - Switch Downloads.jsm to use Promise.jsm. r=enn 2014-03-17 15:58:44 +01:00
Monica Chew
7abbbfdc32 Bug 977236 - Use referrer for application reputation checks. r=gcp 2014-03-12 20:31:51 -07:00
Paolo Amadini
885de9eafb Bug 929067 - Canceling a download from the Downloads Panel sometimes pauses it instead. r=enn 2014-03-11 15:50:46 +01:00
Paolo Amadini
0288dc020e Bug 941726 - Prevent DownloadLegacy from keeping a reference to the network request after the download is stopped. r=enn 2014-03-11 15:50:46 +01:00
Alexandre Lissy
c6b8656641 Bug 973637 - Avoid crash at shutdown during make package. r=paolo 2014-02-17 17:00:36 +01:00
Gregory Szorc
dffb8830ba Bug 969021 - Part 1: Consolidate moz.build data into parent moz.build files; r=ted
Many moz.build files define things that could be defined in parent
moz.build files. Keeping the number of moz.build files low helps with
build times due to less I/O and fewer directories traversed.

This patch eliminates a lot of moz.build files by moving their content
into parent moz.build files.
2014-02-06 13:00:20 -08:00
Monica Chew
0e414605b1 Bug 928536: Integrate signature verification info into application reputation call in download manager (r=paolo) 2014-01-27 13:39:00 -08:00
Phil Ringnalda
d5fec3f193 Backed out 3 changesets (bug 928536) for build bustage
CLOSED TREE

Backed out changeset 750054102e68 (bug 928536)
Backed out changeset baa309383864 (bug 928536)
Backed out changeset 1ff2aed7f76f (bug 928536)
2014-02-05 08:29:17 -08:00
Monica Chew
6a36540abe Bug 928536: Integrate signature verification info into application reputation call in download manager (r=paolo) 2014-01-27 13:39:00 -08:00
Roberto A. Vitillo
a4e7d726ef Bug 960966 - Remove TelemetryPing.js from telemetry. r=Yoric, r=BenWa 2014-01-22 11:43:26 +00:00
Masatoshi Kimura
aa8a24772a Bug 952961 - Remove our own executable check and pref check, and added a regitry check when downloading a file. r=paolo 2014-01-12 17:05:28 +09:00
Andy Wingo
5d16730b2c Bug 945828 - Work around bug 945756. r=luke 2013-12-03 19:04:25 +01:00
Ryan VanderMeulen
5c42801d6d Backed out changeset 4cbb184bf6cb (bug 945828) for Linux64 debug xpcshell crashes. 2013-12-03 18:10:33 -05:00
Ryan VanderMeulen
1a47dd2956 Merge m-c to inbound. 2013-12-03 17:42:20 -05:00
Andy Wingo
dea2390daf Bug 945828 - Work around bug 945756. r=luke 2013-12-03 19:04:25 +01:00
Paolo Amadini
4dea93d14a Bug 940408 - Rework DeferredTask to allow asynchronous tasks and support AsyncShutdown. r=Mossop 2013-12-03 13:21:08 +01:00
Carsten "Tomcat" Book
2bf6897b4f Backed out changeset 295b75fac0c8 (bug 940408) for test failures in B2g Desktop Linux & B2G ICS Emulator Opt 2013-12-03 12:53:27 +01:00
Carsten "Tomcat" Book
ecf39022e4 Backed out changeset 1e8f83c69e80 (bug 941317) for test failures in B2g Desktop Linux & B2G ICS Emulator Opt 2013-12-03 12:53:17 +01:00
Carsten "Tomcat" Book
920b67e727 Backed out changeset bc9014b4439a (bug 929067) for test failures in B2g Desktop Linux & B2G ICS Emulator Opt 2013-12-03 12:53:08 +01:00
Carsten "Tomcat" Book
704804d953 Backed out changeset f785bf2e2c51 (bug 941726) for test failures in B2g Desktop Linux & B2G ICS Emulator Opt 2013-12-03 12:52:49 +01:00
Carsten "Tomcat" Book
d297540e4b Merge m-c to fx-team 2013-12-03 10:44:31 +01:00
Paolo Amadini
12dba6f7b6 Bug 941726 - Prevent DownloadLegacy from keeping a reference to the network request after the download is stopped. r=enn 2013-12-03 10:15:22 +01:00
Paolo Amadini
3c4478240d Bug 929067 - Canceling a download from the Downloads Panel sometimes pauses it instead. r=enn 2013-12-03 10:15:22 +01:00
Paolo Amadini
d5b370ff84 Bug 941317 - Switch Downloads.jsm to use Promise.jsm. r=enn 2013-12-03 10:15:22 +01:00
Paolo Amadini
710801e1b0 Bug 940408 - Rework DeferredTask to allow asynchronous tasks and support AsyncShutdown. r=Mossop 2013-12-03 10:15:22 +01:00
Mike Hommey
3a2a616666 Bug 943728 - Convert several resource install using double quotes to INSTALL_TARGETS and editor/libeditor/html/tests to mochitest manifest. r=gps,r=mshal 2013-12-03 06:34:21 +09:00
Carsten "Tomcat" Book
53a8e76c3b Merge m-c to b2g-inbound 2013-11-28 14:48:55 +01:00
Fabrice Desré
cb3ccb6fa9 Bug 938023 - Implement the download API : Part 2, implementation. r=auswerk 2013-11-27 23:18:08 -08:00
Felipe Gomes
bb07be877f Bug 941099 - Default application handler is not correctly used when an alternate app handler exists. r=paolo 2013-11-28 00:57:05 -02:00
Chris Kitching
69fdb42135 Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats 2013-11-12 10:41:01 -08:00
Ryan VanderMeulen
4501219603 Backed out 7 changesets (bug 913985) for intermittent Android crashes.
Backed out changeset 53513a959cf0 (bug 913985)
Backed out changeset d23d1e678417 (bug 913985)
Backed out changeset a9c9187b4f4a (bug 913985)
Backed out changeset c6b02e4a3e35 (bug 913985)
Backed out changeset 895dae322e3c (bug 913985)
Backed out changeset 3d97e6a53313 (bug 913985)
Backed out changeset 892bb017f8ba (bug 913985)
2013-11-19 10:56:09 -05:00
Chris Kitching
e115439e46 Bug 913985 - Part 5: refactor the Bridge to use the generated code. r=kats 2013-11-12 10:41:01 -08:00
Mike Hommey
97a38484da Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
06e3b30661 Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
210ee1b972 Bug 939044 - Rename remaining MODULE definitions to XPIDL_MODULE. r=mshal 2013-11-19 11:47:43 +09:00
Mike Hommey
7f7e4faac1 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00