gnome-shell/src
Colin Walters 10dcc100e9 Kill off ShellAppInfo, move into ShellApp
This dramatically thins down and sanitizes the application code.

The ShellAppSystem changes in a number of ways:
* Preferences are special cased more explicitly; they aren't apps,
  they're shortcuts for an app), and we don't have many of them, so
  don't need e.g. the optimizations in ShellAppSystem for searching.
* get_app() changes to lookup_app() and returns null if an app isn't
  found.  The semantics where it tried to find the .desktop file
  if we didn't know about it were just broken; I am pretty sure no
  caller needs this, and if they do we'll fix them.
* ShellAppSystem maintains two indexes on apps (by desktop file id
  and by GMenuTreeEntry), but is no longer in the business of
  dealing with GMenuTree as far as hierarchy and categories go.  That
  is moved up into js/ui/appDisplay.js.  Actually, it flattens both
  apps and settings.

Also, ShellWindowTracker is now the sole reference-owner for
window-backed apps.  We still do the weird "window:0x1234beef" id
for these apps, but a reference is not stored in ShellAppSystem.

The js/ui/appDisplay.js code is rewritten, and sucks a lot less.
Variable names are clearer:

_apps -> _appIcons
_filterApp -> _visibleApps
_filters -> _categoryBox

Similarly for function names.  We no longer call (for every app) a
recursive lookup in GMenuTree to see if it's in a particular section
on every category switch; it's all cached.

NOTE - this intentionally reverts the incremental loading code from
commit 7813c5b93f.  It's fast enough
here without that.

https://bugzilla.gnome.org/show_bug.cgi?id=648149
2011-08-10 12:59:32 -04:00
..
calendar-server gnome-shell-calendar-server.c: Fix uninitialized variable usage 2011-02-28 16:53:09 -05:00
gdmuser gdm: ignore user-removed signals for untracked users 2011-06-27 17:18:20 -04:00
gvc gvc: Fix missing introspection 2011-03-11 17:50:49 +00:00
hotplug-sniffer sniffer: add a mimetype sniffer helper executable 2011-07-13 14:39:35 -04:00
st St: fix container paint volumes 2011-08-03 09:16:55 -04:00
tray tray: re-sync from panel, including _NET_SYSTEM_TRAY_COLORS support 2011-02-07 10:00:54 -05:00
gnome-shell-extension-tool.in extension-tool: Clean up code creator, update sample 2011-07-13 15:02:49 -04:00
gnome-shell-jhbuild.in gnome-shell-jhbuild.in: Fix restore_gnome. 2011-07-13 13:35:16 -04:00
gnome-shell-plugin.c environment: move more init stuff here from main.js 2011-05-16 14:56:27 -04:00
main.c main: filter out "tp-glib/proxy-DEBUG" messages 2011-07-14 14:14:18 -04:00
Makefile-calendar-server.am sniffer: add a mimetype sniffer helper executable 2011-07-13 14:39:35 -04:00
Makefile-gdmuser.am gdm: resync cut-and-paste code from gdm tree. 2010-10-13 19:05:54 -04:00
Makefile-gvc.am gvc: Fix introspection building 2011-03-11 16:29:40 +00:00
Makefile-hotplug-sniffer.am sniffer: add a mimetype sniffer helper executable 2011-07-13 14:39:35 -04:00
Makefile-st.am Fix various srcdir!=builddir issues 2011-06-23 10:15:17 -04:00
Makefile-tray.am Remove Gtk 2 compatibility code 2010-12-30 21:36:37 +01:00
Makefile.am Kill off ShellAppInfo, move into ShellApp 2011-08-10 12:59:32 -04:00
run-js-test.c tests: fix up typelib include paths 2011-07-27 09:29:03 -04:00
shell-a11y.c Use libmutter-wm, and build a real gnome-shell binary 2011-03-07 18:33:33 -05:00
shell-a11y.h Added a11y initialization code 2011-01-20 12:56:36 +01:00
shell-app-private.h Kill off ShellAppInfo, move into ShellApp 2011-08-10 12:59:32 -04:00
shell-app-system.c Kill off ShellAppInfo, move into ShellApp 2011-08-10 12:59:32 -04:00
shell-app-system.h Kill off ShellAppInfo, move into ShellApp 2011-08-10 12:59:32 -04:00
shell-app-usage.c Kill off ShellAppInfo, move into ShellApp 2011-08-10 12:59:32 -04:00
shell-app-usage.h introspection: Fix annotations 2010-09-15 03:02:26 +02:00
shell-app.c Kill off ShellAppInfo, move into ShellApp 2011-08-10 12:59:32 -04:00
shell-app.h Kill off ShellAppInfo, move into ShellApp 2011-08-10 12:59:32 -04:00
shell-arrow.c include "config.h" in all .c files 2009-11-24 09:15:35 -05:00
shell-arrow.h Add emacs modelines to all .c and .h files that were missing them 2009-10-27 11:27:45 -04:00
shell-doc-system.c Require gtk+3 3.0.0 and drop checks for minor versions. 2011-02-10 17:37:36 -05:00
shell-doc-system.h Don't switch to a workspace when dragging it to launch on that workspace 2011-02-08 19:43:21 -05:00
shell-embedded-window-private.h Add emacs modelines to all .c and .h files that were missing them 2009-10-27 11:27:45 -04:00
shell-embedded-window.c Remove Gtk 2 compatibility code 2010-12-30 21:36:37 +01:00
shell-embedded-window.h [ShellTrayIcon] add ShellTrayIcon, make ShellTrayManager use it 2010-09-23 09:49:47 -04:00
shell-enum-types.c.in Create GTypes for Shell namespace 2010-04-12 16:01:54 -04:00
shell-enum-types.h.in Create GTypes for Shell namespace 2010-04-12 16:01:54 -04:00
shell-generic-container.c St: fix container paint volumes 2011-08-03 09:16:55 -04:00
shell-generic-container.h introspection: Fix annotations 2010-09-15 03:02:26 +02:00
shell-global-private.h Use libmutter-wm, and build a real gnome-shell binary 2011-03-07 18:33:33 -05:00
shell-global.c ShellGlobal: Remove unused dbus-glib include 2011-08-09 08:07:34 -04:00
shell-global.h shell-global: add a "display" property 2011-08-03 09:09:55 -04:00
shell-gtk-embed.c ShellGtkEmbed: revert to old actor/window position-syncing code 2011-01-10 15:22:50 -05:00
shell-gtk-embed.h [ShellGtkEmbed] base this on ClutterX11TexturePixmap, not ClutterGLX 2010-09-23 09:49:47 -04:00
shell-jsapi-compat-private.h Support xulrunner 1.9.3+ 2010-09-30 12:43:12 -04:00
shell-marshal.list Add a PolicyKit authentication agent 2011-02-22 15:13:56 -05:00
shell-mobile-providers.c Status area: add NetworkManager indicator 2011-03-16 15:59:34 +01:00
shell-mobile-providers.h Status area: add NetworkManager indicator 2011-03-16 15:59:34 +01:00
shell-mount-operation.c mount-operation: implement ask-password for mounting encrypted volumes 2011-07-13 14:39:36 -04:00
shell-mount-operation.h mount-operation: add a ShellMountOperation implementation 2011-07-13 14:39:36 -04:00
shell-perf-helper.c gnome-shell-perf-helper: add server for creating test windows 2011-03-11 19:21:07 -05:00
shell-perf-log.c introspection: Build with --warn-all --warn-error 2010-09-07 13:07:52 -04:00
shell-perf-log.h Dump a complete report from a performance run, as JSON 2010-05-21 00:18:45 -04:00
shell-polkit-authentication-agent.c authentication-agent: Fix typo in user visible string 2011-02-25 13:50:22 +01:00
shell-polkit-authentication-agent.h polkit: return error when authentication dialog is dismissed 2011-02-23 11:02:46 -05:00
shell-recorder-src.c include "config.h" in all .c files 2009-11-24 09:15:35 -05:00
shell-recorder-src.h Add emacs modelines to all .c and .h files that were missing them 2009-10-27 11:27:45 -04:00
shell-recorder.c shell: fail cleanly if XFixesGetCursorImage fails 2011-08-03 11:12:32 -04:00
shell-recorder.h Make parameters configureable 2010-02-08 21:31:30 +01:00
shell-slicer.c Support and require Clutter 1.2 2010-03-11 15:08:48 -05:00
shell-slicer.h Don't generate st.h in a subdir 2010-02-22 19:37:49 -05:00
shell-stack.c include "config.h" in all .c files 2009-11-24 09:15:35 -05:00
shell-stack.h Add emacs modelines to all .c and .h files that were missing them 2009-10-27 11:27:45 -04:00
shell-tp-client.c Approve audio/video channels 2011-07-15 17:12:41 +01:00
shell-tp-client.h Approve room invitations 2011-07-07 11:18:46 +02:00
shell-tray-icon.c messageTray: forward clicks on trayicon SummaryItems to the icon 2011-03-21 14:56:53 -04:00
shell-tray-icon.h messageTray: forward clicks on trayicon SummaryItems to the icon 2011-03-21 14:56:53 -04:00
shell-tray-manager.c src: update for mutter include reorganization 2011-03-07 18:33:33 -05:00
shell-tray-manager.h tray: fix so that trayicons using symbolic icons get the right colors 2011-02-07 10:01:12 -05:00
shell-util.c calendar: Improve week start handling 2011-08-10 01:03:26 +02:00
shell-util.h calendar: Improve week start handling 2011-08-10 01:03:26 +02:00
shell-window-tracker-private.h Use new GLib application API for launching 2011-02-08 10:43:39 -05:00
shell-window-tracker.c Kill off ShellAppInfo, move into ShellApp 2011-08-10 12:59:32 -04:00
shell-window-tracker.h src: update for mutter include reorganization 2011-03-07 18:33:33 -05:00
shell-wm-private.h Adapt to removal of Mutter namespace 2010-10-23 14:02:45 -04:00
shell-wm.c src: update for mutter include reorganization 2011-03-07 18:33:33 -05:00
shell-wm.h src: update for mutter include reorganization 2011-03-07 18:33:33 -05:00
shell-xfixes-cursor.c shell: fail cleanly if XFixesGetCursorImage fails 2011-08-03 11:12:32 -04:00
shell-xfixes-cursor.h Add shell-xfixes-cursor.[ch] 2010-05-11 15:03:11 -04:00
test-recorder.c Fix handling of clutter_init() failures 2011-03-13 14:29:47 -04:00