Commit Graph

79 Commits

Author SHA1 Message Date
Dave Townsend
28dd1a2275 Bug 1926507: Badge the taskbar/dock with the profile avatar. r=niklas,jhirsch
Differential Revision: https://phabricator.services.mozilla.com/D228439
2024-11-12 15:16:46 +00:00
Dave Townsend
511fbaa6f8 Bug 1929307: Import prefs from SharedPrefs at startup rather than clobbering them. r=jhirsch,niklas
This also stops sharing browser.profiles.enabled and toolkit.profiles.storeID. In the first case
I want to minimise any risk of this preference getting set to false by accident because then a
user loses all of their profiles. In the latter case there is no point storing it in the database,
we already have a backup mechanism for it and if we have lost the storeID we can't load the database
anyway.

Differential Revision: https://phabricator.services.mozilla.com/D228174
2024-11-12 15:16:46 +00:00
Jared Hirsch
a88a8a7c29 Bug 1928738: Change the localized name of the default profile. r=niklas,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D227759
2024-11-09 03:02:38 +00:00
Dave Townsend
5f09e48599 Bug 1927576: Clicking on another profile in the menu should switch app focus, not open a new window. r=niklas
Differential Revision: https://phabricator.services.mozilla.com/D228154
2024-11-08 10:58:41 +00:00
Dave Townsend
fa4eabb690 Bug 1929287: Ignore errors from unregistering observer notification. r=niklas
Differential Revision: https://phabricator.services.mozilla.com/D227980
2024-11-07 15:10:22 +00:00
Niklas Baumgardner
66f7bd8a4d Bug 1926946 - Add special case for setting theme to system deault in SelectableProfileService. r=jhirsch,emilio
Differential Revision: https://phabricator.services.mozilla.com/D226818
2024-11-06 20:14:04 +00:00
Niklas Baumgardner
57ef5b5f32 Bug 1926593 - Store themeId in profiles db instead of themeL10nId. r=jhirsch,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D226954
2024-11-06 20:14:04 +00:00
Niklas Baumgardner
acfacc68d8 Bug 1927617 - Sort profiles by name. r=jhirsch,mossop
Differential Revision: https://phabricator.services.mozilla.com/D227724
2024-11-06 17:25:23 +00:00
Sandor Molnar
5d5bb57a0d Backed out 2 changesets (bug 1926946, bug 1926593) for causing bc failures @ browser_notify_changes.js CLOSED TREE
Backed out changeset 84377da985ab (bug 1926946)
Backed out changeset f646318d64fe (bug 1926593)
2024-11-06 05:47:44 +02:00
Niklas Baumgardner
d6635a4c64 Bug 1926946 - Add special case for setting theme to system deault in SelectableProfileService. r=jhirsch,emilio
Differential Revision: https://phabricator.services.mozilla.com/D226818
2024-11-05 23:34:11 +00:00
Niklas Baumgardner
a2b813b3f7 Bug 1926593 - Store themeId in profiles db instead of themeL10nId. r=jhirsch,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D226954
2024-11-05 23:34:11 +00:00
Dave Townsend
4ea798a326 Bug 1894239: Enable MOZ_SELECTABLE_PROFILES by default. r=jhirsch,omc-reviewers,niklas,emcminn,mconley
This also removes some tests of `MOZ_SELECTABLE_PROFILES` from `browser/components/profiles` files
where the test is pointless because that test is excluded from the build if `MOZ_SELECTABLE_PROFILES`
is unset.

Differential Revision: https://phabricator.services.mozilla.com/D227372
2024-11-05 12:59:04 +00:00
Stanca Serban
7bfaea64ba Backed out changeset 101063793364 (bug 1894239) for causing mochitests failures in browser_sentence_case_strings.js. CLOSED TREE 2024-11-04 20:39:11 +02:00
Dave Townsend
09c0a011d8 Bug 1894239: Enable MOZ_SELECTABLE_PROFILES by default. r=jhirsch,omc-reviewers,niklas,emcminn,mconley
This also removes some tests of `MOZ_SELECTABLE_PROFILES` from `browser/components/profiles` files
where the test is pointless because that test is excluded from the build if `MOZ_SELECTABLE_PROFILES`
is unset.

Differential Revision: https://phabricator.services.mozilla.com/D227372
2024-11-04 16:20:41 +00:00
Goloman Adrian
43172c6f10 Backed out changeset 4aeabb1fca7f (bug 1894239) for causing bc failures @browser_parsable_css.js. CLOSED TREE 2024-11-04 17:11:24 +02:00
Dave Townsend
658587a8e9 Bug 1894239: Enable MOZ_SELECTABLE_PROFILES by default. r=jhirsch,omc-reviewers,niklas,emcminn,mconley
This also removes some tests of `MOZ_SELECTABLE_PROFILES` from `browser/components/profiles` files
where the test is pointless because that test is excluded from the build if `MOZ_SELECTABLE_PROFILES`
is unset.

Differential Revision: https://phabricator.services.mozilla.com/D227372
2024-11-04 13:19:59 +00:00
Goloman Adrian
a536e48199 Backed out changeset 07b4dffd9109 (bug 1894239) for causing bc failures @browser_all_files_referenced.js. CLOSED TREE 2024-11-04 14:50:12 +02:00
Dave Townsend
d23817862a Bug 1894239: Enable MOZ_SELECTABLE_PROFILES by default. r=jhirsch,omc-reviewers,niklas,emcminn,mconley
This also removes some tests of `MOZ_SELECTABLE_PROFILES` from `browser/components/profiles` files
where the test is pointless because that test is excluded from the build if `MOZ_SELECTABLE_PROFILES`
is unset.

Differential Revision: https://phabricator.services.mozilla.com/D227372
2024-11-04 11:15:32 +00:00
Goloman Adrian
8d0a2fbb16 Backed out changeset 6539a7d0d9ca (bug 1894239) for causing xpcshell failures at test_selectable_profile_launch.js. CLOSED TREE 2024-11-01 20:43:36 +02:00
Dave Townsend
0085ce80d2 Bug 1894239: Enable MOZ_SELECTABLE_PROFILES by default. r=jhirsch,omc-reviewers,niklas,emcminn,mconley
This also removes some tests of `MOZ_SELECTABLE_PROFILES` from `browser/components/profiles` files
where the test is pointless because that test is excluded from the build if `MOZ_SELECTABLE_PROFILES`
is unset.

Differential Revision: https://phabricator.services.mozilla.com/D227372
2024-11-01 17:08:27 +00:00
Cristian Tuns
8f3ca1449e Backed out changeset 7df0f0dd73a1 (bug 1894239) for causing bc failures in /browser_appmenu.js CLOSED TREE 2024-11-01 12:48:39 -04:00
Dave Townsend
52f716131a Bug 1894239: Enable MOZ_SELECTABLE_PROFILES by default. r=jhirsch,omc-reviewers,niklas,emcminn,mconley
This also removes some tests of `MOZ_SELECTABLE_PROFILES` from `browser/components/profiles` files
where the test is pointless because that test is excluded from the build if `MOZ_SELECTABLE_PROFILES`
is unset.

Differential Revision: https://phabricator.services.mozilla.com/D227372
2024-11-01 14:38:45 +00:00
Dave Townsend
767fda8356 Bug 1918523: Implement background task to delete profile. r=nalexander,jhirsch
Differential Revision: https://phabricator.services.mozilla.com/D222058
2024-11-01 10:24:33 +00:00
Dave Townsend
6928b89ed0 Bug 1893692: Notify concurrent profiles via remoting service. r=jhirsch,firefox-desktop-core-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D227026
2024-11-01 10:11:24 +00:00
Niklas Baumgardner
b6803bbf09 Bug 1927937 - Make sure relative path is correct on Windows. r=jhirsch
Differential Revision: https://phabricator.services.mozilla.com/D227380
2024-10-31 13:49:55 +00:00
Tamas Szentpeteri
67ace56df2 Bug 1928074 - Fix lint failure @ SelectableProfileService.sys.mjs r=fix CLOSED TREE 2024-10-31 12:13:21 +02:00
Dave Townsend
6e48806cb9 Bug 1928074: Fix testing recovery from pre-67 profiles.ini and the case where there is no toolkit profile. r=jhirsch"
Differential Revision: https://phabricator.services.mozilla.com/D227340
2024-10-31 09:20:53 +00:00
Dave Townsend
400c310063 Bug 1927722: Fix test root permissions and bustage from bug 1925513. r=jhirsch
Differential Revision: https://phabricator.services.mozilla.com/D227177
2024-10-30 09:49:55 +00:00
Niklas Baumgardner
0a60633a45 Bug 1927741 - currentProfile should not be null in SelectableProfileService. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D227195
2024-10-29 20:56:40 +00:00
Niklas Baumgardner
c8062bcc6b Bug 1924607 - Expose profiles.ftl to localization. r=jhirsch,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D226854
2024-10-29 17:21:45 +00:00
Dave Townsend
38e9faea9d Bug 1893722: Recover StoreID from prefs in the event of a profiles.ini reset. r=jhirsch
Differential Revision: https://phabricator.services.mozilla.com/D226806
2024-10-28 09:56:36 +00:00
Dave Townsend
ae31cacf36 Bug 1926867: Keep on ignoring the unused function that will be required for bug 1926507. CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D226927
2024-10-25 15:49:50 +00:00
Dave Townsend
f28b187164 Bug 1926867: Add some useful mocking tools and get most tests passing. r=jhirsch
Also avoids overriding directory service items in browser tests for safety.

Differential Revision: https://phabricator.services.mozilla.com/D226783
2024-10-25 14:58:56 +00:00
Niklas Baumgardner
86f1b2dbc2 Bug 1886003 - Create about:newprofile page. r=jhirsch,mossop,fluent-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D225541
2024-10-24 20:37:14 +00:00
Niklas Baumgardner
382a6dde29 Bug 1925098 - Update current profile theme colors on theme change. r=jhirsch
Differential Revision: https://phabricator.services.mozilla.com/D226383
2024-10-23 16:54:57 +00:00
Dave Townsend
bc7679a85b Bug 1920674: Allow showing the profile avatar in the taskbar on Windows. r=rkraesig,win-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D225208
2024-10-23 08:10:14 +00:00
Dave Townsend
684fe84ce3 Bug 1920468: Add a function for badging the dock/taskbar with an image. r=jhirsch
Differential Revision: https://phabricator.services.mozilla.com/D223580
2024-10-23 08:10:13 +00:00
Jared Hirsch
3cb15e2564 Bug 1925084 - Lazily init the selectable profiles DB and import the toolkit profile on first load of about:profilemanager. r=niklas
Differential Revision: https://phabricator.services.mozilla.com/D225906
2024-10-22 00:52:49 +00:00
Sandor Molnar
3f510f53a8 Backed out 4 changesets (bug 1920674, bug 1920468) for causing win crashes. CLOSED TREE
Backed out changeset 67d69fa2dff5 (bug 1920468)
Backed out changeset 5b0f9712258c (bug 1920674)
Backed out changeset 956210b138aa (bug 1920468)
Backed out changeset ad952b2e4b9c (bug 1920674)
2024-10-19 09:29:05 +03:00
Jared Hirsch
fa71733617 Bug 1924845 - Add the toolkit profile to the selectable profiles datastore on first creation. r=niklas
Differential Revision: https://phabricator.services.mozilla.com/D225747
2024-10-18 23:57:55 +00:00
Jared Hirsch
971718cd11 Bug 1883162 - Update profiles app menu to latest design using selectable profiles. r=niklas,fluent-reviewers,desktop-theme-reviewers,bolsson,dao
Differential Revision: https://phabricator.services.mozilla.com/D223238
2024-10-18 23:57:55 +00:00
Dave Townsend
575911e1d3 Bug 1920674: Allow showing the profile avatar in the taskbar on Windows. r=rkraesig,win-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D225208
2024-10-18 12:51:58 +00:00
Dave Townsend
c102ab47ac Bug 1920468: Add a function for badging the dock/taskbar with an image. r=jhirsch
Differential Revision: https://phabricator.services.mozilla.com/D223580
2024-10-18 12:51:58 +00:00
Tamas Szentpeteri
559fcfd527 Backed out 4 changesets (bug 1920674, bug 1920468) for causing bp-nu bustages on TestWindowGfx.cpp. CLOSED TREE
Backed out changeset c1ce04a0b952 (bug 1920468)
Backed out changeset a309456ce958 (bug 1920674)
Backed out changeset 1ba966b0976d (bug 1920468)
Backed out changeset 624f0ded73c2 (bug 1920674)
2024-10-18 13:24:29 +03:00
Dave Townsend
09772c1f10 Bug 1920674: Allow showing the profile avatar in the taskbar on Windows. r=rkraesig,win-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D225208
2024-10-18 09:17:47 +00:00
Dave Townsend
1329f23b38 Bug 1920468: Add a function for badging the dock/taskbar with an image. r=jhirsch
Differential Revision: https://phabricator.services.mozilla.com/D223580
2024-10-18 09:17:46 +00:00
Dave Townsend
6cd8d87df6 Bug 1915216: Add a method to asynchronously write the important data about the current profile to the INI file on disk. r=glandium,jhirsch,pehrsons,backup-reviewers,mconley
This adds an asynchronous method to lock the startup files using the same
lock that we use during normal startup.

The profile service then uses this lock to gate access to the profiles.ini
files adding a method to async flush the entire database or in the case
that the on-disk database has changed a way to mergwe in some properties
about the current profile into the on-disk version.

Differential Revision: https://phabricator.services.mozilla.com/D222662
2024-10-18 07:53:02 +00:00
Sandor Molnar
5eb3d8fc2b Backed out changeset e7719ffbcf2e (bug 1883162) for causing bc failures @ browser_sentence_case_strings.js CLOSED TREE 2024-10-18 04:22:37 +03:00
Jared Hirsch
d6887069ea Bug 1883162 - Update profiles app menu to latest design using selectable profiles. r=niklas,fluent-reviewers,desktop-theme-reviewers,bolsson,dao
Differential Revision: https://phabricator.services.mozilla.com/D223238
2024-10-17 23:55:53 +00:00
Butkovits Atila
20cd2bfd08 Backed out changeset fe441360b591 (bug 1915216) for causing leaks at ThreadSafeWeakReference. CLOSED TREE 2024-10-17 19:11:29 +03:00