Nathan Froyd
2130eab9d9
Bug 833127 - fix startupcache test issues identified by asan; r=mwu
2013-01-21 19:17:20 -05:00
Chris Peterson
de411b5fd0
Bug 829685 - Remove #include "prtypes.h" from some files that no longer use PR types. r=ehsan
2013-01-10 08:19:36 -08: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
Benoit Girard
fe1473bc12
Bug 816656 - Don't write the startup cache on shutdown. r=mwu
...
--HG--
extra : rebase_source : abf25650361272f478a237d72c48953d1b0c7269
2012-12-05 14:09:30 -05:00
Ed Morley
284e6886f0
Backout bc20093cfc9d (bug 816656) for build failures during prepare-package
2012-12-03 18:47:04 +00:00
Benoit Girard
5b9b17617a
Bug 816656 - Don't write the startup cache on shutdown. r=taras
...
The startup cache will be saved in the background ~10 seconds after startup. If 10 seconds haven't elapsed yet don't bother write the cache on shutdown.
2012-12-03 13:10:11 -05:00
Ehsan Akhgari
fe6567581a
Bug 579517 follow-up: Remove NSPR types that crept in
2012-11-07 20:34:50 -05:00
Graeme McCutcheon
7c6e0f8608
Bug 724513 - Part 3 - Add telemetry for the invalid disk cache situation. r=taras
2012-10-11 09:50:41 +01:00
Graeme McCutcheon
75b6269d53
Bug 724513 - Part 1 - Add StartupCache method for disregarding disk file. r=mwu
2012-10-11 09:17:15 +01:00
Ehsan Akhgari
59dacf4015
Backed out 3 changesets (bug 724513) for a 20-30% Ts regression across the board
...
Backed out changeset 006eb98e9d6f (bug 724513)
Backed out changeset f418d97d12ac (bug 724513)
Backed out changeset 1baac3f2334c (bug 724513)
--HG--
extra : rebase_source : e361496807916c968524446d32d3eb1d6af346eb
2012-10-31 11:28:21 -04:00
Graeme McCutcheon
bc8e0bbbbd
Bug 724513 - Part 3 - Add telemetry for the invalid disk cache situation. r=taras
2012-10-11 09:50:41 +01:00
Graeme McCutcheon
34d7a161c5
Bug 724513 - Part 1 - Add StartupCache method for disregarding disk file. r=mwu
2012-10-11 09:17:15 +01:00
Tim Taubert
25e28ddb85
Bug 805971 - Don't create and discard StartupCache instances on not-main processes r=mwu
2012-10-27 00:27:53 +02:00
Bill McCloskey
fadcc33157
Bug 714050 - Add support for optional JS helper threads (r=luke)
2012-10-16 11:57:09 -07:00
Trevor Saunders
000b6e89a1
bug 798595 - remove useless prmem.h includes r=ehsan
2012-10-04 02:14:06 -04:00
Nathan Froyd
b0fc73509d
Bug 767406 - don't assume the tables are initialized in StartupCache::WriteToDisk; r=mwu
2012-10-10 10:37:50 -04:00
Isaac Aggrey
481e7dfb0b
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Mike Hommey
a413e8f1da
Bug 792347 - Fix PathifyURI to properly return a resource/app path for resource://app/ urls when the application is in a subdirectory of the GRE. r=mwu
2012-09-20 09:52:12 +02:00
Ehsan Akhgari
8cc30b88b2
Bug 792502 - Kill the FunctionTimer code; r=vlad
2012-09-19 16:59:38 -04:00
Randell Jesup
65539ef89c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Luke Wagner
93c480d9c9
Bug 786068 - make JS_EnterCrossCompartmentCall infallible (and call it JS_EnterCompartment) (r=sfink)
2012-08-27 13:32:51 -07: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
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
Mike Hommey
70d7c821af
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Ehsan Akhgari
d0798fee41
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 (startupcache parts); r=jrmuizel
2012-06-19 23:45:32 -04:00
Luke Wagner
026cc7a4de
Bug 755186 - s/JS_NewCompartmentAndGlobalObject/JS_NewGlobalObject/ (r=jorendorff)
...
--HG--
extra : rebase_source : f1ead9226915f72473a01db0a1019cdbe50c8e92
2012-06-20 08:57:29 -07:00
Honza Bambas
fc7084f564
Bug 720778 - Important threads should have a name for better debugability, r=bsmith, sr=bsmedberg+glandium
2012-06-12 19:06:20 +02:00
Geoff Lankow
5cefea8480
Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
2012-06-06 14:08:30 +12:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Nicholas Nethercote
43f329dbbd
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
Igor Bukanov
45a458920c
bug 736978 - remove JS_FinalizeStub. r=:billm
...
Currently the GC finalizes on the background thread only objects with null
JSClass::finalize. However, this implies that any object that uses
JS_FinalizeStub for the finalizer would be prevented from the background
finalization.
To fix this the patch removes JS_FinalizeStub replacing it with NULL in all
cases when the class has no custom finalizer. For style consistency the patch
also removed the usage of JSCLASS_NO_OPTIONAL_MEMBERS in the static
declarations as the compiler fills the missing fields with null in any cases.
2012-03-19 15:27:58 +01:00
David Mandelin
0822e24e67
Bug 733260 followup: use uint32_t for array and string lengths, r=luke
...
--HG--
extra : rebase_source : 1729b4b927fde0678872b9de62a7466381aa07c3
2012-03-06 15:52:55 -08:00
David Mandelin
fb07fe8847
Bug 733260: remove typedef jsuint, r=luke
...
--HG--
extra : rebase_source : e8f576e1b5b189b47807c613c0cff79f5c8038e7
2012-03-05 18:43:45 -08:00
Nathan Froyd
bf66a10cd6
Bug 711297 - add tests for STARTUP_CACHE_AGE_HOURS histogram; r=mwu
2012-02-22 14:11:32 -05:00
Nathan Froyd
512a941bbe
Bug 711297 - add recordAgesAlways method to nsIStartupCache; r=mwu
2012-02-22 14:07:18 -05:00
Nathan Froyd
5a474e9e60
Bug 711297 - report age of startup cache via telemetry; r=taras
2012-02-22 14:03:52 -05:00
Vladan Djeric
54ef9cac4b
Backed out aef22bc75f1f (bug 711297) - wrong comment in commit
2012-02-22 14:02:02 -05:00
Nathan Froyd
8440bcee3d
Bug 711297 - add recordAgesAlways method to nsIStartupCache; r=mwu
2012-02-22 13:45:56 -05:00
Nicholas Nethercote
7559a70a04
Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
...
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
Nathan Froyd
929e604b82
Bug 609710 - Fix warnings in TestStartupCache.cpp; r=mwu f=Ms2ger
2011-12-29 15:06:00 -05:00
Nicholas Nethercote
9dc2c72bd7
Bug 697335 - Another memory reporter for the startup cache. r=taras.
2011-12-18 16:20:36 -08:00
Jeff Walden
16db021217
Bug 711799 - Fix a bunch of unused-variable warnings. r=dholbert
...
--HG--
extra : rebase_source : 91fc77dca316018652d4d99f6d4cc8d0f7195e6e
2011-12-18 01:00:42 -05:00
Mike Hommey
cd155f464b
Bug 695843 part 1 - Add Refcounting on nsZipArchives. r=mwu
2011-12-08 11:03:36 +01:00
Benjamin Smedberg
1f505215dc
Disable the hang detector for bug 429592 while running the startup cache tests because they intentionally hang the browser to trigger the startup timeout. feedback=mwu on IRC
...
--HG--
extra : rebase_source : cede9fe3c3355bd84aec501c7ae12a54ebe3bacf
2011-11-04 15:13:40 -04:00
Matt Brubeck
d9889d8813
Back out bug 429592 because of Linux opt jsreftest failure
2011-11-04 15:18:58 -07:00
Benjamin Smedberg
a86306d31a
Disable the hang detector for bug 429592 while running the startup cache tests because they intentionally hang the browser to trigger the startup timeout. feedback=mwu on IRC
2011-11-04 15:13:40 -04:00
Neil Deakin
fb654ce6d2
Bug 94199, part 4, serialize/deserialize xbl to startup cache, r=bz
2011-11-03 16:39:08 -04:00
Nicholas Nethercote
f67b311efc
Bug 696690 - Maemo bustage fix for a394d649cf90. r=red.
2011-10-24 18:13:23 -07:00
Nicholas Nethercote
0ee9052aba
Bug 696690 - Memory reporter for the startup cache. r=tglek.
2011-10-24 17:50:47 -07:00