platform/upstream/enlightenment.git
11 years agoupdate readme version
Carsten Haitzler (Rasterman) [Thu, 7 Nov 2013 08:27:53 +0000 (17:27 +0900)]
update readme version

11 years agoWhen binding to data_device manager, if we cannot create the resource
Chris Michael [Tue, 5 Nov 2013 08:26:59 +0000 (08:26 +0000)]
When binding to data_device manager, if we cannot create the resource
then notify the client and get out.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoCheck that creating a new data_device_interface resource does not
Chris Michael [Tue, 5 Nov 2013 08:25:36 +0000 (08:25 +0000)]
Check that creating a new data_device_interface resource does not
fail, and bail out gracefully if so.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoIf we cannot create the data_offer resource, then cleanup and exit
Chris Michael [Tue, 5 Nov 2013 08:05:07 +0000 (08:05 +0000)]
If we cannot create the data_offer resource, then cleanup and exit
nicely.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoBUG/MINOR: avoid bashism in system() call
Bertrand Jacquin [Wed, 6 Nov 2013 00:24:28 +0000 (01:24 +0100)]
BUG/MINOR: avoid bashism in system() call

Other shell than >=bash-4 and dash does not support '&>' I/O redirection.

Introduce in commit v0.17.0-1871-g18cbd6f

 « While at it, I also fixed the piping of stdout and stderr to be nicer. »

11 years agowsod: Fixed gdb hangs when generating backtraces.
Tom Hacohen [Tue, 5 Nov 2013 15:50:23 +0000 (15:50 +0000)]
wsod: Fixed gdb hangs when generating backtraces.

After a long and hard battle with the gods of bugs I finally fixed
this stupid hang. I had to dig into the gdb source code, and gdb the
hell out of gdb, but it's now solved.

First of all, we should call gdb with -batch which exits automatically.
This however is not enough to fix it. The bug was that gdb was haning
while trying to set attributes on stdin because it was waiting for input.
This is obviously problematic when running in non-interactive mode, so
I had to pipe /dev/zero to stdin to fix it.
While at it, I also fixed the piping of stdout and stderr to be nicer.

11 years agocheck e passes distckec and set up a 0.18 alpha1
Carsten Haitzler (Rasterman) [Tue, 5 Nov 2013 07:44:30 +0000 (16:44 +0900)]
check e passes distckec and set up a 0.18 alpha1

11 years agoEnlightenment alert: Fix strings to refer to Git, not svn.
Tom Hacohen [Mon, 4 Nov 2013 14:33:56 +0000 (14:33 +0000)]
Enlightenment alert: Fix strings to refer to Git, not svn.

11 years agoe_exec: fix application closing process.
Daniel Zaoui [Mon, 4 Nov 2013 13:14:09 +0000 (15:14 +0200)]
e_exec: fix application closing process.

This is a fix to a bug that was happening on my laptop with libreoffice.
When this last one was closed, a segfault was occurring. This was due to
the use of a freed data structure. A pointer to this structure
(instance) was still stored as data of the Ecore_Exe structure.
Now, when the instance is freed, the data of the Ecore_Exe is set to
NULL.

11 years agoe/randr: lower monitor on middle click
Sebastian Dransfeld [Mon, 4 Nov 2013 10:14:20 +0000 (11:14 +0100)]
e/randr: lower monitor on middle click

If monitors are stacked above each other it is diffiult to find the
monitor below.

11 years agoefl version - bump version req for e18 to efl 1.8 (thus the coming alpha)
Carsten Haitzler (Rasterman) [Mon, 4 Nov 2013 09:42:07 +0000 (18:42 +0900)]
efl version - bump version req for e18 to efl 1.8 (thus the coming alpha)

11 years agonote valgrind wrongness and reduce exe ecit event handling complexity
Carsten Haitzler (Rasterman) [Sun, 3 Nov 2013 12:04:13 +0000 (21:04 +0900)]
note valgrind wrongness and reduce exe ecit event handling complexity

11 years agomusic-control: let the popup automatically delete the cover image.
davemds [Sat, 2 Nov 2013 22:09:38 +0000 (23:09 +0100)]
music-control: let the popup automatically delete the cover image.

This way the image of the cover is deleted after the popup-del animation.

11 years agoelm integration improvement - copy themes over, fix includes and null config
Carsten Haitzler (Rasterman) [Fri, 1 Nov 2013 06:53:05 +0000 (15:53 +0900)]
elm integration improvement - copy themes over, fix includes and null config

provide a config upgrade path to version 13 which nulls/frees out
theme config (save memory - but more housekeeping), and that also
copeis ofer all files in ~/.e/e/themes to ~/.elementary/themes so you
don't lose themes you personally have and deletes the old e theme dir
if this succeeds.

also remove all #includes of Elementary.h and Emotion.h from single c
files as they are requirements now and in e.h

also remove theme path vars and code as theme path is no longer used.

11 years agoelm theme use - use elementary only for themes and remove e's own theme
Carsten Haitzler (Rasterman) [Thu, 31 Oct 2013 14:36:22 +0000 (23:36 +0900)]
elm theme use - use elementary only for themes and remove e's own theme

now e only uses elementary's theme. this is to stop the bitrot and
forking of e's theme vs the unified elm theme that has everything for
e in it already. this obviously makes elm a requirement of e18 on, and
this also notes that emotion is always in efl these days, so its no
longer an option, and ecore-imf is no longer used as edje does the
entires now itself. in future it'll all be elm.

this is a major unification point for themes for elm and e. this will
need some testing, but everything seems to work day-to-day, but theme
selector is untested.

this also removes the theme selector for splash as that is now simply
unified with the same theme as everything else.

11 years agomake emotion as well as elm requirements, ecore-imf is not used anymore.
Carsten Haitzler (Rasterman) [Thu, 31 Oct 2013 07:58:26 +0000 (16:58 +0900)]
make emotion as well as elm requirements, ecore-imf is not used anymore.

11 years agomodule version sanity check -> make sure module versions match EXACTLY.
Carsten Haitzler (Rasterman) [Wed, 30 Oct 2013 03:07:42 +0000 (12:07 +0900)]
module version sanity check -> make sure module versions match EXACTLY.

if compile time headers (module version) does not match e's version
then modules likely may fail; to work right - so make sure they match
exactly (for release purposes)

11 years agomusic_control: add metadata (title, artist and album) and the cover image to the...
davemds [Mon, 28 Oct 2013 21:55:10 +0000 (22:55 +0100)]
music_control: add metadata (title, artist and album) and the cover image to the popup

Reviewers: zmike, zehortigoza

Reviewed By: zehortigoza

CC: cedric
Differential Revision: https://phab.enlightenment.org/D272

11 years agounbreak temp module exe event handlers
Mike Blumenkrantz [Mon, 28 Oct 2013 13:22:28 +0000 (13:22 +0000)]
unbreak temp module exe event handlers

returning 0/DONE breaks successive handlers, and that's really bad if you're breaking handlers for exes that you don't own.

11 years agounfocus focused+disabled widget always, not just when focus jump fails
discomfitor [Sat, 26 Oct 2013 08:53:15 +0000 (09:53 +0100)]
unfocus focused+disabled widget always, not just when focus jump fails

pretty sure this doesn't affect anything in e18, but it does break things in a really hard to reproduce setting involving clicking/disabling/focusing widgets simultaneously

11 years agosanitize widget disabled_set flag, only jump focus when disabling focused widget
discomfitor [Sat, 26 Oct 2013 08:52:43 +0000 (09:52 +0100)]
sanitize widget disabled_set flag, only jump focus when disabling focused widget

11 years agoMake text in battery readable by more people than just raster
Iván Briano [Fri, 25 Oct 2013 15:13:12 +0000 (13:13 -0200)]
Make text in battery readable by more people than just raster

11 years agosuspend/resume handler in clock - fix and use handler that doesnt need eio ev
Carsten Haitzler (Rasterman) [Wed, 23 Oct 2013 09:03:56 +0000 (10:03 +0100)]
suspend/resume handler in clock - fix and use handler that doesnt need eio ev

11 years agoremove not connect. tnks gustavo
Carsten Haitzler (Rasterman) [Tue, 22 Oct 2013 14:55:00 +0000 (15:55 +0100)]
remove not connect. tnks gustavo

11 years agobacklight - fix dimming if normal level less than dim level
Carsten Haitzler (Rasterman) [Tue, 22 Oct 2013 10:26:59 +0000 (11:26 +0100)]
backlight - fix dimming if normal level less than dim level

if dim level is set to 20% but normal level has been moved to 10%...
when we dim dont RAISE bl level to 20% - do nothing if dim > normal.

11 years agoconnman - tenatively add remove api - needs hooking into ui for "forget"
Carsten Haitzler (Rasterman) [Tue, 22 Oct 2013 06:54:38 +0000 (07:54 +0100)]
connman - tenatively add remove api - needs hooking into ui for "forget"

11 years agoclock - use system timerfd change event in ecore and fix eio monitor of tz
Carsten Haitzler (Rasterman) [Tue, 22 Oct 2013 06:53:57 +0000 (07:53 +0100)]
clock - use system timerfd change event in ecore and fix eio monitor of tz

this now uses the system ecore timedate change event instead of a
local timerfd. centralized implementation now.

also it fixes yhe eio monitor to ALSO monitor /etc as well to detect
changes to timzesone and filter down to the files needed.

11 years agouse livethumb instead of preview for tw popups to make transparency look less horrendous
discomfitor [Sun, 20 Oct 2013 12:40:41 +0000 (13:40 +0100)]
use livethumb instead of preview for tw popups to make transparency look less horrendous

11 years agofix unsafe list removal while walking it
Carsten Haitzler (Rasterman) [Fri, 18 Oct 2013 12:39:53 +0000 (21:39 +0900)]
fix unsafe list removal while walking it

11 years agogfix focus display in click-to-focus with keyboard triggered menus
Carsten Haitzler (Rasterman) [Fri, 18 Oct 2013 10:49:05 +0000 (19:49 +0900)]
gfix focus display in click-to-focus with keyboard triggered menus

11 years agoFix rare bug where getting refresh rate may cause a crash if
Chris Michael [Thu, 17 Oct 2013 17:07:22 +0000 (18:07 +0100)]
Fix rare bug where getting refresh rate may cause a crash if
mode->name is NULL by checking mode id instead of name.

Also if we are disabling a monitor, set current mode to 0.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
11 years agoFix Phab Ticket T433 for Glima where you could not disable a laptop panel
Chris Michael [Thu, 17 Oct 2013 17:05:29 +0000 (18:05 +0100)]
Fix Phab Ticket T433 for Glima where you could not disable a laptop panel

Signed-off-by: Chris Michael <devilhorns@comcast.net>
11 years agoprevent layout children from being resized to 0x0
Mike Blumenkrantz [Thu, 17 Oct 2013 08:54:16 +0000 (09:54 +0100)]
prevent layout children from being resized to 0x0

11 years agodon't try applying randr settings when there's no outputs, this doesn't do anything
discomfitor [Thu, 17 Oct 2013 07:35:27 +0000 (08:35 +0100)]
don't try applying randr settings when there's no outputs, this doesn't do anything

11 years agoget root window BEFORE using it to restore randr config :/
discomfitor [Thu, 17 Oct 2013 07:35:14 +0000 (08:35 +0100)]
get root window BEFORE using it to restore randr config :/

11 years agobuild: Fix distcheck due to subdir sources
Lucas De Marchi [Wed, 16 Oct 2013 04:20:40 +0000 (01:20 -0300)]
build: Fix distcheck due to subdir sources

enlightenment_fm needs some files that are not in its subdirectory, but
rather are shared with enlightenment.

Possible solutions:

1) Use a non-recursive build for enlightenment_fm.
2) Factor out a convenience library containing necessary files
3) Copy over or link the files to build tree directory during build

For simplicity (3) is implemented here. Some files were not necessary
(e_prefix.c and e_sha1.c) and the others are now linked during build to
it's original location.

11 years agobuild: Fix failing to install unit file on distcheck
Lucas De Marchi [Wed, 16 Oct 2013 00:06:53 +0000 (21:06 -0300)]
build: Fix failing to install unit file on distcheck

During distcheck we fail to install the systemd user session unit file
because it's trying to install to the place returned by pkg-config. We
could add a --with-systemduserunitdir= and set it to a proper install
place. This is done in some other programs like systemd. However there's
not much to test for the unit files installation during distcheck so
just pass --disable-systemd that will do the right thing.

Fix the error below:

 /usr/bin/install -c -m 644 e18.service '/usr/lib/systemd/user'
/usr/bin/install: cannot remove ‘/usr/lib/systemd/user/e18.service’: Permission denied
make[4]: *** [install-unitsDATA] Error 1
make[4]: Leaving directory `/home/lucas/p/e/enlightenment/enlightenment-0.17.99.17181/_build/data/units'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory `/home/lucas/p/e/enlightenment/enlightenment-0.17.99.17181/_build/data/units'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/lucas/p/e/enlightenment/enlightenment-0.17.99.17181/_build/data'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/lucas/p/e/enlightenment/enlightenment-0.17.99.17181/_build'
make: *** [distcheck] Error 1

11 years agobuild: Enable subdir-objects option in e_fm
Lucas De Marchi [Tue, 15 Oct 2013 13:46:09 +0000 (10:46 -0300)]
build: Enable subdir-objects option in e_fm

Sadly we can't globally enable subdir-objects due to gettext choking on
it so enable at least where it's necessary. Remove the following
warning from build:

    src/bin/e_fm/Makefile.am:40: warning: source file '../e_prefix.c' is in a subdirectory,
    src/bin/e_fm/Makefile.am:40: but option 'subdir-objects' is disabled
    automake: warning: possible forward-incompatibility.
    automake: At least a source file is in a subdirectory, but the 'subdir-objects'
    automake: automake option hasn't been enabled.  For now, the corresponding output
    automake: object file(s) will be placed in the top-level directory.  However,
    automake: this behaviour will change in future Automake versions: they will
    automake: unconditionally cause object files to be placed in the same subdirectory
    automake: of the corresponding sources.
    automake: You are advised to start using 'subdir-objects' option throughout your
    automake: project, to avoid future incompatibilities.
    src/bin/e_fm/Makefile.am:43: warning: source file '../e_fm_shared_codec.c' is in a subdirectory,
    src/bin/e_fm/Makefile.am:43: but option 'subdir-objects' is disabled
    src/bin/e_fm/Makefile.am:43: warning: source file '../e_fm_shared_device.c' is in a subdirectory,
    src/bin/e_fm/Makefile.am:43: but option 'subdir-objects' is disabled
    src/bin/e_fm/Makefile.am:43: warning: source file '../e_user.c' is in a subdirectory,
    src/bin/e_fm/Makefile.am:43: but option 'subdir-objects' is disabled
    src/bin/e_fm/Makefile.am:43: warning: source file '../e_sha1.c' is in a subdirectory,
    src/bin/e_fm/Makefile.am:43: but option 'subdir-objects' is disabled

11 years agofix crash when activating e restart from start menu
Mike Blumenkrantz [Tue, 15 Oct 2013 10:45:01 +0000 (11:45 +0100)]
fix crash when activating e restart from start menu

11 years agoImprove monitor resize/mouse interaction (hopefully).
Chris Michael [Tue, 15 Oct 2013 09:18:20 +0000 (10:18 +0100)]
Improve monitor resize/mouse interaction (hopefully).

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoFinally fix odd TV resolution cloning
Chris Michael [Mon, 14 Oct 2013 12:35:28 +0000 (13:35 +0100)]
Finally fix odd TV resolution cloning

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoAnother attempt at odd TV resolution fix.
Chris Michael [Mon, 14 Oct 2013 11:25:48 +0000 (12:25 +0100)]
Another attempt at odd TV resolution fix.

Mike, try this one "live" please

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoRevert "Fix bug when hotplugging a TV where resolution does not match the"
Chris Michael [Mon, 14 Oct 2013 10:07:24 +0000 (11:07 +0100)]
Revert "Fix bug when hotplugging a TV where resolution does not match the"

This reverts commit a9e09bc26dcde3667c5af512e861c8f076fea917.

Breaks build, and does not fix real issue. Revert

11 years agoFix bug when hotplugging a TV where resolution does not match the
Chris Michael [Mon, 14 Oct 2013 09:53:04 +0000 (10:53 +0100)]
Fix bug when hotplugging a TV where resolution does not match the
parent because a TV uses a non-standard 1360 resolution

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoFix randr cloning support with odd monitor sizes
Chris Michael [Mon, 14 Oct 2013 08:07:26 +0000 (09:07 +0100)]
Fix randr cloning support with odd monitor sizes

Now, if a clone cannot be set to the same resolution as the parent,
then we will go through all the parent modes and try to find one that
Both support.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoFix issue where randr dialog would crash when trying to close after
Chris Michael [Mon, 14 Oct 2013 07:30:22 +0000 (08:30 +0100)]
Fix issue where randr dialog would crash when trying to close after
cloning.

Don't free the mode_info returned from mode find as this mode info is
still part of the monitors collection of modes.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoclip efm icon event rect
Mike Blumenkrantz [Mon, 14 Oct 2013 05:11:17 +0000 (06:11 +0100)]
clip efm icon event rect

this should fix all the weird fileselector behavior that people were getting

11 years agoset pager_popup name on pager popups
Mike Blumenkrantz [Mon, 14 Oct 2013 04:04:01 +0000 (05:04 +0100)]
set pager_popup name on pager popups

11 years agoindividial desk bgpreviews are now just icons that track the current bg image; handle...
Mike Blumenkrantz [Thu, 10 Oct 2013 12:08:20 +0000 (13:08 +0100)]
individial desk bgpreviews are now just icons that track the current bg image; handlers and edje are only applied when this is part of a full vdesk preview

11 years agofix basic click focus settings apply
discomfitor [Thu, 10 Oct 2013 05:48:13 +0000 (06:48 +0100)]
fix basic click focus settings apply

forgot to update them after removing focus-raise

11 years agoefm selection cleanups
Yossi Kantor [Sun, 6 Oct 2013 08:35:23 +0000 (10:35 +0200)]
efm selection cleanups

1) efm fix: last_selection resets when icons are freed

2) When no icon is selected select first on Right/Down press or last on Left/Up keypress

3) Maintain order in range selection from first to last.

11 years agofix click focus wizard defaults
Mike Blumenkrantz [Tue, 8 Oct 2013 07:20:59 +0000 (08:20 +0100)]
fix click focus wizard defaults

11 years agomusic control: add Clementine
q66 [Mon, 7 Oct 2013 16:16:42 +0000 (18:16 +0200)]
music control: add Clementine

11 years agodon't create border menu when border menu already exists
Mike Blumenkrantz [Mon, 7 Oct 2013 09:12:54 +0000 (10:12 +0100)]
don't create border menu when border menu already exists

fixes crash from activating multiple bindings simultaneously which result in border menu being triggered

11 years agoremove "border_raise_on_focus" config option
Mike Blumenkrantz [Mon, 7 Oct 2013 05:49:33 +0000 (06:49 +0100)]
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

11 years agofix annoying gadman crash when plugging screens
Mike Blumenkrantz [Mon, 7 Oct 2013 03:18:26 +0000 (04:18 +0100)]
fix annoying gadman crash when plugging screens

11 years agocosmetic variable declaration movement
Mike Blumenkrantz [Mon, 7 Oct 2013 03:16:24 +0000 (04:16 +0100)]
cosmetic variable declaration movement

11 years agoremove gadcons from custom populate job during deletion
Mike Blumenkrantz [Mon, 7 Oct 2013 03:15:18 +0000 (04:15 +0100)]
remove gadcons from custom populate job during deletion

this showed up on my valgrind radar while xrandring, so it's safety time

11 years agodefault clock gadget config is now digital with seconds display disabled
Mike Blumenkrantz [Mon, 7 Oct 2013 03:01:29 +0000 (04:01 +0100)]
default clock gadget config is now digital with seconds display disabled

I've never seen anyone use the analog clock, so this should save people some time when adding new clocks on their screen

next step: make the clock able to do timezones...

11 years agowl_desktop_shell -> whitelisted
Mike Blumenkrantz [Mon, 7 Oct 2013 02:54:24 +0000 (03:54 +0100)]
wl_desktop_shell -> whitelisted

11 years agoadd minor optimization for e_manager_current_get for most common case
Mike Blumenkrantz [Mon, 7 Oct 2013 02:52:09 +0000 (03:52 +0100)]
add minor optimization for e_manager_current_get for most common case

there's only more than one manager when we're running true multi-head, which is pretty rare/non-existent with compositing, so we can avoid an X call here by just returning the only possible manager

11 years agoRemoving blank entries from desktop files
maxerba [Sat, 5 Oct 2013 12:32:17 +0000 (14:32 +0200)]
Removing blank entries from desktop files

11 years agocheck if class string is valid first, then make sure buffer is 0 terminated
Carsten Haitzler (Rasterman) [Fri, 4 Oct 2013 07:48:21 +0000 (16:48 +0900)]
check if class string is valid first, then make sure buffer is 0 terminated

i got a segv in an strncpy... but the bt missed telling me anything
other than it was in _e_border_eval(). gdb wouldn't help.

Thread 1 (Thread 0xb7859780 (LWP 1377)):
No symbol table info available.
No locals.
No symbol table info available.
No locals.
    at /usr/include/i386-linux-gnu/bits/string3.h:121
    buf = '\000' <repeats 4095 times>
    s = <optimized out>
    event = <optimized out>
    pnd = <optimized out>
    rem_change = 1
    send_event = 1

since this is the only strncpy, i can only conclude that something is
fishy about the src or dest buffer, and i can only guess that the
strncpy is directly in e_border.c (though it could have come from an
inline func or macro form eina etc.)... but it's the best guess i have.

the strncpy will have problems if bd->client.icccm.class > 4096 in
size. buf will not be nul terminated then:

       The strncpy() function is similar, except that at most n bytes of  src
       are  copied.  Warning: If there is no null byte among the first n bytes
       of src, the string placed in dest will not be null-terminated.

as per manpage. so there was a lurking bug with a non 0 terminated
buffer.  also added check for bd->client.icccm.class as it could be
null...

11 years agosearch for desktops by lowercased icccm class if it's different from uppercase
Mike Blumenkrantz [Thu, 3 Oct 2013 10:21:47 +0000 (11:21 +0100)]
search for desktops by lowercased icccm class if it's different from uppercase

fixes finding firefox and some others

11 years agomove phony e_exec creation for borders to after the desktop is located to ensure...
Mike Blumenkrantz [Thu, 3 Oct 2013 10:21:00 +0000 (11:21 +0100)]
move phony e_exec creation for borders to after the desktop is located to ensure that we actually have a chance of finding a correct instance

11 years agofind efm's .desktop file for efm windows
Mike Blumenkrantz [Thu, 3 Oct 2013 10:20:36 +0000 (11:20 +0100)]
find efm's .desktop file for efm windows

11 years agodon't delete just-set desktop/icon objects for borders during new_client run
Mike Blumenkrantz [Thu, 3 Oct 2013 10:20:15 +0000 (11:20 +0100)]
don't delete just-set desktop/icon objects for borders during new_client run

11 years agodon't check startup_id for internal windows
Mike Blumenkrantz [Thu, 3 Oct 2013 10:19:21 +0000 (11:19 +0100)]
don't check startup_id for internal windows

this is guaranteed to be wrong and trigger confusion in e_exec

11 years agobugfix: add handler for xwindow hiding in dnd
Mike Blumenkrantz [Thu, 3 Oct 2013 09:06:54 +0000 (10:06 +0100)]
bugfix: add handler for xwindow hiding in dnd

this fixes the case where a drag is occurring on a window and the window is closed/hidden before the dnd leave event occurs. previously this would break things to a moderate degree and cause further dnd operations to fail, but now we bravely soldier onward

11 years agobugfix: fileman spring window closing on desktop when dnd ends
Mike Blumenkrantz [Thu, 3 Oct 2013 08:45:26 +0000 (09:45 +0100)]
bugfix: fileman spring window closing on desktop when dnd ends

11 years agoFix shelf autohide config
Iván Briano [Thu, 3 Oct 2013 02:19:59 +0000 (23:19 -0300)]
Fix shelf autohide config

11 years agoe_fm custom moode (Desktop) icon navigation improved and simplified
Yossi Kantor [Tue, 1 Oct 2013 12:10:14 +0000 (14:10 +0200)]
e_fm custom moode (Desktop) icon navigation improved and simplified

11 years agoadd test for fullscreen overrides
Mike Blumenkrantz [Tue, 1 Oct 2013 09:34:20 +0000 (10:34 +0100)]
add test for fullscreen overrides

current status: FAIL

11 years agoe_fm custom and regular mode icon selection
Yossi Kantor [Tue, 17 Sep 2013 06:58:05 +0000 (08:58 +0200)]
e_fm custom and regular mode icon selection

11 years agouse more accurate heuristics when calculating ConfigureRequest move coords:
discomfitor [Thu, 26 Sep 2013 18:11:33 +0000 (19:11 +0100)]
use more accurate heuristics when calculating ConfigureRequest move coords:

1) invalidate moves resulting from stupid clients trying to re-set their current position (SUP WINE. YEAH, I'M TALKIN TO YOU, BUDDY. WHY YOU GOTTA BE MESSIN WITH MY WINDOW COORDS?)

2) clamp coords when screen limit policy is set to prevent clients from being outside the screen at all

3) all things are allowed, nothing is prohibited

11 years agoignore netwm activate messages during startup to avoid annoying desk flips
discomfitor [Thu, 26 Sep 2013 17:42:40 +0000 (18:42 +0100)]
ignore netwm activate messages during startup to avoid annoying desk flips

11 years agonever apply window placement policy on ConfigureRequest
discomfitor [Thu, 26 Sep 2013 17:16:32 +0000 (18:16 +0100)]
never apply window placement policy on ConfigureRequest

geometry_auto_move is an option which should only be applied to "new" clients. we were erroneously applying it during client move/resize requests, which likely was causing unintended behavior. if this becomes an issue, the correct solution is to create (groan) another option to enforce window placement policy either [at all times] or [for client geometry requests]

11 years agoFix uninitialized variable warning.
Chris Michael [Thu, 26 Sep 2013 19:07:01 +0000 (20:07 +0100)]
Fix uninitialized variable warning.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
11 years agomixer: gadget conf set card name when none
Jérémy Zurcher [Thu, 26 Sep 2013 14:50:54 +0000 (16:50 +0200)]
mixer: gadget conf set card name when none

11 years agoFix RandR dailog issues.
Chris Michael [Thu, 26 Sep 2013 11:13:50 +0000 (12:13 +0100)]
Fix RandR dailog issues.

- Detect when cloning is changed and update monitor "changes"
- When cloning, we cannot necessarily match parent's Mode, so find a
mode which matches on Size.
- Fix mouse pointer change issue where pointer was not being unset.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoBump e_randr config version so everyone starts with a clean, fresh
Chris Michael [Thu, 26 Sep 2013 11:12:45 +0000 (12:12 +0100)]
Bump e_randr config version so everyone starts with a clean, fresh
working configuration...now that the dialog issues are sorted ;)

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoAdd Clone Change to Changes Enum
Chris Michael [Thu, 26 Sep 2013 11:12:19 +0000 (12:12 +0100)]
Add Clone Change to Changes Enum

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoRandR: Fix issues discovered here during testing
Chris Michael [Thu, 26 Sep 2013 10:49:45 +0000 (11:49 +0100)]
RandR: Fix issues discovered here during testing

- Add some more debugging printouts
- When we initially plug in a monitor, set to Clone by default
- During initial clone, we cannot assume the plugged-in device
supports the same Mode so try to find a mode based on size.
- On output changes, test that an output has a crtc assigned.
- If a detached output Was the primary monitor, reset primary in config
to a valid existing monitor.
- Improve output_crtc_find code for better detection of where we can
place a new output.
- Fix "preferred mode" detection error.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoadd special happy fun time note for e_pointer_mode function usage
Mike Blumenkrantz [Thu, 26 Sep 2013 09:56:57 +0000 (10:56 +0100)]
add special happy fun time note for e_pointer_mode function usage

11 years agogreatly improve window positioning after ConfigureRequest
Mike Blumenkrantz [Thu, 26 Sep 2013 09:53:01 +0000 (10:53 +0100)]
greatly improve window positioning after ConfigureRequest

11 years agoalways raise with click-to-raise. seriously this time. ALWAYS.
Mike Blumenkrantz [Wed, 25 Sep 2013 07:24:50 +0000 (08:24 +0100)]
always raise with click-to-raise. seriously this time. ALWAYS.

11 years agofix pager segv... set active_pd to null if we are emptying pd's!
Carsten Haitzler (Rasterman) [Wed, 25 Sep 2013 03:59:17 +0000 (12:59 +0900)]
fix pager segv... set active_pd to null if we are emptying pd's!

11 years agoUpdate shell for recent upstream wayland/weston changes.
Chris Michael [Tue, 24 Sep 2013 14:19:57 +0000 (15:19 +0100)]
Update shell for recent upstream wayland/weston changes.
 - Update shell to support multiple resources on the client side

 NB: Fixes zmike wayland client crash issue ;)

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoUpdate pointer, keyboard, and touch structures for recent upstream wayland/weston...
Chris Michael [Tue, 24 Sep 2013 14:19:37 +0000 (15:19 +0100)]
Update pointer, keyboard, and touch structures for recent upstream wayland/weston changes.
 - Remove singular focus resource references
 - Use list of focus resources

 NB: Fixes zmike wayland client crash issue ;)

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoUpdate pointer, keyboard, and touch structures for recent upstream
Chris Michael [Tue, 24 Sep 2013 14:19:02 +0000 (15:19 +0100)]
Update pointer, keyboard, and touch structures for recent upstream
wayland/weston changes.
 - Remove focus_resource and focus_listener
 - Use a list of resources instead of singular resource

NB: Fixes zmike wayland client crash issue ;)

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoUse new wl_resource_for_each to send updated seat capabilities
Chris Michael [Tue, 24 Sep 2013 10:41:35 +0000 (11:41 +0100)]
Use new wl_resource_for_each to send updated seat capabilities

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoRevert "File manager file selection improved to fit the standart"
Mike Blumenkrantz [Tue, 24 Sep 2013 09:13:28 +0000 (10:13 +0100)]
Revert "File manager file selection improved to fit the standart"

This reverts commit c0d2c08e901a6c1de102f254c34b7962d62f102c.

note to self: check and make sure test patches are not committed when pushing

11 years agoconvert fullscreen comp shower part to SPACER
Mike Blumenkrantz [Tue, 24 Sep 2013 09:10:51 +0000 (10:10 +0100)]
convert fullscreen comp shower part to SPACER

11 years agoFile manager file selection improved to fit the standart
Yossi Kantor [Mon, 16 Sep 2013 14:48:25 +0000 (16:48 +0200)]
File manager file selection improved to fit the standart

11 years agorrrrr use right client inset offsets for calculating ConfigureRequests
discomfitor [Fri, 20 Sep 2013 21:21:28 +0000 (22:21 +0100)]
rrrrr use right client inset offsets for calculating ConfigureRequests

T288

11 years agodon't fade backlight instantly at all times
discomfitor [Fri, 20 Sep 2013 16:52:39 +0000 (17:52 +0100)]
don't fade backlight instantly at all times

11 years agofix always-on focus glow for default/fast comp group
discomfitor [Fri, 20 Sep 2013 16:39:01 +0000 (17:39 +0100)]
fix always-on focus glow for default/fast comp group

11 years agoreorder some backlight setting to make instant changes actually instant
discomfitor [Fri, 20 Sep 2013 16:18:36 +0000 (17:18 +0100)]
reorder some backlight setting to make instant changes actually instant

backlight fading on logout is no longer permanent

11 years agomove backlight shutdown after comp shutdown since we do backlight fading in comp
discomfitor [Fri, 20 Sep 2013 16:17:49 +0000 (17:17 +0100)]
move backlight shutdown after comp shutdown since we do backlight fading in comp

11 years agofactor in client_inset when calculating ConfigureRequest xy coords
discomfitor [Fri, 20 Sep 2013 16:02:25 +0000 (17:02 +0100)]
factor in client_inset when calculating ConfigureRequest xy coords

T288