Commit Graph

72 Commits

Author SHA1 Message Date
Carsten Haitzler c29dd0f5cf everything- ensure we dont skip over past end of string for fuzzy match 2019-08-20 23:55:17 +01:00
Carsten Haitzler 7ab9466f77 everything - fix string index mishandle that causes segv's
also ensure we nuke time rhandles too - spotted that. this is a real
issue asan found and yomi first pointed at. reproduced, found, fixed.

@fix
2019-08-08 09:24:10 +01:00
Carsten Haitzler fd26c7b224 evry - handle invalid chars in filters nicely and stop string walking
possible issue lurking if a utf8 char sequence has invalid content ...
avoid it.
2019-08-07 21:16:12 +01:00
Carsten Haitzler f91086be7d evry module - fix warning about comparing signed to unsigned
harmless warning - use a cast to keepit quiet.
2017-02-12 16:25:35 +09:00
Carsten Haitzler 3779086a63 e icon - use new skip header async preload to make icon loads async
now they can be trule async hopefully stopping things like application
menu from stalling while loading icons header... which is really nasty
with svg's. this actually makes icons async by default which is really
EXACTLY what you want. this also prepares for later making edje loads
async.

@feature
2017-01-02 09:51:57 +09:00
Mike Blumenkrantz 471dcb24cb __UNUSED__ -> EINA_UNUSED
this has been bugging me forever. __UNUSED__ is no longer a valid macro here.
2015-03-18 18:09:09 -04:00
Mike Blumenkrantz 09ec213a31 remove e_util_zone_current_get() usage 2015-03-13 17:58:45 -04:00
Mike Blumenkrantz 3c5cc9c0a0 fix a series of oob reads in evry search matching 2014-07-30 11:57:32 -04:00
Mike Blumenkrantz 7ccba3bdc3 null check _evry_items_sort_func() for users with broken systems
fix T1125
2014-03-27 16:47:19 -04:00
Mike Blumenkrantz b83cbdd100 bugfix: evry string matching now handles UTF8
T152
2014-02-21 17:19:01 -05:00
Mike Blumenkrantz 4078be3fab fix icon finding for evry mime types
ticket #1988


SVN revision: 80810
2012-12-13 10:34:52 +00:00
Mike Blumenkrantz 2434f5adbe more PATH_MAX cleanups
SVN revision: 75520
2012-08-22 07:32:12 +00:00
Mike Blumenkrantz 0cc0f8c658 ATTN: JEFFDAMETH!
YOUR CODE FORMATTING IS BROKEN! PLEASE FIX THIS IN YOUR EDITOR ASAP!


SVN revision: 65704
2011-11-30 03:32:54 +00:00
Gustavo Sverzut Barbieri b4572fddde everything: gadget icon and minor cleanups.
SVN revision: 65111
2011-11-13 00:07:35 +00:00
Hannes Janetzek d1caae1da8 e17/evry: show plugin list in gadget settings
SVN revision: 63954
2011-10-10 09:33:37 +00:00
Hannes Janetzek 9f6e4a581d e17/evry: api change: recompile exrta evry modules.
- more work on evry gadget for illume (only works with tablet profile)


SVN revision: 63097
2011-09-02 23:02:26 +00:00
Hannes Janetzek 034e60d9d5 e17/evry:
- evry gadget now shows a window that works with illume for keyboard input
- added app menu browser
- evry_icon_get refactoring 


SVN revision: 62518
2011-08-16 23:26:07 +00:00
Hannes Janetzek 71d65ca3d1 set load size for fdo icons
SVN revision: 57137
2011-02-17 20:21:53 +00:00
Hannes Janetzek 92a078ac32 get larger icons by temporarily changing e_scale
SVN revision: 57131
2011-02-17 19:53:09 +00:00
Hannes Janetzek afade15978 use icon lookup order also in everything
SVN revision: 57128
2011-02-17 14:37:10 +00:00
Hannes Janetzek e9e9c7a066 fix warning/unsued stuff
keep refs to .desktops of recently used apps


SVN revision: 56272
2011-01-23 22:34:28 +00:00
Hannes Janetzek 5d4d9705e8 enable icon preload
SVN revision: 56270
2011-01-23 17:59:25 +00:00
Sebastian Dransfeld 3d1a299e06 Let efreet icon return const
We return a pointer to an internal cache, so no need to do strdup. I we
implement a cache, the pointer will be a return from a mmap'ed file, so
no need to do strdup.

A bit late to do an API break, but must be done.

SVN revision: 54372
2010-11-09 20:15:55 +00:00
Hannes Janetzek b40c8d43bf fix exec files with executables. fixes xdg-open fallback of websearch
SVN revision: 49396
2010-06-02 18:46:38 +00:00
Hannes Janetzek b2de5ef2ef added evry_plug_collection which can hold other plugins.
- currently only registers 'Start', 
- TODO config dialog to create and edit collections

settings plugin: added config categories.

view: double click on browsable items now browses it.
- click action to run or right click to run and continue




SVN revision: 49255
2010-05-28 20:32:07 +00:00
Hannes Janetzek 4bc1ed355e - fix sliding back from list with no items
- allow direct sliding back. i.e. no need for mouse up and down again
- fix theme path to /modules/everything


SVN revision: 49236
2010-05-27 20:25:09 +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 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 793c4ae7ce cleanup. EAPI no longer required
SVN revision: 49134
2010-05-22 08:05:25 +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 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