Commit Graph

14468 Commits

Author SHA1 Message Date
Mike Blumenkrantz a00b8354b5 bugfix: infinite printing of SLEEP with release build
T690
2013-12-24 20:52:59 -05:00
Mike Blumenkrantz 2a01f4b3cb bugfix: delete mixer's pulse exe handler after it's started so desklock doesn't break 2013-12-23 14:02:06 -05:00
Mike Blumenkrantz be6351f15e fix mixer regression which broke non-pulseaudio support 2013-12-21 09:26:57 -05:00
Mike Blumenkrantz bd6bbdd5f4 only set mouse-in focus if target window is not already the focused window
T483 again
2013-12-20 15:50:16 -05:00
Mike Blumenkrantz d216853252 when rolling back an efm_op task, also remove children tasks
this simplifies/fixes the case where copying directories and canceling the operation would not correctly propagate the cancel to subtasks (contents of the directory)

T680
2013-12-19 14:56:34 -05:00
Mike Blumenkrantz c2c9c3ab72 propagate parent tasks when creating work tasks from scan tasks 2013-12-19 14:55:53 -05:00
Mike Blumenkrantz b93c035176 set efm_op parent tasks when creating new scan tasks for a directory 2013-12-19 14:55:23 -05:00
Mike Blumenkrantz f9c16ba1ce separately calling eina_init after ecore_init in e_fm_op? wtfffffffffffffffffffffffffffffffff 2013-12-19 14:18:02 -05:00
Mike Blumenkrantz f6ec2c6f60 set ecore_app_no_system_modules in various system utilities 2013-12-19 14:14:48 -05:00
Mike Blumenkrantz d4fe53e2ce check smart data on efm rename dialog delete 2013-12-19 13:56:38 -05:00
Mike Blumenkrantz 428d2adb00 errr...new desklock variable is meant to be !checked to see if the user has ever successfully unlocked 2013-12-19 11:00:28 -05:00
Mike Blumenkrantz cc9c130c24 clean up desklock showing on startup, add env var for checking unlocked state
desklock's layer is below the start splash layer, so this can just be shown any time regardless of whether it's enabled. security++

previously the fact that e was restarting could break out of desklocked startup due to how the env variables were set. now there is a new variable which only gets set when the screen is locked which will force lock on startup even during restarts

T681
2013-12-19 10:55:56 -05:00
Cedric BAIL 56d9c12676 gdb: test for bad kernel behavior. 2013-12-19 17:11:13 +09:00
Cedric BAIL 147f088efa gdb: detect that the file was generated properly.
This is a workaround kernel that prevent ptrace to another process.
2013-12-19 16:39:46 +09:00
Cedric BAIL fd271ba0c8 gdb: don't forget to turn on file logging to get anything useful. 2013-12-19 16:17:59 +09:00
José Roberto de Souza 3b00919101 systray: Remove xembed callbacks when xembed support is disable 2013-12-18 16:25:23 -05:00
José Roberto de Souza dc74938241 Refactor systray to have only one box
This is simpler and avoid some edje erros.

This patch depends on a patch on elementary to update systray edj.
2013-12-18 16:25:23 -05:00
Mike Blumenkrantz 292bcf6e81 only allow backlight to go to 0.1, not 0.0
on some backlight devices, 0.0 is completely off, which can render the system unusable.

T651
2013-12-17 11:22:56 -05:00
Mike Blumenkrantz 02e95afdf3 use regular ecore-exe for pulse start to not track launch 2013-12-16 08:16:36 -05:00
Mike Blumenkrantz c7a23ab5bd don't crash when pulse exec deletes itself during startup timer 2013-12-15 17:03:38 -05:00
Mike Blumenkrantz 64b8da15a4 don't crash when ibar mouse rolling
T666 (wtf)
2013-12-15 13:36:55 -05:00
Shawn Lee 7c2d0c7bdd fix - enlightenment could be fell in infinite loop in e_border_focus_set().
Reviewers: seoz, zmike

CC: cedric, raster

Differential Revision: https://phab.enlightenment.org/D382
2013-12-15 13:33:00 -05:00
Mike Blumenkrantz 39cf0a5a1b try connecting to pulse on a timer after it gets started in case it's a slow startup 2013-12-15 10:13:37 -05:00
Mike Blumenkrantz bccda8e7b3 try running start-pulseaudio-x11 from mixer 2013-12-15 08:56:52 -05:00
Boris Faure 3155115bc5 fix tiling configuration screen 2013-12-14 17:50:47 +01:00
Mike Blumenkrantz 7435381907 only clip shelf object to zone if shelf is not a popup
T629
2013-12-13 09:09:56 -05:00
Mike Blumenkrantz ec484b1317 force unmount/eject on udisks2 filesystem removal, also remove undocumented fixme from seb
T432, T398
2013-12-12 10:43:30 -05:00
Carsten Haitzler e2c20040e8 e17 wizard - update missing flags and alignment in ui, as well as refresh
this adds moldova (moldavian?) flag for layouts of keyboards and
refreshes some of the generic images for unknown, latin america, brail
and arabic "flag" images, and forces flag icons to be 2:1 aspect
ration with icon centered within that area to address T647
2013-12-11 16:53:49 +09:00
Mike Blumenkrantz 0c2d21558f fix a magnificent typo in my last commit 2013-12-10 15:37:57 -05:00
Mike Blumenkrantz a7d1a4588e only revert focus to a sticky window on desk flip if there's no other window to revert to
T625
2013-12-10 15:36:28 -05:00
Mike Blumenkrantz b0854dedd1 remove unused variable 2013-12-10 15:36:28 -05:00
Mike Blumenkrantz caa41d0c7c force hide of new shelves when not visible 2013-12-10 15:36:28 -05:00
Sebastian Dransfeld ae8a067e6d e: Check whether allocation succeeds
CID 1039865
2013-12-10 20:37:17 +01:00
Sebastian Dransfeld 06a85fca4d e: check for NULL value in parameter
CID 1040146
2013-12-10 20:35:45 +01:00
Sebastian Dransfeld e818c83322 e: ignore signals with no signal
A signal needs a name to be handled.

CID 1040147
2013-12-10 20:31:26 +01:00
Sebastian Dransfeld 43a4f21e06 e: double paranthesis as gcc suggests
Since we assign and check for true value in one operation, use double
paranthesis.
2013-12-10 20:30:15 +01:00
Sebastian Dransfeld 5820112ba3 e: remove un-needed NULL check.
bdname = params, which is already checked

CID 1039830, 1039831
2013-12-10 20:19:46 +01:00
Sebastian Dransfeld d5853ddc2c e: Check for error reading lid status 2013-12-10 20:15:21 +01:00
Mike Blumenkrantz d985b01aa9 check efm queued icons when trying to live delete a file to ensure the icon is deleted
T633
2013-12-10 12:19:20 -05:00
Mike Blumenkrantz bbaa7a76b7 set systray icon layer based on gadcon container layer 2013-12-10 11:18:49 -05:00
Mike Blumenkrantz 09c3cd4ba9 only set bd->destroyed when window is actually destroyed
T617.1
2013-12-10 11:03:00 -05:00
Mike Blumenkrantz da931928e1 Revert "improve efm mouse move detection (no more tooltips when cursor is in separate window)"
This reverts commit db72a84e58.

this whole idea was broken. I blame the british food/water/oxygen/etc. it broke click renaming and all kinds of other things. changing the edc (in latest elm/1.8) is a much better and more effective solution
2013-12-10 10:16:27 -05:00
Mike Blumenkrantz a61786b7a7 Revert "restack event rect for efm...always"
This reverts commit 5bacb5dfc3.
2013-12-10 09:23:18 -05:00
Mike Blumenkrantz ef1b4e3d9d Revert "clip efm icon event rect"
This reverts commit cee520ff75.
2013-12-10 09:22:35 -05:00
Mike Blumenkrantz 3c514097ae Revert "unify efm icon positioning code"
This reverts commit 479bb201e3.
2013-12-10 09:22:22 -05:00
Mike Blumenkrantz a366561336 Revert "ensmallen efm icon event area"
This reverts commit b7fb8e7f8d.
2013-12-10 09:22:11 -05:00
Carsten Haitzler b6f25509b0 efm - pass events on icons. just say NO. it breaks them. 2013-12-10 20:59:06 +09:00
Carsten Haitzler 9da3c339ba mixer - address duplicate bindings for the same action with timeout
use time logging to not allow actions within a small window of time
from eachother. this fixes T620 - or should.
2013-12-10 18:48:20 +09:00
Carsten Haitzler 98e5035957 backlight - companion backlight fix patch actually changes config level
goes with 9ce8d91f6d.
2013-12-10 08:42:04 +09:00
Mike Blumenkrantz ec156f71aa set pass events on efm icon objects
we don't get events from the theme any more, so ensure that edje isn't grabbing events randomly

T377
2013-12-09 17:38:01 -05:00
Mike Blumenkrantz c0a1d4104f hide teamwork popups on desk flip 2013-12-09 17:05:42 -05:00
Mike Blumenkrantz 27d607d863 remove physics module
realistically I shouldn't have merged this into the release last year.

failing that, I probably should have removed it after the release.

even if I didn't remove it, I should have at least updated/tested it.

I did none of these things, and neither did anyone else, and thus we have an unmaintained module in core.

NOT ON MY WATCH
2013-12-09 08:22:19 -05:00
Mike Blumenkrantz 93ddaf2846 remove unnecessary file 2013-12-09 08:22:19 -05:00
Carsten Haitzler 9ce8d91f6d backlight - save after actions change backlight too. 2013-12-09 21:52:46 +09:00
Mike Blumenkrantz 400f966b70 improve efm popup display with multiple monitors
previously we'd clamp to the current screen, but that's not really necessary. also e_popup sucks, so trying to create zone-relative coords is not going to work -> just use first zone always
2013-12-09 07:26:33 -05:00
Carsten Haitzler 835a3dfac6 comp - remove sync support in comp - it should be off by default anyway.
this was never a great idea, and it has too many buglets in corner
cases (eg window resizing) so remove it. simpler is better.
2013-12-09 20:43:35 +09:00
Carsten Haitzler 0ec99b2ac5 gdb crashdump - restore old e_sys magic into e_start 2013-12-09 19:51:24 +09:00
Sebastian Dransfeld 5ca535383f e: handle e_util_head_exec display env
Clean up the code to set DISPLAY env so it is safe and correct.
2013-12-08 22:46:12 +01:00
Carsten Haitzler 65a1ed752e comp - disable grab by default due to it causing erratic rendering
so i found something interesting. the grab option causes some erratic
framerate in clients IF thoise clients have to sync to the xserver and
themselves try and render more smoothly. it masically means animators
get delayed due to unusually long render times because of this. this
fixes that. this also adds a comp config version number allowing the
code to upgrade a users config to turn this off and thus allows for
future upgrades too.
2013-12-08 14:46:19 +09:00
Sebastian Dransfeld e5300734dc Find correct border under pointer
Previously we would find the first border and then break. Now we find
the border with the highest layer, as the code intended.

Fixes CID 1039952
2013-12-07 22:28:01 +01:00
Sebastian Dransfeld e781a9b68e It is correct to fall through here
Add comment and remove coverity error
2013-12-07 22:23:39 +01:00
Sebastian Dransfeld 8b198d77f5 bd->zone is always set
lots of code always assume it is set, so no need to be paranoid
2013-12-07 22:21:31 +01:00
Sebastian Dransfeld e891ac7c16 Remove assignment to unused variable
p isn't used after this, so no need to assign it.

Fixes CID 1039757
2013-12-07 22:13:37 +01:00
Sebastian Dransfeld fcc82e3e34 Fix 03d50e9546
If this ever worked it's a miracle. remember_sigill is initialized for
each loop, so it can't remember anything.

Fixes CID 1039950
2013-12-07 22:09:49 +01:00
Sebastian Dransfeld 139153cf2c Initialize siginfo_t
If we don't run the ptrace below, siginfo_t should be initialized.

Fixes CID 1039767
2013-12-07 21:59:56 +01:00
Sebastian Dransfeld 0c4131d1be Use strncpy instead of strcpy
Even though a user has to be stupid to trigger this, strncpy should be
used if not to much hassle :)
2013-12-07 21:47:42 +01:00
Sebastian Dransfeld 7542ddef4c break out of while, not return
No change in functionality

Fixes CID 1039946, 1039948 and 1039949
2013-12-07 21:39:30 +01:00
Sebastian Dransfeld 0e5e0ec218 reduce indent level 2013-12-07 21:33:16 +01:00
Sebastian Dransfeld 05f00710f2 Check return value from mkdir
If mkdir fails, no need to stat.

Fixes CID 1039963
2013-12-07 21:32:11 +01:00
Mike Blumenkrantz 25ab377291 unbreak menu dnd 2013-12-06 11:44:45 -05:00
Jérémy Zurcher ac094ed72a mixer: add option disable_pulseaudio
- checkbox in module config
  - default to false
  - if set, do not start pulseaudio even if available
2013-12-06 09:52:15 +01:00
Jérémy Zurcher be68dc962e mixer: load module config in e_modapi_init(), same as others 2013-12-06 09:50:39 +01:00
Carsten Haitzler 9456e88504 e_sys - fix busy spin problem with security clamp-down 2013-12-06 09:19:08 +09:00
Mike Blumenkrantz 7a8ad8080e finally fix bug where gadgets on shelves would randomly reorder during drags
ticket #everydamngadgetticketevercreated
2013-12-05 12:27:46 -05:00
Mike Blumenkrantz a0edbd69b0 don't try to apply gadcon container geometry when injecting
fixes case of gadgets dragged onto a shelf always going to the right side

ticket #jpeg
2013-12-05 12:24:50 -05:00
Mike Blumenkrantz ed6bfb1955 subtract zone position from initial gadcon client drag coordinates
T369
2013-12-04 23:09:12 -05:00
Mike Blumenkrantz c49d5eea96 remove more calls to useless gadcon function 2013-12-04 23:08:50 -05:00
Mike Blumenkrantz 0b6ec2d07a move and unify a gadcon drag block 2013-12-04 23:06:57 -05:00
Mike Blumenkrantz 84cb16cf8f remove call to useless gadcon function 2013-12-04 23:05:50 -05:00
Mike Blumenkrantz 842d830c39 remove ability to alter gadgets in EFM toolbars
this whole site as a "fully functioning gadcon" is pretty broken (by design), and it's not worthwhile to fix it at this point
2013-12-04 12:21:22 -05:00
Mike Blumenkrantz b8af219a77 bugfix: don't add NoDisplay .desktop files to evry apps view
T598
2013-12-04 12:02:05 -05:00
Carsten Haitzler 59080c6752 bump randr settings up 1 more epoch for e18 release
bump to epoch 3 (version 1 again) so that an e17.6 release can bump
version up but then e18 bump it up again.
2013-12-03 16:56:59 +09:00
Mike Blumenkrantz b7fb8e7f8d ensmallen efm icon event area
previously it was impossible to click between icons. now it is.

T377
2013-12-02 16:18:05 -05:00
Mike Blumenkrantz 479bb201e3 unify efm icon positioning code 2013-12-02 16:14:22 -05:00
Mike Blumenkrantz 526578941f only force custom icon view for efm desktops when creating a fileman path for the first time
T98
2013-12-02 16:02:42 -05:00
Mike Blumenkrantz ec9ea6c97c fix evry crash when switching views
T317
2013-12-02 15:14:56 -05:00
Mike Blumenkrantz 0ba6584994 move dnd input window free to drag free function
fix T542 and other cases where dnd operations could permanently break mouse input
2013-12-02 09:06:20 -05:00
Mike Blumenkrantz 85480938cd raise fullscreen borders before entering nocomp 2013-12-01 17:27:40 -05:00
Mike Blumenkrantz bcabf5fdd3 add more borderless checks for shape cutting to catch weirdly-set borderless windows
ticket #onefang
2013-12-01 11:58:58 -05:00
Mike Blumenkrantz b3bc99d1b2 fix menu race condition crash related to screen edges
previously, this conditional would be called on most new submenus, even if the submenu's parent item was the previous item and its menu hadn't been set yet. hours of small mouse movements revealed that this should never be called when the parent item has not yet been set
2013-12-01 11:32:11 -05:00
Mike Blumenkrantz 63f9ddcbb0 improve upgrade path for removal of raise on focus option 2013-12-01 10:19:59 -05:00
Carsten Haitzler 666df815cd e_sys - address security concerns with environment - more
add more environment variables to nuke and add alternate envrionment
nuke method to raise security level.
2013-12-01 11:50:51 +09:00
Mike Blumenkrantz fc9e8865cf only try to start pulseaudio once 2013-11-30 16:37:27 -05:00
Mike Blumenkrantz dc63fb0a0c remove some eldbus stragglers from pulse mixer 2013-11-30 11:16:20 -05:00
Mike Blumenkrantz 8c1f521738 fix pulse mixer startup
dbus starting this is the wrong way to go I guess, e_exec is much simpler

fix T410 just in time for release!
2013-11-30 11:11:30 -05:00
Carsten Haitzler bb4a21e986 e_sys - address security concerns with environment and gdb
1. clear out environment as best is possible before executing
anything. especially PATH and IFS are set to minimal base defaults.
also use clearenv() if available and unsetenv()

2. remove gdb method as it's just too dangerous. run it as normal as
the user and if the kernel / distro dny that - then sorry. too bad.
2013-11-30 22:26:30 +09:00
Carsten Haitzler 8803e7fed2 double free coverty complaint - it doesn't know the action re-execs
this will shut coverty up (hopefully). it doesn't know that a re-exec
of the process will mean the code never gets out of the if ()...
unless the restart action is never found... and that never happens.
2013-11-30 11:51:50 +09:00
Olaf Conradi 39a986aace When changing the gravity setting, one cannot reset it to 0, as the setting is
not properly shown when reopening the dialog. It's always shown as 0 and
therefore not saveable.
2013-11-29 18:18:14 -05:00
Mike Blumenkrantz 5e8171d686 fix winlist first selection check
I added this a long time ago but forgot to do the right comparison
2013-11-29 12:18:55 -05:00
Mike Blumenkrantz 1c0de40ccc remove an old case of "raise on focus" from focus revert 2013-11-29 11:58:39 -05:00