Ehsan Akhgari
b5c39afb4e
Bug 792502 - Kill the FunctionTimer code; r=vlad
2012-09-19 16:59:38 -04:00
Randell Jesup
eedf93a21d
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Luke Wagner
b4884af740
Bug 786068 - make JS_EnterCrossCompartmentCall infallible (and call it JS_EnterCompartment) (r=sfink)
2012-08-27 13:32:51 -07:00
Ehsan Akhgari
0fd9123eac
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
541453729c
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
6173fa297f
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Aryeh Gregor
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Ehsan Akhgari
41dce8c5c1
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
fee7952e0d
Bug 755186 - s/JS_NewCompartmentAndGlobalObject/JS_NewGlobalObject/ (r=jorendorff)
...
--HG--
extra : rebase_source : f1ead9226915f72473a01db0a1019cdbe50c8e92
2012-06-20 08:57:29 -07:00
Honza Bambas
41779e1714
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
00f3a215c9
Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
2012-06-06 14:08:30 +12:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Nicholas Nethercote
08dc2dae6b
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
877dee50e1
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
68c407c176
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
5e02d0630c
Bug 733260: remove typedef jsuint, r=luke
...
--HG--
extra : rebase_source : e8f576e1b5b189b47807c613c0cff79f5c8038e7
2012-03-05 18:43:45 -08:00
Nathan Froyd
4ebae19d9a
Bug 711297 - add tests for STARTUP_CACHE_AGE_HOURS histogram; r=mwu
2012-02-22 14:11:32 -05:00
Nathan Froyd
91627e713c
Bug 711297 - add recordAgesAlways method to nsIStartupCache; r=mwu
2012-02-22 14:07:18 -05:00
Nathan Froyd
bcb406168d
Bug 711297 - report age of startup cache via telemetry; r=taras
2012-02-22 14:03:52 -05:00
Vladan Djeric
445668e0c7
Backed out aef22bc75f1f (bug 711297) - wrong comment in commit
2012-02-22 14:02:02 -05:00
Nathan Froyd
cb0e3bc80b
Bug 711297 - add recordAgesAlways method to nsIStartupCache; r=mwu
2012-02-22 13:45:56 -05:00
Nicholas Nethercote
a7ad4ef70e
Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
...
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
Nathan Froyd
e4b412b533
Bug 609710 - Fix warnings in TestStartupCache.cpp; r=mwu f=Ms2ger
2011-12-29 15:06:00 -05:00
Nicholas Nethercote
2e0e818c9a
Bug 697335 - Another memory reporter for the startup cache. r=taras.
2011-12-18 16:20:36 -08:00
Jeff Walden
ec238d2c71
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
bc8357295d
Bug 695843 part 1 - Add Refcounting on nsZipArchives. r=mwu
2011-12-08 11:03:36 +01:00
Benjamin Smedberg
0d5dc2e25a
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
43e80f10bc
Back out bug 429592 because of Linux opt jsreftest failure
2011-11-04 15:18:58 -07:00
Benjamin Smedberg
2b0bd55d45
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
f8a0db5b61
Bug 94199, part 4, serialize/deserialize xbl to startup cache, r=bz
2011-11-03 16:39:08 -04:00
Nicholas Nethercote
b4232dd83e
Bug 696690 - Maemo bustage fix for a394d649cf90. r=red.
2011-10-24 18:13:23 -07:00
Nicholas Nethercote
29f97a3ec1
Bug 696690 - Memory reporter for the startup cache. r=tglek.
2011-10-24 17:50:47 -07:00
Ehsan Akhgari
2a602a5685
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
d8e503c38b
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Michael Wu
cb03114f5c
Bug 675485 - Fix PRBool misuses found in a debug build, r=bz,taras
2011-08-01 18:20:52 -07:00
Michael Wu
9e2c6a0264
Bug 664898 - Cleanup startup cache api, r=taras
2011-07-20 00:39:09 -07:00
Michael Wu
af37ca7802
Bug 672447 - Remove zip crc32 probe, r=taras
2011-07-20 00:35:44 -07:00
Taras Glek
01ff9f67f2
Bug 653936: fix: StartupCache uses nsZipItemPtr without ensuring that the JAR module is loaded, causes leak r=mwu
2011-06-30 14:58:03 -07:00
Michael Wu
cb74e9abab
Bug 592943 - (5/5) switch nsXULPrototypeCache to use startupCache instead of fastload, Patch by Benedict Hsieh, r=jst,glandium
2010-08-12 12:42:36 -07:00
Michael Wu
53a0ecf7af
Bug 592943 - (4/5) Improve PathifyURI to handle chrome URIs, r=glandium
2011-06-16 12:54:48 +08:00
Michael Wu
ddcc5ff8d8
Bug 592943 - (3/5) Move PathifyURI to StartupCacheUtils, r=taras
2011-06-16 12:54:47 +08:00
Ed Morley
223c46b36b
Bug 659621 - Remove EXTRA_DSO_LIBS, EXTRA_DSO_LDOPTS, OS_LIBS from makefiles containing LIBXUL_LIBRARY = 1, now that libxul is always built; r=ted
2011-06-12 03:49:00 -04:00
Michael Wu
70ed68e185
Bug 661305 - Check crc32 on omnijar startupcache entries, r=taras
2011-06-02 13:58:37 -07:00
Mike Hommey
e56745d75b
Bug 620931 part 3 - Allow GRE and XUL application to use omni.jar independently. r=bsmedberg,r=mwu
...
We now store two independent locations for an omni.jar, allowing GRE/XRE and
XUL application to each have their own omni.jar. And since xulrunner setups
are very independent from the XUL applications, we implement support for both
omni.jar and non omni.jar cases in the same runtime, with the side effect of
allowing to switch from one to the other manually without rebuilding the
binaries.
We let the mozilla::Omnijar API handle both cases, so that callers don't need
too much work to support them.
We also make the preferences service load the same set of preferences in all
the various cases (unified vs. separate, omni.jar vs. no omni.jar).
The child process launcher for IPC is modified to pass the base directories
needed for the mozilla::Omnijar API initialization in the child process.
Finally, the startupcache file name canonicalization is modified to separate
APP and GRE resources.
2011-02-25 12:53:36 +01:00
Taras Glek
9d1f390e3f
Bug 637461 - data race in StartupCache.cpp; r=mwu
2011-04-01 01:24:16 -04:00
Ehsan Akhgari
49fceed112
Backout the latest cedar merge wholesale until I test the correctness of the merge locally. This commit takes the tree state back to changeset 8d3f6093c425 (the last known good changeset before the merge)
2011-04-01 12:23:48 -04:00
Taras Glek
b9493bd928
Bug 637461 - data race in StartupCache.cpp; r=mwu
2011-04-01 01:24:16 -04:00
L. David Baron
506701bba2
Backout changeset b9e6454362ef (Bug 620931 part 3) for causing bug 644790.
2011-03-24 21:07:05 -07:00
Mike Hommey
2cfeef8160
Bug 620931 part 3 - Allow GRE and XUL application to use omni.jar independently. r=bsmedberg
...
We now store two independent locations for an omni.jar, allowing GRE/XRE and
XUL application to each have their own omni.jar. And since xulrunner setups
are very independent from the XUL applications, we implement support for both
omni.jar and non omni.jar cases in the same runtime, with the side effect of
allowing to switch from one to the other manually without rebuilding the
binaries.
We let the mozilla::Omnijar API handle both cases, so that callers don't need
too much work to support them.
We also make the preferences service load the same set of preferences in all
the various cases (unified vs. separate, omni.jar vs. no omni.jar).
The child process launcher for IPC is modified to pass the base directories
needed for the mozilla::Omnijar API initialization in the child process.
Finally, the startupcache file name canonicalization is modified to separate
APP and GRE resources.
2011-03-24 15:28:14 +01:00
Taras Glek
874587f891
Bug 586859 - Move startupcache write off the main thread r=cjones a=2.0
2011-01-20 13:40:45 -08:00
Taras Glek
dfb20e58c1
bug 562406: Fix burning maemo builds a=burning r=mfinkle
2011-01-07 13:32:21 -08:00
Taras Glek
4bfd99bfbe
bug 586859: Turn off threading in case it added a random cycle collector crash a=backout
2011-01-07 12:39:19 -08:00
Taras Glek
5d3356f386
Bug 562406 - Omnijar js components from startupcache during build(disabled by default, landing for mobile use) r=bsmedberg a=approval2.0
2011-01-07 11:04:33 -08:00
Taras Glek
c659f5428e
Bug 586859: Move startup cache writing off main thread r=cjones a=blocking-final
2011-01-07 10:56:15 -08:00
Taras Glek
2beb1cfc6c
Bug 586859: prepare startup cache for off-main thread writing r=dwitte a=blocking-final
2011-01-07 10:55:14 -08:00
Daniel Holbert
d1982dc6b5
Bug 611396: Remove 3 unused 'rv' variables from StartupCache.cpp. r=dwiitte a=bsmedberg
2010-11-30 21:27:30 -08:00
Taras Glek
7814360580
Bug 612131 - Crash [@ mozilla::scache::NS_NewObjectOutputWrappedStorageStream ] when storageStream fails to get created; r=dwitte a=blocking-fennec2.0+
2010-11-26 12:37:55 -05:00
Taras Glek
94cfa6f633
Bug 595924: API change to go with Bug 598416 to fix crash r=mwu a=blocking2.0-betaN
2010-11-11 12:13:57 -08:00
Benedict Hsieh
27d2dc8d88
Bug 593349 - Startup cache writing algorithm causes severe fragmentation r=dwitte a=blocking-final
2010-09-30 14:48:23 -07:00
Benedict Hsieh
a09fd8267a
Bug 594058 - invalidate cache by statting contents of extensions directory r=dtownsend r=bz a=bsmedberg
2010-09-14 17:39:07 -07:00
Benedict Hsieh
a14f164bd7
Bug 597715 - xpcshell test test_service_sync_checkServerError.js crash [@ mozilla::scache::StartupCache::WriteToDisk()] r=dwitte a=blocking2.0
2010-09-23 14:45:26 -07:00
Ryan VanderMeulen
1c1a7d5782
Bug 593533 - Remove unused variable declaration. r=bhsieh, a=beltzner
2010-09-09 19:08:26 -07:00
Michael Wu
2590a598c0
Bug 533038 - 2. Generalize nsZipArchive and nsZipHandle to read from different sources, r=taras a=blocking-beta6
2010-09-08 20:37:34 -07:00
bhsieh@mozilla.com
fba716bbcd
bug 520309, startupcache core r=dwitte sr=bsmedberg a=bsmedberg
2010-08-12 12:37:44 -07:00