Граф коммитов

138 Коммитов

Автор SHA1 Сообщение Дата
Aaron Klotz cca20d7ddd Bug 1285356: Fix blocklist initialization regressions; r=bsmedberg
MozReview-Commit-ID: AlWyzVhtPLL

--HG--
extra : rebase_source : 865aff712f83a567c16b81f4512e072a04f7c6df
2016-07-07 17:00:23 -06:00
Eric Rahm 81e9abab83 Bug 1282980 - Remove MacQuirks. r=jrmuizel
MacQuirks was targeted for OSX from 10.6.8 up to but not including 10.7.0. We
have now removed support for 10.6 so we can safely remove this code. This also
fixes bug 1282184 where DMD is apparently choking on memory allocated in the
interpose library.
2016-07-19 23:48:29 -07:00
Makoto Kato 1fc6d9c9df Backed out changeset d6523dfaab78 (bug 1282980) due to OSX build failure
MozReview-Commit-ID: 9ZSylYsKDjp
2016-07-20 11:03:57 +09:00
Eric Rahm f5c6dc41eb Bug 1282980 - Remove MacQuirks. r=jrmuizel
MacQuirks was targeted for OSX from 10.6.8 up to but not including 10.7.0. We
have now removed support for 10.6 so we can safely remove this code. This also
fixes bug 1282184 where DMD is apparently choking on memory allocated in the
interpose library.
2016-07-19 16:49:24 -07:00
Chris Peterson 2b3b60f7b1 Bug 1277155 - Part 1: Remove snprintf() polyfills for VS2013 in Sprintf.h and #defines. r=froydnj r=mhowell 2016-06-27 20:45:03 -07:00
Andrea Marchesini 880aca8671 Bug 1281793 - Remove some non-used telemetry IDs - part 1 - expired keys in nsBrowserApp, r=gfritzsche 2016-06-28 19:29:09 +02:00
Carsten "Tomcat" Book 206dc72425 Backed out changeset e1001d232f8a (bug 1281793) for bustage on a CLOSED TREE 2016-06-28 17:05:04 +02:00
Andrea Marchesini 1a91dfc4d0 Bug 1281793 - Remove some non-used telemetry IDs - part 1 - expired keys in nsBrowserApp, r=gfritzsche 2016-06-28 16:44:42 +02:00
Mike Hommey 4725fcb648 Bug 1271574 - Purposefully leak the XUL_APP_FILE string passed to putenv. r=bsmedberg
Before bug 552864, the string was created with PR_smprintf, and
PR_SetEnv'ed (which, under the hood, just calls putenv). PR_smprintf was
allocating the string on the heap. Now, it's allocated on the stack, and
still putenv'ed.

putenv kind of takes ownership of the strings it's being passed, so
stack allocated strings are dangerous to use. It looks like we've been
fairly lucky that it worked, presumably because compilers would keep the
stack frame with the variable, but that's not guaranteed to happen, and
in some case, doesn't.

So we strdup the string and purposefully leak it instead, which matches
what happened before bug 552864, and is the only "sane" way to use
putenv.

--HG--
extra : rebase_source : e39349f90f5346b591e20696c0c3c7fdb26c3cfb
2016-06-02 08:44:16 +09:00
Bob Owen 5714578c95 Bug 1278528: Don't try to initialize the sandbox TargetServices when we are not sandboxed. r=jimm
MozReview-Commit-ID: EpXy9LYXwQL
2016-06-07 14:03:51 +01:00
Jed Davis 78e49e2efb Bug 1114647 - Use firefox for child processes instead of plugin-container. r=ted
Disabled on Mac (content processes need to use plugin-container.app for
UI reasons) and on Linux unless --disable-sandboxing (build issues).

Based on work by George Wright <george@mozilla.com>.

--HG--
extra : amend_source : 43986e25743de21e3ddfb7893e3ed550fe6eef76
2016-06-03 12:49:39 -07:00
Bob Owen e809e9f918 Bug 1035125 Part 9: Link Chromium sandbox into firefox.exe instead of having a separate DLL. r=aklotz,glandium
MozReview-Commit-ID: 1vgDPjpcwz3

--HG--
extra : rebase_source : 40966d98ca6c37f30884639d648907b4760ae240
2016-05-15 16:41:40 +01:00
Mike Hommey 5dc9f1b6cb Bug 1238769 - Add a -xpcshell option to Firefox. r=bsmedberg 2016-02-10 07:39:27 +09:00
Phil Ringnalda 4cff264841 Back out 7af06ac5c280 (bug 1238769) for bustage
CLOSED TREE
2016-02-03 20:15:33 -08:00
Mike Hommey 09eefcbf8d Bug 1238769 - Add a -xpcshell option to Firefox. r=bsmedberg 2016-02-04 12:49:57 +09:00
Mike Hommey 9af046b5b4 Bug 1211765 - Remove remnants from --with-libxul-sdk. r=bsmedberg
The configure option has explicitly thrown an error for more than a year now,
and it happens that the remaining way to still forcefully use it has been
broken for more than 8 months.
2015-10-14 08:02:34 +09:00
Gabriele Svelto 17358b10b8 Bug 858928 - Switch XRE_StartupTimelineRecord() from PRTime to TimeStamp. r=froydnj
--HG--
extra : rebase_source : b39bf19f68a124cefaf5ceac2adccb20e05bf279
2015-07-06 18:01:09 +02:00
Kartikaya Gupta cd5b55f8d6 Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong 2015-04-23 15:10:30 -04:00
Nicholas Nethercote 19310a7cce Bug 1123527 - Added #error cases for impossible platforms. r=glandium.
cppcheck says:

> b2g/app/nsBrowserApp.cpp:251: error: Uninitialized variable: gotCounters
> browser/app/nsBrowserApp.cpp:637: error: Uninitialized variable: gotCounters

It's a false positive because one of XP_WIN and XP_UNIX is always defined, but
it doesn't hurt to make that fact clearer.

--HG--
extra : rebase_source : 8717e3814e1cfacb9dd42cb9509aca0c3a926747
2015-01-15 22:10:29 -08:00
Brian Smith ea66053341 Bug 1119776, Part 7: Avoid defining snprintf when MSVC provides it (other), r=bsmedberg
--HG--
extra : rebase_source : 3fc7e4e83f57252e15cf32846f23e497f8532ea5
2015-01-08 22:35:33 -08:00
Ehsan Akhgari c3552da3d5 Bug 1082792 - Build firefox.exe with -MD in ASAN builds; r=glandium
Mixing -MT and -MD as we do by default is not a supported configuration
for ASAN.  Given that we don't require supporting XP SP2 in those
builds, we can opt out of this.
2014-11-24 13:42:33 -05:00
Jacek Caban 416d586a14 Bug 1102809 - Fixed -Wunused-function warnings found in mingw build. r=mattwoodrow 2014-11-24 11:19:36 +01:00
Jim Mathies 1dd937c97e Bug 1042708 - Fix improper metro main thread identification. Regression from bug 1033358. r=me 2014-07-23 10:13:18 -05:00
Stephen Pohl 0b58cd9573 Bug 1077282: Cleanup uses of GreD vs GreBinD, introcuded by v2 signature changes on OSX. Based on initial patch by rstrong. r=bsmedberg 2014-10-10 15:06:57 -04:00
Stephen Pohl 7959bd3a2b Mac v2 signing - Bug 1050944 - Get Firefox to launch and run on OSX with the new .app bundle structure, made necessary by Apple's v2 signatures. r=smichaud, r=ted, sr=bsmedberg 2014-09-29 11:51:04 -07:00
Masatoshi Kimura 8ddf7de8a5 Bug 969918 - Use decltype to declare pointers for dynamic-loaded functions. r=jimm sr=roc 2014-02-18 07:32:52 +09: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
Jim Mathies 953b30014f Bug 968774 - Don't set XUL_APP_FILE on metrofx startup. r=mbrubeck 2014-02-06 17:41:13 -06:00
David Major 2205e1ec60 Bug 939043 - Downgrade the user32 assertion to a warning message. r=bsmedberg 2013-12-06 10:21:16 -05:00
David Major 4a637bff20 Bug 932100 - Part 2: Move DLL blocklist code to mozglue. r=bsmedberg, r=glandium
--HG--
rename : toolkit/xre/nsWindowsDllBlocklist.cpp => mozglue/build/WindowsDllBlocklist.cpp
2013-11-12 08:31:32 -05:00
David Major 0233f4ada7 Bug 932100 - Part 1: Remove load-time dependency on user32. r=bsmedberg 2013-11-12 08:31:32 -05:00
Jonas Finnemann Jensen 41edf8980c Bug 902587 - Part 2A: Refactor late-write-checks as client of IO Interposer. r=BenWa
--HG--
rename : xpcom/build/mozPoisonWrite.h => xpcom/build/LateWriteChecks.h
rename : xpcom/build/mozPoisonWrite.h => xpcom/build/PoisonIOInterposer.h
rename : xpcom/build/mozPoisonWriteBase.cpp => xpcom/build/PoisonIOInterposerBase.cpp
rename : xpcom/build/mozPoisonWriteMac.cpp => xpcom/build/PoisonIOInterposerMac.cpp
rename : xpcom/build/mozPoisonWriteWin.cpp => xpcom/build/PoisonIOInterposerWin.cpp
2013-11-05 07:45:20 -05:00
Birunthan Mohanathas 2799a23c6a Bug 784739 - Switch from NULL to nullptr in browser/components. r=ehsan 2013-08-21 12:13:50 -04:00
Jim Mathies 7e231db627 Bug 898370 - Disable crash reporting when running in metrodesktop mode. r=bbondy 2013-07-26 12:19:55 -05:00
Gabriele Svelto a8c937e2a1 Bug 793735 - Make XRE_StartupTimelineRecord() generate TimeStamps and modify its callers to use the appropriate timers, r=nfroyd 2013-03-26 11:31:20 +01:00
Jim Mathies 3e8def3918 Bug 860683 - When running tests in immersive mode, connect firefox stdout to a metrotestharness pipe to route test output to mozilla test harnesses. r=bbondy 2013-04-11 17:45:29 -05:00
Nathan Froyd 0f42f822c1 Backout 61e1edc0b6bf (bug 793735), 77014412cd4a (bug 793735), and 8c5aa269c3cd (bug 793735) for botching FHR data 2013-04-09 16:25:42 -04:00
Gabriele Svelto fc85f865dd Bug 793735 - Make XRE_StartupTimelineRecord() generate TimeStamps and modify its callers to use the appropriate timers, r=froydnj 2013-03-26 11:31:20 +01:00
Ehsan Akhgari 43764bd494 Backed out 2 changesets (bug 784739) because of Windows build failures
Backed out changeset 06ae36377cfa (bug 784739)
Backed out changeset e56f91d780df (bug 784739)
2013-04-02 23:04:49 -04:00
Ehsan Akhgari 1eaf830084 Follow-up to bug 784739 - Compare a char against a numeric value, not nullptr
Landed on a CLOSED TREE
2013-04-02 22:11:11 -04:00
matekm 0bf38851a2 Bug 784739 - Switch from NULL to nullptr in browser/; r=ehsan 2013-04-02 20:40:29 -04:00
Jim Mathies 397600c8e9 Bug 855407 - Route mochitest-metro-chrome test output to the metrotestharness console. r=tabraldes 2013-03-31 15:48:48 -05:00
Ryan VanderMeulen 46aa1abe52 Backed out changeset 17b7d2222f14 (bug 855407) for likely causing leaks. 2013-03-29 10:28:05 -04:00
Jim Mathies e562d58411 Bug 855407 - When running mochitest-metro-chrome, route test harness output to the metrotestharness console. r=tabraldes 2013-03-29 06:47:17 -05:00
Brian R. Bondy 17f555db9a Bug 846365 - Add proper handling for background session closes in Firefox for Metro. r=jimm 2013-03-24 19:10:46 -04:00
Jim Mathies 8b05668989 Bug 839808 - Add support for omtc to winrt widget. r=bbondy 2013-03-04 12:32:20 -06:00
Matt Brubeck 3db6c1f16e Bug 837772 - Fix argument parsing from tests.ini for Metro test harness [r=jimm] 2013-02-20 17:20:04 -08:00
Jim Mathies 10fe5fc177 Bug 807593 - sync nsBrowserApp changes for metro, including metro browser startup and mochitest-metro-chrome startup handling. r=bbondy 2013-02-12 14:51:24 -06:00
Mike Hommey 26e3714874 Bug 755724 - Move browser application in a subdirectory. r=jimm 2013-02-11 14:10:16 +01:00
Mike Hommey 425146bae6 Bug 755724 - Initialize trace malloc before calling NS_NewLocalFile in nsBrowserApp.cpp. r=bsmedberg 2013-01-19 09:40:02 +01:00