Ben Hearsum
8e38e3189f
Bug 1750991: Add helper for writing to a new shortcuts log in ProgramData. r=mhowell
...
These new shortcut logs are named with App name + User SID, which should almost certainly be writeable (unless someone manually created one with a different account for some reason).
Differential Revision: https://phabricator.services.mozilla.com/D138195
2022-03-17 16:33:33 +00:00
Nick Alexander
05abfd9e68
Bug 1743914 - Part 3: Telemetry for when Firefox is the default handler. r=chutten,mhowell
...
This only records whether Firefox is the default PDF handler for now.
But it will accommodate additional file types and protocols in the
future, should they be desired.
This is Windows 10+ only, since we really only care about PDF handling
defaults where Edgium is the OS default.
Differential Revision: https://phabricator.services.mozilla.com/D132659
2021-12-12 03:52:57 +00:00
Butkovits Atila
f5dde92479
Backed out 3 changesets (bug 1743914) for causing failures at browser_setDefaultPDFHandler.js. CLOSED TREE
...
Backed out changeset 01e19b8ec15b (bug 1743914)
Backed out changeset c46d66869d03 (bug 1743914)
Backed out changeset 57d0f8824e35 (bug 1743914)
2021-12-11 10:48:19 +02:00
Nick Alexander
67477c0843
Bug 1743914 - Part 3: Telemetry for when Firefox is the default handler. r=chutten,mhowell
...
This only records whether Firefox is the default PDF handler for now.
But it will accommodate additional file types and protocols in the
future, should they be desired.
This is Windows 10+ only, since we really only care about PDF handling
defaults where Edgium is the OS default.
Differential Revision: https://phabricator.services.mozilla.com/D132659
2021-12-11 06:25:57 +00:00
Narcis Beleuzu
bfb7e382db
Backed out 3 changesets (bug 1743914) for bc failures on browser_setDefaultPDFHandler.js
...
Backed out changeset 088401e43bd4 (bug 1743914)
Backed out changeset 7cb74ac80d41 (bug 1743914)
Backed out changeset 20713ede0c08 (bug 1743914)
2021-12-11 03:28:02 +02:00
Nick Alexander
576a1e6fc3
Bug 1743914 - Part 3: Telemetry for when Firefox is the default handler. r=chutten,mhowell
...
This only records whether Firefox is the default PDF handler for now.
But it will accommodate additional file types and protocols in the
future, should they be desired.
This is Windows 10+ only, since we really only care about PDF handling
defaults where Edgium is the OS default.
Differential Revision: https://phabricator.services.mozilla.com/D132659
2021-12-11 00:02:40 +00:00
Adam Gashlin
e7e5e33613
Bug 1710137 - Don't run helper to set default from a package. r=mhowell
...
Differential Revision: https://phabricator.services.mozilla.com/D114662
2021-07-13 20:31:25 +00:00
Molly Howell
3d996db854
Bug 1709671 - Remove redundant ProgID check from IsDefaultBrowser. r=agashlin
...
Also switch to removing the quotes and command-line parameters from the command
string obtained from the registry before comparing it to our path, instead of
*adding* those things to our path, to make the comparison more reliable.
Differential Revision: https://phabricator.services.mozilla.com/D114383
2021-07-07 17:33:06 +00:00
Adam Gashlin
dcfa86884d
Bug 1703578 - Part 3: Invoke WDBA to set UserChoice. r=bytesized
...
Depends on D113427
Differential Revision: https://phabricator.services.mozilla.com/D113428
2021-06-17 18:06:35 +00:00
Adam Gashlin
157cff8f79
Backed out 4 changesets (Bug 1703578). r=bytesized
...
Differential Revision: https://phabricator.services.mozilla.com/D114553
2021-05-06 22:35:23 +00:00
Adam Gashlin
cd185cd31c
Bug 1703578 - Part 3: Invoke WDBA to set UserChoice. r=bytesized
...
Differential Revision: https://phabricator.services.mozilla.com/D113428
2021-05-06 15:03:48 +00:00
Simon Giesecke
6d4c161445
Bug 1679522 - Use <> style for including windows system headers. r=andi
...
Differential Revision: https://phabricator.services.mozilla.com/D98895
2021-03-25 10:19:44 +00:00
Adam Gashlin
6ff7760dbf
Bug 1685213 - Part 4: Convert pin check to async. r=bytesized
...
Differential Revision: https://phabricator.services.mozilla.com/D106346
2021-02-25 23:15:48 +00:00
Adam Gashlin
c65490fba9
Bug 1685213 - Part 2: Implement shortcut location classifier. r=bytesized
...
Differential Revision: https://phabricator.services.mozilla.com/D106344
2021-02-25 23:15:47 +00:00
Adam Gashlin
7a868953a5
Bug 1687562 - Part 2: Detect whether Firefox is pinned to the taskbar. r=mhowell
...
Differential Revision: https://phabricator.services.mozilla.com/D105365
2021-02-17 05:10:53 +00:00
Adam Gashlin
61e489d6aa
Bug 1687562 - Part 1: Implement Taskbar pinning. r=mhowell
...
Differential Revision: https://phabricator.services.mozilla.com/D104779
2021-02-17 05:10:53 +00:00
Simon Giesecke
46908cfb51
Bug 1660470 - Add missing include directives/forward declarations. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D87865
2020-11-23 16:21:38 +00:00
Nick Alexander
cabba6d757
Bug 1651136 - Part 2: Use non-XPCOM bool instead of nsresult in code used in updater. r=bytesized
...
Differential Revision: https://phabricator.services.mozilla.com/D82641
2020-07-08 23:38:15 +00:00
Kirk Steuber
18a4eefa82
Bug 1621696 - Expose LaunchModernSettingsDialogDefaultApps such that it can be called without libxul r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D73962
2020-07-01 18:42:16 +00:00
Simon Giesecke
a69d79b6db
Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D80860
2020-07-01 08:29:29 +00:00
Dave Townsend
ec72562c2d
Bug 1602195: Show site specific browsers as separate taskbar entries on windows. r=mhowell
...
Gives a site specific browser window a custom model ID and adds the same model
ID to its shortcut. This makes the window appear distinct from the rest of
Firefox's windows in the taskbar and allows for pinning the new entry to the
taskbar.
Differential Revision: https://phabricator.services.mozilla.com/D56780
2019-12-29 11:50:19 +00:00
Bogdan Tara
47166f5f0a
Backed out 2 changesets (bug 1602195) for toolkit/components/alerts/test/test_alerts.html failures CLOSED TREE
...
Backed out changeset 399d66c91450 (bug 1602195)
Backed out changeset c007b95a362c (bug 1602195)
2019-12-19 03:50:16 +02:00
Dave Townsend
eb784a9ee1
Bug 1602195: Show site specific browsers as separate taskbar entries on windows. r=mhowell
...
Gives a site specific browser window a custom model ID and adds the same model
ID to its shortcut. This makes the window appear distinct from the rest of
Firefox's windows in the taskbar and allows for pinning the new entry to the
taskbar.
Differential Revision: https://phabricator.services.mozilla.com/D56780
2019-12-18 22:01:40 +00:00
Gurzau Raul
dae806f865
Backed out 2 changesets (bug 1602195) for assertion failures at ServoUtils.h on a CLOSED TREE.
...
Backed out changeset 1ed20a4511bf (bug 1602195)
Backed out changeset db0d6cb87c2a (bug 1602195)
2019-12-18 21:13:02 +02:00
Dave Townsend
fd6edd9b19
Bug 1602195: Show site specific browsers as separate taskbar entries on windows. r=mhowell
...
Gives a site specific browser window a custom model ID and adds the same model
ID to its shortcut. This makes the window appear distinct from the rest of
Firefox's windows in the taskbar and allows for pinning the new entry to the
taskbar.
Differential Revision: https://phabricator.services.mozilla.com/D56780
2019-12-18 16:38:46 +00:00
Dave Townsend
20677cc919
Bug 1602196: Generate an icon for the ssb shortcut on windows. r=mhowell
...
Differential Revision: https://phabricator.services.mozilla.com/D56773
2019-12-18 16:38:23 +00:00
Dave Townsend
dcfa99738a
Bug 1602191: Create a shortcut on the windows desktop to launch an installed ssb. r=mhowell,Gijs
...
Adds an XPCOM API for creating a windows shortcut and uses it to create one
when installing a SSB.
Differential Revision: https://phabricator.services.mozilla.com/D56292
2019-12-17 03:44:31 +00:00
Narcis Beleuzu
9f61abce8d
Backed out 3 changesets (bug 1602191, bug 1602194, bug 1602196) for Windows MinGW bustages on WindowsUIUtils.cpp. CLOSED TREE
...
Backed out changeset 73c93dc0c790 (bug 1602196)
Backed out changeset ab3c0af1ec40 (bug 1602194)
Backed out changeset f1b308c595c8 (bug 1602191)
2019-12-17 05:41:41 +02:00
Dave Townsend
f3e09a9696
Bug 1602196: Generate an icon for the ssb shortcut on windows. r=mhowell
...
Differential Revision: https://phabricator.services.mozilla.com/D56773
2019-12-16 21:40:38 +00:00
Dave Townsend
009ee3a30f
Bug 1602191: Create a shortcut on the windows desktop to launch an installed ssb. r=mhowell,Gijs
...
Adds an XPCOM API for creating a windows shortcut and uses it to create one
when installing a SSB.
Differential Revision: https://phabricator.services.mozilla.com/D56292
2019-12-16 20:11:04 +00:00
Gabriele Svelto
eeb9bfc398
Bug 1600545 - Remove useless inclusions of header files generated from IDL files in accessible/, browser/, caps/, chrome/, devtools/, docshell/, editor/, extensions/, gfx/, hal/, image/, intl/, ipc/, js/, layout/, and media/ r=Ehsan
...
The inclusions were removed with the following very crude script and the
resulting breakage was fixed up by hand. The manual fixups did either
revert the changes done by the script, replace a generic header with a more
specific one or replace a header with a forward declaration.
find . -name "*.idl" | grep -v web-platform | grep -v third_party | while read path; do
interfaces=$(grep "^\(class\|interface\).*:.*" "$path" | cut -d' ' -f2)
if [ -n "$interfaces" ]; then
if [[ "$interfaces" == *$'\n'* ]]; then
regexp="\("
for i in $interfaces; do regexp="$regexp$i\|"; done
regexp="${regexp%%\\\|}\)"
else
regexp="$interfaces"
fi
interface=$(basename "$path")
rg -l "#include.*${interface%%.idl}.h" . | while read path2; do
hits=$(grep -v "#include.*${interface%%.idl}.h" "$path2" | grep -c "$regexp" )
if [ $hits -eq 0 ]; then
echo "Removing ${interface} from ${path2}"
grep -v "#include.*${interface%%.idl}.h" "$path2" > "$path2".tmp
mv -f "$path2".tmp "$path2"
fi
done
fi
done
Differential Revision: https://phabricator.services.mozilla.com/D55443
2019-12-06 09:16:44 +00:00
Mark Banner
ba7ecdeeaf
Bug 324361 - Remove openApplication/openApplicationWithURI from the shell service as they aren't used. r=mossop
...
Keeps a function for opening the Mac desktop preferences.
Differential Revision: https://phabricator.services.mozilla.com/D43269
2019-08-27 08:03:12 +00:00
Makoto Kato
52c10c14b1
Bug 1539348 - Write old bitmap format for wallpaper support of Windows 7. r=jmathies
...
This is regression by bug 1502772. Windows 7 doesn't support bitmap v4 format
for wallpaper. So I revert to previous code to write wallpaper bitmap.
Differential Revision: https://phabricator.services.mozilla.com/D27465
2019-04-15 19:47:28 +00:00
Ian Moody
d441aa82ae
Bug 612373 - Add "Span" option for Windows and Linux to "Set As Desktop Background". r=Gijs
...
Gnome introduced this in 2.30[0], Windows in 8[1].
Preview is just an "international prohibition symbol" to save the complicated
business of trying to calculate a semi-accurate one.
[0]
8eb0886312
https://bugzilla.gnome.org/show_bug.cgi?id=603551
[1]
https://superuser.com/questions/1061416/which-version-of-windows-introduced-the-span-wallpaper-style
Differential Revision: https://phabricator.services.mozilla.com/D23336
2019-03-27 18:26:19 +00:00
Kris Maglione
fc47f72f82
Bug 1524687: Part 11 - Convert browser modules to static registration. r=mossop
2019-01-25 16:41:53 -08:00
Csoregi Natalia
ddfb8b53b5
Backed out 79 changesets (bug 1524687, bug 1524688) for crashes on mozilla::dom::ScreenOrientation::ScreenOrientation(nsPIDOMWindowInner *,nsScreen *). CLOSED TREE
...
Backed out changeset 68a001a42406 (bug 1524687)
Backed out changeset 328de611bcd3 (bug 1524688)
Backed out changeset 68cffca6927a (bug 1524687)
Backed out changeset 81dc12cc9257 (bug 1524688)
Backed out changeset c7c49f64048f (bug 1524688)
Backed out changeset fb23a0271da0 (bug 1524688)
Backed out changeset 0c1d1248e59e (bug 1524688)
Backed out changeset 9e9ec7de4160 (bug 1524688)
Backed out changeset de0b9993bd5d (bug 1524688)
Backed out changeset 92877cf4fe33 (bug 1524688)
Backed out changeset b4938f2ff8fd (bug 1524688)
Backed out changeset 230d2feaf941 (bug 1524688)
Backed out changeset 6c63bc240972 (bug 1524688)
Backed out changeset 0ad5465eace1 (bug 1524688)
Backed out changeset 1e75ce91029b (bug 1524688)
Backed out changeset 34a978503b1d (bug 1524688)
Backed out changeset 183602e8a30b (bug 1524688)
Backed out changeset 12a9135dc005 (bug 1524688)
Backed out changeset 978ef5dac9db (bug 1524688)
Backed out changeset 28105bf7bf6a (bug 1524688)
Backed out changeset a9fb74beaf2b (bug 1524688)
Backed out changeset fe106b369a72 (bug 1524688)
Backed out changeset e657e77d4271 (bug 1524688)
Backed out changeset 09f626870ad0 (bug 1524688)
Backed out changeset fe9b6695212e (bug 1524688)
Backed out changeset 995ea188bc31 (bug 1524688)
Backed out changeset 01c4d3edb1b0 (bug 1524688)
Backed out changeset 1bb7dfbb9f48 (bug 1524688)
Backed out changeset 56c61e0a1f45 (bug 1524688)
Backed out changeset c819943ff466 (bug 1524688)
Backed out changeset a1dd5cec066e (bug 1524688)
Backed out changeset 517838ee0c3c (bug 1524688)
Backed out changeset f509a5759fdf (bug 1524688)
Backed out changeset 56f5c8f0d708 (bug 1524688)
Backed out changeset 5746311ef859 (bug 1524688)
Backed out changeset df02f7d25212 (bug 1524688)
Backed out changeset c9846136d105 (bug 1524688)
Backed out changeset 2bd48db9cd0f (bug 1524688)
Backed out changeset ff120b4eeb79 (bug 1524688)
Backed out changeset fe583e7aae8d (bug 1524688)
Backed out changeset 18f156d6355a (bug 1524688)
Backed out changeset f4eaebbe2e0f (bug 1524688)
Backed out changeset bf6b18e23f69 (bug 1524688)
Backed out changeset dd89eb7e9b0d (bug 1524688)
Backed out changeset 4cbbb367ba0b (bug 1524688)
Backed out changeset 4ed0cf6be580 (bug 1524688)
Backed out changeset d8efb5ed62b1 (bug 1524688)
Backed out changeset ea347d57d73a (bug 1524688)
Backed out changeset 911689ef9f33 (bug 1524688)
Backed out changeset 28670fdc418d (bug 1524688)
Backed out changeset 38e1e42a0fb0 (bug 1524688)
Backed out changeset 35a5f031dd1e (bug 1524688)
Backed out changeset b586d55d76d5 (bug 1524688)
Backed out changeset 6dcacead1746 (bug 1524688)
Backed out changeset 9895239d8ac6 (bug 1524688)
Backed out changeset 25f982fd53bd (bug 1524688)
Backed out changeset 4fb0f0a59fe2 (bug 1524688)
Backed out changeset fdc6c4ed241a (bug 1524688)
Backed out changeset 5ce5986068f0 (bug 1524688)
Backed out changeset ab64ed7388ae (bug 1524688)
Backed out changeset 56607c5a301a (bug 1524688)
Backed out changeset 6b3684e7d8f9 (bug 1524688)
Backed out changeset ee28258a5724 (bug 1524688)
Backed out changeset 9201a7ea3c54 (bug 1524688)
Backed out changeset d5dca413e2da (bug 1524688)
Backed out changeset 68eb174a337b (bug 1524688)
Backed out changeset 625f71135038 (bug 1524687)
Backed out changeset 46e13c453538 (bug 1524687)
Backed out changeset 614be688767f (bug 1524687)
Backed out changeset 9c24919ac5c2 (bug 1524687)
Backed out changeset b9862758b98c (bug 1524687)
Backed out changeset 92d9e927deec (bug 1524687)
Backed out changeset f4ee175bc5bd (bug 1524687)
Backed out changeset 191afe83da2e (bug 1524687)
Backed out changeset c58caf41bb94 (bug 1524687)
Backed out changeset df95a56dae04 (bug 1524687)
Backed out changeset 10c69df4444d (bug 1524687)
Backed out changeset 219b84a58f50 (bug 1524687)
Backed out changeset e96e61bd282f (bug 1524687)
2019-02-14 11:50:23 +02:00
Kris Maglione
fdd5460759
Bug 1524687: Part 11 - Convert browser modules to static registration. r=mossop
2019-01-25 16:41:53 -08:00
Sylvestre Ledru
0ac7481368
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D18488
2019-02-04 19:10:18 +00:00
Dave Townsend
776ddb35dd
Bug 1522694: Add a toolkit level API for determining if this is the default instance of the application. r=mconley
...
This also switches around a few preprocessor lines to make more sense.
Differential Revision: https://phabricator.services.mozilla.com/D17557
2019-01-25 20:03:15 +00:00
Dave Townsend
9fddc4225c
Bug 1521902: Remove unused argument from nsIShellService.isDefaultBrowser. r=rstrong,chutten
...
Differential Revision: https://phabricator.services.mozilla.com/D17281
2019-01-24 20:08:14 +00:00
shindli
8f36a99703
Backed out changeset 217865622f7a (bug 1521902) for an error in the code that will break telemetry
2019-01-22 23:28:48 +02:00
Dave Townsend
a05148414e
Bug 1521902: Remove unused argument from nsIShellService.isDefaultBrowser. r=rstrong
...
Differential Revision: https://phabricator.services.mozilla.com/D17281
2019-01-22 20:41:41 +00:00
Ehsan Akhgari
498e2df734
Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
...
# ignore-this-changeset
2019-01-18 10:16:18 +01:00
Sylvestre Ledru
e5a134f73a
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
2018-11-30 11:46:48 +01:00
Gijs Kruitbosch
fa4965716a
Bug 1477669 - remove feed preview code and associated files/code, r=flod,mak,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D8524
2018-10-16 12:47:36 +00:00
Makoto Kato
46ee268894
Bug 1155505 - Part 1. Move WriteBitmap to WinUtils. r=jmathies
...
WriteBitmap will be used for Toast implementation, so it should be moved to
WinUtils.
Differential Revision: https://phabricator.services.mozilla.com/D3002
2018-03-23 16:41:58 -04:00
Ciure Andrei
a6e096bc79
Backed out 4 changesets (bug 1155505) for win2012 build bustages CLOSED TREE
...
Backed out changeset af0781ab02a6 (bug 1155505)
Backed out changeset f5e706d5a143 (bug 1155505)
Backed out changeset 5400ec20792c (bug 1155505)
Backed out changeset 82e129f7545e (bug 1155505)
2018-10-03 09:16:27 +03:00
Makoto Kato
5003b6aa64
Bug 1155505 - Part 1. Move WriteBitmap to WinUtils. r=jmathies
...
WriteBitmap will be used for Toast implementation, so it should be moved to
WinUtils.
Differential Revision: https://phabricator.services.mozilla.com/D3002
2018-03-23 16:41:58 -04:00
Boris Zbarsky
4038e1d23f
Bug 1455674 part 17. Remove use of nsIDOMElement in non-dom non-JS code. r=qdot
2018-04-26 23:37:34 -04:00
Boris Zbarsky
9a8e024fa0
Bug 1455674 part 13. Remove remaining xpidl uses of nsIDOMElement. r=qdot
2018-04-26 23:37:29 -04:00