Go to file
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
.settings Convert all JS style to be uniform, add Eclipse settings bits 2008-11-28 20:12:20 +00:00
browser-plugin browser-plugin: Make sure to initialize GType 2012-03-15 18:02:24 -04:00
data Don't set the autorestart hint for gnome-session 2012-03-18 02:35:14 +01:00
docs st: Remove st-container 2012-02-28 08:14:06 -05:00
js tweener: make timeline loop indefinitely 2012-03-18 22:54:51 -04:00
man docs: Update man page 2011-06-02 15:36:04 +02:00
po Updated Galician translations 2012-03-19 00:19:08 +01:00
src st-theme-node-drawing: Fix implementation of cover and contain 2012-03-18 09:33:30 -04:00
tests tests: Refactor background-size test to support non-square containers 2012-03-18 09:33:30 -04:00
tools jhbuildrc-gnome-shell: remove versioned-xulrunner-directories workaround 2012-02-23 15:14:12 -05:00
.gitignore Add a new tool, 'gnome-shell-extension-prefs', which can configure extensions 2012-02-07 16:00:37 -05:00
.project Convert all JS style to be uniform, add Eclipse settings bits 2008-11-28 20:12:20 +00:00
AUTHORS Initial commit 2008-10-31 04:22:44 +00:00
autogen.sh Modernize autotools configuration 2010-02-11 21:02:21 +01:00
configure.ac Revert "configure: Turn off -Werror by default" 2012-03-16 17:30:35 -04:00
COPYING Initial commit 2008-10-31 04:22:44 +00:00
gnome-shell.doap Use the description for GNOME shell instead of Mutter 2011-03-27 15:55:37 +02:00
MAINTAINERS MAINTAINERS: Fix my email address 2011-05-23 09:15:58 -04:00
Makefile.am docs: Allow building API documentation 2011-10-20 22:48:44 +02:00
NEWS Bump version to 3.3.90 2012-02-22 22:30:47 -05:00
README Add README and DOAP file 2009-09-04 15:23:13 -04:00

GNOME Shell provides core user interface functions for the GNOME 3 desktop,
like switching to windows and launching applications. GNOME Shell takes
advantage of the capabilities of modern graphics hardware and introduces
innovative user interface concepts to provide a visually attractive and
easy to use experience.

For more information about GNOME Shell, including instructions on how
to build GNOME Shell from source and how to get involved with the project,
see:

 http://live.gnome.org/GnomeShell

Bugs should be reported at http://bugzilla.gnome.org against the 'gnome-shell'
product.

License
=======
GNOME Shell is distributed under the terms of the GNU General Public License,
version 2 or later. See the COPYING file for details.