Andrew McCreight
3cb01b77f0
Bug 1345978, part 1 - Add a way to get the platform build id without the service manager. r=froydnj
...
The next patch needs this value early in startup, before the service
manager is available.
MozReview-Commit-ID: LAfnzV2nfiR
--HG--
extra : rebase_source : 7230335461d06157d916b02fbe37f623fd233fae
2017-03-11 08:01:34 -08:00
David Parks
26437f4ecd
Bug 1284897 - Add mechanism to libsandbox_s to track names of files that have been given special sandbox access permissions (PermissionsService). r=bobowen, r=glandium
...
Hook this into the browser via the XREAppData. This patch does not include the changes to Chromium source code.
--HG--
extra : rebase_source : 4d5637bcdbeae605b0b99e9192598d48f371b698
2017-02-14 15:08:40 -08:00
Sebastian Hengst
68e7240c0c
Backed out changeset 71b9ac06a60a (bug 1284897)
2017-02-21 23:13:29 +01:00
David Parks
82eb0f3fdd
Bug 1284897 - Add mechanism to libsandbox_s to track names of files that have been given special sandbox access permissions (PermissionsService). r=bobowen, r=glandium
...
Hook this into the browser via the XREAppData. This patch does not include the changes to Chromium source code.
--HG--
extra : rebase_source : e34e8b50101cc40ded26e80791052123b24c8243
extra : histedit_source : 69c9b2dc91546adbfdad03b5d43842809191ffb9
2017-02-14 15:08:40 -08:00
Tom Tromey
d2667a2b27
Bug 1060419 - make AppendPrintf and nsPrintfCString use Printf.h, r=froydnj
...
MozReview-Commit-ID: 2E8FoiNxU8L
--HG--
extra : rebase_source : 810ac727bef0751f24edea18c52e0ec170bf367d
2016-12-14 09:32:21 -07:00
Tom Tromey
aa2c6e6ff5
Bug 1060419 - make nsAppRunner.cpp use Printf.h, r=froydnj
...
MozReview-Commit-ID: Al0y5RiHCBZ
--HG--
extra : rebase_source : e297302fae61050c725fdab3990ff69976621192
2016-12-09 14:00:21 -10:00
Sylvestre Ledru
433d2ee658
Bug 1338086 - Remove useless else blocks in order to reduce complexity in toolkit/xre/ r=jimm
...
MozReview-Commit-ID: 33kF2DJl0Mi
--HG--
extra : rebase_source : c1a334c764eceac8b25323ba1cd87f8dc57710c4
2017-02-09 10:57:44 +01:00
Gregory Moore
ea25a9f712
Bug 883627 - Updated CreateResetProfile() to use the existing profile name for the newly created profile, r=gijs
...
MozReview-Commit-ID: Gkul477NIDG
--HG--
extra : amend_source : 239723bbd06e20dde68f2ac82ff4bc149c2b46d6
2017-02-09 15:29:58 -08:00
Martin Stransky
97b5e78aac
Bug 1336048 - Add display detection to dom/ipc/ContentChild.cpp, r=glandium
...
MozReview-Commit-ID: CwcGXFiIl4e
--HG--
extra : rebase_source : 04a6b70562cf292f2d5ba45b8e72788684f3baa8
2017-02-07 14:34:23 +01:00
Masatoshi Kimura
6b1547b6a1
Bug 1334866 - Remove Windows XP support from toolkit/xre/. r=bsmedberg
...
MozReview-Commit-ID: H93Jx632Olg
--HG--
extra : rebase_source : 11235d29f0e41447ab71c39277dc1e43320e674c
2017-01-29 16:17:37 +09:00
Felipe Gomes
c03b6cb044
Bug 1329752 - Don't enable e10s for XP users on ESR. r=jimm
...
MozReview-Commit-ID: CD9wvSOIj0s
--HG--
extra : rebase_source : 273613ef6e6a4f7dd0c4708d22f8081062e3ef5d
2017-02-03 16:25:30 -02:00
Sebastian Hengst
84697e5dbd
Backed out changeset 96ecba4a2327 (bug 1329752) for Windows build bustage due to attempted string conversion ins nsAppRunner.cpp. r=backout on a CLOSED TREE
2017-02-03 18:29:09 +01:00
Felipe Gomes
551dbcd7d1
Bug 1329752 - Don't enable e10s for XP users on ESR. r=jimm
...
MozReview-Commit-ID: H8XednifbBu
--HG--
extra : rebase_source : aff357d0e0ffd99848938aaa8238b1cfdfd71394
2017-02-02 16:14:38 -02:00
Mike Hommey
7523430127
Bug 1330533 - Use FuzzerDriver directly instead of wrapping it in a libfuzzer_main function. r=decoder
...
Going further from the previous changes, all libfuzzer_main really does
is call the init function, and then proceed to call the fuzzer driver
with the testing function.
So instead of calling that function for it to do all that, the
LibFuzzerRunner can just call the init function itself, and then
call the fuzzer driver with the testing function.
--HG--
extra : rebase_source : 2eb1a2ae763ef21827471cd32addceacefc1ac5d
2017-01-12 14:44:18 +09:00
Mike Hommey
92c5bff388
Bug 1330533 - Remove argc/argv arguments to XRE_LibFuzzerSetMain. r=decoder
...
The function given to XRE_LibFuzzerSetMain is called from somewhere that
does have access to argc/argv already, so we can avoid passing them
to XRE_LibFuzzerSetMain.
This actually might fix subtle issues with argc/argv not really matching
reality when calling the LibFuzzerMain function in the current code:
some arguments are handled before the call, and both argc and argv are
modified from within XRE_main, but the values stored for the
LibFuzzerMain call still are the original ones.
Argv being a pointer, and it not being reallocated, the value stored for
the LibFuzzerMain call points to the changed one, but argc, being an
integer, is not modified accordingly.
In fact, it's actually worse, because while the Gecko code doesn't
reallocate argv, gtk_main might. So if some GTK flag is passed on the
command line, there's also a possibility that the LibFuzzerMain function
will do a use-after-free.
So all in all, it's just better to use the set of modified argc/argv
from XRE_main instead of storing them from main().
--HG--
extra : rebase_source : 92b89909eab0fc2f67ce372b959bb0e3ed12cd2b
2017-01-12 11:59:37 +09:00
Benjamin Smedberg
c7352a6657
Bug 1306329 - Stop exporting XPCOM and XUL symbols. r=glandium
...
--HG--
extra : rebase_source : 482177f9c1026e527cff9f23b36a5076fa6d07a5
2016-12-02 12:55:34 -05:00
Wes Kocher
d4ced30f67
Backed out 4 changesets (bug 1306329) for 3000+ hazards a=backout
...
Backed out changeset 1c2f51ce3faf (bug 1306329)
Backed out changeset 6bb17b9a62d8 (bug 1306329)
Backed out changeset 377ca1419f1a (bug 1306329)
Backed out changeset ad4e531c7070 (bug 1306329)
MozReview-Commit-ID: KJAxdyJeJ6J
2017-01-17 17:55:24 -08:00
Benjamin Smedberg
d616a7ec44
Bug 1306329 - Stop exporting XPCOM and XUL symbols. r=glandium
...
--HG--
extra : rebase_source : 8c700498470b42279197f316d553154b1f2ed235
2016-12-02 12:55:34 -05:00
Mike Hommey
2330dcf840
Bug 1306327 - Move reading application.ini to XRE_main. r=bsmedberg
...
Reading application.ini involves using nsCOMPtr<nsIFile>, and that can
only happen through the XPCOM glue, which we eventually want to get rid
of.
So, while keeping the command line argument/environment variable
handling in nsBrowserApp, we move the actually parsing of the file to
XRE_main, where things can be handled without the XPCOM glue.
--HG--
extra : rebase_source : 487960a671476d4edae4f568c37efa6563ef4dff
2017-01-10 16:43:23 +09:00
Mike Hommey
17436e8731
Bug 1306327 - Remove NS_XRE_DLL_BLOCKLIST_ENABLED. r=bsmedberg
...
Instead of having nsBrowserApp.cpp set a flag in XREAppData to indicate
whether the DLL blocklist properly initialized, just have XRE code ask
the blocklist itself.
--HG--
extra : rebase_source : e872853481acce68b325909e476d009aec878701
2017-01-10 09:10:36 +09:00
Mike Hommey
af19e1f051
Bug 1306327 - Remove the flags argument to XRE_main. r=bsmedberg
...
This hasn't been used since the removal of the Metro code in bug
1039866, close to two years ago.
--HG--
extra : rebase_source : 58ec1ce63e4231c8006cafd3424675f14ddbf9f1
2017-01-10 14:15:50 +09:00
Bobby Holley
f46d514349
Bug 1328651
- Move servo initialization/shutdown back to nsLayoutStatics.cpp. r=heycam
2017-01-08 17:42:29 -08:00
Gijs Kruitbosch
c3347c9d19
Bug 1122124 - fix default profile setting after reset, keep profile name, r=MattN
...
MozReview-Commit-ID: 9h1ktdUUVZH
--HG--
extra : rebase_source : aa82bd4048d5e3288d524caabbedcb9f5d20ff8a
2016-05-10 10:09:46 +01:00
Benjamin Smedberg
d37894f60d
Bug 1321593 part A - Refactor nsXREAppData: 1) make nsXREAppData strongly own its members 2) rename it to mozilla::XREAppData 3) separate out the static compiled data into StaticXREAppData 4) Remove XRE_CreateAppData and XRE_FreeAppData 5) remove the struct size and related size-checking code which was only ever useful for cross-version compatibility, r=glandium
...
MozReview-Commit-ID: CQv1UrSaw4D
--HG--
rename : xpcom/build/nsXREAppData.h => xpcom/build/XREAppData.h
rename : xpcom/glue/AppData.cpp => xpcom/glue/XREAppData.cpp
extra : source : eae2252a519f3ac5850f5110a6a1be45891ea5e9
2016-12-02 09:07:24 -05:00
Sebastian Hengst
27bd22acd7
Backed out changeset eae2252a519f (bug 1321593) for leaks, e.g. in clipboard and jetpack tests. r=backout
...
--HG--
rename : xpcom/build/XREAppData.h => xpcom/build/nsXREAppData.h
rename : xpcom/glue/XREAppData.cpp => xpcom/glue/AppData.cpp
2016-12-12 22:10:17 +01:00
Benjamin Smedberg
4df1abc2c0
Bug 1321593 part A - Refactor nsXREAppData: 1) make nsXREAppData strongly own its members 2) rename it to mozilla::XREAppData 3) separate out the static compiled data into StaticXREAppData 4) Remove XRE_CreateAppData and XRE_FreeAppData 5) remove the struct size and related size-checking code which was only ever useful for cross-version compatibility, r=glandium
...
MozReview-Commit-ID: CQv1UrSaw4D
--HG--
rename : xpcom/build/nsXREAppData.h => xpcom/build/XREAppData.h
rename : xpcom/glue/AppData.cpp => xpcom/glue/XREAppData.cpp
extra : rebase_source : c909ee206d31b110c6a38cc466ef24a465ee2ae5
extra : histedit_source : e86c3900412229f99ade29c5b8e3943d943ec718
2016-12-02 09:07:24 -05:00
Marco Castelluccio
5cd305b7b3
Bug 1315213 - Add "CurrentPatchLevel" to the list of possible values where the microcode version is stored. r=milan
2016-12-01 09:31:46 +01:00
Marco Castelluccio
bb7c32f517
Bug 1315213 - Support reading microcode version from the registry when it is a REG_DWORD value (sometimes used for AMD CPUs). r=milan
2016-12-01 09:31:14 +01:00
Carsten "Tomcat" Book
dd36826044
Merge mozilla-central to mozilla-inbound
2016-11-24 16:46:19 +01:00
Bob Owen
6b86819989
Bug 1147911 Part 6: Send remote type down to child. r=gijs, r=smaug
2016-11-24 15:08:31 +00:00
Sylvestre Ledru
197c2c53d8
Bug 1318004
- Converts for(...; ...; ...) loops to use the new range-based loops in C++11. r=Ehsan
...
MozReview-Commit-ID: lk5eJXUno9
--HG--
extra : rebase_source : b8d2fe8df709e19412593f4825ec10cb559eff7e
2016-11-16 17:12:13 +01:00
Sebastian Hengst
e44f8e0dfe
Backed out changeset 360c780c0a95 (bug 1147911)
2016-11-23 18:32:54 +01:00
Bob Owen
b85bbccedd
Bug 1147911 Part 6: Send remote type down to child. r=gijs, r=smaug
2016-11-23 13:36:58 +00:00
Wes Kocher
9cd626a6a3
Backed out 4 changesets (bug 1318004
) for xpcshell failures a=backout CLOSED TREE
...
Backed out changeset a3fe53641526 (bug 1318004
)
Backed out changeset a5d1676b6f88 (bug 1318004
)
Backed out changeset b56b37f0f4d7 (bug 1318004
)
Backed out changeset fb5254baf1cb (bug 1318004
)
2016-11-21 16:15:38 -08:00
Sylvestre Ledru
4133efb733
Bug 1318004
- Converts for(...; ...; ...) loops to use the new range-based loops in C++11. r=Ehsan
...
MozReview-Commit-ID: lk5eJXUno9
--HG--
extra : rebase_source : b222c4a47e5b7b0d758f9436d172d905168db164
2016-11-16 17:12:13 +01:00
Wes Kocher
e9f743f2af
Backed out 4 changesets (bug 1318004
) for xpcshell failures a=backout
...
Backed out changeset 6995bd33872b (bug 1318004
)
Backed out changeset 9be5c856bc78 (bug 1318004
)
Backed out changeset 365b0b7f289a (bug 1318004
)
Backed out changeset 2f2ebf176eac (bug 1318004
)
2016-11-21 12:23:17 -08:00
Sylvestre Ledru
9c80f7b6f2
Bug 1318004
- Converts for(...; ...; ...) loops to use the new range-based loops in C++11. r=Ehsan
...
MozReview-Commit-ID: lk5eJXUno9
--HG--
extra : rebase_source : b222c4a47e5b7b0d758f9436d172d905168db164
2016-11-16 17:12:13 +01:00
Eric Rahm
4ec2c95fa7
Bug 1316729 - Pass command-line args to gtest. r=ted
...
MozReview-Commit-ID: 8Xs52E9NnCq
2016-11-16 13:04:11 -08:00
Sebastian Hengst
ea96126bb8
Backed out changeset 1a72c4919371 (bug 1147911)
2016-11-18 00:58:51 +01:00
Bob Owen
fb53b5987c
Bug 1147911 Part 6: Send remote type down to child. r=gijs, r=smaug
2016-11-17 15:48:52 +00:00
Jim Mathies
b30144022d
Bug 1312100 - Enable a11y with e10s for Linux/OSX on all channels. r=felipe
...
MozReview-Commit-ID: Ex7T5S6MNJR
2016-11-02 07:26:41 -05:00
Carsten "Tomcat" Book
40cbfabd47
Backed out changeset e71702af187b (bug 1312100) for bustage
...
--HG--
extra : rebase_source : 7ed159ca1a2cb6d6247bc8860ac5f9e53142f95a
2016-11-02 12:36:31 +01:00
Jim Mathies
e3f5b0ff43
Bug 1312100 - Enable a11y with e10s for Linux/OSX on all channels. r=felipe
...
MozReview-Commit-ID: ByOtfJ4HmMO
--HG--
extra : rebase_source : 639d8433430392beda41c5e3bd13a56ce5b5bb52
2016-10-25 08:40:21 -05:00
Manuel Griessmayr
0628b97521
Bug 1311783 - Pretty print firefox -h. r=bsmedberg
2016-10-28 07:40:00 -04:00
Jed Davis
13fea0b617
Bug 1268733 - Move sandbox telemetry / crash annotation code from mozsandbox to libxul. r=haik
2016-10-26 16:57:10 -06:00
aleth
3393f980e5
Backed out changeset 028b297ddba4 (Bug 1311783) for eslint failures. rs=bustage-fix
...
--HG--
extra : rebase_source : 2b601136f1e3b28d11a7c47d29c5fc36f96366c0
extra : amend_source : 1fd328e51326cd1ac4cb670cbe93ef1160db2a24
2016-10-26 19:41:20 +02:00
Manuel Griessmayr
31a011d1d4
Bug 1311783 - Pretty print firefox -h. r=bsmedberg
...
--HG--
extra : amend_source : 0fa054832c397bcff54892a8eee357540db45df3
2016-10-20 11:51:00 +02:00
Aaron Klotz
d65e835225
Bug 1310788: Modify e10s check to allow a11y on Windows Vista and newer; r=jimm
...
MozReview-Commit-ID: 19OzVHDcsNM
--HG--
extra : rebase_source : 5d3ee4a83ac4eb5e7b0f4816e5e1548ccc9d5b67
2016-10-17 13:07:51 -06:00
Sebastian Hengst
c4a0ba38de
Bug 1304829 - Rename nsXULAppInfo's isReleaseBuild to isReleaseOrBeta. r=ted
...
MozReview-Commit-ID: J4F27Z1Hy7h
2016-10-14 13:31:39 +02:00
Jim Mathies
5cb37c2745
Bug 1309599 - Turn e10s on for RTL linux users. r=felipe
...
MozReview-Commit-ID: IY4YIcYayKB
2016-10-12 15:12:04 -05:00