gnome-shell/js/ui
Ray Strode 7e5ee2c282 extensionSystem: Get rid of _enabled boolean optimization
At the moment a session mode either allows extensions or it doesn't.
If it allows extensions, then the entire available list of
configured extensions get enabled as soon as the session mode is
entered.

Since enabling or disabling extensions is an all or nothing situation,
the code tracks whether extensions are already enabled when entering
the session mode, and if so, avoids iterating through the extension list
needlessly. It does this using a boolean named _enabled.

In the future, the extensions themselves will be given some say on
whether or not they should be enabled in a given session mode. This
means, the configured extension list may contain extensions that
shouldn't be enabled for a given session mode, and the _enabled boolean
will no longer be appropriated.

This commit drops the _enabled boolean optimization.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1967>
2021-10-14 18:40:53 +00:00
..
components cleanup: Replace non-standard ByteArray module 2021-09-01 14:49:30 +00:00
status status/network: Use wwan settings panel for GSM/LTE Modems 2021-08-14 10:39:56 +00:00
accessDialog.js portal: Own org.gnome.Shell.Portal for the access portal 2021-06-05 21:29:52 -03:00
altTab.js altTab: Avoid allocation cycle when showing CyclerHighlight 2021-05-11 17:36:29 +02:00
animation.js
appDisplay.js appDisplay: Replace AppIconMenu 2021-08-16 21:28:22 +00:00
appFavorites.js
appMenu.js appMenu: Support launching on the non-default GPU 2021-08-16 21:28:22 +00:00
audioDeviceSelection.js audioDeviceSelection: Ensure close() is called with no arguments 2021-04-19 19:12:59 +02:00
background.js background: Check xml mime type instead of extension 2021-04-16 19:53:53 +05:00
backgroundMenu.js
barLevel.js
boxpointer.js boxpointer: Fix positioning with non-widget sources 2021-09-01 20:22:58 +00:00
calendar.js theme: Add focus indication for dnd switch in message list controls 2021-07-20 20:58:59 +02:00
checkBox.js
closeDialog.js
ctrlAltTab.js ctrlAltTab: Fix usage of bind_cairo_surface_property 2021-03-08 09:21:25 +00:00
dash.js dash: Fixes wrong separator position 2021-09-01 15:10:14 +00:00
dateMenu.js
dialog.js dialog: Ensure action callback is called with no arguments 2021-04-19 19:12:59 +02:00
dnd.js dnd: Immediately start drag done by pointer devices 2021-05-31 10:59:11 -03:00
edgeDragAction.js keyboard: Handle edge drag gesture cancellation 2021-02-17 15:45:01 +00:00
endSessionDialog.js endSessionDialog: Only show logout inhibiting apps 2021-02-24 15:31:03 +00:00
environment.js cleanup: Replace non-standard ByteArray module 2021-09-01 14:49:30 +00:00
extensionDownloader.js cleanup: Replace non-standard ByteArray module 2021-09-01 14:49:30 +00:00
extensionSystem.js extensionSystem: Get rid of _enabled boolean optimization 2021-10-14 18:40:53 +00:00
focusCaretTracker.js
grabHelper.js grabHelper: Propagate events while this._ignoreUntilRelease 2021-05-11 16:13:49 +00:00
ibusCandidatePopup.js ibusCandidatePopup: Use plain actor as dummy cursor 2021-06-29 22:47:58 +02:00
iconGrid.js iconGrid: Bail out when not on a monitor 2021-08-13 15:16:54 +02:00
inhibitShortcutsDialog.js
init.js init: Set console log domain 2021-09-01 14:55:47 +00:00
kbdA11yDialog.js
keyboard.js keyboard: Ensure chrome input region is updated after slide animation 2021-09-01 18:37:56 +02:00
layout.js layout: Exclude hidden actors from struts 2021-09-01 17:15:40 +00:00
lightbox.js Always assume GLSL is supported 2021-09-21 16:37:01 +02:00
locatePointer.js
lookingGlass.js lookingGlass: Use symbolic icons on the toolbar 2021-06-14 18:51:30 +00:00
magnifier.js magnifier: Avoid painting a desktop that's fully occluded by its clone 2021-08-18 14:12:34 +00:00
main.js main: Stop handling old 'panel-main-menu' shortcut 2021-08-31 19:01:25 +00:00
messageList.js messageList: Drop sync_pointer() after relayouts 2021-02-14 13:57:56 +00:00
messageTray.js messageTray: Do not show low priority notifications 2021-08-22 19:20:37 +00:00
modalDialog.js
mpris.js mpris: Hide unused elements to leave more space for the title 2021-02-04 22:42:08 +00:00
notificationDaemon.js notificationDaemon: Fix sound-file support 2021-10-06 17:39:01 +00:00
osdMonitorLabeler.js
osdWindow.js
overview.js overview: Emit 'hidden' after it's *really* hidden 2021-08-19 15:44:34 +08:00
overviewControls.js ControlsManagerLayout: Allocate respecting the work area 2021-07-17 00:25:50 +02:00
padOsd.js cleanup: Replace non-standard ByteArray module 2021-09-01 14:49:30 +00:00
pageIndicators.js
panel.js panel: Show warning indicator when unsafe-mode is on 2021-09-03 21:34:58 +00:00
panelMenu.js
pointerA11yTimeout.js
pointerWatcher.js js: Get idle monitor from backend 2021-05-18 13:42:52 +00:00
popupMenu.js popupMenu: Remove can_focus=True from Switch 2021-07-20 14:11:28 +02:00
remoteSearch.js remoteSearch: Fetch enabled/disabled list once 2021-04-02 19:07:56 +00:00
ripples.js
runDialog.js js: Replace removed Meta.quit() 2021-07-18 23:11:43 +02:00
screenShield.js screenShield: Asyncify _syncInhibitor() 2021-08-16 02:44:36 +02:00
screenshot.js screenshot: Unrestrict PickColor 2021-10-06 17:34:18 +00:00
scripting.js
search.js search: Exclude hidden results from keynav 2021-07-15 19:15:36 +02:00
searchController.js searchController: Get rid of activePage reference in key handling 2021-02-17 02:31:32 +01:00
sessionMode.js cleanup: Replace non-standard ByteArray module 2021-09-01 14:49:30 +00:00
shellDBus.js shellDBus: Restrict callers 2021-09-03 21:34:58 +00:00
shellEntry.js shellEntry: Don't show "Show Password" menu if entry icon is disabled 2021-07-30 14:17:07 +00:00
shellMountOperation.js
slider.js
swipeTracker.js swipeTracker: Use unaccelerated deltas 2021-07-16 19:37:20 +00:00
switcherPopup.js
switchMonitor.js
unlockDialog.js unlockDialog: Properly reset auth prompt when showing it 2021-10-08 11:56:23 -04:00
userWidget.js
welcomeDialog.js welcomeDialog: Fix title translation 2021-10-05 15:05:18 +02:00
windowAttentionHandler.js
windowManager.js windowManager: Use MetaWindowActor.paint_to_content() for window effects 2021-09-04 10:08:10 +00:00
windowMenu.js windowMenu: Use consistent terminology 2021-08-18 00:43:12 +02:00
windowPreview.js windowPreview: Make St.Label use single line mode 2021-04-28 14:29:19 +02:00
workspace.js workspace: Move fading minimized windows out of allocation 2021-09-01 15:02:47 +00:00
workspaceAnimation.js Revert "workspaceAnimation: Allow long swipes in session" 2021-07-30 13:46:35 +00:00
workspacesView.js workspacesView: Handle null return value 2021-08-13 15:16:54 +02:00
workspaceSwitcherPopup.js
workspaceThumbnail.js workspaceThumbnail: Destroy thumbnails on destruction 2021-05-25 12:43:32 -03:00
xdndHandler.js