Emilio Cobos Álvarez
74327c26b4
Bug 1599615 - Make some necko code less nsresult-happy. r=kershaw,valentin
...
Stuff that's infallible and not virtual has no reason to return an nsresult.
Differential Revision: https://phabricator.services.mozilla.com/D54831
--HG--
extra : moz-landing-system : lando
2019-12-02 13:21:06 +00:00
Sylvestre Ledru
e226046cb8
Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan
...
# ignore-this-changeset
Depends on D28954
Differential Revision: https://phabricator.services.mozilla.com/D28956
--HG--
extra : moz-landing-system : lando
2019-05-01 08:47:10 +00:00
Michal Novotny
c21d6620d3
Bug 1495336 - High limit of NETWORK_CACHE_METADATA_SIZE and NETWORK_CACHE_METADATA_FIRST_READ_SIZE probes is too low. r=chutten
...
Maximum size of elements in metadata is 64kB, the rest (URL, hashes and few uint32_t members) should normally fit into 1kB, so I set new high value of NETWORK_CACHE_METADATA_SIZE_2 to 65kB. With 66 buckets each bucket should be exactly 1kB wide.
NETWORK_CACHE_METADATA_FIRST_READ_SIZE doesn't provide any useful information and this patch removes the probe.
2019-01-09 10:27:00 +02:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Michal Novotny
8af453aa79
Bug 1418028 - UBSan: null pointer passed to memcpy in CacheFileMetadata::WriteMetadata. r=honzab
...
--HG--
extra : amend_source : a88ab6e916c2d41696f6201e3d92cb6db2ce15c4
2018-01-18 07:50:00 -05:00
Michal Novotny
39802915f7
Bug 1414046 - Skip copying mHashArray in CacheFileMetadata::WriteMetadata if it's empty. r=valentin
2017-11-03 03:17:00 -04:00
Michal Novotny
a60970a6a1
Bug 1403010 - Crash due to race condition in CacheFileMetadata::SizeOfExcludingThis when reading or writing metadata, r=valentin
2017-10-03 16:49:39 +02:00
Michal Novotny
c1be0eb7c3
Bug 1352916 - Add release asserts to try to narrow down the source of the reported crashes. r=valentin
...
--HG--
extra : rebase_source : 674bc781a8c92e1f7f3dc9e4086ee67cccccd682
2017-04-05 08:13:00 -04:00
Michal Novotny
43f8cee68d
Bug 1343916 - CacheFile::Truncate doesn't update hashes in CacheFileMetadata, r=valentin
2017-03-09 17:28:56 +01:00
Tom Tromey
5f8f360823
Bug 1060419 - make log_print use Printf.h, r=froydnj
...
MozReview-Commit-ID: BIZ1GQEZ1vs
--HG--
extra : rebase_source : 2f1f0aa12493c44f352d9a7e8683e7bb72d2d75b
2016-12-15 20:16:31 -07:00
Andrew McCreight
fccb0645ed
Bug 1323042 - forbid MOZ_COUNT_{CTOR,DTOR} for nsISupports classes; r=froydnj
2016-12-12 09:27:58 -05:00
Nathan Froyd
826598caba
Backout aba6c73511a2 (bug 1307961) for massive test bustage resulting in a CLOSED TREE; r=alltheorange
2016-12-12 08:45:46 -05:00
Andrew McCreight
e31b5489da
Bug 1307961 - require consistent bloatview reporting for nsISupports classes; r=froydnj
2016-12-12 07:58:33 -05:00
Michal Novotny
46b5c2fb6e
Bug 1258747 - Support for alternative data in CacheFile, r=honzab
2016-08-17 12:58:44 +02:00
Honza Bambas
d665d2f45c
Bug 1292509 - Mark CacheFileHandles invalid ASAP we can't read metadata, r=michal
2016-08-05 11:10:00 +02:00
Michal Novotny
ef6eda1f63
Bug 1267980 - Leak buffers in CacheFileChunk and CacheFileMetadata during shutdown, r=honzab
2016-05-11 11:46:54 +02:00
Honza Bambas
8f88fd6cdc
Bug 1032254 - Generic way to pin reasource in the HTTP cache, r=michal
...
* * *
Bug NNNNNNN - message, r=reviewer
--HG--
rename : netwerk/test/unit/test_cache2-28-concurrent_read_resumable_entry_size_zero.js => netwerk/test/unit/test_cache2-29a-concurrent_read_resumable_entry_size_zero.js
rename : netwerk/test/unit/test_cache2-29-concurrent_read_non-resumable_entry_size_zero.js => netwerk/test/unit/test_cache2-29b-concurrent_read_non-resumable_entry_size_zero.js
2015-10-22 12:11:00 +02:00
Honza Bambas
4bd41740d0
Bug 1165269 - Use OriginAttributes in nsILoadContextInfo, r=michal+allstars
2015-10-11 18:13:09 +02:00
Michal Novotny
cb267138f2
Bug 1177278
- Large OOMs in CacheFileMetadata::WriteMetadata, r=honzab
2015-07-22 15:23:16 +02:00
Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Michal Novotny
3ce10dc57a
Bug 1171724 - Large OOMs in CacheFileMetadata, r=honzab
2015-06-24 06:33:37 +02:00
Michal Novotny
ccf95c783e
Bug 1141555 - HTTP cache v2 generates corrupted entries, r=jduell
2015-03-26 23:05:34 +01:00
Michal Novotny
009dab9d94
Bug 1139014 - Optimize memory allocations in CacheFileMetadata, r=honzab
2015-03-06 15:49:04 +01:00
Michal Novotny
a5ab63a1b9
Bug 1133739 - HTTP cache v2: Add telemetry probes to find out the best initial read size of the metadata (fixed missing initialization of mFirstRead in one constructor), r=jseward
2015-02-25 17:46:51 +01:00
Michal Novotny
f6b06040ea
Bug 1133739 - HTTP cache v2: Add telemetry probes to find out the best initial read size of the metadata, r=jduell
2015-02-23 16:13:02 +01:00
Honza Bambas
1c22ca20d6
Bug 1000338 - nsICacheEntry.lastModified not properly implemented, r=michal
2014-09-16 15:51:50 +02:00
Carsten "Tomcat" Book
f61f2f49c9
Backed out changeset ce8f00cca9dd (bug 1000338) for XPC-2 test failures
2014-09-11 14:31:54 +02:00
Honza Bambas
e73517351a
Bug 1000338 - nsICacheEntry.lastModified not properly implemented, r=michal
2014-09-11 11:44:31 +02:00
Michal Novotny
fc4957e061
Bug 1054425 - cache2: leak in CacheFileMetadata::WriteMetadata, r=jduell
2014-08-18 21:11:40 +02:00
Michal Novotny
fc093f7b96
Bug 1042192 - Use Cache2 I/O thread for callbacks from CacheFileIOManager, r=sworkman
2014-08-18 15:36:27 +02:00
Honza Bambas
36388f686b
Bug 1034672 - Fix order of arguments to memcpy in WriteMetadata. r=michal
2014-07-16 10:07:48 -04:00
Michal Novotny
89006b5b80
Bug 1021612 - Fix offset calculation in CacheFileMetadata::ReadMetadata(), r=honzab
2014-06-08 00:00:57 +02:00
Honza Bambas
ec884e84a0
Bug 916052 - Adapt about:cache to the HTTP cache v2 API, r=michal+MattN
2014-05-01 13:28:12 +02:00
Honza Bambas
fcfec4dbfa
Backing out bug 916052 (2557b51a47a0) for build bustage on linux/osx, r=bustage on CLOSED TREE
2014-04-30 13:05:43 +02:00
Honza Bambas
bbabececf4
Bug 916052 - Adapt about:cache to the HTTP cache v2 API, r=michal+MattN
2014-04-30 12:39:18 +02:00
Birunthan Mohanathas
5f1fde8824
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Honza Bambas
5418308b9c
Bug 999383 - optimize Open and Read inter-thread calls in CacheFileIOManager, r=michal
2014-04-26 18:42:07 +02:00
Michal Novotny
b748353443
Bug 994574 - HTTP cache v2: CacheFileMetadata::ParseMetadata() fails to parse any entry, r=honzab
2014-04-10 14:29:46 +02:00
Honza Bambas
11890cf418
Bug 941698 - HTTP cache v2: add version information to cache entries, r=michal
2014-04-07 22:07:43 +02:00
Michal Novotny
3b8a819410
Bug 988186 - HTTP cache v2: store all fields in CacheFileMetadata in network order on disk, r=honzab
2014-04-07 22:07:38 +02:00
Honza Bambas
b4dd4d8955
Bug 986179 - Rework cache2 memory pool, r=michal
2014-04-06 20:45:18 +02:00
Honza Bambas
e0dd661ad6
Bug 968593 - HTTP cache v2: Make load context key (a.k.a key prefix) safely parsable, r=michal
2014-04-06 20:44:40 +02:00
Honza Bambas
a2b286f768
Bug 964039 - Memory used by the new cache backend is not reported, r=michal
2014-02-27 00:11:40 +01:00
Michal Novotny
8c254f8b27
Bug 913808 - Evict entries from the disk cache when cache limit is reached, r=honzab
2014-02-18 18:26:48 +01:00
Michal Novotny
d2d590bfc8
Bug 923016 - Implementation of cache index, r=honzab
2014-02-18 16:05:07 +01:00
Ed Morley
6088e9379c
Backed out changeset f514ab5c4b5b (bug 923016) for B2G xpcshell crashes; CLOSED TREE
2014-03-05 17:25:27 +00:00
Ed Morley
d324b8dded
Backed out changeset d8543551f12e (bug 913808)
2014-03-05 17:25:04 +00:00
Ed Morley
8dbef9c6e0
Backed out changeset 240333c3d2c1 (bug 964039)
2014-03-05 17:24:55 +00:00
Honza Bambas
260271bf43
Bug 964039 - Memory used by the new cache backend is not reported, r=michal
2014-02-27 00:11:40 +01:00
Michal Novotny
41ee219b6e
Bug 913808 - Evict entries from the disk cache when cache limit is reached, r=honzab
2014-02-18 18:26:48 +01:00