Commit Graph

437 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 c80bcfd875 switch back selector when current plugin provides no more items. (e.g. after remove action performed)
smaller match lag


SVN revision: 49056
2010-05-20 06:14:04 +00:00
Hannes Janetzek 7cda1b4edb keep input text after plugin trigger
SVN revision: 49052
2010-05-20 05:02:24 +00:00
Hannes Janetzek c83a8b509d goto end; after input completion
SVN revision: 49049
2010-05-20 04:44:56 +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 878f482d78 - added EVRY_PLUGIN_INTANCE macro whic SHOULD be
used to create new intances for plugins which 
  can have more than one
- keep anonymous reference to current state with plugin
- remove lots of special handling for aggregator plugin


SVN revision: 49006
2010-05-19 14:44:36 +00:00
Hannes Janetzek 4fad3f4501 show indicator for when thumb slide for/back is possible
SVN revision: 48996
2010-05-19 02:43:41 +00:00
Hannes Janetzek 9053bd1ae9 get mouse events from seletors again
SVN revision: 48995
2010-05-19 01:34:46 +00:00
Hannes Janetzek c81e5ce7aa cleanups
SVN revision: 48994
2010-05-19 01:24:26 +00:00
Hannes Janetzek c802b2a74d - swallow selectors item _in_ theme
- cleanup shift-selectors action


SVN revision: 48993
2010-05-19 01:10:15 +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 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 3f81c54fc1 actually remove duplicates in aggregator
SVN revision: 48976
2010-05-18 12:32:29 +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 7c2df0efc6 allow files to be dragged out of everything. bound to right button atm.
SVN revision: 48972
2010-05-18 09:37:58 +00:00
Hannes Janetzek 49b6a20c3f - show thumbnails for edj wallpaper
- added helper macros for action_free and new plugin instance


SVN revision: 48967
2010-05-18 07:52:26 +00:00
Hannes Janetzek b51868a30a fix invalid write..
cleanups


SVN revision: 48955
2010-05-18 03:20:55 +00:00
Hannes Janetzek 2514876698 reduce the chance to browse item by mistake when doing thumb scroll
SVN revision: 48950
2010-05-17 23:40:18 +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 7f9818b8a6 make clipboard action remember context.
cleanups & tweaks


SVN revision: 48927
2010-05-16 22:04:34 +00:00
Hannes Janetzek c011256d5c explicitly check that not ctrl or shift modifiers are active for normal tab bevahior.
cleanup


SVN revision: 48909
2010-05-16 04:06:15 +00:00
Hannes Janetzek 0f508a61ce refactor
SVN revision: 48908
2010-05-16 03:22:17 +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 b731a8b693 dont loose key events when showing everything
SVN revision: 48903
2010-05-15 23:27:09 +00:00
Hannes Janetzek da786a09b0 fix segv
SVN revision: 48901
2010-05-15 21:03:42 +00:00
Hannes Janetzek 3be469bc80 fix: ctrl+return
SVN revision: 48900
2010-05-15 20:58:54 +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 f6b49da880 - allow tab when there is no state to get back from empty selector
- fix segv window could have been deleted


SVN revision: 48873
2010-05-14 22:41:30 +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 6f5080e051 set better defaults
SVN revision: 48853
2010-05-14 06:49:20 +00:00
Hannes Janetzek 11a62e9049 use one window - more freedom to the aadvarks!
SVN revision: 48852
2010-05-14 06:35: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 dcfbbb0799 sort non-toplevel plugins in aggregator correctly
SVN revision: 48804
2010-05-13 05:31:06 +00:00
Hannes Janetzek faeb840bdb fix automatic switching to object selector when action requires object
SVN revision: 48802
2010-05-13 04:42:22 +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 eab4f7cfef make multiple selection work in thumb mode.
trying thumb mode as default for aggregator


SVN revision: 48799
2010-05-13 04:13:38 +00:00
Hannes Janetzek 96967e37a8 fix file cache search
cleanups


SVN revision: 48798
2010-05-13 03:49:23 +00:00
Hannes Janetzek 6abe9464cf - use VERSION/EPOCH macros for config version
- fix segv in thumb_view



SVN revision: 48797
2010-05-13 02:52:02 +00:00
Hannes Janetzek d713846aff fix segv
SVN revision: 48787
2010-05-12 19:58:40 +00:00
Hannes Janetzek f3a7f7d996 dont slide tabs. looked disturbing
SVN revision: 48786
2010-05-12 18:44:26 +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 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 1d3d622e21 fix item changed event
SVN revision: 48770
2010-05-11 22:02:49 +00:00
Hannes Janetzek 2770ac3bcb this was wrong
SVN revision: 48769
2010-05-11 21:47:57 +00:00
Hannes Janetzek 2871c1d7cf refactor view and cleanup
SVN revision: 48768
2010-05-11 21:44:32 +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