Commit Graph

17774 Commits

Author SHA1 Message Date
Dan Winship
97ae22dae5 Use a stable workspace ordering as rows and columns are added, rather than
just doing a simple row-major ordering

svn path=/trunk/; revision=126
2008-12-15 20:58:10 +00:00
Dan Winship
d07433d445 change the workspace zooming metaphor in the overlay
svn path=/trunk/; revision=125
2008-12-15 20:55:24 +00:00
Dan Winship
249e65ee30 Make the workspaces view a temporary "widget", rather than having it always
around

svn path=/trunk/; revision=124
2008-12-15 20:48:59 +00:00
Marina Zhurakhinskaya
98860733bb Convert some variable and file names to lowerCamelCase.
Remove unused variables in AppDisplay::_filterAdd().

svn path=/trunk/; revision=123
2008-12-09 22:10:43 +00:00
Owen Taylor
d42bce21c5 Use CompositeRedirectManual for tray icons
We don't want the X server to draw the icons onto the screen, so
use pass automatic=FALSE to clutter_x11_texture_pixmap_set_window();
causing CompositeRedirectManual to be used.

svn path=/trunk/; revision=122
2008-12-05 23:20:10 +00:00
Colin Walters
bd53366247 Use idle handler for overlay key binding
Running into odd problems with the overlay/windows key breaking, hopefully
this will work around those.

svn path=/trunk/; revision=121
2008-12-05 21:50:09 +00:00
Colin Walters
b1da771d32 Connect to overlay-key signal from metacity-clutter to hide/show overlay
We want to effectively bind the "Windows key" on PC hardware to hide
and show the overlay.

svn path=/trunk/; revision=120
2008-12-05 21:12:43 +00:00
Owen Taylor
65989de535 Improve test for using LIBGL_ALWAYS_INDIRECT
Now that Clutter has support for ARB_texture_rectangle, we need
to enable EXT_texture_from_pixmap support more widely.

Parse the glxinfo output more accurately and detect when
EXT_texture_rectangle is supported client and server but not
is not active, and force indirect rendering only in that case.

svn path=/trunk/; revision=119
2008-12-05 16:15:49 +00:00
Dan Winship
6c1cea927c Add <mirror> nodes for the gnome repo declaration (copied from the
upstream gnome modulesets), to allow using the experimental git mirror
support. See http://bugzilla.gnome.org/show_bug.cgi?id=538507

svn path=/trunk/; revision=118
2008-12-05 14:14:36 +00:00
Dan Winship
68190e4073 remove debug thing
svn path=/trunk/; revision=117
2008-12-04 15:22:51 +00:00
Dan Winship
03e8db6a00 fix "desktop"/"workspace" naming confusion
svn path=/trunk/; revision=116
2008-12-04 15:20:37 +00:00
Dan Winship
79d956b719 show multiple workspaces in the overlay view. #563035
svn path=/trunk/; revision=115
2008-12-04 15:16:16 +00:00
Owen Taylor
436a5cd87b Add clutter-cairo to the gir-repository builddeps
We need to build clutter-cairo before gir-repository, since gir-repository
includes ClutterCairo.gir.

svn path=/trunk/; revision=114
2008-12-03 22:16:55 +00:00
Colin Walters
d4be819d91 Clear search text after activation
svn path=/trunk/; revision=113
2008-12-03 20:18:10 +00:00
Colin Walters
6bd31dd211 Bind Escape to clear search entry
svn path=/trunk/; revision=112
2008-12-03 19:24:50 +00:00
Dan Winship
a5c3c258a3 fix incorrect variable name in _updateClock
svn path=/trunk/; revision=111
2008-12-03 18:27:48 +00:00
Dan Winship
2a40560828 split the desktop area out of overlay.js
svn path=/trunk/; revision=110
2008-12-02 16:15:00 +00:00
Colin Walters
b4dd21bde1 Use Big.Box for highlight box as well to get rounded corners
svn path=/trunk/; revision=108
2008-12-01 23:48:07 +00:00
Colin Walters
78bb9fd286 Tweak clutter-cairo include path to fix build where clutter root != clutter-cairo root
svn path=/trunk/; revision=107
2008-12-01 23:44:06 +00:00
Owen Taylor
8e08fa1d2a Add a README for the 'Big' actors
src/big/README explains where the actors come from and warns
against installing them publically under the big_* names.

svn path=/trunk/; revision=106
2008-12-01 23:15:49 +00:00
Colin Walters
c0cb00a626 Add clutter-cairo to moduleset
We depend on it now for Big library

svn path=/trunk/; revision=105
2008-12-01 23:14:12 +00:00
Colin Walters
a4763b38bf Use Big.Box for search entry to get rounded corners
http://bugzilla.gnome.org/show_bug.cgi?id=562923

svn path=/trunk/; revision=104
2008-12-01 23:01:55 +00:00
Colin Walters
25116779f9 Import Big
We want this for the BigBox primarily; rounded corners, etc.

http://bugzilla.gnome.org/show_bug.cgi?id=562923

svn path=/trunk/; revision=103
2008-12-01 23:01:52 +00:00
Owen Taylor
a8cfd47a50 Slide in the sidebar as the overlay appears
appdisplay.js: Add AppDisplay.actor property, remove the x/y parameters
  to the constructor, and don't automatically add the appdisplay
  to the stage.

overlay.js: Make the AppDisplay a child of the SideShow, rename
  SideShow._grid to SideShow.actor and slide the SideShow in when
  showing the stage.

http://bugzilla.gnome.org/show_bug.cgi?id=562920

svn path=/trunk/; revision=102
2008-12-01 22:43:06 +00:00
Owen Taylor
6bccda430e Fix width of application text items
appdisplay.js: Fix missing parentheses for computation of
  the available width for the application name and description.

svn path=/trunk/; revision=101
2008-12-01 21:53:49 +00:00
Colin Walters
9c21ce3eb5 Adjust to new Meta.typelib/Meta.gir locations
Also put all our GI data in the private $(pkglibdir).

svn path=/trunk/; revision=100
2008-12-01 20:42:56 +00:00
Colin Walters
b535a8949b Remove debug logging, make activation work for non-search mode too
svn path=/trunk/; revision=99
2008-12-01 20:03:55 +00:00
Owen Taylor
dd4db82475 Bug 562771 – The clock is inaccurate
Fix the clock to update exactly on the minute, rather than at a random
time within the minute.

Patch from RainCT (Siegfried Gevatter)

svn path=/trunk/; revision=98
2008-12-01 19:59:59 +00:00
Owen Taylor
7b471645f4 Redo tabs => spaces indentation change to not lose manual indentation
Revert most JS changes in commit:

    Fri Nov 28 20:12:20 2008 +0000
    Convert all JS style to be uniform, add Eclipse settings bits

Instead, just add 'indent-tabs-mode: nil' to the mode lines and convert
tabs to spaces. The indentation no longer exactly matches the Eclipse
settings, since they differ in some ways from the style we are trying
to achieve.

svn path=/trunk/; revision=97
2008-12-01 19:51:43 +00:00
Colin Walters
12720e2c90 Fix indent of first member
svn path=/trunk/; revision=96
2008-12-01 17:19:58 +00:00
Owen Taylor
e1c7a4fece Fix missing line continuation
Add a \ to the last GNOME_SHELL_DISABLE_TFP patch so that
launcher.py actually works.

svn path=/trunk/; revision=95
2008-11-29 21:55:19 +00:00
Owen Taylor
b700bb3900 Fix GNOME_SHELL_DISABLE_DISABLE_TFP typo
In my last commit of RainCT's patch, I screwed up the
envvar name when moving the code around. This fixes that.

svn path=/trunk/; revision=94
2008-11-29 21:44:19 +00:00
Owen Taylor
097346766e Bug 562629 – gnome-shell-build-setup.sh: more Ubuntu dependencies
Improve gnome-build-setup.sh by:
 - Adding more required dependencies
 - Fixing message when $reqs has multiple words
 - Remove stray + from file
Patch from RainCT (Siegfried Gevatter).

svn path=/trunk/; revision=93
2008-11-29 21:44:17 +00:00
Owen Taylor
e0f713785f Bug 562633 – Use GNOME_SHELL_DISABLE_TFP environment variable
Allow forcing off the texture_for_pixmap extension by environment
variable, since it is apparently buggy on old Intel cards with
certain driver versions

Based on patch from RainCT (Siegfried Gevatter)

svn path=/trunk/; revision=92
2008-11-29 21:11:31 +00:00
Colin Walters
eaf2bbfaf8 Add up/down keyboard arrow navigation to app display
svn path=/trunk/; revision=91
2008-11-28 23:06:07 +00:00
Colin Walters
10d5aaca83 Hook up activate on search entry to launch if only one app displayed
svn path=/trunk/; revision=90
2008-11-28 22:05:09 +00:00
Colin Walters
fae6839eb8 Bug 562604 - Close the Run Dialog when Escape is pressed
Patch from RainCT (Siegfried Gevatter).

svn path=/trunk/; revision=89
2008-11-28 20:48:38 +00:00
Colin Walters
6cc571b41e Add more Ubuntu requirements checking to build setup script
Signed-off-by: Colin Walters <walters@verbum.org>

svn path=/trunk/; revision=88
2008-11-28 20:35:32 +00:00
Colin Walters
3b9aa49f22 Convert all JS style to be uniform, add Eclipse settings bits
Previous style was all over the place; this commit attempts to bring
uniformity.  Overall, the style is:

* 4 spaces only, no tabs
* Prototypes do not create a new block
* Constructor property continuations only indent one block

svn path=/trunk/; revision=87
2008-11-28 20:12:20 +00:00
Colin Walters
3d41f586fc Convert users of static functions to new gjs syntax
svn path=/trunk/; revision=86
2008-11-26 19:14:18 +00:00
Colin Walters
cedab08018 Search executables as well
We want "gedit" to find GEdit, which doesn't contain its name in either
the name or description.

svn path=/trunk/; revision=85
2008-11-25 23:50:00 +00:00
Colin Walters
258834ed8f Add hardcoded default applications list taken from online.gnome.org
The previous list of all applications in a random order was obviously
temporary.  This patch improves things by adding a static list, taken
from the online.gnome.org/applications data.

In the future we will either have a vendor-chosen static list, or
a fully dynamic system.

http://bugzilla.gnome.org/show_bug.cgi?id=562184

svn path=/trunk/; revision=84
2008-11-25 19:58:49 +00:00
Owen Taylor
c12de59864 Add a concept of "going modal" by grabbing the keyboard
shell-global.[ch]: Replace shell_global_focus_stage()
  with shell_global_grab_keyboard()/shell_global_ungrab_keyboard()
main.js: Add startModal()/endModal() functions to go modal and
  undo that.
run_dialog.js overlay.js main.js: Use startModal() for the overlay
  and for the run dialog.

http://bugzilla.gnome.org/show_bug.cgi?id=561880

svn path=/trunk/; revision=83
2008-11-24 19:07:18 +00:00
Owen Taylor
8a9b138c2e Add a bg-color property to ShellTrayManager
shell_tray_manager.c: Add a bg-color property and implement it
 by setting a 1x1 pixmap of the right color as the background.

 Also, make the colormap of the tray manager window match that
 of the socket. That should (untested) make transparency work
 properly if the tray icon supports it.

panel.js: Set the bg-color property of the tray manager to
 match the panel.

http://bugzilla.gnome.org/show_bug.cgi?id=561872

svn path=/trunk/; revision=82
2008-11-24 19:07:15 +00:00
Owen Taylor
1d1028adef Improve overlay mode's window scaling
Add a layout for 5 windows and slightly increase the scale factor
for 3 and 4 windows.

Patch from Natan Yellin
http://bugzilla.gnome.org/show_bug.cgi?id=561947

svn path=/trunk/; revision=81
2008-11-23 04:23:34 +00:00
Owen Taylor
1fb2585d8f Tweak the animation when the overlay comes up
- Make the time a bit longer (now that we control timing in Tweener
  better it actually takes the time we specify)
- Use easeOutQuad so that we get a "soft landing" into position
- Move the anchor point of the Desktop to NorthEast to reduce jitter

svn path=/trunk/; revision=80
2008-11-23 04:12:37 +00:00
Owen Taylor
9b822402b9 Use a Tweener "Frame Ticker" with a ClutterTimeline backend
Call Tweener.setFrameTicker() with a custom object that bridges to
ClutterTimeline to get new frame notifications. Combined with a
hack to dynamically adjust the frame ticker's frame rate when
Clutter drops frames, this means that our animations play in the
intended time even if rendering is too slow to maintain a full
60HZ frame rate.

http://bugzilla.gnome.org/show_bug.cgi?id=561745

svn path=/trunk/; revision=79
2008-11-23 04:12:34 +00:00
Dan Winship
19671ad349 implement a basic switch_workspace animation using Tweener. #561835
svn path=/trunk/; revision=78
2008-11-21 21:34:10 +00:00
Colin Walters
07877e7a7a Fix app event handling
We need to hook up to events on the group, and not set higher level
actors to be reactive.

svn path=/trunk/; revision=77
2008-11-21 20:45:35 +00:00
Colin Walters
54329a65b2 Use _deactivate rather than hide so we correctly reset input area
svn path=/trunk/; revision=76
2008-11-21 20:45:33 +00:00