Commit Graph

6280 Commits

Author SHA1 Message Date
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
Gustavo Sverzut Barbieri 97de98a66e Make fallback to parent dir when no permissions.
Now, when "open dirs in place" is active and user haven't permission to
open dir, efm2 fallback to parent directory. Also other events (for ex.
delete)
on dirs opened in efm will cause go to it's parents in efm windows.

Patch to ticket #273.

By Sergey Semernin.



SVN revision: 40711
2009-05-17 21:30:15 +00:00
Gustavo Sverzut Barbieri 6bc8ae5aa6 Improvements to fileman's "open with..." dialog.
Patch originally by manio, with minor changes.


SVN revision: 40710
2009-05-17 21:22:14 +00:00
Christopher Michael d3573bb3da Remove unneeded variables.
SVN revision: 40706
2009-05-17 16:01:41 +00:00
Massimo Maiurana 86f389fd03 updating esperanto translation
SVN revision: 40687
2009-05-17 07:47:15 +00:00
Christopher Michael e56d841f6a Remove need for extra variables. Use E_NEW & E_FREE.
Cleanup Formatting. Remove Whitespace.


SVN revision: 40682
2009-05-15 19:53:25 +00:00
Christopher Michael 898b6f3cae Fix typo, Thanks Viktor :)
SVN revision: 40681
2009-05-15 18:25:55 +00:00
Christopher Michael 6fd36aa8b4 use E_NEW & E_FREE macros
SVN revision: 40680
2009-05-15 18:11:41 +00:00
Christopher Michael 3f11b601c6 Remove some unneeded variables. Formatting & Whitespace removal.
SVN revision: 40679
2009-05-15 17:59:02 +00:00
Carsten Haitzler 87842cb5e7 several patches from sergey etc.
SVN revision: 40668
2009-05-15 11:47:28 +00:00
Cedric BAIL 1f059b500f * wallpaper2: Prevent the creation of the idler instead of forcing it's destruction.
SVN revision: 40645
2009-05-14 16:37:07 +00:00
Carsten Haitzler 8d8687beae some rabid idle enter checks
SVN revision: 40642
2009-05-14 14:28:44 +00:00
Gustavo Sverzut Barbieri 609964ff1a unbreak pager and mouse wheel.
pagers should not rely on events on the edje object as it might get
lots of event replicas if there is a chain of swallows/groups/smarts
and they repeat events.

the new theme exports an e.eventarea part that will get the events and
pager will try to use it, if not fallback to the old behavior.

I cannot test this now, please say if it does not work.



SVN revision: 40616
2009-05-13 11:38:12 +00:00
Gustavo Sverzut Barbieri 4b229ee6da integrate systray translation/gettext into e17.
SVN revision: 40613
2009-05-13 01:28:11 +00:00
Gustavo Sverzut Barbieri e7d14ee3ef remove useless defines.
SVN revision: 40612
2009-05-13 01:27:20 +00:00
Gustavo Sverzut Barbieri 2db93a335f pass make distcheck, set svn:ignore.
SVN revision: 40611
2009-05-13 01:11:32 +00:00
Gustavo Sverzut Barbieri bf3c0ad3a5 finish systray merge to e/src/modules.
systray is now officially supported (at least by me :-P) and is
included in standard e17 module set.



SVN revision: 40610
2009-05-13 00:45:21 +00:00
Gustavo Sverzut Barbieri 4a30e53e1d first step to move systray to e/src/modules.
SVN revision: 40609
2009-05-13 00:06:08 +00:00
Gustavo Sverzut Barbieri 66efea30a0 remove unused/undefined variables, these are in their own dir now.
SVN revision: 40601
2009-05-12 14:43:32 +00:00
Massimo Maiurana 461b560cde adding esperanto translation
SVN revision: 40595
2009-05-11 16:54:12 +00:00
Carsten Haitzler e59ed55f2f remove norender. bad move!
SVN revision: 40568
2009-05-09 11:58:52 +00:00
Carsten Haitzler 3036531147 mount by label first - more useful in real life
SVN revision: 40566
2009-05-09 10:26:12 +00:00
Viktor Kojouharov 648d75caab Larger backgrounds can now be set to scroll whenever a E changes between desks. Kind of like a transition, but uses only one (the first desk's), larger wallpaper instead of several wallpapers for all desks, and it overrides the transition settings if activated.
The option can currently be activated from Virtual Desktops Settings -> Advanced. A better home and preview would be better for these settings.

In more detail, this option can make a wallpaper, larger than the geometry of the zone, scroll appropriately with each desk change. Consider a nice panorama picture, which is as wide as the total desks' width. Then, at most, E will scroll the background by 1 / (number of desks) for each desk change. The direction of the scrolling is dependent on the desk change itself. Also, the user can specify a coefficient of maximum scrolling for each axis. If the coefficient is 0, the wallpaper will not move.

More advanced animations can be constructed with edje. The data item "directional_freedom" "(1|0) (1|0)" can toggle the actual wallpaper scrolling done by E for each axis. A message with the current x/y position, panning w|h, and zone w|h is sent to the background edje with each desk change animation tick. An example embryo script that handles the message, and changes a hypothetical "a1" part in the "e/desktop/background" group is shown below:

         public message(Msg_Type:type, id, ...) {
            if (type == MSG_INT_SET) {
               new x = getarg(2);
               new y = getarg(3);
  //	     new max_x = getarg(4);
  //	     new max_y = getarg(5);
  //	     new w = getarg(6);
  //	     new h = getarg(7);
               custom_state(PART:"a1", "default", 0.0);
               set_state_val(PART:"a1", STATE_FILL_POS, 0.0, 0.0, -x / 4, -y / 4);
               set_state(PART:"a1", "custom", 0.0);
            }
         }




SVN revision: 40543
2009-05-07 18:39:55 +00:00
Carsten Haitzler 9825672529 make bg's deletes when not visible - bettr if you have 1000+ bg's
:)



SVN revision: 40534
2009-05-07 13:27:11 +00:00
Hannes Janetzek 4d24d0eafb everything module: remove old files
SVN revision: 40528
2009-05-06 14:49:01 +00:00
Hannes Janetzek cd647efc07 initial checkin of 'everything' module with sources for apps, windows and settings
SVN revision: 40526
2009-05-06 14:20:45 +00:00
Gustavo Sverzut Barbieri 080c0be517 minor improvements to dialogs asking to enter presentation mode.
SVN revision: 40521
2009-05-06 12:00:19 +00:00
Carsten Haitzler 4fa7de4c9c 1. fm rename in-place patch. ok for now - probably should fix it up later
2. config module fix



SVN revision: 40508
2009-05-05 14:27:28 +00:00
Massimo Maiurana 586ef62d8d another little typo to fix
SVN revision: 40461
2009-04-29 15:39:00 +00:00
Massimo Maiurana 153904f98d fixed a little typo
SVN revision: 40460
2009-04-29 15:36:12 +00:00
Viktor Kojouharov f0936b5b5b disable the slider if flip animations are off
SVN revision: 40455
2009-04-28 21:01:20 +00:00
Viktor Kojouharov d9f453e443 improvements to the tabbed e_fwin. changing tabs will not cause a reload, since each tab holds its own fm object.
ctrl+w will close the current tab. if there are no more tabs, the window will be closed


SVN revision: 40447
2009-04-28 17:38:09 +00:00
Massimiliano Calamelli 5f4f968653 Added #define _POSIX_HOST_NAME_MAX for OSes that don't know it (NetBSD in detail)
SVN revision: 40445
2009-04-28 15:50:32 +00:00
Christopher Michael 06692e1e18 Lots of formatting fixes. Clear the text label in the pager desks if
Show Desktop Names is not enabled. Currently, any changes made to the 
pager module config require the pager module to be restarted (or E 
restarted). This should be addressed before a 1.0 release.


SVN revision: 40443
2009-04-28 15:29:56 +00:00
Iván Briano 04177353ea Share some strings
SVN revision: 40426
2009-04-28 02:19:07 +00:00
Iván Briano e2b5c2e968 trailing spaces
SVN revision: 40425
2009-04-28 01:49:17 +00:00
Christopher Michael 022e23f4cb Formatting & Whitespace removal
SVN revision: 40417
2009-04-27 15:42:43 +00:00
Gustavo Sverzut Barbieri ddd175a2f2 Ask to enter presentation mode.
If you deactivate screensaver (ie: move mouse) or unlock desklock
within some given threshold, ask user if he would like to enter
presentation mode or even if should increase timeout to next event.

This is also useful when at the office and you quickly move mouse in
order to keep your explanation. If you know your explanation is short,
just hit "increase timeout", otherwise "Yes" to increase timeout.

Increase timeout is a multiplier that will increment the factor on
each dialog answer.

There is an option to stop asking. This can be changed in "Advanced"
versions of screensaver and desklock dialogs.



SVN revision: 40414
2009-04-27 02:54:43 +00:00
Gustavo Sverzut Barbieri f7b1ad0f9b Option to enable desklock after screensaver timeout.
This option will make it possible to lock the screen after some
seconds screensaver started.

It is useful in cases you want a short screensaver and uses screenlock
but often need to unlock it quickly (ie: was talking to someone at the
office, screensaver starts and you would like to quickly avoid
desklock, otherwise need to stop talking, unlock and continue).



SVN revision: 40413
2009-04-27 02:49:50 +00:00
Gustavo Sverzut Barbieri b045f6a244 fix typo.
SVN revision: 40388
2009-04-25 22:12:13 +00:00
Gustavo Sverzut Barbieri 04b88fea5f actions to toggle new modes.
SVN revision: 40385
2009-04-25 20:54:12 +00:00
Gustavo Sverzut Barbieri 7120b06df7 proper alignment when there is non-autohide shelves.
SVN revision: 40384
2009-04-25 18:49:39 +00:00
Gustavo Sverzut Barbieri 8f923e67c1 new special case for desklock wallpaper.
desklock now can use the same wallpaper as desktop, this is what I use
and was annoyed to have to remember to change in both places.


SVN revision: 40383
2009-04-25 18:32:34 +00:00