Commit Graph

6284 Commits

Author SHA1 Message Date
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