Commit Graph

64 Commits

Author SHA1 Message Date
Sylvestre Ledru
c82ea97226 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D30883

--HG--
extra : moz-landing-system : lando
2019-05-24 09:59:17 +00:00
Andrew Osmond
17c3cc5d39 Bug 1544105 - Part 1. Expose new driver vendor field for the graphics blocklist. r=jrmuizel
This reunifies the behaviour changed in bug 1294232 to ensure that the
vendor ID of GfxInfo is the same between graphics hardware. Vendor ID
should always represent Intel, Nvidia, ATI, etc such that callers can
reason about the performance characteristics without being exposed to
the driver implementation for that platform. Now we split off the more
detailed driver information into the "driver vendor" which will contain
more information, such as what implementation is being used (e.g.
mesa/i965 for modern Intel graphics cards). This field is exposed to the
blocklist and will be useful for allowing different rules for different
driver implementations.

We also now provide a default implementation for
GfxInfoBase::FindMonitors for platforms missing support. This will just
list the primary screen size used without listing secondary monitors,
refresh rate, and such.

Differential Revision: https://phabricator.services.mozilla.com/D29471
2019-05-03 18:26:06 -04:00
Mihai Alexandru Michis
25a6b02677 Backed out 2 changesets (bug 1544105) for leaks in mda tests and failing browser_Troubleshoot.js CLOSED TREE
Backed out changeset eca7ee42af96 (bug 1544105)
Backed out changeset a8cd879f02ce (bug 1544105)
2019-05-03 23:19:03 +03:00
Andrew Osmond
f289a95270 Bug 1544105 - Part 1. Expose new driver vendor field for the graphics blocklist. r=jrmuizel
This reunifies the behaviour changed in bug 1294232 to ensure that the
vendor ID of GfxInfo is the same between graphics hardware. Vendor ID
should always represent Intel, Nvidia, ATI, etc such that callers can
reason about the performance characteristics without being exposed to
the driver implementation for that platform. Now we split off the more
detailed driver information into the "driver vendor" which will contain
more information, such as what implementation is being used (e.g.
mesa/i965 for modern Intel graphics cards). This field is exposed to the
blocklist and will be useful for allowing different rules for different
driver implementations.

We also now provide a default implementation for
GfxInfoBase::FindMonitors for platforms missing support. This will just
list the primary screen size used without listing secondary monitors,
refresh rate, and such.

Differential Revision: https://phabricator.services.mozilla.com/D29471
2019-05-03 14:57:58 -04:00
Daniel Varga
2b81f4d301 Backed out 2 changesets (bug 1544105) for build bustages. On a CLOSED TREE
Backed out changeset 215c2693d281 (bug 1544105)
Backed out changeset 16d5af6fd55c (bug 1544105)
2019-05-03 19:12:48 +03:00
Andrew Osmond
c4dec73816 Bug 1544105 - Part 1. Expose new driver vendor field for the graphics blocklist. r=jrmuizel
This reunifies the behaviour changed in bug 1294232 to ensure that the
vendor ID of GfxInfo is the same between graphics hardware. Vendor ID
should always represent Intel, Nvidia, ATI, etc such that callers can
reason about the performance characteristics without being exposed to
the driver implementation for that platform. Now we split off the more
detailed driver information into the "driver vendor" which will contain
more information, such as what implementation is being used (e.g.
mesa/i965 for modern Intel graphics cards). This field is exposed to the
blocklist and will be useful for allowing different rules for different
driver implementations.

We also now provide a default implementation for
GfxInfoBase::FindMonitors for platforms missing support. This will just
list the primary screen size used without listing secondary monitors,
refresh rate, and such.

Differential Revision: https://phabricator.services.mozilla.com/D29471
2019-05-03 11:13:26 -04:00
Sylvestre Ledru
ef0bfc3822 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D24168

--HG--
extra : moz-landing-system : lando
2019-03-31 15:12:55 +00:00
Andrew Comminos
6828eee6b1 Bug 1294232 - Refactor blocklisting on Linux to support the downloadable blocklist. r=jrmuizel
MozReview-Commit-ID: ESJY9kkqXR8

Differential Revision: https://phabricator.services.mozilla.com/D19190
2019-03-18 07:50:02 -04:00
Sylvestre Ledru
0b4021fcad Bug 1521460 - Also reformat objective-c files r=mstange,ehsan,spohl
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D17139

--HG--
extra : histedit_source : 084f340503d2e1a2d9e1753c38b2c4ee9c7819f3
2019-01-21 18:18:16 +01:00
Jonathan Watt
906aa3faf2 Bug 1510247. Fix some unified build issues in widget code. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D13061

--HG--
extra : rebase_source : 919f43d45fc9bc4fe8502b0acf3d01ed067cdd49
2018-11-14 17:03:36 +00:00
Gabriele Svelto
15adf94f4d Bug 1348273 - Convert crash annotations into a machine-readable list of constants; r=ted.mielczarek,njn,dholbert,mak,cpearce,mcmanus,froydnj,Dexter,jrmuizel,jchen,jimm,bz,surkov
This introduces the machinery needed to generate crash annotations from a YAML
file. The relevant C++ functions are updated to take a typed enum. JavaScript
calls are unaffected but they will throw if the string argument does not
correspond to one of the known entries in the C++ enum. The existing whitelists
and blacklists of annotations are also generated from the YAML file and all
duplicate code related to them has been consolidated. Once written out to the
.extra file the annotations are converted in string form and are no different
than the existing ones.

All existing annotations have been included in the list (and some obsolete ones
have been removed) and all call sites have been updated including tests where
appropriate.

--HG--
extra : source : 4f6c43f2830701ec5552e08e3f1b06fe6d045860
2018-07-05 15:42:11 +02:00
David Major
2428ba795b Bug 1460699 followup bustage fix.
error: use of undeclared identifier 'sShutdownOccured'; did you mean 'sShutdownOccurred'?

Why yes, yes I did. Thanks clang!
2018-05-14 11:48:01 -04:00
David Major
8c24450c7e Bug 1460699: Use an 's' rather than 'm' prefix for GfxInfo static variables. r=milan 2018-05-14 11:16:50 -04:00
David Major
a0c067cd0e Bug 1458270: Clean up in the shutdown observer. r=milan 2018-05-08 17:37:25 -04:00
Milan Sreckovic
4712274b69 Bug 1455696: gfx.webrender.all.qualified preference to default to WR for non-blocked devices/hardware. gfx.webrender.all will still force it on. r=milan
--HG--
extra : rebase_source : 173f06f702ccc4eb93d0e4533316056cb07c88af
2018-05-03 13:02:00 +03:00
Gabriele Svelto
cbb30621ec Bug 1402519 - Remove MOZ_CRASHREPORTER directives from widget; r=froydnj
--HG--
extra : rebase_source : 4472a8d6ce5edf1b5a4665d522a1816020308a43
2017-11-23 10:59:04 +01:00
shindli
fb855aa7ba Backed out 16 changesets (bug 1402519) for conflicts during merge r=backout on a CLOSED TREE
Backed out changeset 07fcf163241a (bug 1402519)
Backed out changeset c6d2ad45d8e2 (bug 1402519)
Backed out changeset 8a3caca61294 (bug 1402519)
Backed out changeset 01425eae2c48 (bug 1402519)
Backed out changeset cf298d3815de (bug 1402519)
Backed out changeset e1964f4389cd (bug 1402519)
Backed out changeset f405337f3569 (bug 1402519)
Backed out changeset a76356fd3359 (bug 1402519)
Backed out changeset d3bb350d1c34 (bug 1402519)
Backed out changeset 9d3bfd9f932c (bug 1402519)
Backed out changeset e3dd6e5b073f (bug 1402519)
Backed out changeset e801b0c00134 (bug 1402519)
Backed out changeset 8a4139fa5dca (bug 1402519)
Backed out changeset 8d01c14ac1ca (bug 1402519)
Backed out changeset 24e0dcd01898 (bug 1402519)
Backed out changeset f8fdf450613f (bug 1402519)
2017-11-23 00:11:44 +02:00
Gabriele Svelto
c60ce072a7 Bug 1402519 - Remove MOZ_CRASHREPORTER directives from widget; r=froydnj
This does not remove the directives in widget/ContentCache.cpp as those crash
annotations should be temporary and will be removed once bug 1405832 is fixed.

MozReview-Commit-ID: F0STyYDx8F4

--HG--
extra : rebase_source : 737d3e500e1dd066730660fede52226e832305e6
2017-10-10 16:04:47 +02:00
Tristan Bourvon
357ebb9638 Bug 1412645 - Initialize some uninitialized fields in widget/cocoa/. r=mstange 2017-10-31 11:25:04 +01:00
Milan Sreckovic
848f9f69d4 Bug 1403945: Add utility functions to recognize OS X 10.13. r=mstange
MozReview-Commit-ID: Bw0jkyWrIzD

--HG--
extra : rebase_source : bf8bff4e9bf7892efa3f88565af0489257949958
2017-09-28 10:21:10 -04:00
Chris Peterson
45aa2a8e8e Bug 870698 - Part 2: Replace Append("") with AppendLiteral(""). r=erahm
MozReview-Commit-ID: CrkIP4iHP1U

--HG--
extra : rebase_source : 5dc4e91a3f1860773c199f1abf3f66479218834a
extra : intermediate-source : ba51cc79847f2b43ba616f4a5d2bbc6958ca9f6d
extra : source : 1fda2fa990cc918c748ffa14fcc5dbe13fe3bdc3
2017-09-03 22:14:11 -07:00
Milan Sreckovic
8995d0bec7 Bug 1284341: Add utility functions to recognize OS X 10.12. r=mstange
MozReview-Commit-ID: BZOv9lSeWq

--HG--
extra : rebase_source : bb42cbb77b77f0b73e9165c2187bfe9e13a83063
2016-07-04 17:25:25 -04:00
Milan Sreckovic
d5f46d27b3 Bug 1274635: Have OperatingSystem an enum class, change All to mean All Windows. r=BenWa
MozReview-Commit-ID: ADe4EmPzTuc

--HG--
extra : rebase_source : c3a7ee2846935291297f51cb1898ec46543a6870
2016-06-03 16:13:08 -04:00
Benoit Girard
85ba14a3e5 Bug 1263249 - Bubble up unique failureId in GetFeatureStatus. r=mconley,milan
MozReview-Commit-ID: JveFLuIcbaN

--HG--
extra : rebase_source : 3f583b44c30495b237fd263e4818430443bf5513
2016-04-13 17:12:47 -04:00
Milan Sreckovic
9ca74932b6 Bug 1249640: Part 3 Update Mac to use the new blocking. r=mchang 2016-02-24 10:25:00 +01:00
Sebastian Hengst
38e8f42dfb Backed out changeset 8151f4102646 (bug 1249640) 2016-02-24 19:01:50 +01:00
Milan Sreckovic
ef6d814a88 Bug 1249640: Part 3 Update Mac to use the new blocking. r=mchang 2016-02-19 14:40:00 +01:00
Milan Sreckovic
f0372a59b0 Bug 1249777: Added support for 10.11 in the blocklisting code as well. r=mstange
MozReview-Commit-ID: JCkFwfkEyEa

--HG--
extra : rebase_source : 3d6aa2044cbd91410e75fdd5b4b5d9d6148f9619
2016-02-19 16:59:37 -05:00
Chris Manchester
f2dcab6039 Bug 1131325 - Move system country code from nsIGfxInfo2 to a more appropriate location. r=aklotz,smichaud
--HG--
extra : commitid : Jglg9X6ykB1
2015-07-28 15:45:34 -07:00
David Anderson
c706cc9338 Add nsIGfxInfo::ListMonitors support for OS X. (bug 1175005 part 3, r=mstange) 2015-07-13 01:12:44 -07:00
Carsten "Tomcat" Book
7b8c1b99eb Backed out changeset 9fac75be77b7 (bug 1175005) 2015-07-10 08:39:38 +02:00
David Anderson
fae0692976 Add nsIGfxInfo::ListMonitors support for OS X. (bug 1175005 part 3, r=mstange)
--HG--
extra : rebase_source : 43ed0dba6b9404fbf7f0d3c409c8ac5f53d0e976
2015-06-17 23:12:06 -07:00
Joel Maher
eba084d3dc bug 1175005: performance regression. backout_44b74f0b7e1d 2015-07-09 11:48:27 +01:00
David Anderson
d50c97dfca Add nsIGfxInfo::ListMonitors support for OS X. (bug 1175005 part 3, r=mstange) 2015-06-17 23:12:06 -07:00
Kartikaya Gupta
ddb0ba167d Bug 1167693 - Ensure device and vendor IDs are zero-padded. r=mstange 2015-06-01 17:04:15 -04:00
Milan Sreckovic
e181f2a9bf Bug 1100530 - Clean up OS X version constants. f=jgilbert, r=mstange 2014-11-28 17:28:59 -05:00
Steven Michaud
86cf3dd3b0 Bug 1102295 - Get country data on the Mac. r=bsmedberg 2014-11-21 18:23:09 -06:00
Milan Sreckovic
50b7a495b6 Bug 918386 - Add webidl for adapter subsys. Only relevant on Windows. r=vvukicevic. 2014-07-09 14:21:49 -04:00
Carsten "Tomcat" Book
31145f4c87 Backed out changeset 9f4b2ff029e3 (bug 918386) for breaking emulator tests on a CLOSED TREE 2014-07-09 14:07:52 +02:00
Milan Sreckovic
f50d227be7 Bug 918386: Add webidl for adapter subsys. Only relevant on Windows. r=vvukicevic. 2014-06-30 14:26:39 -04:00
Ryan VanderMeulen
1faa299871 Backed out changeset 9f1c312a85ee (bug 918386) for crashes. 2014-07-03 14:37:10 -04:00
Milan Sreckovic
8b27a0b4d2 Bug 918386: Add webidl for adapter subsys. Only relevant on Windows. r=vvukicevic. 2014-06-30 14:26:39 -04:00
Walter Litwinczyk
cfa586e393 Bug 701948 - Rename nsIGfxInfo::FEATURE_NO_INFO to nsIGfxInfo::FEATURE_STATUS_OK. r=jgilbert 2014-07-01 14:44:09 -07:00
Birunthan Mohanathas
5f1fde8824 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Birunthan Mohanathas
3440613a39 Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Josh Aas
1775fc7148 Bug 903788 - Fix a few memory leaks in Cocoa file picker code. r=smichaud 2013-08-12 13:29:00 -04:00
Chris Peterson
3f4b5f2360 Bug 847709 - Remove unused mRendererIDs code in widget/cocoa. r=jrmuizel 2013-08-01 22:25:16 -07:00
Mats Palmgren
b7ae90666d Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Josh Aas
32446fd81f Bug 801601: Remove code specific to OS X 10.5 in Cocoa widgets. r=smichaud 2012-11-09 05:22:36 -05:00
Ehsan Akhgari
8cc30b88b2 Bug 792502 - Kill the FunctionTimer code; r=vlad 2012-09-19 16:59:38 -04:00