Commit Graph

368 Commits

Author SHA1 Message Date
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
Han Chang
3af25db115 Bug 640629 - Move timer declaration instances to prevent premature garbage collection from occuring and wiping out the timer instances before they get a chance to fire. r=jdm,gavin 2011-07-05 21:40:00 -04:00
Ehsan Akhgari
0787743cf4 Merge the last green changeset on mozilla-inbound to mozilla-central 2011-07-15 08:13:08 -04:00
Ms2ger
36c532ffa2 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
Mike Hommey
bae24b5649 Bug 671533 - Fix test_DownloadUtils.js with locales with a different decimal separator. r=edilee 2011-07-15 10:15:28 +02:00
Daniel Holbert
5493695d98 Backout f2390732b6a4 (Bug 668154) for apparently turning debug mochitest-oth & mochitest-4 perma-orange 2011-07-11 17:49:03 -07:00
Geoff Lankow
2ebe71ef6e Bug 668154 - Use the same mock file picker for all mochitests and xpcshell tests r=jmaher 2011-07-11 12:24:13 -07:00
Geoff Lankow
784ef07a99 Bug 536503 - Fix for test; r=gavin 2011-06-14 13:47:23 +12:00
Dão Gottwald
9875ff106c Backed out changeset dc3780dd8a43 (bug 311007). Going to change onLocationChange instead of adding onLocationChange2. 2011-06-14 00:02:28 +02:00
Geoff Lankow
e0eb9adbb1 Bug 536503 - Last downloaded-to directory should be remembered on a site-by-site basis. r=gavin 2011-06-10 11:19:16 +12:00
Oonishi Atsushi
a32cac7d4c 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
Geoff Lankow
a291f7c6a0 Bug 536503 - Fix for test 2011-06-14 13:47:23 +12:00
Ehsan Akhgari
47e21692fc Back out Dao's push because of build bustage 2011-06-14 00:17:10 -04:00
Geoff Lankow
96440a1169 Bug 536503 - Fix for test 2011-06-14 13:47:23 +12:00
Neil Rashbrook
d7722b313c Fix DOS line endings rs=sdwilsh
DONTBUILD
2011-05-26 20:29:31 +01:00
Joel Maher
6993636556 Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
Ed Morley
99856dd6e9 Bug 652445 - Remove WinCE code (incl Faststart & nsSplashScreenWin) from toolkit; r=dtownsend 2011-04-29 12:38:26 +02:00
Dão Gottwald
4ac8291c1d Bug 487059 - clearUserPref shouldn't throw if a pref doesn't have a default or user value. r+sr=bsedberg 2011-04-17 21:53:25 +02:00
Shawn Wilsher
4172b2fb34 Bug 584316 - Fix DownloadManager usage of deprecated Storage binding APIs
r=Mardak
2011-03-31 10:19:31 -07:00
Mitchell Field
20ae534ead Bug 595513 - Fix bustage. 2011-03-08 23:56:08 +11:00
Anas Husseini
db3e957f96 Bug 462064 - Download manager shows decimal digit for bytes when file below 100 bytes. r=edilee,sdwilsh a=mossop 2011-02-08 18:33:18 +01:00
Dão Gottwald
a205009db7 Bug 615515 - Set the whole item as the dragged element. r=enn 2010-12-07 12:59:15 +01:00
Philipp von Weitershausen
09bc85832e Bug 597852 - Internationalize decimal separator in Download Manager. r=Mardak a=beltzner 2010-10-08 17:57:04 +02:00