Commit Graph

16014 Commits

Author SHA1 Message Date
Chris Michael 0e525db048 rename surface signal get function
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:06 -04:00
Chris Michael 7aab9b24a5 start on actual compositor interface code
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:06 -04:00
Chris Michael 8d54d20f8a Fix printing of wayland log output
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:06 -04:00
Chris Michael fd42a4ec98 Fix missing variable compiler warning
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:06 -04:00
Chris Michael e0d301fdb6 add call to shutdown Ecore_Wayland
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:06 -04:00
Chris Michael 234953ad3e add code to initialize Ecore_Wayland
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:06 -04:00
Chris Michael 0342998c79 set compositor wayland data
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:06 -04:00
Chris Michael 29c89083bd add code to setup input & keyboard if we are using an X compositor
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:06 -04:00
Chris Michael 708e255730 add code to initialze input
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:06 -04:00
Chris Michael 8637842cf9 add code to initialize data manager
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:06 -04:00
Chris Michael 8010e7d8b9 add code to load desktop shell module
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:06 -04:00
Chris Michael 1005a6d299 add code to integrate wayland event loop with ecore_main loop
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:05 -04:00
Chris Michael c776f016e3 add function call to initialize shm
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:05 -04:00
Chris Michael a4db6d6485 rename compositor delete callback
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:05 -04:00
Chris Michael 59338704da add code to create and bind the wayland compositor
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:05 -04:00
Chris Michael de917436fd add code to setup wayland compositor signals
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:05 -04:00
Chris Michael aff78ea8a7 add code to create wayland display socket
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:05 -04:00
Chris Michael 6c76d16a33 add code to create new wayland display
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:05 -04:00
Chris Michael edc0037655 add code to setup wayland logging function
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:05 -04:00
Chris Michael 62471b5b5b add functions to create new compositor
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:05 -04:00
Chris Michael 5137277c93 set comp_gl if we have the correct engines available
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:05 -04:00
Chris Michael 6a06b8d7f2 add start of new compositor
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:05 -04:00
Chris Michael 054b87dc0d remove useless return
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:05 -04:00
Chris Michael e84c21469d remove old wayland compositor file
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:05 -04:00
Chris Michael 7cb087238d wl-desktop-shell: Don't call e_client_ping here.
Summary: As pointed out by shiin, this causes an infinite loop due to
e_client_ping already been called in the pre_frame callback. Thanks
for spotting this !! :)

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 08:41:04 -04:00
vivek bcd3c6de49 wl_desktop_shell: Fixed the issue to check if wl surface is active or hung up
Summary:
The patch will setup e_client_cb_ping_poller and as long as wl_surface is
active it will unset hung

Signed-off-by: vivek <vivek.ellur@samsung.com>

Reviewers: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1608
2014-10-29 10:38:06 -04:00
Chris Michael 9ad13e4fcc wl_desktop_shell: Fix formatting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-29 10:35:24 -04:00
vivek 0a60b1c553 wl_desktop_shell: Fixed the issue to check if client is active or hung up
Summary:
The patch will setup e_client_cb_ping_poller and as long as surface is
active it will unset hung

Signed-off-by: vivek <vivek.ellur@samsung.com>

Reviewers: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1607
2014-10-29 10:34:26 -04:00
vivek 5f57c472b2 wl_desktop_shell: Implemented function to show xdg shell surface menu
Summary:
Implemented _e_xdg_shell_surface_cb_window_menu_show internal function
to show window menu.

Signed-off-by: vivek <vivek.ellur@samsung.com>

Reviewers: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1606
2014-10-29 09:51:28 -04:00
Tom Hacohen d8b473b5c3 tiling: fix coding conventions and style.
Should have been squashed into the previous commit. :(
Anyhow, this fixes conventions and some potentially
dangerous style choices.
2014-10-29 08:25:04 +00:00
Marcel Hollerbach 4c0f0c638f tiling: Implemented tiling window position manipulation
Summary:
This implements the possibility to "break out" a node in the tree which
means that the node will be appended or prependen to the parent in the
grandparent.

The other function "joins" the node to the node before or after.
Basically it will be added as a child, and if necessarry the client
of this node will be added in a new Window Tree and also added as a child.

With the new actions you can move the focused window right/left/up/down
with keybindings.

If the window will "break out" or "join" depends on the parent split type.

Sample:
1|4|6
2|4|6
3|5|6

(Same Number means same Window)

1 is focused.
Left Key is pressed.

1 is in a vertical split so the window will "break out".
Result:
2|1|4|6
2|1|5|6

Now another key:
Down Key is pressed.

1 is in a vertical split so the window will "join".
Result:
1|2|4|6
3 3|5|6

@feature

Fixes T1350

Reviewers: tasn

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1382
2014-10-29 08:15:19 +00:00
Jean-Philippe Andre 310c10bca8 Really fix the compilation with wayland
... I hope.
2014-10-24 19:26:55 +09:00
Jean-Philippe Andre edb535a96e Fix include order of EGL & Evas GL
Evas_GL.h must be included after EGL.h because it can then skip some
redefinitions of khronos typedefs.
2014-10-24 18:17:32 +09:00
Tom Hacohen a8d8844d5c Fix tiling window properties restore issues with iconify.
Windows properties (like border) weren't being restored on iconify.
2014-10-23 13:37:59 +01:00
Seunghun Lee 576c43df8b Remove HAVE_WAYLAND_ONLY dependency from searching and enabling backend module.
Summary:
this patch allows to enable wl_drm module(if it's exsited) without setting E_WL_FORCE as a wl_drm under HAVE_WAYLAND_ONLY.
this patch also prevent a crash under below condition. running enlightenment with HAVE_WAYLAND_ONLY option and without set E_WL_FORCE occurs crash where try to refer E_Manager because E_Manager is created in wl_drm module.

Reviewers: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1549
2014-10-20 11:53:26 -04:00
Brian 'morlenxus' Miculcy 503bd482bd enlightenment/conf: fix missing icons in settings panel
Shows the 'unknown' icon for settings panel items which have no icon defined.
@fix
2014-10-20 16:55:29 +02:00
Chris Michael 2b9b18e5fa e-comp-wl: Enable sending of the surface_create signal from the
compositor and provide an API function to retrieve that signal (used
in a pending commit)

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-13 15:51:14 -04:00
Chris Michael b072a54499 e-comp-wl: Reduce calls to wayland protocol functions. These are not
needed here and just waste extra cycles.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-13 15:49:52 -04:00
Chris Michael ab6add8375 e-comp-wl: Support wl_display_add_socket_auto function
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-13 15:48:53 -04:00
Chris Michael f882845b2d e-comp-wl: Send the resource as data to the surface_create signal
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-13 15:47:23 -04:00
Chris Michael 7498dbac99 don't crash when closing internal dialog boxes
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-12 10:08:05 -04:00
Chris Michael 5014b2965e update wl_seat interface version so that gtk apps function...for
Daniel ;)

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-12 10:01:30 -04:00
Chris Michael 55ab9a8a39 fix resizing wayland clients by sending configure message if client is
Not maximized.

Apparently I broke resize when fixing maximize ... uggg.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-12 06:15:25 -04:00
Mike Blumenkrantz 355152880d fix teamwork popup positioning for non-dbus popups 2014-10-12 04:49:21 -04:00
Boris Faure 11f8c10367 notification: don't segv if no zone found to place the popup
@fix
2014-10-12 10:23:31 +02:00
Chris Michael e93a5ce646 fix improper define which was causing uuid header to not be included
in certain cases.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-12 04:04:02 -04:00
Chris Michael 40935c3c45 send xdg surface configure message when we maximize/unmaximize.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-06 15:57:36 -04:00
Chris Michael 011600b54d Don't resend a configure event after resize is done. This is part of a
xdg_shell maximize fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-06 15:56:48 -04:00
Chris Michael e82da5e67a cleanup compiler warnings when building for wayland-only
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-03 14:02:25 -04:00
Chris Michael 459492b9ad don't define x selection notify handler if we are building for wayland-only
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-03 14:00:09 -04:00
Chris Michael 35cac300f3 Revert "don't clear 'changed' variable unless we are going to use it. (fixes"
This reverts commit 58cbf19c10.
2014-10-03 13:45:16 -04:00
Chris Michael 81dcfd5f55 declare drag finished callback event if building for wayland-only
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-03 13:43:21 -04:00
Chris Michael 4f59146512 fix compiler warnings when building for wayland-only
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-03 13:35:34 -04:00
Chris Michael 66233ec6a7 fix compiler warnings when building for wayland-only
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-03 13:34:18 -04:00
Chris Michael 58cbf19c10 don't clear 'changed' variable unless we are going to use it. (fixes
compiler warning when building for wayland-only)

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-03 13:30:48 -04:00
Chris Michael f252cd1bb5 fix compiler warnings when building for wayland-only
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-03 13:30:03 -04:00
Chris Michael 8889a0fc1c remove ifdef's for compiling out e_dnd support in wayland-only mode
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-03 13:28:58 -04:00
Chris Michael 6dff3365e7 clean compiler warnings when building for wayland-only
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-03 13:28:42 -04:00
Chris Michael 20c59557db only call ecore-x functions here if we are Not build for wayland-only
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-03 13:17:52 -04:00
Chris Michael 92c6e8799c fix unused function paramters warning when building for wayland only
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-03 13:17:33 -04:00
Chris Michael 6a07c9f99d wl-desktop-shell: Update module code for new xdg shell protocol
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-01 16:15:00 -04:00
Chris Michael 702e32ea2a wl-desktop-shell: Update desktop shell module for new xdg shell protocol
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-01 16:15:00 -04:00
Chris Michael c27ba8b8c2 e-comp-wl: Update compositor for new xdg shell protocol
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-01 16:15:00 -04:00
Chris Michael 0071b63f06 e-comp-wl: Remove dead structure members
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-01 16:15:00 -04:00
Chris Michael 44168b4a36 wl-desktop-shell: Bump xdg protocol version
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-01 16:15:00 -04:00
Mike Blumenkrantz cbcb1130b6 thaw evas on winlist activation with no clients available
fix T1667
2014-09-23 13:17:45 -04:00
Mike Blumenkrantz 8814d3ad28 client hooks should not continue to be called if the client has been deleted 2014-09-23 13:17:45 -04:00
Mike Blumenkrantz 57b5fd4d44 force comp render queue more aggressively to detect changes in nocomp 2014-09-23 10:31:04 -04:00
Mike Blumenkrantz 3aaa843a4f comp render queue on every client resize instead of on unmaximize 2014-09-23 10:31:04 -04:00
Wonguk Jeong 32efb7e5e4 conf_application: fix crash on setting Desktop Environment
use e_util_strcmp instead of strcmp. (previously, NULL check was omitted)

Fixes T1673
2014-09-22 12:04:11 +02:00
Cedric BAIL ed0efbe926 lokker: empty string should not be translated.
@fix
2014-09-22 09:07:00 +02:00
Carsten Haitzler 9391d261ba e_start - add ~/Applications/.bin to use for app bin searches
this is here to help for user installed apps
2014-09-21 00:21:16 +09:00
Stefan Schmidt 98457f7332 modules/mixer: Check fcntl setting CLOEXEC for success
We still keep going if this fails but print out an error.

CID: 1039960
2014-09-19 11:30:38 +02:00
Stefan Schmidt bbd35e82c3 modules/teamwork: Use eina_file_mkstemp() to avoid problems with umask
Keeping the snprintf to arrange for the tmp file name including the i->addr
in the filename.

CID: 1039805
2014-09-19 11:30:28 +02:00
Stefan Schmidt 4e98f7cb18 modules/pager: We already dereferenced pw->desk before, no need to check now
We already dereferenced it a few lines before thus we could never reach this
here when it would be NULL.

CID: 1039809
2014-09-19 11:30:04 +02:00
Stefan Schmidt 88f4b19f30 modules/teamwork: The ih value would never be < 1 as we checked it already.
ih did not check since the last time we checked it for < 1 a few lines before.

CID: 1232000
2014-09-19 11:29:47 +02:00
Stefan Schmidt 3a1cc22f83 modules/lokker: Array address is never NULL.
This would always be true. Comparing against the first array item is fine.

CID: 1155284
2014-09-19 11:29:27 +02:00
Stefan Schmidt 90daba7645 e_client: _e_client_cb_drag_finished is not used in wayland only mode
Mostly cosmetic as it avoid a warning of an unused function when compiling
for wayland only.
2014-09-19 09:56:10 +02:00
Stefan Schmidt 5e4cdb9064 modules/wl_drm: Remove trailing whitespaces 2014-09-19 09:52:58 +02:00
Mike Blumenkrantz 8ba2fb6d6f add borderless theme for deskmirror clients to support various animations 2014-09-18 18:21:44 -04:00
Chris Michael 25a8be59c5 Cleanup teamwork module from having missing initializerss for Eldbus
Messages & Signals

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-18 14:51:59 -04:00
Sebastian Dransfeld 8c46220dd6 e: Improve code 2014-09-18 20:32:27 +02:00
Chris Michael 7861f5e69c bugfix: Cleanup systray module having missing initializers for Eldbus
Message & Signals

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-18 14:17:50 -04:00
Chris Michael f168e42b45 bugfix: Cleanup msgbus module from having missing field initializers
for Eldbus Messages & Signals

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-18 14:07:36 -04:00
Chris Michael d207db2fdf bugfix: Cleanup fileman module from having missing initializers for
Eldbus Messages & Signals

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-18 14:07:36 -04:00
Chris Michael 23e430be25 bugfix: Cleanup bluex module having missing initializers for services
& icons

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-18 14:07:30 -04:00
Chris Michael 5813889aa2 bugfix: Cleanup appmenu module having missing field initializers for
Eldbus Messages & Signals

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-18 13:35:38 -04:00
Chris Michael 59f080f527 bugfix: Fix e_notification file having missing initializers for Eldbus
Messages & Signals

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-18 13:29:52 -04: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
Mike Blumenkrantz a0179c8c59 force render queue on unmaximize if client was fullscreen
fix T1665
2014-09-18 11:52:30 -04:00
Sebastian Dransfeld 764755eb9f e: Add preferred desktop environment for apps
In preferences we show which external applications can be used for
setting preferences. If several desktop environments are installed, this
list will have several duplicates, as there can be many different apps
for setting a preference.

With this setting we can filter out for one desktop_environment.

@feature
2014-09-18 10:51:42 +02:00
Carsten Haitzler c621f82b51 e backlight - limit min to 0.05 to avoid totally off backlight
this seems new, but if you set backlight to 0 it isnt at minimum, but
is entirely off on my intel laptop and this is not what was desired
with bl level of 0, so limit to 0.05 for now to avoid accidentally
turning your screen off. might fix this later to allow explicit off -
but this should use dpms etc. to turn the screen off as well as
possible scanout etc.
2014-09-17 15:04:32 +09:00
Carsten Haitzler 1412f28b51 mixer: Optionally select an external mixer application.
This feature allows to define an external mixer application, which replaces
the internal mixer.
Examples: 'terminology -e alsamixer', 'pavucontrol'
@feature

this re-commits this with tab fixes (no tabs)
2014-09-17 13:31:02 +09:00
Mike Blumenkrantz 35a708a397 end nocomp on nocomp end...always 2014-09-16 10:44:55 -04:00
Mike Blumenkrantz 681b1f4312 manually break out of nocomp
in the event that there was only one window open and it was closed, this would permanently break the compositor

fix T1665
2014-09-16 10:39:34 -04:00
Mike Blumenkrantz 4e3b05b11f check protocol visibility for nocomp breaks, not comp object visibility
new comp objects are never going to be visible during nocomp
2014-09-16 10:38:02 -04:00
Mike Blumenkrantz 56f898d36c don't add nocomp damages for input-only windows 2014-09-16 10:37:28 -04:00
bootleg 8341f10634 Adding support for Pithos (http://pithos.github.io/) in the music-control module. Play/pause, skip, and lock screen are confirmed to work correctly with the latest version. Additional functions (Ban, Tired, etc.) aren't working just yet and the...
Summary: ...image of the current track is also not passed just yet.

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1437
2014-09-16 11:48:43 +02:00
kabeer khan bd18e264f4 Added Caps Lock On/Off Hint in Lock Screen
Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: devilhorns, zmike

Subscribers: cedric

Maniphest Tasks: T1570

Differential Revision: https://phab.enlightenment.org/D1397
2014-09-15 23:39:40 -04:00
Mike Blumenkrantz e7c0ae402f Revert "mixer: Optionally select an external mixer application."
This reverts commit 97b1caef37.

we don't use tabs, don't even start with this.
2014-09-15 19:28:08 -04:00
Brian 'morlenxus' Miculcy 97b1caef37 mixer: Optionally select an external mixer application.
This feature allows to define an external mixer application, which replaces the internal mixer.
Examples: 'terminology -e alsamixer', 'pavucontrol'
@feature
2014-09-15 19:27:17 +02:00
Igor Murzov db45e4067d Restore translated strings accidentally dropped in fac4e89 2014-09-12 14:03:26 +04:00
maxerba fac4e89dfa Updating desktop files, eo.po and fr.po 2014-09-11 21:14:58 +02:00
Carsten Haitzler c70c334792 Revert "redo pager modules to use more accurately named edje groups"
This reverts commit 9488fddc59.

no - this breaks theme api. AGAIN ... like e18. see email to e-devel.
2014-09-11 16:24:54 +09:00
Chris Michael 284e2641e6 conf_paths: Fix 'user directory' frame to resize better and adjust
size of Default & Paths lists.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-10 14:34:50 -04:00
Chris Michael 1cd25a1595 Revert "bugfix: When we free the pixmap, clear any user data set on the resource"
This reverts commit b41dbbe9cf.

Revert this ... it works, but it's not the "proper" fix as it just
causes the crash(s) to happen elsewhere ... time to dig deeper
2014-09-10 10:24:07 -04:00
Chris Michael b41dbbe9cf bugfix: When we free the pixmap, clear any user data set on the resource
This was a cause of some memleaks/crashes in the wayland compositor
because the compositor was trying to access properties of the E_Pixmap
after it had already been freed. By setting the user_data to NULL, the
functions in the compositor which were failing will now stop trying to
access the pixmap after it's been freed.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-10 09:49:53 -04:00
Mike Blumenkrantz 9488fddc59 redo pager modules to use more accurately named edje groups 2014-09-10 09:02:03 -04:00
Mike Blumenkrantz ec1cd25cfe rename E19* defines/texts to just E so they don't need to keep being updated 2014-09-09 12:30:50 -04:00
Stefan Schmidt 452048354d e_fm: Include config.h to know about HAVE_UDISKS_MOUNT
We are checking for the various mount options here given by configure.
-Wundef showed that we might not have the defines right so better
include config.h here.
2014-09-09 10:44:21 +02:00
Mike Blumenkrantz 20a5b2bc18 fix nocomp skipping for skippable objects
fix T753
2014-09-08 09:12:21 -04:00
vivek 3999e39962 wl_desktop_shell: Added shell_surface_destroy API for destroying all surfaces
Summary:
shell_surface_destroy function is a common destroy function to destroy all type of surfaces and to remove redundancy in code

Signed-off-by: vivek <vivek.ellur@samsung.com>

Reviewers: devilhorns

Reviewed By: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1421
2014-09-08 08:15:22 -04:00
Mike Blumenkrantz 0cf20e5407 fix e_randr double comparison warnings 2014-09-07 23:02:38 -04:00
Mike Blumenkrantz a69a5a1796 add dblequal() util function to be used for addressing the infinite comparison warnings 2014-09-07 23:02:32 -04:00
Mike Blumenkrantz 93e0dd20c0 add docs for all the comp_object data keys 2014-09-07 12:49:19 -04:00
Mike Blumenkrantz a81707a507 throw CRI on e_object type errors 2014-09-07 12:35:50 -04:00
Mike Blumenkrantz 0028c7aea3 fix client positioning when initial position is offscreen or size is huge
ref T1571
2014-09-07 12:35:45 -04:00
Mike Blumenkrantz 30bd5e4a0d remove misleading old comment 2014-09-07 11:45:31 -04:00
Mike Blumenkrantz 0988340f81 add another main loop iteration after resuming for desklock visibility
fix T1498
2014-09-07 11:15:17 -04:00
Mike Blumenkrantz 7448e3706c simplify eeze backlight detection 2014-09-07 09:25:16 -04:00
Mike Blumenkrantz 1c9d1b2de1 only default to led subsystem backlight if it isn't a mail or kbd device
fix T1497

do backlights with subsystem=leds still exist or have they fixed that yet?
2014-09-07 09:25:16 -04:00
Chris Michael 7645f39446 remove useless return
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-05 15:52:09 -04:00
Mike Blumenkrantz 0e19d32806 use e_auth hash function instead of eina hash for passwords
users should keep in mind that this is not the fort knox of password storage, and someone who copies your config file could rainbow table a short password stored with this hash very easily. at some point in the future, if someone has the interest and time, perhaps this can be improved

fix T1627
2014-09-05 15:05:58 -04:00
Mike Blumenkrantz 721dfe82c2 add e_auth_hash_djb2 inline
all eina hash functions are now useless for any case where the hashed value needs to be stored, so it's necessary for e to provide its own hash function to use for password storage
2014-09-05 15:02:10 -04:00
Mike Blumenkrantz 6318fd042b add short path to ensure ConfigureNotify event after request
fix T1485
2014-09-05 15:01:52 -04:00
Mike Blumenkrantz 33ff637a7c fix pointer crashes from wrong #ifdefs in 1f439893f1 2014-09-05 14:29:39 -04:00
Mike Blumenkrantz fdcd207323 clean up function/macro use in e_pointer 2014-09-05 14:27:59 -04:00
Chris Michael 2b8d76747d Revert "bugfix: Set pointer timer & poller members to NULL after we delete the"
This reverts commit bb2dab1a5d.

Revert this because the macro already sets the pointers to NULL.
2014-09-05 12:27:01 -04:00
Chris Michael 095d34bc90 modules/notification: e_comp_object_util_zone_get Can return NULL so
we should check the return before trying to use it. Should fix Phab
T1618

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-05 12:20:54 -04:00
Chris Michael bb2dab1a5d bugfix: Set pointer timer & poller members to NULL after we delete the
timer/poller

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-05 11:40:00 -04:00
Chris Michael 7688549511 modules/conf_display: Fix CID1039753 Unused pointer value
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-05 11:16:55 -04:00
Chris Michael f43a315793 modules/conf_keybindings: Fix CID1039754 Unused pointer value
The "Don't know EINA_LIST_FOREACH macro" bandit strikes again !!

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-05 11:12:44 -04:00
Chris Michael c5023f1d4e modules/conf: Fix CID1039755 Unused pointer value
If the function returned a handle to an object, the handle may be lost.

In _e_configure_fill_cat_list: Pointer returned from a function was
never used (CWE-563)

NB: Someone should have read EINA_LIST_FOREACH on this one ;)

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-05 11:10:54 -04:00
Chris Michael 36bcc26085 modules/pager_plain: Fix CID1039809 Dereference before null check
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-05 11:05:59 -04:00
Chris Michael 911bffd23e modules/ibar: Fix Dereference before null check. Also remove extra
call to ibar_resize_handle (is already called from ibar_fill).

Fixes CID1039813

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-05 11:02:16 -04:00
Chris Michael c8dd1d95d3 modules/fileman: Fix Dereference before null check
Fixes CID1039814

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-05 10:57:21 -04:00
Chris Michael 4b4b80bcb5 modules/everything: Fix dereference before null check
Fixes CID1039816

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-05 10:50:25 -04:00
Chris Michael e9599c2597 modules/everything: Fix dereference before null check
Fixes CID1039817

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-05 10:47:53 -04:00
Chris Michael ae1c3286ee modules/bluez4: Fix dereference before null check
Fixes CID1039818

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-05 10:44:07 -04:00
Stefan Schmidt 2e651c9ec1 modules/everything: Last orrurance of missing parentheses
Again, a logic problem as without the parentheses this would evauluate to
false in all cases.

CID 1212002
2014-09-05 14:40:49 +02:00
Stefan Schmidt 1180a5300b modules/everything: More parentheses fixes for correct logic
Without the correctparenthese this would always evaluate to false.

CID 1212000, CID 1212001
2014-09-05 14:38:36 +02:00
Stefan Schmidt 831a45a2cb modules/everything: Fix parentheses for CHECK_TYPE macro
Without these parentheses the logic would always be false.

CID 1211999, CID 1212003
2014-09-05 14:33:24 +02:00
Stefan Schmidt 47d2987208 e_module: Remove dead code after return statement.
Never executed as we retrun before in any case.

CID 1039762
2014-09-05 14:25:15 +02:00
Stefan Schmidt 5bfbe933fe module/connman: Remove dead code after return.
The if else above retruns in both cases. This code was never executed.

CID 1039761
2014-09-05 14:14:33 +02:00
Stefan Schmidt c281d6da82 e_alert_main: Don't monitor in E in wayland only mode to avoid endless restarts
When running in Wayland only mode we don't have XCB available so a
xcb_connection would fail and we would restart endlessly.

I have been bitten by that often enough now. Better shutdown E cleanly and don't
use the watchdog functionality for now. This needs a wayland specific solution
anyway.
2014-09-05 12:12:13 +02:00
Stefan Schmidt 99f9244d1c e_comp_wl: Remove unused variable and mark parameter as unused. 2014-09-05 11:54:45 +02:00
Chris Michael ffe713d0df bugfix: use existing compositor canvas pointer as the windows pointer
when doing wayland windows (internal dialogs), and in such a case
don't free the window pointer on window hide/destroy.

NB: This fixes the case when running wayland-only and dialogs would
actually show 2 pointers.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-04 15:55:18 -04:00
Chris Michael 1f439893f1 bugfix: handle case of pointer_xy_get being called if we are not
wayland-only and also not working with an X client.

bugfix: Fix case of pointers_size_set not adjusting pointer structure
fields with new size when rendering wayland pointers.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-04 15:51:46 -04:00
Chris Michael b92b34621c e-comp-wl: Remove blank line
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-04 12:50:41 -04:00
vivek ded8356fc7 e_comp_wl: Handle surface opaque region in subsurface commit from cache
Summary: When we commit a subsurface from cache, we should adjust the
client's shape rectangles so that they get applied when rendering.

Signed-off-by: vivek <vivek.ellur@samsung.com>

Reviewers: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1412
2014-09-04 12:49:54 -04:00