Ehsan Akhgari
e9499ce141
Bug 1117042 - Mark virtual overridden functions as MOZ_OVERRIDE in netwerk; r=mcmanus
2015-01-02 09:04:04 -05:00
Trevor Saunders
1a013270b5
bug 1105074 - make more stuff final r=froydnj
2014-11-25 13:56:07 -05:00
Eric Rahm
7fffd05532
Bug 806819 - Part 4: Add files that were excluded from unified builds back in. r=ehsan
2014-10-08 13:19:14 -07:00
Eric Rahm
8d715a7fe4
Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan
2014-10-08 13:17:32 -07:00
Wes Kocher
445e1466e9
Backed out 5 changesets (bug 806819) for WinXP test failures on a CLOSED TREE
...
Backed out changeset 009ae35b0c67 (bug 806819)
Backed out changeset 5a57f87f5061 (bug 806819)
Backed out changeset f06cd735b5b3 (bug 806819)
Backed out changeset e25a2a8d4af4 (bug 806819)
Backed out changeset 70a167982c3f (bug 806819)
2014-10-06 16:32:50 -07:00
Eric Rahm
53a247fb00
Bug 806819 - Part 4: Add files that were excluded from unified builds back in. r=ehsan
...
--HG--
extra : rebase_source : 49a3f57d94fc94702f1604175c4e206091b67197
2014-10-06 13:11:24 -07:00
Eric Rahm
80d2b8bba6
Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan
...
--HG--
extra : rebase_source : c96eea1c12ea8c19314393f0e8b4b57a4316a61d
2014-10-06 13:08:20 -07:00
Daniel Holbert
034807d6ba
Bug 1073711: Clean up nsCacheService::CreateSessionInternal; drop useless null-check of 'this' and after 'new', and use nsRefPtr::forget(). r=mayhemer
2014-10-03 10:54:44 -07:00
Trevor Saunders
fd5e9d1fcc
bug 1047696 - mark a number of classes MOZ_FINAL to get compilers to devirtualize more r=froydnj
2014-08-05 13:33:55 -04:00
Nicholas Nethercote
a7cf4142b4
Bug 1050009 - Initialize pldhash tables with a length, not a capacity. r=roc.
...
* * *
imported patch rm-dummy-params
--HG--
extra : rebase_source : c25987eb11bae197218d5fc53b77def19afa36ac
2014-08-06 06:31:21 -07:00
Ehsan Akhgari
748c8aca19
Bug 1048271 - Fix more bad implicit constructors in netwerk; r=mcmanus
2014-08-05 09:20:24 -04:00
Patrick McManus
7b3d6bf83d
Bug 354493 - revert Add nsINetworkZonePolicy to protect resources loaded from private IPs r=backout a=backout
2014-07-24 10:05:36 -04:00
Mike Hommey
bc5d6801bb
Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal
2014-07-23 08:37:51 +09:00
Steve Workman
111df17ab2
Bug 354493 - Add nsINetworkZonePolicy to protect resources loaded from private IPs r=mcmanus
2014-07-17 11:08:20 -07:00
Andrew McCreight
c3a80ae7ac
Bug 1038207 - Fix various classes that reimplement nsISupports. r=ehsan
2014-07-14 12:21:34 -07:00
Benoit Jacob
ff32bb14c1
Bug 1028588 - Fix dangerous public destructors in netwerk/ - r=mcmanus
2014-06-24 12:36:44 -04:00
Nicholas Nethercote
aaf6fb2124
Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
...
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
Honza Bambas
4b98e16e4c
Bug 999577 - disable addon access to cache v1 IDLs, r=michal+jduell
2014-06-05 20:14:07 +02:00
Ryan VanderMeulen
006487470f
Backed out changeset d405928cb934 (bug 999577) and changeset 940d041073c7 (bug 938186) for xpcshell failures.
...
CLOSED TREE
2014-06-05 13:32:04 -04:00
Honza Bambas
995070a4f7
Bug 999577 - disable addon access to cache v1 IDLs, r=michal+jduell
2014-06-05 18:27:38 +02:00
Honza Bambas
3b4a73d31e
Bug 1014394 - Correctly delete all HTTP cache leftover trashes, r=michal
2014-05-29 00:52:21 +02:00
Kyle Huey
8c5cca136c
Bug 996133: Remove unnecessary NS_DISPATCH_NORMAL arguments to NS_DispatchToMainThread. r=ehsan
2014-05-23 12:53:17 -07:00
Birunthan Mohanathas
0e6f3a6562
Bug 869836 - Part 3: Use `Append('c')` instead of `AppendLiteral("c")`. r=ehsan
2014-05-22 06:48:51 +03: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
cdad589b58
Bug 1001361 - HTTP Cache directory created inside Cache directory, r=michal
2014-04-25 13:02:36 +02:00
Michal Novotny
161817ef1f
Bug 987829 - HTTP cache v2: make disk cache smart sizing work with the new backend, r=honzab
2014-04-22 11:21:00 +02:00
Ehsan Akhgari
186680d83a
Bug 798158 - Part 1: Use a pointer-sized type to store refcounts internally; r=bsmedberg
2014-03-27 16:38:33 -04:00
Neil Rashbrook
604d9a5302
Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
...
--HG--
extra : rebase_source : f8fb50de9292320eb7589dd28dc566d0f5044da6
2014-03-18 00:23:03 +00:00
Wes Kocher
c879b47079
Backed out 2 changesets (bug 514280) for OSX build bustage on a CLOSED TREE
...
Backed out changeset 2a015b45d808 (bug 514280)
Backed out changeset a01f97c1ed02 (bug 514280)
2014-03-17 15:19:53 -07:00
Neil Rashbrook
3e8915c4b8
Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
...
--HG--
extra : rebase_source : eaca8b2925eaffb49e29a617cd72c0d6686e6d9e
2014-03-17 19:07:09 +00:00
Kyle Huey
fe6c4e28d6
Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg
2014-03-15 12:00:15 -07:00
Andrew McCreight
0353960345
Bug 962608 - Make PL_DHashTableInit infallible by default. r=briansmith,bsmedberg,ehsan,froydnj,jduell,jfkthame,roc,smaug
2014-02-27 10:04:09 -08:00
Ehsan Akhgari
d91d200572
Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg
2014-02-10 17:57:01 -05:00
Honza Bambas
c5f606dd7b
Bug 964898 - Auto delete unused cache version data on demand, r=jduell
2014-02-05 20:29:54 +01:00
Honza Bambas
1b47f55e7d
Bug 956930 - Launching an app preloading appcache throws an offline error, r=jduell+sicking
2014-02-04 01:52:57 +01:00
Jim Chen
859948f7a3
Bug 959218 - Avoid race condition when shutting down nsDeleteDir thread. r=mnovotny
2014-01-30 16:43:00 -05:00
Ehsan Akhgari
1b83407ce9
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Nicholas Nethercote
8bbe1e2dc1
Bug 947798 (part 2) - Remove MemoryMultiReporter, because it's no longer helpful. r=mccr8.
...
--HG--
extra : rebase_source : f6f74de69d8c1d79d38b84b19dff5439efc41075
2013-12-07 21:39:47 -08:00
Birunthan Mohanathas
3440613a39
Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
...
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Ehsan Akhgari
c0115daaac
Add a comment to netwerk/cache/moz.build to state why these files are not unified, no bug, DONTBUILD
2013-12-08 14:22:15 -05:00
Nicholas Nethercote
b413e441cf
Bug 943660 (part 2) - Remove remnants of Remove nsIMemoryReporter::name.
...
--HG--
extra : rebase_source : 900bd1c641b26623cccf14d952b5387223b489eb
2013-12-03 20:01:24 -08:00
Ms2ger
9d06a0c27f
Merge mozilla-inbound to mozilla-central.
2013-11-29 09:54:12 +01:00
Ms2ger
4cd3e164ae
Bug 937224 - Part g: Move LOCAL_INCLUDES to moz.build in netwerk/; r=mshal
2013-11-28 15:25:39 +01:00
Nicholas Nethercote
e4d8733e41
Bug 936964 (part 8, attempt 2) - Make nsCacheService report the disk and memory cache devices. r=hurley.
...
--HG--
extra : rebase_source : 29a04ef4bfdccba2797f713da3d54a64e3141421
2013-11-25 17:04:01 -08:00
Nicholas Nethercote
39004db706
Bug 936964 (part 7, attempt 2) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
...
* * *
Bug 936964 (part 7b) - Fix a use-after-free found by ASan.
--HG--
extra : rebase_source : d38ab6b63e9d576773baf8e55fa4f7182c33915e
2013-11-07 16:35:30 +11:00
Ehsan Akhgari
a903aefdc0
Backed out 9 changesets (bug 943660, bug 936964) because of ASAN use-after-free crashes on browser-chrome and mochitest-other
...
Backed out changeset 85486c4aa3d8 (bug 936964)
Backed out changeset 25312eb71998 (bug 936964)
Backed out changeset 6dbb8333960c (bug 936964)
Backed out changeset da6465ad476f (bug 936964)
Backed out changeset a87ffc992f38 (bug 936964)
Backed out changeset 4ae3a61182db (bug 936964)
Backed out changeset 34e9c3137804 (bug 936964)
Backed out changeset fd1459e71585 (bug 936964)
Backed out changeset 3e8a701d8bdc (bug 943660)
Landed on a CLOSED TREE
--HG--
rename : content/canvas/src/WebGLMemoryTracker.h => content/canvas/src/WebGLMemoryReporterWrapper.h
2013-11-27 20:05:00 -05:00
Nicholas Nethercote
7f11613ef4
Bug 936964 (part 8) - Make nsCacheService report the disk and memory cache devices. r=hurley.
...
--HG--
extra : rebase_source : 19895d97debc6ce028b8eb167179127e5e50b6da
2013-11-25 17:04:01 -08:00
Nicholas Nethercote
bc475c75df
Bug 936964 (part 7) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
...
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryTracker.h
extra : rebase_source : 611e8d35907959b163aeced1c4ffe1d265048fe6
2013-11-07 16:35:30 +11:00
Nathan Froyd
e9d9f618bc
Bug 941598 - constify PLDHashTableOps in netwerk/; r=jduell
2013-11-20 13:17:01 -05:00
Mike Hommey
2812d11fce
Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
...
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
e06d795c71
Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps
2013-11-19 11:48:10 +09:00
Mike Hommey
e80e877ab7
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
ffe0380912
Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps
2013-11-19 11:47:14 +09:00
Joshua Cranmer
f6366dd338
Bug 935789, part 1: Kill most uses of prbit.h, r=ehsan
...
--HG--
extra : rebase_source : 4c44e60c72e0ece3cea7ed1cf79079bd2a1b6487
2013-11-12 18:22:38 -06:00
Mike Hommey
b000a846c2
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Ehsan Akhgari
6fedf6801d
Bug 928052 - Remove some prtypes.h inclusions from netwerk/; r=mcmanus
2013-10-18 10:45:29 -04:00
Ehsan Akhgari
c8d51e9ce2
Bug 919341 - Minimize the #includes in xpcom/ IDL files; r=bsmedberg
2013-09-23 13:29:27 -04:00
Ehsan Akhgari
3a4ed11774
Bug 919296 - Minimize the #includes in netwerk/ IDL files; r=mcmanus
2013-09-22 23:35:05 -04:00
Honza Bambas
894ba59236
Bug 913807 - HTTP cache v2: API+top service+integration+tests, off by default, r=michal+ehsan+mark.finkle+fabrice+mhammond+gavin
2013-09-20 11:11:25 +02:00
Birunthan Mohanathas
8975ae03b9
Bug 784739 - Switch from NULL to nullptr in netwerk/ (1/2); r=ehsan
2013-09-19 15:28:26 -04:00
Ehsan Akhgari
c915f4615d
Bug 917266 - Remove some unneeded code in netwerk/; r=mcmanus
2013-09-17 12:38:55 -04:00
Nicholas Nethercote
7983bb2a7f
Bug 910517 (3rd attempt) - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
...
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 2b2a1b2667d6562fcf803ec48b4a8c10fdd519a3
2013-08-27 16:24:51 -07:00
Robert O'Callahan
03e7828db2
Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
...
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Phil Ringnalda
26ceee4fb5
Back out 4537337759b7 (bug 910517) because nobody expects the talos inquisition
...
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-04 22:42:06 -07:00
Nicholas Nethercote
1f32372424
Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
...
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 9142be547b2eeef37a8073a710ce23070f98cf65
2013-08-27 16:24:51 -07:00
Mike Hommey
f8bc7fa754
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Ms2ger
bdfaa84f5b
Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps
2013-08-22 08:56:01 +02:00
Ms2ger
49f603cd4d
Bug 883284 - Part e: Move LIBXUL_LIBRARY into moz.build (k-o); r=ted
2013-08-22 08:56:00 +02:00
Ms2ger
4807f1c86c
Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps
2013-08-22 08:55:59 +02:00
Honza Bambas
823c175c9e
Bug 877562 - protect appcache hash tables with a mutex, r=jduell
2013-08-15 12:42:02 +02:00
Joshua Cranmer
37465bc6bd
Bug 884061 - Part 3q: Use NS_DECL_THREADSAFE_ISUPPORTS in netwerk/, r=macmanus
...
--HG--
extra : rebase_source : d029f73a1f27896c142f76dce263dd3542763b18
2013-07-18 21:24:13 -05:00
Benoit Girard
be559fe75a
Bug 892861 - Remove useless -D flags 'IMPL_THEBES,_IMPL_NS_GFX,...'. r=glandium
2013-07-12 08:56:54 -04:00
Trevor Saunders
f33ade0d68
bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal
2013-07-11 11:06:34 -04:00
Srinath N
2e5a8f5e42
Bug 848344 - Clear media cache along with network cache when storage policy is set to STORE_ANYWHERE. r=michal
2013-06-18 01:44:00 -04:00
Trevor Saunders
2af42ae713
bug 887854 - remove most useage of pratom.h r=mounir, mcmanus, jrmuizel
2013-06-16 03:09:07 -04:00
Catalin Iacob
6f4758d23e
Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn.
...
--HG--
extra : rebase_source : fc472490dd978d165f02f77ed37f07aed6e5bb61
2013-06-23 14:03:39 +02:00
Brian O'Keefe
11bcc1cd9e
Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1 ); r=mshal
...
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Mike Shal
5169c0a913
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
3cfd62c3d2
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
5256152aa1
Backed out changeset 496846474ed3 (bug 864774)
2013-05-13 10:05:49 +01:00
Mike Shal
954221d9c9
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
a3e52bbe38
bug 868441 Bypass Cache when lock held too long r=novotny
2013-05-12 10:01:13 -04:00
Makoto Kato
eada8e34f0
Bug 800220 - Part 1. Replace PL_strlen with strlen. r=ehsan
2013-05-08 12:40:12 +09:00
Sumedh Shekhar
87dffc32e4
Bug 804742 - EnsureStringLength doesn't work. f=Ms2ger, r=ehsan
2013-05-08 00:52:52 +09:00
Michal Novotny
549f7cde85
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
df7deac25b
Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey
2013-04-16 15:24:43 -04:00
Michal Novotny
d73ecc7c2c
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
8aca99fe1a
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
b3cd17f342
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
72a717a860
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Kyle Machulis
43628a7867
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
334c0800cf
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
4e13d0a06a
Bug 729182 - Implement visual event tracer, part1 - instrumentation, r=mcmanus,bz,ehsan,bsmedberg,michal
2013-03-28 18:38:04 +01:00
Mike Shal
e3efc3a646
Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps
2013-03-21 08:41:00 -07:00
Mike Shal
7ecea60097
Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps
2013-03-19 11:47:00 -07:00
Ms2ger
669cc4360c
Bug 845374 - Part r: Stop including nsTArray.h in nsReadableUtils.h; r=khuey
2013-03-17 08:55:16 +01:00
Mike Shal
cd4191e248
Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps
2013-03-11 22:00:00 -07:00
Gregory Szorc
c865547d94
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
4c4424f90d
Bug 784841 - Part 18z: Convert /netwerk; f=Ms2ger rs=ted
2013-02-25 12:47:23 -08:00
Alfred Kayser
29fbf88a36
Bug 405407 - Merge nsDiskCacheStreamIO and nsDiskCacheStreamOutput (v10). r=michal.novotny
2013-02-16 15:50:09 +01:00
Martin Stransky
13a5407605
Bug 239254 - [Linux] Support disk cache on a local path, r=michal.novotny
2013-02-11 15:47:21 +01:00
Masatoshi Kimura
11f9152670
Bug 827032 - Enable FAIL_ON_WARNINGS on MSVC in netwerk/. r=jduell
2013-02-08 20:49:30 +09:00
Alfred Kayser
513cb2b5df
Bug 828281 - UpdateRecord in CloseOutputStream can be removed. r=michal.novotny
2013-02-03 17:09:48 +01:00
Alfred Kayser
0833f66c48
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
a94f60d5ce
Bug 794507 - make offline application cache store security info for entries, r=michal
2013-01-29 22:05:43 +01:00
Ryan VanderMeulen
0c0f4a7dea
Backed out changeset eb2f0c1fffc2 (bug 820613) for xpcshell failures.
...
--HG--
extra : rebase_source : 7fff4cec5a4d7839cd3ede5cd0322631e11f9d38
2013-01-26 14:05:31 -05:00
Shriram Kunchanapalli
07a2e5d95d
Bug 820613 - Remove all references to shutdown-cleanse. r=bsmedberg
2013-01-17 00:40:56 +05:30
Michal Novotny
25aff5186b
Bug 816642 - Avoid fragmenting cache files, r=jduell
2013-01-15 14:43:53 +01:00
Mats Palmgren
b7ae90666d
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
e7d64e972a
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
4a4870b372
bug 814010: diskcache: skip buffer when writing to file. r=michal.novotny
2013-01-06 14:51:12 +01:00
Michal Novotny
88c17a14f1
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
5399e26bf2
Bug 824484 - Fix race condition between stream wrapper destructor and nsCacheService::CloseAllStreams(), r=hurley
2013-01-03 20:24:27 +01:00
Michal Novotny
7e955d52d5
Bug 822036 - Fix race condition between nsCacheEntryDescriptor::Close() and nsCacheService::ClearDoomList(), r=hurley
2013-01-03 16:39:50 +01:00
Masatoshi Kimura
9a4812e054
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
b7723e3c58
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
c138c1ea53
Bug 815639 - mLocalFile in nsDiskCacheStream doesn't have to be in the class
2012-12-21 15:25:50 +01:00
Jeff Walden
120886ca73
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
761f74729e
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
4a0bc291e4
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
17c2a8b448
partially backout c0715c079f1e bug 801466 part 4 to se if it fixes top crashes
2012-12-08 05:50:11 -05:00
Trevor Saunders
10534070ec
bug 801466 - remove some usage of prmem in intl/ and network/ r=jduell
2012-12-04 18:04:39 -05:00
Ed Morley
d8c96a3117
Backout 3d411a8554e0 (bug 801466) for build failures
2012-12-04 23:34:40 +00:00
Trevor Saunders
b18a99578e
[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
3104af642b
Backed out changeset 944c97dabc33 (bug 816642) on the suspicion of regressing Tp5 by 50%
2012-11-30 16:05:40 -05:00
Michal Novotny
936f3894c8
Bug 816642 - Avoid fragmenting cache files, r=jduell
2012-11-30 18:56:25 +01:00
Michal Novotny
ab68f3ae01
Bug 795897 - Force NSPR logging for cache module in release build, r=jduell
2012-11-22 02:14:00 +01:00
Josh Aas
0d70603e87
Back out fix for bug 405407 due to regressions.
2012-11-19 18:02:21 -05:00
Brian R. Bondy
383895126e
Bug 795887 - Close cache on suspend_process_notification observer notifiations. r=michal
2012-11-09 10:34:03 -05:00
Nick Hurley
0d3e56e976
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
e364be4527
Bug 801883 - New profile directories are hidden in Finder. r=josh
2012-10-26 12:21:12 -05:00
Honza Bambas
edba2799c8
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
3f4e29b9f0
Bug 792581 - part 20: Replace LL_UI2L macro with int64_t cast. r=ehsan
2012-10-25 19:25:57 -04:00
Daniel Holbert
1ace1099e1
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
8e702f60c5
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
f3c0ac7a23
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
c984edf823
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
47d75c532e
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
3122b4a8f4
Bug 801483 - make nsBufferedInputStream::Init fallible. r=bsmith
2012-10-16 17:38:20 +09:00
David Zbarsky
09d92493b0
Bug 801803: More nsresult as enum class creates warnings r=me
2012-10-16 00:26:51 -04:00
David Zbarsky
691b27fa27
Backout 368cd30cccda for bustage
2012-10-15 23:52:17 -04:00
David Zbarsky
7a57538d03
Bug 801803: More nsresult as enum class creates warnings r=me
2012-10-15 23:37:34 -04:00
David Zbarsky
aa0078a93d
Backout 14f09c2fb04c on CLOSED TREE
2012-10-15 21:19:30 -04:00
David Zbarsky
59e0277728
Bug 801803: More nsresult as enum class creates warnings r=me
2012-10-15 21:00:20 -04:00
Andrew Quartey
00edc52f9c
Bug 792581 - part 19: Replace LL_I2L macro with int64_t cast. r=ehsan
2012-10-12 13:29:11 -04:00
Andrew Quartey
8191e9c8c1
Bug 792581 - part 18: Replace LL_L2D macro with double cast. r=ehsan
2012-10-12 13:29:11 -04:00
Andrew Quartey
3ca8d029a6
Bug 792581 - part 16: Replace LL_L2UI macro with uint32_t cast. r=ehsan
2012-10-12 13:29:11 -04:00
Andrew Quartey
2280fd1640
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
1741f740ea
Bug 786154 - enable FAIL_ON_WARNINGS in /netwerk/cache r=michal
2012-10-09 19:50:55 -07:00
Nick Hurley
e8f057e372
Bug 786086 - Make the new default cache size display properly. r=michal
2012-10-05 12:29:14 -07:00
Andrew Quartey
58aa97ec8b
Bug 792581 - part 12: Replace LL_DIV with division operator. r=ehsan
2012-10-05 01:05:28 -04:00
Andrew Quartey
d371ac7c39
Bug 792581 - part 11: Replace LL_MUL macro with multiplication operator. r=ehsan
2012-10-05 01:05:28 -04:00
Andrew Quartey
54074fe47f
Bug 792581 - part 5: Replace LL_CMP macro with standard comparison. r=ehsan
2012-10-03 10:13:19 -04:00
Cameron Kaiser
b76f471593
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
2f13edfe53
Bug 786299 - Delete app-cache related to an app when uninstalled. r=honza,jduell
2012-10-02 17:39:09 -07:00
Michal Novotny
71915019ae
Bug 795897 - Force NSPR logging for cache module in release build, r=biesi
2012-10-01 18:10:21 +02:00
Ed Morley
da9299600b
Backout bec7e68cad9a & a6228bc28958 (bug 786299) for Windows compilation errors on a CLOSED TREE
2012-09-29 01:44:30 +01:00
Jason Duell
b75e7e52c9
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
1a4c79869e
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
b95ab79e45
Bug 795351: Replace LL_MAXINT, LL_MININT, LL_MAXUINT with stdint versions; r=ehsan
2012-09-28 14:55:23 -05:00
Isaac Aggrey
481e7dfb0b
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
foudfou
35bc9a72e8
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
62c6cf834b
Bug 756717 - Implement 'appcache jar' for apps, r=tlee+jduell
2012-07-31 02:36:00 -04:00
Ehsan Akhgari
8cc30b88b2
Bug 792502 - Kill the FunctionTimer code; r=vlad
2012-09-19 16:59:38 -04:00
Michal Novotny
d4b22d7ab5
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
245dcc3f73
Bug 723362 - Make an asynchronous variant of nsCacheEntryDescriptor::Doom, r=hurley
2012-09-17 23:31:46 +02:00
Brian R. Bondy
96079d18bc
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
59dde21fb2
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
e0bc8fa130
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
65539ef89c
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)
05d997c6df
Bug 745296 - Enable FAIL_ON_WARNINGS in more of /netwerk r=jduell
2012-08-25 11:19:00 -07:00
Nick Hurley
752d843e21
bug 783755 - Make the new default cache size stick. r=michal
2012-08-21 14:52:44 -07:00
Brian R. Bondy
28255340f8
Bug 784657 - Fix potential problem in nsDIskCacheMap timer handling. r=michal
2012-08-23 22:23:10 -04:00
Brian R. Bondy
e5bc6dcf33
Bug 784414 - Ensure cache clean file is open before seeking in it. r=michal
2012-08-23 22:22:14 -04:00
Nathan Froyd
2afd43df22
Bug 781200 - fixup several cache histograms; r=bsmith,hurley
2012-08-23 13:23:03 -04:00
Ehsan Akhgari
e368dc9c85
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
f1e8434c4e
Back out cbb72643bbae (bug 723362) for leaking
2012-08-20 20:28:19 -07:00
Michal Novotny
0fc5116bca
Bug 723362 - Make an asynchronous variant of nsCacheEntryDescriptor::Doom, r=hurley
2012-08-21 03:30:40 +02:00
Brian R. Bondy
b737469453
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
4e199a1679
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Honza Bambas
15daadba69
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
75ab7efb95
Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg
2012-08-09 09:09:40 +02:00
Michal Novotny
706334a7b6
Bug 746920 - Uninitialised value use in nsDiskCacheMap::FlushRecords, r=hurley
2012-08-08 12:23:15 +02:00
Michal Novotny
fed01c4c70
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
8ba592bd41
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
056b8973b8
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
70d7c821af
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Ehsan Akhgari
3ad40dbf10
Merge the nullptr conversion from mozilla-central into mozilla-inbound
2012-07-30 10:28:15 -04:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Aryeh Gregor
587e4453db
Bug 777292 - Don't use |= on nsresult; r=ehsan
2012-07-27 17:03:08 +03:00
Brian R. Bondy
0420e74079
Bug 773518 - Necko nsDeleteDir should lower IO prioritization. r=jduell
2012-07-25 10:24:25 -04:00
Brian R. Bondy
343d8a43ac
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
a90aaede1a
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
5570177a07
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
1d1330f61d
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
10ccc90535
Bug 767096 - Optimize nsICachingChannel interface for offline cache writing, r=sinker
2012-07-11 20:20:17 +02:00
Honza Bambas
0abfde411a
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
35d6ba9c3b
Bug 772523 - Remove the unused nsMemoryCacheDevice::mEvictionThreshold member; r=michal
2012-07-11 09:39:06 -04:00
Thinker K.F. Li
68ea4f962a
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
13fc9bf9b8
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