Commit Graph

27 Commits

Author SHA1 Message Date
Mike Blumenkrantz ba7c1ac49c remove E_Zone->comp member 2015-03-13 17:44:24 -04:00
Mike Blumenkrantz 99589eb5af remove E_Win+e_canvas, convert all internal wins to use elm_win
known issues:

* keybindings for efm windows (eg. ctrl+w) are broken until the rest of the conversion is completed
2014-11-20 15:26:21 -05:00
Mike Blumenkrantz 86656e4df9 compositor rewrite / charlie-foxtrot situation
huge fustercluck commit because there wasn't really a way to separate out the changes. better to just rip it all out at once.

* compositor and window management completely rewritten. this was the goal for E19, but it pretty much required everything existing to be scrapped since it wasn't optimized, streamlined, or sensible. now instead of having the compositor strapped to the window manager like an outboard motor, it's housed more like an automobile engine.

** various comp structs have been merged into other places (eg. E_Comp_Zone is now just part of E_Zone where applicable), leading to a large deduplication of attributes

** awful E_Comp_Win is totally dead, having been replaced with e_comp_object smart objects which work just like normal canvas objects

** protocol-specific window management and compositor functionality is now kept exclusively in backend files

** e_pixmap api provides generic client finding and rendering api

** screen/xinerama screens are now provided directly by compositor on startup and re-set on change

** e_comp_render_update finally replaced with eina_tiler

** wayland compositor no longer creates X windows

** compositor e_layout removed entirely

* e_container is gone. this was made unnecessary in E18, but I kept it to avoid having too much code churn in one release. its sole purpose was to catch some events and handle window stacking, both of which are now just done by the compositor infra

* e_manager is just for screensaver and keybind stuff now, possibly remove later?

* e_border is gone along with a lot of its api. e_client has replaced it, and e_client has been rewritten completely; some parts may be similar, but the design now relies upon having a functional compositor

** window configuration/focus functions are all removed. all windows are now managed solely with evas_object_X functions on the "frame" member of a client, just as any other canvas object can be managed.

*** do NOT set interceptors on a client's comp_object. seriously.

* startup order rewritten: compositor now starts much earlier, other things just use attrs and members of the compositor

* ecore_x_pointer_xy_get usage replaced with ecore_evas_pointer_xy_get

* e_popup is totally gone, existing usage replaced by e_comp_object_util_add where applicable, otherwise just placed normally on the canvas

* deskmirror is (more) broken for now

* illume is totally fucked

* Ecore_X_Window replaced with Ecore_Window in most cases

* edge binding XWindows replaced with regular canvas objects

* some E_Win functionality has changed such that delete callbacks are now correctly called in ALL cases. various dialogs have been updated to not crash as a result

comp files and descriptions:

e_comp.c - overall compositor functions, rendering/update loop, shape cutting

e_comp_x.c - X window management and compositor functionality

e_comp_wl.c - Wayland surface management and compositor functionality

e_comp_canvas.c - general compositor canvas functions and utilities

e_comp_object.c - E_Client->frame member for managing clients as Evas_Objects, utility functions for adding objects to the compositor rendering systems

additional authors: ivan.briano@intel.com

feature: new compositor

removal: e_border, e_container, e_popup
2014-01-14 20:22:02 -05:00
Mike Blumenkrantz 718dfef61d giant comp rejiggering commit #6:
* border->fx REMOVED, related border api REMOVED

* comp edc has new class of groups: e/comp/effects[/auto]
** these are effects which can be applied to any compositor object through the e_comp_win_effect* api and are written in embryo
*** two types - base and auto - base = manual, for use with animators; auto are "trigger and forget", for use as actual effects

* desk flip transition animations moved to comp effects and FIXED(ish)

* "zoom" effect renamed to "diagonal" for slightly less misleading name since it never did any zooming

* actual "zoom" effect added

* border hierarchy now as follows: cw->effect_obj swallows cw->shobj, cw->shobj swallows cw->bd->bg_object ?: cw->obj, if (cw->bd->bg_object) cw->bd->bg_object swallows cw->obj
** cw->effect_obj now used for all positioning and comp logic
** cw->effect_obj ONLY used for object transformation effects (moving, zooming, fading, etc)
** cw->shobj ONLY for comp visual/non-movement effects (focus effect, unfocus opacity, legacy shadows); this is a candidate for removal/rewrite in E19

* even more comp shape rewrites

* desk flip animation time now controlled by theme since edje doesn't support setting transition time in C; related config value removed

* desk flip transitions (in e_desk.c) rewritten

* various modules (evry/illume2) updated to use comp effects instead of fx offset

* desk flip configuration BROKEN(ish)
2013-04-15 08:39:16 +01:00
Christopher Michael b1c738936f Illume_Softkey: Remove silly left-over printfs...Spankies for whoever
left these in.



SVN revision: 71110
2012-05-15 12:03:55 +00:00
Carsten Haitzler e7167e7c91 in illume softkey - use min size calc.
SVN revision: 67949
2012-02-15 04:19:47 +00:00
Christopher Michael 8bb362efd8 E: Softkey Module: Decrease space allocated to 'extra buttons'. Add
lock focus_in/out on the softkey window (appears to be needed with the
changes in e_border code, else the softkey window ends up getting
focus but it should not).



SVN revision: 60783
2011-06-28 23:42:15 +00:00
Christopher Michael ddfeef51dc No need for a mode send here.
SVN revision: 56385
2011-01-29 21:16:31 +00:00
Christopher Michael 54afa6c714 Add a button on softkey module to toggle app positions if in dual mode
(this means move the top app to the bottom, and bottom app to the top,
etc, etc).



SVN revision: 56384
2011-01-29 21:08:13 +00:00
Christopher Michael 18b0b38403 Add a forward focus button for testing.
SVN revision: 53083
2010-10-05 19:15:39 +00:00
Christopher Michael b7de1183a7 Add UNUSED where needed.
Added additional parens where needed.



SVN revision: 51445
2010-08-19 19:40:57 +00:00
Christopher Michael aa763a890b Remove hard-coded size.
SVN revision: 51212
2010-08-16 14:07:37 +00:00
Christopher Michael e7653736fd Use application-exit for the close icon (supported by more icon themes).
SVN revision: 50851
2010-08-06 03:51:58 +00:00
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Christopher Michael 5d076f6355 Don't need the border hook here so remove variable (and related code).
SVN revision: 49579
2010-06-08 20:01:08 +00:00
Christopher Michael f118fa09c1 Don't show in winlist.
SVN revision: 48829
2010-05-13 21:36:46 +00:00
Christopher Michael 250cd38661 Add ability to set softkey size.
SVN revision: 47712
2010-04-02 17:24:02 +00:00
Christopher Michael 28ad67b765 Hook into zone_resize so we can adjust minimum width when zone changes
size.



SVN revision: 46600
2010-02-27 19:50:07 +00:00
Carsten Haitzler 4513a24797 no more round trips! bad bad bad!
SVN revision: 46459
2010-02-25 12:26:10 +00:00
Christopher Michael 28c0c74d6a Make softkey respond again to Scale changes.
SVN revision: 46376
2010-02-23 01:21:47 +00:00
Christopher Michael 0006745e2f Readd new illume2 code (ugg, svn is a pita) ;)
SVN revision: 46290
2010-02-19 03:00:58 +00:00
Christopher Michael 50bac54206 Ok, another stab at adding this to svn. Remove old code.
SVN revision: 46289
2010-02-19 02:59:56 +00:00
Christopher Michael efb5c66c67 New illume2 code in svn now :)
SVN revision: 46286
2010-02-19 02:32:18 +00:00
Christopher Michael 581ada3a3f Remove old illume2 code.
SVN revision: 46285
2010-02-19 02:30:01 +00:00
Christopher Michael 2a915fae74 Take into account zone->y when setting position.
Don't need to lock border location unless we are changing zones.



SVN revision: 46056
2010-02-10 17:24:33 +00:00
Christopher Michael dc1af1a3f8 Move setting window type until after window is shown.
SVN revision: 45765
2010-02-01 06:55:19 +00:00
Christopher Michael 03805afd4f New indicator & softkey modules with lots of comments, an edc that gets
compiled when the module is built, and cleaner code.



SVN revision: 45637
2010-01-27 20:04:32 +00:00