Commit Graph

316 Commits

Author SHA1 Message Date
Lucas De Marchi b7cbb20980 Use ecore_time_unix_get() when absolute value is needed
SVN revision: 52827
2010-09-27 22:38:40 +00:00
Lucas De Marchi 25113159a5 Fix common misspellings
Some misspellings were manually reverted since in E there are tons of .po with
phrases in other languages. Other than that all the changes in the following
files were reverted:

 * src/modules/illume/dicts/English_(US).dic
 * src/modules/illume-keyboard/dicts/English_(US).dic


Following misspellings were fixed:

acquited->acquitted
adres->address
adress->address
alreayd->already
aquire->acquire
arbitarily->arbitrarily
cant->can't
Capetown->Cape
carefull->careful
causalities->casualties
Celcius->Celsius
certian->certain
commandoes->commandos
considerd->considered
conveyer->conveyor
dependant->dependent
didnt->didn't
discontentment->discontent
doesnt->doesn't
everytime->every
exemple->example
existance->existence
existant->existent
existince->existence
Farenheit->Fahrenheit
forbad->forbade
funguses->fungi
guage->gauge
guerilla->guerrilla
guerillas->guerrillas
happend->happened
hasnt->hasn't
heros->heroes
inbetween->between
independant->independent
inital->initial
intrusted->entrusted
irregardless->regardless
isnt->isn't
knifes->knives
layed->laid
loosing->losing
marrage->marriage
midwifes->midwives
miniscule->minuscule
monickers->monikers
mroe->more
noone->no one
occured->occurred
omre->more
paralell->parallel
payed->paid
planed->planned
quitted->quit
quizes->quizzes
seperated->separated
seperate->separate
shoudl->should
similiar->similar
simplier->simpler
specifiying->specifying
teh->the
toke->took
torpedos->torpedoes
Tuscon->Tucson
unecessary->unnecessary
useage->usage
usefull->useful
useing->using
waht->what
wanna->want
whith->with
wich->which
withing->within




SVN revision: 52006
2010-09-08 23:59:07 +00:00
Hannes Janetzek 6859f75f5a evry gadget: fix placement
SVN revision: 51681
2010-08-27 16:48:50 +00:00
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Hannes Janetzek ff4217be1c fix hide popup on mouse click
SVN revision: 49744
2010-06-18 18:59:49 +00:00
Hannes Janetzek f67ca62892 should now popup in the right zone
SVN revision: 49742
2010-06-18 14:19:33 +00:00
Hannes Janetzek 51e29b8873 fix segv with delete_me states
SVN revision: 49659
2010-06-13 01:05:24 +00:00
Hannes Janetzek 5f9d1e71c5 use override redirect window
SVN revision: 49571
2010-06-08 14:46:39 +00:00
Hannes Janetzek 4b5cb7836c handle shaped themes again
SVN revision: 49468
2010-06-05 12:24:45 +00:00
Hannes Janetzek 6e5fdf1ec5 cleanup open windows on shutdown
SVN revision: 49455
2010-06-04 20:01:30 +00:00
Hannes Janetzek c197c02360 allow multiple evry instances. just for testing atm: use F1 to drag-off popup.
fix segv: keep state until cleared. ignore events from delete_me states


SVN revision: 49453
2010-06-04 19:32:59 +00:00
Hannes Janetzek e31dc4ee77 added Plugin_Selected event
SVN revision: 49403
2010-06-02 23:19:02 +00:00
Hannes Janetzek 52c49cefb3 matches_update: deselect current plugin if it does not provide items
SVN revision: 49381
2010-06-01 20:24:15 +00:00
Hannes Janetzek fa92eda759 evry start icon gadget, not finished but works
SVN revision: 49371
2010-06-01 14:26:09 +00:00
Hannes Janetzek 0638007a59 fix bug with browsing folders: create view also when there is no plugin
SVN revision: 49365
2010-06-01 02:01:01 +00:00
Hannes Janetzek abaa7c3627 refactor matches/plugin_update, fix aggregator to always be first, cleanups
SVN revision: 49359
2010-05-31 21:15:32 +00:00
Hannes Janetzek c493357679 - fix switching to object selector
- dont add plugins twice in browse_item
- enable plugins plugin



SVN revision: 49336
2010-05-30 21:44:20 +00:00
Hannes Janetzek 711818a427 keep aggregator in front of plugins list
SVN revision: 49335
2010-05-30 19:48:03 +00:00
Hannes Janetzek 5dad426676 switch aggregator and action plugins to create new instances in _begin.
action plugin is no special selector plugin anymore
added 'plugins' collection plugin. dont use! some plugins must be converted
to return new instances in begin. 
fix leak in browse_item function 
fix aspell config path
cleanups


SVN revision: 49333
2010-05-30 19:16:33 +00:00
Hannes Janetzek 6c2d69f724 finish all plugins
SVN revision: 49303
2010-05-29 15:04:18 +00:00
Hannes Janetzek 9d978f7055 fix segv in browse_item
SVN revision: 49288
2010-05-29 11:17:15 +00:00
Hannes Janetzek a1fbb586f1 - use parents' plugin config when browsing
- hide aggregator when no items to aggregate


SVN revision: 49264
2010-05-28 23:30:24 +00:00
Hannes Janetzek 249e926a61 initial config dialog for collection
suff mentioned in last commit msg


SVN revision: 49263
2010-05-28 23:02:27 +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 b7962efbbc fix segv on double click when actions were not already fetched
cleanups


SVN revision: 49241
2010-05-27 21:10:20 +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 52932a174a make return behavior consistent: always browse item.
cleanup selectors_switch: dont switch automatically back to subj selector
cleanups 


SVN revision: 49233
2010-05-27 14:30:12 +00:00
Hannes Janetzek 06bfeb30a0 dont use mouse out hide timer for edge popup. add config option later
reduce slide resistance


SVN revision: 49227
2010-05-27 09:42:16 +00:00
Hannes Janetzek c796422e36 drag-n-slide fixes.
animate slideing to next selector


SVN revision: 49220
2010-05-26 23:57:48 +00:00
Hannes Janetzek 253d8be915 added e action for edge bindings. preferable to be used with theme from trunk/THEMES/evry-theme
thumb mode zoom now between 96/128/256
dont sort non-tolevel plugins in front of other items
make text plugin non-top level, so that it is always reachable. e.g. when you want to search the type text with google etc


SVN revision: 49207
2010-05-26 15:09:51 +00:00
Hannes Janetzek 6452707656 reuse _evry_view_slide_clear
SVN revision: 49191
2010-05-24 23:00:04 +00:00
Hannes Janetzek e8f915ae2e remove testing code
SVN revision: 49190
2010-05-24 22:48:19 +00:00
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 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 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 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 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 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 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 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 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 faeb840bdb fix automatic switching to object selector when action requires object
SVN revision: 48802
2010-05-13 04:42:22 +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 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 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 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 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 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 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 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 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 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
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 e82f19ceb9 'everything' fix last commit
SVN revision: 48320
2010-04-25 22:12:54 +00:00
Hannes Janetzek 34a524d8ba 'everything'
- history: lower priority when context doesnt match
- update actions only when current item changed with update_matches


SVN revision: 48319
2010-04-25 21:46:36 +00:00
Hannes Janetzek 50072b9ecd files: added copy and move action
- fix 'open with' action opened things wice


SVN revision: 48317
2010-04-25 19:37:30 +00:00
Hannes Janetzek 8cafc5cebb 'everything'
- allow multiple selection of and action on items, use ',' ctrl+ , ctrl- for marking items
  - only those selected items will be used that match the type of action.
  - TODO: filter which actions should not be used with multiple candidates
- files: added dir monitor and trash action


SVN revision: 48312
2010-04-25 16:26:13 +00:00
Hannes Janetzek bf72bd5171 'everything' keep right input position on backspace
- set context for calc items (usually one one wants to copy its text items instead of googling it)


SVN revision: 48302
2010-04-25 12:01:20 +00:00
Hannes Janetzek 6a44bba411 'everything' faster dirbrowsing: use 'd_type' when available.
- added '.' trigger to show hidden files, '..' to show parent dirs
- fixed plugin_autoselect
- files: fix warning 


SVN revision: 48299
2010-04-25 11:00:53 +00:00