Commit Graph

23 Commits

Author SHA1 Message Date
Davide Andreoli 44883d6cf0 * e_fm_op_registry : rename duration to eta
* e_fm_op : report sizes (done and total) now refer to the whole task, not the single file
 * e_fwin : better operation monitor label (and add a delay on delete)



SVN revision: 39787
2009-03-29 00:26:43 +00:00
Gustavo Sverzut Barbieri 15b8d85967 e_fm_op: fix simpe operations report.
SVN revision: 39549
2009-03-18 14:07:34 +00:00
Gustavo Sverzut Barbieri e636f913c5 e_fm_op: cleanup and fix memory leaks.
* reduce variable scope to avoid bugs.

 * add missing free(d)

 * move invariant snprintf() out of loop



SVN revision: 39548
2009-03-18 14:06:22 +00:00
Gustavo Sverzut Barbieri 92cab40cda add filemanager operation registry.
This huge commit will add e_fm2_op_registry, a central place that will
store all on-going operations. You will find that it will report when
operations are added, remove and when they change, for example when
they change progress.

Please notice that the recommended way to present information is to
add listener to specific entries, as opposed to use
E_EVENT_FM_OP_REGISTRY_CHANGED since it will be called immediately and
you do not have to filter which entry is being changed.

Entries will be associated with the e_fm object that originated
it. With that one can get the Ecore_X_Window and request the window to
be raised from somewhere else (ie: gadman/gadget). If object is
deleted (ie: window is closed), the pointer will be made NULL and it
will be a "windowless operation".

TO DO (I need someone to do those):

  - e_fwin: windows should present on-going operations as an overlay,
    Dave Andreolli already started such work, it's just a matter of
    using the new infrastructure.

  - create a new gadget that present all on-going operations and maybe
    a history. It would be nice to show the e_fwin of if the entry is
    clicked, as well as a cancel button and a progress bar. See
    "places" module, make them similar.




SVN revision: 39541
2009-03-18 01:33:06 +00:00
Gustavo Sverzut Barbieri b0c84e2215 Fix problems reported by clang.
By: Luis Felipe Strano Moraes



SVN revision: 39263
2009-02-26 22:47:20 +00:00
Gustavo Sverzut Barbieri 59cde6a762 fm: handle symbolic links.
Symbolic links are handled similar to "paste". If you "Copy" you'll
get the "Link" menu item that will create a symbolic link instead of
real copying the file.

Drag and Drop works similarly, use "Alt" in order to get a popup and
select "Link" there.

Toma: we do miss icons for it!

Mekius & Ptomaine: please review as I'm not that familiar with e_fm_op.c



SVN revision: 39170
2009-02-24 05:22:14 +00:00
Gustavo Sverzut Barbieri 78c70d7f94 fix sting bugs with e_fm and fileman.
* simplify eina_stringshare usage with _eina_stringshare_replace();
 * do not modify the string in stringshare as in e_fm2_parent_go();
 * use custom_theme_content instead of custom_theme in e_fm2_custom_theme_content_set().

Hopefully this will break nothing, but further analysis if it's
leaking strings in the stringshare should be done.



SVN revision: 38559
2009-01-12 19:52:35 +00:00
Christopher Michael 74841f4441 Formatting fixes. Still a lot more here to fix :(
SVN revision: 37753
2008-11-22 21:39:35 +00:00
Nicholas Hughart 5355946552 Fix a bug that was deleting a directory when you moved it into itself.
SVN revision: 37743
2008-11-22 08:48:36 +00:00
Christopher Michael 25102ccbcb Fix lots of nasty formatting problems & remove whitespace.
SVN revision: 37667
2008-11-15 19:44:31 +00:00
Sebastian Dransfeld ab62c5ccf1 Fix if formatting.
SVN revision: 37207
2008-10-27 07:34:22 +00:00
Sebastian Dransfeld caa810894e Fix print formatting
SVN revision: 37205
2008-10-27 07:33:59 +00:00
Cedric BAIL 1087de2397 Remove Evas list and replace them with Eina list.
No change for ->next and ->data access right now, as the patch is already
big enough.



SVN revision: 36962
2008-10-22 11:49:33 +00:00
ptomaine 32d4a6fcb5 EFM: fix slave process from segfaulting.
SVN revision: 36759
2008-10-17 15:30:32 +00:00
Cedric BAIL 3d6749983b Switch to eina_stringshare.
This could also change the usage of string share in E17.



SVN revision: 36679
2008-10-15 15:12:56 +00:00
ptomaine d76e4749de EFM: try to fix a problem with large files on 32-bit systems.
SVN revision: 36286
2008-09-28 10:25:14 +00:00
ptomaine 4a68e74291 Do not quit if we're waiting for an error response.
SVN revision: 36251
2008-09-25 12:52:25 +00:00
ptomaine 6a7be50f33 Make e_fm_op.h look like other headers.
SVN revision: 36180
2008-09-23 11:27:34 +00:00
Sebastian Dransfeld 8467896cf1 include limits.h for PATH_MAX
SVN revision: 35450
2008-08-12 19:04:01 +00:00
Nicholas Hughart e177bb663f Patches from ptomaine.
* Fix for URI escpaing.
 * Add the ability for EFM to recognize different drop actions from other FMs.  The reverse soon to come :)
 * Add option to disable HAL device icons on the desktop.
 * Performing an operation on multiple files will now be done in a single slave process instead of many.

 More to come before and after GSOC :)  If you see him in the channel, give him a high five because he's finally helped pull EFM out of the crapper :P


SVN revision: 35432
2008-08-11 02:13:22 +00:00
Carsten Haitzler 7a0153e3e6 gusev's mkdir/ls patches.
SVN revision: 35229
2008-07-26 13:15:57 +00:00
Sebastian Dransfeld b66b3d7d90 formatting
SVN revision: 35223
2008-07-25 21:32:28 +00:00
Nicholas Hughart 634f26b04f New efm_op stuff from ptomaine. Test it out, try many different cases of copying/moving/removing etc. Right now progress for operations is just printed on STDOUT, but this will hopefully change soon (Something I've started already). If you find any bugs, send them to the list and/or notify ptomaine and/or myself. If someone wants to be a formatting nazi go ahead and check the formatting, I gave it a quick scan and it seemed close. More to come :)
SVN revision: 35178
2008-07-21 04:12:39 +00:00