platform/upstream/enlightenment.git
10 years agoconfigure: allow to specify different systemd units dir, print sysactions.
Gustavo Sverzut Barbieri [Fri, 14 Mar 2014 14:51:31 +0000 (11:51 -0300)]
configure: allow to specify different systemd units dir, print sysactions.

I don't install to the system, so that way I can install to
~/.config/systemd/user.

also print the sysaction commands so we can be sure what it is using.

10 years agom4/ac-plugins: evaluate color escape so it works everywhere.
Gustavo Sverzut Barbieri [Fri, 14 Mar 2014 14:50:10 +0000 (11:50 -0300)]
m4/ac-plugins: evaluate color escape so it works everywhere.

the color escapes were being evaluated only on "echo -e", but we're
using it in "cat" statements as well. Then evaluate the color escape
so it will work everywhere.

10 years agofix @dataroot@ missing warning.
Gustavo Sverzut Barbieri [Sat, 8 Mar 2014 20:56:54 +0000 (17:56 -0300)]
fix @dataroot@ missing warning.

As per autoconf[1] documentation, we should declare @datarootdir@ so
it uses the new convetion of expression @datadir@ as terms of
@datarootdir@.

[1] http://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Changed-Directory-Variables.html

10 years agofix client resistance visibility check typo
Mike Blumenkrantz [Fri, 14 Mar 2014 13:51:26 +0000 (09:51 -0400)]
fix client resistance visibility check typo

fix T1087

10 years agofix hiding of windows when delete is requested
Carsten Haitzler (Rasterman) [Fri, 14 Mar 2014 07:25:14 +0000 (16:25 +0900)]
fix hiding of windows when delete is requested

this is applicable to e19 only (you can't backport this patch as-is -
e19 is too different). this fixes T1063.

10 years agoprevent fallthrough in determining gcc visibility
Mike Blumenkrantz [Thu, 13 Mar 2014 17:10:55 +0000 (13:10 -0400)]
prevent fallthrough in determining gcc visibility

CID 1040127

10 years agoadd note about switch statement fallthrough
Mike Blumenkrantz [Thu, 13 Mar 2014 17:09:43 +0000 (13:09 -0400)]
add note about switch statement fallthrough

CID 1040128

10 years agobugfix: don't deref teamwork pointer after null check
Mike Blumenkrantz [Thu, 13 Mar 2014 17:07:33 +0000 (13:07 -0400)]
bugfix: don't deref teamwork pointer after null check

CID 1040134

10 years agobugfix: don't deref possibly-null value in mouse bindings
Mike Blumenkrantz [Thu, 13 Mar 2014 17:06:08 +0000 (13:06 -0400)]
bugfix: don't deref possibly-null value in mouse bindings

CID 1040138

10 years agoreplace ev->keyname with ev->key
Mike Blumenkrantz [Thu, 13 Mar 2014 17:00:57 +0000 (13:00 -0400)]
replace ev->keyname with ev->key

see efl 5ae4cfd1923e502731f4d8fc2bf67b1f536a9216

10 years agoremove unnecessary battery_config null check
Mike Blumenkrantz [Thu, 13 Mar 2014 16:55:24 +0000 (12:55 -0400)]
remove unnecessary battery_config null check

CID 1040140

10 years agovalidate params for e_dnd_util_text_uri_list_convert()
Mike Blumenkrantz [Thu, 13 Mar 2014 16:52:36 +0000 (12:52 -0400)]
validate params for e_dnd_util_text_uri_list_convert()

CID 1040144

10 years agoclamp screen sizes to 1 to avoid impossible division-by-zero for window shots
Mike Blumenkrantz [Thu, 13 Mar 2014 16:50:18 +0000 (12:50 -0400)]
clamp screen sizes to 1 to avoid impossible division-by-zero for window shots

CID 1040148

10 years agobugfix: correctly calculate minimum flowlayout rows
Mike Blumenkrantz [Thu, 13 Mar 2014 16:44:47 +0000 (12:44 -0400)]
bugfix: correctly calculate minimum flowlayout rows

CID 1132740

10 years agobugfix: efm_op no longer tries to close invalid fds during delete ops
Mike Blumenkrantz [Thu, 13 Mar 2014 16:41:53 +0000 (12:41 -0400)]
bugfix: efm_op no longer tries to close invalid fds during delete ops

CID 1132741

10 years agobugfix: don't use external log domain in systray
Mike Blumenkrantz [Thu, 13 Mar 2014 16:40:27 +0000 (12:40 -0400)]
bugfix: don't use external log domain in systray

CID 1132742

10 years agobugfix: don't use external log domain in music player
Mike Blumenkrantz [Thu, 13 Mar 2014 16:38:22 +0000 (12:38 -0400)]
bugfix: don't use external log domain in music player

CID 1132743

10 years agobugfix: don't crash when saving screenshots with no file extension
Mike Blumenkrantz [Thu, 13 Mar 2014 16:33:35 +0000 (12:33 -0400)]
bugfix: don't crash when saving screenshots with no file extension

CID 1132744

10 years agobugfix: don't crash on possibly-null gadman bg string extensions
Mike Blumenkrantz [Thu, 13 Mar 2014 16:28:36 +0000 (12:28 -0400)]
bugfix: don't crash on possibly-null gadman bg string extensions

CID 1132749

10 years agocheck X comp_data existence in pixmap PRESENT usage during refresh
Mike Blumenkrantz [Thu, 13 Mar 2014 16:22:04 +0000 (12:22 -0400)]
check X comp_data existence in pixmap PRESENT usage during refresh

CID 1155279

10 years agoadd comments to suppress false positives in intentional switch fallthroughs
Mike Blumenkrantz [Thu, 13 Mar 2014 16:18:21 +0000 (12:18 -0400)]
add comments to suppress false positives in intentional switch fallthroughs

CIDs 1155283, 1155282, 1155281

10 years agodon't check for non-pointer existence in lokker pin validation
Mike Blumenkrantz [Thu, 13 Mar 2014 16:15:52 +0000 (12:15 -0400)]
don't check for non-pointer existence in lokker pin validation

CID 1155284

10 years agofix gadman resistance checking for fake/desk shelves
Mike Blumenkrantz [Thu, 13 Mar 2014 16:15:11 +0000 (12:15 -0400)]
fix gadman resistance checking for fake/desk shelves

10 years agoimprove client positioning resistance accuracy for hidden clients and fake shelves
Mike Blumenkrantz [Thu, 13 Mar 2014 16:11:06 +0000 (12:11 -0400)]
improve client positioning resistance accuracy for hidden clients and fake shelves

10 years agouse E_CLIENT_FOREACH macro for resist calcs
Mike Blumenkrantz [Thu, 13 Mar 2014 16:07:49 +0000 (12:07 -0400)]
use E_CLIENT_FOREACH macro for resist calcs

CID 1155285

10 years agonull check auth current user get
Mike Blumenkrantz [Thu, 13 Mar 2014 16:06:04 +0000 (12:06 -0400)]
null check auth current user get

CID 1155286

10 years agonull check client on X stack request
Mike Blumenkrantz [Thu, 13 Mar 2014 16:04:48 +0000 (12:04 -0400)]
null check client on X stack request

CID 1155287

10 years agoensure va_end is called when creating new pixmaps
Mike Blumenkrantz [Thu, 13 Mar 2014 16:02:11 +0000 (12:02 -0400)]
ensure va_end is called when creating new pixmaps

CID 1155292

10 years agofix indent for iconic hint setting
Mike Blumenkrantz [Thu, 13 Mar 2014 16:00:17 +0000 (12:00 -0400)]
fix indent for iconic hint setting

seriously?

CID 1156985

10 years agosimplify/optimize e_win show trap
Mike Blumenkrantz [Thu, 13 Mar 2014 15:58:16 +0000 (11:58 -0400)]
simplify/optimize e_win show trap

CID 1163853

10 years agoremove all remaining efl version check defines
Mike Blumenkrantz [Thu, 13 Mar 2014 15:55:29 +0000 (11:55 -0400)]
remove all remaining efl version check defines

10 years agobugfix: check for unicode string end in client menu
Mike Blumenkrantz [Thu, 13 Mar 2014 15:51:21 +0000 (11:51 -0400)]
bugfix: check for unicode string end in client menu

CID 1186203

10 years agobugfix: don't crash when passing NULL desk to e_client_under_pointer_get
Mike Blumenkrantz [Thu, 13 Mar 2014 15:46:22 +0000 (11:46 -0400)]
bugfix: don't crash when passing NULL desk to e_client_under_pointer_get

CID 1186204

10 years agotrivial dead code--
Mike Blumenkrantz [Thu, 13 Mar 2014 15:43:53 +0000 (11:43 -0400)]
trivial dead code--

CID 1187922

10 years agotrivial dead code--
Mike Blumenkrantz [Thu, 13 Mar 2014 15:42:49 +0000 (11:42 -0400)]
trivial dead code--

CID 1187923

10 years agofix probably-impossible divide-by-zero in menu item layout
Mike Blumenkrantz [Thu, 13 Mar 2014 15:41:17 +0000 (11:41 -0400)]
fix probably-impossible divide-by-zero in menu item layout

CID 1187924

10 years agomake win->client check more explicit in efm_opinfo
Mike Blumenkrantz [Thu, 13 Mar 2014 15:37:41 +0000 (11:37 -0400)]
make win->client check more explicit in efm_opinfo

CID 1187925

10 years agobugfix: set connman pending.disconnect when disconnecting a service
Mike Blumenkrantz [Thu, 13 Mar 2014 15:25:01 +0000 (11:25 -0400)]
bugfix: set connman pending.disconnect when disconnecting a service

10 years agomake connman if statements more clear for freeing data
Mike Blumenkrantz [Thu, 13 Mar 2014 15:24:30 +0000 (11:24 -0400)]
make connman if statements more clear for freeing data

CID 1039738

10 years agobugfix: don't iterate with or access freed pointer in comp match dialog
Mike Blumenkrantz [Thu, 13 Mar 2014 15:18:14 +0000 (11:18 -0400)]
bugfix: don't iterate with or access freed pointer in comp match dialog

CID 1039740

10 years agobugfix: ensure use of non-garbage values for menu item icon placeholders
Mike Blumenkrantz [Thu, 13 Mar 2014 15:09:59 +0000 (11:09 -0400)]
bugfix: ensure use of non-garbage values for menu item icon placeholders

CID 1039769, 1039768

10 years agobugfix: use more descriptive + accurate buffer size in batget iterator
Mike Blumenkrantz [Thu, 13 Mar 2014 15:00:18 +0000 (11:00 -0400)]
bugfix: use more descriptive + accurate buffer size in batget iterator

CID 1039801

10 years agobugfix: prevent out of bounds access in systray theme setup
Mike Blumenkrantz [Thu, 13 Mar 2014 14:53:55 +0000 (10:53 -0400)]
bugfix: prevent out of bounds access in systray theme setup

CID 1039843

10 years agouse a more obvious iterator limit for gadman edit end
Mike Blumenkrantz [Thu, 13 Mar 2014 14:50:30 +0000 (10:50 -0400)]
use a more obvious iterator limit for gadman edit end

CIDs 1039846, 1039845, 1039844

10 years agobugfix: prevent out of bounds write in e_intl_locale_parts_get()
Mike Blumenkrantz [Thu, 13 Mar 2014 14:46:28 +0000 (10:46 -0400)]
bugfix: prevent out of bounds write in e_intl_locale_parts_get()

CIDs 1039848, 1039847

10 years agobugfix: ensure null termination of string in xsettings config
Mike Blumenkrantz [Thu, 13 Mar 2014 14:43:08 +0000 (10:43 -0400)]
bugfix: ensure null termination of string in xsettings config

CID 1039967

10 years agoRevert "e_exec - after an instance has its exe deleted - set exe to NULL"
Mike Blumenkrantz [Thu, 13 Mar 2014 14:40:11 +0000 (10:40 -0400)]
Revert "e_exec - after an instance has its exe deleted - set exe to NULL"

This reverts commit 89fdebb9bf845de8bd1d97577c00206cd9ad9948.

CID 1132151

10 years agoalways init container coords when beginning gadcon drag
Mike Blumenkrantz [Thu, 13 Mar 2014 14:35:10 +0000 (10:35 -0400)]
always init container coords when beginning gadcon drag

CIDs 1135457, 1135456

10 years agofix mixer config leak on config failure
Mike Blumenkrantz [Thu, 13 Mar 2014 14:31:07 +0000 (10:31 -0400)]
fix mixer config leak on config failure

CID 1135539

10 years agofix null termination of client desktop string matching
Mike Blumenkrantz [Thu, 13 Mar 2014 14:28:33 +0000 (10:28 -0400)]
fix null termination of client desktop string matching

CID 1155274

10 years agoensure valid client layers in client stack iterating functions
Mike Blumenkrantz [Thu, 13 Mar 2014 14:26:40 +0000 (10:26 -0400)]
ensure valid client layers in client stack iterating functions

CIDs 1155288, 1155280

10 years agoapply client resize limit for all possible size values during maximize calcs
Seunghun Lee [Thu, 13 Mar 2014 14:03:12 +0000 (10:03 -0400)]
apply client resize limit for all possible size values during maximize calcs

Summary:
there was a problem that the app like gnome-terminal had not been restored to origin size after maximization.
I think that's because E overwrite the data of saved.x/y to maximized size in ConfigureRequest handler.
The reason why ConfigureReuqest happen is that the window tried to resize itself properly, since E resize window without regard of size hints.

Reviewers: zmike, seoz

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

10 years agofix use of same variable in e_desk double-loop
Seunghun Lee [Thu, 13 Mar 2014 13:37:22 +0000 (09:37 -0400)]
fix use of same variable in e_desk double-loop

Reviewers: zmike, seoz

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

10 years agouse static array of inlists for client hooks to reduce overhead
Mike Blumenkrantz [Thu, 13 Mar 2014 13:35:06 +0000 (09:35 -0400)]
use static array of inlists for client hooks to reduce overhead

10 years agoremove unused vars
Mike Blumenkrantz [Thu, 13 Mar 2014 13:34:10 +0000 (09:34 -0400)]
remove unused vars

10 years agofix use of same temporary variable in for loop.
Seunghun Lee [Thu, 13 Mar 2014 12:46:24 +0000 (08:46 -0400)]
fix use of same temporary variable in for loop.

Summary: it caused crash when user edited desk's name after adding desk.

Reviewers: zmike, seoz

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

10 years agoUpdating italian translation
maxerba [Mon, 10 Mar 2014 22:18:24 +0000 (23:18 +0100)]
Updating italian translation

10 years agotiling: Fixed Typo.
Marcel Hollerbach [Mon, 10 Mar 2014 09:41:21 +0000 (09:41 +0000)]
tiling: Fixed Typo.

Summary: There was onfiguration instead of configuration

Reviewers: tasn

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

10 years agodefer netwm maximize hint apply to reduce canvas ops
Mike Blumenkrantz [Mon, 10 Mar 2014 04:26:06 +0000 (00:26 -0400)]
defer netwm maximize hint apply to reduce canvas ops

improves maximize performance on apps like chromium which incrementally apply maximize states

10 years agofix desklock custom bg starting dir display
Mike Blumenkrantz [Mon, 10 Mar 2014 04:01:23 +0000 (00:01 -0400)]
fix desklock custom bg starting dir display

10 years agobugfix: dim/undim actions don't require acpi triggers
Mike Blumenkrantz [Mon, 10 Mar 2014 03:30:47 +0000 (23:30 -0400)]
bugfix: dim/undim actions don't require acpi triggers

fix T1067

10 years agoupdate .mailmap
Boris Faure [Sat, 8 Mar 2014 14:37:42 +0000 (15:37 +0100)]
update .mailmap

10 years agotiling: gitignore
Sebastian Dransfeld [Fri, 7 Mar 2014 09:01:46 +0000 (10:01 +0100)]
tiling: gitignore

ignore created .edj file

10 years agoignore ignored clients for X mouse events
Mike Blumenkrantz [Thu, 6 Mar 2014 14:34:05 +0000 (09:34 -0500)]
ignore ignored clients for X mouse events

fix T1058

10 years agoconf_randr: redo randr dialog to trust e_randr_cfg
Sebastian Dransfeld [Thu, 6 Mar 2014 14:14:30 +0000 (15:14 +0100)]
conf_randr: redo randr dialog to trust e_randr_cfg

Prevously conf_randr worked directly against ecore_x_randr. Now we
rather modify e_randr_cfg, and use e_randr to apply changes against
ecore_x_randr.

10 years agoconf_randr: hide refresh rates when none to show
Sebastian Dransfeld [Thu, 6 Mar 2014 14:09:16 +0000 (15:09 +0100)]
conf_randr: hide refresh rates when none to show

10 years agoconf_randr: don't store variable when used once
Sebastian Dransfeld [Thu, 6 Mar 2014 13:58:41 +0000 (14:58 +0100)]
conf_randr: don't store variable when used once

10 years agoconf_randr: remove clone support
Sebastian Dransfeld [Thu, 6 Mar 2014 13:49:49 +0000 (14:49 +0100)]
conf_randr: remove clone support

Clone isn't well supported in base randr config. Remove until it is.

10 years agoconf_randr: use refresh_rate function from e_randr
Sebastian Dransfeld [Thu, 6 Mar 2014 13:42:32 +0000 (14:42 +0100)]
conf_randr: use refresh_rate function from e_randr

10 years agorandr: TODO++
Sebastian Dransfeld [Thu, 6 Mar 2014 13:16:28 +0000 (14:16 +0100)]
randr: TODO++

10 years agorandr: function to apply current config
Sebastian Dransfeld [Thu, 6 Mar 2014 13:15:57 +0000 (14:15 +0100)]
randr: function to apply current config

10 years agorandr: only activate outputs we want to connect
Sebastian Dransfeld [Thu, 6 Mar 2014 13:12:46 +0000 (14:12 +0100)]
randr: only activate outputs we want to connect

10 years agorandr: store connection status in output
Sebastian Dransfeld [Thu, 6 Mar 2014 13:08:40 +0000 (14:08 +0100)]
randr: store connection status in output

10 years agorandr: make current setup extern
Sebastian Dransfeld [Thu, 6 Mar 2014 13:00:15 +0000 (14:00 +0100)]
randr: make current setup extern

10 years agorandr: same param name in prototype and function
Sebastian Dransfeld [Thu, 6 Mar 2014 12:59:18 +0000 (13:59 +0100)]
randr: same param name in prototype and function

10 years agorandr: don't let crtc changes change our config
Sebastian Dransfeld [Thu, 6 Mar 2014 12:58:39 +0000 (13:58 +0100)]
randr: don't let crtc changes change our config

10 years agorandr: add match for refresh rate
Sebastian Dransfeld [Thu, 6 Mar 2014 09:11:52 +0000 (10:11 +0100)]
randr: add match for refresh rate

Store output config with refresh rate, so we don't just get correct
geometry for outputs.

10 years agorandr: common function for fetching output name
Sebastian Dransfeld [Thu, 6 Mar 2014 09:09:18 +0000 (10:09 +0100)]
randr: common function for fetching output name

Add a common function to get output name, and also check edid if no name
is set by randr.

10 years agorandr: remember crtc in output struct
Sebastian Dransfeld [Thu, 6 Mar 2014 09:08:12 +0000 (10:08 +0100)]
randr: remember crtc in output struct

10 years agorandr: remove wrong typedef
Sebastian Dransfeld [Thu, 6 Mar 2014 09:06:13 +0000 (10:06 +0100)]
randr: remove wrong typedef

There is no struct for crtc config

10 years agoconf_randr: remember whether geometry has changed
Sebastian Dransfeld [Wed, 5 Mar 2014 11:29:35 +0000 (12:29 +0100)]
conf_randr: remember whether geometry has changed

10 years agorandr: allocate hot-plugged outputs
Sebastian Dransfeld [Wed, 5 Mar 2014 11:05:53 +0000 (12:05 +0100)]
randr: allocate hot-plugged outputs

10 years agorandr: allocate hot-plugged crtcs
Sebastian Dransfeld [Wed, 5 Mar 2014 11:05:01 +0000 (12:05 +0100)]
randr: allocate hot-plugged crtcs

10 years agorandr: Use already fetched root window
Sebastian Dransfeld [Wed, 5 Mar 2014 11:04:19 +0000 (12:04 +0100)]
randr: Use already fetched root window

10 years agofix comp util object initial visibility
Mike Blumenkrantz [Wed, 5 Mar 2014 15:53:05 +0000 (10:53 -0500)]
fix comp util object initial visibility

10 years agoforce comp render on dirty for hidden objects with visible mirrors
Mike Blumenkrantz [Wed, 5 Mar 2014 14:53:14 +0000 (09:53 -0500)]
force comp render on dirty for hidden objects with visible mirrors

10 years agofix maximization geometry on desks with shelves
Mike Blumenkrantz [Wed, 5 Mar 2014 14:30:09 +0000 (09:30 -0500)]
fix maximization geometry on desks with shelves

in some cases during startup a client can get post-maximize geometry before the sizing algorithm is applied

fix T1052

10 years agosimplify maximize shelf fill visibility check
Mike Blumenkrantz [Wed, 5 Mar 2014 14:29:54 +0000 (09:29 -0500)]
simplify maximize shelf fill visibility check

10 years agofix ibox initial urgent states
Mike Blumenkrantz [Wed, 5 Mar 2014 13:19:15 +0000 (08:19 -0500)]
fix ibox initial urgent states

10 years agofix deskmirror visibility for re_manage previously-iconic clients
Mike Blumenkrantz [Wed, 5 Mar 2014 13:18:27 +0000 (08:18 -0500)]
fix deskmirror visibility for re_manage previously-iconic clients

10 years agoreset client urgency on focus-out and iconify
Mike Blumenkrantz [Wed, 5 Mar 2014 13:17:38 +0000 (08:17 -0500)]
reset client urgency on focus-out and iconify

10 years agoredo client urgency again with separate flag for actual urgent state
Mike Blumenkrantz [Wed, 5 Mar 2014 13:16:35 +0000 (08:16 -0500)]
redo client urgency again with separate flag for actual urgent state

preserve icccm flag for accurate detection

10 years agocolors cfg - support adjustment of colorclasses - remove bad ones, add new
Carsten Haitzler (Rasterman) [Wed, 5 Mar 2014 15:02:24 +0000 (00:02 +0900)]
colors cfg - support adjustment of colorclasses - remove bad ones, add new

10 years agoe_comp_wl: Remove unused variable.
Stefan Schmidt [Wed, 5 Mar 2014 10:35:46 +0000 (11:35 +0100)]
e_comp_wl: Remove unused variable.

Later on we use state_w directly.

10 years agocolorclass config - add option for focused color class too.
Carsten Haitzler (Rasterman) [Wed, 5 Mar 2014 09:02:33 +0000 (18:02 +0900)]
colorclass config - add option for focused color class too.

10 years agoDelete generated configs on make distclean.
Tom Hacohen [Wed, 5 Mar 2014 08:35:29 +0000 (08:35 +0000)]
Delete generated configs on make distclean.

10 years agobased on submission from Seunghun, Lee - dont access NULL desk
Carsten Haitzler (Rasterman) [Wed, 5 Mar 2014 06:27:15 +0000 (15:27 +0900)]
based on submission from Seunghun, Lee - dont access NULL desk

this effectively accepts D574 but is re-done with different formatting.

10 years agoalways set iconic client comp state as visible
Mike Blumenkrantz [Tue, 4 Mar 2014 20:18:02 +0000 (15:18 -0500)]
always set iconic client comp state as visible

pass: init_states

10 years agodon't run client visibility idler updates for iconic clients
Mike Blumenkrantz [Tue, 4 Mar 2014 20:17:24 +0000 (15:17 -0500)]
don't run client visibility idler updates for iconic clients

10 years agoredo iconic setting for new clients
Mike Blumenkrantz [Tue, 4 Mar 2014 20:16:08 +0000 (15:16 -0500)]
redo iconic setting for new clients