Commit Graph

8994 Commits

Author SHA1 Message Date
Hannes Janetzek 27a83bce9f e17: possible focus fix: wait for windows focus_in event also if it does not !take_focus
SVN revision: 57705
2011-03-12 16:59:02 +00:00
Hannes Janetzek c12717050e e17: fix focus new window with click to focus. delay setting focus again
SVN revision: 57704
2011-03-12 16:24:37 +00:00
Hannes Janetzek abb627d2b4 e17: raise border in window_desk_move_by action
SVN revision: 57703
2011-03-12 15:09:49 +00:00
Massimo Maiurana ca72bdc928 updating german translations
SVN revision: 57698
2011-03-11 22:17:19 +00:00
Hannes Janetzek c687dbc120 e17/evry: now that efreet icons are cached fetch more in one idler cycle
SVN revision: 57692
2011-03-11 14:16:01 +00:00
Hannes Janetzek c48f99a609 e17/comp: dont set visible until !cw->hidden_override.
trying to fix an infinite loop in when new window is added that is directly set to cw->hidden_override


SVN revision: 57689
2011-03-11 12:15:41 +00:00
Hannes Janetzek 3f610a161e e17: allow window manipulation for any type of window maximize policy when 'allow maipulation of maximized windows' is enabled
fixing http://trac.enlightenment.org/e/ticket/430


SVN revision: 57681
2011-03-10 20:58:55 +00:00
Hannes Janetzek a513603dff e17: on _NET_ACTIVE_WINDOW client message: only switch to desk if border is not sticky
SVN revision: 57676
2011-03-10 16:52:22 +00:00
Hannes Janetzek 267f8d52f5 e17: focus: on focus_set promote border in focus_next even if it has already focus.
this fixes the problem when within one mainloop iteration the currently focused
border is unfocused and refocused.


SVN revision: 57674
2011-03-10 16:23:57 +00:00
Hannes Janetzek 8caac494bd e17/comp: dont run into infinite loop on show_ready when hidden_override is set
SVN revision: 57672
2011-03-10 15:14:14 +00:00
Hannes Janetzek fa53c967b7 e17: fix comp test message handler visible.src -> visibility.src
SVN revision: 57671
2011-03-10 14:50:04 +00:00
Hannes Janetzek f3b8b6ccb7 e17: remove redundant checks. lock_focus_out is check in e_boder_focus_set*
SVN revision: 57648
2011-03-10 02:44:02 +00:00
Hannes Janetzek c51acd3708 e17: set focus at the end of border_idler_before to the last focused window.
No need to sync ecore_x_window_focus then. in next mainloop 
iteration all requests should have been processed by X, or doesnt it? 


SVN revision: 57647
2011-03-10 02:29:01 +00:00
Hannes Janetzek a22406c43c e17: fix the lost keyboard focus after adding a binding key. not sure what was really goind on though
http://trac.enlightenment.org/e/ticket/595


SVN revision: 57646
2011-03-10 01:56:20 +00:00
Hannes Janetzek dd0bd7bce3 e17/evry-apps: fix: check string length before strncpy to not be negative
SVN revision: 57645
2011-03-10 01:18:03 +00:00
Hannes Janetzek 1925cec0c6 e17: fix the rare case that the last focused border had lock_focus_out. try next instead of break
SVN revision: 57644
2011-03-10 00:04:31 +00:00
Hannes Janetzek 800be7c985 e17: fix, remove duplicated line
SVN revision: 57637
2011-03-09 22:07:32 +00:00
Hannes Janetzek ece72e1596 e17: take sticky windows state into account in e_desk_last_focused_focus
SVN revision: 57636
2011-03-09 20:30:22 +00:00
Hannes Janetzek ce5cf84240 e17: fetch netwm state ealier so netwm.state.modal is set before used in icccm.fetch.client_leader case
SVN revision: 57623
2011-03-09 13:28:31 +00:00
Hannes Janetzek d8929994b4 e17: simplify e_border_focus_set logic and fix (some) focus issue with
not focusing the last active window after deskswitch


SVN revision: 57622
2011-03-09 13:15:33 +00:00
Hannes Janetzek 915cf71368 e17: handle ooffice _net_active window messages specifically
SVN revision: 57610
2011-03-09 03:09:59 +00:00
Miculcy Brian c695554642 allow to change layer when locking border position
SVN revision: 57609
2011-03-09 00:05:03 +00:00
Hannes Janetzek d11a154acf e17: disable pointer warp on _net_active_window client message
SVN revision: 57608
2011-03-08 23:09:09 +00:00
Sebastian Dransfeld 905098b0e2 e: No need to snprintf a static buffer
SVN revision: 57578
2011-03-08 11:41:53 +00:00
Andreas Volz 38766e9942 enable E to configure a another user path then ~/.e for special use cases
SVN revision: 57539
2011-03-06 10:31:44 +00:00
Hannes Janetzek 770b48d12d e17/comp: disable reuse of old comp_win for borders switching frame window for now.
bad things can happen with internal windows when switching rgb/argb frames. 
need to check it tomorrow.


SVN revision: 57517
2011-03-04 00:34:39 +00:00
Hannes Janetzek 48f84b70f3 e17/comp: wait for first damage on win_show.
this fixes pixel garbage with many gtk menus.
are there any windows that dont create damage on show?


SVN revision: 57513
2011-03-03 23:58:30 +00:00
Hannes Janetzek f0657e77f2 e17/comp: set smooth scaling of mirror objects according to config
SVN revision: 57511
2011-03-03 23:49:11 +00:00
Hannes Janetzek 9a0a0905d5 e17/comp:
- remove mirror object from cw->obj_mirror when object is deleted
- stack the mirror object relative to the original. just handy
- allow to set hidden_override. typo?
- reuse comp_win for borders that switched between argb/rgb frame


SVN revision: 57510
2011-03-03 23:36:54 +00:00
Boris Faure 7c6caaa267 e: fix variable scope + indenting
SVN revision: 57506
2011-03-03 22:05:12 +00:00
Boris Faure 62ae791ca4 e: fix bd->changes.border
this way it's possible to know whether the border has changed when hooking
on E_BORDER_HOOK_EVAL_POST_BORDER_ASSIGN

SVN revision: 57478
2011-03-02 22:09:05 +00:00
Eric Schuele 329fcebb36 Add a few missing module descriptions.
SVN revision: 57465
2011-03-02 04:55:11 +00:00
Hannes Janetzek 91ded1893f e17/everything: identify evry window for compositor
SVN revision: 57464
2011-03-02 00:50:36 +00:00
Michael BOUCHAUD c3138e6c97 fix problem with some popup and illume-keyboard(like firefox urlbar). The pressed key send by the virtual is wrong, he send the previous key you have typed
SVN revision: 57459
2011-03-01 17:38:53 +00:00
Hannes Janetzek 23428da6ea e17: allow themes to request argb window frames
if your window border theme will use transparency add:
data { item: "argb" "1" } to the respective border groups 


SVN revision: 57458
2011-03-01 16:17:23 +00:00
Eric Schuele 09b181a9d5 Make sure auto-hidden shelves only unhide when you mouse in while on a desktop the shelf is actually present on
SVN revision: 57441
2011-03-01 04:48:48 +00:00
Hannes Janetzek f8fc5f9f78 e17/fm: fix segv
SVN revision: 57399
2011-02-27 22:39:51 +00:00
Sebastian Dransfeld 80ae44090b e: revert change of return value for callback
No need to cancel the event, others might want it.

SVN revision: 57392
2011-02-27 16:30:44 +00:00
Gustavo Sverzut Barbieri a565e9f077 winlist: offer a way to cycle icccm.class
icccm.class is usually unique per application, so you can use that to
cycle betwen the applications in your desktop. This mode is
complementary to the already existing "cycle all windows of current
class", which cycles all windows of the current application.



SVN revision: 57386
2011-02-27 14:29:41 +00:00
Hannes Janetzek 0167df0c3b e17/conf_apps: show description for autostart entries
SVN revision: 57377
2011-02-27 12:06:27 +00:00
Hannes Janetzek 3dccde7da9 e17: apps startup config dialog: added section to add .desktops from /etc/xdg/autostart
- whitespace cleanup


SVN revision: 57375
2011-02-27 11:30:20 +00:00
Hannes Janetzek 58a6daea12 e17: startup: cancel cb. this needs to run just once
SVN revision: 57370
2011-02-27 11:09:49 +00:00
Christopher Michael 463c6051d1 E Comp Module: formatting/whitespace fixes.
Remove miles of whitespace & fix horrible formatting.

No Jeff, we do not declare variables in the middle of our
functions (in E).....SPANK SPANK :P



SVN revision: 57345
2011-02-26 21:51:40 +00:00
Hannes Janetzek e2a91285df e17/comp: show more info in match list.
before one had to open 'edit match' to see what it actually matches


SVN revision: 57339
2011-02-26 13:26:47 +00:00
Hannes Janetzek 85a86051db e17/comp: cleanup last commit and fix warnings on 64bit os
SVN revision: 57338
2011-02-26 12:19:29 +00:00
Hannes Janetzek 76d3af24a6 e17/comp: make config dialog inaccessible while editing window matches
overlay dialog with a background and put the match widgets above so that 
one cant press other buttons e.g. delete the match that one is currently 
editing. also fixes the problem that when frametable has a translucent
background the dialog below doesnt shine through


SVN revision: 57337
2011-02-26 11:56:50 +00:00
Hannes Janetzek 5d71553af1 e17/comp: fix segv in config dialog when no item is selected
SVN revision: 57335
2011-02-26 10:42:10 +00:00
Hannes Janetzek daaa96b36a e17/everything: add everything launcher action before plugin actions
this makes the sorting in bindings dialog be nicer and works
around the bug in keybinding conf dialog where it selects the 
plugins-plugin for the binding of 'show evry' and fscks it up.  


SVN revision: 57289
2011-02-24 05:08:26 +00:00
Hannes Janetzek 9020265aad e17/everything: disable debug output
SVN revision: 57288
2011-02-24 03:48:41 +00:00
Hannes Janetzek 0e59861be3 e17/fm: fix last commit.
it's possible that ic_next could be NULL


SVN revision: 57260
2011-02-23 10:37:17 +00:00
Hannes Janetzek af23edc941 e17/fm: select next item after deleting a file
SVN revision: 57258
2011-02-23 10:18:41 +00:00
Massimo Maiurana 359a85e93d updating various translations
SVN revision: 57225
2011-02-21 19:19:12 +00:00
Sebastian Dransfeld 67da66aacf Fix raster fix
Use eina_strbuf_append_length, not eina_strbuf_append_n to add a string
with known length.

SVN revision: 57211
2011-02-21 11:02:10 +00:00
Hannes Janetzek 3320d11083 - show windows by default in top-level now
- allow changing popup size by 1 pixel
- added some more comments


SVN revision: 57209
2011-02-21 07:49:21 +00:00
Hannes Janetzek 259e268f3c fix for showing plugins as icon in aggregator
- make plugin instances be proper evry items so that they are ref counted like everything else.
  now plugin->begin MUST always return a new instance, never the base class


SVN revision: 57206
2011-02-21 07:30:55 +00:00
Carsten Haitzler 09d6cde244 work around weird eina-ism fo strlening a strign it already knows the
length of.



SVN revision: 57202
2011-02-21 06:20:28 +00:00
Christopher Michael d9ffb02f30 E: e_widget_scrollframe. Fix 'conditional jump depends on
uninitialized values'



SVN revision: 57197
2011-02-21 01:20:30 +00:00
Boris Faure 9dcd184e39 e: use "while" and not an ugly "for"
SVN revision: 57160
2011-02-19 12:50:02 +00:00
Carsten Haitzler 048a1e6cf7 ok user signal was a nice idea but we get user2 already so we cant use
ir without fps always toggling



SVN revision: 57156
2011-02-19 09:52:27 +00:00
Hannes Janetzek 858abf57f1 add option to disable use of fdo icon theme
cleanups


SVN revision: 57148
2011-02-18 11:38:37 +00:00
Hannes Janetzek 71d65ca3d1 set load size for fdo icons
SVN revision: 57137
2011-02-17 20:21:53 +00:00
Hannes Janetzek adccf26b7a e_util_icon_theme_set: use e_icon_scale_size_set to request fdo icon size
SVN revision: 57136
2011-02-17 20:21:02 +00:00
Hannes Janetzek 92a078ac32 get larger icons by temporarily changing e_scale
SVN revision: 57131
2011-02-17 19:53:09 +00:00
Hannes Janetzek afade15978 use icon lookup order also in everything
SVN revision: 57128
2011-02-17 14:37:10 +00:00
Carsten Haitzler f45709a73a and fill in policy holes with handling transitions to/from fullscreen
etc.



SVN revision: 57125
2011-02-17 13:06:53 +00:00
Massimo Maiurana 308534cc44 updating russian translations
SVN revision: 57124
2011-02-17 12:15:59 +00:00
Carsten Haitzler 71c6ac602e also set geom fro indicator
SVN revision: 57122
2011-02-17 11:43:02 +00:00
Carsten Haitzler a82f5c99c4 fix some design and policy issues so it's simple and sane tyo write a
new home screen and softkey - looking at indicator next.



SVN revision: 57119
2011-02-17 10:55:59 +00:00
Boris Faure 599e4570d0 e: fix indent
SVN revision: 57118
2011-02-17 09:54:43 +00:00
Carsten Haitzler 5a7a504cb8 conformant home window... should not be sized down :)
SVN revision: 57111
2011-02-17 07:44:51 +00:00
Hannes Janetzek c4401dec20 - remove deprecated e_util_menu_item_edje_icon_set
- change default icon lookup order from 
  user theme > default theme > fdo theme to
  user theme > fdo theme > default theme


SVN revision: 57105
2011-02-16 23:47:06 +00:00
Boris Faure 4f7e03fe3e e: just use eina_stringshare_replace
SVN revision: 57079
2011-02-16 09:31:44 +00:00
Boris Faure 9fcfc565b1 e: use stringshare_replace in window_border_set
SVN revision: 57077
2011-02-16 09:07:44 +00:00
Carsten Haitzler f09e917e18 fix case where we could have x fatal stuff happen during shutdown or
we try use x on shutdown when x io fatal conditions have happened.
x_fatal flag around for that now too. tested. seems to now be happy
and not cause aborts on shutdown when x has gone.



SVN revision: 57075
2011-02-16 05:20:13 +00:00
Carsten Haitzler 6739ee9747 pointed out by doyoun kim - why ever this was -2 beats me. it'd skip a
layer below the given one.



SVN revision: 57074
2011-02-16 03:51:08 +00:00
Carsten Haitzler 49765f25bb formatting.
SVN revision: 57073
2011-02-16 03:46:27 +00:00
Carsten Haitzler 3cdc57de3e no - disco-stu... that was not the right fix.. this is the right fix
for whatever segv u were seeing (page invalid ptr).



SVN revision: 57072
2011-02-16 03:45:57 +00:00
Hannes Janetzek 00045e3e5a fix my last commit
SVN revision: 57071
2011-02-15 21:39:01 +00:00
Christopher Michael 2c593b88e5 Init some vars to NULL so we don't get warning about uninitialized
vars from gcc during compile.



SVN revision: 57069
2011-02-15 21:17:48 +00:00
Christopher Michael 2867f253e6 Remove declared function protos that are not used.
SVN revision: 57068
2011-02-15 21:14:12 +00:00
Christopher Michael be380661b8 Remove unused variable.
SVN revision: 57067
2011-02-15 21:13:01 +00:00
Christopher Michael d091ee0bc3 Obj is unused here, so add __UNUSED__.
SVN revision: 57066
2011-02-15 21:11:03 +00:00
Boris Faure c48d74e023 e: use stringshare_replace in window_border_cycle
SVN revision: 57059
2011-02-15 18:15:54 +00:00
Cedric BAIL 154cdf7f48 * e: HUGE SPANK ! That one prevented me to restart E17 correctly.
SVN revision: 57058
2011-02-15 17:26:13 +00:00
Boris Faure fce4b80b86 e: add window_border_cycle to e_actions
SVN revision: 57040
2011-02-14 21:35:48 +00:00
Mike Blumenkrantz 4e69b6fd5d add safety check for current page being null, don't think this should actually happen though
someone who knows the code please check?


SVN revision: 57026
2011-02-14 15:42:17 +00:00
Hannes Janetzek 27915b9db3 set preferred size when loading svg icons
SVN revision: 57018
2011-02-14 14:05:45 +00:00
Boris Faure 0ee47d4245 e: add window_border_set as possible action
SVN revision: 56994
2011-02-13 21:23:29 +00:00
Boris Faure fbe9738e6f e: whitespaces-- and use x = !x instead of if else
SVN revision: 56992
2011-02-13 19:37:50 +00:00
Sebastian Dransfeld 816ca3b8fb Delay sending focus
This results in less flickering when we get a storm of in/out events

SVN revision: 56939
2011-02-10 22:16:07 +00:00
Sebastian Dransfeld cb22b9355f Need to be able to set focus several times
When a modal window closes, we get several mouse in events for some
reason. If we are not able to set focus several times, the focus ends up
the wrong place.

SVN revision: 56937
2011-02-10 21:39:15 +00:00
Hannes Janetzek dc87685c1e simplify virtual desktops dialog: no need for advanced/basic dialog when using toolbok
SVN revision: 56932
2011-02-10 18:49:00 +00:00
Christopher Michael 0a8b9a0380 Illume-Keyboard: Keyboard aspect fix.
If our zone is wider than it is taller, don't let virtual keyboard
take up most of the screen. This fixes illume-keyboard taking most of
the screen. Now, if we are wider than we are taller, just use half the
zone height rather than the previous which used about 3/4 of the height.



SVN revision: 56931
2011-02-10 18:20:28 +00:00
Christopher Michael a368649dfc Comp Module: Cleanup
NB: No 'functional' changes, just cleanup.
  Remove Unused variable.
  Whitespace removal.



SVN revision: 56928
2011-02-10 17:26:40 +00:00
Hannes Janetzek 7f85985c3e fix deskpreview widget (dont expand over tablesize) and use theme again
SVN revision: 56927
2011-02-10 17:08:07 +00:00
Sebastian Dransfeld 99ea2864cb Also update border icons on icon cache update
SVN revision: 56914
2011-02-10 14:26:04 +00:00
Hannes Janetzek 389182f55b cpufreq: dont bury options in subsub menu. button 1 shows cpu options menu now
SVN revision: 56885
2011-02-09 22:44:29 +00:00
Hannes Janetzek a3f7b6a507 evry: fix aspect of edj thumbnails
SVN revision: 56842
2011-02-09 14:59:44 +00:00
Michael BOUCHAUD 407c9fade5 e: add event mouse down on e_slider, now you can clic and drag your slider
SVN revision: 56840
2011-02-09 13:53:36 +00:00
Hannes Janetzek 8bf7b759a7 efm add keybindings:
- ctrl+h toggle show hidden files
- ctrl+1 icon view
- ctrl+2 list view
- ctrl+3 custom grid view


SVN revision: 56839
2011-02-09 13:12:38 +00:00
Carsten Haitzler 79742c3762 and extend acpi support some more - allow bus matching too. start
listing specific device models tested etc. and their  specific tables



SVN revision: 56829
2011-02-09 01:17:14 +00:00
Hannes Janetzek f56fe34d97 do not crop labels at bottom: add extra space in icon-view mode
SVN revision: 56821
2011-02-08 21:30:48 +00:00
Carsten Haitzler f8da083328 a bit of a refactor of e_acpi -> can buffer and handle more than 1
acpi message at once (will happen IF e is paused/hung/suspended and
multiple acpi events happen during that time).

also no need for multiple acpi event id's - the type is already in the
struct itself. it's dup;icating the work. simplify.

also... vaio "hotkey" style support. new mapping ethod needed for
that. who knows what other bizarre acpi hardware is out there. may
need more. also make a note that we may want a mapping system some
time that maps acpi event to faking an x key event.

also... allow acpi bindings to bind to anything in gui.



SVN revision: 56790
2011-02-07 22:57:50 +00:00
Sebastian Dransfeld 30a478c4fa use convenience macro
SVN revision: 56782
2011-02-07 21:19:23 +00:00
Eric Schuele 9e972367dd Keeping types consistent.
SVN revision: 56751
2011-02-06 16:25:52 +00:00
Eric Schuele 440c33eecf Allow users to remove border resistance on a per border basis.
SVN revision: 56745
2011-02-06 02:04:37 +00:00
Hannes Janetzek b7cfdd21f1 fix loop in fm favorites view: delete .desktop for non existing device
SVN revision: 56715
2011-02-04 20:33:30 +00:00
Christopher Michael 629b3a304e Add missing UNUSED.
SVN revision: 56676
2011-02-03 17:21:57 +00:00
Christopher Michael 0a7a799bd0 Add UNUSED where missing.
SVN revision: 56675
2011-02-03 17:12:27 +00:00
Christopher Michael f62f7278a0 Add UNUSED where needed.
SVN revision: 56674
2011-02-03 17:10:01 +00:00
Hannes Janetzek 2b72d8d98b evry-apps: fix history loss: do not remove apps from history when not found in .desktop cache
SVN revision: 56627
2011-02-01 10:35:33 +00:00
Christopher Michael ddfeef51dc No need for a mode send here.
SVN revision: 56385
2011-01-29 21:16:31 +00:00
Christopher Michael 54afa6c714 Add a button on softkey module to toggle app positions if in dual mode
(this means move the top app to the bottom, and bottom app to the top,
etc, etc).



SVN revision: 56384
2011-01-29 21:08:13 +00:00
Christopher Michael 8f026c852a When we are done dragging the indicator window, update it's geometry
on the zone.



SVN revision: 56383
2011-01-29 20:34:19 +00:00
Carsten Haitzler c356b53543 note sigusr2 is for fps thing.
SVN revision: 56337
2011-01-28 02:24:04 +00:00
Sebastian Dransfeld 3f310bd392 Wait for cache update before e_startup
We need to wait for the cache build to complete, else we might have no
cache, and get no startup apps.

SVN revision: 56332
2011-01-27 21:14:30 +00:00
Hannes Janetzek 93c43fe854 add __UNUSED__
SVN revision: 56300
2011-01-25 18:20:13 +00:00
Hannes Janetzek 86824bd78a add 'run executable' action for files
SVN revision: 56273
2011-01-23 23:37:50 +00:00
Hannes Janetzek e9e9c7a066 fix warning/unsued stuff
keep refs to .desktops of recently used apps


SVN revision: 56272
2011-01-23 22:34:28 +00:00
Hannes Janetzek 5d4d9705e8 enable icon preload
SVN revision: 56270
2011-01-23 17:59:25 +00:00
Hannes Janetzek c3a28ca278 fix: open multiple selected files
SVN revision: 56269
2011-01-23 16:02:33 +00:00
Hannes Janetzek 5f014d9089 fix initial list width (dont overlap scrollbar)
SVN revision: 56267
2011-01-22 22:24:09 +00:00
Carsten Haitzler d8309aeb84 and force fps objs to be on max layer.
SVN revision: 56266
2011-01-22 16:32:26 +00:00
Carsten Haitzler ef8fd4ab06 fix geometry up a bit and limit ranges more.
SVN revision: 56263
2011-01-22 11:00:11 +00:00
Carsten Haitzler 3a0ff0519a fix frametimes array.
SVN revision: 56262
2011-01-22 10:44:40 +00:00
Carsten Haitzler 720f53b264 add fps debug display to comp...
to toggle interactively:
  killall -USR2 enlightenment 
or
  ctrl+alt+shift+F
or just change it in the config panel - the longer the average
interval is, the more accurate it will be, but the less often you get
updates. you can choose the screen corner here too. :) also note that
if comp doesnt get a stream of input (frames to render) then it's also
not going to tel you much interesting about its "best possible
framerate" as its likely got lots of spare time to do more, but it
just never got any to do. so this is useful if:

1. there is a continual strem of input (video playback, animated gui,
continual user input).
2. the longer the rolling average framecount is, the more accurate it
will be.



SVN revision: 56260
2011-01-22 09:52:48 +00:00
Hannes Janetzek 5ae3b52a17 cleanups
SVN revision: 56248
2011-01-21 00:14:48 +00:00
Christopher Michael e6b15ffc17 e_illume_border_show already handles raise, so remove call to explicit
e_border_raise.



SVN revision: 56246
2011-01-20 22:28:33 +00:00
Christopher Michael 3c51a6bc0a Allow dialogs to be bigger than 'minimum' size; instead, just check
that the dialogs size is not greater than the zone. This is much nicer
for file dialogs.



SVN revision: 56244
2011-01-20 19:54:17 +00:00
Christopher Michael 7fab214109 Some dialogs don't play nice if we check visible property so remove.
SVN revision: 56242
2011-01-20 18:49:34 +00:00
Christopher Michael 242d3034bf Remove wasted whitespace.
Use PATH_MAX.



SVN revision: 56238
2011-01-20 07:51:46 +00:00
Christopher Michael af0c123f41 Some 'dialog' windows report a zero min width & height (which messes
up position calculations). Trap for that, and if mins are zero, then
use existing dialog width/height. (code following that handles a
dialog being too large for the zone).

Thanks again to Jeff Hoogland for bringing this to my attention.



SVN revision: 56236
2011-01-20 06:39:16 +00:00
Christopher Michael a19942672d Fix illume-indicator window leaving a 'black bar' behind ... when Comp
module is enabled. The previous fix worked without Composite module
just fine, but did not account for the way that Composite works. This
fix works in both cases, with Composite and without.

Thanks to Jeff Hoogland for bringing that to my attention ;)



SVN revision: 56229
2011-01-20 00:05:52 +00:00
Christopher Michael 572970d903 Add a Suspend Now command to actions so that on ACPI lid close, you
can do suspend without a confirmation dialog.
Clear the Action Paramaters box when a binding or action changes.



SVN revision: 56207
2011-01-17 17:25:42 +00:00
Lars Munch 343f3737b1 This adds thinkpad support to the temperature module. The temperature is
accessible through the thinkpad_acpi kernel module.

Signed-off-by: Lars Munch <lars@segv.dk>


SVN revision: 56192
2011-01-16 15:11:56 +00:00
Mike Blumenkrantz b523a45218 add __UNUSED__ somewhat indiscriminately here since we're doing crazy macros anyway
SVN revision: 56159
2011-01-16 02:08:22 +00:00
Christopher Michael 1892b52333 Remove goto's. Don't like em, don't need em, don't want em ;)
E_FREE already sets pointer to NULL.
Fix shutdown order in certain places.



SVN revision: 56158
2011-01-16 02:05:33 +00:00
Mike Blumenkrantz bea2bf271d (fd leak--)--
SVN revision: 56155
2011-01-16 01:57:31 +00:00
Mike Blumenkrantz 1fdff41c5e close file sooner so we don't leak fds
SVN revision: 56153
2011-01-16 01:52:45 +00:00
Mike Blumenkrantz d143974767 add alloc check for calloc
SVN revision: 56152
2011-01-16 01:48:04 +00:00
Mike Blumenkrantz 6d87da8c14 yet another null deref
SVN revision: 56151
2011-01-16 01:34:05 +00:00
Mike Blumenkrantz 5788f79169 more null derefs
SVN revision: 56150
2011-01-16 01:33:00 +00:00
Mike Blumenkrantz 18835fd017 another null deref
SVN revision: 56149
2011-01-16 01:26:51 +00:00
Mike Blumenkrantz 572ed90432 more uninitialized values
SVN revision: 56148
2011-01-16 01:22:41 +00:00
Mike Blumenkrantz e5a657580a prevent garbage value determining flow if list is null
SVN revision: 56147
2011-01-16 01:20:38 +00:00
Mike Blumenkrantz 9ac82fead5 initialize variable to null for later FOREACH failures
SVN revision: 56146
2011-01-16 01:19:22 +00:00
Mike Blumenkrantz 94578724bd avoid possible strlen(NULL)
SVN revision: 56144
2011-01-16 01:11:46 +00:00
Carsten Haitzler 3fb1756479 makr strings to be translatable - but dont translate
SVN revision: 56109
2011-01-14 11:19:30 +00:00
Carsten Haitzler 7c54b118e8 gettext-> translate at gui display time not in storing in structs!
SVN revision: 56107
2011-01-14 09:49:42 +00:00
Christopher Michael 71b303235d Actually, we need to return a Bool here.
SVN revision: 56060
2011-01-12 15:34:12 +00:00
Christopher Michael bd2aa1b03d Make sure we have a 'file' to set, else we crash trying to get strlen
of NULL.



SVN revision: 56059
2011-01-12 15:31:38 +00:00
Mike Blumenkrantz baa156f189 okay, so to check for udisks I've done the following:
1) set a signal handler to watch for udisks starting
2) check for udisks already running
3) send dbus method call to udisks regardless of run state
4) free error which is 100% guaranteed to occur
5) either pick up udisks from signal handler or from random dbus call
6) finally start efm
7) drink heavily.


SVN revision: 56055
2011-01-12 01:44:08 +00:00
Mike Blumenkrantz e232eefc31 this should activate udisks if it wasn't previously running
SVN revision: 56054
2011-01-11 23:38:42 +00:00
Carsten Haitzler afed13086e ooh and ALSO handle files if .edj - if full path set.
SVN revision: 56050
2011-01-11 10:09:48 +00:00
Carsten Haitzler b835438c0d from:
http://trac.enlightenment.org/e/ticket/671

:)
tnx kiuma
 


SVN revision: 56044
2011-01-11 08:44:19 +00:00
Mike Blumenkrantz e0cc1c3149 s/HAL/device/g
SVN revision: 56028
2011-01-10 17:41:48 +00:00
Michael BOUCHAUD d5c0900ab8 e17: remove some whitespaces and fix wrong scrolling in e_widget_textblock. look in module list when you select some item who have long description, scroller are wrong.
SVN revision: 56027
2011-01-10 16:37:16 +00:00
Carsten Haitzler 94137e3247 fix edj icon in menu :)
SVN revision: 56018
2011-01-10 06:35:04 +00:00
Carsten Haitzler 3a76eaef69 wow.. well.. seems this became a .in file - that explains why it was
rtemoved. modify .in.



SVN revision: 55996
2011-01-08 18:25:20 +00:00
Carsten Haitzler 0cd48bcd00 why was that deleted? add back!
SVN revision: 55995
2011-01-08 18:21:56 +00:00
Carsten Haitzler 5683f1b65c and fix mounty to be SAFE woth udisks.
SVN revision: 55994
2011-01-08 18:18:17 +00:00
Carsten Haitzler d8f3611ab1 make udev/eeze mounting and volumes work on ubuntu 10.04... :)
SVN revision: 55993
2011-01-08 17:30:38 +00:00
Mike Blumenkrantz 8babc3a6f0 the futile struggle to avoid blank device labels continues
SVN revision: 55991
2011-01-08 06:40:41 +00:00
Mike Blumenkrantz 9865da8663 better removable media detection
SVN revision: 55990
2011-01-08 06:28:55 +00:00
Mike Blumenkrantz c2f5922c89 fix segv when using udisks to mount during ipc reads
SVN revision: 55989
2011-01-08 06:04:32 +00:00
Mike Blumenkrantz 3e6ccf89ee NULL out pointers after op completes or fails
SVN revision: 55988
2011-01-08 05:55:25 +00:00
Mike Blumenkrantz 8d90d154f8 fix drive type detection
SVN revision: 55987
2011-01-08 05:14:19 +00:00
Carsten Haitzler 7b9c5b9a74 fix e icon setting of fdo icon if fdo icon ends up being an edje file.
SVN revision: 55964
2011-01-07 04:31:47 +00:00
Mike Blumenkrantz 7396fa5d00 add some initial detection for luks encrypted fs types
SVN revision: 55962
2011-01-07 00:47:49 +00:00
Mike Blumenkrantz 67b1000afa fix compile when ehal is not present
note that illume1 still requires ehal and I have no plans to write an eeze backend for it


SVN revision: 55944
2011-01-06 18:41:58 +00:00
Massimo Maiurana f13cdcbd02 updating german translations
SVN revision: 55935
2011-01-06 17:49:35 +00:00
Carsten Haitzler bbab244193 desklock - dont ret 1 on failure to auth. only on failure to init!
SVN revision: 55923
2011-01-06 03:58:58 +00:00
Mike Blumenkrantz fb51556c67 split _e_fm2_device_volume_setup off to be reused later for setting up volumes which get added before their storage; now removables have the correct icons in udisks mode!
SVN revision: 55922
2011-01-06 03:57:37 +00:00
Mike Blumenkrantz 7f3afa0d00 only track removable drives, add workaround for devices which are their own parent device
SVN revision: 55921
2011-01-06 03:53:34 +00:00
Mike Blumenkrantz ef105564ba with this commit, udisks mounting is now fully functional (wfm!) and has a number of benefits over the HAL backend, such as being able to automount media that's in your fstab
dev notes: changes to efm were required for this to work since udisks doesn't report back a mount point upon executing a mount command, so the actual dir listing/display must
be delayed by another callback until we actually know where the disk is to avoid opening a random directory


SVN revision: 55916
2011-01-06 01:35:41 +00:00
Mike Blumenkrantz 97a5b973f0 remove old enum, rename to new enum values
SVN revision: 55915
2011-01-06 01:31:52 +00:00
Mike Blumenkrantz 7b67b48c1a disable annoying dbus printf, set disk mode to hal
SVN revision: 55914
2011-01-06 01:29:52 +00:00
Mike Blumenkrantz 2e719a3b82 free disk when using eeze mount, disabled for now
SVN revision: 55913
2011-01-06 01:29:03 +00:00
Mike Blumenkrantz 2554c3b88b forgot to add new enum to the volume edd :X
SVN revision: 55912
2011-01-06 01:17:21 +00:00
Mike Blumenkrantz cdc41d0f3a avoid weird bug from e_remember where path that no longer exists would attempt to be loaded
SVN revision: 55911
2011-01-06 00:57:27 +00:00
Mike Blumenkrantz cb3651fdf0 whoops forgot to commit this
SVN revision: 55910
2011-01-06 00:16:32 +00:00
Mike Blumenkrantz 346e271e07 ecrustified for formatting
SVN revision: 55908
2011-01-05 22:36:21 +00:00
Mike Blumenkrantz 7aff5821e4 update to match api break in eukit
SVN revision: 55907
2011-01-05 22:31:57 +00:00
Mike Blumenkrantz 23e9a844ff remove random semicolon?
SVN revision: 55901
2011-01-05 19:42:24 +00:00
Mike Blumenkrantz 15468f69f6 fix include paths for all these makefiles to add $top_builddir/src/bin instead of $top_srcdir/src/lib
SVN revision: 55884
2011-01-05 17:50:05 +00:00
Mike Blumenkrantz a1939f95f9 add correct include paths
SVN revision: 55882
2011-01-05 17:21:59 +00:00
Mike Blumenkrantz e85d66f3c8 more udisks fixes, don't expect this to be managing your removables right now.
SVN revision: 55877
2011-01-05 09:49:27 +00:00
Mike Blumenkrantz 6c313086eb avoid setting null icon strings and actually listen on the right dbus interface :/
SVN revision: 55871
2011-01-05 06:32:30 +00:00
Mike Blumenkrantz 625de7ceed fix unused warnings
SVN revision: 55867
2011-01-05 05:49:49 +00:00
Mike Blumenkrantz 2b140621a8 and lo, there was udisks mounting support. maybe.
SVN revision: 55865
2011-01-05 05:46:33 +00:00
Mike Blumenkrantz 71a495e686 whoops, forgot to include headers for udisks/eeze
SVN revision: 55864
2011-01-05 05:46:07 +00:00
Mike Blumenkrantz c554a3740d add enum for operation type to volumes
SVN revision: 55863
2011-01-05 05:44:29 +00:00
Mike Blumenkrantz 6221397e99 fix annoying comparison is always true warning
SVN revision: 55862
2011-01-05 05:39:30 +00:00
Mike Blumenkrantz 080f88407c fix control reaches end of non-void function warnings as requested by errorfindinghorns
SVN revision: 55860
2011-01-05 04:35:19 +00:00
Carsten Haitzler d9184e351d on free of list.. set list ptr to null tnx. :)
SVN revision: 55859
2011-01-05 03:14:34 +00:00
Mike Blumenkrantz 86b8db565c add some type detections for upcoming udisks/eeze support
SVN revision: 55857
2011-01-04 22:02:53 +00:00
Mike Blumenkrantz 0041b7d1ef ecrustified for formatting
SVN revision: 55856
2011-01-04 20:19:04 +00:00
Massimo Maiurana 851015e654 updating various translations
SVN revision: 55850
2011-01-04 17:21:50 +00:00
Lucas De Marchi 546f8d20c3 Fix exit values
Exit status is a value between 0 and 255.



SVN revision: 55846
2011-01-04 15:29:50 +00:00
Mike Blumenkrantz 7bae8bd89b move e_fm_main_dbus*->e_fm_main_hal* again (I know I'm hilarious with my constant name changes)
implement hooks for udisks/eeze mount code to grab later
enlightenment_fm doesn't take any args, so error if any are specified
current priority is hal->udisks->eeze for mounting (only hal is implemented/enabled at present)


SVN revision: 55836
2011-01-04 02:17:40 +00:00
Mike Blumenkrantz c6b9ec3408 okay, this should work a bit better as a generated header now
SVN revision: 55835
2011-01-04 02:13:18 +00:00
Mike Blumenkrantz 1d16b37f4e correctly init e_hal here only when it is used as the device backend
SVN revision: 55834
2011-01-04 02:11:41 +00:00
Carsten Haitzler 31bb3c9c8d so rename that option - it really does confuse people and
understandably so.



SVN revision: 55829
2011-01-03 17:38:59 +00:00
Carsten Haitzler bbd14d2d3a try and avoid a segv if info is null on ret.
SVN revision: 55828
2011-01-03 15:49:51 +00:00
Carsten Haitzler ab3e4d2f1b dont access null cf in gcc.
SVN revision: 55827
2011-01-03 15:37:49 +00:00
Carsten Haitzler 51a5581c2e and actually complain when mv's fail too - and abort writes.
SVN revision: 55812
2011-01-03 04:52:48 +00:00
Carsten Haitzler 9dd44d1c6c more comments.
SVN revision: 55811
2011-01-03 04:44:29 +00:00
Carsten Haitzler 5afba4ed16 and disable other engines in choices. software only one left.
SVN revision: 55810
2011-01-03 04:41:57 +00:00
Carsten Haitzler 6b58638772 actually handle errors on all mv's of old config revs
SVN revision: 55809
2011-01-03 04:41:05 +00:00
Carsten Haitzler 7cf01e8430 why did you turn off config versioning devilhorns? back on!
SVN revision: 55808
2011-01-03 04:33:31 +00:00
Carsten Haitzler 098e678825 well well - e wasnt handling all of eet's errors. fixed. at least it's
picking up my permission denined error now.



SVN revision: 55807
2011-01-03 04:28:53 +00:00
Mike Blumenkrantz 6e9e8a38d5 simplify a couple stringshare instances
SVN revision: 55804
2011-01-03 01:54:01 +00:00
Mike Blumenkrantz e4759bdb05 ecrustified for formatting
SVN revision: 55803
2011-01-03 01:49:41 +00:00
Mike Blumenkrantz 4b3d9644d0 add autogeneration to e_fm disk types header along with autoconf macros to allow installation of eeze-specific efm header
this change is essentially cosmetic for now


SVN revision: 55801
2011-01-03 01:24:15 +00:00
Christopher Michael b6dd7d07c0 Use PATH_MAX.
Reduce variable usage.
Don't leak Shelf_Del_Confirm_Data (make sure we free the alloc'd
struct if we are leaving the function).

Fix formatting.



SVN revision: 55797
2011-01-02 21:12:11 +00:00
Christopher Michael 645ad54f55 Add traps in toolbar widget to make sure obj & wd are valid.
Add traps in e_fwin to make sure we have a toolbar before trying to
operate on it.



SVN revision: 55792
2011-01-01 15:51:09 +00:00
Christopher Michael 71d8f97aff Add some missing checks to make sure Gadcon Container and Gadcon
Clients are valid before we try using them.



SVN revision: 55789
2010-12-31 16:51:25 +00:00
Peter van de Werken 565303e0f3 Modified patch.
From: Peter van de Werken <pwerken-e@a-eskwadraat.nl>
Only add a separator if there is something to separate.



SVN revision: 55780
2010-12-30 13:44:39 +00:00
Christopher Michael 011172fbeb Patch from Peter van de Werken to fix uniconify of quickpanel windows.
SVN revision: 55776
2010-12-29 22:07:11 +00:00
Sebastian Dransfeld 20c9e5113a access is a global name
SVN revision: 55775
2010-12-29 19:49:05 +00:00
Sebastian Dransfeld c662c53827 realpath is a global name
SVN revision: 55774
2010-12-29 19:48:47 +00:00
Sebastian Dransfeld 5d1a946cd8 since we do strlen, no need to strcpy
SVN revision: 55773
2010-12-29 19:48:34 +00:00
Sebastian Dransfeld 48bb9f207f fix signed warning
SVN revision: 55772
2010-12-29 19:48:15 +00:00
Sebastian Dransfeld b5a77ea6fc Prevent double free
SVN revision: 55771
2010-12-29 19:47:55 +00:00
Christopher Michael 030d286d24 Only call ecore_file_file_get once.
SVN revision: 55770
2010-12-29 16:48:23 +00:00
Christopher Michael 27819e0780 Add missing UNUSED where needed.
SVN revision: 55769
2010-12-29 16:42:46 +00:00
Miculcy Brian 31a2c96319 did broke e restart, now should work again... :)
SVN revision: 55768
2010-12-28 22:17:51 +00:00
Miculcy Brian b4f46bc259 make --help work correctly again
SVN revision: 55764
2010-12-27 20:59:14 +00:00
Lucas De Marchi c77ad75e83 Fix desklock
Revert r55711!

discomfitor: SPANK! SPANK! SPANK!



SVN revision: 55762
2010-12-27 16:17:12 +00:00
Carsten Haitzler 1583fac1a1 and we didnt actually use the engine vsync support in comp.
SVN revision: 55756
2010-12-26 10:17:54 +00:00
Mike Blumenkrantz fcfdf2a6f6 apparently this was too hard to read for k-s ;)
SVN revision: 55742
2010-12-23 18:06:43 +00:00
Mike Blumenkrantz 74782f2e5c fix explicit check to actually be the correct one, and use type instead of variable for sizeof
SVN revision: 55741
2010-12-23 17:50:48 +00:00
Mike Blumenkrantz e2af5fd862 I am super tired this morning :/
SVN revision: 55740
2010-12-23 17:33:16 +00:00
Mike Blumenkrantz 7da2c81f01 fix sizeof use, thanks to kim woelders
SVN revision: 55739
2010-12-23 16:47:05 +00:00
Mike Blumenkrantz 3d166f4860 alloc checks
SVN revision: 55735
2010-12-23 01:10:48 +00:00
Mike Blumenkrantz b0b7d04154 init variables to 0 to avoid garbage values being compared in conditionals
SVN revision: 55734
2010-12-23 01:05:12 +00:00
Mike Blumenkrantz f3a0638cf7 combine some if{} blocks to remove a possibility of passing garbage value to e_widget_ilist_nth_label_set
SVN revision: 55733
2010-12-23 01:02:42 +00:00
Mike Blumenkrantz 18a3bc72ef outdent!
SVN revision: 55732
2010-12-23 00:57:47 +00:00
Mike Blumenkrantz 7bf11e8075 badformattinghorns!!!! I know it was you!!!!!!! arghhhhhhhhhhh the tabs
SVN revision: 55731
2010-12-23 00:55:58 +00:00
Mike Blumenkrantz 0e31d51ba6 clean up _binding_label_get to just return the correct value, fix potential garbage return
SVN revision: 55730
2010-12-23 00:51:49 +00:00
Mike Blumenkrantz 5020fd62b0 formatting. I'm going to catch whoever this is and beat them.
SVN revision: 55729
2010-12-23 00:49:06 +00:00
Mike Blumenkrantz 2e4b8b9901 add explicit null check (for hahas?)
SVN revision: 55728
2010-12-23 00:41:19 +00:00
Mike Blumenkrantz 2e647df117 make this more portable in case the number of states changes in the future, also outdent and make function params more explicit
SVN revision: 55727
2010-12-23 00:36:53 +00:00
Mike Blumenkrantz e82e4a3f2b again with the tabs!!!!
SVN revision: 55726
2010-12-23 00:28:49 +00:00
Mike Blumenkrantz d3bcd46f2b avoid garbage deref
SVN revision: 55725
2010-12-23 00:24:16 +00:00
Mike Blumenkrantz d9f8fbefd4 avoid using garbage values for z{x,y,w,h}; FIXME!!!
SVN revision: 55724
2010-12-22 23:36:46 +00:00
Mike Blumenkrantz a8f324517f I don't even know what to say about the formatting in this file except that it was terrible. ecrustified.
SVN revision: 55723
2010-12-22 23:32:42 +00:00
Mike Blumenkrantz d1019f055e avoid null deref
SVN revision: 55722
2010-12-22 23:32:09 +00:00
Mike Blumenkrantz 9224fcdb23 avoid null deref
SVN revision: 55721
2010-12-22 23:23:47 +00:00
Mike Blumenkrantz c2afdae74c fix typo to avoid null deref: a copy/paste propagated error
SVN revision: 55720
2010-12-22 23:22:01 +00:00