Commit Graph

65 Commits

Author SHA1 Message Date
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 2af9f44b4f efm2 hal handling API - full changes.
1. Added E_FM_OP_EJECT command to e_fm_main. It unmounts volume
   before eject, if it necessary.
2. Added timeouts of mounting/unmounting/ejecting media, and
   it's moved to slave e_fm_main.c. Each timeout will generate
   *_MOUNT_ERROR, *_UNMOUNT_ERROR and *_EJECT_ERROR message.
3. Added auto mount on insert media and auto showing efm2 window
   on mount volume options to filemanager config.
4. Added mounted/unmounted glyphs to efm2 icons and track state
   code. Now each removable device have "M" glyph on icon if mounted
   and "U" when unmounted.
5. Added mount/unmount/eject commands to icon dropdown menu.
6. Russian translation of mew messages.
7. Other bugfixes and improvements for co-operation.

Now, efm2 contains all code to mount/umnount/eject removable media and
all code to provide corresponding user interface.
It can working independently from 'places' or co-operate with it.

By: Sergey Semernin



SVN revision: 40928
2009-06-07 00:00:41 +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
Davide Andreoli 3200fe1b84 Better use of label and icon for volumes, now everyone (inside e)
can use the same label and the same icon.

Atm the icons in the menu are taken from efreet and thus from
your icon theme...maybe icons found in the E17 theme should
override the system one?



SVN revision: 39337
2009-03-03 01:04:09 +00:00
Cedric BAIL db419867dd * estickies,
* etk,
	* PROTO/exalt,
	* E-MODULES-EXTRA/diskio,
	* E-MODULES-EXTRA/drawer,
	* E-MODULES-EXTRA/penguins,
	* E-MODULES-EXTRA/slideshow,
	* E-MODULES-EXTRA/mail,
	* E-MODULES-EXTRA/forecasts,
	* E-MODULES-EXTRA/iiirk,
	* E-MODULES-EXTRA/places,
	* e,
	* ewl,
	* ecore,
	* elitaire,
	* entrance,
	* e_dbus,
	* efreet: Here we go, move from Ecore_List to Eina_List.

	NOTE: This patch is huge, I did test it a lot, and I hope nothing is
	broken. But if you think something change after this commit, please
	contact me ASAP.


SVN revision: 39200
2009-02-25 11:03:47 +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
Carsten Haitzler 5a86551e76 fix things that broke after utils moved to lib/e/subdir
SVN revision: 38418
2009-01-02 11:19:06 +00:00
Carsten Haitzler 0c41ae041e move internal binaries to subdir - patch from albin
SVN revision: 38414
2009-01-02 01:08:14 +00:00
Cedric BAIL 773d102291 This commit is huge. I did test it a lot on my computer, and it run fine here.
But is so big i fear i could have broken some piece of code. So report any wrong
behaviour to me (cedric on #edevelop).

So moving e17 and efreet to eina_hash. With a little efreet API break so they
must come together.


SVN revision: 38185
2008-12-17 15:33:43 +00:00
Chidambar Zinnoury 773ebeaca6 Seggie-- when trying to remove a non-existant task (eg. when mounting, no task is created).
SVN revision: 37670
2008-11-16 11:53:02 +00:00
Carsten Haitzler f35d682414 leak--!
SVN revision: 37645
2008-11-15 01:26:20 +00:00
Carsten Haitzler 75a9bb7367 edbus is now.. required. no point making it optional anymore.
SVN revision: 37255
2008-10-27 22:52:49 +00:00
Sebastian Dransfeld 950019a223 Fix while formatting.
SVN revision: 37209
2008-10-27 07:34:45 +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
Sebastian Dransfeld 4c36506ab1 Remove unused variables.
SVN revision: 37204
2008-10-27 07:33:45 +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
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
Carsten Haitzler b370f8315f remove/comment out printfs and remove fixme (to be removed) fake mouse up funcs
SVN revision: 36229
2008-09-25 01:34:39 +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 4ab59bacc7 - Add e_prefix.h for e_prefix_bin_get()
- Formatting


SVN revision: 35469
2008-08-13 18:56:09 +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
Davide Andreoli 64a3388ba9 DEBUG is not defined
SVN revision: 35186
2008-07-22 23:32:00 +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
Carsten Haitzler b70f5a0ecc e:
1. configure/build changes to allow cross-compiling painlessly
2. pager module namespace changes - this was still dirty afdter the namespace
cleanup, so clean it up
3. add a powersave subsystem - doesnt have an "automatic" way to turn on and
off right now, this i think is best provided by modules (that do things like
monitor acpi status's (eg close lid of laptop), AC power status etc. etc.
this allows e to nicely defer "power" expensive actions to avoid disk
spinups etc.
4. move to use the new ecore poller system  - discussed long ago as part of
power management/saving issues. now it exists
5. add a canvas idle flush call that helsp cope with the new shm greedy
software x11 engine stuff
6. use the new powersave subsystem where appropriate
7. fix non-zeroed/initted memory access in e_fm_main
8. fix mem leak for e menus
9. remove ipc handlers for changed/removed config values
10. use animaotr not timer for menu scrolls - then menu scrolls obey the fps
config
11. fix up timer/poll happienss of cursor idle stuff
12. remove avoid damage from popups for now - causing problems
13. change battery and temp readouts to b e shorter so they fit
14. pager can emit signals on focus change for mini-windows now
15. temperature module now uses a slave process and uses stdin/out to talk to
it and get output - this makes e smoother as in my expereicne i found getting
the temp on my laptop actually took like 200ms so e "hang" for 200ms while
reading the acpi files - so now the subprocess does it and just writesa back
to e when it gets it.

ecore:
1. add ecore_pollers. see the documentation on them in doxygen comments :)
2. fix timers to only go off when they have to - bug there that made e's
select time out a LOT more than it needed to. defensive coding hid the
problem. now fixed. e should be much more power friendly now.
3. formatting/niceness in ecore_exe stuff
4. some comments on comments with SIGIO ideas vs. select
5. add call to be able to add an idle enterer at the start of the list of
them, not just the end (as has been the default)
6. fix ecore_evas to support auto evas idler calls after 0.5 secs of idle in
all canvases - and to do it right
7. if argb destination - set the shape EVENT shape (to mask out events in
transparent regions much like shape does withotu translucency)
8. in ecore_x add support for the event shape

evas:
1. fix cache to work properly and not just always fill up (as it seemed to
like to think cahce useage dropped below 0 when it didnt and thus just
over-fill)
2. software x11 engine now ONLY uses shm segments - no ximages over the
socket. this ximage hack was there to avoid the 2 round trips involved in
setting up an shm image - now i mitigated that wih an shm image cache pool.
it keeps shm images around and repurposes them for new update regions if
appropriate. this means many fewer shm creates (about 1/100th the number) and
since we recycle the memory less 0 memory page filling by the kernel - in the
end, i recorded about a 10-20% speedup over the old software x11 engine.
simple tests i have seen up to 120% speedups. idle flush now does something -
it frees all the cached shm segments. it has a hard-coded limit of 4mb worth
of shm segments (or 32 segments - whichever comes first) to keep around. once
can never complain much about speedups methinks :). also evas will defer sync
until the NEXT frame is written - this means evas can calculate the next
frame of data while x dma's/copies the images to the screen at the same time
(if you hve a dual core or multi-cpu machnike or your xserver is able to use
DMA to copy image data to the screen/video ram then this should see a decent
speedup).


SVN revision: 33448
2008-01-11 07:33:57 +00:00
Sebastian Dransfeld 1c8571d3ae Even though we have e_dbus support, it isn't sure that we get a dbus
connection.


SVN revision: 32860
2007-11-24 13:23:35 +00:00
Sebastian Dransfeld 82060a3ead No need to have both unref and close, only creates ambiguity.
SVN revision: 32859
2007-11-24 13:22:03 +00:00
Sebastian Dransfeld 437b0f36de Use %p when printing pointers.
SVN revision: 32402
2007-11-06 07:14:24 +00:00
Sebastian Dransfeld b8cd2447aa Fix warnings.
SVN revision: 32266
2007-10-31 19:56:59 +00:00
Carsten Haitzler 91b0dbc6fc lok's patches for hal support. works a bit better now - removable devs are
mounted as the user and it monitors other mount work by other apps etc. etc.
some fixes to remove segv's and at least make mt cd/dvd drive recognised asa
storage device, but it seesm as of now mounting of cd/dvd media doesn't work :(


SVN revision: 32141
2007-10-22 07:38:25 +00:00
Christopher Michael 4ba051b3ed Check return values of mkpath for failure. If these do fail then trashing
will not work.


SVN revision: 32038
2007-10-10 19:37:34 +00:00
Christopher Michael d46f266dcc Use mkpath, thanks Seb :)
SVN revision: 32036
2007-10-10 19:04:55 +00:00
Christopher Michael 7acb2dc42d Add FDO spec compliant trash implimentation.
Not actually called from anywhere just yet, committing for potential review.


SVN revision: 32035
2007-10-10 17:54:04 +00:00
Carsten Haitzler 6b23fae2f8 revert lok's patch - gettign segv's and mount success/failure is not working.
SVN revision: 31951
2007-10-03 17:19:17 +00:00
Carsten Haitzler 055b45c306 lok's patch for handling tracking of mounts better.
SVN revision: 31950
2007-10-03 16:46:29 +00:00
Carsten Haitzler 73801f3455 was playing with user muounting - still no work.
SVN revision: 31736
2007-09-16 03:05:44 +00:00
Carsten Haitzler 6372896d9d adjust todo - working on fm_main - can't seem to get hal to mount removable
devices with uid=X (X == the users uid) so the user can modify their
removable devices.


SVN revision: 31188
2007-08-05 23:30:40 +00:00
Peter Wehrfritz a6553c1a58 *API BREAK* see the discussion in the mailing list. misc and e_modules will follow
SVN revision: 30970
2007-07-25 17:01:04 +00:00
rephorm a8f3c6a4aa its not guaranteed that storage devices will have UDI's beginning with 'storage', nor does it make sense to query those that do for capability 'volume'.
check all devices for both capabilities


SVN revision: 30774
2007-07-12 02:20:51 +00:00
kiwi 5e8a55ff99 fix potential segfaults if dbus is not working
SVN revision: 30575
2007-07-03 15:35:14 +00:00
rephorm 97ac0640ae not all storage devices have serial based udi's
SVN revision: 30361
2007-06-17 04:00:53 +00:00
Carsten Haitzler 829b4c3804 missing #ifdefs for e_dbus
SVN revision: 30354
2007-06-17 02:22:28 +00:00
Carsten Haitzler 39872b5a52 hmm- hal insists on mounting as root, not user. i wonder why. options to
hal's mount method just end up failing.


SVN revision: 30348
2007-06-16 16:51:40 +00:00
Carsten Haitzler a4dab7ebed lots of debugging - but most of all - removable device support now uses
e_dbus (optional if you built it) and uses dbus for mount, unmount dev and
volume detection, creates icons and changes their state etc. and automounts
on double-click of volume etc. may have bugs. pants on.


SVN revision: 30346
2007-06-16 16:18:45 +00:00
Eric Schuele c684c90d27 oops.
SVN revision: 30260
2007-06-05 22:12:10 +00:00
Eric Schuele 28b177d4c5 FreeBSD has large file support out of the box
SVN revision: 30259
2007-06-05 21:52:15 +00:00
Carsten Haitzler 176052a4b7 remove leak.
SVN revision: 30196
2007-06-02 16:50:43 +00:00
Carsten Haitzler ece72492b3 handle large files
SVN revision: 30195
2007-06-02 16:35:10 +00:00