Commit Graph

176 Commits

Author SHA1 Message Date
Michael Wu
62c87391af 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
ee07333582 Bug 592943 - (4/5) Improve PathifyURI to handle chrome URIs, r=glandium 2011-06-16 12:54:48 +08:00
Michael Wu
3a93234fc5 Bug 592943 - (3/5) Move PathifyURI to StartupCacheUtils, r=taras 2011-06-16 12:54:47 +08:00
Ed Morley
8aaddd0334 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
8a2f7d79aa Bug 661305 - Check crc32 on omnijar startupcache entries, r=taras 2011-06-02 13:58:37 -07:00
Mike Hommey
7de58a1cfa 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
a812de1be8 Bug 637461 - data race in StartupCache.cpp; r=mwu 2011-04-01 01:24:16 -04:00
Ehsan Akhgari
cccdef8b2f 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
3ea744b39c Bug 637461 - data race in StartupCache.cpp; r=mwu 2011-04-01 01:24:16 -04:00
L. David Baron
7c0acef8c1 Backout changeset b9e6454362ef (Bug 620931 part 3) for causing bug 644790. 2011-03-24 21:07:05 -07:00
Mike Hommey
0cfcd44b08 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
a2e2c5b0d9 Bug 586859 - Move startupcache write off the main thread r=cjones a=2.0 2011-01-20 13:40:45 -08:00
Taras Glek
55dd1c99cf bug 562406: Fix burning maemo builds a=burning r=mfinkle 2011-01-07 13:32:21 -08:00
Taras Glek
ea1d315da8 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
5301be1c44 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
76cf7b4738 Bug 586859: Move startup cache writing off main thread r=cjones a=blocking-final 2011-01-07 10:56:15 -08:00
Taras Glek
79248ff22d 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
a5df17719d Bug 611396: Remove 3 unused 'rv' variables from StartupCache.cpp. r=dwiitte a=bsmedberg 2010-11-30 21:27:30 -08:00
Taras Glek
2c5467436b 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
23936101cc 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
b87080c2ea Bug 593349 - Startup cache writing algorithm causes severe fragmentation r=dwitte a=blocking-final 2010-09-30 14:48:23 -07:00
Benedict Hsieh
fb0a2b2373 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
03fd9b9688 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
f651c74f10 Bug 593533 - Remove unused variable declaration. r=bhsieh, a=beltzner 2010-09-09 19:08:26 -07:00
Michael Wu
530165f48e 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
df2049724f bug 520309, startupcache core r=dwitte sr=bsmedberg a=bsmedberg 2010-08-12 12:37:44 -07:00