Commit Graph

38 Commits

Author SHA1 Message Date
Brian Nicholson
bf2e0135d7 Bug 747388 - Remove .part files on dl-failed on Android. r=mfinkle 2012-06-05 21:06:04 -07:00
Geoff Lankow
7a64448b03 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Hubert Figuiere
ac1bc1e535 Bug 670275 - Downloading a file should put it in the system's recently-used list. r=karlt 2011-07-08 17:29:00 -07:00
Paolo Amadini
6c2516758f Bug 726444 - Implement the Downloads Panel. r=mak ui-r=limi
Includes: Bug 697679 - By Javi Rueda <leofigueres@yahoo.com>.
2012-04-17 13:35:09 +02:00
Marco Bonardo
dad8263bca Bug 735697 - Close the old connection when switching to/from private mode. r=mak. 2012-03-22 13:02:28 -04:00
Ed Morley
c87e5a528d Backout ba7da6256b23 (bug 726444) for talos regressions; a=mak 2012-03-11 23:38:53 +00:00
Paolo Amadini
1b84ad729a Bug 726444 - Implement the Downloads Panel. r=mak ui-r=limi
Includes: Bug 697679 - By Javi Rueda <leofigueres@yahoo.com>.
2012-03-10 15:00:45 +01:00
Jonathan Kew
b8e78290a2 Backed out changeset 118f97e6d4ed (bug 670275) for xpcshell orange. 2012-03-09 10:06:54 +00:00
Hub Figuière
8e8dcffc73 Bug 670275 - Downloading a file should put it in the system's recently-used list. r=karlt 2011-07-08 17:29:00 -07:00
Panagiotis Koutsourakis
dea0d011a6 Bug 716661 - Convert observers in nsDownloadManager to weak observers. r=mak
Make nsDownloadManager inherit from nsSupportsWeakReference, expose
the new interface, and change the last argument of the addObserver
calls to true to signify that we are adding a weak observer.
2012-02-10 16:06:37 +01:00
Josh Matthews
e381c2de79 Bug 713172 - Followup to finalize statements instead of nulling them out. r=mak 2012-01-11 17:13:49 -05:00
Josh Matthews
2d63b9cd66 Bug 713172 - Ensure the download manager database connection isn't closed while it could still be required. r=mak 2012-01-09 13:48:19 -05:00
Rafael Ávila de Espíndola
bd97d26844 Bug 711536 - finalize statements and close connection. r=mak. 2011-12-19 13:55:08 -05:00
Michael Wu
21ff4d9ef1 Bug 694206 - Add Gonk (B2G) widget backend, r=cjones 2011-11-10 16:17:46 -08:00
Oonishi Atsushi
79cf816bd5 Bug 311007 - Add aFlags arg to onLocationChange(...), to distinguish between same-document and different-document. r=smaug, sr=bzbarsky 2011-11-10 15:01:11 +01:00
Marco Bonardo
c36ee911ed Bug 397424 follow-up - Remove extraneaous semicolon to fix Maemo bustage. 2011-11-04 21:45:22 +01:00
Felix Fung
e50fb69830 Bug 397424 - Downloads cause high CPU usage. r=gavin
This addresses an issue with the download manager that can cause high CPU usage
when there is an active download.  The underlying issue is the frequency of
updates that the download progress listener receives.
Things changed:
- reduced the number of null checks in DownloadUtils.jsm's getDownloadStatus
  function by one (down to two from three).
- obtain and format strings from the nsIStringBundle.  This removes all the
  calls to String.replace in DownloadUtils.jsm.
- modifies the download manager back-end to update the percentComplete and size
  property on downloads before dispatching a state changed notification for
  downloads entering the DOWNLOAD_DOWNLOADING state.  This saves us two calls to
  setAttribute on downloads that we know how big they are, and saves us the same
  two calls to setAttribute for indeterminate downloads as well as not
  dispatching a ValueChange event on the progressmeter every time
  onProgressChange is called on the DownloadProgressListener.
- has nsDownload implement nsIClassInfo so we do not need to QueryInterface when
  going through the list of active downloads in both the download manager's UI
  and the browser's taskbar UI.
2011-11-03 15:25:55 -07:00
Ehsan Akhgari
478ad1a412 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
7d613942b0 Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones 2011-10-10 22:50:08 -07:00
Jeff Walden
c5e5f873d1 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
946f2ae0e3 Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones 2011-10-10 22:50:08 -07:00
Michael Wu
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Paolo Amadini
981bb5c508 Bug 591289 - Save chosen download file name and other metadata in Places history [r=sdwilsh, ui-r=limi] 2011-08-15 18:08:48 -07:00
Ms2ger
26b7c93961 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
Marco Bonardo
ca5062596c Bug 662806 - nsINavHistoryObserver: pass GUID to onPageChanged.
r=philikon sr=rstrong
2011-06-30 22:06:56 +02:00
Marco Bonardo
7eedcb392e Bug 662806 - nsINavHistoryObserver: pass GUID to onTitleChanged.
r=dietrich sr=rstrong
2011-06-30 22:05:49 +02:00
Marco Bonardo
59696eb4a5 Bug 660109 - Allow to distinguish history removals caused by expiration from those requested by the user.
r=dietrich sr=rstrong
2011-06-30 15:34:10 +02:00
Dão Gottwald
d87605b330 Backed out changeset dc3780dd8a43 (bug 311007). Going to change onLocationChange instead of adding onLocationChange2. 2011-06-14 00:02:28 +02:00
Marco Bonardo
b54f74a244 Merge Places and mozilla-central 2011-06-09 12:14:24 +02:00
Philipp von Weitershausen
6a48ac7917 Bug 633266 - nsINavHistoryObserver: also pass in GUID whenever we pass in a URI. r=mak
Part 3: Implementation
2011-06-08 17:10:29 +02:00
Oonishi Atsushi
51f06b1611 Bug 311007 - Add onLocationChange2 which distinguishes between same-document and different-document location changes to web progress listeners. r=smaug, sr=bzbarsky 2011-06-04 05:31:07 +09:00
abcb1e8798 Bug 584316 - Fix DownloadManager usage of deprecated Storage binding APIs. r=sdwilsh 2011-05-16 12:41:28 +02:00
Ed Morley
7c35bdd0e4 Bug 652445 - Remove WinCE code (incl Faststart & nsSplashScreenWin) from toolkit; r=dtownsend 2011-04-29 12:38:26 +02:00
Wes Johnston
d669182d12 Bug 646550 - Tell Android to scan media items downloaded by Fennec r=blassey 2011-04-08 10:52:13 -07:00
Henri Sivonen
4c43a3bf22 Back out changeset 9e9e1e3a05a1 (bug 584316) for orange. 2011-04-01 10:34:28 +03:00
879b04ab31 Bug 584316 Fix DownloadManager usage of deprecated Storage binding APIs
r=sdwilsh
2011-04-01 01:16:19 -04:00
Mitchell Field
8969bddd5d Bug 595513 - Reduce makefile recursion in toolkit. r=khuey 2011-03-08 14:58:46 +11:00