Commit Graph

42 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 4310f32263 printf--
SVN revision: 49057
2010-05-20 06:51:29 +00:00
Hannes Janetzek a3e9a1d7eb reorder get_file_icon to get theme icons for mount points
SVN revision: 49048
2010-05-20 04:38:53 +00:00
Hannes Janetzek 486bf47939 - rework windows plugin, x:y now matches window from that desk
- fix evry_util_plugin_items_add to match item->detail properly
- fix evry_item_select with item-changed event


SVN revision: 48991
2010-05-19 00:03:35 +00:00
Hannes Janetzek 85797c58f3 evry_util_plugin_items_add: let plugin decide minimum input
SVN revision: 48974
2010-05-18 12:19:02 +00:00
Hannes Janetzek 5f9084b7d7 make evrything handle mouse events.
- double click on item runs action, right click runs action and keep evry open
- same with selectors
- mouse down and move 150px browses that item. and back. TODO needs an indicator
- mouse wheel selects next/prev on plugin bar or selectors 



SVN revision: 48949
2010-05-17 23:15:00 +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 71bc90e6ce - remove Evry.h
- move local vars into Evry_Window


SVN revision: 48871
2010-05-14 22:06:06 +00:00
Hannes Janetzek 111b5b95c1 - get correct path uris
- fix browse item action missed one case
- fix segv in selector_item_update when state has no plugin


SVN revision: 48838
2010-05-14 03:11:03 +00:00
Hannes Janetzek 57a9bdc2ed - added Action_Performed event to let plugins know when an action was performed :)
- step to next item in thumb-view when marking items
- aggregator: better sorting of non-toplevel plugins, cleanups


SVN revision: 48832
2010-05-13 22:27:57 +00:00
Hannes Janetzek 3b56f3c0da fix bug in exec_app
dont make cycle-mode default


SVN revision: 48800
2010-05-13 04:23:23 +00:00
Hannes Janetzek eb77076200 - convert path to correct urls
- use .cache/thumbnails when available for pdf, video and faster image loading
- fix history sort issue with apps
-...


SVN revision: 48772
2010-05-12 02:01:09 +00:00
Hannes Janetzek db8fad47d1 converted all modules to new api
SVN revision: 48758
2010-05-11 17:24:38 +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 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 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 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 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 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 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 f364140ebb 'everything' free path in detail_set
- escape files in evry exec


SVN revision: 48286
2010-04-24 17:14:01 +00:00
Hannes Janetzek 55ba16a896 formatting + space cleanups
SVN revision: 48266
2010-04-24 00:54:12 +00:00
Hannes Janetzek 9b861c788b added url_escape from curl
SVN revision: 48223
2010-04-22 18:11:20 +00:00
Hannes Janetzek ceb2ae28a2 'everything' use e's mime icons when not fdo override is set
SVN revision: 48185
2010-04-20 20:52:46 +00:00
Hannes Janetzek 71f4bb7947 'everything' fix mimetype bug in file history
- added helper to check item type 


SVN revision: 48096
2010-04-18 04:41:08 +00:00
Hannes Janetzek c30b76da87 'everything' files: remember mimetype in history -> dont stat files from sleeping drives
- better scale down icons than up


SVN revision: 48089
2010-04-18 00:17:15 +00:00
Hannes Janetzek 53b5f48a90 'everything'
- apps config : turn off executable list.
- aggregator: filter items with same id from different plugins 
  (no duplicates for files and tracker)


SVN revision: 48061
2010-04-17 01:10:20 +00:00
Hannes Janetzek 425f9616c4 'everything'
- files: use dir history to show recently browsed folders/files
- view: mark items that dont hoave icon to not try to fetch again


SVN revision: 48052
2010-04-16 14:15:30 +00:00
Hannes Janetzek d0fbe9424e 'everything' apps shift/ctrl+tab insert appname + space now
SVN revision: 48022
2010-04-15 15:46:12 +00:00
Hannes Janetzek 2baae5916b 'everything' files: show root dir directly on /
- added ctrl|shift+Tab binding for browsing into items.


SVN revision: 48019
2010-04-15 13:58:44 +00:00
Hannes Janetzek 1ac2bb559a 'everything' cleanups. added p->view_mode for plugins to request a view used for them
SVN revision: 48005
2010-04-14 20:21:56 +00:00
Hannes Janetzek a1809e0d8e 'everything'
- add evry_util_file_detail_set
- fix one more bugger in animated scrolling


SVN revision: 47997
2010-04-14 10:49:28 +00:00
Hannes Janetzek f6e8621282 'everything' apps, better handling of params
SVN revision: 47968
2010-04-12 19:21:09 +00:00
Hannes Janetzek 34761ff304 'everythin' apps: create a desktop item with given params
SVN revision: 47965
2010-04-12 16:43:57 +00:00
Hannes Janetzek 90f261fc04 'everything'
- use item_changed event to update views and actions
- Evry_File: rename uri to path


SVN revision: 47807
2010-04-07 15:03:27 +00:00
Hannes Janetzek fc578352d0 'everything'
- add plugin option whether items should be shown in aggregator
- fix cleanup of thumb view when there are no items


SVN revision: 47677
2010-04-02 04:19:38 +00:00
Hannes Janetzek f211ebb853 'everything'
- optimized view to update when required
- dirbrowse send asnyc upadte only when current list has changed
- ++ evry_action priorities, needs config option though
- moved _app_action to evry_util_app_exec


SVN revision: 42051
2009-08-28 02:25:13 +00:00
Hannes Janetzek f4915164a9 'everything'
- removed old list view. both is in thumb view now. toggle them with ctrl+2
- removed o_icon and o_bg memebers from Evry_Item, those didnt belong there..
- moved some stuff into evry_util.c


SVN revision: 42031
2009-08-27 10:35:32 +00:00