platform/upstream/enlightenment.git
10 years agoe: fix generation of the wallpapper from a picture.
Cedric Bail [Thu, 21 Nov 2013 07:51:28 +0000 (16:51 +0900)]
e: fix generation of the wallpapper from a picture.

NOTE; eina_mkstemp doesn't alter it's parameter, you need to ask the
filename if you want it.

10 years agoadd back/forward mouse button support for efm when a toolbar is present
Mike Blumenkrantz [Wed, 20 Nov 2013 20:26:49 +0000 (15:26 -0500)]
add back/forward mouse button support for efm when a toolbar is present

button numbers untested because I don't have a mouse, so if they're wrong someone should post the results of clicking those buttons from xev

T67

10 years agoprepend new windows to focus stack during init
Mike Blumenkrantz [Wed, 20 Nov 2013 20:12:25 +0000 (15:12 -0500)]
prepend new windows to focus stack during init

this fixes stacking after restarts since we manage and raise windows from the bottom up, meaning that we must also build our focus stack from back to front

10 years agoblock mouse down focus event focus setting on already-focused windows
Mike Blumenkrantz [Wed, 20 Nov 2013 18:17:42 +0000 (13:17 -0500)]
block mouse down focus event focus setting on already-focused windows

fixes steam menus with click focus, which previously would close immediately after opening when they lost focus

10 years agoaccurately set menu radio item in client vdesk Move to... submenu
Mike Blumenkrantz [Wed, 20 Nov 2013 17:30:21 +0000 (12:30 -0500)]
accurately set menu radio item in client vdesk Move to... submenu

T478

10 years agoforce render queue on nocomp window hide
Mike Blumenkrantz [Wed, 20 Nov 2013 06:33:56 +0000 (01:33 -0500)]
force render queue on nocomp window hide

without this, it was possible to break the compositor by enabling options which prevent unfullscreening a window on vdesk flip, which causes nocomp mode to remain permanently enabled, even after the window has closed

10 years agodisable resizing of buttons in window remember dialog
Mike Blumenkrantz [Wed, 20 Nov 2013 03:00:17 +0000 (22:00 -0500)]
disable resizing of buttons in window remember dialog

T381

10 years agoUpdating portuguese translation
maxerba [Wed, 20 Nov 2013 18:47:30 +0000 (19:47 +0100)]
Updating portuguese translation

10 years agoallow $XDG_DESKTOP_DIR in file link paths for intl xlation
Carsten Haitzler (Rasterman) [Wed, 20 Nov 2013 00:10:30 +0000 (09:10 +0900)]
allow $XDG_DESKTOP_DIR in file link paths for intl xlation

this solves T29 and then some.

10 years agodocs: Fix bugtracker URL to point to phab and not trac.
Stefan Schmidt [Tue, 19 Nov 2013 13:30:54 +0000 (14:30 +0100)]
docs: Fix bugtracker URL to point to phab and not trac.

10 years agoe_alert: Use correct bugtracker URL.
Stefan Schmidt [Tue, 19 Nov 2013 13:27:36 +0000 (14:27 +0100)]
e_alert: Use correct bugtracker URL.

If we have to show the white screen of death to a user we should at
least give her the correct URL to report it to.

10 years ago1.8.0-alpha2
Carsten Haitzler (Rasterman) [Tue, 19 Nov 2013 08:22:23 +0000 (17:22 +0900)]
1.8.0-alpha2

10 years agomailmap: Sync file with changes from efl
Stefan Schmidt [Mon, 18 Nov 2013 15:36:06 +0000 (16:36 +0100)]
mailmap: Sync file with changes from efl

10 years agoe_exec - after an instance has its exe deleted - set exe to NULL
Carsten Haitzler (Rasterman) [Mon, 18 Nov 2013 14:35:12 +0000 (23:35 +0900)]
e_exec - after an instance has its exe deleted - set exe to NULL

10 years agogadman: Check for valid objects
Sebastian Dransfeld [Sun, 17 Nov 2013 22:36:46 +0000 (23:36 +0100)]
gadman: Check for valid objects

Fixes T522

10 years agofile preview - increase preview text to 8192bytes
Carsten Haitzler (Rasterman) [Sun, 17 Nov 2013 21:08:17 +0000 (06:08 +0900)]
file preview - increase preview text to 8192bytes

10 years agofile preview text display - calculate minimum size so alignment is ok
Carsten Haitzler (Rasterman) [Sun, 17 Nov 2013 21:05:24 +0000 (06:05 +0900)]
file preview text display - calculate minimum size so alignment is ok

this fixes T444 - the display of text is properly top-left aligned
with scrollbars now actually correct too for the text provided (note
that the preview doesnt put ALL text in there. just the first N bytes
which by default is 2048 but can be changed).

10 years agoenlightenment: remove e_border_free
Michael Bouchaud [Sat, 16 Nov 2013 01:24:11 +0000 (02:24 +0100)]
enlightenment: remove e_border_free

e_border_free isn't defined in c code.

10 years agoAvoid umask problem with mkstemp by using eina_file_mkstemp
Stefan Schmidt [Fri, 15 Nov 2013 15:34:55 +0000 (16:34 +0100)]
Avoid umask problem with mkstemp by using eina_file_mkstemp

Instead of handling umask in every mkstemp case we can simply use
eina_file_mkstemp for this.

CID: 1039806

10 years agoconf_randr: Compare mode against correct smart data.
Stefan Schmidt [Fri, 15 Nov 2013 14:55:45 +0000 (15:55 +0100)]
conf_randr: Compare mode against correct smart data.

This copy and paste bug compared the sd mode against the parent sd mode.
Classical c&p bug when having two blocks of code so similar.

CID: 1039954

10 years agoe_fm/udisk: Delete the correct storage handle.
Stefan Schmidt [Fri, 15 Nov 2013 14:47:54 +0000 (15:47 +0100)]
e_fm/udisk: Delete the correct storage handle.

Copy and paste bug introduced in the initial port to edbus.
This could be a cause of problems when using e_fm with removable media and udisk.

CID: 1039955

10 years agoe_widget_data_get Can return NULL so we should check that else we
Chris Michael [Fri, 15 Nov 2013 10:42:33 +0000 (10:42 +0000)]
e_widget_data_get Can return NULL so we should check that else we
could potentially crash the entire window manager (for a potentially
bad module).

Fixes Phab Ticket T491

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agorandr dialog - fix badly broken screen resizing logic. now it works reliably.
Carsten Haitzler (Rasterman) [Thu, 14 Nov 2013 06:10:36 +0000 (15:10 +0900)]
randr dialog - fix badly broken screen resizing logic. now it works reliably.

10 years agouse just pixels in slider label (size is already in title)
Carsten Haitzler (Rasterman) [Sat, 9 Nov 2013 00:33:12 +0000 (09:33 +0900)]
use just pixels in slider label (size is already in title)

10 years agoUpdating catalan and italian translations
maxerba [Wed, 13 Nov 2013 12:35:00 +0000 (13:35 +0100)]
Updating catalan and italian translations

10 years agomusic-control: do not request props if the service is not up.
davemds [Mon, 11 Nov 2013 22:40:27 +0000 (23:40 +0100)]
music-control: do not request props if the service is not up.

This prevent music player that support the dbus activation system
to be launched at module startup. Instead of blindly request properties
first check if the name has an owner.

As a side effect now the module fully support the dbus activation system:
if your player is not running it will be launched when you click his
name or any of the controls in the popup.

Note: If your player does not provide the autorun feature you can just
create a .service file in dbus share folder with the following content:

[D-BUS Service]
Name=org.mpris.MediaPlayer2.quodlibet
Exec=/usr/bin/quodlibet

...of course you must change the name of your player ;)

10 years agomusic-control: use efreet to decode uri
davemds [Mon, 11 Nov 2013 20:53:16 +0000 (21:53 +0100)]
music-control: use efreet to decode uri

This fix the cover image display when spaces (and probably other special chars) are in the file name.

10 years agomusic-control: add Quod Libet in players list
davemds [Mon, 11 Nov 2013 19:44:34 +0000 (20:44 +0100)]
music-control: add Quod Libet in players list

10 years agoUpdating italian translation
maxerba [Sun, 10 Nov 2013 12:47:25 +0000 (13:47 +0100)]
Updating italian translation

10 years agoe/cserve2: add restart code for cserve2
Jean-Philippe Andre [Fri, 8 Nov 2013 07:56:28 +0000 (16:56 +0900)]
e/cserve2: add restart code for cserve2

Summary: If cserve2 crashes, enlightenment_start will respawn it again.

Test Plan:
Start E18 (in Xephyr maybe) with E_CSERVE set.
Randomly kill evas_cserve2 and enlightenment, and log out from E.

I need review for this patch as I'm not sure about all the ptrace stuff
lying around.

Reviewers: cedric

CC: raster, zmike
Differential Revision: https://phab.enlightenment.org/D287

Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
10 years agoAdd PKGBUILD
Doug Newgard [Thu, 7 Nov 2013 10:59:03 +0000 (19:59 +0900)]
Add PKGBUILD

Summary: The other core programs/libs all have a PKGBUILD, so add it here, too.

Reviewers: raster, zmike

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

10 years agoupdate readme version
Carsten Haitzler (Rasterman) [Thu, 7 Nov 2013 08:27:53 +0000 (17:27 +0900)]
update readme version

10 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>
10 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>
10 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>
10 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. »

10 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.

10 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

10 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.

10 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.

10 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.

10 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)

10 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

10 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.

10 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.

10 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.

10 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.

10 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)

10 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

10 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.

10 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

10 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

10 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

10 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

10 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

10 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.

10 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"

10 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.

10 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

10 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

10 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

10 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>
10 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>
10 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

10 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

10 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 :/

10 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.

10 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

10 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

10 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

10 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>
10 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>
10 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>
10 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

10 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>
10 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>
10 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>
10 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

10 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

10 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

10 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

10 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.

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

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

10 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

10 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

10 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

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

10 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

10 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...

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

10 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

10 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

10 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...

10 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

10 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

10 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

10 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

10 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

10 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