Commit Graph

8530 Commits

Author SHA1 Message Date
Mike Blumenkrantz d9291fffe1 send (un)focused signals to entry scrollframes
T745
2014-01-10 11:14:13 -05:00
Carsten Haitzler 72735615c7 resolve unhandled null shape pointer
in some cases cw->shape is checked, others not. chekc in all cases.
this should fix T742
2014-01-10 15:24:43 +09:00
Mike Blumenkrantz 40e947db15 bugfix: store opacity in remembers like we do in the other remember edd 2014-01-01 15:39:35 -05:00
Mike Blumenkrantz e0df6b9095 bugfix: only set uid for eeze mounting of disks which are not native linux fstypes
T484
2013-12-31 14:12:24 -05:00
Carsten Haitzler 63a49e4dca comp - make message for missing gl a bit more helpful 2013-12-31 19:05:41 +09:00
Carsten Haitzler 00050ffca8 livethumb - fix problem where e canvas list didnt del the livethumb ee 2013-12-30 17:00:29 +09:00
Mike Blumenkrantz 28b157c385 bugfix: startup splash now updates the version number more reliably
e_init_show() sets its own strings now so they get set on existing objects instead of failing silently
2013-12-26 22:29:29 -05:00
Mike Blumenkrantz a00b8354b5 bugfix: infinite printing of SLEEP with release build
T690
2013-12-24 20:52:59 -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
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
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 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
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 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 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
Carsten Haitzler 9ce8d91f6d backlight - save after actions change backlight too. 2013-12-09 21:52:46 +09: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
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
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 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
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
Mike Blumenkrantz 1c0de40ccc remove an old case of "raise on focus" from focus revert 2013-11-29 11:58:39 -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 8ad5e3db39 ignore shelves from other screens when changing vdesks
T485
2013-11-26 12:43:15 -05:00
Mike Blumenkrantz b3fc8aba03 always generate efm directory actions in menu 2013-11-26 12:31:30 -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
Tom Hacohen 80844cbcd7 Entry: Fix update of child size and location.
Before this commit, setting the text of an entry after the entry
has already been placed and sized, would cause the inside entry
(the one inside of the scroller) size to be the size of the viewport
instead of the real size. This would make some parts of the entry
unreachable.

This fixes T169.
2013-11-25 16:21:19 +00:00
Carsten Haitzler 9a56f95bad oops - remove debug commit that snuck in! 2013-11-24 13:50:45 +09:00
Carsten Haitzler a96f443c10 gadman - fix possible segv with conf being null 2013-11-24 12:35:47 +09:00
Carsten Haitzler 8c9404a414 thumbnailing - revert "allow all" and rely on updated extn checks 2013-11-24 11:35:15 +09:00
Carsten Haitzler 7ccf40fc7b thumbs - add more mime types that can thumbnail and have e_thumb do it right 2013-11-22 18:26:21 +09:00