Commit Graph

6953 Commits

Author SHA1 Message Date
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
Vincent Torri 4a9dce6477 E17: gettext translation ++
patch by Maxime Villard


SVN revision: 76994
2012-09-21 19:00:28 +00:00
Carsten Haitzler 5349fd4bbb don't know about you.. but video thumbnails do work - i'm staring at
them right here. a whole window full of them. they take longer to gen
than images - but they work. evas_generic_loaders load them and gen
them if u have gstreamer support etc. sure - they are slower, but they
work. only thing we don't have is a timeout for a slow generic loader.
should add that to evas.



SVN revision: 76963
2012-09-21 12:40:36 +00:00
Mike Blumenkrantz eec8553b5f ah whoops, forgot to press play. video previews working great now
SVN revision: 76960
2012-09-21 11:11:13 +00:00
Mike Blumenkrantz c135778f5f add optional emotion support for filepreview widget. this doesn't work on my machine, I think because I have a broken vlc library so the generic player doesn't work.
CEDRIC, THIS FEATURE NEEDS YOU!


SVN revision: 76959
2012-09-21 11:10:04 +00:00
Mike Blumenkrantz ac3aadc71a check mime type for disabling file thumbnails too
SVN revision: 76958
2012-09-21 10:40:04 +00:00
Mike Blumenkrantz d436b086c9 refresh device links when new device is added
SVN revision: 76954
2012-09-21 09:55:11 +00:00
Mike Blumenkrantz eace74147d add timers to shelves which still haven't shown at module_init_end to show after 1s
SVN revision: 76953
2012-09-21 09:39:26 +00:00
Mike Blumenkrantz 5e9c699e97 efm now attempts to unmount mounted volumes on suspend
SVN revision: 76952
2012-09-21 09:33:22 +00:00
Mike Blumenkrantz 4e779975f9 rename E_LIST_HANDLERS_APPEND to E_LIST_HANDLER_APPEND, also add E_LIST_FOREACH
SVN revision: 76951
2012-09-21 09:23:07 +00:00
Mike Blumenkrantz 016445a0ab simplify EFM_SMART_CHECK
SVN revision: 76950
2012-09-21 09:20:36 +00:00
Mike Blumenkrantz 210fbb147e update FIXME at top of efm
SVN revision: 76949
2012-09-21 09:19:36 +00:00
Mike Blumenkrantz 5b385d91ca add new events for suspend/hibernate/resume
SVN revision: 76947
2012-09-21 09:16:37 +00:00
Mike Blumenkrantz da42dfa979 add shelf menu option to refresh shelf contents
SVN revision: 76936
2012-09-21 07:45:39 +00:00
Mike Blumenkrantz 6f79521d41 better autohide fix
SVN revision: 76933
2012-09-21 07:27:33 +00:00
Mike Blumenkrantz 8b12df9a4a increase shelf size when checking to see if pointer is inside to ensure autohide picks it up properly
SVN revision: 76932
2012-09-21 07:18:53 +00:00
Mike Blumenkrantz 709c740a27 add configurable max file size to generate thumbnails for, also block thumbnail generation for movie files entirely since this isn't even possible
ticket #1545


SVN revision: 76931
2012-09-21 07:08:21 +00:00
Mike Blumenkrantz 37f4478e0a add last resort fix for an extremely rare corner case in gadman which causes objects to be undeletable at this point, preventing shutdown due to an infinite loop
SVN revision: 76930
2012-09-21 06:45:11 +00:00
Mike Blumenkrantz 170c6d97c3 tweak from previous shelf draw optimizing commit: now add a handler for module init end to more accurately check gadcon populate requests so we can determine if a shelf is "empty" and then show it. fixes case where a shelf has gadgets but none are populated because the modules are all unloaded
SVN revision: 76909
2012-09-20 13:06:15 +00:00
Mike Blumenkrantz 8233970853 fix nulling of gadcon populate idler
SVN revision: 76908
2012-09-20 12:54:11 +00:00
Mike Blumenkrantz 28eabf7ef0 only block shelf drawing when shelf has none of its clients drawn, not when it has no clients
SVN revision: 76907
2012-09-20 12:35:29 +00:00
Mike Blumenkrantz 008c555ad2 fix focus bug where changing desks would not properly unset focus in all cases
ticket #1519


SVN revision: 76902
2012-09-20 09:26:04 +00:00
Mike Blumenkrantz 1adb477ad1 chuckleheads at it again with the pointer sliding on sloppy focus
ticket #1540


SVN revision: 76896
2012-09-20 09:06:28 +00:00
Mike Blumenkrantz 523597cdcb create default apps menu on init, don't free efreet menus on shutdown to prevent race condition triggered by people with superhuman menu navigation abilities
SVN revision: 76895
2012-09-20 08:57:36 +00:00
Mike Blumenkrantz 5e0b6fd200 reorder shelf startup slightly, add gadcon populate event, only show created shelf after it's been populated, populate gadcons incrementally instead of all at once
this commit reduces my startup time by 0.5-1.0 seconds on average when using two shelves


SVN revision: 76894
2012-09-20 08:44:30 +00:00
Mike Blumenkrantz b4e713d4b7 unify ilist item creation
SVN revision: 76887
2012-09-20 07:21:36 +00:00
Mike Blumenkrantz 4c7010aba0 switch order of desklock wallpaper finding when desklock is set to use "current desktop's wallpaper" so that it uses the default wallpaper AFTER checking if there's a custom one set for the current desk
SVN revision: 76885
2012-09-20 06:57:33 +00:00
Carsten Haitzler 07afc25add add send of sigchld to apps e things are efl apps to wake them up if
they are sleep()ing :)



SVN revision: 76877
2012-09-19 23:50:27 +00:00
Mike Blumenkrantz 19566b810f fix bug where desklock background would not be correctly set when using "current desk's wallpaper" setting
SVN revision: 76867
2012-09-19 13:51:19 +00:00
Mike Blumenkrantz 913e0493f7 register and unregister desklock backgrounds on init/shutdown
SVN revision: 76864
2012-09-19 13:31:35 +00:00
Mike Blumenkrantz 3742212f98 move desklock bg enum to desklock header
SVN revision: 76863
2012-09-19 13:22:45 +00:00
Mike Blumenkrantz 33b4036d91 check for file:// when adding to .order file to ensure efreet desktop creation succeeds; fixes dnd with ibar
SVN revision: 76860
2012-09-19 12:58:01 +00:00
Mike Blumenkrantz 26ec69b213 formatting
SVN revision: 76859
2012-09-19 12:54:08 +00:00
Mike Blumenkrantz 07cec2cf57 null check before previewing mount points
SVN revision: 76854
2012-09-19 12:37:48 +00:00
Mike Blumenkrantz 9e9745812b with the joint debugging efforts of devilhorns, efm tooltips now receive proper hiding events and don't hang around when switching desktops
SVN revision: 76853
2012-09-19 12:16:33 +00:00
Mike Blumenkrantz c9c90db86b remove confusing and nonexistent struct typedef
SVN revision: 76851
2012-09-19 10:34:19 +00:00
Mike Blumenkrantz cf3e5f811f reset app menu cache every time a successful lookup occurs
SVN revision: 76850
2012-09-19 10:22:33 +00:00
Mike Blumenkrantz 52c94bac89 app menus now generate themselves (top-most menu anyway) in threads to eliminate annoying stutter when scrolling through main menu
SVN revision: 76849
2012-09-19 10:15:03 +00:00
Mike Blumenkrantz 491c03fcfe prevent menus without any items from realizing at all
SVN revision: 76848
2012-09-19 10:05:41 +00:00
Mike Blumenkrantz 9574de56de fix stringshare usage in menu items
SVN revision: 76846
2012-09-19 07:20:26 +00:00
Mike Blumenkrantz 0baad3fe70 simplify extension checking
SVN revision: 76845
2012-09-19 07:16:54 +00:00
Mike Blumenkrantz 295798af41 e's xsettings now prepends ~/.icons to XCURSOR_PATH if this directory exists to (hopefully) prevent ticket #1103 from resurfacing
SVN revision: 76844
2012-09-19 06:58:50 +00:00
Mike Blumenkrantz ad7cd0677e formatting
SVN revision: 76842
2012-09-19 06:44:39 +00:00
Mike Blumenkrantz 0472fcd1ba don't fail custom ilist setting if base ilist doesn't exist, this is a stupid theme anyway
SVN revision: 76819
2012-09-18 13:55:31 +00:00
Mike Blumenkrantz 053c02b070 ignore the completed flag on dnd-finished events since this (SHOULD be) always true; fixes bug where windows could be stuck in a never-ending drag and no longer respond to user input
SVN revision: 76818
2012-09-18 13:20:11 +00:00
Christopher Michael 13615eaba8 E: Fix up ilist_custom_edje set to properly set theme for scrollframe
also.



SVN revision: 76815
2012-09-18 12:52:38 +00:00
Mike Blumenkrantz cbb742a7cc patch from Sergei Kabanov to fix possible crash in efm with udisks/hal backends
ticket #1529


SVN revision: 76814
2012-09-18 12:16:16 +00:00
Mike Blumenkrantz c162da2523 fix annoying warning
SVN revision: 76813
2012-09-18 11:55:59 +00:00
Mike Blumenkrantz b041db3c1a make this operate the same but be slightly less confusing
SVN revision: 76812
2012-09-18 11:54:38 +00:00
Mike Blumenkrantz bd8545dafd test for path length accurately here
SVN revision: 76810
2012-09-18 11:51:27 +00:00
Mike Blumenkrantz 03a578abae initialize variable
SVN revision: 76808
2012-09-18 11:44:24 +00:00
Mike Blumenkrantz ea61755d98 fix a bunch of questionably valid null derefs from clang
SVN revision: 76807
2012-09-18 11:42:44 +00:00
Doyoun Kang f9b872ab6a From: Doyoun Kang <doyoun.kang@samsung.com>
Subject: [E-devel] [Patch][e] add code to handle the floating mode

I added code to handles the floating mode in e. 
I added the structure for floating mode in E_Border structure. If an
application sets the floating mode using elm_win_floating_mode_set(),
e gets this event - ECORE_X_EVENT_WINDOW_PROPERTY (atom:
ECORE_X_ATOM_E_ILLUME_WINDOW_STATE) - and sets floating mode
information to added structure in E_Border.



SVN revision: 76806
2012-09-18 11:41:55 +00:00