Commit Graph

72 Commits

Author SHA1 Message Date
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 9e8e755cdf formatting: all at once
SVN revision: 82625
2013-01-11 10:34:29 +00:00
Mike Blumenkrantz 55ae26fcd3 prevent config dialogs from crashing if create/free data functions are not defined
SVN revision: 80772
2012-12-12 16:54:48 +00:00
Sebastian Dransfeld 336b70d246 e: unshade in shade direction
SVN revision: 77203
2012-09-28 12:25:30 +00:00
Mike Blumenkrantz 2108b94570 don't check dialog changed if just creating dialog
SVN revision: 75640
2012-08-24 06:53:32 +00:00
Mike Blumenkrantz 42ceb58540 merge a big e17 doc patch
ticket #91


SVN revision: 73408
2012-07-06 10:53:22 +00:00
Mike Blumenkrantz 5ef27ebee9 remove unnecessary evas_get call
SVN revision: 73238
2012-07-03 13:26:57 +00:00
Mike Blumenkrantz 09f0916a91 formatting
SVN revision: 72857
2012-06-26 08:40:08 +00:00
Vincent Torri c3b0637802 e17: whitespaces--
SVN revision: 72561
2012-06-21 06:19:43 +00:00
Hannes Janetzek 4ca1726aff e17: refocus config dialogs on show when they are open already
SVN revision: 57707
2011-03-12 17:20:47 +00:00
Christopher Michael c2b89b56cf Add unused.
SVN revision: 51329
2010-08-18 19:48:57 +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
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Christopher Michael 80c91b8d19 As per k-s, remove fix from e_config_dialog and instead, call e_border_show
inside uniconify.



SVN revision: 48138
2010-04-19 17:27:45 +00:00
Christopher Michael ffbd6e3bd8 Need an e_win_show here as the border may not have been 'iconified' but
rather 'hidden' completely.



SVN revision: 48137
2010-04-19 17:02:34 +00:00
Christopher Michael f933b3e993 Formatting.
SVN revision: 46738
2010-03-01 20:40:49 +00:00
Sebastian Dransfeld b7f399d159 make clang happy
SVN revision: 45153
2010-01-14 23:48:59 +00:00
kiwi 525ce104cf if a change was made in basic/advanced mode, the ok/apply button should be enabled when you go back to that mode
ok barbieri


SVN revision: 44746
2009-12-28 08:19:52 +00:00
Hannes Janetzek 91211ef9c4 reopen fileman and dialog windows after restart of e.
- modules using e_configure_registry_add must be modified to 
  use registry path as window class for this to work
- fileman now uses e_remember to remember position instead of 
  handling it separately
- added option to window remember for remembering dialogs and 
  fileman windows automatically


SVN revision: 42607
2009-09-21 20:36:35 +00:00
Christopher Michael 6ab63682dd Fix API Inconsistency in regards to e_widget_min_size_* . Renamed to
e_widget_size_min_* . This Large commit should fix everything in svn that is
using those functions.



SVN revision: 42152
2009-09-01 13:34:42 +00:00
Christopher Michael b851ab4fc9 Don't center window when changing modes as the user may have moved it.
SVN revision: 41933
2009-08-23 03:40:25 +00:00
Christopher Michael ad84ddfb3e Formatting.
Whitespace Removal.
Fetch the windows evas once instead of multiple calls to e_win_evas_get.
Use E_FREE to free the config dialog structure.
Make sure the window is centered when switching between Basic & Advanced.



SVN revision: 41931
2009-08-23 02:03:30 +00:00
Cedric BAIL f8c05999e4 * e: Cleanup use of Eina data structure.
Patch from Peter van de Werken <pwerken-e@a-eskwadraat.nl>.


SVN revision: 41916
2009-08-21 15:08:49 +00:00
Gustavo Sverzut Barbieri e9942f09de e_config_dialog: reuse e_dialog on changes between basic and advanced.
This patch will reuse the same e_dialog and thus window while changing
contents between basic and advanced. The benefit, among many, is to
avoid titlebar flashing like hell when you click the toggle button.

By: manio


SVN revision: 41314
2009-07-12 00:24:11 +00:00
Gustavo Sverzut Barbieri 2406757ec9 fix annoying bug with config dialog window layout.
as spotted by manio, toggling between "Basic" and "Advanced" mode was
making the window move (just open Theme dialog and toggle).

Manio suggested a fix by keeping window center between both modes, but
I think that given our top-left to bottom-right reading (LTR) we
better keep the title bar (x,y) intact and avoid full rescan. This can
be weird in small screens where the dialog will not be centered
anymore and that will show easily, but on regular screens this should
not be an issue.

Also spotted that it was wrong when trying to avoid window overflow
(using x instead of y).

PS: I wonder why we destroy and create the window all over again! This
is really annoying, title bar will show the focus animation and you
get lost (need to rescan it again).




SVN revision: 41004
2009-06-10 22:53:00 +00:00
Christopher Michael 2206f3134c Formatting & Whitespace removal
SVN revision: 40273
2009-04-21 17:57:38 +00:00
Davide Andreoli 49fecd25b7 More icons renamed
SVN revision: 39400
2009-03-06 22:18:15 +00:00
Carsten Haitzler 5b50a2b89e * shortening config category titles.
* remove illume custom config dialog - use normal one
* add toolbar used in config dialog. will be used for more. makes ui more
  compact and flexible.
* make dialog windows optionally ALWAYS be "normal windows".
* config module exports a config gadget now - illume doesnt need it anymore



SVN revision: 37721
2008-11-21 03:59:30 +00:00
Cedric BAIL 1087de2397 Remove Evas list and replace them with Eina list.
No change for ->next and ->data access right now, as the patch is already
big enough.



SVN revision: 36962
2008-10-22 11:49:33 +00:00
Cedric BAIL 3d6749983b Switch to eina_stringshare.
This could also change the usage of string share in E17.



SVN revision: 36679
2008-10-15 15:12:56 +00:00
Carsten Haitzler c9c7aef72e add auto-scrolloption to dialogs (place content in scrolled viw).
SVN revision: 36268
2008-09-26 17:00:32 +00:00
Gustavo Sverzut Barbieri 8408de28cf New features to enable setting 'changed' status of config dialogs.
This callback will make it easier for dialogs to filter if the status
is really changed or if it's back to original values without having to
listen individually to each children widget (we cannot hook into the
parent since e_config_dialog already does that).



SVN revision: 36154
2008-09-21 17:08:30 +00:00
Gustavo Sverzut Barbieri c6f9ec6ece Enable manual set of configuration dialogs as changed.
For some dialogs, it's better to let the dialogs themselves choose if
they're modified or not. Default behavior is backward compatible.



SVN revision: 36152
2008-09-21 16:21:25 +00:00
Carsten Haitzler 46c3d9017e remove some printf's
SVN revision: 36036
2008-09-17 06:03:00 +00:00
Carsten Haitzler 4b969ed2fc been hacking... umm. config dialog additions.
SVN revision: 36033
2008-09-17 02:21:00 +00:00
Christopher Michael d9c072ea86 Add a very simple config dialog for deleting window remembers.
This is very very basic. Someone may want to redo the icon for this...I
didn't bring my crayons :)


SVN revision: 34477
2008-05-06 09:30:21 +00:00
Carsten Haitzler 3a9b34fd07 and defer the del in other places too. anywhere where a canvas free might
delete widgets that end up calling hooks that delete other objetcs that may
already be freed - this is an issue. use it.


SVN revision: 29848
2007-05-04 16:21:53 +00:00
Carsten Haitzler 941d1d56f7 fix valgrind issues on frees of evas screwing deletions of widgets - this
might fix a slew of bugs on dialog close.


SVN revision: 29846
2007-05-04 15:55:24 +00:00
Christopher Michael 9d97093271 Add functions for returning an existing config dialog.
SVN revision: 27287
2006-11-30 10:01:02 +00:00
Christopher Michael a0a6d53082 NULL out the setting of "Apply" button icon until we actually have an icon
for it. This recenters the Apply text.


SVN revision: 27261
2006-11-28 09:59:32 +00:00
manowarrior 050f1fe5b2 Regenerating menus...
SVN revision: 27056
2006-11-11 22:17:47 +00:00
Carsten Haitzler 7cdf9af46b metrics keynav patches in
SVN revision: 26416
2006-10-08 08:25:08 +00:00
Carsten Haitzler 8678ebe026 only bring up config dialogs once - find the previous one and splash it up if
u bring it up again


SVN revision: 26415
2006-10-08 08:04:18 +00:00
Christopher Michael 276b787255 Just some minor formatting.
SVN revision: 26345
2006-10-05 02:57:33 +00:00
Carsten Haitzler a9e7340190 you're all goign to kill me :) but here goes - i broke the dialog and config
dialog api's - added name and class params so u can set the name and class -
so users can later use things like rememebr to rememebr where a dialog will
go for usability and convenience.


SVN revision: 24691
2006-08-14 15:22:46 +00:00
sebastid ea2689ba93 The window border close is caught by the object del callback.
SVN revision: 24276
2006-07-28 13:06:12 +00:00
Christopher Michael 4bb372ad2d Give ability for config dialogs to set their border icon to the proper
config icon, rather than all having the E logo. Is proactive about setting
this: if it does not find or cannot set to that icon, it will fallback to
the E icon.

Change all config dialogs to support this.

If we have an internal border (config dialogs), disable the Create Icon/Edit
Icon menu items.


SVN revision: 23655
2006-07-02 16:19:51 +00:00
sebastid 715a64d5fe Fix warnings
SVN revision: 23032
2006-05-31 18:58:26 +00:00
Carsten Haitzler ab70226b8c autoapply has a lag of 0.5 seconds from changin config to applying to 1.
limit overhead and 2. minimise bugs.


SVN revision: 22508
2006-05-10 10:17:59 +00:00
stffrdhrn 218717c8dc Clean up compile warnings:
* char * -> const char * for stringshare strings
 * char * -> const char * where needed in functions
 * remove unused vars in some places


SVN revision: 20912
2006-03-02 12:03:48 +00:00