Commit Graph

501 Commits

Author SHA1 Message Date
Hannes Janetzek 8f6770c06f make sure sliding views are freed in evry_hide
SVN revision: 49187
2010-05-24 22:20:26 +00:00
Hannes Janetzek 32e239300b - do slide animation in theme
- cleanups


SVN revision: 49186
2010-05-24 22:08:15 +00:00
Hannes Janetzek 74547883df added F1, F2 bindings for name/date sorting in files plugin
SVN revision: 49181
2010-05-24 12:27:10 +00:00
Hannes Janetzek 63bc52c2b6 - set it->icon automatically when icon is in theme or full path, no need for icon_get func
- keep current view when browsing 
- theme tweaks



SVN revision: 49179
2010-05-24 11:49:46 +00:00
Hannes Janetzek 131a5b9fca - show plugin actions for non-toplevel plugins
- fix alt+w shortcut for 'return'


SVN revision: 49165
2010-05-23 22:01:15 +00:00
Hannes Janetzek 0e9f1d9e74 added plugin specific actions p->actions which can be triggered in context of a plugin
- added sort action for files plugin. finally sort by date. one reason less for me to open a fm (=

- added alt+(shift)+tab up/down, alt+q:exit, alt+w: enter shortcuts



SVN revision: 49157
2010-05-23 13:54:44 +00:00
Hannes Janetzek 318dc79c85 make plugin module loading completely independent of evry being loaded
cleanups


SVN revision: 49154
2010-05-23 07:35:48 +00:00
Hannes Janetzek ae4d9be066 show in config which plugin are loaded
SVN revision: 49137
2010-05-22 13:04:44 +00:00
Hannes Janetzek b9d3e808c9 dont forget to wakeup
SVN revision: 49136
2010-05-22 08:41:58 +00:00
Hannes Janetzek 793c4ae7ce cleanup. EAPI no longer required
SVN revision: 49134
2010-05-22 08:05:25 +00:00
Hannes Janetzek 90a51634ea fix warning. help view may call this
SVN revision: 49127
2010-05-22 06:46:54 +00:00
Hannes Janetzek 9c2094b5a5 evry: bumb config version to reset to defaults
SVN revision: 49126
2010-05-22 06:38:35 +00:00
Hannes Janetzek 965f96fb14 - exebuf: only create param items for executables that exist
- calc/aspell, dont show in agregator. looks bad to have only text items in icon view
- calc: show plugin item in aggregator
- files: fix files plugin to provide items for 'object'
- files: make browse action show inheriting folder for files, content for dirs
- help: hide view on input (other than up/down)


SVN revision: 49125
2010-05-22 06:35:46 +00:00
Hannes Janetzek be4f8f8657 defer popup creation. fixes popup being unresposive with composite
SVN revision: 49093
2010-05-21 11:28:13 +00:00
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
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