Commit Graph

19188 Commits

Author SHA1 Message Date
Luis de Bethencourt 294db70962 backlight: remove code duplication
Move repeated blocks of code to a static function
2014-12-03 11:55:25 +00:00
Luis de Bethencourt 1bcc205d2f backlight: visual feedback when adjusting value through keybindings
The backlight module has an action to show the value of the backlight brightness
by showing the gadget's popup. Added a parameter to this action to adjust the
brightness at the same time.
2014-12-03 11:55:25 +00:00
Leif Middelschulte 416aaa978d ibar: Fix "additional action"s and seperator placement.
Summary: This moves the additional actions to the top of the menu and the seperator right underneath.

Reviewers: zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1694
2014-12-03 18:14:24 +09:00
Stefan Schmidt 9336d7c372 e_start_main: Close fd only if we actually succeeded opening it.
In the error case fd would be -1 here. Closing needs to be handled in the
cases where fd != -1.

CID: 1256492
2014-12-02 10:50:27 +01:00
Chris Michael c7386d61c9 e-start: Fix 'control reaches end of non-void function'
Summary: Seems one of the Daniels did not check their compiler output
;) _e_ptrace_attach function should return an integer value...

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-01 11:55:32 -05:00
Daniel Kolesa ef82c30bb4 fix indentation 2014-12-01 16:30:57 +00:00
Daniel Kolesa 715d7f00b4 remove unused variable 2014-12-01 16:28:46 +00:00
Daniel Kolesa f918476da1 e_start_main: refactor (reduce scope depth, separate ifdefs, cleanup)
The main reason for this change is to clean it up for proper non-Linux
platform support, but also to make it cleaner in general.
2014-12-01 16:25:58 +00:00
Mike Blumenkrantz 6be71a64f9 fix efm dnd crash
fix T1880
2014-11-29 12:22:25 -05:00
Carsten Haitzler 48023b9ce3 e randr - fix warning (signed vs unsigned cmp) 2014-11-29 16:44:41 +09:00
Takeshi Banse 6601c09f82 cpufreq: teach cpuinfo_{min,max}_freq as available frequencies
Summary:
The intel_pstate scaling driver exposes the `scaling_cur_freq` since
kernel 3.17 [*], it would be fine that the min and max frequencies
are known even without the `scaling_available_frequencie`.

This commit teaches to use the cpuinfo_{min,max}_freq as fallback in
case the `scaling_available_frequencies` is not available within
intel pstate.

[*] https://lkml.org/lkml/2014/11/11/1060

Signed-off-by: Takeshi Banse <takebi@laafc.net>

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1686
2014-11-29 16:39:42 +09:00
Carsten Haitzler 70753a7903 e - randr - stop saving config using XID - this is utterly WRONG
so e was storing randr config using XIDs to match outputs etc. this is
all kinds of wrong. XIDs are NOT STATIC. they change from xserver to
xserver and from run to run. they MAY be the same. they may not. so
this was just broken.

use output name + edid as a big "string" (name.edid) as a way ofr
identifying config for a specific combination of output plus monitor
and to find/identify the corrent output+monitor to apply it to (of
course missing edid gets replaced with ??? and missing output name is
??? too - i have never seen a missing output name so you get this at
least).

so this FIXES "restore" of screen mode on login for starters. this
does nothing to "fix" the screen setup dialog in any way. there are
separate issues there.

this also breaks e_randr config compat so i bumped epoch so your old
config is rejected. i don't see a sensible way of porting the config
forward.
2014-11-29 10:05:36 +09:00
Mike Blumenkrantz f4b8e9563c apply pointer warp effects immediately when instant warping
fix T1462
2014-11-28 15:06:47 -05:00
Daniel Kolesa 245d26c7c7 detab e_start_main.c; spank spank spank 2014-11-28 15:08:24 +00:00
Daniel Kolesa db49bda75d clean up E ptrace detection and usage 2014-11-28 15:08:00 +00:00
q66 692722abc1 remove e_mod_xembed.c from POTFILES.in 2014-11-25 23:46:33 +00:00
Mike Blumenkrantz e0c43ccb1b ensure string safety on dbus message in connman agent
fix T1812
2014-11-25 15:40:31 -05:00
Mike Blumenkrantz cf98de6f28 force shape queue on notification delete
fix T1801
2014-11-25 15:26:01 -05:00
Mike Blumenkrantz 5bd1587078 remove xembeds from systray module 2014-11-25 15:20:11 -05:00
Mike Blumenkrantz 68e0b75929 set skip pager/taskbar hints on parent window instead of client window
this is a change in behavior as compared to E17-E18 where any setting of related flags would alter the client hints

ref T1692
2014-11-25 15:02:06 -05:00
Marcel Hollerbach 029e458a9e ibar: Changed the key which is used to store IBar Icons.
Summary:
Changed the key to orig_path, cause this is used to decided if something
is a duplicated entry in e_orders or not.

Reviewers: zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1684
2014-11-25 16:18:06 +01:00
Marcel Hollerbach d0d0554170 e_order: Added a function to check if this Efreet entry allready exists
Checks if this Efreet_Desktop entry allready exists in the given
E_Order.
2014-11-25 16:18:06 +01:00
Marcel Hollerbach 8f85fe79df Tiling: Fixed break out method
Summary:
This fixes the case when par is NULL, this means we should insert a
parent node between the 2 nodes and root. (T1790)

Example:

Each Number is a Window,

12
Focus on 2

Press Win+Up should end up in this:

2
1

This patch also makes the bahavior for 2 windows more
consistent

12
Focus on 2

Pressing Win+Right,

21

It Will just swap the nodes,

This is the same behavior then in higher levels.

Reviewers: tasn

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1643
2014-11-25 12:32:43 +00:00
Carsten Haitzler 077474adcb e - warning fix - fix SVID_SOURCE complaint warning
reduces useless warnings so we see the real issues, not noise
2014-11-25 17:24:19 +09:00
Carsten Haitzler 9d5483963a e - tiling module - silence warning (real possibility of an issue)
grand_parent couldbe used in an uninitialized state - this is right.
it'd be garbage (not NULL). set to NULL always to be safe
2014-11-25 17:11:18 +09:00
Chris Michael 93a125b7a2 e-comp-wl: Don't try to set null data if we don't have a surface
Summary: This fixes an issue where calling wl_resource_set_user_data
with an invalid resource would cause an abort in the wayland
libraries, Thus making E crash.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-11-24 16:01:27 -05:00
Leif Middelschulte 6a92676cf8 Implement FreeDesktop .deskop Additional Actions menu
Summary:
This implements the additional actions as specified in
FreeDesktop.org's desktop entry specification 1.1.
This version is implemented by Efreet 1.12

The additional actions are presented as right-click
menu entries.

@feature

Reviewers: zmike

Subscribers: tasn, q66, cedric

Differential Revision: https://phab.enlightenment.org/D1657
2014-11-24 13:33:02 -05:00
Stefan Schmidt 38432f93d5 music-control: Update generated code after various eldbus-codegen fixes
This includes the fixes for working propset callback as well as memory
leak fixes.
2014-11-24 10:52:59 +01:00
Carsten Haitzler 87baecb098 Revert "windows - allow close button to work again in internal wins"
This reverts commit 285951c8cb.
2014-11-23 13:54:14 +09:00
Mike Blumenkrantz a16206c6f1 only show comp obj during internal win show if win not already visible
fix T1863
2014-11-22 12:47:19 -05:00
Mike Blumenkrantz ce49f2a1f0 only change internal win visibility on comp obj show if win not already visible 2014-11-22 12:46:50 -05:00
Mike Blumenkrantz de792341fb don't call elm_shutdown() for now
force iterating the main loop when it's expected to have stopped guarantees crashes for most of e
2014-11-22 08:33:48 -05:00
Mike Blumenkrantz 034c05bc0d remove unnecessary unfocused signal emit on clients 2014-11-22 08:31:59 -05:00
Carsten Haitzler 285951c8cb windows - allow close button to work again in internal wins
since the move to elm_win ... windows don't close with close button in
the titlebar. this fixes that in the simplest way - enabling autodel
on the window.
2014-11-22 18:46:10 +09:00
q66 fbea7e0d26 seems like enlightenment_sys will still fail linkage on freebsd; workaround 2014-11-21 20:14:02 +00:00
q66 d12ef91687 rename WEIGHT/ALIGN/EXPAND/FILL to E_WEIGHT/E_ALIGN/E_EXPAND/E_FILL
Otherwise there were macro clashes with a systemwide include.
Also remove a leftover E_Hal.h include.
2014-11-21 20:10:46 +00:00
Marcel Hollerbach 3036de64bc wizard: use eina_list_free to free the list
eina_list_free is doing what I did the complex way with the macro.
2014-11-21 19:57:59 +01:00
Mike Blumenkrantz a4b1d63fea fix internal window closing with frame button 2014-11-21 13:34:32 -05:00
Daniel Kolesa 8d21d42e16 freebsd seems to require both -fPIE and -pie in cflags to compile 2014-11-21 15:49:29 +00:00
Marcel Hollerbach 51fe04e6ed wizard: Fix the resolving of the FIXME comment
Summary:
Commit rE5b992bdc4a76 added the free for the list, the list is filed
with static pointers from the .c file, soo free will crash.

This pointer does not need to be freed, just freeing the list.

Test Plan: Just run the wizard

Reviewers: zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1679
2014-11-21 10:27:27 -05:00
Daniel Kolesa dc75c4dd7c freebsd: use /usr/sbin/zzz for suspend 2014-11-21 15:23:23 +00:00
Daniel Kolesa d04a4e705f specialize some sysactions fields for freebsd 2014-11-21 15:18:52 +00:00
Mike Blumenkrantz eaa471b418 resolve recent coverity complaints 2014-11-21 10:21:13 -05:00
Daniel Kolesa c281478aa1 remove hal detection from build system 2014-11-21 14:37:08 +00:00
Daniel Kolesa bd95c310ec remove obsolete E_Hal.h include 2014-11-21 14:34:48 +00:00
Mike Blumenkrantz 26bad75217 bump required efl version for new elm features 2014-11-20 15:26:22 -05:00
Mike Blumenkrantz ce8a4a2b78 remove ec->changes.internal_props
this should be set directly on the win using evas/elm apis
2014-11-20 15:26:22 -05:00
Mike Blumenkrantz 18c1e3620d fix fileman crash when restarting with window open 2014-11-20 15:26:22 -05:00
Mike Blumenkrantz a44b172607 minor tweaks to prevent harmless invalid reads during restarts with windows open 2014-11-20 15:26:22 -05:00
Mike Blumenkrantz 462c2ef4aa rename elm win trap functions for easier namespace debugging 2014-11-20 15:26:22 -05:00