Mike Shal
6f32ddf61c
Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
...
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Ted Mielczarek
47d7af59de
bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium
2013-05-16 09:33:26 -04:00
Ed Morley
2710e5d6a9
Backed out changeset 496846474ed3 (bug 864774)
2013-05-13 10:05:49 +01:00
Mike Shal
d2b29f4e87
Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey
...
From 140b9201e3b5d2d8efe7af286d279c2411dbc197 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Patrick McManus
759a5dc0f0
bug 868441 Bypass Cache when lock held too long r=novotny
2013-05-12 10:01:13 -04:00
Makoto Kato
0ec059eb04
Bug 800220 - Part 1. Replace PL_strlen with strlen. r=ehsan
2013-05-08 12:40:12 +09:00
Sumedh Shekhar
e409da4cb3
Bug 804742 - EnsureStringLength doesn't work. f=Ms2ger, r=ehsan
2013-05-08 00:52:52 +09:00
Michal Novotny
56b06193e1
Bug 852467 - nsDisableOldMaxSmartSizePrefEvent runs on the gecko main thread, blocks for long periods of time, r=honzab
2013-04-25 21:54:20 +02:00
Mike Shal
24b4056720
Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey
2013-04-16 15:24:43 -04:00
Michal Novotny
4f34c06608
Bug 829419 - Don't allow processing pending events while shutting down cache IO thread, r=jduell
2013-04-16 17:40:08 +02:00
Mike Hommey
4ea8165c3c
Bug 854105 - Avoid gcc 4.7 complaining about array out of bounds in nsDiskCacheMap::WriteDataCacheBlocks. r=michal
2013-04-11 09:32:39 +02:00
Honza Bambas
a7edf40315
Bug 842611 - Don't let nsOfflineCacheDevice::Init() create mozStorageService on non-main thread, r=michal
2013-04-10 02:21:07 +02:00
Kyle Machulis
f5e3aadf0b
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Kyle Machulis
d2b6e6e01a
Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot
2013-03-29 15:12:58 -07:00
Kyle Machulis
5663b98bc5
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
...
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Honza Bambas
c59818af3e
Bug 729182 - Implement visual event tracer, part1 - instrumentation, r=mcmanus,bz,ehsan,bsmedberg,michal
2013-03-28 18:38:04 +01:00
Mike Shal
f290401a73
Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps
2013-03-21 08:41:00 -07:00
Mike Shal
ea1d9b8ba7
Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps
2013-03-19 11:47:00 -07:00
Ms2ger
ecaff4e0d2
Bug 845374 - Part r: Stop including nsTArray.h in nsReadableUtils.h; r=khuey
2013-03-17 08:55:16 +01:00
Mike Shal
2eb7c496cb
Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps
2013-03-11 22:00:00 -07:00
Gregory Szorc
629b5d86c6
Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
...
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Gregory Szorc
cb829ec2a0
Bug 784841 - Part 18z: Convert /netwerk; f=Ms2ger rs=ted
2013-02-25 12:47:23 -08:00
Alfred Kayser
8e467ae3b8
Bug 405407 - Merge nsDiskCacheStreamIO and nsDiskCacheStreamOutput (v10). r=michal.novotny
2013-02-16 15:50:09 +01:00
Martin Stransky
0ac8eddcf8
Bug 239254 - [Linux] Support disk cache on a local path, r=michal.novotny
2013-02-11 15:47:21 +01:00
Masatoshi Kimura
35136d8877
Bug 827032 - Enable FAIL_ON_WARNINGS on MSVC in netwerk/. r=jduell
2013-02-08 20:49:30 +09:00
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
Andrew Quartey
21f22f5076
Bug 792581 - part 5: Replace LL_CMP macro with standard comparison. r=ehsan
2012-10-03 10:13:19 -04:00
Cameron Kaiser
8035af7ab6
Bug 718910 - Disable Spotlight on the cache directory on Mac; r=michal.novotny, f=smichaud,josh
2012-10-02 23:05:40 -04:00
Jason Duell
62e32bff8b
Bug 786299 - Delete app-cache related to an app when uninstalled. r=honza,jduell
2012-10-02 17:39:09 -07:00
Michal Novotny
d811a0d478
Bug 795897 - Force NSPR logging for cache module in release build, r=biesi
2012-10-01 18:10:21 +02:00
Ed Morley
77ca6b18f2
Backout bec7e68cad9a & a6228bc28958 (bug 786299) for Windows compilation errors on a CLOSED TREE
2012-09-29 01:44:30 +01:00
Jason Duell
f2b6cb61ab
Bug 786299 - Part 2: Delete app-cache related to an app when uninstalled. r=honza
2012-09-28 16:13:17 -07:00
Jason Duell
7babbef463
Bug 786299 - Delete app-cache related to an app when uninstalled, part 1 r=jduell
2012-09-28 16:13:15 -07:00
Isaac Aggrey
a53c93b026
Bug 795351: Replace LL_MAXINT, LL_MININT, LL_MAXUINT with stdint versions; r=ehsan
2012-09-28 14:55:23 -05:00
Isaac Aggrey
0cc4b12d36
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
foudfou
62d7406c52
Bug 785542 - Convert usages of PR_MIN and PR_MAX to NS_MIN and NS_MAX; r=ehsan
...
Occurences of PR_MAX in layout/style/nsCSSProps.cpp and xpcom/glue/nsTArray.h
can not be converted without C++11 support (constexpr).
--HG--
extra : rebase_source : 3b4f7e26690fad487dd11594449948411d4e79bc
2012-09-27 23:44:47 +02:00
Honza Bambas
3581c481dc
Bug 756717 - Implement 'appcache jar' for apps, r=tlee+jduell
2012-07-31 02:36:00 -04:00
Ehsan Akhgari
70ba385729
Bug 792502 - Kill the FunctionTimer code; r=vlad
2012-09-19 16:59:38 -04:00
Michal Novotny
688257e2e7
Bug 695399 - Remove calls to nsICacheSession::openCacheEntry on the main thread - netwerk part, r=hurley
2012-09-18 20:06:35 +02:00
Michal Novotny
a38d2db36d
Bug 723362 - Make an asynchronous variant of nsCacheEntryDescriptor::Doom, r=hurley
2012-09-17 23:31:46 +02:00
Brian R. Bondy
622b923c32
Bug 789936 - Cache reduction telemetry now ignores doom list check due to an unrelated bug with it. r=michal
2012-09-10 10:59:41 -04:00
Josh Aas
23f6700a31
Bug 405407: Merge nsDiskCacheStreamIO and nsDiskCacheStreamOutput. Patch originally by Alfred Kayser, updated by Josh Aas, final fix from Michal Novotny. r=michal
2012-09-06 10:10:08 -04:00
Brian R. Bondy
4472cc7964
Bug 787576 - Refine telemetry data for how much cache corruption reduction plan would help. r=michal
2012-09-04 15:05:19 -04:00
Randell Jesup
29ac5c0b8c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Valentin Gosu ext:(%2C%20Jason%20Duell%20%3Cjduell.mcbugs%40gmail.com%3E%2C%20Ms2ger%20%3CMs2ger%40gmail.com%3E)
79b6b7fa0b
Bug 745296 - Enable FAIL_ON_WARNINGS in more of /netwerk r=jduell
2012-08-25 11:19:00 -07:00
Nick Hurley
29786cc7dd
bug 783755 - Make the new default cache size stick. r=michal
2012-08-21 14:52:44 -07:00
Brian R. Bondy
45c4c5ef77
Bug 784657 - Fix potential problem in nsDIskCacheMap timer handling. r=michal
2012-08-23 22:23:10 -04:00
Brian R. Bondy
46f7faac48
Bug 784414 - Ensure cache clean file is open before seeking in it. r=michal
2012-08-23 22:22:14 -04:00
Nathan Froyd
c31911aafd
Bug 781200 - fixup several cache histograms; r=bsmith,hurley
2012-08-23 13:23:03 -04:00
Ehsan Akhgari
8c296bbcd4
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Phil Ringnalda
9dd734f9d1
Back out cbb72643bbae (bug 723362) for leaking
2012-08-20 20:28:19 -07:00
Michal Novotny
e0dd387b14
Bug 723362 - Make an asynchronous variant of nsCacheEntryDescriptor::Doom, r=hurley
2012-08-21 03:30:40 +02:00
Brian R. Bondy
9eadcef903
Bug 777328 - Gather telemetry data for how much cache corruption reduction plan would help. r=michal
2012-08-20 08:08:46 -04:00
Aryeh Gregor
982100775b
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Honza Bambas
5fe7a22e2c
Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking
2012-08-10 22:44:11 -04:00
Ms2ger
331accfcb4
Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg
2012-08-09 09:09:40 +02:00
Michal Novotny
687176c615
Bug 746920 - Uninitialised value use in nsDiskCacheMap::FlushRecords, r=hurley
2012-08-08 12:23:15 +02:00
Michal Novotny
f183bfabc4
Bug 779461 - Do not transfer the ownership of the key string from nsCacheRequest to nsCacheEntry, r=honzab
2012-08-08 02:06:06 +02:00
Nick Hurley
26e03b83c6
bug 709297 - reduce max cache size to 350MiB the next time we have to trash the cache. r=jduell
2012-08-07 15:46:33 -07:00
Jason Duell
3135796129
bug 780750 - HTTP cache never gets used/fixed if wrong permissions on CACHE_MAP file. r=hurley
2012-08-07 15:46:33 -07:00
Mike Hommey
c1b35e7b2a
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Ehsan Akhgari
c80897316e
Merge the nullptr conversion from mozilla-central into mozilla-inbound
2012-07-30 10:28:15 -04:00
Aryeh Gregor
57c0ad57fb
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Aryeh Gregor
58769bb9d6
Bug 777292 - Don't use |= on nsresult; r=ehsan
2012-07-27 17:03:08 +03:00
Brian R. Bondy
01b7d925e3
Bug 773518 - Necko nsDeleteDir should lower IO prioritization. r=jduell
2012-07-25 10:24:25 -04:00
Brian R. Bondy
c6ee9bb613
Bug 774146 - Get more detail on reason for DISK_CACHE_CORRUPT failures. r=michal
2012-07-20 19:47:52 -04:00
Thinker K.F. Li
1840997011
Bug 769184 - Update cache entry only for new. r=honzab
...
Update entries in offline cache device only for new ones. It means the entries returned by BindEntry(), not FindEntry().
2012-07-16 20:38:47 -04:00
Thinker K.F. Li
092e6569c2
Bug 767025 - Part 2: Track active entries in memory and refuse to delete by ignore. r=honzab,gal
...
The original patch is from Andreas Gal. Thinker did some bug fixing.
2012-06-29 06:27:03 +08:00
Thinker K.F. Li
b1e99ff6c5
Bug 767025 - Part 1: Remove flags. r=honzab
...
The original patch is from Andreas Gal. Thinker did some bug fixing.
2012-06-29 06:26:55 +08:00
Honza Bambas
cf693a708f
Bug 767096 - Optimize nsICachingChannel interface for offline cache writing, r=sinker
2012-07-11 20:20:17 +02:00
Honza Bambas
1cae6b45ae
Bug 760067 - Release all OfflineCache custom profile files ASAP after custom profile cache update has finished, r=michal
2012-07-11 20:20:17 +02:00
Ehsan Akhgari
7e7a121ae3
Bug 772523 - Remove the unused nsMemoryCacheDevice::mEvictionThreshold member; r=michal
2012-07-11 09:39:06 -04:00
Thinker K.F. Li
691678b553
Bug 769291 - Move nsOfflineCacheDevice::Discard() to cache IO thread. r=honzab
...
Discard() is called from destructor of nsApplicationCache. Instances
of nsApplicationCache is released by last reference, it can be in main
thread. We move Discard() tasks to cache IO thread to avoid blocking
the main thread.
2012-07-11 14:16:00 +08:00
Ryan VanderMeulen
d803ddbb37
Backout 2838ba825479, 991404facac2, 7f6e22f10b99, 30a4e0cf7130, ad2c42efbe57, and 1f07f04ec01d (Bug 760067, Bug 767096, Bug 765158, Bug 729182) due to xpcshell orange.
2012-07-10 19:21:54 -04:00
Honza Bambas
57b6ddeca3
Bug 767096 - Optimize nsICachingChannel interface for offline cache writing, r=sinker
2012-07-10 23:49:18 +02:00
Honza Bambas
e2a8bfcd65
Bug 760067 - Release all OfflineCache custom profile files ASAP after custom profile cache update has finished, r=michal
2012-07-10 23:49:17 +02:00
Ehsan Akhgari
d9cc4ea6dc
Bug 772525 - Remove the unused variable on in nsCacheService::Lock; r=bsmith
...
DONTBUILD
2012-07-10 14:41:42 -04:00
Brian Smith
152e0e6588
Bug 767275 - Add more detailed cache lock telemetry, r=michal, r=nfroyd
...
--HG--
extra : rebase_source : 60962876704a945ba83dc8ccfde938aa1957cb96
2012-06-29 16:20:34 -07:00
Brian Smith
dd8d24ead3
Bug 765665: Stop acquiring the cache service lock in nsICacheService::GetCacheIOTarget when on the main thread, r=michal
...
--HG--
extra : rebase_source : 1c364e317d11f024774952a89784609a68b8f6f2
2012-06-21 13:47:44 -07:00
Ehsan Akhgari
c8be8664d9
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (netwerk parts); r=jduell
2012-06-05 23:18:25 -04:00
Honza Bambas
f29e1ac591
Bug 720778 - Important threads should have a name for better debugability, r=bsmith, sr=bsmedberg+glandium
2012-06-12 19:06:20 +02:00
Mark Finkle
6288461550
Bug 754575 - Cache.Trash* files fill up disk space r=blassey r=jduell
2012-06-11 16:06:07 -04:00
Geoff Lankow
1214b72681
Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
2012-06-06 14:08:30 +12:00
Honza Bambas
22565351ec
Bug 753990 - Allow appcache to work with a custom cache (profile) folder within a single application, r=michal.novotny
2012-06-04 16:12:24 +02:00
Michal Novotny
f7170ae8c4
Bug 722034 - Part 1 - Make AsyncOpenCacheEntry call the listener for non-blocking async requests from background threads, r=hurley
2012-05-31 15:20:04 -07:00
Brian Smith
18e40e79f0
Bug 746018 - Part 4 - More cache logging, r=jduell
2012-05-31 15:20:03 -07:00
Brian Smith
7a2c44f12b
Bug 746018 - Part 3 - Do more logging in nsInputStreamWrapper, r=jduell
2012-05-31 15:20:02 -07:00
Geoff Brown
ef64098bfc
Bug 745340 - Improve disk cache smart sizing for mobile; r=jduell
2012-05-30 22:59:33 -04:00
Josh Matthews
7bd0db46c8
Bug 722845 - Part 3: Remove cache service use of private browsing service, and replace it with a single observer notification. r=michal.novotny
2012-05-24 16:31:54 +01:00
Josh Matthews
8e750c8313
Bug 722845 - Part 0: Add private flag for cache entries/sessions/requests. r=michal.novotny
2012-05-24 16:31:53 +01:00
Gervase Markham
87620f5676
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Benjamin Smedberg
2187798a40
Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
...
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Brian R. Bondy
4e98f0541b
Bug 753813 - Cache is disabled if you have too many old cache directories to delete
...
Bug 753813 - Cache is disabled if you have too many old cache directories to delete. r=jduell
2012-05-10 09:18:00 -07:00
Brian Nicholson
4183a953ab
Bug 746697 - Create nsApplicationCacheService to wrap nsOfflineCacheDevice. r=honzab
2012-04-30 10:57:09 -07:00
Nicholas Nethercote
c33177f72e
Bug 744311 (part 1) - Preliminary whitespace and code order changes. r=jlebar.
...
--HG--
extra : rebase_source : f700733d8aa1aed1ae1f9206b4ee9063f9a03341
2012-04-09 22:52:33 -07:00
Patrick Wong
15df25098f
Bug 745659 - Removed the nsPrintfCString constructor which takes a length and all corresponding instances that call that particular constructor. This is accomplished by removing the length component from the instantiation. r=jlebar
2012-04-24 14:43:00 -04:00
Michal Novotny
0d58cac181
Bug 713203 - nsMemoryCacheDevice::mTotalSize can go negative after clearing the memory cache
2012-04-25 01:11:39 +02:00
Michal Novotny
f7b7a7a0ee
Bug 745200 - nsDiskCacheStreamIO::Flush() is sometimes called without holding the cache lock
2012-04-25 01:07:06 +02:00
Michal Novotny
ca51cdfda7
Bug 691108 - Make sure that no entry can be bound to the disk cache when nsDiskCacheDevice::ClearDiskCache() is in progress
2012-04-12 18:27:38 +02:00
Michal Novotny
bc67dc70c0
Bug 673543 - ensure that no entry is activated while the main thread is blocked by SyncWithCacheIOThread()
2012-04-12 18:24:57 +02:00
Ms2ger
630bc4c173
Bug 605180 - Fix build warnings in netwerk/. r=jduell
2012-04-07 14:25:00 -07:00