Commit Graph

295 Commits

Author SHA1 Message Date
Hannes Janetzek 3bda6d6735 'evrything' module:
- really fix plugin_select..


SVN revision: 42002
2009-08-26 00:53:12 +00:00
Hannes Janetzek 21466a56ab 'everything' module:
- fix select_plugin, it was possible that s->plugin kept an orphaned pointer
- theme: align popup in the middle


SVN revision: 41999
2009-08-26 00:36:59 +00:00
Hannes Janetzek 1a807b6a60 'everything' module:
- thumnails for selector
- cleanups


SVN revision: 41982
2009-08-25 20:52:40 +00:00
Hannes Janetzek 2438e6acde 'everything'
- fix action interceptor code


SVN revision: 41981
2009-08-25 19:18:58 +00:00
Hannes Janetzek 09a4d35a07 'everyshizzle' update:
- new thumb view: use + for zoom
- moved plugins to subdirs
- theme tweaks
- fix fuzzy match once again
- hash border and app items


SVN revision: 41961
2009-08-25 04:23:11 +00:00
Hannes Janetzek c47ccbb13c 'everything' module: fix segv when togglig view with no active view
- cleanups


SVN revision: 41936
2009-08-23 04:48:17 +00:00
Hannes Janetzek aadf50f851 'everything' module: use macros for common stuff
- changed private data to inheritance of Evry_Item
  for Evry_Item_File and _App


SVN revision: 41932
2009-08-23 03:12:05 +00:00
Hannes Janetzek b1029c8a22 'everything' module:
- added obligatory 'set as wallpaper' action for image file
  (plugin shows how to make hierachical menus by a plugin)
  the import action is taken from e_int_wallpaper, would be
  good to move a generic version to e_util
- initiate first view automatically (to handle plugin selection
  without showing the list)
- cleanups



SVN revision: 41930
2009-08-22 21:22:38 +00:00
Hannes Janetzek b2ca07fa41 'everything' module: forgot -Wall..
SVN revision: 41924
2009-08-22 02:11:35 +00:00
Hannes Janetzek 1436dac852 'everything' module: actually use those new api functions
SVN revision: 41922
2009-08-22 01:23:58 +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 b1225d5251 'everything' module:
- added begging of help view plugin (trigger with space+?)
- fix fuzzy match to handle punctuation correctly
- fix view plugin api for singleton plugins


SVN revision: 41909
2009-08-21 08:19:30 +00:00
Hannes Janetzek 8e9a1445d3 'everything' module: no need to hash mimetype icons
SVN revision: 41906
2009-08-21 02:15:23 +00:00
Hannes Janetzek e1ca29c5eb 'everything' module: forgot return value
SVN revision: 41905
2009-08-21 01:20:11 +00:00
Hannes Janetzek e3740b373b 'everything' module: fix segv
SVN revision: 41903
2009-08-21 00:15:29 +00:00
Hannes Janetzek d81170c78a 'everything' module: added old keybindings again
SVN revision: 41902
2009-08-21 00:07:27 +00:00
Hannes Janetzek d98d8e1a8d 'everything' module:
- fuzzy match: handle puctuation as word diver if no puctuation is in match
- fix fuzzy match to ignore ending spaces
- cleanups


SVN revision: 41900
2009-08-20 23:43:56 +00:00
Hannes Janetzek c6a028e818 'everything' cleanup, moved tabs out of evry into list_view plugin
SVN revision: 41898
2009-08-20 21:39:01 +00:00
Hannes Janetzek 8488040962 'everything' module: edje signal for update matches and list item state
SVN revision: 41888
2009-08-20 14:45:47 +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 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 94544c168f 'everything' module
- whoops, enable mimetype fetching again
- show list window on toggling views


SVN revision: 41853
2009-08-18 01:00:18 +00:00
Hannes Janetzek 70af748fa7 'everything' module:
- no more glob matches
- dir browse now checks for mime magic, hope that slows down no too much
- preview: cleanups
- nicer var names in fuzzy match


SVN revision: 41852
2009-08-18 00:47:09 +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 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 0970a9894c 'everything' module: whoops choose the offset weight for fuzzy matching way too large
SVN revision: 41829
2009-08-17 02:18:19 +00:00
Hannes Janetzek 533ce81495 'everything' module:
- fixed bug from not removing items of old list that raster found yesterday
- added api functions so that plugins can provide their own view


SVN revision: 41827
2009-08-17 02:06:41 +00:00
Hannes Janetzek 6e1b43e306 'everything' module:
- get all popup sizes from theme
- slightly less shine on the main popup


SVN revision: 41823
2009-08-16 17:12:18 +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 4e590e43cf 'everything' module: cleanep up key down function.
- added extra keys for faster navigation. documented on
http://trac.enlightenment.org/e/wiki/Gadgets/Everything


SVN revision: 41813
2009-08-16 09:43:38 +00:00
Hannes Janetzek 50a4589a10 'everything' module:
- added 'send to current desk' border action
- fuzzy match cosmetic
- strip off path from desktop->exec for matching. now '/' shows dir browser as first entry :)
- wider list popup
- open file with apps that only support x-directoy as mimetype strips off filename


SVN revision: 41812
2009-08-16 08:36:56 +00:00
Hannes Janetzek 398e020750 'everything' module: cleanups
SVN revision: 41796
2009-08-16 00:13:56 +00:00
Hannes Janetzek 68fc50e538 'everything' module:
- fuzz<_match fix: match last word of 'string' with every word in 'match'
- dont fetch new items when only space was added
- apps: cleanup


SVN revision: 41794
2009-08-15 20:12:04 +00:00
Hannes Janetzek 5e526f44cd 'everything' module: fuzzy_match: remove white spaces at the beginning
SVN revision: 41791
2009-08-15 18:18:27 +00:00
Hannes Janetzek 0a5929841e 'everything' module: rewrote evry_fuzzy_match
SVN revision: 41790
2009-08-15 18:09:13 +00:00
Gustavo Sverzut Barbieri 70c0a52394 everything: Home/End to go first/last in the list.
SVN revision: 41784
2009-08-15 01:27:25 +00:00
Hannes Janetzek 7ec03f3ce6 'everything' module: small fix for fuzzy match
SVN revision: 41780
2009-08-14 23:50:48 +00:00
Hannes Janetzek 346dabf57c 'everything' module:
- fix action selector update when no subject item exists
- better weights from fuzzy matching
- apps: combine launch time with fuzy weight for sorting
- aggregator: eruse priority from plugins for sorting


SVN revision: 41779
2009-08-14 23:30:54 +00:00
Hannes Janetzek 6277b8f7f0 'everything' module:
some more optimizations for fuzzy matching


SVN revision: 41774
2009-08-14 18:55:35 +00:00
Hannes Janetzek 3a48a725ec 'everything' module: fix bug in tracker plugin
SVN revision: 41767
2009-08-14 16:28:00 +00:00
Hannes Janetzek 9ed72ffa1c 'everything' module: fuzzy_match fixes
SVN revision: 41766
2009-08-14 16:18:25 +00:00
Hannes Janetzek d198ef5e96 'everything' module:
- use border focus stack instead of border list
- border ref/unref seems not to work here. todo: handle border remove events 


SVN revision: 41765
2009-08-14 15:33:13 +00:00
Hannes Janetzek fbb36478cc 'everything' module: added evry_fuzzy_match to replace e_util_glob_match
which also gives a weight fo the results. now the items in 'All' list are 
nicely sorted.


SVN revision: 41764
2009-08-14 14:44:18 +00:00
Hannes Janetzek 30bb106ec8 'everything' module: cleanups
SVN revision: 41755
2009-08-14 09:35:51 +00:00
Hannes Janetzek 01edaca952 'everything' module:
use refcounters for Evry_Item...   


SVN revision: 41750
2009-08-13 22:42:40 +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 ce831c4ea7 'everything' module: tracker: set plugin items NULL until tracker replied
SVN revision: 41737
2009-08-13 14:01:29 +00:00
Hannes Janetzek ba0d69df5c 'everything' module: fix for async_update
- more tracker hacks to give kind of partial word matching. waiting for tracker 0.7...


SVN revision: 41734
2009-08-13 13:22:44 +00:00
Hannes Janetzek e7cbd2978d 'everything' module: fix seggie
SVN revision: 41730
2009-08-13 02:45:01 +00:00
Hannes Janetzek 5e7eebc15d 'everything' module: use primary selection instead of clipboard for pasting
SVN revision: 41724
2009-08-12 23:14:05 +00:00
Hannes Janetzek 8b219cfe79 'everything' module:
- added pasting from clipboard with ctrl+v
- ctrl+u does not clear the trigger


SVN revision: 41720
2009-08-12 22:34:07 +00:00
Hannes Janetzek 332506009d 'everything' module: core refactoring
SVN revision: 41719
2009-08-12 20:26:27 +00:00
Hannes Janetzek f5a5cb17b0 whitespace cleanup
SVN revision: 41716
2009-08-12 19:00:25 +00:00
Hannes Janetzek 9f2d45a90e 'everything' module:
- core: cleanup async_update function
- tracker: cleanups


SVN revision: 41715
2009-08-12 18:47:46 +00:00
Hannes Janetzek 363bd7a050 'everything' module:
- use const for items passed to plugin functions
- fixed possible segv in dirbrowse plugin
- added tracker search for folders
- restrict tracker search results to supported mimetypes when using 'open file' action


SVN revision: 41702
2009-08-12 12:17:43 +00:00
Hannes Janetzek 5e3f6b5179 'everything' module:
- core: cleanups
- apps: small optimization


SVN revision: 41693
2009-08-11 17:03:36 +00:00
Hannes Janetzek 01d1ae246e 'everything' module: results from valgrind session and some cleanups
SVN revision: 41692
2009-08-11 16:07:30 +00:00
Hannes Janetzek 0036951559 'everything' module:
- calc: cleanups
- apps: fix sorting by priority
- core: async_update: remove plugin when fetch gave no results, refactoring
- tracker: find 'object' items again, cleanups
- dirbrowse: fix segv with '..' and '/' commands, cleanups, 
  use x-directory/normal mime to find folder actions


SVN revision: 41687
2009-08-11 13:31:38 +00:00
Hannes Janetzek 727fc2c99b 'everything' module: show arrows on items to indicate whether they are browseable
SVN revision: 41675
2009-08-10 22:38:21 +00:00
Hannes Janetzek 739ef48caf 'everything' module:
- cycle through plugins with ctrl+first char of plugin name
- get larger border icons


SVN revision: 41660
2009-08-10 12:51:13 +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
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 e29156c909 cleanup -Wextra warnings.
SVN revision: 41496
2009-07-25 05:53:01 +00:00
Hannes Janetzek fc6c3e8461 'everything' module:
- made triggers exclusive for now. i.e. '=' only shows calc plugin
- calc: create special window for clipboard selection
- fixed apps glob matches


SVN revision: 41351
2009-07-15 14:37:01 +00:00
Hannes Janetzek ff06789039 'everything' module:
- added edit/new application entry actions
- cleaned up action-selector plugin


SVN revision: 41349
2009-07-15 12:22:42 +00:00
Hannes Janetzek fcd149d896 'everything' module: workround - need to find a better way when pop back to a plugin that fetches async
SVN revision: 41296
2009-07-10 15:57:49 +00:00
Hannes Janetzek 234db9b3a3 'everything' module:
- dirbrowse: '..' or '/' + <tab> goes to parent resp root dir  


SVN revision: 41295
2009-07-10 15:47:19 +00:00
Hannes Janetzek c3576b941b 'everything' module:
- added '..' and '/' handling to dirbrowse
- added fullscreen/unfullscren action to border-actions


SVN revision: 41294
2009-07-10 14:08:06 +00:00
Hannes Janetzek 2de3f811db 'everything' module: fix tab alignment
SVN revision: 41291
2009-07-10 00:05: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 81cd7f0c74 'everything' module: remember last used app for mime. should become a list though (fix exehist?)
SVN revision: 41282
2009-07-08 22:06:14 +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 5a50d049f9 'everything' module: calc: put result in primary selection AND clipboard
SVN revision: 41245
2009-07-03 16:34:33 +00:00
Hannes Janetzek 2bb8edb9be 'everything' module: no more flickering of tabs when updating input
- cleanups


SVN revision: 41243
2009-07-03 15:56:21 +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 ca0d5bcc8c 'everything' module: show on current zone
SVN revision: 41192
2009-06-25 05:56:02 +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 4d2f2b6e20 'everything' module: fix segv when launching command with no plugin selected
SVN revision: 41148
2009-06-21 21:27:33 +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 f146c0677e 'everything' module: fix segv on tab with no candidate
SVN revision: 41140
2009-06-21 15:20:15 +00:00
Hannes Janetzek d7f27c99ca 'everything' module: fix segv
SVN revision: 41139
2009-06-21 14:28:17 +00:00
Hannes Janetzek ce5ccd18d2 'everything' module: keep selected candidate when popping to previous candidate list
SVN revision: 41137
2009-06-21 10:37:12 +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 921d2bb9c0 'everything' module: set update_timer NULL on hide
SVN revision: 40973
2009-06-08 16:01:27 +00:00
Hannes Janetzek 16d95cd43f 'everything' module
- fix segv on command execution
- cleanups


SVN revision: 40967
2009-06-08 13:44:11 +00:00
Gustavo Sverzut Barbieri 34699a3ba3 fix segv: remove timer when popup is hidden/destroyed.
for quick commands (i call couple of short-named shell scripts) it was
easy to trigger the situation where timer expired after popup was gone
and E got a segv by accessing popup == NULL.



SVN revision: 40932
2009-06-07 02:02:54 +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