Commit Graph

7505 Commits

Author SHA1 Message Date
Carsten Haitzler 8fa7ba94bb doing configure checks for arpa/inet.h and so on is all fine and
great.. but if the src file htis was intended for doesn't include e.h
so it include config.h... then its kind of pointless isn't it? :)



SVN revision: 79997
2012-12-03 00:27:52 +00:00
Mike Blumenkrantz 97a7e3affb cast to void in delete macro
SVN revision: 79986
2012-12-02 19:27:25 +00:00
Vincent Torri 688aa066a1 E17: define htonl correctly
SVN revision: 79960
2012-12-01 07:19:18 +00:00
Mike Blumenkrantz 011dfdccf5 only block fsel updating if path is already set
SVN revision: 79951
2012-11-30 21:26:24 +00:00
Sebastian Dransfeld 5d64abb461 e: omit path in .desktop file if in xdg dir
SVN revision: 79950
2012-11-30 21:25:30 +00:00
Mike Blumenkrantz 21c5355c18 remove menu fixme
SVN revision: 79946
2012-11-30 20:04:11 +00:00
Mike Blumenkrantz 1eda0a3417 some text fixes from thomasg
SVN revision: 79910
2012-11-30 15:39:17 +00:00
Mike Blumenkrantz c6a9c34e7f giant header overhaul which removes all the stupid one line function prototype headers and e_mod_main.h headers that contain nothing but unnecessary module api prototypes
SVN revision: 79908
2012-11-30 14:38:34 +00:00
Mike Blumenkrantz 49f4670d7b cached menus now listen to efreet cache update events
ticket #1888


SVN revision: 79883
2012-11-30 11:50:21 +00:00
Mike Blumenkrantz fbc12f2e3f only save gcc during edit end if the gcc has a config
SVN revision: 79875
2012-11-30 08:50:12 +00:00
Christopher Michael 9b465c8a95 Add ECORE_X_CURSOR_EXCHANGE to e_pointer for a 'rotate' cursor.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 79867
2012-11-30 07:26:19 +00:00
Mike Blumenkrantz fd95d45c9b okay, only try the gadcon config gcc unref if it's a custom gadcon that's editing
SVN revision: 79840
2012-11-29 16:02:33 +00:00
Mike Blumenkrantz 2a6d8d9f74 unref drag gcc when deleting gcc from gc config dialog to ensure it is deleted properly
SVN revision: 79837
2012-11-29 15:22:12 +00:00
Mike Blumenkrantz 6600e453ec delete gcc drag object if it exists when gcc is deleted
SVN revision: 79836
2012-11-29 15:19:24 +00:00
Mike Blumenkrantz f371980da8 entry leak--
SVN revision: 79835
2012-11-29 15:06:32 +00:00
Mike Blumenkrantz 3f8c09d6a0 fix continual leak in efm file names
SVN revision: 79834
2012-11-29 15:02:00 +00:00
Mike Blumenkrantz c21b0240ba don't show gcc drag object when dragging desktop icons on same zone
SVN revision: 79833
2012-11-29 13:42:42 +00:00
Mike Blumenkrantz d7a5385b2b only run a gadcon populate event after module init end
SVN revision: 79829
2012-11-29 12:15:50 +00:00
Mike Blumenkrantz 6d4150fcad increase shelf show timeout after module init end
SVN revision: 79828
2012-11-29 12:15:11 +00:00
Mike Blumenkrantz 25853a0c2a fix possible null deref crash when deleting gadcon client config
SVN revision: 79827
2012-11-29 11:48:34 +00:00
Mike Blumenkrantz ab52c7a2ee unselecting all ilist items will no longer fail to unselect all ilist items
SVN revision: 79826
2012-11-29 11:25:02 +00:00
Mike Blumenkrantz af38ddf0a6 delete any invalid gadcon clients for custom gadcons since we don't validate as much here
SVN revision: 79823
2012-11-29 10:09:28 +00:00
Mike Blumenkrantz 8db2b8bb69 disable "internal_fileman" border setting since there's no theme which supports it and all it does is break border config
ticket #1830


SVN revision: 79820
2012-11-29 08:57:20 +00:00
Mike Blumenkrantz eb2ae4dfb2 improve and homogenize system action dialog texts
SVN revision: 79817
2012-11-29 07:20:17 +00:00
Mike Blumenkrantz 1af4e65b56 fix shelf crash when attempting to animate an autohide during screen rotation
SVN revision: 79804
2012-11-29 05:23:52 +00:00
Mike Blumenkrantz fff13bc94a fix gadget popup positioning bug for top/left shelves
SVN revision: 79801
2012-11-29 04:31:23 +00:00
Mike Blumenkrantz bd19ea1330 fix max menu size clamping
ticket #1691


SVN revision: 79800
2012-11-29 03:02:16 +00:00
Carsten Haitzler ef76974ffc lets not break dnd onto dirs.. within the same efm view.
SVN revision: 79763
2012-11-28 04:11:33 +00:00
Carsten Haitzler 022e768010 fix segv in efm! dnd 2 files into another dir - yay!
SVN revision: 79762
2012-11-28 03:51:24 +00:00
Tom Hacohen 81efa66d66 E entry: Use stringshare instead of strdup.
The string is usually shared already and this saves us the allocation.

SVN revision: 79753
2012-11-27 18:14:03 +00:00
Tom Hacohen cf7f76c329 E entry: Fix password mode toggle.
It's just a straightforward fix. Some cleanup is needed there to make
everything nicer, but that's not important for the time being as it'll be
replaced with elm_entry "soon" anyway.

SVN revision: 79750
2012-11-27 15:50:53 +00:00
Carsten Haitzler b1b5f7c09d less offensive import dialog layout. :)
SVN revision: 79742
2012-11-27 10:45:09 +00:00
Cedric BAIL 85b27ab7e3 e: detect when sysactions.conf doesn't let us run gdb.
SVN revision: 79731
2012-11-27 03:48:05 +00:00
Mike Blumenkrantz 2ac82d5a0c gadcon popups will no longer pop over the gadget if popping for a shelf in autohide mode
SVN revision: 79719
2012-11-26 14:10:00 +00:00
Mike Blumenkrantz c244e1f9b7 module config dialog now listens for module status update events and adjusts module status accordingly
ticket #1816


SVN revision: 79693
2012-11-26 10:58:58 +00:00
Mike Blumenkrantz 0f46bd2d98 module update event module name is now stringshared
SVN revision: 79691
2012-11-26 10:30:00 +00:00
Mike Blumenkrantz d8edcec5f1 add function for cloning an e_order
SVN revision: 79683
2012-11-26 09:36:11 +00:00
Mike Blumenkrantz 4d92a1de3c patch from Deon Thomas fixing some lost window behavior bugs
ticket #1821


SVN revision: 79681
2012-11-26 09:09:16 +00:00
Sebastian Dransfeld 4de7b95f4a e: honor XDG_DESKTOP_DIR
SVN revision: 79678
2012-11-26 08:45:03 +00:00
Sebastian Dransfeld f5c645b793 e: keep code in same scope
SVN revision: 79677
2012-11-26 08:44:47 +00:00
Mike Blumenkrantz 011b6c7b02 NULL check gadcon dnd enter events so we don't crash on efm drag operations
ticket #1820


SVN revision: 79676
2012-11-26 08:29:22 +00:00
Mike Blumenkrantz 8d30916e09 set flag in fsel for when preview is a directory so we can grab the right path
ticket #1815


SVN revision: 79675
2012-11-26 08:16:25 +00:00
Carsten Haitzler 92d53b87a5 and remvoe debugging.
SVN revision: 79670
2012-11-26 06:40:35 +00:00
Carsten Haitzler 7277ce21b1 fix segv where menus are not actually popped down on deletion of gcc.
SVN revision: 79669
2012-11-26 06:38:43 +00:00
Carsten Haitzler 108b985e87 valgrind complain-- :
SVN revision: 79665
2012-11-26 03:49:55 +00:00
Carsten Haitzler f119b1969b use readonly not disabled for entires in icccm/netwm dialog
SVN revision: 79661
2012-11-25 23:56:52 +00:00
Carsten Haitzler 2697a5f84d delay fdo re-loads/hunts by 0.1 sec after any resize event for
smoother anim.



SVN revision: 79654
2012-11-25 12:30:09 +00:00
Carsten Haitzler 4ff82885e8 delay e_win and e_popup deletes to avoid bad mem accesses from
objects/callbacks that free evases deep inside a callback tree. :)



SVN revision: 79622
2012-11-24 04:22:21 +00:00
Carsten Haitzler 6460d80767 ensire filepreview video doesnt overflow when in fsel ANd maintains
aspect based on video content.



SVN revision: 79621
2012-11-24 02:32:59 +00:00
Carsten Haitzler 758168f6f0 and keep updating number too when set form code.
SVN revision: 79620
2012-11-24 02:05:54 +00:00
Carsten Haitzler 7243e0c665 and keep t in too. oops. last second edit.
SVN revision: 79618
2012-11-24 01:41:52 +00:00
Carsten Haitzler a537c5c741 stop video preview stuttering!
SVN revision: 79617
2012-11-24 01:40:35 +00:00
Carsten Haitzler cff3bfb61b oooh fix some infinite loops in entry .. and oh so much make color
specture.selector/sliders WORK again... properly.



SVN revision: 79557
2012-11-23 11:24:39 +00:00
Carsten Haitzler 4d880b56ec remove some infintie loops in entry where is resizes to the same size
and sets the same3 text again and again.



SVN revision: 79556
2012-11-23 04:41:47 +00:00
Carsten Haitzler 5d7474c5e5 split about text -> the translatable bit and the license bit (always
english).



SVN revision: 79539
2012-11-22 11:57:22 +00:00
Carsten Haitzler 6c466cd6f3 stderr for the run cmd so we can debug and stuff...
SVN revision: 79529
2012-11-22 01:27:03 +00:00
Carsten Haitzler e9a383f40c printf--
SVN revision: 79489
2012-11-21 04:08:58 +00:00
Carsten Haitzler 2efe87a0e9 fix up single click and click to rename + event sticking with mouse
events.



SVN revision: 79488
2012-11-21 04:06:23 +00:00
Sebastian Dransfeld 5986618d0a e: remove cruft
SVN revision: 79480
2012-11-20 21:18:30 +00:00
Carsten Haitzler fe99dc3e26 about legal stuff + contact info.
SVN revision: 79476
2012-11-20 15:37:50 +00:00
Carsten Haitzler e87dc77227 ensure the about dialog has a copy of the license to make sure legally
we've given the info needed in an accessible place to the user.



SVN revision: 79475
2012-11-20 15:32:27 +00:00
Carsten Haitzler 7e8768ad5d add new about theme signals/text capabilities as per email - change 1
string - "Theme" -> "About Theme"



SVN revision: 79461
2012-11-20 01:41:33 +00:00
Vincent Torri ba53c29261 E17: update alloca detection
SVN revision: 79427
2012-11-18 13:42:48 +00:00
Sebastian Dransfeld e54ec613c4 e: gravity on lock win
SVN revision: 79412
2012-11-17 20:58:36 +00:00
Sebastian Dransfeld 5865d2d675 e: lock parent, not window
SVN revision: 79411
2012-11-17 20:39:29 +00:00
Mike Blumenkrantz 36af3ea6bb only post-adjust menu position for non-submenus
ticket #1802


SVN revision: 79403
2012-11-16 22:09:48 +00:00
Daniel Juyung Seo f185eabf92 e e_entry.c: 1. Used EINA_TRUE/FALSE for Eina_Bool. 2. Removed unused variable 'have_preedit'
SVN revision: 79379
2012-11-16 11:46:03 +00:00
Sebastian Dransfeld 30350d0f76 e: edit == !noedit && !edit == noedit
SVN revision: 79373
2012-11-16 10:20:31 +00:00
Carsten Haitzler 1da5608d7b entry - read only mode (noedit) should be supported and use it from
file preview too...



SVN revision: 79368
2012-11-16 09:08:14 +00:00
Sebastian Dransfeld 6004ba2eaa e: prevent events on modal parent
This fixes trapping of events on modal parents. We can't change event
mask, as that changes the event _we_ receive, not the client. We must
add and input window above the parent which traps the events.

SVN revision: 79367
2012-11-16 09:02:24 +00:00
Tom Hacohen 5d840bab5b E entry: force disable thumbscroll.
We need that disabled, as currently mouse grabbing breaks if that's not
set. That's what you get when you have scrolling and selection in the same
place. We can just use selection for scrolling or fix the issue.
The fix would probably require using the ON_SCROLL flag instead of
the ON_HOLD and actually handle it correctly.

SVN revision: 79359
2012-11-16 06:55:40 +00:00
Mike Blumenkrantz 26b38be179 fix crash in menus
SVN revision: 79347
2012-11-15 15:01:19 +00:00
Mike Blumenkrantz c984977c20 prevent thread crash on startup; efreet does some non-threadsafe stuff, so we need to not be generating multiple menus simultaneously on init
SVN revision: 79344
2012-11-15 13:20:34 +00:00
Carsten Haitzler 9cceb74058 fix text mouse pointer stickiness in entry.
SVN revision: 79342
2012-11-15 12:40:27 +00:00
Mike McCormack b0f8f6c8bf e: Fix warning unused return code warning
e_widget_filepreview.c:817:9: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]

Signed-off-by: Mike McCormack <mikem@atratus.org>

SVN revision: 79337
2012-11-15 11:14:31 +00:00
Mike Blumenkrantz 3b8856aa3c unbreak tab completion in efm typebufs
SVN revision: 79331
2012-11-15 09:59:51 +00:00
Mike Blumenkrantz 9e4184cee1 thread-create favorite apps menu on startup since this will probably be a commonly used menu
SVN revision: 79328
2012-11-15 09:36:21 +00:00
Mike Blumenkrantz 6d3694d4a9 improve menu positioning for menus which have not yet generated items at the time that they are made visible
SVN revision: 79326
2012-11-15 09:20:28 +00:00
Carsten Haitzler 3a20ce737f fix inconsistent signal src for desklock.
SVN revision: 79324
2012-11-15 09:11:49 +00:00
Mike Blumenkrantz ca2501c4a1 move menu sizing to after menu actually gets sized to prevent multiple resizes
SVN revision: 79323
2012-11-15 08:57:01 +00:00
Mike Blumenkrantz 97e91c2e9b no more garbage in text file previews
ticket #1601


SVN revision: 79322
2012-11-15 08:20:48 +00:00
Mike Blumenkrantz 7c7927bd4e patch from Maxime Villard fixing a bug in EFM which could cause data loss when dragging directories onto external devices
SVN revision: 79319
2012-11-15 07:31:05 +00:00
Mike Blumenkrantz c752389817 e now remembers left/right maximization state across restarts
ticket #1694


SVN revision: 79294
2012-11-14 13:47:37 +00:00
Mike Blumenkrantz 62a83145f7 ensure that we aren't trying to lost window warp new windows
SVN revision: 79289
2012-11-14 11:47:34 +00:00
Mike Blumenkrantz 818881cc77 break after finding matching remember
SVN revision: 79288
2012-11-14 11:41:00 +00:00
Mike Blumenkrantz 1c629696ee e should now remember pre-maximize sizes for windows across restarts
SVN revision: 79287
2012-11-14 11:39:29 +00:00
Mike Blumenkrantz 0bc2c8a7d8 only size/swallow menu icons once
SVN revision: 79278
2012-11-14 10:35:38 +00:00
Mike Blumenkrantz 0c0605da1e pack before thaw so we don't calc twice
SVN revision: 79277
2012-11-14 10:27:27 +00:00
Mike Blumenkrantz cc887a265c formatting
DEAR CEDRIC: PLEASE LEARN HOW TO FORMAT YOUR CODE CORRECTLY. THANKS.


SVN revision: 79276
2012-11-14 09:57:11 +00:00
Mike Blumenkrantz 714185fd1a fix possible, but confusing, dnd crash in efm
SVN revision: 79275
2012-11-14 09:50:00 +00:00
Mike Blumenkrantz fbca1c1c83 zero the window menu caption buffer
SVN revision: 79272
2012-11-14 09:25:13 +00:00
Carsten Haitzler 8e5a49765b make e ipc socket string shorter. osx is unhappy with long paths for
sockets it seems. :)



SVN revision: 79268
2012-11-14 06:38:25 +00:00
Mike Blumenkrantz 65a08d98fe add E_EVENT_BACKLIGHT_CHANGE
SVN revision: 79238
2012-11-13 17:36:51 +00:00
Thomas Gstädtner 0906b365d1 border remembers: rename Using to Identifiers to be more obvious
Signed-off-by: Thomas Gstädtner <thomas@gstaedtner.net>

SVN revision: 79223
2012-11-13 10:58:16 +00:00
Thomas Gstädtner 76026c02c8 border locks: deengrishify
Signed-off-by: Thomas Gstädtner <thomas@gstaedtner.net>

SVN revision: 79222
2012-11-13 10:58:11 +00:00
Thomas Gstädtner 5349d22d16 wallpaper: more sane dialog title
Signed-off-by: Thomas Gstädtner <thomas@gstaedtner.net>

SVN revision: 79221
2012-11-13 10:58:04 +00:00
Thomas Gstädtner 62c7d7231b e_fm: fix typo
Signed-off-by: Thomas Gstädtner <thomas@gstaedtner.net>

SVN revision: 79219
2012-11-13 10:57:50 +00:00
Mike Blumenkrantz 6f633693a7 fix e_start on BSDs, patch from Maxime Villard
SVN revision: 79218
2012-11-13 10:54:35 +00:00
Mike Blumenkrantz 051353d137 fix video preview layouts
ticket #1716


SVN revision: 79216
2012-11-13 10:45:58 +00:00
Mike Blumenkrantz 4a4f40215e pass border to kill function as expected and don't kill anything if a non-border object was passed
ticket #1769


SVN revision: 79206
2012-11-13 08:39:45 +00:00
Mike Blumenkrantz e97ccf53cd by popular (overwhelming) demand, -i-really-know-what-i-am-doing-and-accept-full-responsibility-for-it now prevents enlightenment_start from ptracing, which allows gdb attaching once more
SVN revision: 79202
2012-11-13 07:46:02 +00:00
Carsten Haitzler 80858ec4fc 1. move crashdump to its own file - not in xsession-errors (gets
overitten by whatever is already writing to it)
2. set restart env var so crashes dont bring up init splash.



SVN revision: 79198
2012-11-13 05:47:36 +00:00
Tom Hacohen 151e675cf2 E menu: Fix menu abbreviation.
Possibly not the fastest way to do it, but I really don't have the time to
do it now. I'm just doing it because it took me less time to fix it than
to handle all of Mike's bugging in PM and mails. ;P
Something is still broken in here, but I don't have time to deal with
it, if there's something broken please let me know or fix it yourself,
should be fairly easy.

SVN revision: 79189
2012-11-12 18:35:34 +00:00
Tom Hacohen e79ad1ed13 E menu: title abbrv is now less broken.
Still very broken.

SVN revision: 79188
2012-11-12 18:35:20 +00:00
Carsten Haitzler 3868f0f91a try avoid null ptr derefs.
SVN revision: 79168
2012-11-12 14:45:59 +00:00
Mike Blumenkrantz b0799e082f set sane config limits for backlight/screensaver enable
ticket #1760


SVN revision: 79161
2012-11-12 13:58:39 +00:00
Mike Blumenkrantz b9082e6209 improve checks for window position limits
ticket #1740


SVN revision: 79159
2012-11-12 13:15:42 +00:00
Mike Blumenkrantz f54201ce24 woo typo
SVN revision: 79158
2012-11-12 13:13:17 +00:00
Mike Blumenkrantz 959afb514a define XCB_ATOM_NONE if not defined because opensuse sucks
ticket #1722
this commit brought to you by the recipient of the 2012 E-Devel "Hater" award


SVN revision: 79157
2012-11-12 13:02:12 +00:00
Mike Blumenkrantz 31b2e6dcf9 add "Flip To Previous Desktop" action
ticket #1717, patch originally by Robert David <robert.david.public@gmail.com>


SVN revision: 79148
2012-11-12 10:49:28 +00:00
Mike Blumenkrantz e5903f4740 add support for and use eina_list_last_data_get
SVN revision: 79144
2012-11-12 10:05:09 +00:00
Mike Blumenkrantz 031624abd9 xkb no longer sets dummy default layouts and is smarter about applying configs without layouts
SVN revision: 79141
2012-11-12 09:49:07 +00:00
Mike Blumenkrantz 4ae43fb422 check for sys/ptrace.h and only use ptrace() in e_start_main.c if it's present
ticket #1757 (3/3)


SVN revision: 79139
2012-11-12 09:23:39 +00:00
Mike Blumenkrantz 15b668e01a more build fixes: MAX into e.h if not defined, remove other definitions as pointed out by Robert David
ticket #1757 (2/3)


SVN revision: 79138
2012-11-12 09:16:23 +00:00
Mike Blumenkrantz cf98c0003f fix static grab build on solaris
ticket #1757 (1/3)


SVN revision: 79137
2012-11-12 09:10:16 +00:00
Tom Hacohen b49befa400 E entry: use E_FREE as suggested by Sebastian Dransfeld.
SVN revision: 79090
2012-11-10 10:11:25 +00:00
Carsten Haitzler 16e8ff0ff5 disable the screensaver/dpms blank forcing - it fixes 1 xorg issue but
triggers others on other xorgs. ugh.



SVN revision: 79074
2012-11-10 01:44:50 +00:00
Mike McCormack 1b1fdc0b45 e: Comment code generating an unused warning
SVN revision: 79070
2012-11-09 21:54:12 +00:00
Tom Hacohen ac38ad5121 E entry: Fixed issue with marup and text set/get.
This fixes #1715 or at least should.

SVN revision: 79061
2012-11-09 19:41:06 +00:00
Carsten Haitzler 7c7b388014 send enlightenment_start a sigusr1 and it will give up its ptracing
efforts on e17. :) u can then gdb attach as u like.



SVN revision: 79029
2012-11-09 15:42:57 +00:00
Carsten Haitzler f534e30089 put lucas's makefiles back.. but what do you do to make it not break
between builds from older vs newer makefile setup?



SVN revision: 79024
2012-11-09 14:49:05 +00:00
Cedric BAIL 6980eb0bc7 e: improve usability of WBOD.
SVN revision: 79023
2012-11-09 13:53:08 +00:00
Christopher Michael 2170cc5b98 E: Fix typo spotted by rustyBSD.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 79016
2012-11-09 11:05:35 +00:00
Cedric BAIL 3fe9bed80e E: should now compile on Mac OS X.
SVN revision: 78977
2012-11-07 21:21:04 +00:00
Cedric BAIL 03d50e9546 E: little hack to handle valid SIGILL.
SVN revision: 78976
2012-11-07 20:56:57 +00:00
Sebastian Dransfeld 164151842f e: always apply xsettings
And use _e_xsettings_update instead of looping managers

SVN revision: 78941
2012-11-06 15:21:11 +00:00
Sebastian Dransfeld 9fdf8faf78 e: Fix free of list from _e_border_sub_borders_new
First loop, then eina_list_free == spankies!!!

Please fix code correctly when mistakes are spotted.

S.

SVN revision: 78913
2012-11-05 08:31:23 +00:00
ChunEon Park b71fad439d e/e_border - Fix memory leak
Dear all.

I found that there is code to occur memory leak in e_border.c and I fixed it.
Please review this patch.

Thanks.

Doyoun Kang

Singed-Off-By:Doyoun Kang<doyoun.kang@samsung.com>



SVN revision: 78910
2012-11-05 07:51:07 +00:00
Mike Blumenkrantz 568b106bd3 some patch from Maxime Villard for secure deletion fixes again
SVN revision: 78876
2012-11-02 21:02:26 +00:00
Mike Blumenkrantz 7de1d89a0b fix process updating for secure delete operations, efm_op now requires libmath
SVN revision: 78864
2012-11-02 13:44:37 +00:00
Mike Blumenkrantz 2bd9c7f72c efm now remembers sort mode per-directory
ticket #1696


SVN revision: 78861
2012-11-02 12:36:35 +00:00
Mike Blumenkrantz 43fcfbb1d9 simplify macro
SVN revision: 78858
2012-11-02 12:26:20 +00:00
Mike Blumenkrantz 2f0c52ee23 uchar -> bool
SVN revision: 78857
2012-11-02 12:19:50 +00:00
Mike Blumenkrantz b48ec91e0e formatting
SVN revision: 78856
2012-11-02 12:16:06 +00:00
Mike Blumenkrantz 6f24439dc4 efm Sorting menu is now a first-level submenu
SVN revision: 78855
2012-11-02 12:12:28 +00:00
Mike Blumenkrantz 0cb7e8e3f3 finally fix annoying submenu offset bug
ticket #1691


SVN revision: 78854
2012-11-02 11:56:32 +00:00
Mike Blumenkrantz bcd7b442c4 hack/fix initial toolbar sizing, prevents weird fwin size bugs caused by trying to calc toolbar size before the toolbar has been sized
SVN revision: 78852
2012-11-02 11:31:06 +00:00
Mike Blumenkrantz d23548d79e only move windows to center when they're offscreen
SVN revision: 78851
2012-11-02 11:17:33 +00:00
Mike Blumenkrantz b355a53324 formatting
SVN revision: 78850
2012-11-02 10:11:32 +00:00
Mike Blumenkrantz 943d9d7423 fix shadow warning
SVN revision: 78849
2012-11-02 09:50:49 +00:00
Mike Blumenkrantz dc6f35c7f1 unbork e_start; 500 bonus b0rker points to cedric for b0rking the unb0rkable
SVN revision: 78848
2012-11-02 09:50:03 +00:00
Mike Blumenkrantz e020a07e58 filepreview now works with gifs
SVN revision: 78846
2012-11-02 09:34:28 +00:00
Mike Blumenkrantz c3a97e3965 filepreview now uses preview as container for video previews
SVN revision: 78845
2012-11-02 09:09:01 +00:00
Mike Blumenkrantz 01b47aed5f overhaul and fix custom bg+overlay setting/unsetting in efm
SVN revision: 78844
2012-11-02 09:04:26 +00:00
Mike Blumenkrantz 1fbcc07e04 whoops forgot to ref
SVN revision: 78833
2012-11-02 08:03:35 +00:00
Mike Blumenkrantz 0b5a3ec96d break out ilist item label setting
SVN revision: 78832
2012-11-02 08:00:58 +00:00
Mike Blumenkrantz 14e898b6a7 add shelf rename events
SVN revision: 78831
2012-11-02 07:53:37 +00:00
Mike Blumenkrantz c3729552ee fix entry crash
SVN revision: 78830
2012-11-02 07:46:53 +00:00
Mike Blumenkrantz c5b9a2b768 screen limits option now affects windows lost prior to enabling the option, patch by Deon Thomas
ticket #1711


SVN revision: 78829
2012-11-02 07:44:00 +00:00
Mike Blumenkrantz f37f21c247 unbork window shading from yesterday
SVN revision: 78828
2012-11-02 07:34:40 +00:00
Mike Blumenkrantz 0532cb78fd fix desktop file rename cnp operations
ticket #1703


SVN revision: 78789
2012-11-01 14:41:36 +00:00
Mike Blumenkrantz 87217a841b add container variant of e_win_evas_object_win_get: e_container_evas_object_container_get
SVN revision: 78788
2012-11-01 14:14:10 +00:00
Mike Blumenkrantz 54330a3ca6 reorder+fix some border sizing code to not do funny things like randomly make windows with half-sized borders
ticket #1690


SVN revision: 78786
2012-11-01 13:50:14 +00:00
Mike Blumenkrantz 9306965e13 fix client win list with long utf8 titles and length limits, also fix a related leak
ticket #1649


SVN revision: 78752
2012-11-01 09:18:50 +00:00
Mike Blumenkrantz 0cb0c0939a unbreak build, spankies cedric
SVN revision: 78749
2012-11-01 08:14:36 +00:00
Cedric BAIL 380386817b e: full rewrite of our WBOD.
NOTE: the new behaviour require a parent process,
here enlightenment_start, to watch over enlightenment.
It does use ptrace to monitor his child and track
what is going on. When a crash happen it ask gdb to
add the backtrace directly into .xsession-errors.

If you use systemd user session, you may want to offload
that work to systemd. You can do so, but don't forget to
pass -nopause to enlightenment when you start it.

WARNING: For all user, you will need to exit your
current session and start a fresh one for this new WBOD
to work at all. Just restarting Enlightenment will not
help you.


SVN revision: 78742
2012-11-01 06:23:49 +00:00
Cedric BAIL 0b5db2653e e: simplify logic.
SVN revision: 78737
2012-11-01 01:09:22 +00:00
Lucas De Marchi 92eee9068a e: use AM_CPPFLAGS instead of INCLUDES
Get rid of warnings like below with recent automake (1.11 and newer):
src/bin/Makefile.am:6: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
src/bin/Makefile.am: installing './depcomp'
src/modules/access/Makefile.am:11: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')



SVN revision: 78720
2012-10-31 20:40:40 +00:00
Massimo Maiurana db489a2338 patch from Igor Murzov for a correct use of plural forms with gettext
SVN revision: 78716
2012-10-31 18:44:14 +00:00
Mike Blumenkrantz efd116d655 dnd in efm will no longer cause icons to flicker rapidly when dropping a file
also added some docs about icon drag struct members


SVN revision: 78712
2012-10-31 15:56:23 +00:00
Mike Blumenkrantz 78967eac38 patch from Maxime Villard with some minor changes and openbsd fixes
SVN revision: 78711
2012-10-31 15:40:53 +00:00
Mike Blumenkrantz f29de38e57 finally fix stupid xkb layout saving bug
ticket #1656


SVN revision: 78709
2012-10-31 15:04:51 +00:00
Mike Blumenkrantz 71f49a2473 slightly improve e_alert text
SVN revision: 78695
2012-10-31 09:28:32 +00:00
Cedric BAIL 86d6551006 e: use X property for E_TAINTED to and fix parsing of message to.
SVN revision: 78694
2012-10-31 09:00:23 +00:00
Mike Blumenkrantz 64fc140c78 patch from Deon Thomas to fix lost window warp behavior
ticket #1680


SVN revision: 78693
2012-10-31 08:44:50 +00:00
Cedric BAIL 7826261e19 e: e_alert now find the composite window by looking at X property insteed of relying on E.
SVN revision: 78692
2012-10-31 07:50:10 +00:00
Tom Hacohen b9e560b6a2 E entry: Disable thumb scrolling, it's just bad for our purpose.
SVN revision: 78684
2012-10-30 22:53:33 +00:00
Carsten Haitzler 3eb7dfc04e fix on hold events for selection by scrollframe in e if thumbscroll is
off.



SVN revision: 78674
2012-10-30 16:12:20 +00:00
Tom Hacohen a9bdc983b4 E entry: Move to edje_entry and remove e_editable.
This should reduce the number of issues in the long run and reduced the
amount of code we have to maintain."

SVN revision: 78663
2012-10-30 14:06:13 +00:00
Tom Hacohen 25ee210ef8 E scrolled_entry: Set evas min size. Should probably be in e_widget_size_min_set.
SVN revision: 78662
2012-10-30 14:06:08 +00:00
Tom Hacohen 00698b999e E srcollframe: Added a mode to disable key navigation + fixed show region.
Show region now doesn't move if the requested region is inside of the
already visible region.

SVN revision: 78661
2012-10-30 14:05:50 +00:00
Mike Blumenkrantz 5a20be6915 fsel no longer changes entry text when changing directory
ticket #1695


SVN revision: 78656
2012-10-30 13:28:05 +00:00
Mike Blumenkrantz 91fc9e6634 remove some old fsel comments
SVN revision: 78650
2012-10-30 13:02:17 +00:00
Mike Blumenkrantz 3fc68c6c43 fix old FIXME regarding handling of NET_ACTIVE_WINDOW hint: new window focus option allows ignoring, animating, activating (current behavior is activating) on hint
right now this uses the "urgent" signal for the animate state, may want to change it to something else if separate theming is desired
ticket #1642


SVN revision: 78647
2012-10-30 11:57:35 +00:00
Mike Blumenkrantz 6657834714 formatting
SVN revision: 78643
2012-10-30 11:44:54 +00:00
Cedric BAIL ab5767eac7 e: add gdb support to enlightenment_sys to work around Ubuntu crappy kernel patch.
SVN revision: 78640
2012-10-30 08:36:26 +00:00
Mike Blumenkrantz ab6d671328 fix box item finding as spotted by Igor Murzov
SVN revision: 78613
2012-10-29 11:59:55 +00:00
Mike Blumenkrantz 676c71a2a1 efm now checks (on startup) for stale device links on desktop and tries to remove them
ticket #1689


SVN revision: 78608
2012-10-29 09:52:23 +00:00
Mike Blumenkrantz d957dbc0c4 better fix for ilist item delete sizing bug
SVN revision: 78604
2012-10-29 08:13:00 +00:00
Mike Blumenkrantz 1f552955a7 fix shelf magic fail
SVN revision: 78601
2012-10-29 08:01:25 +00:00
Christopher Michael 2d6a796007 E: Fix warning: variable ‘output’ set but not used. Add unused to argv.
Signed-off-by: Christopher Michael <cpmichael1@comcast.net>

SVN revision: 78581
2012-10-28 10:29:02 +00:00
Mike Blumenkrantz a200832b4f fix box crash
SVN revision: 78575
2012-10-28 08:40:03 +00:00
Carsten Haitzler 0bb52eb9ed adjust efm fwin setup and popup to be... better theme friendly!
SVN revision: 78565
2012-10-28 07:45:48 +00:00
Carsten Haitzler fa5cd0bc12 and actually explicitly make toolbooks scrollable by default.
SVN revision: 78560
2012-10-27 10:43:54 +00:00
Carsten Haitzler 5458b95b24 fix toolbar/toolbook sizing issue and also make toolbar emit signals
to say if icons are there or not.



SVN revision: 78559
2012-10-27 10:40:16 +00:00
Mike Blumenkrantz 70ed9168e2 and F2 for rename
SVN revision: 78536
2012-10-26 13:37:55 +00:00
Mike Blumenkrantz eeb071c819 efm now supports F5 for refresh
SVN revision: 78535
2012-10-26 13:35:30 +00:00
Mike Blumenkrantz a04b500c36 only display mount type for filepreview if volume is mounted
SVN revision: 78533
2012-10-26 13:30:30 +00:00
Mike Blumenkrantz 80ff1bdcb6 efm also listens to efreet cache build events just in case
SVN revision: 78516
2012-10-26 10:05:17 +00:00
Mike Blumenkrantz cbcc5eb129 efm now listens to efreet cache update events
ticket #1580


SVN revision: 78515
2012-10-26 10:00:44 +00:00
Mike Blumenkrantz c23cdad3b4 add widget playground dialog to main menu for easy access to testing e widgets in future
SVN revision: 78509
2012-10-26 08:33:02 +00:00
Mike Blumenkrantz 2adbe0567d when removing items from ilist, autoresize the ilist if it's in a scroller to prevent item sizes from becoming larger
ticket #1678


SVN revision: 78508
2012-10-26 08:30:24 +00:00
Mike Blumenkrantz ef7cd7af5f prevent attempts to remove negative number ilist items
SVN revision: 78507
2012-10-26 08:10:08 +00:00
Mike Blumenkrantz 85a60baa96 add e_box function to return item size
SVN revision: 78506
2012-10-26 07:51:38 +00:00
Christopher Michael 68e70b0131 E: Fix bug. The "Look" submenu of a gadget would not have any item
selected (Plain/Inset) if no style was previously selected for this
gadget. This adds code that also checks the Client Class default style
if no gadget style has been assigned yet.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 78505
2012-10-26 07:20:59 +00:00
Christopher Michael 8894fb5f50 E: Fix formatting for 80 columns
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 78504
2012-10-26 07:20:51 +00:00
Vincent Torri a0bf30b75c E17:
I. Simplification, andif we cannot stat(), the best
thing to do is toswitch to a copy-delete operation.

II.Just stuff...

III. There is a problem with _e_fm_op_random_char().
When wewant to randomize a string we do srand(time())
foreachcharacter, so if the file is small enough
to be deleted inless than a second, it's not randomized.
And even if it's bigger, it's not goodly randomized.Sorry.

Patch by Maxime Villard rustyBSD


SVN revision: 78469
2012-10-25 17:43:52 +00:00
Mike Blumenkrantz c31c8e2a0b revert attempt to fix PrinceAMD's mess
SVN revision: 78449
2012-10-25 12:19:29 +00:00
Carsten Haitzler e00d110a4b lets emit a signal to dialog to know if icon is there or not so it can
more sensibly lay itself out :)



SVN revision: 78446
2012-10-25 11:40:40 +00:00
Mike Blumenkrantz 48524c6cbe fix screen limit border drag thingy
ticket #1680


SVN revision: 78441
2012-10-25 10:55:32 +00:00
Mike Blumenkrantz 3dcddf8e29 update filepreview when file is changed
ticket #1666


SVN revision: 78440
2012-10-25 10:55:03 +00:00
Mike Blumenkrantz 33ed9e3699 add alignment states for dialog text and use left align for text preview
ticket #1655


SVN revision: 78438
2012-10-25 09:59:49 +00:00
Mike Blumenkrantz dffa617793 ctrl+shift drag in efm now also invokes ASK state
SVN revision: 78429
2012-10-25 09:19:17 +00:00
Mike Blumenkrantz bf11ffc2e7 fix efm file position moving in same directory
SVN revision: 78427
2012-10-25 08:54:50 +00:00
Mike Blumenkrantz ce6d2534cc desklock popup now sets its own title and class
ticket #1653


SVN revision: 78423
2012-10-25 07:54:51 +00:00
Mike Blumenkrantz 04d594af98 wherever cedric commits, b0rks will follow
SVN revision: 78422
2012-10-25 07:53:38 +00:00
Mike Blumenkrantz 10903ffc60 formatting
SVN revision: 78421
2012-10-25 07:47:26 +00:00
Mike Blumenkrantz ebef167dab improve shelf gadget dragging
ticket #1658


SVN revision: 78420
2012-10-25 07:37:53 +00:00
Cedric BAIL 1d2b6034b0 e: don't drop cache if icon is animated.
We want to use the scale cache and drop the source icon
for all static icon on screen. But for the few of them that
do resize and animate, we need to keep that data or it will
slow a us down a lot. So now we play nicely with our SCALE_HINT.


SVN revision: 78419
2012-10-25 07:28:24 +00:00
Stefan Schmidt 338a0e2d65 e17: Remove unused variable
SVN revision: 78410
2012-10-24 19:50:35 +00:00
Carsten Haitzler 595ddfd3c9 fix emit of maximize signal handling for border maximization when not
a fullscreen one.



SVN revision: 78394
2012-10-24 09:48:34 +00:00
Carsten Haitzler 6ce5bb59ef gaaaarh! long standing shelf bug - dont emit signal to right obvject
for orientation of shelf gadget frame! fix!



SVN revision: 78368
2012-10-23 14:20:19 +00:00
Cedric BAIL 0f87c35a7b e: add a tool to gather statistic.
NOTE: The goal of this tool is to gather statistic about
our user base so we could know what to improve and optimize
in the futur. We don't gather personnal information only
hardware and software configuration, so we know more about
the real use of Enlightenment.

At the moment this tool is not uploading anything on a website
nor is it ready at all. I am just pushing it early so that
people using other OS than Linux, can contribute to it. If that
tool is ready for the release, we will use the gathered statistic
for all our futur plan. If your OS is not in, we will basically
not see it and so not take it into account. That's why I highly
encourage those using E on other OS to contribute to this tool.



SVN revision: 78247
2012-10-19 11:10:28 +00:00
Mike Blumenkrantz 04c72fa6a1 remove zone move/resize handler for shelf, triggers crazy autohide behavior
also fixes ticket #1644


SVN revision: 78174
2012-10-18 09:14:13 +00:00
Mike Blumenkrantz fb4d32599d fix dnd into favorites views
ticket #1638


SVN revision: 78158
2012-10-18 08:07:17 +00:00
Mike Blumenkrantz 46d2653dbc e dnd xds handler now passes type string param as well as data
SVN revision: 78157
2012-10-18 08:04:03 +00:00
Mike Blumenkrantz 57d8dd8f9b fix cross-device cut+paste
ticket #1638


SVN revision: 78154
2012-10-18 07:55:34 +00:00
Mike Blumenkrantz bc52fd4269 remove unnecessary variable, fix file pasting with blank clipboard to not hammer the efm daemon
SVN revision: 78153
2012-10-18 07:51:18 +00:00
Mike Blumenkrantz 23f35193cf fix shelf crash from ticket #1635
SVN revision: 78152
2012-10-18 07:39:02 +00:00
Mike Blumenkrantz 68270ed5e8 uchar -> Eina_Bool
SVN revision: 78150
2012-10-18 07:28:12 +00:00
Cedric BAIL 0c356af7e2 e: make it less anoying. Now E17 also remember you tainted it.
SVN revision: 78148
2012-10-18 06:26:57 +00:00
Carsten Haitzler 90b6406b04 add module whitelist with complaints about modules that are not e's
set. after yet more repords of bugs from modules not in core.



SVN revision: 78045
2012-10-16 10:42:01 +00:00
Carsten Haitzler a192bd1e1a lets just make buf 4096 to ensure it can hold enough of a nutty path
if it needs to.



SVN revision: 78004
2012-10-15 15:45:01 +00:00
Carsten Haitzler 53ad992c31 pointed out by Igor Murzov - fixed backlight thing, gadcon is cleaner.
SVN revision: 77980
2012-10-15 07:05:00 +00:00
Cedric BAIL 76dc9409d5 e: prevent infinite call loop. If someone has a better fix than me, you are welcome.
SVN revision: 77975
2012-10-15 06:25:26 +00:00
Eric Schuele 2d173a6ae2 Much more appropriate fix for TRAC#1222.
SVN revision: 77960
2012-10-13 20:38:49 +00:00
Christopher Michael d421af2a0b E: Really no need to fetch Container here (just to fetch the current
zone). Use e_util_zone_current_get.

Add missing parens around eina_list_data_get.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77938
2012-10-12 13:49:19 +00:00
Christopher Michael 5b03a2bf37 E: Remove extra call to eina_list_data_get. Not really needed as we
make the call above to get the list data anyway.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77937
2012-10-12 13:38:35 +00:00
Eric Schuele 46870c46b5 TRAC#1222 Resolve sticky windows not offering resistance on window_push for desktops other than that which they belong.
SVN revision: 77927
2012-10-12 01:21:24 +00:00
Mike Blumenkrantz 6134584e47 formatting for seb
SVN revision: 77880
2012-10-11 13:23:14 +00:00
Mike Blumenkrantz c094541aef patch from PrinceAMD which adds config options to warp lost windows back to center screen when enabled
video: http://dl.dropbox.com/u/7371269/lost_window_feature_2.ogv


SVN revision: 77878
2012-10-11 12:53:15 +00:00
Mike Blumenkrantz e92d150180 shelves now watch for zone move/resize events and check their locations upon any changes to ensure that they don't move off screen with the randr dialog. note that this will also cause shelves to re-hide themselves when toggling autohide
SVN revision: 77875
2012-10-11 12:49:13 +00:00
Mike Blumenkrantz 455b878e70 some optimizations for e_box_item_at_xy_get
SVN revision: 77864
2012-10-11 12:27:13 +00:00
Mike Blumenkrantz 37ce2b80ef enable dnd for toolbars
SVN revision: 77863
2012-10-11 11:54:40 +00:00
Mike Blumenkrantz 512c561ca8 fix dnd for toolbar gadcons
SVN revision: 77862
2012-10-11 11:53:04 +00:00
Mike McCormack 90e5189ca4 e: Fix warning
Signed-off-by: Mike McCormack <mikem@atratus.org>

SVN revision: 77861
2012-10-11 11:22:58 +00:00
Mike Blumenkrantz a978a17ddd efm string functions are now EAPI util functions
SVN revision: 77860
2012-10-11 10:19:03 +00:00
Mike Blumenkrantz ac722b9145 expose efm move/copy/link functions
SVN revision: 77859
2012-10-11 10:12:16 +00:00
Mike Blumenkrantz d4aabc7dbf make e_fm2_drop_menu an EAPI and further clean up drop menu code
SVN revision: 77858
2012-10-11 09:57:55 +00:00
Mike Blumenkrantz eaac4857d5 improve some extremely crufty efm dnd menu code
SVN revision: 77857
2012-10-11 09:43:54 +00:00
Mike Blumenkrantz 1e94e79e2c remove some efm symlink cruft
SVN revision: 77856
2012-10-11 09:34:53 +00:00
Mike Blumenkrantz dcc5be6e3e _e_fm2_uri_path_list_get is now e_fm2_uri_path_list_get with EAPI
SVN revision: 77855
2012-10-11 08:42:19 +00:00
Mike Blumenkrantz 2b9b6eeb79 add box function for returning the child at a point inside the box
SVN revision: 77850
2012-10-11 08:07:01 +00:00
Mike Blumenkrantz 04cc83c4e5 add menu item to enable shelf autohiding
SVN revision: 77848
2012-10-11 07:56:16 +00:00
Mike Blumenkrantz 28319d410b box also now uses inlists
SVN revision: 77847
2012-10-11 07:28:44 +00:00
Mike Blumenkrantz 3aa882684f e_box now keeps its child list by box item data, also stores item geometry to trivially reduce overhead in box reconfiguring and allow me to continue my dastardly plan of implementing ticket #1603
SVN revision: 77846
2012-10-11 06:57:23 +00:00
Mike Blumenkrantz 4e3677932a add getter for efm drop object
SVN revision: 77758
2012-10-10 12:47:04 +00:00
Mike Blumenkrantz 0bf84a49b0 fix hard to trigger threaded menu crash
SVN revision: 77755
2012-10-10 12:09:35 +00:00
Carsten Haitzler bdf8471cd5 try not do anything with screensaver interval except setting it to 0
SVN revision: 77748
2012-10-10 10:40:21 +00:00
Mike Blumenkrantz 5e4ccca27b fix e randr code to not block randr update events from other listeners and to properly delete poller on failure
SVN revision: 77739
2012-10-10 09:42:05 +00:00
Mike Blumenkrantz b8677593fc remove all LD_LIBRARY_PATH shenanigans from e17
ticket #1542


SVN revision: 77735
2012-10-10 09:27:24 +00:00
Mike Blumenkrantz e32b918e43 send xkb update event any time e_xkb_update() is called with a real value
SVN revision: 77728
2012-10-10 09:06:21 +00:00
Mike Blumenkrantz 5923846e24 remove e17 preload/precache hacks
SVN revision: 77705
2012-10-10 07:39:08 +00:00
Mike Blumenkrantz 1cdf725b70 formatting
SVN revision: 77704
2012-10-10 07:31:26 +00:00
Mike Blumenkrantz c5e5f1e5fb set config (min) limit for move/resize windows with keyboard
SVN revision: 77701
2012-10-10 07:18:03 +00:00
Mike Blumenkrantz 55899b0917 don't set border kbd move timeout timer if there's no timeout set, also ensure that kbd moving moves at least 1px when moving
ticket #1480


SVN revision: 77700
2012-10-10 07:11:29 +00:00
Sebastian Dransfeld 0a24d3194d e: remove unused variables
SVN revision: 77625
2012-10-09 08:40:14 +00:00
Sebastian Dransfeld 9b436d3c26 e: if 0 to disable code
SVN revision: 77624
2012-10-09 08:28:18 +00:00
Mike Blumenkrantz 5f4f3c2cb4 e finally remembers the module config dialog and reopens it on restart
SVN revision: 77563
2012-10-08 07:36:17 +00:00
Mike Blumenkrantz 7a3eb421ff spellcheck hooooooooooooooooooooooo
SVN revision: 77562
2012-10-08 06:59:58 +00:00
Carsten Haitzler 35773a3241 add config for disabling delayed modules. this actually drastically
speeds up e startup - but this i mean the shelf comes up instantly
populated rather than taking 2 or 3 seconds to figure its life out.



SVN revision: 77558
2012-10-07 10:01:14 +00:00
Carsten Haitzler 7bb9376863 disable sigusr1 for config dialog - thsi is actually a race cond that
never was hit before - but e's start uses a pause() to wait for init
splash to be ready and a sigusr1 is used to do the waking up.



SVN revision: 77557
2012-10-07 10:00:24 +00:00
Sebastian Dransfeld ec752e9394 e: formatting
SVN revision: 77552
2012-10-07 06:08:56 +00:00
Mike Blumenkrantz 43fb89ddb7 gadcon "Move to" menu no longer shows the gadget's current gadcon
SVN revision: 77523
2012-10-05 10:07:22 +00:00
Mike Blumenkrantz 71f57bb52d gadcon location gadget_add callbacks now have a gadcon client param so the config can be retrieved since these callbacks are (currently) only used for changing locations of gadgets
also the related gcc param in gadget_del can now have a NULL config to signify that the gadget has been moved to a new gadcon

this means that moving a gadget to a new location will no longer cause it to lose its gadget config

ticket #1594


SVN revision: 77521
2012-10-05 09:57:34 +00:00
Mike Blumenkrantz c008654175 block mouse in/out events for iconified borders to fix case where iconifying a window using the border menu would prevent it from becoming iconified
SVN revision: 77520
2012-10-05 09:17:47 +00:00
Mike Blumenkrantz 9114d0d02a blank text previews during read
ticket #1601


SVN revision: 77516
2012-10-05 09:03:27 +00:00
Mike Blumenkrantz c2077bb6c0 add desktop menu category
SVN revision: 77515
2012-10-05 09:01:45 +00:00
Christopher Michael 0d3c51e8bc And format for 80 columns again.
SVN revision: 77504
2012-10-05 06:45:05 +00:00
Mike Blumenkrantz 46702481d6 simplify worst case shelf visibility check
SVN revision: 77503
2012-10-05 06:44:53 +00:00
Mike Blumenkrantz 832be52b04 check for shelf visibility on init before showing
ticket #1595


SVN revision: 77502
2012-10-05 06:43:44 +00:00
Mike Blumenkrantz f90abcdf4b add util function for returning current container without needing to pass manager
SVN revision: 77501
2012-10-05 06:43:13 +00:00
Mike Blumenkrantz 615f2e9137 use list handler macro
SVN revision: 77500
2012-10-05 06:36:00 +00:00
Christopher Michael 551d84d4aa Format for 80 columns.
SVN revision: 77497
2012-10-05 06:04:34 +00:00
Sebastian Dransfeld 80b0b615b8 e: Cleanup
Fixes potential invalid memory reads.

Patch by Igor Murzov

SVN revision: 77491
2012-10-04 23:27:01 +00:00
Sebastian Dransfeld 427b6c34df e: Cleanup
Removes unused variables, drops duplicate return or break
     statements and drops unnecessary checks.

Patch by Igor Murzov

SVN revision: 77490
2012-10-04 23:26:48 +00:00
Mike Blumenkrantz 0ec2181291 also set icon for single click menu item
SVN revision: 77437
2012-10-04 13:09:14 +00:00
Mike Blumenkrantz 6abb7dee36 set icon for secure delete menu item
SVN revision: 77436
2012-10-04 13:07:14 +00:00
Mike Blumenkrantz 62ac047ebe add menu option to enable/disable secure deletion in efm when global setting is not enabled
SVN revision: 77435
2012-10-04 13:04:50 +00:00
Mike Blumenkrantz c310836bb3 add gui option for secure deletion in efm
SVN revision: 77434
2012-10-04 12:58:18 +00:00
Mike Blumenkrantz c88eda533f and the gettext
SVN revision: 77430
2012-10-04 11:52:30 +00:00
Mike Blumenkrantz 9683a3565d format string whoops
SVN revision: 77428
2012-10-04 11:50:15 +00:00
Mike Blumenkrantz b0df4fc70f move shelf visible detection code from e_desk to e_shelf
SVN revision: 77416
2012-10-04 09:53:52 +00:00
Mike Blumenkrantz ae68c2d7a9 when loading a .desktop file with fprev which is a link but NOT a link to removable media, set the link target as the new file to be previewed and update (fixes previews of .desktop files pointing to directories)
SVN revision: 77414
2012-10-04 09:15:22 +00:00
Mike Blumenkrantz 641e1f92fc fix magic fail with remember idler
SVN revision: 77413
2012-10-04 09:13:48 +00:00
Mike Blumenkrantz d2714fd77f show desktop filename in icon selection dialog
ticket #1237


SVN revision: 77411
2012-10-04 08:43:50 +00:00
Mike Blumenkrantz 4f4e5c2daa remember window restore cb is now an idler so we don't get a giant block of time where we're restoring dialogs without the user being able to do anything
SVN revision: 77410
2012-10-04 08:31:35 +00:00
Mike Blumenkrantz bdd879e7fc add new flag for preventing a window from being opened on restart by its remember, apply this to both the desktop editor and shelf config dialogs
SVN revision: 77407
2012-10-04 08:11:51 +00:00
Mike Blumenkrantz 282ac0777e fix filepreview when reusing same fprev and switching between txt and dir
SVN revision: 77406
2012-10-04 07:23:38 +00:00
Gustavo Sverzut Barbieri f683812053 fm preview: fix alignment and formatting string.
SVN revision: 77383
2012-10-03 18:40:59 +00:00
Mike Blumenkrantz 491c50d8a5 filepreview now does a partial preview of text files and shell scripts
SVN revision: 77370
2012-10-03 14:21:02 +00:00
Mike Blumenkrantz 0521c799fa next/prev xkb layout switch actions now properly set the current/selected kbd layout name
SVN revision: 77369
2012-10-03 13:46:11 +00:00
Mike Blumenkrantz 3a6943ce26 hide some file preview lines for directories
ticket #1585


SVN revision: 77366
2012-10-03 12:01:05 +00:00
Sebastian Dransfeld d9a641020c E: remove duplicate variable setting
It is set to 1 again just below.

SVN revision: 77365
2012-10-03 11:54:03 +00:00
Mike Blumenkrantz 42ff355bde use printf for this macro so we don't get log domain failures
SVN revision: 77364
2012-10-03 11:43:26 +00:00
Sebastian Dransfeld cf35adade9 E: Fix window hide
The idea of not deleting the borders of unmapped windows started with
r12777 to fix problems when changing virtual desktops. A lot of stuff
was added later to fix this problem, but this original fix has lived on.

When hunting down a mplayer bug raster commented in r14744:
"we need to re-enable the above. when clients hide windows they often
dont destory - keep around to do somethign else with. if we dont unmanage
then we have all sorts of problems believeing it still exists. bigger
problems than mplayer. :)"

So I guess the right thing to do is to destroy the borders of hidden
windows, fixes #917

SVN revision: 77363
2012-10-03 11:40:14 +00:00
Mike Blumenkrantz ac67283ec2 fix stringshare usage
SVN revision: 77360
2012-10-03 09:44:12 +00:00
Mike Blumenkrantz 3bf711b529 block going to parent directory on desktop using backspace key when desktop navigation is not enabled
SVN revision: 77359
2012-10-03 09:41:10 +00:00
Mike Blumenkrantz acdf03fecd this fixme isn't going to happen and our typebufs don't work like this
SVN revision: 77358
2012-10-03 09:23:12 +00:00
Mike Blumenkrantz 817bec21b1 prevent DND for systray gadgets in all cases
SVN revision: 77357
2012-10-03 09:19:26 +00:00
Mike Blumenkrantz b247496406 ton of xkb fixes:
* e will no longer lose your currently selected layout on restart
* desklock layout switching now works real güd
* new e_config values to determine current and current user-selected kbd layout
* wasted my entire morning doing this

ticket #1538



SVN revision: 77356
2012-10-03 09:00:12 +00:00
Stefan Schmidt 07d8a49d00 e17: Fix memory corruption in e_remember.
Inspired by Daniels ecore mem corruption patch I fixed our coccinelle support
scripts. This one was found by bad-alloc.cocci for example.

SVN revision: 77353
2012-10-03 08:45:40 +00:00
Sebastian Dransfeld cd7260094e e: remove trailing whitespace
SVN revision: 77350
2012-10-03 08:03:50 +00:00
Sebastian Dransfeld 6b479fae34 e: No need for was_fullscreen anymore
Fixed the issue with unfullscreen on desk change, and fullscreen on
focus is confusing.

SVN revision: 77349
2012-10-03 08:03:39 +00:00
Sebastian Dransfeld 5c97097053 e: Move variables to correct scope
SVN revision: 77348
2012-10-03 08:03:28 +00:00
Sebastian Dransfeld 32dc338e1a e: move check for border on desk
We only want to check if the border is on desk to handle
allow_above_fullscreen so move check here. Other code should always be
executed.

SVN revision: 77347
2012-10-03 08:03:17 +00:00
Sebastian Dransfeld 7cc4d1e501 e: Check allow_above_fullscreen earlier
SVN revision: 77346
2012-10-03 08:02:35 +00:00
Mike Blumenkrantz 4f93b748ac add max thumbnail size setting back, improve fileman config slider unit display
SVN revision: 77343
2012-10-03 06:41:32 +00:00
Mike Blumenkrantz f5dd030696 patch from rustyBSD fixing file moving to other devices
ticket #1581


SVN revision: 77342
2012-10-03 06:27:40 +00:00
Mike Blumenkrantz bec99c1d87 straggler from last commit
SVN revision: 77325
2012-10-02 14:04:38 +00:00
Mike Blumenkrantz 7aaa4e554c add another tab in desklock config to allow changing keyboard layout on desklock. EXPERIMENTAL!
ticket #1538


SVN revision: 77324
2012-10-02 14:04:04 +00:00
Sebastian Dransfeld e14715ca32 E: Adjust fullscreen layers
Always set fullscreen on top in presentation mode, ignore
allow_above_fullscreen.
Honour allow_above_fullscreen on mode change.

SVN revision: 77323
2012-10-02 13:11:46 +00:00
Sebastian Dransfeld 23c2d4ad14 e: Honour mode presentation on fullscreen set
SVN revision: 77322
2012-10-02 13:02:43 +00:00
Mike Blumenkrantz bb5380c3da add new language config dialog for setting a desklock language (NOT keyboard layout)
part of ticket #1538


SVN revision: 77321
2012-10-02 13:00:25 +00:00
Sebastian Dransfeld beb76614ac e: Adjust fullscreen stacking
Allow popups above fullscreen, unless presentation mode is set.

SVN revision: 77317
2012-10-02 12:53:38 +00:00
Mike Blumenkrantz 74909a465b formatting
SVN revision: 77313
2012-10-02 12:14:53 +00:00
Mike Blumenkrantz 42c7aa5975 avoid setting xkb variant as ',', just set as '' instead
SVN revision: 77311
2012-10-02 12:12:03 +00:00
Sebastian Dransfeld 4735da0b0c E: Revert change in layer to pos map
Seems there is a lot of code which is connected to the current mapping,
and no need to create a lot of fuzz because of one unused layer.

SVN revision: 77309
2012-10-02 12:02:02 +00:00
Mike Blumenkrantz 591a74834d video preview slider is now fully functional, and non-tooltip file previews for videos allow use of the slider to change position at any time
SVN revision: 77308
2012-10-02 11:53:00 +00:00
Mike Blumenkrantz 1b398f6a0c fix video preview slider position setting, still broken with at least ogv files
SVN revision: 77305
2012-10-02 11:46:03 +00:00
Mike Blumenkrantz 6cd52da692 only try to get resolution for thumbnails if the file is actually a loadable image
ticket #1582


SVN revision: 77301
2012-10-02 10:57:12 +00:00
Sebastian Dransfeld 744ec42648 e: Fix off by one.
pos can be 10, and we access window in pos + 1 == 11

SVN revision: 77300
2012-10-02 10:52:50 +00:00
Mike Blumenkrantz b262da0198 add video size to tooltip, fix video tooltip geometry, add a (broken because of ticket #1587) slider to show the current playback progress of the current video
SVN revision: 77299
2012-10-02 10:34:48 +00:00
Mike Blumenkrantz 9971b20cdb tweak video preview layout and attempt to set video length; currently broken because of ticket #1587
SVN revision: 77296
2012-10-02 10:03:53 +00:00
Sebastian Dransfeld 5969b88a6a e: cleanup env var setting
Return early if there is nothing to append/prepend.
Only add ':' if there are two elements to join.

SVN revision: 77295
2012-10-02 09:26:30 +00:00
Sebastian Dransfeld 436323bf59 e: cleanup layer handling
It seems people put random numbers as layers, so it is better to define
available layer numbers.

This patch also puts popups below fullscreen windows, as it sucks to get
popups during presentations. A better solution is maybe to put popups
above fullscreen, but have a presentation mode to put fullscreen windows
above popups?

SVN revision: 77293
2012-10-02 08:54:35 +00:00
Mike Blumenkrantz 2c950e2441 fix efm even/odd theming in directories with lots of files
ticket #1579


SVN revision: 77286
2012-10-02 08:31:09 +00:00
Mike Blumenkrantz 93d3c5f598 use correct format string here too
SVN revision: 77285
2012-10-02 08:05:47 +00:00
Mike Blumenkrantz ec28b54c4d greatly improve efm performance when loading large directories by reducing offscreen icon scan rate
SVN revision: 77284
2012-10-02 08:00:19 +00:00
Sebastian Dransfeld f2ac4219af e: correct layer for edge windows
Need a layer above fullscreen if fullscreen flip is to be able to work.

SVN revision: 77283
2012-10-02 07:23:27 +00:00
Mike Blumenkrantz 54d1715e58 debug printf--
SVN revision: 77272
2012-10-01 14:07:37 +00:00
Mike Blumenkrantz 4c09bb330f yet another gadget overhaul, this time fixing:
* gadget dragging over windows (ticket #1563)
* gadget dragging/resizing on the hover layer
* yet another gadget refcount bug
* lots of annoying inconsistencies when dragging around new desktop gadgets


SVN revision: 77271
2012-10-01 14:02:24 +00:00
Mike Blumenkrantz 45a916177f fix crash in e bindings from not using safe list iterator
SVN revision: 77268
2012-10-01 13:14:31 +00:00
Sebastian Dransfeld f2b9c969af e: Fix fullscreen and focus
iconifying fullscreen windows during focus change seems to be a bad
idea, as it triggers new focus events.

- Make window fullscreen
- Alt+Tab to new window
- Alt+Tab back
-> Window is still iconified
Can only get fullscreen window back by doing uniconify

Also switching desktops will result in a iconified window which the user
must hunt down (ticket #1550).

This should fix those issues.

SVN revision: 77259
2012-10-01 10:15:09 +00:00
Mike Blumenkrantz 8a7477d9a8 reflow some code
SVN revision: 77254
2012-10-01 08:54:36 +00:00
Mike Blumenkrantz 121fe0f8c7 remove some e_sys code which prevented umounting user-mounted devices when devices were not mounted as /media/$dev
SVN revision: 77252
2012-10-01 08:35:03 +00:00
Mike Blumenkrantz f810de58ff the "Slide pointer to newly-focused window" option now also slides pointer when closing a window changes focus
ticket #1551


SVN revision: 77245
2012-10-01 07:38:46 +00:00
Mike Blumenkrantz 2c53d5b46f ensure e modules end in .so before trying to open them
SVN revision: 77242
2012-10-01 07:30:06 +00:00
Vincent Torri 0f76b94fc8 E17:
some trivial changes.

I.   _e_fm_op_stdin_handler is unused, so -> removed.

II.  if we cannot malloc _e_fm_op_stdin_buffer, we
     are in big shit, so nullcheck.

III. Formatting.

IV.  if argc < 4 we quit, so we don't need to check
     if argc >= 4.

V.   removed 'ret' variables. They are useless and
     they were not in old revisions.

VI.  _e_fm_op_copy_atom always returns 1, so we don't
     need to always check and return 1.

Patch by Maxime Villard (rustyBSD)


SVN revision: 77221
2012-09-30 08:47:07 +00:00
rustyBSD 1093c09cab From: rustyBSD <rustyBSD@gmx.fr>
Subject: Re: [E-devel] E SVN: caro trunk/e/src/bin



SVN revision: 77216
2012-09-29 02:22:43 +00:00
Sebastian Dransfeld 336b70d246 e: unshade in shade direction
SVN revision: 77203
2012-09-28 12:25:30 +00:00
Sebastian Dransfeld 82f094feaa e: Apply styles to gtk application font
SVN revision: 77200
2012-09-28 12:04:34 +00:00
Sebastian Dransfeld 7c4fa48ab6 e: fix missing xcursor in e17
I discovered that at least for 1 week xcursor is not shown if it was
installed in system directory (/usr/share/icons), so i guess i will fix
a fix.

Fixes #1556

Patch by Sergei Kabanov

SVN revision: 77153
2012-09-27 13:02:18 +00:00
Carsten Haitzler dfb8541aad allow secure remove to be able to write multiple times... in theory...
but for now it's once. :)



SVN revision: 77147
2012-09-27 10:10:20 +00:00
Carsten Haitzler 17ce568685 lets "secure rm" with buffers of 64k per write and handle dangling
tail too.



SVN revision: 77146
2012-09-27 09:59:36 +00:00
Vincent Torri a7f6c22f5d E17: Added secure delete option (experimental !). Wait for discomfitor to add it to EFM conf panel
When removing a file, we store a E_FM_OP_DESTROY task,
which overwrites file with 3 passes of (~)randomized
data, and when we store a E_FM_OP_REMOVE task, to remove
the randomized file.

If it's a dir, skip E_FM_OP_DESTROY.

Patch by Maxime Villard (rustyBSD)


SVN revision: 77020
2012-09-22 18:29:03 +00:00
Vincent Torri d5e3385fd9 E17: avoid seg fault when the string passed to strlen() is NULL
Patch by Maxime Villard (rustyBSD)


SVN revision: 77016
2012-09-22 12:07:49 +00:00
Vincent Torri 7f93d7305b E17: Patch from Maxime Villard (rustyBSD)
I.
    (strncmp(p, p2, PATH_MAX) == 0) &&
    ((p[p2_len] == '/') || (p[p2_len] == '\0')))

Here we want to know if p and p2 are the same.
It's easier to do a simple 'strcmp(p, p2)', and it's
useless to check the value of p[p2_len], because if
p = p2, p[p2_len] will always be \0.

II. Check the string as for E_FM_OP_MOVE.

III. Just a simplification.
it was something like:
    if (type == E_FM_OP_COPY)
        X;
    if (type == E_FM_OP_COPY)
        Y;
    else ...

I just replaced by
    if (type == E_FM_OP_COPY)
    {
        X;
        Y;
    }
    else ...


SVN revision: 77015
2012-09-22 12:04:42 +00:00
Gustavo Sverzut Barbieri 0698d74a6a efm: have a sane click-to-rename behavior.
Delaying rename entry by 0.75s makes absolutely no sense. As well
there is no sense in always rename if you click the label and the icon
was unselected (quite common in list views).

The proper behavior is to just rename the icon if it was selected, but
ignore the initial click used to select the icon, even if on
label. This is done by remembering the time it was selected, no need
for timer.



SVN revision: 77002
2012-09-21 21:35:17 +00:00
Gustavo Sverzut Barbieri 921d88a8e0 efm preview: better expand policy for properties table fields.
the label shouldn't try to expand, just fill the space. Also align
labels to right so they are closer to the contents.



SVN revision: 76999
2012-09-21 20:53:49 +00:00