Граф коммитов

203 Коммитов

Автор SHA1 Сообщение Дата
Paolo Amadini b4fb5f75ce Bug 1139942 - Define bug components for Downloads code. r=gps 2015-03-06 14:16:19 +00:00
Jared Wein e8a1e3e4ce Bug 1137909 - part 1: blocked downloads should keep data. r=paolo
--HG--
extra : rebase_source : 2cefb3f9b30f6044b61ce6a6c440f429979b91f1
2015-03-05 12:25:41 -05:00
Paolo Amadini c3952b24ed 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 b1de2face2 Bug 1125991 - Make JS callers of ios.newChannel call ios.newChannel2 in toolkit/components/jsdownloads - tests (r=paolo) 2015-02-02 20:10:07 -08:00
Christoph Kerschbaumer 5aac2fe0fc 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 f5fe5678d6 Bug 1114594 - Remove promptForSaveToFile in favor of promptForSaveToFileAsync. r=paolo 2015-01-27 16:07:20 -05:00
Ryan VanderMeulen 9148720ef2 Backed out changeset dd417504346b (bug 1114594) for crashes.
CLOSED TREE
2015-01-27 15:17:39 -05:00
Ganesh Sahukari a4f09b67d8 Bug 1114594 - Remove promptForSaveToFile in favor of promptForSaveToFileAsync. r=paolo 2015-01-20 10:11:00 +00:00
Carsten "Tomcat" Book 6f0263c8d9 Backed out changeset d34e894a9ea2 (bug 1114594) for xpcshell and m5 test failures 2015-01-26 15:01:16 +01:00
Ganesh Sahukari 27ef62b0d3 Bug 1114594 - Remove promptForSaveToFile in favor of promptForSaveToFileAsync. r=paolo 2015-01-20 10:11:00 +00:00
Tim Taubert 23ea5d2142 Bug 1113178 - Replace removeAllPages() in toolkit/components/jsdownloads/ r=mak 2015-01-17 19:05:31 +01:00
Ganesh Sahukari 99dfc07bdc 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 bf86aa7030 Bug 1115717 - Warning dialog when exiting Private Browsing with active downloads could be made less technical. r=paolo
--HG--
extra : rebase_source : eef8230916b779cb1bc7fb640ad68dc1123bfd2c
2015-01-15 16:04:34 -05:00
Hiroyuki Ikezoe c0a0f8e035 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 db34c64f29 Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp 2015-01-09 19:33:57 -05:00
Steven MacLeod cc8a4df022 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.

--HG--
extra : rebase_source : 519e3b4b98c8ccfc00039f35bd32e3143e39a5f8
2014-12-08 16:31:03 -05:00
Wes Johnston 7a53624f52 Bug 901360 - (Part 3) Persist download history forever. r=paolo
--HG--
extra : rebase_source : 694428b676809cf0a0c10a81d68e02183d11f780
2014-12-08 11:26:36 -08:00
Wes Johnston 6ceaddda93 Bug 1063217 - Support a PDF DownloadSaver. r=paolo 2014-10-28 16:05:32 -07:00
Sid Stamm 63f8cd4e13 Bug 704320 - Add referrer policy support for nsIWebBrowserPersist and its consumers. (r=jst) 2014-11-18 08:47:14 -05:00
Steven MacLeod 834b6be358 Bug 1095506 - Clean up and rename kSerializableDownloadProperties. r=paolo
--HG--
extra : rebase_source : 5062b40701f4ebcdadef6a60197e422de51ab119
2014-11-10 20:58:20 -05:00
Steven MacLeod 7052824f48 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.

--HG--
extra : rebase_source : 8edaff4ddc2efb056bf06e689c7abe6cba72eabf
2014-11-13 12:50:19 -05:00
Chris Peterson 74a96a4348 Bug 1095883 - Mark toolkit/components directories as FAIL_ON_WARNINGS. r=Mossop 2014-11-08 00:41:17 -08:00
Magnus Melin 0278ca314e Bug 1074793 - Set more restrictive permissions for downloads in the temporary directory. r=paolo 2014-11-02 15:15:43 +02:00
Patrick McManus 249f344902 bug 1088850 - disable http/1 framing enforcement from bug 237623 r=bagder 2014-10-24 16:19:40 -04:00
wesj 6f886c7e8c 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 887c937308 Bug 1070086 - Move download integration code to its own class. r=bnicholson 2014-10-20 12:24:49 -07:00
Dave Hylands 32cc7daac6 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
Andrew Halberstadt d292ee73f1 Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Wes Johnston d6640fc733 Bug 816318 - Media scanner shouldn't run in private mode. r=mfinkle 2014-09-18 00:20:03 -07:00
Shu-yu Guo 59ccd2fecb Bug 1001090 - Part 5: Fix errors in tests throughout the tree. (r=robcee,gavin) 2014-09-15 16:30:47 -07:00
Nathan Froyd 12c76f15f7 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
Nathan Froyd 4211fc3f7d Bug 1042903 - declare jsdownloads's xpcshell data in manifests; r=glandium 2014-07-23 15:40:45 -04:00
Mike Hommey bc5d6801bb 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 1ad5f28e43 Bug 1038465: Fix bad merge to get rid of aSuggestedFilename (r=me) 2014-07-16 10:21:35 -07:00
Monica Chew 64a5f4f2b1 Bug 1038465: Pass suggested filename to application reputation query (r=paolo) 2014-07-15 13:46:52 -07:00
Ryan VanderMeulen 50027ddc90 Backed out changeset 7441f4dde492 (bug 1038465) for hitting the network during tests. 2014-07-15 13:28:55 -04:00
Monica Chew a5f0c259e9 Bug 1038465: Pass suggested filename to application reputation query (r=paolo) 2014-07-14 17:47:47 -07:00
Paolo Amadini 1492e70b40 Bug 1023402 - API review for OS.File.setPermissions. r=Yoric
--HG--
rename : toolkit/components/osfile/tests/xpcshell/test_osfile_async_setPerms.js => toolkit/components/osfile/tests/xpcshell/test_osfile_async_setPermissions.js
2014-07-09 14:26:41 +01:00
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
Benoit Jacob 210693da34 Bug 1028588 - Fix dangerous public destructors in toolkit/ - r=ehsan 2014-06-23 18:40:02 -04:00
Zack Weinberg 03798e605a Bug 961080: apply umask upon completion of downloads. r=amadini 2014-06-20 19:54:06 -04:00
Paolo Amadini 8158d3f672 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 61f2295cd0 bug 983747 - Add 'download' method to Browser API r=kanru,paolo 2014-06-09 10:51:25 -07:00
Ghislain 'Aus' Lacroix 8bfe9a017a Backed out changeset ceb784b90138 2014-06-09 08:51:16 -07:00
Ghislain 'Aus' Lacroix 638f3872ab bug 983747 - Add 'download' method to Browser API r=kanru,paolo 2014-06-09 08:34:54 -07:00
Monica Chew aabd897512 Bug 1011799: Integrate nsIRedirectChannel redirects into application reputation check 2014-05-28 16:06:21 -07:00
David Rajchenbach-Teller 3f3ee01fa0 Bug 1010277 - Fixed uncaught async error in test_DownloadImport.js. r=paolo 2014-05-14 08:39:00 +02:00
Masatoshi Kimura c5e2b269d2 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 5efd78899e Bug 991977 - Ensure volume is mounted before starting download. r=dhylands 2014-04-23 17:50:00 -04:00
Birunthan Mohanathas 5f1fde8824 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