Commit Graph

113 Commits

Author SHA1 Message Date
Mike Blumenkrantz 59fa0e418d use E_BITFIELD define for bitfield struct members
on release builds this will be a bitfield, on devel builds it will make
bools a normal unsigned char for easier debugging
2017-11-07 10:39:56 -05:00
Carsten Haitzler fd8d41a2a6 e fm - fix popup to not crash by referring to possibly deleted data
fm icon info is transient because fm icons are transient. files may
get deleted, added or removed on the fly. keeping icon info around for
things like the popup is asking for tyrouble and does create  trouble.

so look it up each time based on filename string. safe!

this fixes T4716 and fixes T4798 (they are the same bug basically).
2016-10-31 18:23:08 +09:00
Yomi 0dc33a5aeb Fix misspellings in E's files.
Summary: Fix misspellings and spaces in E's files.

Reviewers: zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2676
2015-06-16 16:10:21 -04:00
Chris Michael 0a94e8ba71 enlightenment: Make E build again with EFL from git
sed -i 's/EAPI/E_API/g'

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-05-07 15:13:10 -04:00
Mike Blumenkrantz 9976e1610a add efm function for getting an editing icon 2015-04-30 16:05:55 -04:00
Mike Blumenkrantz 5ae00e6525 redo drop handlers to take an E_Object and Evas_Object
temp change to fix crashing when closing fwins with ctrl+w
2015-04-27 15:39:43 -04:00
Chidambar Zinnoury 4db7e467c7 e fileman: Remove unused parameter.
Thanks Mike!
2014-05-09 16:49:43 +02:00
Chidambar Zinnoury b4a58ad874 Bugfix: e fileman: Correct automagic window size computation.
When available width is less than minimum width, the height was computed according to the available width, but the window width was effectively the minimum width: its height was thus more than needed.

 The function now takes the minimum dimensions so that correct height and width are computed.
2014-04-21 21:54:15 +02:00
Mike Blumenkrantz 529d58a410 e_fm2_optimal_size_calc now returns a bool to indicate whether the returned size can be used 2013-05-08 08:27:54 +01:00
Mike Blumenkrantz 1199fc9807 okay, exposing icon object not such a great idea considering it gets deleted and recreated constantly
SVN revision: 81230
2012-12-18 10:12:47 +00:00
Mike Blumenkrantz d54e0dd00b add efm icon object to icon info so people can hook callbacks to it
SVN revision: 81228
2012-12-18 09:39:10 +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 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 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 4e3677932a add getter for efm drop object
SVN revision: 77758
2012-10-10 12:47:04 +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 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 1f2762db90 add efm smart callbacks for dnd events, function for getting current dnd target
SVN revision: 76587
2012-09-13 08:10:00 +00:00
Mike Blumenkrantz 2d0fc4a90b add method for disabling efm view mode items in efm widgets
SVN revision: 76389
2012-09-10 10:31:56 +00:00
Mike Blumenkrantz c15989c37f rename E_FM2_MENU_NO_NEW_DIRECTORY -> E_FM2_MENU_NO_NEW, disable New menu in sidebar
ticket #1472


SVN revision: 76382
2012-09-10 09:03:21 +00:00
Mike Blumenkrantz 75e8629ebf another user suggestion: efm sorting by mtime
SVN revision: 76164
2012-09-05 06:41:42 +00:00
Mike Blumenkrantz 1fca248c55 another user request: sorting by size in efm
SVN revision: 76124
2012-09-04 10:47:39 +00:00
Mike Blumenkrantz 93cc88b8b1 add efm option to sort files by extension
ticket #1436


SVN revision: 76014
2012-09-03 14:21:10 +00:00
Carsten Haitzler 9cc281f002 make filepreview for links and removable devices and mountpoints give
fs type, filesystem usage, size etc. etc. much more useful.



SVN revision: 75429
2012-08-19 13:28:51 +00:00
Mike Blumenkrantz ac28718562 add function for counting number of selected files
SVN revision: 75016
2012-08-08 12:29:16 +00:00
Mike Blumenkrantz d2b8ccd61a add efm option to disable click renaming
SVN revision: 75012
2012-08-08 11:55:10 +00:00
Mike Blumenkrantz dcc999599e efm config now has the no_typebuf_set option to disable typebuf directory changing
SVN revision: 74842
2012-08-03 11:00:58 +00:00
Mike Blumenkrantz 418ff1255b clear efm typebuf when something gets clicked, add external function for manually clearing typebuf
SVN revision: 74837
2012-08-03 10:32:12 +00:00
Mike Blumenkrantz 90e15a8678 move favorites setup code to efm
SVN revision: 74788
2012-08-02 07:55:41 +00:00
Mike Blumenkrantz 810b9282f5 add function for deselecting all selected icons in fm object
SVN revision: 74716
2012-08-01 08:00:21 +00:00
Mike Blumenkrantz eada1e1347 add utility function for efm to map a dev+path into an actual path
SVN revision: 74585
2012-07-30 12:29:07 +00:00
Mike Blumenkrantz 11b99c6513 fileman's "Use Single Click" option now toggles a global config option which is picked up by fileselector widgets, also added a menu item to the right click efm menu to toggle this on a case-by-case basis
ticket #663


SVN revision: 74230
2012-07-20 10:25:02 +00:00
Mike Blumenkrantz 7f6de8b710 add method for setting the efm widget overlay clip to an external clipper
SVN revision: 74164
2012-07-19 08:16:42 +00:00
Mike Blumenkrantz 091e897f64 full, working tab completion for efm widgets, also slightly decrease typebuf hide timer to 3.5s from 5.0s: this was just way too long
SVN revision: 73967
2012-07-17 10:26:05 +00:00
Mike Blumenkrantz 8d479ed3b2 add functions for selecting first/last file
SVN revision: 73955
2012-07-17 08:31:39 +00:00
Mike Blumenkrantz 06b9059148 add e_fm2_optimal_size_calc() which will attempt to calculate the optimal size for displaying an efm widget inside a bounded area
SVN revision: 73500
2012-07-09 11:43:56 +00:00
Mike Blumenkrantz 1fdc926ad9 add externally available getter for an efm widget's current view mode
SVN revision: 73490
2012-07-09 08:34:33 +00:00
Mike Blumenkrantz 3f3c8b8afc formatting
SVN revision: 73411
2012-07-06 12:30:58 +00:00
Vincent Torri c3b0637802 e17: whitespaces--
SVN revision: 72561
2012-06-21 06:19:43 +00:00
Gustavo Sverzut Barbieri 6f2213cb25 convert init/shutdown to EINTERN, move some to _update().
Do not abuse the concept of e_*_init(), make them call-once and those
that needed multiple call are renamed to e_*_update(). To make sure
convert them to EINTERN so the symbols are not exported.

Actually I guess too much is exported as EAPI while they should be
EINTERN, but that would require manual investigation, while this patch
was basically created with sed + grep.



SVN revision: 54795
2010-11-22 15:21:32 +00:00
Mike Blumenkrantz 264cedf728 fixes from JaMa for filename truncation
SVN revision: 54140
2010-11-03 23:30:52 +00:00
Mike Blumenkrantz 4fe706f09b and this is a uchar
SVN revision: 54138
2010-11-03 22:05:17 +00:00
Mike Blumenkrantz 04662b3565 complete rewrite of all includes and file splitting to completely abstract dbus out of efm
SVN revision: 53051
2010-10-05 06:33:23 +00:00
Mike Blumenkrantz 29336de90d more function protos to typedefs, add E_Fm_Cb(void *data, Evas_Object *obj, E_Menu *m, E_Fm2_Icon_Info *info) for casting
SVN revision: 53044
2010-10-05 06:32:59 +00:00
Mike Blumenkrantz 97f27a269c switch lots of efm vars to bool bitfields
SVN revision: 53042
2010-10-05 06:32:51 +00:00
Lucas De Marchi 6638a10e20 FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Christopher Michael 4461057e7a Add illume quickpanel zone fetch to border structure.
SVN revision: 46293
2010-02-19 03:21:30 +00:00
semernin 2f76dd5d99 List of changes:
1. Gadcon sities:
      -- 'E_Gadcon_Site' enum to list all available sities,
      -- added 'is_site' callback for distinguish gadcon sities,
      -- 'e_gadcon_site_is_*' helpers written to use in gadget modules,
      -- gadcon config dialogs modified to show only gadgets that appropriate
         to selected gadcon site,
      -- all gadget modules updated for using new callback.
      
      When callback is not provided in module, then gadget can be used in 
      any gadcon site.
      
   2. Filemanager:
      -- added error icon to unexisting path dialog,
      -- added callback 'func.abort' to 'E_Fm2_Op_Registry_Entry' to specify
         abort operation sequence (if not provided, then operation is not
         cancelable),
      -- added parameter to 'e_fm2_op_registry_entry_add' to specify abort
         method on construct 'E_Fm2_Op_Registry_Entry' or make non-cancelable
         operation if this function is not provided,
      -- added 'e_fm2_operation_abort' call to cancel efm2 operation,
      -- added method '_e_fm2_operation_abort_internal' that represent efm2
         default handler of operation cancelling,
      -- 'done' and 'total' fields of 'E_Fm2_Op_Registry_Entry' changed to
         off_t type, also all message handlers modified to work with it
         (to show progress for large files correctly),
      -- improved file operation progress processing,
      -- added cancel button to operation progress gadget in filemanager window,
      -- added delete file glyph to operation progress gadget,
      -- improved status message for efm2 operation progress.

   3. Filemanager slave:
      -- fixed critical bug in message handling via stdin/stdout,
      -- fixed critical bug in removing task from list,
      -- improved 'E_FM_OP_ABORT' handling,
      -- fix rollback counting on moving files.

   4. Fileman_opinfo module:
      -- a new theme writed: status string and gadget for view operation status
         in summary and detail modes,
      -- summary mode: operation glyph, state message, progressbar, abort button,
      -- detail mode: all for summary + from filename, to filename,
      -- summary/detailed button works as trigger,
      -- added source of module theme and used images.
      
   4. Pathbar module:
      -- non-critical fix, just for safety.

   Also patch contains several minor updates to serve main task.


SVN revision: 41224
2009-06-29 14:38:03 +00:00
Gustavo Sverzut Barbieri 5fb986a05b avoid unwanted clicks on touch-screen.
avoiding the un-wanted clicks with touch-screen devices (especially if
they aren't so precise); it basically allows to set a time delay to be
awaited (pressing over an icon) before sending a "selected" callback.

Thanks to this, it could be needed a longer pressure to select an item
in the file-manager; useful for embedded/touch-based systems.

By: Marco Trevisan (Treviño)



SVN revision: 41127
2009-06-20 15:49:54 +00:00