Commit Graph

362 Commits

Author SHA1 Message Date
Mark Capella
0af24742c6 Bug 721496 - Remove MOZ_WINSDK_TARGETVER ifdefs for pre-Windows 7 SDKs. r=jimm 2012-02-23 01:33:19 +01:00
Geoff Lankow
b0321a6413 Bug 718255 - Merge nsIPrefBranch2 with nsIPrefBranch - Part C, remove uses of nsIPrefBranch2 in toolkit/ ; r=bsmedberg 2012-01-17 14:18:29 +13:00
Panagiotis Koutsourakis
ab4c9c184e 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
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
Josh Matthews
a0e2f57b74 Bug 713172 - Followup to finalize statements instead of nulling them out. r=mak 2012-01-11 17:13:49 -05:00
Josh Matthews
f0f63e1d5d 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
76d9c9dd5b Bug 713293 - Send quit-application in toolkit/components/downloads/test/schema_migration/head_migration.js. r=mak. 2011-12-29 10:08:03 -05:00
Rafael Ávila de Espíndola
714bf7482a Bug 713243 - Send quit-application in head_download_manager.js. r=mak.
--HG--
extra : rebase_source : d4e622485cbd07f96abc9eff13b6ea1f26074fc6
2011-12-28 11:33:36 -05:00
Rafael Ávila de Espíndola
e16c18b010 Bug 713284 - finalize statement in test_migration_to_2.js. r=mak. 2011-12-28 10:42:42 -05:00
Rafael Ávila de Espíndola
1daabbfe2c Bug 713289 - finalize statement in test_migration_to_5.js. r=mak. 2011-12-28 10:39:00 -05:00
Rafael Ávila de Espíndola
834ac11736 Bug 713286 - finalize statement in test_migration_to_3.js. r=mak. 2011-12-28 10:35:41 -05:00
Rafael Ávila de Espíndola
5d81833bd2 Bug 713288 - finalize statement in test_migration_to_4.js. r=mak. 2011-12-28 10:32:33 -05:00
Rafael Ávila de Espíndola
c10056e525 Bug 713291 - finalize statement in test_migration_to_6.js. 2011-12-28 10:28:15 -05:00
Rafael Ávila de Espíndola
0e8673f30d Bug 713242 - finalize statements in test_removeDownloadsByTimeframe.js. r=mak. 2011-12-28 10:02:25 -05:00
Rafael Ávila de Espíndola
2553cc03e2 Bug 711536 - finalize statements and close connection. r=mak. 2011-12-19 13:55:08 -05:00
Michael Wu
3e0835d415 Bug 694206 - Add Gonk (B2G) widget backend, r=cjones 2011-11-10 16:17:46 -08: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
Marco Bonardo
f5d3051a32 Bug 700591 - fix test_history_expiration.js DST timebomb.
r=dietrich
2011-11-08 18:25:21 +01:00
Phil Ringnalda
f1ac96f258 No bug, no r=, no a=, Try to defuse test_history_expiration daylight saving time timebomb by going back an extra day 2011-11-08 00:08:47 -08: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
Marco Bonardo
84882f1d0f Bug 397424 follow-up - Remove extraneaous semicolon to fix Maemo bustage. 2011-11-04 21:45:22 +01: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
Mark Banner
cbd25443a2 Bug 693949 - Drop nsCStringArray. r=bsmedberg 2011-10-28 08:35:45 +01:00
Ehsan Akhgari
2a602a5685 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
b7753477cf 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
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Jeff Walden
eb2cb918a4 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Marco Bonardo
a6322ce51a Bug 674210 - Reduce places.sqlite cache size and reorganize history expiration around the new value.
r=dietrich
2011-08-30 16:23:59 +02:00
Geoff Brown
1264a5446f Bug 668349 - Changes to xpcshell.ini; r=jmaher 2011-08-22 09:00:50 +01:00
Paolo Amadini
5bcf37a7bd 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
36c532ffa2 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
Jacek Caban
74d8587445 Bug 669881 - Compile nsDownloadScanner.cpp on mingw (r=jmathies) 2011-07-13 17:58:49 +02:00
Marco Bonardo
e1678f1592 Bug 662806 - nsINavHistoryObserver: pass GUID to onPageChanged.
r=philikon sr=rstrong
2011-06-30 22:06:56 +02:00
Marco Bonardo
f7be880d3b Bug 662806 - nsINavHistoryObserver: pass GUID to onTitleChanged.
r=dietrich sr=rstrong
2011-06-30 22:05:49 +02:00
Marco Bonardo
9a02cdb748 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
Marco Bonardo
781b650be9 Bug 663344 - follow-up to fix downloads/test/unit/test_history_expiration.js 2011-06-16 17:00:00 +02: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
Ted Mielczarek
a88f0715f0 merge m-c and b-s 2011-06-13 09:09:43 -04:00
Ed Morley
223c46b36b Bug 659621 - Remove EXTRA_DSO_LIBS, EXTRA_DSO_LDOPTS, OS_LIBS from makefiles containing LIBXUL_LIBRARY = 1, now that libxul is always built; r=ted 2011-06-12 03:49:00 -04:00
Dão Gottwald
9e3c046bbe more random browser chrome test cleanup (no bug) 2011-06-11 16:54:23 +02:00
Marco Bonardo
11fd2bc973 Merge Places and mozilla-central 2011-06-09 12:14:24 +02:00
Philipp von Weitershausen
396ff23f45 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
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
Joel Maher
6993636556 Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
timeless@mozdev.org
564ada81e6 Bug 584316 - Fix DownloadManager usage of deprecated Storage binding APIs. r=sdwilsh 2011-05-16 12:41:28 +02:00
Ed Morley
99856dd6e9 Bug 652445 - Remove WinCE code (incl Faststart & nsSplashScreenWin) from toolkit; r=dtownsend 2011-04-29 12:38:26 +02:00
Jonathan Kew
20281c115e Backed out changeset 80451fb8f11c (bug 585152) as per discussion in the bug. 2011-04-13 14:35:06 +01:00
Paul Biggar
bc3d36f617 Bug 585152 - Reland Date.now() fractional changes, along with fixed tests. (r=jwalden,dolske,gavin, rs=jwalden)
For the tests, I put a Math.floor around anything which looked like it did string concatenation. In principal that was r+ by dolske and gavin, and jwalden r+ed the extension to the rest of the tests.

Backout policy: the jsdate.cpp changes can be backed out trivially. The test changes should backout cleanly, but we're not hosed if they don't.
2010-08-06 13:35:00 -07:00