Commit Graph

38 Commits

Author SHA1 Message Date
Carsten Haitzler cdb436ee86 e msgbus - move almost all of core dbus methods to msgbus module
for security reaons, all the dbus methods that allow you to mess with
e are now in the msgbus module - load at your own risk. this is
irrelevant in x11, but in wayland this matters as wayland is actually
secure.

this also disables restart and shutdown dbus methods still in core.
they are there but non-functional due to possibly being able to be
abused in a wayland universe to "dos attack" the wm.

@fix
2015-11-24 22:07:46 +09:00
Chris Michael 0a94e8ba71 enlightenment: Make E build again with EFL from git
sed -i 's/EAPI/E_API/g'

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-05-07 15:13:10 -04:00
Mike Blumenkrantz 471dcb24cb __UNUSED__ -> EINA_UNUSED
this has been bugging me forever. __UNUSED__ is no longer a valid macro here.
2015-03-18 18:09:09 -04:00
Mike Blumenkrantz 922af2c52f remove e_comp_list(), deprecate all related functions for pending removal
there is only one E_Comp which can now be accessed by the e_comp global.

if you're editing a file with some uses of these deprecated functions, replace their usages with appropriate references to this variable

pass -Wno-deprecated-declarations to ignore these warnings during build
2015-01-05 15:39:15 -05:00
Chris Michael a6dc950040 bugfix: Fix e_msgbus file having missing initializers for Eldbus
Messages & Signals

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-18 13:29:15 -04:00
Jérémy Zurcher 4ba2359ce9 add dbus method org.enlightenment.wm.Core.Version
returns VERSION as in config.h
call: enlightenment_remote -version
2014-07-29 10:26:14 +02: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
Sebastian Dransfeld 089a79693b msgbus: No error if name already registered 2013-11-21 10:50:27 +01:00
Mike Blumenkrantz f1a65ee922 remove "border_raise_on_focus" config option
buckle up. for the first time in history, a config option is getting removed instead of added.

the reasons for this removal are many, but let's go way back to the beginning and see why it was added:
oh wait, we can't because the commit message (from 2006) is

>>    patches that i said were in - commit. (see my reply emails)

>>    also finish off a TODO item or 2

reading through the TODO items which were also crossed off in that commit, I'm assuming that this was the "option to NOT raise on focus in click to focus" item.

== REASON 1 ==

the problem here is that there's another, BETTER option called "click raises window" (always_click_to_raise) which does the same thing, except it doesn't totally fuck you when you get a random X focus event, which happens more often than you might think.

this means that, to avoid broken behavior which might cause your windows to spastically raise for a few frames in common cases (using winlist...) with click-to-focus, you have to know that this is the default-enabled option that's fucking you, and you have to remember to manually disable it every time. if you DON'T know that this is the option that's fucking you, and you just see windows randomly raising on their own, you'll probably either ignore it or file a bug, when this is supposed to be a "feature" that actually worked in reverse, since it was intended only for disabling.

== REASON 2 ==

there's also auto-raise, which can be set to 0.0s, which is effectively the same thing since it also triggers on focus but can be configured not to fuck your window stack

== REASON 3 ==

aaand finally, this option makes any sort of pointer focus model impossible to use, since your windows will constantly be raising all over as you move the mouse

tl;dr: I'm removing it, e-dealwithit.gif
2013-10-07 06:49:33 +01:00
Lucas De Marchi f8a2dd4d95 Rename edbus->eldbus 2013-04-23 12:37:43 -03:00
Mike Blumenkrantz f97f3cdb2d ffs this free macro needs to get fixed to not fail here
SVN revision: 83555
2013-02-01 11:56:36 +00:00
Mike Blumenkrantz ceda4b3012 fix leak in e profile list dbus method
SVN revision: 83552
2013-02-01 11:46:46 +00:00
Mike Blumenkrantz 69dfb7c74c fix edbus leak
SVN revision: 83144
2013-01-23 10:10:18 +00:00
Mike Blumenkrantz 9e8e755cdf formatting: all at once
SVN revision: 82625
2013-01-11 10:34:29 +00:00
Lucas De Marchi b8dbc2fa0e e: small fixes to e_msgbus conversion to edbus
SVN revision: 81981
2013-01-02 13:15:58 +00:00
José Roberto de Souza a84987cd60 e: Port e_msgbus to edbus
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 81980
2013-01-02 13:15:53 +00:00
Mike Blumenkrantz f20c591e7b focus dbus action also raises window where necessary
ticket #1277


SVN revision: 74911
2012-08-06 08:51:54 +00:00
Mike Blumenkrantz b1a1902995 add some basic window manipulation methods to enlightenment_remote + e
ticket #201


SVN revision: 74242
2012-07-20 12:40:28 +00:00
Mike Blumenkrantz f784bff213 replace e17 logging "system" with custom eina log domain
SVN revision: 72089
2012-06-13 15:17:23 +00:00
Vincent Torri b05cb80a2a E: include E_Hal.h if requested
SVN revision: 63884
2011-10-06 15:05:27 +00:00
Mike Blumenkrantz 25f274114a ecrustified
SVN revision: 61874
2011-07-28 23:18:21 +00:00
Mike Blumenkrantz 1d16b37f4e correctly init e_hal here only when it is used as the device backend
SVN revision: 55834
2011-01-04 02:11:41 +00:00
Gustavo Sverzut Barbieri 6f2213cb25 convert init/shutdown to EINTERN, move some to _update().
Do not abuse the concept of e_*_init(), make them call-once and those
that needed multiple call are renamed to e_*_update(). To make sure
convert them to EINTERN so the symbols are not exported.

Actually I guess too much is exported as EAPI while they should be
EINTERN, but that would require manual investigation, while this patch
was basically created with sed + grep.



SVN revision: 54795
2010-11-22 15:21:32 +00:00
Christopher Michael 791d5bd436 Fix use of __UNUSED__.
Add __UNUSED__ to functions that needed it.



SVN revision: 51299
2010-08-18 17:12:55 +00:00
Mike Blumenkrantz 1b44fce207 e_dbus_object_interface_attach refs interfaces, so you have to unref the interface right after to avoid leaks as seen here
SVN revision: 50471
2010-07-24 02:11:30 +00:00
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Mike Blumenkrantz 4c2953f3f0 beginnings of the ukit migration. this time, in many many many small commits along the way to avoid breaking things! :)
step 2: migrate headers


SVN revision: 48464
2010-04-30 09:07:01 +00:00
Gustavo Sverzut Barbieri 58a1c3125a e_hal_init/shutdown
SVN revision: 42633
2009-09-23 00:08:43 +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 51fe41f439 have all exits and restarts to use e_sys_action_do()
SVN revision: 39569
2009-03-19 02:08:09 +00:00
Carsten Haitzler 75a9bb7367 edbus is now.. required. no point making it optional anymore.
SVN revision: 37255
2008-10-27 22:52:49 +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
Christopher Michael c430855a1d Patch from lok to fix E compiling without e_dbus. Makes cvs build again.
Thanks lok :)


SVN revision: 35364
2008-08-06 22:52:04 +00:00
Carsten Haitzler cf2d797345 typo!!!!
SVN revision: 34798
2008-06-11 07:02:05 +00:00
Gustavo Sverzut Barbieri 4dbd25097b More const added.
SVN revision: 33738
2008-02-13 04:51:01 +00:00
Sebastian Dransfeld b70ffc5a1c formatting
SVN revision: 32862
2007-11-24 13:27:49 +00:00
Carsten Haitzler 27524d13a5 handle errors properly in msgbus!
SVN revision: 31808
2007-09-25 23:23:42 +00:00
Stafford Mitchell Horne 54ab7f0d3c Long waiting commit
* Break out intl data. Reduces the size of e_imc
 * Add Dbus ipc replacement
 * Elightenment Dbus API can be extended by modules (Example: msgbus_lang)


SVN revision: 31803
2007-09-25 14:26:36 +00:00