Commit Graph

6622 Commits

Author SHA1 Message Date
Hannes Janetzek 8d85504a49 'everything'
- cleanups


SVN revision: 42190
2009-09-02 19:46:12 +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
Christopher Michael cb2d0546d4 More API Inconsistency fixes.
SVN revision: 42165
2009-09-01 16:58:22 +00:00
Christopher Michael dd1031c82e More API Inconsistency fixes:
e_flowlayout_min_size/e_flowlayout_max_size_ changed to size_min/max
e_entry_min_size_* changed to e_entry_size_min_*
e_slider_min_size changed to e_slider_size_min_*




SVN revision: 42164
2009-09-01 16:47:09 +00:00
Christopher Michael 3e1c0d622a Fix API Inconsistency:
e_ilist_min_size_* to e_ilist_size_min_*



SVN revision: 42163
2009-09-01 16:39:10 +00:00
Christopher Michael bc639c764d More API Inconsistency fixes:
e_box_min_size_* to e_box_size_min_*
e_box_max_size_* to e_box_size_max_*



SVN revision: 42161
2009-09-01 16:29:46 +00:00
Christopher Michael 6ab63682dd Fix API Inconsistency in regards to e_widget_min_size_* . Renamed to
e_widget_size_min_* . This Large commit should fix everything in svn that is
using those functions.



SVN revision: 42152
2009-09-01 13:34:42 +00:00
Gustavo Sverzut Barbieri c3bc6b9666 everything missed EAPI, again...
SVN revision: 42140
2009-08-31 21:04:13 +00:00
Hannes Janetzek 66a5ec3e92 'everything'
- this is hopefully the last format change of history for now..
- keep the numbers low. need to add normalization when first item hits 1.0


SVN revision: 42137
2009-08-31 18:48:54 +00:00
Hannes Janetzek 2c9f3f62a3 'everything'
- need to store transient flag of history items as 
  the hash is unloaded while inactive.


SVN revision: 42129
2009-08-31 15:12:43 +00:00
Hannes Janetzek ea01d21682 'everything'
- more work on history sort
- use return for browsing only in thumb mode. 
  one needs it also to launch actions on folders.. 
- cleanups


SVN revision: 42122
2009-08-31 13:04:53 +00:00
victor 324e84908c From: victor <victor.scorpion@gmail.com>
Hi guys.

Here is my solution for #113 ticket request. This allows to transfer a
gadget to different locations. In short,

- any module can register arbitrary number of locations by invoking
e_gadcon_location_register().
- module is responsible to provide 2 functions, one for removing
particular gadget and one to add particular gadget class.
- module responsible to equip its gadcon(s) with reference to registered
location. If a gadcon contains non-NULL location reference, each gadget
contained by this gadcon can have submenu on its context menu. Template
function for constructing such submenu is provided
e_gadcon_client_add_location_menu. Gadgets can be moved from and to this
location by invoking menu items. Gadcons with NULL location reference
can accept transferred gadgets by module logic but can't send contained
gadgets to another module.
- module responsible to unregister location when gadcon is no more
available.
- menu items for context submenu is sorted by E_GADCON_SITE_XXX assigned
to that. Module can assign and change an icon for context menu item
corresponding to its location(s).
- Currently only shelves and gadman (desktop) used in gadget transfer
operations. I believe it is no trouble to ivolve any other
gadcon-capable module into the process. If you want to have that, please
just let me know.

Here the patch in attachmet. It even works, at least sometimes and at
least for me. Hope you'll find it useful.



SVN revision: 42121
2009-08-31 11:23:03 +00:00
Hannes Janetzek 6d7d2889f5 'everything'
- improve the history sort
- cleanups


SVN revision: 42120
2009-08-31 10:30:55 +00:00
Hannes Janetzek 25b3f68249 'everything'
- theme: allow smaller popup size, cleanups
- free items from history. needs some more testing
  to let the history not grow too large


SVN revision: 42119
2009-08-31 09:21:51 +00:00
Hannes Janetzek e09444abd0 'everything'
theme fix: enlarge proportionally


SVN revision: 42118
2009-08-31 02:13:19 +00:00
Rafael Antognolli e0fef817c5 'everything'
- fix build problem (possibly only occurs when builddir != srcdir)



SVN revision: 42116
2009-08-30 23:00:28 +00:00
Hannes Janetzek 29c56a53f6 Now you can enlarge everything!
SVN revision: 42113
2009-08-30 18:34:39 +00:00
Hannes Janetzek b6e36246b9 'everything'
- give exact matches higher priority 
  - i.e. type "xt" and select a specific xterm window 
    afterwards xt will put this item first in the list
- cleanup


SVN revision: 42107
2009-08-30 15:33:08 +00:00
Hannes Janetzek e53d07d09e 'everything'
remove that ugly hack


SVN revision: 42106
2009-08-30 15:19:24 +00:00
Hannes Janetzek 52b1505b2f 'everything'
wrong hash


SVN revision: 42105
2009-08-30 14:56:18 +00:00
Hannes Janetzek e6de679678 'everything'
- identify border items as transient to be removed from history on shutdown
- history_add function cleanup


SVN revision: 42103
2009-08-30 14:54:25 +00:00
Hannes Janetzek 66bfba1958 'everythin'
less aging of history items.. 


SVN revision: 42099
2009-08-30 13:53:22 +00:00
Hannes Janetzek 3c72a49090 'everyting'
reduce size of history by jsut storing the previous folder as context for files


SVN revision: 42098
2009-08-30 13:35:06 +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 b08b15d677 'everything' only show items in aggregator that match input or are in history
when more than one plugin is active


SVN revision: 42096
2009-08-30 11:07:10 +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
Iván Briano c8e998c551 Make it possible to disable the auto gdb backtrace.
SVN revision: 42093
2009-08-30 00:19:10 +00:00
Hannes Janetzek 08f2c434e3 'everything'
- draw dropshadow when e_config->use_composite is enabled


SVN revision: 42085
2009-08-29 06:29:24 +00:00
Hannes Janetzek 215cec4eb2 'everything' theme
- started to add composite mode. for dropshadow and stuff


SVN revision: 42083
2009-08-29 05:08:06 +00:00
Hannes Janetzek 477a2d2854 'everything'
- good ol' x40 revealed some performance issues with dirbrowse. fixed
- renamed state->sel_item to cur_item


SVN revision: 42082
2009-08-29 04:42:17 +00:00
Hannes Janetzek 93cf371bf2 'everything'
- add cursor left/right folder navigation back to list view + arrows for the theme
- remove old list view theme
- use ctrl+3 / ctrl++ for changing zoom level in thumb view


SVN revision: 42070
2009-08-28 10:29:21 +00:00
Hannes Janetzek 1e8112a09e remember the borders' .desktop file after restart
SVN revision: 42067
2009-08-28 09:25:36 +00:00
Hannes Janetzek b3c2986d55 e_exec: wait for openoffice to come an grab its icon
SVN revision: 42066
2009-08-28 08:37:07 +00:00
Hannes Janetzek 0ac8f51262 'everything'
- actually make the action prio sort work
- clenaups


SVN revision: 42052
2009-08-28 02:39:29 +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 a72325c9d3 'everything'
- use ecore_thread for dir dir-browse
- theme: less artificial delay


SVN revision: 42050
2009-08-27 22:58:34 +00:00
Hannes Janetzek b516d40fa5 'everything'
- keep state of view for zoom and mode when browsing
- only update non async sources when switching selectors while update timer is active
- fix 'open with' action



SVN revision: 42047
2009-08-27 20:52:14 +00:00
Hannes Janetzek da3242531c 'everything' module:
- make scrolling smooth on my old x40
- put thumb view first


SVN revision: 42038
2009-08-27 11:23:54 +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
Carsten Haitzler e020fbb290 illume2 - work, toolbart - short labels, ok
SVN revision: 42030
2009-08-27 09:26:13 +00:00
Hannes Janetzek cd01fb813b 'everything' module: enabled thumbs for selector again
.. ok the bug was on my side


SVN revision: 42004
2009-08-26 05:14:08 +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 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
Christopher Michael 01ba9b9df5 Use simpler method for testing disabled state vs what we want it to be.
SVN revision: 41996
2009-08-25 23:06:40 +00:00
Christopher Michael c6f9667e4b Formatting.
SVN revision: 41995
2009-08-25 23:04:22 +00:00
Hannes Janetzek b22805b57c 'everything' module:
- fix ctrl+letter plugins selection
- cleanups suggested by clang


SVN revision: 41994
2009-08-25 22:58:23 +00:00
Hannes Janetzek 9e8ceee1bd 'everything' theme cleanup
SVN revision: 41988
2009-08-25 21:59:46 +00:00
Hannes Janetzek 13c6a42821 'everything' module: it seems to be possible that an idler cb is called after
the idler is deleted ...


SVN revision: 41987
2009-08-25 21:58:13 +00:00
Hannes Janetzek cc9d39a388 'everything' module: changed zoom in thumb mode to ctrl+plus
SVN revision: 41983
2009-08-25 21:01:38 +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 b7a889e15b 'everything' module: make evry_plug_view_tabs plublic
SVN revision: 41980
2009-08-25 17:52:11 +00:00
Christopher Michael a616287b1a Formatting.
SVN revision: 41973
2009-08-25 11:49:46 +00:00
Christopher Michael dada3377d4 Formatting.
Whitespace Removal.
Use E_FREE for cfdata structure.


SVN revision: 41972
2009-08-25 11:23:46 +00:00
Hannes Janetzek 87b20fcc3c 'everything' apps: filter out unwanted categories
SVN revision: 41971
2009-08-25 11:19:04 +00:00
Hannes Janetzek 4dad68fc88 'everything' apps plugin:
- copied dir scanner from exebuf, finds now all the stuff that showed up in exebuf
 - should have an option to be disabled by default. most people will only use 
   -desktops anyway
- use shared hash for apps and 'open with' plugin
- added 'run command' action


SVN revision: 41969
2009-08-25 09:30:14 +00:00
Hannes Janetzek bb9a787366 'everythin'
- del import cb handler
- fix scrolling in thumb view


SVN revision: 41967
2009-08-25 06:08:54 +00:00
Christopher Michael b877f2af7a Patch from victor to fix removing modules via the "Set Contents" dialog.
SVN revision: 41966
2009-08-25 06:06:26 +00:00
Hannes Janetzek f7c44050c1 'everything'
- use separate idler to start thumbnailing


SVN revision: 41965
2009-08-25 05:15:50 +00:00
Hannes Janetzek 4f7ab36af2 another forgotten file
SVN revision: 41963
2009-08-25 04:33:16 +00:00
Hannes Janetzek 6fb9eefbe2 forgotten file
SVN revision: 41962
2009-08-25 04:26:56 +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
Cedric BAIL 6051d5f3a6 * e_gadcon.c: Fix Gadcon unpopulate. Thanks to Sachiel.
SVN revision: 41950
2009-08-24 09:17:54 +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 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 0d54921d6b 'everythin' module: cleanups
SVN revision: 41935
2009-08-23 04:22:46 +00:00
Hannes Janetzek c950586507 'everything' module: fix segv in wallpaper module
- cleanups


SVN revision: 41934
2009-08-23 04:02:36 +00:00
Christopher Michael b851ab4fc9 Don't center window when changing modes as the user may have moved it.
SVN revision: 41933
2009-08-23 03:40:25 +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
Christopher Michael ad84ddfb3e Formatting.
Whitespace Removal.
Fetch the windows evas once instead of multiple calls to e_win_evas_get.
Use E_FREE to free the config dialog structure.
Make sure the window is centered when switching between Basic & Advanced.



SVN revision: 41931
2009-08-23 02:03:30 +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
Cedric BAIL f8c05999e4 * e: Cleanup use of Eina data structure.
Patch from Peter van de Werken <pwerken-e@a-eskwadraat.nl>.


SVN revision: 41916
2009-08-21 15:08:49 +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
Christopher Michael f562bba47f Formatting.
SVN revision: 41908
2009-08-21 06:05:35 +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
Gustavo Sverzut Barbieri 5b7977946f EAPI on exported functions so -fvisibility=hidden works.
SVN revision: 41899
2009-08-20 23:40:02 +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
Christopher Michael 58d99d1c1a Ooops, remove printf
SVN revision: 41892
2009-08-20 17:49:01 +00:00
Christopher Michael 0025bcaafc Not sure why, but this didn't seem to commit...
formatting/whitespace. Use E_NEW & E_FREE


SVN revision: 41891
2009-08-20 17:43:24 +00:00
Christopher Michael e5f2239266 Formatting. Use E_NEW & E_FREE.
SVN revision: 41890
2009-08-20 16:57:59 +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
Gustavo Sverzut Barbieri 93fe3161c5 conf dialog code cleanup and "check changed" call.
I did these while hunting for "buttons not auto-enabled" but that
problem ended to be in e_widget that I fixed already. They should be
harmless, so here they go.



SVN revision: 41884
2009-08-20 11:45:33 +00:00
Carsten Haitzler 0b404ef163 illume2 thing... refactoring the code here. use at your own risk!
SVN revision: 41883
2009-08-20 08:58:29 +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 c345e7c8c8 e17: do not show shape of argb popups
SVN revision: 41867
2009-08-19 01:41: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 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
Carsten Haitzler f21dc83e4b some more todo work
SVN revision: 41837
2009-08-17 07:55:25 +00:00
Carsten Haitzler 690fd53e50 disable uevent fd handler - i thought i committed this?
SVN revision: 41836
2009-08-17 07:55:01 +00:00
Carsten Haitzler 13ced8509f move eval into 2 stages - much better for the illumes of this world.
SVN revision: 41835
2009-08-17 07:54:02 +00:00
Carsten Haitzler d58712dd80 lets sync on focus - just in case.. butit doesn't seem to help :/
SVN revision: 41834
2009-08-17 07:52:59 +00:00
Hannes Janetzek 21fa282260 'everything' module preview theme tweak
SVN revision: 41832
2009-08-17 04:25:46 +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 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 16623102f0 'everything' module: added image preview plugin
SVN revision: 41828
2009-08-17 02:11:33 +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
Carsten Haitzler 2bf799d4da and fix dropshadow flash too.
SVN revision: 41809
2009-08-16 05:08:40 +00:00
Carsten Haitzler 5f821ec54f fix redraw flashes for popus.
SVN revision: 41808
2009-08-16 05:05:59 +00:00
Hannes Janetzek ce487df7e2 'everything' module: efm action: open containing folder of any file
SVN revision: 41807
2009-08-16 04:47:43 +00:00
Hannes Janetzek 8137200311 'everything' module: added 'open folder' action for efm
SVN revision: 41806
2009-08-16 04:08:35 +00:00
Gustavo Sverzut Barbieri 30c9bc06ad widgets must emit "changed" even if they don't have parents.
this unbreaks all dialogs that were not enabling "ok" and "apply"
buttons.

bad raster, bad... =)



SVN revision: 41797
2009-08-16 00:23:38 +00:00
Hannes Janetzek 398e020750 'everything' module: cleanups
SVN revision: 41796
2009-08-16 00:13:56 +00:00
Gustavo Sverzut Barbieri 0b27802f2f whitespace and warning cleanup.
SVN revision: 41795
2009-08-15 23:53:23 +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
victor 80c339d9b0 From: victor <victor.scorpion@gmail.com>
shelf resize patch.  tnx!



SVN revision: 41789
2009-08-15 11:54:35 +00:00
Carsten Haitzler 072f4b664f fix evas error debug where passing in null objects is bad.
SVN revision: 41788
2009-08-15 11:32:32 +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 5b91bb9d58 whitespaces--
SVN revision: 41783
2009-08-15 00:36:24 +00:00
Hannes Janetzek 5945fe1c35 'everything' module: tracker: when no candidates can be fetched clear list directly
SVN revision: 41782
2009-08-15 00:31:22 +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 69dc178b13 'everything' module: ok one another
SVN revision: 41768
2009-08-14 16:40:07 +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
Iván Briano 7e4367102e Avoid blank entries in the Files menu.
Patch by manio


SVN revision: 41731
2009-08-13 03:07:17 +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 a3433ea9fa 'everything' module: dirbrowse refactor
SVN revision: 41717
2009-08-12 19:14:45 +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
Christopher Michael 435f9b1272 Fix up formatting a little.
Add function prototype.
Add __UNUSED__ to function & prototype.



SVN revision: 41713
2009-08-12 17:38:17 +00:00
Christopher Michael 162bac4cef Fix function prototypes by adding missing __UNUSED__. For some reason, the
__unused__ was in the function declaration itself, but not the prototype.



SVN revision: 41712
2009-08-12 16:49:59 +00:00
Hannes Janetzek f1fac9d0ff 'everything' module: plug tracker: find files by category.
for anything further I'll wait for tracker 0.7 as it will allow prefix matching  


SVN revision: 41707
2009-08-12 14:19:13 +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 dd0c34e4c5 'everything' module: apps: unref all .desktops
SVN revision: 41688
2009-08-11 14:00:51 +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 e19541a137 'everything' module:
- settings plug: dont show system, this duplicates items shown by apps already
- apps plug: free desktops


SVN revision: 41673
2009-08-10 18:39:11 +00:00
Christopher Michael d07e0e19a3 Revert Victor's Shelf content placement patch as some people are
experiencing problems with it...strange, worked here, but eh ;)



SVN revision: 41672
2009-08-10 18:34:07 +00:00
Hannes Janetzek 6ad37123fd 'everything' module:
- apps: add item for 'run command' _and_ 'run in terminal' 


SVN revision: 41668
2009-08-10 16:31:22 +00:00
Hannes Janetzek ff671b48dc 'everything' module:
- border plugin: match deskop->name and ->exec
- apps plugin: do not put custom commands in exehistory


SVN revision: 41666
2009-08-10 15:57:38 +00:00
Hannes Janetzek 59a8b75549 'everything' module: cleanup apps plugin
- use desktop category list directly as efreet_util_desktop_name_glob_list does not ignore case..


SVN revision: 41662
2009-08-10 15:00:41 +00:00
Hannes Janetzek 14a0654136 'everything' module: missing file, sorry
SVN revision: 41661
2009-08-10 14:43:52 +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 3250876878 'everything' module: try to get larger border icons
SVN revision: 41657
2009-08-10 12:02:10 +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
Christopher Michael 7dc51a07c9 Victor's <victor.scorpion@gmail.com> patch for
'Shelf content placement on screen resize fix'.

Tested here, no adverse effects.



SVN revision: 41637
2009-08-08 01:39:30 +00:00
Christopher Michael f40bb247d6 Bump copyright year as it's now 2009 :)
SVN revision: 41627
2009-08-06 23:37:34 +00:00
Gustavo Sverzut Barbieri 23d3ff38d9 Use new eina_list_search_sorted_near_list.
Match new api.

By: Tiago Rezende Campos Falcão



SVN revision: 41626
2009-08-06 22:35:45 +00:00
Christopher Michael b9a6167841 Remove useless variable and just use a direct object reference.
No need for _type_set to return an 'int' as we never check it anywhere, so
make the function return 'void'.


SVN revision: 41561
2009-08-02 21:10:52 +00:00
Christopher Michael 4371d3e9b8 Removed duplicated code. Use E_FREE to free pointer.
SVN revision: 41560
2009-08-02 20:44:04 +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
Christopher Michael c53fd6e204 Use E_NEW, E_FREE and EINA_LIST macros.
SVN revision: 41538
2009-07-29 19:31:41 +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
Christopher Michael 619fc7a98a Two patches from Peter van de Werken
- Hide eina_list internals by using eina macros
    - Cleanup some duplicate code

Patches slightly modified for formatting & whitespace removal.
Use eina_list internal macros in some places that were missed.



SVN revision: 41518
2009-07-28 01:33:08 +00:00
Gustavo Sverzut Barbieri f16d0a13ef fix bug with dialog resize.
This nasty bug was more evident with dialog reuse on configuration
Basic/Advanced toggle, on some resolutions like 1280x1024 it was
always reprodutible.

The problem spotted by Manio is that the dialog contents is resized
but the window is not. The bug follow is:

 * window is at some given size (640x512)
 * user toggles contents, calls e_dialog_show()
 * bg_object (window contents) is resized to MIN (!!!)
 * e_win_resize is called with MIN (so far, so good)
 * something calls e_util_win_auto_resize_fill(), size is back to 640x512
 * _e_border_eval() resizes to the last value 640x512, it's unchanged
   so _ecore_evas_x_resize() checks for size being the same and ignore,
   not even callking back fn_resize (user callback, _e_dialog_cb_resize).
 * window is at 640x512, while bg_object is at MIN, BUG!

One solution is to never change bg_object from outside
_e_dialog_cb_resize, like it's after this patch. The other is to
always call fn_resize even if it did not changed, which could lead to
lots of useless work.

By: manio
Confirmed: barbieri


SVN revision: 41515
2009-07-27 19:32:04 +00:00
Carsten Haitzler 159ac2b3f7 fix resize bug
SVN revision: 41503
2009-07-27 03:45:18 +00:00
Christopher Michael c59b1e40d8 When modules are loaded/unloaded, repopulate the toolbar with the correct
entries. This is done so that if a module is loaded/unloaded while the
Config Panel is displayed, then the Panel will maintain the proper items.

There is still a bug wrt the toolbar where when items are added/removed, the
toolbar maintains a disabled look and does not center the items.


SVN revision: 41502
2009-07-27 00:31:55 +00:00
Christopher Michael 33fe50ae6e Remove whitespace.
Use E_FREE for things created with E_NEW.
Add new function to clear the toolbar.
Add new function to return the number of the selected item.



SVN revision: 41501
2009-07-27 00:30:06 +00:00
Gustavo Sverzut Barbieri dd6ec8ed02 fix #217: enlightenment_start -profile <profile> blocks further profile changes.
We should just set E_CONF_PROFILE from command line option or e_config
startup if we did not had this set before. This is because
ecore_app_restart() will use the same parameters and profile will be
there yet.



SVN revision: 41500
2009-07-26 17:01:42 +00:00
Gustavo Sverzut Barbieri d2467580cc handle calc death and check for correct exe on stderr.
SVN revision: 41497
2009-07-25 23:53:05 +00:00
Gustavo Sverzut Barbieri e29156c909 cleanup -Wextra warnings.
SVN revision: 41496
2009-07-25 05:53:01 +00:00
Gustavo Sverzut Barbieri 64e97e62a0 battery: set force_mode so dialog shows it.
SVN revision: 41495
2009-07-25 05:30:25 +00:00
Christopher Michael 5569d56971 Give the Send To Desktop submenu the same bg previews that the main menu has
for Virtual Desktops.


SVN revision: 41494
2009-07-25 04:59:35 +00:00
Christopher Michael dcdad3e57d Remove useless printf.
SVN revision: 41491
2009-07-24 18:31:05 +00:00
Christopher Michael c71049539c Formatting.
SVN revision: 41485
2009-07-24 01:56:00 +00:00
Christopher Michael f6b5cdb13c Cleanup the OBJECT_PARANOIA_CHECK issue wrt execinfo.h. Now we always
include execinfo.h



SVN revision: 41476
2009-07-22 19:38:14 +00:00
Christopher Michael 4de27170c4 Use E_NEW and E_FREE for creating & deleting E_Theme_Result.
SVN revision: 41455
2009-07-20 14:47:40 +00:00
Christopher Michael e31f28d677 Since we are not using the returned pointer from eina_hash_find here, we can
remove the variable as eina_hash_find will return NULL is nothing is found.


SVN revision: 41444
2009-07-20 01:58:43 +00:00
Christopher Michael 230b89e8da Formatting & Whitespace Removal
SVN revision: 41443
2009-07-19 20:30:33 +00:00
Christopher Michael b0a07a8ac6 Use E_FREE for things created with E_NEW.
Formatting & Whitespace Removal


SVN revision: 41442
2009-07-19 20:26:10 +00:00
Christopher Michael 0df3f4e2d9 Formatting & Whitespace Removal
SVN revision: 41441
2009-07-19 20:16:49 +00:00
Christopher Michael e79f4205ea Add cast to char ** for wd->value to cleanup compiler warning.
SVN revision: 41440
2009-07-19 20:09:38 +00:00
Christopher Michael 94a3bcae16 Cleanup compiler warning on e_signals.c:
execinfo.h (which contains the backtrace* functions is only included
        if OBJECT_PARANOIA_CHECK is defined so add an #ifdef around those calls.


SVN revision: 41439
2009-07-19 20:08:38 +00:00
Christopher Michael ac691eb2d1 Don't need these includes here. They are already included via e.h
SVN revision: 41438
2009-07-19 19:59:39 +00:00
Christopher Michael a5051f30d9 Remove manual eina_shutdown call as it's now popped from E's shutdown stack.
SVN revision: 41431
2009-07-19 09:29:52 +00:00
Christopher Michael 9e0827a761 Formatting & Whitespace Cleanup (No Code Changes).
SVN revision: 41430
2009-07-19 09:13:39 +00:00
Christopher Michael 7b2158cfe6 Oops. Use exit(-1) instead of my tested _e_main_shutdown(-1). My Bad :(
SVN revision: 41429
2009-07-19 09:03:49 +00:00
Christopher Michael 69a0f8c84f Add missing eina_shutdown to E's main shutdown stack.
Fix formatting.
Remove Whitespace.



SVN revision: 41428
2009-07-19 08:59:20 +00:00
Christopher Michael 43e8b47bb3 Fix minor typo in comment. Nothing serious.
SVN revision: 41425
2009-07-19 02:24:12 +00:00
Christopher Michael 72f10aab04 Remove annoying printf. If you are using this to debug something, please use
#if 0 around it.


SVN revision: 41422
2009-07-18 21:10:27 +00:00
Carsten Haitzler cb99a78862 fix placement to actually respect overlay allow of shelves
SVN revision: 41376
2009-07-17 01:42:37 +00:00
Hannes Janetzek a9212e1ecf 'everything' module:
- enable app history again and added fix to not screw it up anymore. 
  maybe e_exehist_add should check that a valid entry is produced before adding it.
  ei->exe was NULL in e_exehist_sorted_list_get. need to track it down further..


SVN revision: 41357
2009-07-15 23:14:53 +00:00
Hannes Janetzek 7cce1f09c2 'everything' module:
- calc: default to truncate with scale=3, ignored when input begins with scale=X; 


SVN revision: 41353
2009-07-15 21:08:01 +00:00
Hannes Janetzek e1ce008a7e 'everything' module: calc
- truncate rest of division with scale=3
- workaround for wrong syntax issue


SVN revision: 41352
2009-07-15 20:39:33 +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
Vincent Torri d5ca129dfc rename ECORE_EVAS_ENGINE_SOFTWARE_X11 to ECORE_EVAS_ENGINE_SOFTWARE_XLIB
SVN revision: 41331
2009-07-14 21:19:30 +00:00
Miculcy Brian 8e9a06ea44 no, we can't try to kill a window on request and then expect that it is killed and hide the border...
SVN revision: 41317
2009-07-13 00:24:15 +00:00
Gustavo Sverzut Barbieri e9942f09de e_config_dialog: reuse e_dialog on changes between basic and advanced.
This patch will reuse the same e_dialog and thus window while changing
contents between basic and advanced. The benefit, among many, is to
avoid titlebar flashing like hell when you click the toggle button.

By: manio


SVN revision: 41314
2009-07-12 00:24:11 +00:00
Gustavo Sverzut Barbieri 9da81cfce6 fix e_border handling of without_border flag.
Ooops! My last changes to introduce without_border broke things, often
unnoticed but it was in the way when we requested resize of existing
window, done in the patch to reuse the e_dialog while toggling between
basic<->advanced by manio.

Thanks manio for spotting and Sachiel for the time help debugging it.


SVN revision: 41313
2009-07-12 00:21:28 +00:00
Gustavo Sverzut Barbieri 117998f8f1 gadman: use one gadcon per zone.
Before gadman was using a single gadcon for all zones, that lead to
problems like popup menus being incorrectly placed.

The correct solution is to mimic shelves and have one gadcon per zone,
including the top layer.

By: manio



SVN revision: 41312
2009-07-11 20:46:55 +00:00
Massimo Maiurana 0857b90c89 fixed a typo
SVN revision: 41311
2009-07-11 18:40:58 +00:00
Massimo Maiurana 3447c80104 updating french and italian translations
SVN revision: 41310
2009-07-11 18:05:06 +00:00
Gustavo Sverzut Barbieri f3c1679442 make it easy to run e under valgrind and debug crashes.
this should help us in near future:

  * -valgrind[=MODE], to run under valgrind and toggle interesting
     options as we often request users to give us valgrind logs but
     they're often running valgrind on wrong binaries and with wrong
     parameters. See enlightenment_start -help for more, but in sort:
     -valgrind=all should give us enough information.

  * -valgrind-log-file=path, so the log will not mix with lots of
     output we do.

  * debug: on crashes, always list traceback (execinfo/glibc
    functions) and check if gdb exists, if so ask it to print out
    traceback of all threads to stdout. gdb will be detached as soon
    as messages were printed and everything should work without gdb as
    well.



SVN revision: 41309
2009-07-11 16:27:37 +00:00
Gustavo Sverzut Barbieri df098aa052 systray: fix bad icon placement.
Some icons will change their geometry and this should be reflected on
layout.

This should fix some icons being incorrectly placed (Google Desktop,
VideoLan, Claws-Mail, ...)

By: Vincent Francois


SVN revision: 41308
2009-07-11 14:47:59 +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 5ea8617abd exebuf: fix sorting and use title from .desktop for history list
SVN revision: 41281
2009-07-08 21:39:43 +00:00
Hannes Janetzek 315133303e e17 exehist: do not add file params to exhist
SVN revision: 41268
2009-07-07 17:38:42 +00:00
Hannes Janetzek dba9cb315f 'everything' module: update exehist
SVN revision: 41267
2009-07-07 17:37:31 +00:00
Hannes Janetzek 7ffdf5a44e 'everything' module: moved things to e_mod_main.h
SVN revision: 41266
2009-07-07 16:31:10 +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
Carsten Haitzler 00819897b6 wallpaper2 - select wallpaper that is used on start
version config - literally keep the last 9 config revisions (10 including the
current) and if config gets corrupted...it auto-falls back to the last good
one.



SVN revision: 41252
2009-07-06 09:43:58 +00:00
Christopher Michael 584a95b6ad Fix comment spelling.
SVN revision: 41250
2009-07-04 19:15:34 +00:00
Hannes Janetzek 0236fd2006 'everything' module: formatting, whitespace cleanup
SVN revision: 41248
2009-07-04 11:10:28 +00:00
Christopher Michael 406acced00 Just some minor formatting.
SVN revision: 41247
2009-07-04 02:16:45 +00:00
Christopher Michael c37b22a39f Fix ticket #343 (autoscroll and resizable not being set after restart).
Formatting.
Whitespace Removal.
Variable cleanup.
Add missing 'static' declaration on private function.
Move EAPI functions to be together in the source before local functions.



SVN revision: 41246
2009-07-04 01:44:34 +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
Massimo Maiurana d96d336352 adding turkish translations for desktop files
SVN revision: 41232
2009-07-02 16:56:15 +00:00
semernin 5d24f7948e 1. New field in E_Fm2_Op_Registry_Entry named dialog, that hold pointer
to error, abort or overwrite dialogs.
2. Glyph in fileman_opinfo theme that show have or not operation linked
   filemanager window.
3. When click on operation on fileman_opinfo, then linked efm window
   raised or attention dialog if error exist.


SVN revision: 41229
2009-07-01 18:35:26 +00:00
Cedric BAIL b4c393ccea * e: Remove not correctly initialized warning.
SVN revision: 41225
2009-06-30 09:27:03 +00:00
semernin 2f76dd5d99 List of changes:
1. Gadcon sities:
      -- 'E_Gadcon_Site' enum to list all available sities,
      -- added 'is_site' callback for distinguish gadcon sities,
      -- 'e_gadcon_site_is_*' helpers written to use in gadget modules,
      -- gadcon config dialogs modified to show only gadgets that appropriate
         to selected gadcon site,
      -- all gadget modules updated for using new callback.
      
      When callback is not provided in module, then gadget can be used in 
      any gadcon site.
      
   2. Filemanager:
      -- added error icon to unexisting path dialog,
      -- added callback 'func.abort' to 'E_Fm2_Op_Registry_Entry' to specify
         abort operation sequence (if not provided, then operation is not
         cancelable),
      -- added parameter to 'e_fm2_op_registry_entry_add' to specify abort
         method on construct 'E_Fm2_Op_Registry_Entry' or make non-cancelable
         operation if this function is not provided,
      -- added 'e_fm2_operation_abort' call to cancel efm2 operation,
      -- added method '_e_fm2_operation_abort_internal' that represent efm2
         default handler of operation cancelling,
      -- 'done' and 'total' fields of 'E_Fm2_Op_Registry_Entry' changed to
         off_t type, also all message handlers modified to work with it
         (to show progress for large files correctly),
      -- improved file operation progress processing,
      -- added cancel button to operation progress gadget in filemanager window,
      -- added delete file glyph to operation progress gadget,
      -- improved status message for efm2 operation progress.

   3. Filemanager slave:
      -- fixed critical bug in message handling via stdin/stdout,
      -- fixed critical bug in removing task from list,
      -- improved 'E_FM_OP_ABORT' handling,
      -- fix rollback counting on moving files.

   4. Fileman_opinfo module:
      -- a new theme writed: status string and gadget for view operation status
         in summary and detail modes,
      -- summary mode: operation glyph, state message, progressbar, abort button,
      -- detail mode: all for summary + from filename, to filename,
      -- summary/detailed button works as trigger,
      -- added source of module theme and used images.
      
   4. Pathbar module:
      -- non-critical fix, just for safety.

   Also patch contains several minor updates to serve main task.


SVN revision: 41224
2009-06-29 14:38:03 +00:00
Massimo Maiurana ff7db5ee54 updating italian translations
SVN revision: 41220
2009-06-28 19:19:36 +00:00
Carsten Haitzler c8b26b696b more todo's done, added another tho :(
SVN revision: 41217
2009-06-27 13:27:37 +00:00
Carsten Haitzler fe98486a29 one more todo done
SVN revision: 41215
2009-06-27 11:42:46 +00:00
Carsten Haitzler 57d7920063 fix todo's for wp2 - do one.
SVN revision: 41207
2009-06-26 15:11:03 +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
Davide Andreoli 6efe302d22 * Also load icons from a given full path, not only by the theme-name.
This fix some (not showed) icons, expecially with the configmenu module.

SVN revision: 41177
2009-06-23 20:52:04 +00:00
Hannes Janetzek 3bcdd936c3 'everything' module: fix segv on open-with with custom command
- fix issue with finding .desktops for exehist items


SVN revision: 41162
2009-06-22 18:33:17 +00:00
Hannes Janetzek 9cccdd48c8 'everything' module: fix dir-browse sort ordering
SVN revision: 41154
2009-06-21 23:39:24 +00:00
Hannes Janetzek 474a5f56e1 'everything' module: mo icons
SVN revision: 41153
2009-06-21 23:25:39 +00:00
Hannes Janetzek 63d15ede2e 'everything' module: folder icon :)
SVN revision: 41149
2009-06-21 22:40:21 +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
Gustavo Sverzut Barbieri 413729a142 get zone from gadcon.
The old code that query the zone based on x,y was causing me
segfaults. When battery module was in a hidden shelf, the position was
outside any zone and then segmentation fault.

As far as I understand, gcc->gadcon->zone should always exist and
always be correct, but I don't have xinerama setup now to confirm
that.

If you know this is wrong, let me know!



SVN revision: 41147
2009-06-21 21:18:44 +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
Gustavo Sverzut Barbieri c00f5c9b06 Let's at least check for NULL pointer.
SVN revision: 41145
2009-06-21 21:14:49 +00:00
Hannes Janetzek de260634f1 exebuf: show different .desktops even if they have the same executable
SVN revision: 41144
2009-06-21 19:56:01 +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
Gustavo Sverzut Barbieri 00aa72ef47 e_fm2: avoid invalid mouse-up.
Here's another patch I've made for efm2 to fix an issue that I've
often experienced using it (in Illume) with a touch-screen
device (Freerunner).  It often happens a very strange thing: I
try to finger-scroll a bottom icon (it must be on the latest row)
moving my thumb up, well... The the scroller doesn't scroll, but
wherever and whenever I release my finger, the selected icon is
executed!

I don't really know to what is this due (the touchscreen seems to
perform correctly by the way), but I've never been able to
replicate it using a mouse in my PC.

Anyway to fix this issue, that could be specific, I've used a
workaround that I think that could be applied for all: it
basically checks if the mouse has been released in the area where
the clicked icon is, before sending a "selected" callback.

It needs the previously attached
e_fm2-single-click-delay-support.patch to be applied correctly.

Going deeply into the real issue I've made some tests, and I got
that this seems mostly due to an evas issue (I figure), since the
e_fm2's scrollframe never sets the evas event flag to:
EVAS_EVENT_FLAG_ON_HOLD
(that would avoid the un-wanted click).
After some debugging there, I've also seen that in this very
particular buggy case the _e_smart_event_mouse_up() and
_e_smart_event_mouse_move() callback functions are never
called (so I figure that evas doesn't add the callbacks at all
for the scrollframe, while they are added in the e_fm2).

Let me know what you think about this... I thing that the Om
users would need a fix like this.

By: Marco Trevisan (Treviño)



SVN revision: 41129
2009-06-20 15:54:52 +00:00
Gustavo Sverzut Barbieri cfb2df2f11 Illume now uses thresholds to avoid unwanted clicks.
Use the e_fm2 single_click_delay option in illume's e_fm2 to allow to
 configure, from the launcher settings, a click delay to prevent
un-wanted clicks.

I've added a slider to configure the delay from the settings (also if it
has some issues, check the code comments and let me know if should be
redesigned). The default value is set to 120 ms, but it works great too
for lower values.

By: Marco Trevisan (Treviño)



SVN revision: 41128
2009-06-20 15:52:00 +00:00
Gustavo Sverzut Barbieri 5fb986a05b avoid unwanted clicks on touch-screen.
avoiding the un-wanted clicks with touch-screen devices (especially if
they aren't so precise); it basically allows to set a time delay to be
awaited (pressing over an icon) before sending a "selected" callback.

Thanks to this, it could be needed a longer pressure to select an item
in the file-manager; useful for embedded/touch-based systems.

By: Marco Trevisan (Treviño)



SVN revision: 41127
2009-06-20 15:49:54 +00:00
Cedric BAIL c82f19e052 * e: Remove all reference to Evas_Data and move to Eina_Bool.
SVN revision: 41080
2009-06-17 13:46:54 +00:00
Gustavo Sverzut Barbieri be4f4af8a9 Do not evaluate deleted borders.
This bug was showing when fast toggling between advanced<->basic in
config dialogs.

Note, however, that there are a remaining alien bug with fast
toggling. It's aborting due adding evas object as member of another
from other canvas, which is not allowed. I tried to debug it and it's
REALLY weird, the advanced or basic create_widgets() are being called
twice, from inside the same function, like if the create_widgets() was
calling itself, but the code do not do that, I traced some that would
happen from e_widget_button_add()!!! Like if we had threads of were
being preempted from nowhere, really strange... seems like a stack
corruption :-(


SVN revision: 41038
2009-06-15 01:33:41 +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
Gustavo Sverzut Barbieri 2406757ec9 fix annoying bug with config dialog window layout.
as spotted by manio, toggling between "Basic" and "Advanced" mode was
making the window move (just open Theme dialog and toggle).

Manio suggested a fix by keeping window center between both modes, but
I think that given our top-left to bottom-right reading (LTR) we
better keep the title bar (x,y) intact and avoid full rescan. This can
be weird in small screens where the dialog will not be centered
anymore and that will show easily, but on regular screens this should
not be an issue.

Also spotted that it was wrong when trying to avoid window overflow
(using x instead of y).

PS: I wonder why we destroy and create the window all over again! This
is really annoying, title bar will show the focus animation and you
get lost (need to rescan it again).




SVN revision: 41004
2009-06-10 22:53:00 +00:00
Gustavo Sverzut Barbieri f6af66808f do not segv on executables that return non-zero.
if an executable returns non-zero a dialog will be present with
information, if it was a .desktop file, then it would use the "Name"
field to name the log and all.

However, the .desktop reference was deleted and the dialog would use a
bogus pointer. Now we take a reference insidethe dialog and just
release it on dialog deletion.

Found by manio, fix by me.



SVN revision: 40987
2009-06-09 16:45:59 +00:00
Gustavo Sverzut Barbieri b5d5b3378c do not segfault on empty filename to escape.
Avoid case where e_exec (and possible others) gives
e_util_filename_escape() a NULL parameter, actually another bug, but
does not hurt to safe guard this one.

By: manio



SVN revision: 40979
2009-06-09 10:25:25 +00:00
Gustavo Sverzut Barbieri 537a6e62ca use auto-resize instead of fixed dialog size.
this will help with dialogs in languages with larger labels/text.



SVN revision: 40975
2009-06-08 17:40:46 +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
Miculcy Brian a55a0e8349 fix typo
SVN revision: 40958
2009-06-07 22:13:43 +00:00
Miculcy Brian d66efb7a84 fix typo
SVN revision: 40957
2009-06-07 22:07:05 +00:00
Gustavo Sverzut Barbieri 310ce61a7e resize first, show last.
This was showing on languages with larger strings, like french.

By: Vincent François.


SVN revision: 40956
2009-06-07 21:25:34 +00:00
Gustavo Sverzut Barbieri ba1492595b efm+tabs: do not segv if toolbars are disabled.
do not crash if user request a tab but efm is not using toolbars (ie:
nav, path).

It is still producing weird results when create more than one tab.



SVN revision: 40945
2009-06-07 16:00:35 +00:00
Viktor Kojouharov c1dd656e64 remove all traces of the resize callback function. it iss not needed anymore
SVN revision: 40940
2009-06-07 08:56:16 +00:00
Viktor Kojouharov 7ed54654d1 using tab to switch between tabs
SVN revision: 40939
2009-06-07 08:54:04 +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
Gustavo Sverzut Barbieri 2af9f44b4f efm2 hal handling API - full changes.
1. Added E_FM_OP_EJECT command to e_fm_main. It unmounts volume
   before eject, if it necessary.
2. Added timeouts of mounting/unmounting/ejecting media, and
   it's moved to slave e_fm_main.c. Each timeout will generate
   *_MOUNT_ERROR, *_UNMOUNT_ERROR and *_EJECT_ERROR message.
3. Added auto mount on insert media and auto showing efm2 window
   on mount volume options to filemanager config.
4. Added mounted/unmounted glyphs to efm2 icons and track state
   code. Now each removable device have "M" glyph on icon if mounted
   and "U" when unmounted.
5. Added mount/unmount/eject commands to icon dropdown menu.
6. Russian translation of mew messages.
7. Other bugfixes and improvements for co-operation.

Now, efm2 contains all code to mount/umnount/eject removable media and
all code to provide corresponding user interface.
It can working independently from 'places' or co-operate with it.

By: Sergey Semernin



SVN revision: 40928
2009-06-07 00:00:41 +00:00
Gustavo Sverzut Barbieri 987192c54d fix bugs of gadgets using incorrect zones.
I found strange behavior in my configuration (xinerama - two screens
with two zones). When i select a Enlightenment->Restart from menu the
popups for gadgets on desktop doesn't appear or appear wrongly. After
some time i've found that this depends on on from what screen i am
choosing this enlightenment->restart :)

After some debugging i figured it out:

When restarting enlightenment some gadgets (i.e. calendar) are calling
e_gadgon_popup_new(). Inside that function, zone for popup window
(this zone was used later in ecore_evas_move_resize) is calculated
like that:

{{{
zone = e_util_zone_current_get(e_manager_current_get());
and in e_manager_current_get is: ecore_x_pointer_xy_get()
}}}

... so - i have my answer why restaring from one screen (cursor was on
that screen) and from second screen i have different results...

In other words: during initializing module like calendar - created
zone for popup is assigned depending on current cursor position.

In my patch i've chage this to obtain zone using the gadget position
instead.  But it solves the problem partialy.

Next thing - in function:

e_gadget_popup_show() (which is called later) when calculating popup
position coordinates was calculated using zone:

{{{
pop->gcc->gadcon->zone
}}}

which in my case was always the first (initial) zone - (of course it
was wrong, because i put a gadgets on different screens for testing).
so i changed it to zone of popup window (which was calculated before,
in e_gadgon_popup_new()) and after that everythings works ok :) Zones
for popups are correctly assigned and popups calculation are also ok -
even after restaring enlightenment (tested with cursor on both
screens).

By: manio



SVN revision: 40927
2009-06-06 23:40:58 +00:00
Gustavo Sverzut Barbieri 9a8c1a0e44 fix exebuf so it will execute what it should.
Run Command (module exebuf in e) was acting strange for me. I
have .desktops for Firefox and Firefox - Safe mode (well, at least a
menu entries for them), and when I entered "firefox" in the input box,
and choose the command "firefox" from the list under the input field,
exebuf was starting Firefox - Safe Mode (it was the only one showed in
the upper list - "Firefox" was not listed there).
This patch fixes it (the lower selected, upper started problem, not the
"Firefox" is not there one) for me.

By: Tomasz Kontusz


SVN revision: 40926
2009-06-06 23:35:10 +00:00
Gustavo Sverzut Barbieri 128126a732 fix typo that would use the incorrect window border icon.
SVN revision: 40906
2009-06-05 18:50:05 +00:00
Viktor Kojouharov 293b3d41dd e_gadcon_popup now responds to changes in the content's size hint changes, and resizes itself accordingly.
with this, the resize func will no longer be needed, if users of the popup set the size_min hint of the content of the popup.


SVN revision: 40864
2009-05-31 15:48:26 +00:00
Christopher Michael 15bfce009e Use E_FREE for _xdnd, created with E_NEW.
SVN revision: 40836
2009-05-26 16:02:49 +00:00
Christopher Michael 7c78ec900e Formatting. Add missing void in function declaration.
SVN revision: 40835
2009-05-26 14:44:19 +00:00
Viktor Kojouharov 0c1f13b9c3 do full size calc when the content is set, not when it is shown
SVN revision: 40813
2009-05-24 10:02:56 +00:00
Christopher Michael 575c1f43a0 Formatting & Whitespace Removal
SVN revision: 40753
2009-05-19 22:53:46 +00:00
Christopher Michael 56c5dda8e5 Lots of formatting, & Whitespace Removal
SVN revision: 40752
2009-05-19 22:50:35 +00:00
Massimo Maiurana 4147c5156d updating french and italian translations
SVN revision: 40727
2009-05-18 15:35:17 +00:00
Gustavo Sverzut Barbieri 804f59e6e5 fix problem with e_gadcon_provider_register() being called from e_modapi_init().
if e_modapi_init() called e_gadcon_provider_register() the module
gc_init() would be called immediately, becore e_modapi_init() finished
and thus mod->data was unset (it's set by E when that function
returns).

most modules did not show this problem since they keep lots of globals
around and use them, but not mixer module. Mixer module did check for
global mixer_mod to be set and also mixer_mod->data, thus exposed this
problem, with "mixer is not able to show on desktop/gadget" but did in
shelves, since it would refuse to load immediately but would be loaded
later at e_shelf_config_new()->e_gadcon_populate().

Now gadcons are populated from an idler, avoiding all these problems
and probably will impact user's perceived load time since it will do
less work before getting to main loop and being able to process
events.


SVN revision: 40714
2009-05-17 23:43:02 +00:00
Viktor Kojouharov 85c73ac42f skip the history when doing a quick 'open with'
SVN revision: 40713
2009-05-17 21:54:34 +00:00
Gustavo Sverzut Barbieri f583aca207 fix xinerama monitor sorting.
xinerama monitor sorting should consider position and not just size.

Patch by manio, modified to handle y axis as well.



SVN revision: 40712
2009-05-17 21:35:01 +00:00