Commit Graph

390 Commits

Author SHA1 Message Date
Yury
c95e98a8c9 Bug 787820 - Can't open downloaded files directly. r=mak 2012-09-12 22:24:00 -04:00
Yury
f4592c9bd2 Bug 777388 - Make PDF Viewer settings persistent. r=mak 2012-08-20 20:14:20 -04:00
Phil Ringnalda
34d464d80a Bug 783738 - Use Components.results.NS_BINDING_ABORTED instead of hardcoding the value, r=gavin 2012-08-14 23:32:06 -07:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ryan VanderMeulen
dabaa78a3b Backout 53d053772879, e68d8406541e, 1a18d1d71ddf, 705c22e17976, 73f73097fb1a, and 8b28f53415fe (bug 722995) due to frequent linux32 mochitest-other orange. 2012-07-21 14:29:50 -04:00
Saurabh Anand
02d334a579 Bug 722995 - DownloadLastDir.jsm uses global Private Browsing state to make decisions, r=ehsan 2012-07-21 11:25:37 +05:30
Saurabh Anand
c04ff46abb Bug 722995 - Part 4: Convert test_DownloadLastDirWithCPS.js to mochitest, r=ehsan 2012-07-21 11:23:29 +05:30
Saurabh Anand
6fc95fb768 Bug 722995 - Part 3: Convert test_DownloadLastDir.js to mochitest, r=ehsan 2012-07-21 11:22:30 +05:30
Saurabh Anand
660e719f39 Bug 722995 - Part 1: Convert test_privatebrowsing_downloadLastDir.js to mochitest, r=ehsan 2012-07-21 11:20:24 +05:30
Felipe Gomes
6368ea4947 Bug 630567. Disable test_taskbarprogress_service.xul due to frequent failures. r=philor 2012-07-12 22:37:37 -07:00
Chris Lee
e14a0505c7 Bug 680897 - There should be a colon after "You have chosen to open" in download window. r=MattN
--HG--
extra : rebase_source : bf548819f24f58600f75c2ae09626a8ff6ea1f42
2012-06-04 18:26:02 -07:00
Nathan Froyd
a7eb97f896 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Ehsan Akhgari
45fe6d3ae2 Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
This patch does the following:

* It adds nsITransferable::Init(nsILoadContext*).  The load context
  might be null, which means that the transferable is non-private, but
  if it's non-null, we extract the boolean value for the privacy mode
  and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
  called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
  represent the document that the string is coming from.
  nsIClipboardHelper implementation internally gets the nsILoadContext
  from that and passes it on to the transferable upon creation.  The
  reason that I did this was that nsIClipboardHelper is supposed to be a
  high-level helper, and in most of its call sites, we have easy access
  to a document object.
* It modifies all of the call sites of the above interfaces according to
  this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
  the call sites.
2012-04-16 22:14:01 -04:00
Neil Rashbrook
0c34361ca7 Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-26 00:11:16 +01:00
Ed Morley
58e896dd49 Backout ec9451e9e830 (bug 758354) for PGO linux permaorange in browser_bug422590.js and friends 2012-06-25 19:14:43 +01:00
Neil Rashbrook
7e7b835fdc Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-25 09:24:49 +01:00
Gavin Sharp
a3c93217a5 Tweak comment that I forgot to update when fixing bug 657462 2012-06-15 11:08:50 -07:00
Gervase Markham
d4eb7d5782 Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Paolo Amadini
fc466abc21 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
6c788161c3 Bug 735697 - Close the old connection when switching to/from private mode. r=mak. 2012-03-22 13:02:28 -04:00
Aryeh Gregor
c44356ad7c Bug 735805 part 6 - Fix more toolkit mochitests that run no tests; r=enndeakin 2012-03-20 13:29:14 -04:00
Ed Morley
fe0db58bce Backout ba7da6256b23 (bug 726444) for talos regressions; a=mak 2012-03-11 23:38:53 +00:00
Paolo Amadini
ebd422385f 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
Panagiotis Koutsourakis
791aa57b19 Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
Files named Makefile.in containing the expression

DIRS += <foo>
or
DIRS = <foo>

inside the conditional expression

ifdef ENABLE_TESTS
...
endif

are changed to

TEST_DIRS += tests

outside any conditional expression.

The files

./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in

contain the string

ifdef ENABLE_TESTS

but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
Geoff Lankow
8e5b15a9ab Bug 684107 followup - stop importing XPCOMUtils.jsm and Dict.jsm into DownloadLastDir.jsm; r=gavin 2012-01-20 19:58:38 +13:00
ISHIKAWA, chiaki
eda2919da2 Bug 567585 - TB3 fails to raise an error when it tries to save an attachment to write-protected directory. r=Paolo Amadini,r=sdwilsh 2012-01-20 19:21:26 +00:00
Gavin Sharp
4f261af49a Bug 712421: allow pasting of a URL in the download manager window, r=neil 2011-12-20 14:14:10 -08:00
Jim Mathies
0c68401d60 Bug 716862 - add virus scan indeterminate mode to the list of taskbar modes displayed when the dl manager is not open. r=felipe. 2012-01-13 17:55:01 -06:00
Felipe Gomes
786acb10dd Bug 706897. Fix intermittent test_destinationURI_annotation.xul failure. r=mak 2012-01-10 08:31:03 -08:00
Rafael Ávila de Espíndola
b7e3ca964f Bug 713297 - send quit-application toolkit/mozapps/downloads/tests/. r=mak. 2011-12-29 10:03:00 -05:00
Geoff Lankow
48d0dde864 Bug 712518 - Improve MockFilePicker.jsm; r=jmaher 2011-12-23 11:10:52 +13:00
Marco Bonardo
632b40fdbb Bug 706280 - Intermittent failure in browser/components/places/tests/chrome/test_bug549192.xul | Exited with code 1 during test run.
r=felipe a=tests-only
2011-12-13 17:27:09 +01:00
Geoff Lankow
8fdfc439b4 Bug 702748 - Use a pref for disabling per-site remembering of download directory; r=gavin.sharp, a=khuey 2011-12-12 17:31:50 +13:00
Felipe Gomes
7e9dd1cb1e Bug 701607. Download annotations are not stored for files without a custom name. r=sdwilsh 2011-11-28 15:03:21 -08:00
Geoff Lankow
590a0ca6a5 Bug 702744 - Use do_get_profile() instead of CurProcD in test_privatebrowsing_downloadLastDir.js; r=gavin.sharp 2011-11-20 11:12:06 +13:00
Oonishi Atsushi
ebc58fb880 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
Ed Morley
6a998be2c5 Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Rail Aliiev
364e83c545 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Felix Fung
5730c65256 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
Geoff Lankow
d69572b024 Bug 672817 - Site-by-site last downloaded-to directory is not remembered when using unknown content-type dialog; r=gavin.sharp 2011-10-20 00:33:09 +13:00
Geoff Lankow
05b39c14b0 Bug 668154 - Use the same mock file picker for all mochitests and xpcshell tests; r=jmaher 2011-10-22 12:39:30 +13:00
Gavin Sharp
780751e5c9 Bug 657462: don't select the first item in the download manager automatically, r=dolske
--HG--
extra : rebase_source : d84c3ce6b80048c2a0c8c5dc8fb7302cc22d8349
2011-09-30 09:51:17 -07:00
Malini Das
841f72da21 Bug 677626 - Add a profiling test suite for mochitest. r=jmaher 2011-09-19 14:52:04 -04:00
Kailas
4eaefa188e Bug 680812 - Excessive space between "280" and "KB" in download dialog; r=dolske 2011-09-12 10:24:02 -04:00
Kailas
d42acccd24 Bug 683258 - Size reported as -1 bytes when attempting download with no Content-Length header; r=dolske 2011-09-06 15:32:52 -04:00
Geoff Lankow
7ec43aed40 Bug 684107 - Remove private browsing code from DownloadLastDir.jsm after bug 679784 is fixed; r=ehsan 2011-09-03 22:02:32 +12:00
Kailas
f99ea6739e Bug 595888 - Show file size when attempting to download a file. r=sdwilsh, r=dolske, ui-r=faaborg 2011-08-15 12:53:03 -07:00
Malini Das
e306b1b5aa Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- chrome. r=jmaher, a=test-only 2011-08-12 12:21:36 -04:00
Paolo Amadini
8343d7173f Bug 653261 - Add a function to format the date and time displayed in the Download Manager. r=sdwilsh sr=mconnor 2011-07-27 13:08:24 +02:00