Commit Graph

172 Commits

Author SHA1 Message Date
Kartikaya Gupta
ebe4a3e37e Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong 2015-04-23 15:10:30 -04:00
Andrea Marchesini
18b38ad706 Bug 1156632 - Remove unused forward class declarations - patch 4 - netwerk image and dom, r=ehsan 2015-04-22 08:29:20 +02:00
Ganesh Sahukari
ebe8092b28 Bug 1009465 - Set the read-only attribute for temporary downloads on Windows. r=paolo 2015-04-01 23:43:28 +05:30
Jan Beich
f8d9ac731b Bug 1147845 - Drop redundant check to keep blocked download data on Tier3 platforms as well. r=jaws 2015-04-01 08:27:00 +02:00
Aime Galmi
60ced7a657 Bug 1132213 - Remove newChannel2 and asyncFetch2 calls in the "jsdownloads" folder. r=paolo 2015-03-22 01:38:01 +01:00
Margaret Leibovic
e27ed6c68a Bug 1141550 - (Part 2) Add missing import. r=me 2015-03-16 15:57:49 -07:00
Margaret Leibovic
a1ffeb9b69 Bug 1141550 - Register an AsyncShutdown blocker to persist download changes. r=paolo 2015-03-16 14:40:00 -07:00
Jared Wein
c135232ed1 Bug 1137909 - part 1: blocked downloads should keep data. r=paolo 2015-03-05 12:25:41 -05:00
Paolo Amadini
d16d2efda7 Bug 1114624 - Don't register the legacy nsIDownloadManager implementation of nsITransfer by default anymore. r=mak,marco,margaret,fabrice 2015-02-05 11:19:01 +00:00
Christoph Kerschbaumer
f6968283d0 Bug 1125991 - Make JS callers of ios.newChannel call ios.newChannel2 in toolkit/components/jsdownloads (r=paolo) 2015-02-02 20:09:40 -08:00
Ganesh Sahukari
cb44781c29 Bug 1114637 - Don't display "Unix error 1 during operation setPermissions" when a download terminates on Firefox for Android. r=paolo 2015-01-14 21:06:00 +00:00
Jared Wein
ca23c36960 Bug 1115717 - Warning dialog when exiting Private Browsing with active downloads could be made less technical. r=paolo 2015-01-15 16:04:34 -05:00
Hiroyuki Ikezoe
99dc943858 Bug 941063 - Add a property to get the size of the downloads data written to disk. r=smacleod 2015-01-13 13:41:46 +00:00
Jim Chen
60b2a7d4b1 Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp 2015-01-09 19:33:57 -05:00
Steven MacLeod
0af8f0ab6b Bug 1068664 - Introduce API for downloads in a blocked state with file on disk. r=paolo
This new API allows consumers to call unblock() on the download if
they'd like to allow it. If they'd like to delete the blocked download's
partial data they may call confirmBlock(). Downloads also have a new
hasBlockedData property which will be true if the Download has blocked
data on disk.

DownloadIntegration now also allows for checking if handling downloads
in a blocked state is supported. As platforms support the new operations
on a blocked download they should update their implementation of this
check to keep the blocked download data on disk.

This also moves the reputation checking into the saver so it can happen
before moving the download to its final path - so we don't have possibly
dangerous files sitting around with their intended filename / extension.

If a Download did not use a part file and it fails the reputation check
we will always remove it to prevent dangerous files from existing with
their intended filename.
2014-12-08 16:31:03 -05:00
Wes Johnston
c3083aff70 Bug 901360 - (Part 3) Persist download history forever. r=paolo 2014-12-08 11:26:36 -08:00
Wes Johnston
39f3cd6d6a Bug 1063217 - Support a PDF DownloadSaver. r=paolo 2014-10-28 16:05:32 -07:00
Steven MacLeod
820d1e4940 Bug 1095506 - Clean up and rename kSerializableDownloadProperties. r=paolo 2014-11-10 20:58:20 -05:00
Steven MacLeod
9367611f98 Bug 1095506 - Serialize the error object when saving to the store. r=paolo
We now serialize the Download.error property when saving to the store so
that data about error conditions will survive a restart. This is
important for supporting blocked downloads with partial data that could
be unblocked.
2014-11-13 12:50:19 -05:00
Chris Peterson
9d7fef134d Bug 1095883 - Mark toolkit/components directories as FAIL_ON_WARNINGS. r=Mossop 2014-11-08 00:41:17 -08:00
Magnus Melin
f8110da23a Bug 1074793 - Set more restrictive permissions for downloads in the temporary directory. r=paolo 2014-11-02 15:15:43 +02:00
wesj
829714379a Bug 1070488 - Add files downloaded in private browsing to the Android Download Manager. r=paolo 2014-10-08 21:55:00 -07:00
Wes Johnston
291c164cc5 Bug 1070086 - Move download integration code to its own class. r=bnicholson 2014-10-20 12:24:49 -07:00
Dave Hylands
3bf2f293f2 Bug 1072535 - Pt 1 - Have DownloadDone notify device storage when a new download is available. r=paolo 2014-10-14 13:50:57 -07:00
Wes Johnston
defca3da11 Bug 816318 - Media scanner shouldn't run in private mode. r=mfinkle 2014-09-18 00:20:03 -07:00
Nathan Froyd
6c629636f0 Bug 1042878 - part 2 - move MOZ_CAIRO_CFLAGS et al additions to C*FLAGS into moz.build; r=glandium 2014-07-24 11:55:33 -04:00
Mike Hommey
ea36b79845 Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
Monica Chew
5be654a717 Bug 1038465: Fix bad merge to get rid of aSuggestedFilename (r=me) 2014-07-16 10:21:35 -07:00
Monica Chew
b36b5fe418 Bug 1038465: Pass suggested filename to application reputation query (r=paolo) 2014-07-15 13:46:52 -07:00
Ryan VanderMeulen
1c7ba51b02 Backed out changeset 7441f4dde492 (bug 1038465) for hitting the network during tests. 2014-07-15 13:28:55 -04:00
Monica Chew
eafe5cf2d9 Bug 1038465: Pass suggested filename to application reputation query (r=paolo) 2014-07-14 17:47:47 -07:00
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
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
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
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