Commit Graph

148 Commits

Author SHA1 Message Date
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 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 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
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 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 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 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 f5b3c6757f 'everyhing' open module configs directly from plugin page
SVN revision: 48274
2010-04-24 14:27:16 +00:00
Hannes Janetzek 55ba16a896 formatting + space cleanups
SVN revision: 48266
2010-04-24 00:54:12 +00:00
Hannes Janetzek e226f8f013 'everything' big cleanup.
- fixed bug with going back to thumb view
- aggregator can now have his one view


SVN revision: 48263
2010-04-24 00:21:45 +00:00
Hannes Janetzek 6a858f10db 'everything' added configuration for triggers and views per plugin.
SVN revision: 48256
2010-04-23 20:48:22 +00:00
Hannes Janetzek 9f21aa2316 text input plugin is back. trigger it with "." nice wih 'google for it' action from gsuggest..
SVN revision: 48229
2010-04-22 19:17:51 +00:00
Hannes Janetzek 9fe0c1a1bc 'everything' fix bug when using not composite
SVN revision: 48186
2010-04-20 21:20:30 +00:00
Hannes Janetzek ac2fca776a 'everything' first start help page
SVN revision: 48170
2010-04-20 18:49:42 +00:00
Hannes Janetzek 4b5ce1b90a 'everything'
- let plugins store simple config data 
- fix apps 'open with' bug


SVN revision: 48162
2010-04-20 15:22:01 +00:00
Hannes Janetzek c41b48e6ac 'everything'
- files: show more files by default, todo config option
- cleanup


SVN revision: 48157
2010-04-20 07:40:21 +00:00
Massimo Maiurana ce67de7e63 make use of N_() in EVRY_PLUGIN_NEW and EVRY_ACTION_NEW macros as per pfritz suggestion + include one more message in translations
SVN revision: 48135
2010-04-19 16:09:35 +00:00
Hannes Janetzek dfb9847566 fix everythings' action category
SVN revision: 48102
2010-04-18 11:04:25 +00:00
Hannes Janetzek 6a3586deb6 'everything' fix bug
SVN revision: 48097
2010-04-18 06:26:50 +00:00
Hannes Janetzek bdb41a6254 'everything'
- slide anim for browsing into folders
- fix for spd when framerate is below 25fps
-Wall checked


SVN revision: 48077
2010-04-17 17:50:27 +00:00
Hannes Janetzek 233d282c92 'everything'
- fix plugin order config
- actually save app config
- scroll tabs, and turn off the 'blinking' on input



SVN revision: 48070
2010-04-17 12:40:28 +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 6cf35e63f2 'everything'
- fix popup geometry, same for composited and non-composited now
- remove experimental preview plugin


SVN revision: 48057
2010-04-16 17:24:35 +00:00
Hannes Janetzek 3f29ece6db 'everything' cleanup api
-  fix 'localization'? - translating plugin labels should work now


SVN revision: 48042
2010-04-15 21:42:30 +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 33754f9e56 'everything' view: better scroll method. fix flicker on popup show
SVN revision: 47963
2010-04-12 16:31:40 +00:00
Hannes Janetzek f33a765765 'everything' fix leaks
SVN revision: 47925
2010-04-11 13:40:10 +00:00
Hannes Janetzek 6d73f126f9 'everything' readd smooth scroll option
SVN revision: 47911
2010-04-11 02:34:18 +00:00
Hannes Janetzek a2dde82e7f 'everything'add free_cb for plugins and actions.
SVN revision: 47904
2010-04-10 22:38:05 +00:00
Hannes Janetzek 31ab8c471e 'everything' add missing files, clean shutdown of modules
SVN revision: 47903
2010-04-10 21:38:36 +00:00
Hannes Janetzek c9c75b2420 'everything'
- everything plugins are now e-modules.


SVN revision: 47895
2010-04-10 20:05:57 +00:00
Hannes Janetzek 1c91e02601 'everything' install plugins into ...modules/everything/plugins subdir now
SVN revision: 47876
2010-04-09 15:53:07 +00:00
Hannes Janetzek 04ded7c5db 'everything'
- open with..: find also text/plain apps for text/* files
- stricter matching of history items. no more 'Open Terminal' everywhere
- defer popup creation


SVN revision: 47865
2010-04-09 04:14:09 +00:00
Gustavo Sverzut Barbieri d06c310be4 EAPI, as the dynamically loaded modules will use that symbol due DBG()
and friends.



SVN revision: 47860
2010-04-09 02:03:49 +00:00
Hannes Janetzek 15dcb3c74e 'everything' fix reloading after unloading :p
SVN revision: 47855
2010-04-08 23:51:02 +00:00
Hannes Janetzek 0ef941962b 'everything' fix unloading of module part 1.
SVN revision: 47849
2010-04-08 22:50:53 +00:00
Hannes Janetzek b7d24f25cc check evry module api version
SVN revision: 47829
2010-04-08 11:55:15 +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 0d5317b222 'everything' add log domain
SVN revision: 46908
2010-03-06 14:15:00 +00:00
Hannes Janetzek 563d810def find plugins for "everything" in $HOME/.e/e/everything_plugins
SVN revision: 45758
2010-01-31 17:42:28 +00:00
Gustavo Sverzut Barbieri 51347f22f4 eina_module_free() already calls eina_module_unload(). There's no need
to call it afterwards.

By: Lucas De Marchi <lucas.demarchi@profusion.mobi>



SVN revision: 45592
2010-01-26 15:22:53 +00:00
Jorge Luis Zapata Muga 33fdfb9322 + [Eina] API change. eina_module_list_flush() -> eina_module_list_free()
as we are on the modules context not the array.
  All the referenced projects are changed too. Remember that the list_free()
  already calls the unload() on each module so no need to call list_unload()



SVN revision: 44978
2010-01-08 12:22:23 +00:00
Hannes Janetzek a76017fc9d 'everything' bump config version
SVN revision: 42813
2009-09-30 03:53:17 +00:00
Hannes Janetzek 0961d2c507 'everything'
added simpler history sort modes


SVN revision: 42687
2009-09-25 00:27:36 +00:00
Hannes Janetzek a4fb397e83 'everything'
- added option for default view mode 


SVN revision: 42684
2009-09-24 21:09:25 +00:00
Hannes Janetzek 91211ef9c4 reopen fileman and dialog windows after restart of e.
- modules using e_configure_registry_add must be modified to 
  use registry path as window class for this to work
- fileman now uses e_remember to remember position instead of 
  handling it separately
- added option to window remember for remembering dialogs and 
  fileman windows automatically


SVN revision: 42607
2009-09-21 20:36:35 +00:00
Hannes Janetzek 380f28333f everything:
- added config for popup position
- make 'open term here' action work with other terminal


SVN revision: 42554
2009-09-18 06:33:33 +00:00
Gustavo Sverzut Barbieri 58925e0232 Update to match new EINA init/shutdown.
SVN revision: 42301
2009-09-06 22:23:04 +00:00
Gustavo Sverzut Barbieri 12945004f6 EAPI, again :-)
Please, compile with -fvisibility=hidden, you'll get these errors and
benefit from reasonably faster load of E17.

Except by ETK, whole EFL is able to be compiled with this flag, so I'd
recommend using it in general.



SVN revision: 42192
2009-09-02 22:04:37 +00:00
Hannes Janetzek abc42d6a2a 'everything'
- added sudo app action and config option
- remove unused item after seven days from history


SVN revision: 42189
2009-09-02 19:43:16 +00:00
Hannes Janetzek 29c56a53f6 Now you can enlarge everything!
SVN revision: 42113
2009-08-30 18:34:39 +00:00
Hannes Janetzek 7fca6dcf82 'everything'
- moved history functions to evry_history.c
- unload history hash when popup is not visible
- TODO cleanup history when it ahs grown too large


SVN revision: 42097
2009-08-30 12:01:50 +00:00
Hannes Janetzek c5507a54dd 'everything'
- added history that should adapt sort list sorting to usage
- conf dialog: moved plugiγ types to separate pages
- fixed bug from shared hash of apps plugins


SVN revision: 42095
2009-08-30 08:51:15 +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
Hannes Janetzek 82745eb2a6 'everything' module: disable thumb nails for selector
- there is a bug somewhere.. i guess it's e_thumb not liking to have the same file twice to thumbnail
- cleanups for thumb view


SVN revision: 42003
2009-08-26 03:12:00 +00:00
Hannes Janetzek 8e973b3e1f 'everythin' module: leak--
SVN revision: 41939
2009-08-23 06:00:41 +00:00
Hannes Janetzek d58623c0cb 'everything' module CLEANUP!
SVN revision: 41937
2009-08-23 05:46:54 +00:00
Hannes Janetzek 71943a92da 'everything' module:
- added intercept and cleanup functions for Evry_Action. 
  intercept is run before subject item is passed to object plugin
  so that it can convert the output type of subject to the input type 
  of object plugin. used for BORDER -> APPLICATION (if border has a 
  reference to a .desktop file)


SVN revision: 41921
2009-08-22 01:15:21 +00:00
Hannes Janetzek a9589df2e7 'everything' module:
- support the inheritance of plugins for 
  plugins with one instances per state (dir_browse)
- moved internal plugins action_selector and aggregator
  to separate files
- all type_in/out checks are now done with pointer comparison


SVN revision: 41920
2009-08-21 22:42:06 +00:00
Hannes Janetzek 08a169c696 'everything' module:
- cleaned up view plugin api and plugins
- run calc and aspell only when triggered


SVN revision: 41875
2009-08-19 12:07:37 +00:00
Hannes Janetzek 866a59dc86 'everything' module:
not sure if it's a bug in e's keybindings conf but this works around 
the problemφchanging a predef action with params to one that has NULL


SVN revision: 41866
2009-08-19 00:45:10 +00:00
Hannes Janetzek ca72f2e9a5 everything' module:
- automatically create e-actions for subject plugins so that 
  can be triggered directly
  -> see bindings category: everything
- optimze fuuzy match
- plug border: handle border remove events


SVN revision: 41865
2009-08-19 00:27:41 +00:00
Hannes Janetzek 1c93b96400 'everything' module:
valgrinding and cleanups


SVN revision: 41861
2009-08-18 19:10:13 +00:00
Hannes Janetzek 326c5702b1 'everything' module:
- use hash for mimetype icon paths
- use evry_plugin/action_new/free everywhere


SVN revision: 41857
2009-08-18 14:29:30 +00:00
Hannes Janetzek 42c652baae 'everything' module:
fix preview plugin
some cleanups and added function to initialize a plugin


SVN revision: 41854
2009-08-18 03:15:36 +00:00
Hannes Janetzek 1fcfea9a30 'everything' module: made views pluggable.
- toggle view with ctrl+1 for now. 
- api needs some cleanups
- added option to config page for my preffered quick navigation keys


SVN revision: 41851
2009-08-17 23:54:16 +00:00
Hannes Janetzek 6d0f8136bd 'everything' module.. fixes...
SVN revision: 41831
2009-08-17 03:51:03 +00:00
Hannes Janetzek 06bacad65f 'everything' module: added config options to not hide input or list
SVN revision: 41830
2009-08-17 03:30:04 +00:00
Hannes Janetzek 43ebda5a4d 'everything' module:
- pass plugin priority hints with plugin registration
  for initial sorting
- register "select action" as normal plugin 
  (move it before "open with.." action  
   to use efm as default to browse dirs)


SVN revision: 41822
2009-08-16 16:26:49 +00:00
Hannes Janetzek 2e8857ee2a 'everything' module: allow external plugins to be build
- install header and everything.pc


SVN revision: 41740
2009-08-13 15:10:54 +00:00
Hannes Janetzek f5a5cb17b0 whitespace cleanup
SVN revision: 41716
2009-08-12 19:00:25 +00:00
Hannes Janetzek 10b20c24e5 'everything' module:
- restructured and rewrote most parts of core
- new gui


SVN revision: 41655
2009-08-10 11:36:37 +00:00
Iván Briano a9af90d70a match new eina api
SVN revision: 41540
2009-07-30 01:44:11 +00:00
Hannes Janetzek 63c7a79c05 'everything module'
- use eina_module. TODO public header needs to be exported for external build of plugins
- fix evry_async_update: do not show tab if there are no candidates


SVN revision: 41539
2009-07-29 20:43:09 +00:00
Gustavo Sverzut Barbieri 7262841042 import aspell "everything" plugin.
Just type "aspell" and then words, it will show the options, navigate
to correct item and hit ENTER, it will be copied to X selection and
Clipboard.

To select language use "lang=XXXX;" prefix. This will be valid while
everything dialog is alive, when it's hidden the language is
forgotten.

Examples:

   aspell helo

shows: hello, hell...


   aspell lang=pt_BR; olla

shows: olá, olhar...





SVN revision: 41536
2009-07-29 15:49:06 +00:00
Gustavo Sverzut Barbieri e29156c909 cleanup -Wextra warnings.
SVN revision: 41496
2009-07-25 05:53:01 +00:00
Hannes Janetzek b454b231d2 'everything' module:
- fix segv in calc
- added triggers to plugins. '=' for calc, to be configurable soon
- added optional realize-cb for plugins to delay list generation until shown  


SVN revision: 41290
2009-07-09 22:58:40 +00:00
Hannes Janetzek 46b44e4d38 'everything' module: added config for plugin order
- pass plugin instance to plugin functions.. again


SVN revision: 41265
2009-07-07 16:30:11 +00:00
Hannes Janetzek a0048ff897 'everything' module: start of config dialog
- fix segv possible segv when popping a state from action-seletor


SVN revision: 41254
2009-07-06 12:08:57 +00:00
Hannes Janetzek 0236fd2006 'everything' module: formatting, whitespace cleanup
SVN revision: 41248
2009-07-04 11:10:28 +00:00
Hannes Janetzek e307632c59 'everythin' module:
- added initial version of calculator frontend (only bc for now)
  - return without candidate selected adds current result to the history
  - return on candidate puts result in clipboard
- scrolling for the plugin selector tabs
- fix segv when popping a state without a selected candidate   


SVN revision: 41242
2009-07-03 13:37:54 +00:00
Hannes Janetzek 9f2914ffe4 'everything' module: added open-file sub action for apps (try tab on an app)
- added Evry_Action which allows to add actions to item types that are 
  provided by other source plugins. The action can act on two items, e.g.
  select an app -> chose action 'open file' -> all plugins which provide FILE 
  are queried -> select file -> enter executes app with given file   
- moved back to static plugin instances, plugin that can be instantiated 
  recursively must thandle this in begin/cleanup functions (see dir_browse)



SVN revision: 41189
2009-06-24 20:02:37 +00:00
Hannes Janetzek 248ba9cebc 'everything' module: merge file-open with apps plugin
- changed api to pass input to action: e.g. open-with accepts now commands, 
  if no item is selected


SVN revision: 41146
2009-06-21 21:16:02 +00:00
Hannes Janetzek 71ff754f27 'everything' module:
- added (still simple) plugins for tracker, file-open and directory browser
- 'tab' shows available actions for a candidate


SVN revision: 41135
2009-06-21 10:31:38 +00:00
Hannes Janetzek 6dfaaf5f10 'everything' module:
- fix possible segv in evry_plug_config 
- enabled main menu augmentation
- smooth scrolling is back



SVN revision: 41007
2009-06-11 14:50:34 +00:00
Hannes Janetzek 70abe67bb8 'everything' module:
- fix update matches to show the right current source
- beginning to add settings


SVN revision: 40974
2009-06-08 16:37:40 +00:00
Hannes Janetzek cd647efc07 initial checkin of 'everything' module with sources for apps, windows and settings
SVN revision: 40526
2009-05-06 14:20:45 +00:00