Commit Graph

387 Commits

Author SHA1 Message Date
Hannes Janetzek c1d5359332 only toggle view when it's different from the previous
cleanups


SVN revision: 48755
2010-05-11 15:10:30 +00:00
Hannes Janetzek 1760d392d4 use macro for registering modules
SVN revision: 48747
2010-05-11 01:53:34 +00:00
Hannes Janetzek bbe3d91149 added common log domain to Evry_API
added EVRY_PLUGIN_UPDATE macro for evry_plugin_update (was ...async_update)
converted more plugins



SVN revision: 48743
2010-05-10 23:45:49 +00:00
Hannes Janetzek 74317f724a added Evry_API struct to pass api as handle to modules so that they dont fail to load when everything is not loaded
see everything-settings as example how to use. other modules need to be converted.


SVN revision: 48740
2010-05-10 22:35:13 +00:00
Hannes Janetzek 14c0b2c5d7 fix problem when trigger gets lost with async plugins
SVN revision: 48703
2010-05-09 04:10:53 +00:00
Hannes Janetzek 311f5a8701 added function to find actions
SVN revision: 48687
2010-05-08 20:30:15 +00:00
Hannes Janetzek 4c8e8f64ce added utility function for md5 sum
item_changed event now says what has changed


SVN revision: 48680
2010-05-08 15:24:07 +00:00
Hannes Janetzek 4d746f5484 - splitted files plugin into recent-files/files
- added top-level option for plugins to either show the plugins' items or 
  the the plugin in aggregator
- added min_query option for plugins.
- added 'show in all' plugin option
- removed default config curft from plugin struct. plugin_register returns true 
  when a new config was created to set defaults.
- reorganized settings plugin.

 


SVN revision: 48642
2010-05-06 13:09:14 +00:00
Hannes Janetzek f419041865 less hash lookups - keep history_item with item
SVN revision: 48605
2010-05-04 01:19:16 +00:00
Hannes Janetzek e0908dd7c9 comments, and cleanups
SVN revision: 48597
2010-05-03 23:08:24 +00:00
Hannes Janetzek 13d29193d4 restrict warning to case where really no plugins loaded
SVN revision: 48591
2010-05-03 20:01:55 +00:00
Hannes Janetzek 20dc27cb8a - show message when no plugin is loaded, cleanups
SVN revision: 48590
2010-05-03 19:51:46 +00:00
Hannes Janetzek 1958516715 disambiguate api: separate begin() and browse().
cleanups


SVN revision: 48587
2010-05-03 19:19:42 +00:00
Hannes Janetzek 03a23598cc merged aggregator sort functions
SVN revision: 48570
2010-05-02 22:20:19 +00:00
Hannes Janetzek fab4a8fcf5 ok... now it really sorts right :)
SVN revision: 48568
2010-05-02 21:47:28 +00:00
Hannes Janetzek d908276143 sry, changed the history eet format. better now than later
SVN revision: 48564
2010-05-02 20:40:21 +00:00
Hannes Janetzek 20cd1af8ca more testing with clean profile. use predefined plugin/item priority
SVN revision: 48556
2010-05-02 18:14:21 +00:00
Hannes Janetzek 0c6c27eac7 better explicitly state that an action is context dependent
SVN revision: 48551
2010-05-02 16:29:32 +00:00
Hannes Janetzek 3f751f14f9 - fix last commit, need to check where hist item does vanish
- sort actions better



SVN revision: 48550
2010-05-02 16:16:20 +00:00
Hannes Janetzek fc31b50109 - speedup history lookup
- fix cleanup of recent files


SVN revision: 48549
2010-05-02 15:46:02 +00:00
Hannes Janetzek 60ae3759de add action option whether it is specific for a context provided by subject item.
e.g. copy is not specific for images while image viewer action is


SVN revision: 48547
2010-05-02 13:11:32 +00:00
Hannes Janetzek 60336d031f accept_list option for actions to handle multiple items at once
SVN revision: 48544
2010-05-02 11:57:39 +00:00
Hannes Janetzek f7d18f7ab6 delete action update timer on brosw_back, cleanup
SVN revision: 48543
2010-05-02 11:31:01 +00:00
Hannes Janetzek f3fcb5fd8b missed one bracket
SVN revision: 48534
2010-05-02 01:23:46 +00:00
Hannes Janetzek c225f1de9d fix sorting of cached items. use it->usage = -1 to indicate that history should not be used for sorting
SVN revision: 48532
2010-05-02 00:58:33 +00:00
Hannes Janetzek 2cf7cf080f cleanup every hour
SVN revision: 48531
2010-05-01 23:24:14 +00:00
Hannes Janetzek a406f496b1 - make Esc pop all states first and then hide. i.e. esc jump back to start when browsing dirs ;)
- make the global binding for 'everything' act like esc, when everything is active.
- global key bindings for a plugin jump to that plugin when everything is active.
- handle KP_Enter as Return


SVN revision: 48517
2010-05-01 19:27:26 +00:00
Massimo Maiurana 329940143b updating french and italian translations
SVN revision: 48512
2010-05-01 17:06:12 +00:00
Hannes Janetzek 46ada2a38b fix bug causing wrong types set in history. and fix old history in cleanup function
SVN revision: 48507
2010-05-01 15:43:31 +00:00
Hannes Janetzek e8a43d4c1e - keep track of async requests. dont handle old ones
- copy icon 'new .desktop' action


SVN revision: 48495
2010-04-30 22:12:02 +00:00
Hannes Janetzek c607acb5b2 fix segv. action base plugin has no config
SVN revision: 48477
2010-04-30 14:39:04 +00:00
Hannes Janetzek 586b7d6f64 only sort by fuzzy match before usage, when match differs a lot
SVN revision: 48467
2010-04-30 12:53:29 +00:00
Hannes Janetzek 703f9550b4 - disabled 'file delete' action for now. make it safer
- sort actions matching subtype before type, i.e. mpris action before file actions


SVN revision: 48444
2010-04-29 23:11:53 +00:00
Hannes Janetzek 21713329da - show only dirs when for copy/move actions
- fix recent files, and cleanup of stale entries 


SVN revision: 48440
2010-04-29 21:42:03 +00:00
Hannes Janetzek 8aef1b3695 fix leak
SVN revision: 48422
2010-04-29 16:34:11 +00:00
Hannes Janetzek 3a5b9456e9 - added function to get path or url from Evry_File, so that sources dont have to set both.
- check evry_file_path/uri_get() before using either. when return not NULL file->path/uri can b$
- make 'open with' plugin only show apps mathings the files mimetype
- added 'open with' action which takes any app as second argument
- sort actions that match item type before those matching subtype


SVN revision: 48418
2010-04-29 15:20:12 +00:00
Hannes Janetzek 4b51ec0c20 - match action also against subtype
- helper to get the path from an url
- added keybindings, 


SVN revision: 48411
2010-04-29 00:00:08 +00:00
Hannes Janetzek 3880adae76 fix segv
SVN revision: 48408
2010-04-28 21:04:05 +00:00
Hannes Janetzek 7aa6e09f48 clean up the mess with stringshared/refd types:
use int to identify item type, add function to register new types. 


SVN revision: 48396
2010-04-28 16:39:50 +00:00
Hannes Janetzek b76df169ab fix last commit.
started to make item type checking better


SVN revision: 48391
2010-04-28 13:54:35 +00:00
Hannes Janetzek 7016b51af8 Evry_Action.: reorganized and allow to check for subtype
- remove trigger from config when length is 0


SVN revision: 48389
2010-04-28 12:58:24 +00:00
Hannes Janetzek bc22c23029 fix action deletion on exit. cleanups
SVN revision: 48388
2010-04-28 11:28:45 +00:00
Hannes Janetzek e2abaae2c6 'everything'
- cleanup api -> cleanup code :)
- Evry_Plugin now inherits Evry_Item
- Evry_Action has fetch method to realize menu interfaces easily. see wallpaper plugin
- Evry_App inherits Evry_Action


SVN revision: 48374
2010-04-28 03:22:40 +00:00
Hannes Janetzek 5e8a3abd9a 'everything'
- make Evry_Action inherit from Evry_Item
- reorganize evry_action selector plugin
- fix bug in thumb view when quickly sliding back
- files: use thread for adding history items, as ecore_file_exists can block
- fix -Wall warnings


SVN revision: 48340
2010-04-26 18:21:09 +00:00
Hannes Janetzek 1183745fce 'everything' files: use dir watcher info instead of rereading
- cleanups


SVN revision: 48325
2010-04-26 01:04:43 +00:00
Hannes Janetzek 2ea8184b90 update old configs to show list by default
SVN revision: 48321
2010-04-25 22:19:24 +00:00
Hannes Janetzek e82f19ceb9 'everything' fix last commit
SVN revision: 48320
2010-04-25 22:12:54 +00:00
Hannes Janetzek 34a524d8ba 'everything'
- history: lower priority when context doesnt match
- update actions only when current item changed with update_matches


SVN revision: 48319
2010-04-25 21:46:36 +00:00
Hannes Janetzek e2875795e2 path will be escaped by e_exec. dont do it here
SVN revision: 48318
2010-04-25 19:52:18 +00:00
Hannes Janetzek 50072b9ecd files: added copy and move action
- fix 'open with' action opened things wice


SVN revision: 48317
2010-04-25 19:37:30 +00:00