Bob Owen
0ecdb25f6d
Bug 1329294 Part 1: Ensure Content Temp Dir is created before use. r=bsmedberg
2017-04-10 14:38:13 +01:00
Phil Ringnalda
a0e89bfb5a
Backed out 2 changesets (bug 1329294) for Win8 debug bustage in test_refresh_firefox.py TestFirefoxRefresh.testReset, a=merged-around-permaorange
...
Backed out changeset 08e2719fe7be (bug 1329294)
Backed out changeset 3b1bbf6392f4 (bug 1329294)
2017-04-05 21:32:08 -07:00
Bob Owen
fcc457d7c9
Bug 1329294 Part 1: Ensure Content Temp Dir is created before use. r=bsmedberg
2017-04-05 16:34:35 +01:00
Paolo Amadini
c66f0c70aa
Bug 1346716 - Remove the entry for "mimeTypes.rdf" in the directory service. r=mak
...
This improves performance because we won't try to fix the permissions of the file every time the nsIHandlerService implementation wants to open it, and makes it easier to access the file path from xpcshell tests.
MozReview-Commit-ID: DZmLa92qUnZ
2017-03-30 15:51:18 +01:00
Robert Strong
6b4e8b04a3
Bug 1348609 - Use the installation dir path CityHash hash for the updates directory even when the hash hasn't been written to the registry by the installer. r=mhowell, r=dtownsend
2017-03-22 11:45:11 -07:00
David Major
7c0497b430
Bug 1344629 - Part 6: Rewrite unnecessary uses of nsLiteralString. r=dbaron
...
There's an antipattern where nsLiteralString is used as an unnecessary intermediary in converting from CharT* to CharT*,
e.g. CallAFunctionThatTakesACharPointer(NS_LITERAL_CSTRING("foo").get());
or
NS_NAMED_LITERAL_STRING(foo, "abc");
CallAFunctionThatTakesACharPointer(foo.get());
This patch rewrites the callsites that can be trivially changed to use char*/char16_t*.
I'd somewhat like to remove nsTLiteralString::get() altogether, but in code that's less straightforward than these examples, get() is useful enough to keep.
MozReview-Commit-ID: Kh1rUziVllo
2017-03-14 15:26:27 +13:00
Iris Hsiao
22d2818760
Backed out 12 changesets (bug 1344629) for stylo build bustage
...
Backed out changeset cf4273d3ac30 (bug 1344629)
Backed out changeset a96390e044e0 (bug 1344629)
Backed out changeset d9b330f9bc24 (bug 1344629)
Backed out changeset 2b460fe020af (bug 1344629)
Backed out changeset 0ada91b0452e (bug 1344629)
Backed out changeset 083304fcd6bd (bug 1344629)
Backed out changeset 53d7d1ce2c97 (bug 1344629)
Backed out changeset 55eee7078ae4 (bug 1344629)
Backed out changeset 7d3c06b3eca9 (bug 1344629)
Backed out changeset e5df14c3db61 (bug 1344629)
Backed out changeset 636095ff2815 (bug 1344629)
Backed out changeset 0be052ad24c1 (bug 1344629)
2017-03-14 11:52:24 +08:00
David Major
a660713d2b
Bug 1344629 - Part 6: Rewrite unnecessary uses of nsLiteralString. r=dbaron
...
There's an antipattern where nsLiteralString is used as an unnecessary intermediary in converting from CharT* to CharT*,
e.g. CallAFunctionThatTakesACharPointer(NS_LITERAL_CSTRING("foo").get());
or
NS_NAMED_LITERAL_STRING(foo, "abc");
CallAFunctionThatTakesACharPointer(foo.get());
This patch rewrites the callsites that can be trivially changed to use char*/char16_t*.
I'd somewhat like to remove nsTLiteralString::get() altogether, but in code that's less straightforward than these examples, get() is useful enough to keep.
MozReview-Commit-ID: Kh1rUziVllo
2017-03-14 15:26:27 +13:00
Masatoshi Kimura
c1e0b14258
Bug 1334866 - Remove Windows XP support from toolkit/xre/. r=bsmedberg
...
MozReview-Commit-ID: H93Jx632Olg
2017-01-29 16:17:37 +09:00
Nathan Froyd
1fc00d1b38
Bug 1305422 - part 2 - don't call size_forward on ns*String::iterators to check for SetLength failure; r=erahm
...
We have better ways of checking for SetLength failure nowadays, and even
if these SetLength calls did fail, the program would crash anyway.
2016-09-29 22:33:58 -04:00
Andrea Marchesini
bc83682a02
Bug 1296606 - Add telemetry to see how many profiles users have, r=MattN, r=bugs
2016-08-31 15:18:56 -07:00
Kan-Ru Chen
a9b19d0584
Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
...
The patch is generated from following command:
rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,
MozReview-Commit-ID: AtLcWApZfES
2016-08-24 14:47:04 +08:00
Jan de Mooij
bd0f1c9018
Bug 1292892 part 1 - Stop using JSRuntime outside SpiderMonkey. r=bz,terrence,fitzgen,kanru
2016-08-11 14:39:22 +02:00
Chris Peterson
6c0f810682
Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo
2016-07-20 22:03:25 -07:00
Haik Aftandilian
f2016befa8
Bug 1270018 - NS_APP_CONTENT_PROCESS_TEMP_DIR should only return the sandbox writeable temp. r=bobowen, r=bsmedberg
...
MozReview-Commit-ID: 5L9zCR4ExWD
2016-07-05 14:48:25 -07:00
Jan de Mooij
90b703628e
Bug 1283855 part 25 - Make JS_GC take JSContext instead of JSRuntime. r=terrence
2016-07-06 11:40:20 +02:00
Bill McCloskey
30522c51bd
Bug 1214824 - Forbid CPOW usage if add-on declares it is multiprocessCompatible (r=mrbkap)
2016-07-05 13:59:36 -07:00
Phil Ringnalda
7612068980
Back out 14928a6b38f3 (bug 1214824) for leaking an nsStringBuffer in debug e10s devtools
2016-06-30 21:12:11 -07:00
Bill McCloskey
d030f958ce
Bug 1214824 - Forbid CPOW usage if add-on declares it is multiprocessCompatible (r=mrbkap)
2016-06-30 17:38:54 -07:00
Jan Varga
e6e5ce2cf2
Bug 1246828 - Part 4: Rename profile-before-change2 to profile-before-change-qm and profile-before-change3 to profile-before-change-telemetry; r=asuth
2016-06-15 11:49:04 +01:00
Jan Varga
bf3158df91
Bug 1246828 - Part 1: Add an additional notification profile-before-change3 and update telemetry sending code to use it; r=asuth
2016-06-15 11:48:39 +01:00
Till Schneidereit
8962d3e72f
Bug 1278705 - Fix building on OS X 10.11. r=aswan
2016-06-08 01:36:37 +02:00
Andrew Swan
66950a7ba7
Bug 1270356 Part 1: Add native messaging paths to XRE directory provider r=kmag
...
MozReview-Commit-ID: 2tjR3r9YySy
2016-05-12 11:39:27 -07:00
Aaron Klotz
c8a0d9ab7b
Bug 1256541: Fix incorrect generation of path for child process .extra files when content sandboxing is disabled; r=bsmedberg
...
MozReview-Commit-ID: JQgqlntQ6cu
2016-03-16 12:35:50 -06:00
Wes Kocher
090bbab1db
Backed out changeset 0827e0e5d9d4 (bug 1256541) for timeouts and crashes in browser_CTP_crashreporting.js
...
MozReview-Commit-ID: 704JC6wknXc
2016-03-24 13:04:48 -07:00
Aaron Klotz
b568d00e85
Bug 1256541: Fix incorrect generation of path for child process .extra files when content sandboxing is disabled; r=bsmedberg
...
Since the minidump path can be overridden programmatically in the chrome
process, using that path as the base for .extra files won't work since content
is unaware of it.
This patch changes everything to use the temp path when MOZ_CONTENT_SANDBOX is
not defined or when sandboxing is disabled via pref. It also moves the derivation
of the content temp path out of exception context on Windows and Mac, as I
found out that those functions touch the heap.
I also noticed that xpcshell is not sandbox-aware when utilized as a parent
process. I've filed bug 1257098 to take care of that, but this patch includes a
hack for the immediate term.
MozReview-Commit-ID: 3SIB5Nihqxh
2016-03-16 12:35:50 -06:00
Aaron Klotz
41e7663bf8
Bug 1236108: Add temp directory for sandboxed content processes to directory r=bsmedberg
...
service. This is needed so that chrome processes know where sandboxed content
processes will be writing their temp files, and so that content processes know
where to write; r?bsmedberg
MozReview-Commit-ID: BK9bTxFGvZO
2016-03-07 11:26:35 -08:00
David Rajchenbach-Teller
323ccee44c
Bug 1224374 - Profiler labels for the top 26-100 chrome hangs;r=BenWa
2016-01-15 11:38:03 +01:00
Sebastian Hengst
2e241e7e5e
Backed out 2 changesets (bug 1224374) for Windows bustage. r=bustage on a CLOSED TREE
...
Backed out changeset 5f458e6e4997 (bug 1224374 )
Backed out changeset 0dc02cb0b604 (bug 1224374 )
2016-01-19 21:30:41 +01:00
David Rajchenbach-Teller
f7045cd073
Bug 1224374 - Profiler labels for the top 26-100 chrome hangs;r=BenWa
2016-01-15 11:38:03 +01:00
Mike Hommey
65b2030d3b
Bug 1234012 - Remove the NS_APP_PROFILE_DEFAULTS_{NLOC_,}50_DIR directory keys. r=bsmedberg
...
Nothing apart the code that was just removed uses those keys, so remove them.
Actually, there is a use in Seamonkey, but considering they're shipping with
omnijar, the code expecting the directory has not been working as designed for
a while, so they can fixup and remove that use as well.
2016-01-09 07:30:32 +09:00
Gijs Kruitbosch
83dd8938b3
Bug 1191468 - always load app dir add-ons irrespective of enabledScopes, r=Mossop,froydnj
2015-11-17 13:55:31 +00:00
Mike Hommey
88380a4899
Bug 1216371 - Load default theme from XPI in safe mode. r=bsmedberg
...
This is a followup to bug 1176703, to take in charge the default theme
packaged as an XPI.
2015-11-19 08:05:51 +09:00
Philip Chee
1f86473854
Bug 1189918 - Theme overrides should work in safe mode for comm-central applications too. r=bsmedberg
2015-10-25 01:00:03 +08:00
Dave Townsend
f78e5e18e6
Bug 1207287: Move the app-shipped system add-ons somewhere where they will be included in up date MARs. r=froydnj r=rhelmer
...
This moves the app-shipped system add-ons into <appdir>/features. I've created
a new directory provider location for this since it allows us to override the
location without allowing external apps to do so as would be the case with
prefs.
2015-09-24 16:03:01 -07:00
Gijs Kruitbosch
90bd26de0d
Bug 1176703 - attempt to fix define issues with some compilers/envs, rs=me, CLOSED TREE, bustage
2015-07-10 17:12:54 +01:00
Gijs Kruitbosch
321261f7d3
Bug 1176703 - load default theme manifest in safe mode, r=bsmedberg
2015-07-07 10:06:25 +01:00
Ted Mielczarek
b2c9bf86af
bug 1174704 - Implement GetUserDataDirectoryHome for iOS. r=froydnj
2015-03-18 22:23:28 -04:00
Andrew McCreight
53a6125057
Bug 886459, part 3 - Remove simple uses of nsIJSRuntimeService to get the JSRuntime. r=bholley
2015-06-26 18:44:14 -07:00
Benjamin Smedberg
28fce60055
Bug 1144127 - Remove support for distribution/bundles except in B2G, r=Mossop
2015-05-05 15:15:27 -04:00
Benjamin Smedberg
432645e583
bug 1161212 - Keep supporting binary XPCOM components from distribution bundles in B2G, because some partners use them to override builtin components. r=froydnj
2015-05-04 16:31:55 -04:00
Benjamin Smedberg
e51ae6d5b8
Bug 1159737 Stop supporting binary XPCOM components except built into the application. r=froydnj sr=bz Some xpcshell tests of binary functionality need to register binary components. Expose a function "registerAppManifest" in the xpcshell environment to make this available to tests without exposing it to addons. r=bholley
2015-05-01 10:23:44 -04:00
Kartikaya Gupta
ebe4a3e37e
Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong
2015-04-23 15:10:30 -04:00
Nathan Froyd
e78d3683c9
Bug 1153267 - fix typo that broke OS X builds on a CLOSED TREE; r=bustage
2015-04-13 15:25:23 -04:00
Nathan Froyd
023e3d5c3f
Bug 1153267 - part 1 - use smart-pointer .forget() instead of NS_ADDREF+assign; r=ehsan
2015-03-31 10:03:49 -04:00
Ehsan Akhgari
638bf6b4c2
Bug 1116560 - Spell shutdown-persist properly in nsXREDirProvider::DoShutdown to make it greppable; r=bsmedberg
2015-01-02 17:53:56 -05:00
Hector Zhao
71f4c0c4f4
Bug 1105189 - Look for the distribution/bundles directory under Contents/Resources due to v2 signing requirements. r=bsmedberg
2014-11-26 16:37:37 +08:00
Bill McCloskey
d3bf51a375
Bug 1102634 - [e10s] Add pref for add-on shims (r=ally)
2014-11-21 14:01:23 -08:00
Allison Naaktgeboren
f7a55b9419
Bug 1063156 - Enable e10s shims by default, even when browser.tabs.remote.autostart pref is false.r=billm
2014-10-31 17:44:58 -07:00
Wes Kocher
684b08467a
Backed out changeset fe00dbf89462 (bug 1063156) for bustage
2014-10-30 13:25:35 -07:00