Commit Graph

42 Commits

Author SHA1 Message Date
Mike Blumenkrantz 09ec213a31 remove e_util_zone_current_get() usage 2015-03-13 17:58:45 -04:00
Mike Blumenkrantz c978a045e6 e_entry -> elm_entry conversion
another dice roll in the board game of enlightenment development. next, I will attempt to roll doubles to get out of jail.

 #teamborker

fix T1906
2015-01-11 12:20:46 -05: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
Mike Blumenkrantz 505cec1d91 giant comp rejiggering commit #5:
* border frame/object now drawn directly on compositor canvas

* border shadows now in border theme with edje hint, non-updated themes still receive comp object shadows FOR NOW

* e_border MOVE/RESIZE pointer mode defines are now e_pointer.h enums

* added BD_CHANGED() util macro for setting bd->changed and printing a debug line to assist in finding places where this all-important flag is wrongly set

* bd->bg_win removed entirely

* bd->pointer objects moved to compositor object; now only one pointer object exists for each compositor

* resizing windows now shows a new and totally-intended scaling effect for window contents

* some additional retooling of border deletion/free callbacks

* fixed lurking potential bug where window could recieve focus from autoraise timer after border had been deleted

* more comp shape improvements/rewrites

* desk transitions are now BROKEN(ish)

* various modules updated to not be totally broken with these changes
2013-04-15 08:39:16 +01:00
Mike Blumenkrantz 68e6b07cd7 all dialogs are no longer resizable
SVN revision: 80032
2012-12-03 09:24:12 +00:00
Mike Blumenkrantz 94e2fc5257 clean up gadget right click menus to stop leaking
SVN revision: 75285
2012-08-15 07:22:04 +00:00
Mike Blumenkrantz 98601e4198 sed -i 's/(E_Gadcon_Client_Class/(const E_Gadcon_Client_Class/g'
SVN revision: 74474
2012-07-27 08:25:22 +00:00
Mike Blumenkrantz 74edef9f46 fix memory leak spotted by seb in gc_id_new. this whole thing is pretty confusing; I'm glad we don't have docs for it
SVN revision: 72689
2012-06-22 07:21:51 +00:00
Mike Blumenkrantz 7dbd2e8de9 fix the same instance id bug as in pager, this will likely delete configs for a large number of modules
SVN revision: 72592
2012-06-21 11:03:50 +00:00
Mike Blumenkrantz 0cc0f8c658 ATTN: JEFFDAMETH!
YOUR CODE FORMATTING IS BROKEN! PLEASE FIX THIS IN YOUR EDITOR ASAP!


SVN revision: 65704
2011-11-30 03:32:54 +00:00
Gustavo Sverzut Barbieri 72d14f5466 everything/gadget: fix segv
SVN revision: 65297
2011-11-16 17:20:32 +00:00
Boris Faure 27264671d0 e/gadcon: label() returns a const char*
Original patch by Fabien Romano from OpenBSD

SVN revision: 65204
2011-11-14 21:46:57 +00:00
Boris Faure 78c5215f0a e/evry: warnings--
SVN revision: 65199
2011-11-14 21:07:29 +00:00
Gustavo Sverzut Barbieri 07532bd1ab everything/start: just search an icon if it's not the default "start"
SVN revision: 65113
2011-11-13 00:22:53 +00:00
Gustavo Sverzut Barbieri b4572fddde everything: gadget icon and minor cleanups.
SVN revision: 65111
2011-11-13 00:07:35 +00:00
Hannes Janetzek 77aba5aa4d e17/evry: these variables *might* be used unintialized
SVN revision: 64922
2011-11-08 00:30:02 +00:00
Mike Blumenkrantz 1d54dca8aa warning--
SVN revision: 64107
2011-10-16 15:20:52 +00:00
Hannes Janetzek d1caae1da8 e17/evry: show plugin list in gadget settings
SVN revision: 63954
2011-10-10 09:33:37 +00:00
Hannes Janetzek e8bd0a9299 e17/evry/gadget: show plugin icon
SVN revision: 63925
2011-10-08 18:17:38 +00:00
Hannes Janetzek 30ce785246 e17/evry: fix segv on gadget popup hide
SVN revision: 63689
2011-09-29 22:53:09 +00:00
Hannes Janetzek 8b8d288655 e17/evry/gadet: show icon of plugin
SVN revision: 63443
2011-09-16 23:41:17 +00:00
Mike Blumenkrantz d4483ad42a fix a bunch of compile warnings
SVN revision: 63243
2011-09-07 05:38:40 +00:00
Hannes Janetzek ca3dd76636 e17/evry-gadget use new gcc config macro
SVN revision: 63124
2011-09-03 14:28:47 +00:00
Hannes Janetzek 9f6e4a581d e17/evry: api change: recompile exrta evry modules.
- more work on evry gadget for illume (only works with tablet profile)


SVN revision: 63097
2011-09-02 23:02:26 +00:00
Hannes Janetzek 9c3d03e3d1 e17/evry: only show gadget windowed in illume.
SVN revision: 63060
2011-09-01 16:32:55 +00:00
Hannes Janetzek c20ee998c2 e17/evry: allow theming evry gadget. show gadget on mouse up, double clikc hides it (for now)
SVN revision: 63015
2011-08-31 00:08:52 +00:00
Hannes Janetzek 0135a46b74 e17/evr<: raise evry gadget when clicking again (double clickt closes it)
SVN revision: 62927
2011-08-28 21:27:58 +00:00
Hannes Janetzek 1fb27b0aae e17/evry: set gadget window class, skip taskbar
SVN revision: 62924
2011-08-28 21:15:20 +00:00
Hannes Janetzek ae90270846 e17/evry/gadget: show aggregator by default, move window next to gadget.
SVN revision: 62815
2011-08-25 12:58:35 +00:00
Hannes Janetzek edf0e07a3b e17/evry: add per instance config for gadget to show other plugins that 'Start'
-add EVRY_PLUGIN_HAS_ITEMS macro


SVN revision: 62662
2011-08-21 15:41:37 +00:00
Hannes Janetzek 827b7ee787 e17/evry: hope this help to set input focus for evry gadget
SVN revision: 62527
2011-08-17 02:57:57 +00:00
Hannes Janetzek 034e60d9d5 e17/evry:
- evry gadget now shows a window that works with illume for keyboard input
- added app menu browser
- evry_icon_get refactoring 


SVN revision: 62518
2011-08-16 23:26:07 +00:00
Hannes Janetzek 1311c0f8a5 e17/evry: link plugins by default statically into evry.
SVN revision: 58498
2011-04-08 22:16:59 +00:00
Hannes Janetzek e9e9c7a066 fix warning/unsued stuff
keep refs to .desktops of recently used apps


SVN revision: 56272
2011-01-23 22:34:28 +00:00
Hannes Janetzek 06f74e6f45 fix warnings, remove unused variables
SVN revision: 53978
2010-10-28 23:07:59 +00:00
Lucas De Marchi 6638a10e20 FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Hannes Janetzek c197c02360 allow multiple evry instances. just for testing atm: use F1 to drag-off popup.
fix segv: keep state until cleared. ignore events from delete_me states


SVN revision: 49453
2010-06-04 19:32:59 +00:00
Hannes Janetzek e31dc4ee77 added Plugin_Selected event
SVN revision: 49403
2010-06-02 23:19:02 +00:00
Hannes Janetzek 47bcca08ec make page-up/down select item one page further
unfocus gadget icon on hide 


SVN revision: 49374
2010-06-01 15:45:01 +00:00
Hannes Janetzek fa92eda759 evry start icon gadget, not finished but works
SVN revision: 49371
2010-06-01 14:26:09 +00:00