Commit Graph

14440 Commits

Author SHA1 Message Date
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
Mike Blumenkrantz cafc28a197 improve theme apply to actually apply startup splash setting... 2013-11-29 09:47:31 -05:00
Mike Blumenkrantz ed60e2482a fix stringshare magic failure in theme dialog, unbreaks apply button 2013-11-29 09:45:31 -05:00
Mike Blumenkrantz d2acd5edcc set initial value of show_splash in theme config dialog 2013-11-29 09:45:08 -05:00
Mike Blumenkrantz e7edfacfce recover option to set startup splash and stick it into theme config dialog
yes, I know this is ugly. fix T588
2013-11-29 09:36:44 -05:00
discomfitor 875f4bdd91 teamwork now flags http 301 as a dummy since we have no way to follow moved urls with ecore-con 2013-11-28 12:31:07 -05:00
Mike Blumenkrantz 6ccc845a23 only unset comp_hidden on windows after desk flips if the window is not shaded
ticket #onefang
2013-11-28 11:02:02 -05:00
Mike Blumenkrantz da6f94a975 only change a window's vdesk when getting window profile if the current desk does not have the required window profile
ticket #onefang
2013-11-28 09:56:08 -05:00
Mike Blumenkrantz cd7a0e6b64 simplify code for moving windows to other desks: add effect unclipping to e_border_desk_set 2013-11-28 09:43:20 -05:00
Mike Blumenkrantz 6253a2f91b instead of just removing comp module on load attempt, replace it with conf_comp and enable it 2013-11-28 09:38:02 -05:00
Mike Blumenkrantz 1d60852734 force comp effect reset/unclip when switching desks using border menu
T478
2013-11-27 10:38:21 -05:00
Mike Blumenkrantz e4e6b0d0fd force comp reshape after desklock hide
should fix T440
2013-11-27 10:38:21 -05:00
Carsten Haitzler bb8e4e830c revert threaded app menu filling code - not stable in efreet
efreet still has lots of problems somewhere (unknown where) with
threaded use. it's just not safe even now. i'm seeing insanely
easy-to-reproduce issues every time i bring up a menu. since this is
unlikely to be solved in efreet before release, don't depend on efreet
being threadsafe and go back to the non-threaded code.

Revert "e: No need to check MINOR twice"
This reverts commit 97dd1d7486.
Revert "app menu parsing is now async with efreet 1.8"
This reverts commit 3989e54e21.
2013-11-27 19:43:05 +09:00
Carsten Haitzler 2a5443b2cb menu - fix dangling menu job not nulling job ref
this should fix T579
2013-11-27 09:13:37 +09:00
Mike Blumenkrantz cfcb80dbcb select previously renaming efm icon after rename ends 2013-11-26 13:26:53 -05:00
Mike Blumenkrantz d007a390c7 call "changed" smart callback immediately on efm refresh
fixes fileman popup race condition crashes
2013-11-26 13:26:25 -05:00
Mike Blumenkrantz 90d6defeea refresh efm after new file thread completes
T540
2013-11-26 13:15:35 -05:00
Mike Blumenkrantz 2e8adbe9ca run new file check on efm icons always, not just when rendering new icons 2013-11-26 13:15:04 -05:00
Mike Blumenkrantz 1ca73f8826 clicking Settings->All opens the settings panel
T382
2013-11-26 12:56:53 -05:00
Mike Blumenkrantz 8ad5e3db39 ignore shelves from other screens when changing vdesks
T485
2013-11-26 12:43:15 -05:00
Mike Blumenkrantz 80b3dc4830 alter fileman Open Terminal Here test/execution to activate when a regular file is passed
T34
2013-11-26 12:32:00 -05:00
Mike Blumenkrantz b3fc8aba03 always generate efm directory actions in menu 2013-11-26 12:31:30 -05:00
Mike Blumenkrantz 0d10bd1ab0 block window shot menu item when window is not visible
T478
2013-11-26 11:55:41 -05:00
Mike Blumenkrantz 5d4e2aa074 refresh efm after changing fileman settings
T549
2013-11-25 20:48:36 -05:00
Carsten Haitzler 22d5f604f3 wizard - protect min size calc against missing group complaints
if someone were to ... replace the default theme... and would be missing
groups... in theory the min size calc may fail thus leaving min w/h
unset, so just set them anyway.
2013-11-26 08:32:49 +09:00
Mike Blumenkrantz 444c115080 don't need to change gadman frame and base layers, only frame (outer) layer 2013-11-25 17:18:29 -05:00
Mike Blumenkrantz f1f7a1aa20 fix gadman loading with no previous config and modules already loaded 2013-11-25 16:25:21 -05:00
Mike Blumenkrantz abff6f1427 conf2 and related subsystems were a fun and useful experiment, but this is not their time. removed.
see econf.git
2013-11-25 16:04:01 -05:00
Tom Hacohen e31472e8c3 Entry: Fix scroller position to show cursor.
Before this commit, this would not always be the case.
I added a "scroll to cursor" for every change in entry size.

This is a further fix to T169. It's not exactly what described there,
but it's a similar issue I found while fixing it.

Somehow of a stage 2 for commit 80844cbcd7.
This also adds changelog and news entries, as this issue is now fully fixed.
2013-11-25 16:34:42 +00:00