Commit Graph

79 Commits

Author SHA1 Message Date
Hannes Janetzek 66f1ffbefc added input_type to plugins:
using it automatically creates an action
 that allows to browse any selected item
 of that type. 

move plugin functions in separate file

text_plugin reuses current item so that it doesnt flicker 
 while typing

use e_fm function for path to uri espace

remove duplicated macros in evry_api.h and e_mod_main.h

fix set usage of exebuf items



SVN revision: 49066
2010-05-20 15:41:27 +00:00
Hannes Janetzek f00a498e24 use plugin instance macro
SVN revision: 49008
2010-05-19 14:47:12 +00:00
Hannes Janetzek dd4fa1244b - fix segv with complete input
- plugin can now set item selected by item change event
- better slide dir parameter
- fix comparison with unitialized values, thanks valgrind


SVN revision: 48981
2010-05-18 15:12:32 +00:00
Hannes Janetzek 523a1fbe07 dont sort parent dirs by usage
cleanups


SVN revision: 48906
2010-05-16 02:56:40 +00:00
Hannes Janetzek caacbb82df added selectors-shift function - in object selector one can trigger the
binding for show everything again and start with the current object as 
 new subject. esc or evry-binding will go back to previous level.
 this will come in handy sooner or later. believe me (=

added browse folder action to browse the containing folder of a file in 
 everything. 

now for example you have a plalist entry or a file from tracker search and 
 want to do sth within the parent dir of that file: 
 select browse folder -> .. go to parent -> trigger-evry-again -> 
 select delete/copy/watch the folder as slideshow or do whatever.
 


SVN revision: 48905
2010-05-16 02:37:07 +00:00
Hannes Janetzek 838684d6d8 - make cheat history work again
- dont check if files from cache exist in recent search, can slow down a lot
cleanups


SVN revision: 48899
2010-05-15 19:19:05 +00:00
Hannes Janetzek 8e163071dd fix segv
SVN revision: 48880
2010-05-15 04:22:12 +00:00
Hannes Janetzek dcfbbb0799 sort non-toplevel plugins in aggregator correctly
SVN revision: 48804
2010-05-13 05:31:06 +00:00
Hannes Janetzek d80517643f fix trigger 'show parent folders' while 'show hidden' is active
SVN revision: 48801
2010-05-13 04:36:04 +00:00
Hannes Janetzek 96967e37a8 fix file cache search
cleanups


SVN revision: 48798
2010-05-13 03:49:23 +00:00
Hannes Janetzek 6620e1a566 fixes
- wrong sorting of apps from history
- get correct url hash for files. - strip double slash
- update selector when swtching to aggregator plugin
added 
- XF86Back to toggle thumb/list mode
- XF86Forward to zoom in thumb mode
cleanups


SVN revision: 48780
2010-05-12 17:29:38 +00:00
Hannes Janetzek 4de02b5cbe set module->active when initialized by everything
SVN revision: 48765
2010-05-11 20:20:56 +00:00
Hannes Janetzek db8fad47d1 converted all modules to new api
SVN revision: 48758
2010-05-11 17:24:38 +00:00
Hannes Janetzek 75774581ca disable direct input of dirs. is buggy
SVN revision: 48756
2010-05-11 15:12:41 +00:00
Hannes Janetzek 0727615962 actually save aspell config. no one tried that before?
use new config check utility functions


SVN revision: 48744
2010-05-11 00:01:24 +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 255a245acc only show recent files of subdirs when browsing
SVN revision: 48648
2010-05-06 16:12:34 +00:00
Hannes Janetzek 2b5e44b070 more work on recent-files
SVN revision: 48647
2010-05-06 15:48:31 +00:00
Hannes Janetzek 82615f63c3 when browsing search recent files only in current dir. cleanup
SVN revision: 48646
2010-05-06 14:54:19 +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 1958516715 disambiguate api: separate begin() and browse().
cleanups


SVN revision: 48587
2010-05-03 19:19:42 +00:00
Hannes Janetzek 2b83a5816e fix sorting file cache
SVN revision: 48569
2010-05-02 22:03:33 +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 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 1b1634570e - fix segv in thread cancel
- better place for clear cache 
- reenable sorting by usage for files


SVN revision: 48536
2010-05-02 01:57:52 +00:00
Hannes Janetzek 5622f09f42 added option to search cache
SVN revision: 48533
2010-05-02 01:09:49 +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 cba6bba260 added option to cache visited directories, for search and faster loading. cache is kept for one day
SVN revision: 48530
2010-05-01 23:03:14 +00:00
Hannes Janetzek c85cf34337 faster dirwbrowsing
SVN revision: 48510
2010-05-01 16:27:13 +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 1904bd4097 use xdg icons
SVN revision: 48468
2010-04-30 12:55:01 +00:00
Hannes Janetzek b945a5827f filter recent files to only show recent dirs when browsing copy-to location
SVN revision: 48447
2010-04-30 00:38:36 +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 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 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 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 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
Hannes Janetzek 8cafc5cebb 'everything'
- allow multiple selection of and action on items, use ',' ctrl+ , ctrl- for marking items
  - only those selected items will be used that match the type of action.
  - TODO: filter which actions should not be used with multiple candidates
- files: added dir monitor and trash action


SVN revision: 48312
2010-04-25 16:26:13 +00:00
Hannes Janetzek 493e7f900d 'everything'
- remove duplicate items (e.g. files from dirbrowse and tracker) from aggregator
- fix bugger in files plugin


SVN revision: 48304
2010-04-25 12:21:41 +00:00
Hannes Janetzek da5a495734 'everything' files: add dirs first
SVN revision: 48300
2010-04-25 11:27:01 +00:00