Commit Graph

348 Commits

Author SHA1 Message Date
Alfred Kayser
dde198af9c Bug 828281 - UpdateRecord in CloseOutputStream can be removed. r=michal.novotny 2013-02-03 17:09:48 +01:00
Alfred Kayser
3638129196 Bug 572011 - Crash @ nsDiskCacheStreamIO::FlushBufferToFile - Make sure that we don't crash on empty/missing buffer 2013-02-02 10:52:41 +01:00
Honza Bambas
aaec69836e Bug 794507 - make offline application cache store security info for entries, r=michal 2013-01-29 22:05:43 +01:00
Ryan VanderMeulen
d5d782111a Backed out changeset eb2f0c1fffc2 (bug 820613) for xpcshell failures.
--HG--
extra : rebase_source : 7fff4cec5a4d7839cd3ede5cd0322631e11f9d38
2013-01-26 14:05:31 -05:00
Shriram Kunchanapalli
5a7f15d5b3 Bug 820613 - Remove all references to shutdown-cleanse. r=bsmedberg 2013-01-17 00:40:56 +05:30
Michal Novotny
2892e3731c Bug 816642 - Avoid fragmenting cache files, r=jduell 2013-01-15 14:43:53 +01:00
Mats Palmgren
d5826be6d7 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Nicholas Nethercote
cfabe434d4 Bug 829439 (part 1) - Add MemoryReporterBase class that promotes better encapsulation within nsIMemoryReporter sub-classes. r=jlebar.
--HG--
extra : rebase_source : 53a77ea456f2aedafe05954ceece7e64db743e66
2013-01-14 16:26:47 -08:00
Alfred Kayser
38af40ead2 bug 814010: diskcache: skip buffer when writing to file. r=michal.novotny 2013-01-06 14:51:12 +01:00
Michal Novotny
f75aab907e Bug 725993 - Remove ability to tell cache to STORE_ON_DISK_AS_FILE, r=bsmith 2013-01-04 00:30:48 +01:00
Michal Novotny
46c5a138e7 Bug 824484 - Fix race condition between stream wrapper destructor and nsCacheService::CloseAllStreams(), r=hurley 2013-01-03 20:24:27 +01:00
Michal Novotny
f5417a430c Bug 822036 - Fix race condition between nsCacheEntryDescriptor::Close() and nsCacheService::ClearDoomList(), r=hurley 2013-01-03 16:39:50 +01:00
Masatoshi Kimura
ecc812a3c0 Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted 2013-01-03 00:56:38 +09:00
Nicholas Nethercote
b6939f2c42 Bug 819819 (part 2) - Remove |name| from NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN. r=jlebar.
--HG--
rename : dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing_perwindowpb.html => dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing.html
rename : toolkit/components/places/tests/browser/browser_favicon_privatebrowsing_perwindowpb.js => toolkit/components/places/tests/browser/browser_favicon_privatebrowsing.js
extra : rebase_source : 557cc60522970ce7eea3b006d357284d9b4694c4
2012-12-23 16:59:51 -08:00
Alfred Kayser
eda43c18ae Bug 815639 - mLocalFile in nsDiskCacheStream doesn't have to be in the class 2012-12-21 15:25:50 +01:00
Jeff Walden
e0523203c9 Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger 2012-12-14 18:58:45 -05:00
Michal Novotny
081205c2c0 Bug 808997 - Explicitly close all output and input streams of all active cache entries during shutdown, r=hurley 2012-12-14 18:03:01 +01:00
Trevor Saunders
6cd5aebf30 reland the part of bug 801466 backed out in 02a65951d77d since it wasn't at fault 2012-12-10 03:19:02 -05:00
Trevor Saunders
32d3cce20f partially backout c0715c079f1e bug 801466 part 4 to se if it fixes top crashes 2012-12-08 05:50:11 -05:00
Trevor Saunders
771e73c6c6 bug 801466 - remove some usage of prmem in intl/ and network/ r=jduell 2012-12-04 18:04:39 -05:00
Ed Morley
d94774623e Backout 3d411a8554e0 (bug 801466) for build failures 2012-12-04 23:34:40 +00:00
Trevor Saunders
b09a79d578 [PATCH] bug 801466 - remove some usage of prmem in intl/ and
From 9dadb8c05ecddfe60c415c1ff62627e998148c77 Mon Sep 17 00:00:00 2001
 network/ r=jduell
---
 intl/strres/src/nsStringBundle.cpp         |    2 --
 intl/uconv/src/nsConverterInputStream.cpp  |    8 +++---
 intl/uconv/src/nsConverterInputStream.h    |    6 +++--
 netwerk/base/public/nsReadLine.h           |   38 +++-------------------------
 netwerk/base/src/nsFileStreams.cpp         |    9 +++----
 netwerk/base/src/nsFileStreams.h           |    3 ++-
 netwerk/base/src/nsSerializationHelper.cpp |   31 +++++------------------
 netwerk/base/src/nsSocketTransport2.cpp    |    1 -
 netwerk/cache/nsCacheMetaData.cpp          |    3 +--
 netwerk/cache/nsCacheMetaData.h            |    3 ++-
 netwerk/protocol/data/nsDataChannel.cpp    |   24 +++++++-----------
 11 files changed, 36 insertions(+), 92 deletions(-)
2012-12-04 18:04:39 -05:00
Ehsan Akhgari
d75ca73e40 Backed out changeset 944c97dabc33 (bug 816642) on the suspicion of regressing Tp5 by 50% 2012-11-30 16:05:40 -05:00
Michal Novotny
d3b74d2fe4 Bug 816642 - Avoid fragmenting cache files, r=jduell 2012-11-30 18:56:25 +01:00
Michal Novotny
b156e373c6 Bug 795897 - Force NSPR logging for cache module in release build, r=jduell 2012-11-22 02:14:00 +01:00
Josh Aas
36eda51d73 Back out fix for bug 405407 due to regressions. 2012-11-19 18:02:21 -05:00
Brian R. Bondy
8cecf31427 Bug 795887 - Close cache on suspend_process_notification observer notifiations. r=michal 2012-11-09 10:34:03 -05:00
Nick Hurley
580584b310 Bug 699951 - add a memory reporter for heap usage by the disk cache. r=michal 2012-11-05 10:22:33 -08:00
Steven Michaud
fc42191e78 Bug 801883 - New profile directories are hidden in Finder. r=josh 2012-10-26 12:21:12 -05:00
Honza Bambas
4b4d32d241 Bug 751754 - Allow separation between the update-available and start-download states in appcache, r=jduell 2012-10-02 15:55:00 +02:00
Andrew Quartey
1d0db40554 Bug 792581 - part 20: Replace LL_UI2L macro with int64_t cast. r=ehsan 2012-10-25 19:25:57 -04:00
Daniel Holbert
9c9712b3e6 Bug 805552: Use DebugOnly in /netwerk to fix opt build warnings (treated as errors) for set-but-only-checked-in-debug-builds nsresult values. r=jduell 2012-10-25 12:47:55 -07:00
Ehsan Akhgari
78b2656cbc Backed out 2 changesets (bug 579517)
Backed out changeset 5298adc70963
Backed out changeset 86ccf7c918ce (bug 579517)
2012-10-25 12:32:24 -04:00
Ehsan Akhgari
03be701616 Code hygiene: don't use PR_TRUE and PR_FALSE, and use stdint types instead of PRInt types (no bug really, but you could say bug 579517) 2012-10-25 11:48:19 -04:00
Isaac Aggrey
9e41ce2fa0 Bug 794510: Part 2: Use more stdint types instead of protypes.h types; r=ehsan 2012-10-11 18:38:04 -05:00
Michal Novotny
de10c9c6ea Bug 771832 - File not found error for HTTP URL, can be fixed by a forced reload, r=hurley 2012-10-17 13:59:51 +02:00
Makoto Kato
f63a03e07e Bug 801483 - make nsBufferedInputStream::Init fallible. r=bsmith 2012-10-16 17:38:20 +09:00
David Zbarsky
04db569bf4 Bug 801803: More nsresult as enum class creates warnings r=me 2012-10-16 00:26:51 -04:00
David Zbarsky
a5c86e49fb Backout 368cd30cccda for bustage 2012-10-15 23:52:17 -04:00
David Zbarsky
6047fde4c1 Bug 801803: More nsresult as enum class creates warnings r=me 2012-10-15 23:37:34 -04:00
David Zbarsky
e6f0a2a45d Backout 14f09c2fb04c on CLOSED TREE 2012-10-15 21:19:30 -04:00
David Zbarsky
4dfd290449 Bug 801803: More nsresult as enum class creates warnings r=me 2012-10-15 21:00:20 -04:00
Andrew Quartey
b50ced0c60 Bug 792581 - part 19: Replace LL_I2L macro with int64_t cast. r=ehsan 2012-10-12 13:29:11 -04:00
Andrew Quartey
b308f8422d Bug 792581 - part 18: Replace LL_L2D macro with double cast. r=ehsan 2012-10-12 13:29:11 -04:00
Andrew Quartey
6d6e443bea Bug 792581 - part 16: Replace LL_L2UI macro with uint32_t cast. r=ehsan 2012-10-12 13:29:11 -04:00
Andrew Quartey
0a2bdf7551 Bug 792581 - part 14 - Replace LL_SHL, LL_SHR, LL_USHR macros with bitwise operators. r=ehsan 2012-10-12 13:29:10 -04:00
Jason Duell
03df9b6afc Bug 786154 - enable FAIL_ON_WARNINGS in /netwerk/cache r=michal 2012-10-09 19:50:55 -07:00
Nick Hurley
d158d44f4b Bug 786086 - Make the new default cache size display properly. r=michal 2012-10-05 12:29:14 -07:00
Andrew Quartey
52003ca06d Bug 792581 - part 12: Replace LL_DIV with division operator. r=ehsan 2012-10-05 01:05:28 -04:00
Andrew Quartey
42f2f3750f Bug 792581 - part 11: Replace LL_MUL macro with multiplication operator. r=ehsan 2012-10-05 01:05:28 -04:00