4902a600d5
In order for transformation animations to look good, they need to be incremental and have some order to them (e.g., fade out hidden items, then shrink to close the void left over). Chaining animations in this way can be error prone and wordy using just Tweener callbacks. This commit adds a new set of classes to help: - Task. encapsulates schedulable work to be run in a specific scope. - ConsecutiveBatch. runs a series of tasks in order and completes when the last in the series finishes. - ConcurrentBatch. runs a set of tasks at the same time and completes when the last to finish completes. - Hold. prevents a batch from completing the pending task until the hold is released. The tasks associated with a batch are specified in a list at batch construction time as either task objects or plain functions. Batches are task objects, themselves, so they can be nested. For now, these APIs are temporarily getting staged in a gdm/ specific subdirectory so they will be available for use by GDM. They aren't specific to GDM, or even to doing animations, though, so the API may eventually move in some form or another to a more general location. Alternatively, the APIs may ultimately get dropped entirely and replaced by something else. https://bugzilla.gnome.org/show_bug.cgi?id=657082
74 lines
1.5 KiB
Makefile
74 lines
1.5 KiB
Makefile
|
|
jsdir = $(pkgdatadir)/js
|
|
|
|
nobase_dist_js_DATA = \
|
|
gdm/batch.js \
|
|
misc/config.js \
|
|
misc/docInfo.js \
|
|
misc/fileUtils.js \
|
|
misc/format.js \
|
|
misc/gnomeSession.js \
|
|
misc/history.js \
|
|
misc/modemManager.js \
|
|
misc/params.js \
|
|
misc/screenSaver.js \
|
|
misc/util.js \
|
|
perf/core.js \
|
|
ui/altTab.js \
|
|
ui/appDisplay.js \
|
|
ui/appFavorites.js \
|
|
ui/automountManager.js \
|
|
ui/autorunManager.js \
|
|
ui/boxpointer.js \
|
|
ui/calendar.js \
|
|
ui/ctrlAltTab.js \
|
|
ui/dash.js \
|
|
ui/dateMenu.js \
|
|
ui/dnd.js \
|
|
ui/docDisplay.js \
|
|
ui/endSessionDialog.js \
|
|
ui/environment.js \
|
|
ui/extensionSystem.js \
|
|
ui/iconGrid.js \
|
|
ui/layout.js \
|
|
ui/lightbox.js \
|
|
ui/link.js \
|
|
ui/lookingGlass.js \
|
|
ui/magnifier.js \
|
|
ui/magnifierDBus.js \
|
|
ui/main.js \
|
|
ui/messageTray.js \
|
|
ui/modalDialog.js \
|
|
ui/networkAgent.js \
|
|
ui/shellMountOperation.js \
|
|
ui/notificationDaemon.js \
|
|
ui/overview.js \
|
|
ui/panel.js \
|
|
ui/panelMenu.js \
|
|
ui/placeDisplay.js \
|
|
ui/polkitAuthenticationAgent.js \
|
|
ui/popupMenu.js \
|
|
ui/runDialog.js \
|
|
ui/scripting.js \
|
|
ui/search.js \
|
|
ui/searchDisplay.js \
|
|
ui/shellDBus.js \
|
|
ui/statusIconDispatcher.js \
|
|
ui/statusMenu.js \
|
|
ui/status/accessibility.js \
|
|
ui/status/keyboard.js \
|
|
ui/status/network.js \
|
|
ui/status/power.js \
|
|
ui/status/volume.js \
|
|
ui/status/bluetooth.js \
|
|
ui/telepathyClient.js \
|
|
ui/tweener.js \
|
|
ui/viewSelector.js \
|
|
ui/windowAttentionHandler.js \
|
|
ui/windowManager.js \
|
|
ui/workspace.js \
|
|
ui/workspaceThumbnail.js \
|
|
ui/workspacesView.js \
|
|
ui/workspaceSwitcherPopup.js \
|
|
ui/xdndHandler.js
|