platform/upstream/enlightenment.git
8 years agodo not return when x11 damage event returns no rects
Mike Blumenkrantz [Wed, 14 Oct 2015 16:50:17 +0000 (12:50 -0400)]
do not return when x11 damage event returns no rects

ensure first_damage flag is set in all cases

8 years agopulseaudio: pass big data as pass by reference
Amitesh Singh [Wed, 14 Oct 2015 16:21:00 +0000 (21:51 +0530)]
pulseaudio: pass big data as pass by reference

CID: 1308394

8 years agoenlightenment: Make sure we have a zone before calling
Chris Michael [Wed, 14 Oct 2015 14:59:31 +0000 (10:59 -0400)]
enlightenment: Make sure we have a zone before calling
_bgpreview_viewport_update

@fix CID1324753

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoenlightenment: Use 'fabs' to compute absolute value of floating point
Chris Michael [Wed, 14 Oct 2015 14:38:14 +0000 (10:38 -0400)]
enlightenment: Use 'fabs' to compute absolute value of floating point
types

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoenlightenment: #if 0 out an unused variable
Chris Michael [Wed, 14 Oct 2015 14:30:33 +0000 (10:30 -0400)]
enlightenment: #if 0 out an unused variable

NB: The function which actually uses this variable is also #if 0'd out

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoenlightenment: Use 'fabs' to get absolute value of floating point types
Chris Michael [Wed, 14 Oct 2015 14:28:38 +0000 (10:28 -0400)]
enlightenment: Use 'fabs' to get absolute value of floating point types

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoenlightenment: Fix E_CONFIG_LIMIT to use the proper min & max values
Chris Michael [Wed, 14 Oct 2015 14:22:19 +0000 (10:22 -0400)]
enlightenment: Fix E_CONFIG_LIMIT to use the proper min & max values

e_config->backlight.idle_dim is actually an unsigned char in the
structure, so use a 0 & 1 for min & max

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoenlightenment: Add missing field initializers for Eina_Rectangle
Chris Michael [Wed, 14 Oct 2015 14:19:43 +0000 (10:19 -0400)]
enlightenment: Add missing field initializers for Eina_Rectangle

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoenlightenment: Add missing field initializers for Evas_Point
Chris Michael [Wed, 14 Oct 2015 14:18:04 +0000 (10:18 -0400)]
enlightenment: Add missing field initializers for Evas_Point

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoenlightenment: Add missing EINA_UNUSED for unused function paramaters
Chris Michael [Wed, 14 Oct 2015 14:17:22 +0000 (10:17 -0400)]
enlightenment: Add missing EINA_UNUSED for unused function paramaters

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoenlightenment: Add missing EINA_UNUSED for unused function parameters
Chris Michael [Wed, 14 Oct 2015 14:16:25 +0000 (10:16 -0400)]
enlightenment: Add missing EINA_UNUSED for unused function parameters

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoenlightenment: Add missing EINA_UNUSED for unused function paramaters
Chris Michael [Wed, 14 Oct 2015 14:14:16 +0000 (10:14 -0400)]
enlightenment: Add missing EINA_UNUSED for unused function paramaters

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agosubtract x11 client damage region even when forcing full override damage
Mike Blumenkrantz [Wed, 14 Oct 2015 02:38:50 +0000 (22:38 -0400)]
subtract x11 client damage region even when forcing full override damage

fix T2785

8 years agoforce full damage for first frame of x11 override clients
Mike Blumenkrantz [Tue, 13 Oct 2015 21:07:30 +0000 (17:07 -0400)]
force full damage for first frame of x11 override clients

it seems that damages for popup windows in some applications,
namely blink-based browsers, are reported incorrectly, resulting
in sometimes having a blank window

8 years agoFix make distcheck
Marcel Hollerbach [Tue, 13 Oct 2015 19:58:21 +0000 (21:58 +0200)]
Fix make distcheck

8 years agomixer: start app from bin directory
Marcel Hollerbach [Tue, 13 Oct 2015 18:59:45 +0000 (20:59 +0200)]
mixer: start app from bin directory

before the app was installed into the modules directory, now its
installed to the bin directory

8 years agomixer: install icon and .desktop file
Marcel Hollerbach [Tue, 13 Oct 2015 18:55:50 +0000 (20:55 +0200)]
mixer: install icon and .desktop file

8 years agomixer: install app to bin directory
Marcel Hollerbach [Tue, 13 Oct 2015 18:55:15 +0000 (20:55 +0200)]
mixer: install app to bin directory

8 years agouse correct param ordering for setting wayland client frame geometry
Mike Blumenkrantz [Tue, 13 Oct 2015 17:31:47 +0000 (13:31 -0400)]
use correct param ordering for setting wayland client frame geometry

function uses l,r,t,b and not x,y,xx,yy

fix T2624

8 years agoremove duplicate surface size update for wayland clients during commit
Mike Blumenkrantz [Tue, 13 Oct 2015 17:25:15 +0000 (13:25 -0400)]
remove duplicate surface size update for wayland clients during commit

this has already happened in e_comp_wl_surface_attach()

8 years agodon't forget wl_desktop_shell's header in tarball
Tomáš Čech [Mon, 12 Oct 2015 15:56:45 +0000 (11:56 -0400)]
don't forget wl_desktop_shell's header in tarball

Summary: Merge branch 'master' of git://git.enlightenment.org/core/enlightenment

Reviewers: zmike

Subscribers: cedric

Maniphest Tasks: T2776

Differential Revision: https://phab.enlightenment.org/D3170

8 years agoe mixer - be more robust if pulse exits/crashes and def sink is null
Carsten Haitzler (Rasterman) [Sat, 10 Oct 2015 02:07:24 +0000 (11:07 +0900)]
e mixer - be more robust if pulse exits/crashes and def sink is null

ensure there are protections everywhere for when default sink is null
- mixer did crash when pulse crashed and a popup was to be shown...

8 years agoexplicitly disable screensaver for wayland urgency wakeups
Mike Blumenkrantz [Fri, 9 Oct 2015 19:23:15 +0000 (15:23 -0400)]
explicitly disable screensaver for wayland urgency wakeups

8 years agomake wake-on-urgent apply for all cases of window urgency
Mike Blumenkrantz [Fri, 9 Oct 2015 19:21:41 +0000 (15:21 -0400)]
make wake-on-urgent apply for all cases of window urgency

in the case that an urgent window is set as urgent again, wakeup should
still occur

8 years agoapply _GTK_FRAME_EXTENTS for xwayland clients
Mike Blumenkrantz [Fri, 9 Oct 2015 18:20:25 +0000 (14:20 -0400)]
apply _GTK_FRAME_EXTENTS for xwayland clients

not entirely sure this is worthwhile but may as well

8 years agoIntl: fix potential stack buffer overflow.
Tom Hacohen [Fri, 9 Oct 2015 08:26:45 +0000 (09:26 +0100)]
Intl: fix potential stack buffer overflow.

CID 1298051

@fix

8 years agoClient: fix potential out of bounds read.
Tom Hacohen [Fri, 9 Oct 2015 08:19:51 +0000 (09:19 +0100)]
Client: fix potential out of bounds read.

This is an unsigned int underflow that could lead to an out
of bounds read.

CID 1291837

@fix

8 years agoenlightenment: Update wayland readme
Chris Michael [Thu, 8 Oct 2015 19:28:55 +0000 (15:28 -0400)]
enlightenment: Update wayland readme

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agodon't crash desktop gadget systrays when adjusting image sizing
Mike Blumenkrantz [Thu, 8 Oct 2015 16:16:37 +0000 (12:16 -0400)]
don't crash desktop gadget systrays when adjusting image sizing

desktop gadgets (gadman) do not have a shelf, so derefing that pointer
without checking will guarantee a crash

8 years agoe comp data - actually ... NO visibility effect by default is right
Carsten Haitzler (Rasterman) [Wed, 7 Oct 2015 23:27:38 +0000 (08:27 +0900)]
e comp data - actually ... NO visibility effect by default is right

so a bit of a config wipe had my comp config reset (some dev
shenanigans) and i got to see what current e "out of box" config is -
and it was horrid for menus. visibilitiy effect was broken. vertial.
default was none - always. forever. like empty. so go back to that. in
fact why do this visibility effect? that was the point of having a
different shadow in the theme - each has its own look + effect. this
makes things far more complex...

8 years agowhen removing VERTICAL maximize state, also remove LEFT and RIGHT states
Mike Blumenkrantz [Wed, 7 Oct 2015 19:43:29 +0000 (15:43 -0400)]
when removing VERTICAL maximize state, also remove LEFT and RIGHT states

LEFT and RIGHT are supersets of VERTICAL which serve no purpose on their own,
so remove them when removing VERTICAL

fix T2770

8 years agoe comp - default config was rather broken - fix
Carsten Haitzler (Rasterman) [Wed, 7 Oct 2015 10:54:21 +0000 (19:54 +0900)]
e comp - default config was rather broken - fix

default config didnt select menu style shadow - was selecting
vertical/still which meant animation was rather horrible. fix.

8 years agoonly use fast-path pixmap size updating after a resize for x11 clients
Mike Blumenkrantz [Mon, 5 Oct 2015 21:28:26 +0000 (17:28 -0400)]
only use fast-path pixmap size updating after a resize for x11 clients

updating these values after other operations will result in the pixmap size
being set inaccurately, leading to rendering inconsistencies

8 years agoupdate wayland readme
Mike Blumenkrantz [Mon, 5 Oct 2015 20:36:39 +0000 (16:36 -0400)]
update wayland readme

8 years agorepopulate app list dialogs when efreet deskop cache updates
Mike Blumenkrantz [Mon, 5 Oct 2015 20:01:10 +0000 (16:01 -0400)]
repopulate app list dialogs when efreet deskop cache updates

should improve usage when installing/uninstalling apps

8 years agoattempt to load default e_bindings if initial load fails
Mike Blumenkrantz [Mon, 5 Oct 2015 19:56:28 +0000 (15:56 -0400)]
attempt to load default e_bindings if initial load fails

8 years agodo not set frame geometry on frame-possessing wayland clients
Mike Blumenkrantz [Mon, 5 Oct 2015 19:56:04 +0000 (15:56 -0400)]
do not set frame geometry on frame-possessing wayland clients

8 years agothrow an ACK when trying to set comp frame geometry if frame exists
Mike Blumenkrantz [Mon, 5 Oct 2015 19:55:44 +0000 (15:55 -0400)]
throw an ACK when trying to set comp frame geometry if frame exists

8 years agoclear menu cache when saving a menu file
Mike Blumenkrantz [Mon, 5 Oct 2015 17:37:45 +0000 (13:37 -0400)]
clear menu cache when saving a menu file

force regeneration of menus after editing them

ref T2271

8 years agomake icon selection dialog resizable in .desktop editor
Mike Blumenkrantz [Mon, 5 Oct 2015 17:33:13 +0000 (13:33 -0400)]
make icon selection dialog resizable in .desktop editor

ref T2271

8 years agomove configure init after intl init has completed
Mike Blumenkrantz [Mon, 5 Oct 2015 17:09:38 +0000 (13:09 -0400)]
move configure init after intl init has completed

gettext calls will not return the correct language string until after
setup has completed, leading to untranslatable strings

fix T2760

8 years agoclear the tiler for input region after setting to comp object.
Seunghun Lee [Mon, 5 Oct 2015 16:47:29 +0000 (12:47 -0400)]
clear the tiler for input region after setting to comp object.

Summary:
there is no need to set repeatedly input region even if it's already applied.
and this patch remove the code to clear tiler from client's unmapped case.
this fixes that tiler for input region is removed before applying it to comp object in case client is unmmaped yet.

Reviewers: devilhorns, zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D3076

8 years agoAdd support for the ISO 8601 date format to the clock module
Peter Kjellerstedt [Sun, 4 Oct 2015 16:56:46 +0000 (12:56 -0400)]
Add support for the ISO 8601 date format to the clock module

Reviewers: zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D3129

8 years ago e fm: Use correct string length when copying path.
Chidambar Zinnoury [Sun, 4 Oct 2015 16:44:38 +0000 (18:44 +0200)]
 e fm: Use correct string length when copying path.

 Sometimes, trying to go to the parent directory wouldn’t work and end up showing some garbage. Unfortunately, the code ended up not NULL-ending the path, which made searching for the path separator buggy.

8 years agoAdd "(drag only)" to title for drag only edge bindings
Peter Kjellerstedt [Sun, 4 Oct 2015 15:53:31 +0000 (11:53 -0400)]
Add "(drag only)" to title for drag only edge bindings

Reviewers: zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D3128

8 years ago e menus: Fix invalid comparisons.
Chidambar Zinnoury [Sun, 4 Oct 2015 14:35:43 +0000 (16:35 +0200)]
 e menus: Fix invalid comparisons.

 Fixes CID 1267215 and 1267216.

8 years agofix systray to work with spec-breaking apps, eg. steam
Mike Blumenkrantz [Sun, 4 Oct 2015 12:41:07 +0000 (08:41 -0400)]
fix systray to work with spec-breaking apps, eg. steam

according to the StatusNotifierItem specification, applications
register "service org.freedesktop.StatusNotifierItem-PID-ID" on the
session bus, and then "must register the unique instance name
to the StatusNotifierWatcher".

some applications, such as steam, instead register the path that they
will run on (/org/ayatana/NotificationItem/steam) and then expect the
watcher to register the method call's send id bus: this is totally bogus.

to catch this, when registering the new item the enlightenment watcher must
first determine if the item is spec-conforming. if yes, proceed as normal.
if no, pretend the application knows what it's doing and try to make things
work as expected anyway

for more details, read the full spec here
http://www.freedesktop.org/wiki/Specifications/StatusNotifierItem

fix T2763

8 years agomove client post-update adding into render function
Mike Blumenkrantz [Fri, 2 Oct 2015 17:49:57 +0000 (13:49 -0400)]
move client post-update adding into render function

in some cases, it's possible for a client which expects to render on
the next frame to actually render on the frame after. in these cases,
the compositor must not clear the pixmap image until after the render
has occurred in order to avoid inaccuracies. for this reason, the best
place to flag a client for post-render work is at the time of the client's
render

ref T2762
ref D3120

8 years agounify comp render returns for argb and non-argb clients
Mike Blumenkrantz [Fri, 2 Oct 2015 17:44:37 +0000 (13:44 -0400)]
unify comp render returns for argb and non-argb clients

8 years agofix comp render return value for failed draws of non-argb clients
Mike Blumenkrantz [Fri, 2 Oct 2015 17:42:33 +0000 (13:42 -0400)]
fix comp render return value for failed draws of non-argb clients

8 years agofix return value of comp render for wayland clients
Mike Blumenkrantz [Fri, 2 Oct 2015 17:41:17 +0000 (13:41 -0400)]
fix return value of comp render for wayland clients

8 years agoadd RENDER_DEBUG for forced renders when setting dirty flag
Mike Blumenkrantz [Fri, 2 Oct 2015 17:40:55 +0000 (13:40 -0400)]
add RENDER_DEBUG for forced renders when setting dirty flag

8 years agoshould remove a frame resource from pending.frames list also
Boram Park [Fri, 2 Oct 2015 16:38:30 +0000 (12:38 -0400)]
should remove a frame resource from pending.frames list also

Summary: Signed-off-by: Boram Park <boram1288.park@samsung.com>

Reviewers: stefan_schmidt, gwanglim, raster, zmike, devilhorns

Reviewed By: zmike, devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D3079

8 years agomd5: fix wrong sizeof argument (SIZEOF_MISMATCH)
Amitesh Singh [Thu, 1 Oct 2015 20:20:23 +0000 (16:20 -0400)]
md5: fix wrong sizeof argument (SIZEOF_MISMATCH)

Summary: fixes CID: 222382

Reviewers: raster, zmike, cedric, devilhorns

Reviewed By: devilhorns

Subscribers: cedric, seoz, sachin.dev

Differential Revision: https://phab.enlightenment.org/D3125

8 years agounset release mode
Mike Blumenkrantz [Thu, 1 Oct 2015 17:52:35 +0000 (13:52 -0400)]
unset release mode

8 years ago20.0-alpha NEWS updates
Mike Blumenkrantz [Thu, 1 Oct 2015 17:43:25 +0000 (13:43 -0400)]
20.0-alpha NEWS updates

8 years ago20.0-alpha release
Mike Blumenkrantz [Thu, 1 Oct 2015 17:42:45 +0000 (13:42 -0400)]
20.0-alpha release

8 years agoalways apply all randr changes after a screen event
Mike Blumenkrantz [Thu, 1 Oct 2015 17:13:08 +0000 (13:13 -0400)]
always apply all randr changes after a screen event

fixes case where plugging an external monitor would cause the screen
to expand onto that display without the display being effectively usable
until after a restart

8 years agowl_desktop_shell: return void
Boram Park [Thu, 1 Oct 2015 12:43:19 +0000 (08:43 -0400)]
wl_desktop_shell: return void

Summary:
_e_input_panel_cb_surface_get() returns void.

Signed-off-by: Boram Park <boram1288.park@samsung.com>
Reviewers: zmike, stefan_schmidt, gwanglim, raster, devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D3119

8 years agoremove remote colorclass editor usage
Mike Blumenkrantz [Wed, 30 Sep 2015 20:31:20 +0000 (16:31 -0400)]
remove remote colorclass editor usage

match current elm function signatures

8 years agomerge E19 branch NEWS items
Mike Blumenkrantz [Wed, 30 Sep 2015 19:31:34 +0000 (15:31 -0400)]
merge E19 branch NEWS items

8 years agoupdate wayland readme
Mike Blumenkrantz [Tue, 29 Sep 2015 23:01:04 +0000 (19:01 -0400)]
update wayland readme

8 years agoredo wayland client buffer referencing
Mike Blumenkrantz [Tue, 29 Sep 2015 22:53:15 +0000 (18:53 -0400)]
redo wayland client buffer referencing

the previous methodology was effectively:
attach -> ref(new buffer) x2 / unref(old buffer) x2
...
...
attach -> ref(new buffer) x2 / unref(old buffer) x2

this resulted in buffer management failures and crashing. now the
buffer gets 1x ref before render and 1x unref after render, ensuring
that the lifetime is accurate (assuming evas doesn't lie to us)

now we still have random crashing during resize, but not as much as
before

8 years agoredo CSD for wayland clients to use comp object frame geometry
Mike Blumenkrantz [Tue, 29 Sep 2015 22:50:03 +0000 (18:50 -0400)]
redo CSD for wayland clients to use comp object frame geometry

this fixes issues with client placement and is a more native solution
than the previous hacks

8 years agonever mark wl client pixmaps as dirty or refresh them
Mike Blumenkrantz [Tue, 29 Sep 2015 20:35:30 +0000 (16:35 -0400)]
never mark wl client pixmaps as dirty or refresh them

this has no meaning for a wl pixmap in the current implementation

8 years agofree x11 damage region rects
Mike Blumenkrantz [Tue, 29 Sep 2015 17:03:35 +0000 (13:03 -0400)]
free x11 damage region rects

8 years agodo not roundtrip for x11 client message DBG if it will not be visible
Mike Blumenkrantz [Tue, 29 Sep 2015 16:53:59 +0000 (12:53 -0400)]
do not roundtrip for x11 client message DBG if it will not be visible

also free fetched atom name

8 years agounset E_Client->internal_elm_win before deleting the client in e_win
Mike Blumenkrantz [Tue, 29 Sep 2015 16:58:13 +0000 (12:58 -0400)]
unset E_Client->internal_elm_win before deleting the client in e_win

==24509== Invalid write of size 8
==24509==    at 0x502D00: _e_elm_win_trap_del (e_win.c:39)
==24509==    by 0x509BFC2: _elm_win_evas_object_smart_del (elm_win.c:1886)
==24509==    by 0x91F4643: evas_obj_smart_del (in /usr/lib/libevas.so.1.15.99)
==24509==    by 0x91F5B5C: evas_object_smart_del (evas_object_smart.c:1021)
==24509==    by 0x91E9107: _evas_object_eo_base_destructor (evas_object_main.c:739)
==24509==    by 0xE54A8A3: eo_destructor (in /usr/lib/libeo.so.1.15.99)
==24509==    by 0x5086715: _elm_widget_eo_base_destructor (elm_widget.c:5744)
==24509==    by 0xE54A8A3: eo_destructor (in /usr/lib/libeo.so.1.15.99)
==24509==    by 0xE5443EC: _eo_del_internal (eo_private.h:221)
==24509==    by 0xE5443EC: _eo_unref (eo_private.h:295)
==24509==    by 0xE5443EC: _eo_do_end (eo.c:546)
==24509==    by 0x4D5B1A: _e_obj_dialog_free (e_obj_dialog.c:125)
==24509==    by 0x4D61FB: e_object_free (e_object.c:152)
==24509==    by 0x4D61FB: e_object_unref (e_object.c:152)
==24509==    by 0x4EDC54: _e_sys_logout_after (e_sys.c:750)
==24509==    by 0x4ED7AC: _e_sys_action_do (e_sys.c:925)
==24509==    by 0x4EE348: e_sys_action_raw_do (e_sys.c:311)
==24509==    by 0x4EE43F: _e_sys_comp_done_cb (e_sys.c:66)
==24509==    by 0x6097348: _edje_emit_cb (edje_program.c:1476)
==24509==    by 0x6097348: _edje_emit_handle (edje_program.c:1405)
==24509==    by 0x60924EE: _edje_message_queue_process (edje_message_queue.c:787)
==24509==    by 0x60926A6: _edje_job (edje_message_queue.c:154)
==24509==    by 0xCC5087A: _ecore_job_event_handler (ecore_job.c:121)
==24509==    by 0xCC4B204: _ecore_call_handler_cb (ecore_private.h:390)
==24509==    by 0xCC4B204: _ecore_event_call (ecore_events.c:565)
==24509==    by 0xCC52AE7: _ecore_main_loop_iterate_internal (ecore_main.c:1927)
==24509==    by 0xCC52CD6: ecore_main_loop_begin (ecore_main.c:983)
==24509==    by 0x4383F4: main (e_main.c:1047)
==24509==  Address 0x14fb1a28 is 1,176 bytes inside a block of size 1,352 free'd
==24509==    at 0x4C2A65B: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==24509==    by 0x4D61FB: e_object_free (e_object.c:152)
==24509==    by 0x4D61FB: e_object_unref (e_object.c:152)
==24509==    by 0x502CED: _e_elm_win_trap_del (e_win.c:37)
==24509==    by 0x509BFC2: _elm_win_evas_object_smart_del (elm_win.c:1886)
==24509==    by 0x91F4643: evas_obj_smart_del (in /usr/lib/libevas.so.1.15.99)
==24509==    by 0x91F5B5C: evas_object_smart_del (evas_object_smart.c:1021)
==24509==    by 0x91E9107: _evas_object_eo_base_destructor (evas_object_main.c:739)
==24509==    by 0xE54A8A3: eo_destructor (in /usr/lib/libeo.so.1.15.99)
==24509==    by 0x5086715: _elm_widget_eo_base_destructor (elm_widget.c:5744)
==24509==    by 0xE54A8A3: eo_destructor (in /usr/lib/libeo.so.1.15.99)
==24509==    by 0xE5443EC: _eo_del_internal (eo_private.h:221)
==24509==    by 0xE5443EC: _eo_unref (eo_private.h:295)
==24509==    by 0xE5443EC: _eo_do_end (eo.c:546)
==24509==    by 0x4D5B1A: _e_obj_dialog_free (e_obj_dialog.c:125)
==24509==    by 0x4D61FB: e_object_free (e_object.c:152)
==24509==    by 0x4D61FB: e_object_unref (e_object.c:152)
==24509==    by 0x4EDC54: _e_sys_logout_after (e_sys.c:750)
==24509==    by 0x4ED7AC: _e_sys_action_do (e_sys.c:925)
==24509==    by 0x4EE348: e_sys_action_raw_do (e_sys.c:311)
==24509==    by 0x4EE43F: _e_sys_comp_done_cb (e_sys.c:66)
==24509==    by 0x6097348: _edje_emit_cb (edje_program.c:1476)
==24509==    by 0x6097348: _edje_emit_handle (edje_program.c:1405)
==24509==    by 0x60924EE: _edje_message_queue_process (edje_message_queue.c:787)
==24509==    by 0x60926A6: _edje_job (edje_message_queue.c:154)
==24509==    by 0xCC5087A: _ecore_job_event_handler (ecore_job.c:121)
==24509==    by 0xCC4B204: _ecore_call_handler_cb (ecore_private.h:390)
==24509==    by 0xCC4B204: _ecore_event_call (ecore_events.c:565)
==24509==    by 0xCC52AE7: _ecore_main_loop_iterate_internal (ecore_main.c:1927)
==24509==    by 0xCC52CD6: ecore_main_loop_begin (ecore_main.c:983)
==24509==    by 0x4383F4: main (e_main.c:1047)

8 years agodo not roundtrip for x11 client message DBG if it will not be visible
Mike Blumenkrantz [Tue, 29 Sep 2015 16:53:59 +0000 (12:53 -0400)]
do not roundtrip for x11 client message DBG if it will not be visible

also free fetched atom name

8 years agoremove object event callback on notification popdown
Mike Blumenkrantz [Tue, 29 Sep 2015 16:51:36 +0000 (12:51 -0400)]
remove object event callback on notification popdown

==24509== Invalid write of size 8
==24509==    at 0x2C5ED500: _notification_popup_del_cb (e_mod_popup.c:404)
==24509==    by 0x91AAE93: _eo_evas_object_cb (evas_callbacks.c:92)
==24509==    by 0xE54DDEA: _eo_base_event_callback_call (eo_base_class.c:715)
==24509==    by 0xE54B67A: eo_event_callback_call (in /usr/lib/libeo.so.1.15.99)
==24509==    by 0x91AB323: evas_object_event_callback_call (evas_callbacks.c:264)
==24509==    by 0x91E8DE3: _evas_object_eo_base_destructor (evas_object_main.c:691)
==24509==    by 0xE54A8A3: eo_destructor (in /usr/lib/libeo.so.1.15.99)
==24509==    by 0x60A3019: _edje_object_eo_base_destructor (edje_smart.c:43)
==24509==    by 0xE54A8A3: eo_destructor (in /usr/lib/libeo.so.1.15.99)
==24509==    by 0xE5443EC: _eo_del_internal (eo_private.h:221)
==24509==    by 0xE5443EC: _eo_unref (eo_private.h:295)
==24509==    by 0xE5443EC: _eo_do_end (eo.c:546)
==24509==    by 0x6091146: edje_match_callback_exec_check_finals (edje_match.c:556)
==24509==    by 0x6091146: edje_match_callback_exec (edje_match.c:711)
==24509==    by 0x60974AE: _edje_emit_cb (edje_program.c:1453)
==24509==    by 0x60974AE: _edje_emit_handle (edje_program.c:1405)
==24509==    by 0x60924EE: _edje_message_queue_process (edje_message_queue.c:787)
==24509==    by 0x60926A6: _edje_job (edje_message_queue.c:154)
==24509==    by 0xCC5087A: _ecore_job_event_handler (ecore_job.c:121)
==24509==    by 0xCC4B204: _ecore_call_handler_cb (ecore_private.h:390)
==24509==    by 0xCC4B204: _ecore_event_call (ecore_events.c:565)
==24509==    by 0xCC52AE7: _ecore_main_loop_iterate_internal (ecore_main.c:1927)
==24509==    by 0xCC52CD6: ecore_main_loop_begin (ecore_main.c:983)
==24509==    by 0x4383F4: main (e_main.c:1047)
==24509==  Address 0x23b3dcb0 is 16 bytes inside a block of size 80 free'd
==24509==    at 0x4C2A65B: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==24509==    by 0x2C5ED606: _notification_popdown (e_mod_popup.c:747)
==24509==    by 0x2C5ED952: _notification_reshuffle_cb (e_mod_popup.c:700)
==24509==    by 0x91AAE93: _eo_evas_object_cb (evas_callbacks.c:92)
==24509==    by 0xE54DDEA: _eo_base_event_callback_call (eo_base_class.c:715)
==24509==    by 0xE54B67A: eo_event_callback_call (in /usr/lib/libeo.so.1.15.99)
==24509==    by 0x91AB323: evas_object_event_callback_call (evas_callbacks.c:264)
==24509==    by 0x91E8DE3: _evas_object_eo_base_destructor (evas_object_main.c:691)
==24509==    by 0xE54A8A3: eo_destructor (in /usr/lib/libeo.so.1.15.99)
==24509==    by 0x60A3019: _edje_object_eo_base_destructor (edje_smart.c:43)
==24509==    by 0xE54A8A3: eo_destructor (in /usr/lib/libeo.so.1.15.99)
==24509==    by 0xE5443EC: _eo_del_internal (eo_private.h:221)
==24509==    by 0xE5443EC: _eo_unref (eo_private.h:295)
==24509==    by 0xE5443EC: _eo_do_end (eo.c:546)
==24509==    by 0x504CEF: _e_zoomap_smart_del (e_zoomap.c:266)
==24509==    by 0x91F5ABC: evas_object_smart_del (evas_object_smart.c:1019)
==24509==    by 0x91E9107: _evas_object_eo_base_destructor (evas_object_main.c:739)
==24509==    by 0xE54A8A3: eo_destructor (in /usr/lib/libeo.so.1.15.99)
==24509==    by 0xE5443EC: _eo_del_internal (eo_private.h:221)
==24509==    by 0xE5443EC: _eo_unref (eo_private.h:295)
==24509==    by 0xE5443EC: _eo_do_end (eo.c:546)
==24509==    by 0x458C7A: _e_comp_object_util_del (e_comp_object.c:2402)
==24509==    by 0x91AAE93: _eo_evas_object_cb (evas_callbacks.c:92)
==24509==    by 0xE54DDEA: _eo_base_event_callback_call (eo_base_class.c:715)
==24509==    by 0xE54B67A: eo_event_callback_call (in /usr/lib/libeo.so.1.15.99)
==24509==    by 0x91AB323: evas_object_event_callback_call (evas_callbacks.c:264)
==24509==    by 0x91E8DE3: _evas_object_eo_base_destructor (evas_object_main.c:691)
==24509==    by 0xE54A8A3: eo_destructor (in /usr/lib/libeo.so.1.15.99)
==24509==    by 0x60A3019: _edje_object_eo_base_destructor (edje_smart.c:43)
==24509==    by 0xE54A8A3: eo_destructor (in /usr/lib/libeo.so.1.15.99)
==24509==    by 0xE5443EC: _eo_del_internal (eo_private.h:221)
==24509==    by 0xE5443EC: _eo_unref (eo_private.h:295)
==24509==    by 0xE5443EC: _eo_do_end (eo.c:546)
==24509==    by 0x6091146: edje_match_callback_exec_check_finals (edje_match.c:556)
==24509==    by 0x6091146: edje_match_callback_exec (edje_match.c:711)
==24509==    by 0x60974AE: _edje_emit_cb (edje_program.c:1453)
==24509==    by 0x60974AE: _edje_emit_handle (edje_program.c:1405)
==24509==    by 0x60924EE: _edje_message_queue_process (edje_message_queue.c:787)
==24509==    by 0x60926A6: _edje_job (edje_message_queue.c:154)
==24509==    by 0xCC5087A: _ecore_job_event_handler (ecore_job.c:121)
==24509==    by 0xCC4B204: _ecore_call_handler_cb (ecore_private.h:390)
==24509==    by 0xCC4B204: _ecore_event_call (ecore_events.c:565)
==24509==    by 0xCC52AE7: _ecore_main_loop_iterate_internal (ecore_main.c:1927)
==24509==    by 0xCC52CD6: ecore_main_loop_begin (ecore_main.c:983)
==24509==    by 0x4383F4: main (e_main.c:1047)

8 years agoreject client resize attempts for clients with dirty pixmaps
Mike Blumenkrantz [Tue, 29 Sep 2015 16:29:41 +0000 (12:29 -0400)]
reject client resize attempts for clients with dirty pixmaps

these clients will resize/render correctly only after the next
render loop, so defer until then to avoid #RenderFail

fix T2754

8 years agos/EAPI/E_API/ ...again
Mike Blumenkrantz [Mon, 28 Sep 2015 19:51:51 +0000 (15:51 -0400)]
s/EAPI/E_API/ ...again

8 years agouse client window coords for resize-moving without a frame_object
Mike Blumenkrantz [Mon, 28 Sep 2015 19:38:13 +0000 (15:38 -0400)]
use client window coords for resize-moving without a frame_object

improves placement of csd windows

ref T2750

8 years agodo not set client window coordinates during a move until after resizing check
Mike Blumenkrantz [Mon, 28 Sep 2015 19:36:58 +0000 (15:36 -0400)]
do not set client window coordinates during a move until after resizing check

fixes case where values would be erroneously updated when they should instead
have been rejected

ref T2750

8 years agouse more accurate math to determine whether to apply a client maximize change
Mike Blumenkrantz [Mon, 28 Sep 2015 18:42:21 +0000 (14:42 -0400)]
use more accurate math to determine whether to apply a client maximize change

8 years agounset the requested maximize state when receiving a client unmaximize request
Mike Blumenkrantz [Mon, 28 Sep 2015 18:41:44 +0000 (14:41 -0400)]
unset the requested maximize state when receiving a client unmaximize request

not sure why it was always removing VERTICAL here but that's a bug

8 years agoallow client resizes on axes currently unrestricted by maximize state
Mike Blumenkrantz [Mon, 28 Sep 2015 18:39:42 +0000 (14:39 -0400)]
allow client resizes on axes currently unrestricted by maximize state

if this isn't explicitly blocked by config options then allowing resizes
on the unmaximized axes is necessary in order to avoid accidentally
queuing a full unmaximize

8 years agounset E_Client->changes.need_unmaximize after calling unmaximize
Mike Blumenkrantz [Mon, 28 Sep 2015 18:37:57 +0000 (14:37 -0400)]
unset E_Client->changes.need_unmaximize after calling unmaximize

...just in case

8 years agoremove client maximize states during unmaximize only if they are active
Mike Blumenkrantz [Mon, 28 Sep 2015 18:36:59 +0000 (14:36 -0400)]
remove client maximize states during unmaximize only if they are active

do not accidentally remove untested states using bad math operations

8 years agoforce adjustment of client geometry when changing csd frame size
Mike Blumenkrantz [Mon, 28 Sep 2015 18:02:02 +0000 (14:02 -0400)]
force adjustment of client geometry when changing csd frame size

fix T2750

8 years ago_GTK_FRAME_EXTENTS changes using a property, not a client message
Mike Blumenkrantz [Mon, 28 Sep 2015 18:01:28 +0000 (14:01 -0400)]
_GTK_FRAME_EXTENTS changes using a property, not a client message

8 years agoreject identical calls to e_comp_object_frame_geometry_set()
Mike Blumenkrantz [Mon, 28 Sep 2015 18:01:02 +0000 (14:01 -0400)]
reject identical calls to e_comp_object_frame_geometry_set()

8 years agoe - efm fix. fix eio error handler that is called after eio cancel
Carsten Haitzler (Rasterman) [Mon, 28 Sep 2015 07:49:53 +0000 (16:49 +0900)]
e - efm fix. fix eio error handler that is called after eio cancel

so you have to have an error cb - so make it empty as even after a
canel, it is called, and thus accesses an invalid icon we've freed.

8 years agoefm - handle cancel of async eio if icon is freed and eio still active
Carsten Haitzler (Rasterman) [Mon, 28 Sep 2015 07:29:12 +0000 (16:29 +0900)]
efm - handle cancel of async eio if icon is freed and eio still active

@fix

8 years agoforce pixmap clear when hiding an x11 window
Mike Blumenkrantz [Sat, 26 Sep 2015 03:41:29 +0000 (23:41 -0400)]
force pixmap clear when hiding an x11 window

failure to refetch this upon remapping the window will result in
a broken pixmap which cannot be rendered

8 years agodon't call e_client_unignore() when un-withdrawing an x11 window
Mike Blumenkrantz [Sat, 26 Sep 2015 02:37:16 +0000 (22:37 -0400)]
don't call e_client_unignore() when un-withdrawing an x11 window

these clients were not ignored on creation, so they've already triggered
all the relevant events

8 years agobump required efl version
Mike Blumenkrantz [Sat, 26 Sep 2015 02:25:02 +0000 (22:25 -0400)]
bump required efl version

8 years agomap/unmap x11 client windows when toggling iconic state
Mike Blumenkrantz [Sat, 26 Sep 2015 01:36:22 +0000 (21:36 -0400)]
map/unmap x11 client windows when toggling iconic state

ICCCM 4.1.4

8 years agoinitialize pixmap size vars in comp resize interceptor
Mike Blumenkrantz [Sat, 26 Sep 2015 01:32:08 +0000 (21:32 -0400)]
initialize pixmap size vars in comp resize interceptor

these are never uninitialized when they are used, but this
is not obvious to the reader

CID 1324956, 1324956

8 years agoset x11 supported atom array size correctly
Mike Blumenkrantz [Sat, 26 Sep 2015 01:30:00 +0000 (21:30 -0400)]
set x11 supported atom array size correctly

CID 1324958

8 years agofix handling of x11 ICCCM WithdrawnState
Mike Blumenkrantz [Fri, 25 Sep 2015 22:31:30 +0000 (18:31 -0400)]
fix handling of x11 ICCCM WithdrawnState

according to ICCCM 4.1.4:
Only the client can effect a transition into or out of the Withdrawn state

withdrawn windows cannot be shown under any circumstances. the best that can
be done is to try mapping the window and hope it decides to appear.

to prevent any inadvertent showing of the window before it leaves the
withdrawn state, we play games with the E_Client->ignored flag in order
to skip client evals until we get notified that maybe we want to stop
skipping those evals

ref T2745

8 years agocheck warp_client existence during pointer warp before dereferencing it
Mike Blumenkrantz [Fri, 25 Sep 2015 20:26:16 +0000 (16:26 -0400)]
check warp_client existence during pointer warp before dereferencing it

ref T2679

8 years agoRevert "Revert "Revert "Revert "deskmirror - fix dangling reference to mirror by...
Carsten Haitzler (Rasterman) [Thu, 24 Sep 2015 05:01:21 +0000 (14:01 +0900)]
Revert "Revert "Revert "Revert "deskmirror - fix dangling reference to mirror by refcounting it""""

This reverts commit 2373b69c61d7d6ab74675a4facff54601831ce9a.

stop crashing on restart

8 years agoadd csd case for compositor frame adjust messages
Mike Blumenkrantz [Thu, 24 Sep 2015 20:31:57 +0000 (16:31 -0400)]
add csd case for compositor frame adjust messages

not 100% perfect, but close enough

8 years agomove compositor frame adjust messages to pixels_get callback
Mike Blumenkrantz [Thu, 24 Sep 2015 20:30:11 +0000 (16:30 -0400)]
move compositor frame adjust messages to pixels_get callback

native surfaces don't call e_comp_object_render()

8 years agoset comp object client_inset.calc based on frame_object existence
Mike Blumenkrantz [Thu, 24 Sep 2015 20:04:29 +0000 (16:04 -0400)]
set comp object client_inset.calc based on frame_object existence

8 years agoblock border-affecting client functions for csd clients
Mike Blumenkrantz [Thu, 24 Sep 2015 20:02:44 +0000 (16:02 -0400)]
block border-affecting client functions for csd clients

8 years agoblock border-affecting entries from showing up in client menu with csd
Mike Blumenkrantz [Thu, 24 Sep 2015 20:00:10 +0000 (16:00 -0400)]
block border-affecting entries from showing up in client menu with csd

8 years agofix e_shelf_position_calc() to not set struct members before applying them
Mike Blumenkrantz [Thu, 24 Sep 2015 19:55:58 +0000 (15:55 -0400)]
fix e_shelf_position_calc() to not set struct members before applying them

fix T2743

8 years agoadd util function for determining if a client is allowed to have a frame
Mike Blumenkrantz [Thu, 24 Sep 2015 19:46:39 +0000 (15:46 -0400)]
add util function for determining if a client is allowed to have a frame

returns false if mwm borderless is set or if csd exists