Commit Graph

355 Commits

Author SHA1 Message Date
Mike Blumenkrantz 8d71213839 e_client_name_get() -> e_client_util_name_get()
this should be inlined
2014-02-05 10:55:50 -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
Stefan Schmidt 4ec3258ded docs: Fix bugtracker URL to point to phab and not trac. 2013-11-19 14:30:54 +01:00
maxerba 0b463d2d1a Removing blank entries from desktop files 2013-10-05 14:32:17 +02:00
maxerba 26303bbe1f Fixed sorting in desktop files 2013-07-05 19:02:53 +02:00
Igor Murzov 315dbf8409 Let's drop meaningless empty translations from .desktop files 2013-06-17 13:43:34 +04:00
Eduardo Lima (Etrunko) d4ee6be578 Split .gitignore into multiple files
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-06-11 18:19:12 -03: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 3456c9dff2 fix small leak in illume2 policy config
SVN revision: 83149
2013-01-23 10:27:33 +00:00
Mike Blumenkrantz 7f22a1e36a don't need to be rebuilding illume edj files all the time, these haven't changed since dinosaurs roamed the earth
also probably fixes ticket #2084


SVN revision: 83060
2013-01-22 08:54:25 +00:00
José Roberto de Souza 29680fffca e: remove Hal backend of illume2
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 81987
2013-01-02 13:16:29 +00:00
Maxime Villard 4a52c46268 From: Maxime Villard <rustyBSD@gmx.fr>
Subject: [E-devel] [e][PATCH] Optimizations v2
Date: Fri, 21 Dec 2012 22:17:32 +0100

Hi,
same patch as before: removed useless nullchecks and
switched some free()'s to E_FREE().



SVN revision: 81592
2012-12-21 21:31:13 +00:00
Mike Blumenkrantz e85807052b no, you don't need to allocate label strings for list
SVN revision: 80868
2012-12-13 14:35:56 +00:00
Mike Blumenkrantz 68e6b07cd7 all dialogs are no longer resizable
SVN revision: 80032
2012-12-03 09:24:12 +00:00
Mike Blumenkrantz c6a9c34e7f giant header overhaul which removes all the stupid one line function prototype headers and e_mod_main.h headers that contain nothing but unnecessary module api prototypes
SVN revision: 79908
2012-11-30 14:38:34 +00:00
Carsten Haitzler f534e30089 put lucas's makefiles back.. but what do you do to make it not break
between builds from older vs newer makefile setup?



SVN revision: 79024
2012-11-09 14:49:05 +00:00
Carsten Haitzler 5fa813e1cc lucas... u're going to hate me... but i'm reverting this whole lot of
module build chnages because its fundamentally broken. it DOES NOT
PRODUCE .SO FILES. just .la and .a files. the only reason u dont
notice is.. you ALREADY had .so's installed. i just got in from the
airport... synced and updated.. rebuilt and was met with all modules
not loading... literally - no .so's are installed int he module dirs.
try rm -rf the instaleld module tree.

regardless... this has to be reverted be3cause it's a major break. the
idea is right/nice. the implementation is causing... problems.



SVN revision: 79015
2012-11-09 10:45:35 +00:00
Lucas De Marchi 0000e87ffc e/modules: delete old Makefile.am's
SVN revision: 78983
2012-11-07 21:50:53 +00:00
Lucas De Marchi 92eee9068a e: use AM_CPPFLAGS instead of INCLUDES
Get rid of warnings like below with recent automake (1.11 and newer):
src/bin/Makefile.am:6: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
src/bin/Makefile.am: installing './depcomp'
src/modules/access/Makefile.am:11: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')



SVN revision: 78720
2012-10-31 20:40:40 +00:00
Sebastian Dransfeld 80b0b615b8 e: Cleanup
Fixes potential invalid memory reads.

Patch by Igor Murzov

SVN revision: 77491
2012-10-04 23:27:01 +00:00
Sebastian Dransfeld 4735da0b0c E: Revert change in layer to pos map
Seems there is a lot of code which is connected to the current mapping,
and no need to create a lot of fuzz because of one unused layer.

SVN revision: 77309
2012-10-02 12:02:02 +00:00
Sebastian Dransfeld 66714d9e41 illume2: And fix the previous fix
SVN revision: 77307
2012-10-02 11:50:51 +00:00
Sebastian Dransfeld b83598a504 illume2: Correct layer check value
The old code wanted all windows above layer 50 which has now shifted one
position down.

SVN revision: 77306
2012-10-02 11:48:41 +00:00
Sebastian Dransfeld 1a46149167 illume2: simplify layer to pos mapping
SVN revision: 77302
2012-10-02 10:57:20 +00:00
Sebastian Dransfeld 7e76afdd0a illume2: Fix layer to position map
There is a bug here somewhere. In _policy_border_show_below we search
only the layers _above_ the window?!?

SVN revision: 77298
2012-10-02 10:26:10 +00:00
Christopher Michael 6608e80725 E (Illume): Update border layer position to match changes in
e_container_layer_map.



SVN revision: 77297
2012-10-02 10:21:09 +00:00
Christopher Michael fdf581a87e Illume: Fix ticket 1486 (Illume Home Key Button no longer works). Fix
some layering issues with Back/Forward also.

Implement a "hide_above" function to hide anything above Home window.



SVN revision: 76646
2012-09-14 07:40:31 +00:00
Christopher Michael 5b80ad77d9 E (Illume): Fix border_show_below also (and remove some printfs).
SVN revision: 76592
2012-09-13 08:51:45 +00:00
Christopher Michael 3ed9034661 E (Illume): Fix borders not iconifying in mobile profile when you
launch new apps or switch focus.



SVN revision: 76590
2012-09-13 08:33:14 +00:00
Mike Blumenkrantz 2434f5adbe more PATH_MAX cleanups
SVN revision: 75520
2012-08-22 07:32:12 +00:00
Cedric BAIL c2a29811d5 e: massiv warning cleanup !
SVN revision: 70756
2012-05-04 09:38:52 +00:00
Carsten Haitzler c8952edbf3 fix segv if illume2 config load fails.
SVN revision: 69868
2012-04-02 20:29:18 +00:00
Carsten Haitzler 515819cdb5 make all zone matching agree on the same convention - use zone->num,
not zone->id. zone->id is for matching u to zinerama/xrandr
screens/outputs. e re-sorts based on highest res screens first, lower
res later.



SVN revision: 67951
2012-02-15 04:35:18 +00:00
Gustavo Sverzut Barbieri 4305b8e7fe e/docs: do bare documentation for e.
Just some groups and basic description for modules. I'm NOT going back
to this anytime soon, but would be VERY happy if people could do some
screenshots and put the images for each module in docs/img/ folder,
linking to them from each e_mod_main.h



SVN revision: 67362
2012-01-19 23:25:32 +00:00
Mike Blumenkrantz 276297887c this isn't doing what you thought it was doing.
SVN revision: 64908
2011-11-07 23:33:11 +00:00
Mike Blumenkrantz d5a1ff9f66 crash--
SVN revision: 64907
2011-11-07 23:32:44 +00:00
Mike Blumenkrantz 5a249be7bb OMG! DEVILHORNS USING AN EDITOR WITH TABS INSTEAD OF WHITESPACES????? SAY IT AIN'T SO!!!
SVN revision: 64906
2011-11-07 23:30:27 +00:00
Mike Blumenkrantz 89ecb6a8fc warning--
SVN revision: 64111
2011-10-16 15:27:49 +00:00
Hannes Janetzek 9f3f86a0f0 e17/illume/tablet: fix initial placement of windows using icccm pos request
SVN revision: 63449
2011-09-17 13:51:23 +00:00
Hannes Janetzek f8fb4a32af e17/ill/tablet: make home screen work with indicator again
SVN revision: 63176
2011-09-04 22:10:31 +00:00
Hannes Janetzek ff8c5b60ec e17/illume: more work on tablet policy
SVN revision: 63102
2011-09-03 02:20:14 +00:00
Hannes Janetzek 8a58f8f3d2 e17/illume: fix config window names to be remembered on restart
SVN revision: 63101
2011-09-03 02:19:39 +00:00
Christopher Michael 7cb1de17b3 E/Illume: Let's keep with the existing formatting shall we ? ;)
SVN revision: 62992
2011-08-30 15:00:14 +00:00
Christopher Michael e7540c354d E/Illume: Remove UNUSED here...yes, bd is actually used.
SVN revision: 62991
2011-08-30 14:59:19 +00:00
Hannes Janetzek 79fa5b5efa e17/ill/tablet:
- dont hide_border_below, makes it work with comp-scale
- fix single app layout wrt zone useful geometry


SVN revision: 62940
2011-08-29 11:28:43 +00:00
Hannes Janetzek 495902f88b e17/illume: add option to resize app window before animating keyboard. send default keyboard layout on start (not alpha)
SVN revision: 62937
2011-08-29 09:28:40 +00:00
Hannes Janetzek 28fc6e7ea0 e17/ill: forgot header
SVN revision: 62926
2011-08-28 21:19:23 +00:00
Hannes Janetzek 6fa8c702c2 e17/ill/tablet: layout evry always on the left and single when keyboard is active
SVN revision: 62925
2011-08-28 21:17:15 +00:00
Hannes Janetzek cebc3fe7e3 e17/illume/tablet: cleanup policy, refactor, remove poinless comments
SVN revision: 62922
2011-08-28 16:18:26 +00:00
Hannes Janetzek eda579a019 e17/illume: started a more tablet compatbile policy
SVN revision: 62894
2011-08-28 03:39:25 +00:00