gnome-shell/js/ui
Ray Strode 207abe9a2c tweener: make timeline loop indefinitely
Tweener uses a clutter timeline to manage all active animations
running at a given moment.  The timeline is mopped up when no
animations are going any more.

Clutter requires timelines to have a finite duration, but since
animations can happen at any moment, no fixed duration can
accomodate the shell's needs.

To combat this problem, the tweener code picks a relatively
long duration: 1000 seconds. No string of animations should take
that long, so, in theory, that should be good enough.

Unfortunately, this tactic fails, in practice, when the user
suspends their machine, or VT switches.  An animation can take
much longer than 1000 seconds (~16 minutes) to complete in those
cases.  When the user resumes, or VT switches back the timeline
completes immediately (since it's already late) and tweener
never notices that the timeline stops ticking.

This commit changes the tweener timeline to automatically loop
back to 0 after completing, so that despite its fixed duration
property, it effectively never stops. Since the timeline loops,
its concept of elapsed time no longer increases monotonically,
so we now ignore it and track time ourselves with
GLib.get_monotonic_time().

This partially reverts commit
35764fa09e.

https://bugzilla.gnome.org/show_bug.cgi?id=653833
2012-03-18 22:54:51 -04:00
..
status bluetooth: Fix connectedMenuItem variable case. 2012-03-05 22:05:12 +01:00
altTab.js altTab: take into account all windows when computing app icon ordering 2012-03-18 14:52:29 +01:00
appDisplay.js a11y: Setting LIST_ITEM role for Categories items on Applications view 2012-03-14 12:36:33 +01:00
appFavorites.js Port everything to class framework 2011-11-24 09:50:04 +01:00
automountManager.js autorunManager: Fix fallout from port to systemd 2012-02-23 03:39:02 -05:00
autorunManager.js autorunManager: Fix fallout from port to systemd 2012-02-23 03:39:02 -05:00
boxpointer.js boxpointer: Prevent spurious input events while animating 2012-03-12 20:58:53 +01:00
calendar.js st-container: Remove st_container_destroy_children 2012-02-22 17:00:44 -05:00
checkBox.js Add function to CheckBox to get label actor 2012-02-29 12:04:33 +01:00
contactDisplay.js a11y: Setting label_actor and role for Contacts on the overview 2012-03-15 20:35:11 +01:00
ctrlAltTab.js Remove the shell_get_event_state() wrapper 2012-02-28 18:11:36 +01:00
dash.js a11y: Setting proper label_actor of dash elements 2012-03-15 20:23:47 +01:00
dateMenu.js a11y: Setting role on several panel ui elements 2012-03-15 18:58:44 +01:00
dnd.js st: Remove st-tooltip 2012-02-15 20:12:49 -05:00
endSessionDialog.js endSessionDialog: Use lookup_heuristic_basename for vendor prefix lookup 2012-03-17 10:45:56 -04:00
environment.js Environment: don't fail in toString() 2012-03-18 02:35:53 +01:00
extensionSystem.js ExtensionSystem: fix uninstalling from website 2012-03-01 20:45:32 +01:00
flashspot.js screenshot: add a 'flash' boolean flag to screenshot methods 2012-01-25 19:20:09 -05:00
iconGrid.js st: Remove custom text direction stuff 2012-02-28 08:14:06 -05:00
keyboard.js keyboard: Enforce LTR layout for keyboard layout 2012-03-14 20:37:42 +01:00
keyringPrompt.js Add gnome-keyring prompter 2012-02-29 20:16:14 +01:00
layout.js st: Remove custom text direction stuff 2012-02-28 08:14:06 -05:00
lightbox.js main, lightbox: Fix lightbox for zoomed windows 2012-02-15 18:18:46 +01:00
link.js Port all classes with inheritance to class framework 2011-11-24 09:50:04 +01:00
lookingGlass.js Remove the shell_get_event_state() wrapper 2012-02-28 18:11:36 +01:00
magnifier.js magnifier: Handle screen size changes 2012-01-26 15:14:48 +00:00
magnifierDBus.js Port everything to class framework 2011-11-24 09:50:04 +01:00
main.js autoWorkspaces: fix creation of new workspaces with application launchers 2012-03-16 16:41:30 +01:00
messageTray.js messageTray: show the summary with new notifications when the user becomes active 2012-03-16 01:01:57 -04:00
modalDialog.js modalDialog: Fix setting the initial key focus after the 1st time 2012-03-12 00:52:34 +01:00
networkAgent.js NetworkAgent: rename VPN keyfile key to "supports-external-ui-mode" 2012-02-15 15:41:26 +01:00
notificationDaemon.js notificationDaemon: fix order of arguments to _lookupSource() 2012-01-20 00:03:07 -05:00
overview.js st: Remove custom text direction stuff 2012-02-28 08:14:06 -05:00
panel.js AppMenuButton: Check input mode only on application focus changes 2012-03-17 01:11:44 +01:00
panelMenu.js a11y: Setting role on several panel ui elements 2012-03-15 18:58:44 +01:00
placeDisplay.js search: Replace getResultMeta() with getResultMetas() 2012-02-21 23:00:53 +01:00
polkitAuthenticationAgent.js Rename CSS selectors for password prompts 2012-02-10 09:16:09 +01:00
popupMenu.js a11y: adding checked state on the popup menu items 2012-03-15 20:04:28 +01:00
remoteSearch.js remoteSearch: fix scope of a variable 2012-03-13 19:24:02 +01:00
runDialog.js a11y: Setting role and label-actor for runDialog 2012-03-10 02:27:19 +01:00
scripting.js Port client side code to GDBus 2011-11-11 11:15:38 -05:00
search.js search: remove selection mechanism 2012-03-10 15:00:18 +01:00
searchDisplay.js searchDisplay: Check the provider container for visibility 2012-03-10 16:20:47 +01:00
shellDBus.js dbus: Add FlashArea method 2012-02-20 21:54:06 +01:00
shellEntry.js Port PopupMenu to new Lang.Class framework 2011-11-24 09:50:04 +01:00
shellMountOperation.js st-container: Remove st_container_destroy_children 2012-02-22 17:00:44 -05:00
statusIconDispatcher.js Port everything to class framework 2011-11-24 09:50:04 +01:00
telepathyClient.js Support only Call1 channels 2012-02-21 17:43:05 +01:00
tweener.js tweener: make timeline loop indefinitely 2012-03-18 22:54:51 -04:00
userMenu.js userMenu: Consider account-validity for sensitivity 2012-03-17 17:42:40 +01:00
viewSelector.js viewSelector: Tie cursor visibility to :focus style 2012-03-10 16:26:23 +01:00
wanda.js wanda: fix the location of gnome-panel animations 2012-03-05 22:33:07 +01:00
windowAttentionHandler.js windowAttentionHandler: Fix updating on title changes 2012-02-28 17:23:38 -05:00
windowManager.js st: Remove custom text direction stuff 2012-02-28 08:14:06 -05:00
workspace.js st: Remove custom text direction stuff 2012-02-28 08:14:06 -05:00
workspacesView.js overview: Don't show workspaces when entering the overview 2012-03-16 17:19:48 +01:00
workspaceSwitcherPopup.js st: Remove st-group 2012-02-28 08:14:06 -05:00
workspaceThumbnail.js autoWorkspaces: fix creation of new workspaces with application launchers 2012-03-16 16:41:30 +01:00
xdndHandler.js xdndHandler: pass actor-relative coordinates to handleDragOver 2012-02-12 20:21:56 +01:00