Commit Graph

5189 Commits

Author SHA1 Message Date
Christopher Michael 7a7883c7aa Add UNUSED.
SVN revision: 51351
2010-08-18 21:14:42 +00:00
Christopher Michael 045040d9cf Add UNUSED
Fix some formatting.



SVN revision: 51350
2010-08-18 21:13:06 +00:00
Christopher Michael bf5e9281e3 Add UNUSED
SVN revision: 51349
2010-08-18 21:05:20 +00:00
Christopher Michael aea8bde3e0 Add unused.
SVN revision: 51347
2010-08-18 21:00:57 +00:00
Christopher Michael 4804fe3eb3 Add UNUSED.
SVN revision: 51346
2010-08-18 20:59:17 +00:00
Christopher Michael 1a0d9a7ccb Add unused.
SVN revision: 51345
2010-08-18 20:42:15 +00:00
Christopher Michael 505bb68cde Add UNUSED.
SVN revision: 51344
2010-08-18 20:41:05 +00:00
Christopher Michael b58e485a01 Add UNUSED
SVN revision: 51343
2010-08-18 20:32:36 +00:00
Christopher Michael 37a0e6a197 Fix 'var may be used uninitialized' warning.
SVN revision: 51342
2010-08-18 20:31:35 +00:00
Christopher Michael 20c922e047 Remove unused function(s).
SVN revision: 51341
2010-08-18 20:30:23 +00:00
Christopher Michael 4cf62f8b80 Add UNUSED.
SVN revision: 51340
2010-08-18 20:29:41 +00:00
Christopher Michael 26d1480832 Add unused.
Use PATH_MAX.



SVN revision: 51339
2010-08-18 20:28:37 +00:00
Christopher Michael 9469f5ff41 Add UNUSED.
Init some vars.



SVN revision: 51338
2010-08-18 20:25:13 +00:00
Christopher Michael f8b4a01036 Add unused.
SVN revision: 51337
2010-08-18 20:09:01 +00:00
Christopher Michael 2a1b737023 Add unused.
SVN revision: 51336
2010-08-18 20:06:40 +00:00
Christopher Michael 792a5f4245 Add unused.
SVN revision: 51335
2010-08-18 20:06:02 +00:00
Christopher Michael 118679203c Add unused.
Use PATH_MAX.



SVN revision: 51334
2010-08-18 20:04:36 +00:00
Christopher Michael 3ee025a595 Add unused.
Fix uninitialized vars.



SVN revision: 51333
2010-08-18 19:53:59 +00:00
Christopher Michael 290fd324b2 Add unused.
SVN revision: 51332
2010-08-18 19:52:32 +00:00
Christopher Michael 77f6e0d40f Add unused.
SVN revision: 51331
2010-08-18 19:51:11 +00:00
Christopher Michael 162632e3be Add unused.
SVN revision: 51330
2010-08-18 19:49:54 +00:00
Christopher Michael c2b89b56cf Add unused.
SVN revision: 51329
2010-08-18 19:48:57 +00:00
Christopher Michael 7a8bbab059 Add UNUSED.
Fix formatting in e_actions.



SVN revision: 51328
2010-08-18 19:46:26 +00:00
Christopher Michael 02f7bc50a6 Add unused.
SVN revision: 51327
2010-08-18 19:42:31 +00:00
Christopher Michael ead21f1854 Add missing function placeholders for Evas_Smart_Class.
SVN revision: 51326
2010-08-18 19:41:30 +00:00
Christopher Michael 0535084762 Add unused.
Remove whitespace.



SVN revision: 51325
2010-08-18 19:37:26 +00:00
Christopher Michael 74df4bf046 Add unused.
SVN revision: 51324
2010-08-18 19:35:06 +00:00
Christopher Michael 35dd0dce96 Add unused.
SVN revision: 51323
2010-08-18 19:34:04 +00:00
Christopher Michael da4c295c9f Add unused.
SVN revision: 51322
2010-08-18 19:32:52 +00:00
Christopher Michael bd09f79ddf Add UNUSED
SVN revision: 51321
2010-08-18 19:31:31 +00:00
Christopher Michael 539a4df22e Add unused.
SVN revision: 51319
2010-08-18 18:43:43 +00:00
Christopher Michael c314974f42 Add unused where needed.
SVN revision: 51318
2010-08-18 18:41:25 +00:00
Christopher Michael d9f04291fd Add unused where needed.
SVN revision: 51317
2010-08-18 18:38:54 +00:00
Christopher Michael caf02bcbf9 Add UNUSED
SVN revision: 51316
2010-08-18 18:37:00 +00:00
Christopher Michael 0f80203f08 Add unused.
SVN revision: 51315
2010-08-18 18:36:28 +00:00
Christopher Michael 6ec4cc911a Add unused where needed. (Still lots of warnings in here, but don't
know the code well enough to fix them all).



SVN revision: 51314
2010-08-18 18:35:34 +00:00
Christopher Michael d70aea7577 Add UNUSED where needed.
SVN revision: 51313
2010-08-18 18:32:48 +00:00
Christopher Michael b2e951f37f Add UNUSED.
SVN revision: 51312
2010-08-18 18:21:46 +00:00
Christopher Michael ab82fcd46c Add UNUSED where needed.
SVN revision: 51311
2010-08-18 18:20:46 +00:00
Christopher Michael 2705a684ea Add UNUSED where needed.
SVN revision: 51310
2010-08-18 18:18:06 +00:00
Christopher Michael 90fd4f14bf Add __UNUSED__ where needed.
SVN revision: 51309
2010-08-18 18:17:04 +00:00
Christopher Michael 08b96de3c8 Fix lots of compiler warnings about unused paramters & functions.
SVN revision: 51308
2010-08-18 18:15:31 +00:00
Christopher Michael 98f078c771 Add UNUSED where needed.
SVN revision: 51305
2010-08-18 17:40:53 +00:00
Christopher Michael c7a078a26d Add __UNUSED__ where needed.
SVN revision: 51304
2010-08-18 17:38:05 +00:00
Christopher Michael a0e94dcf3c Add __UNUSED__ where needed.
SVN revision: 51303
2010-08-18 17:29:26 +00:00
Christopher Michael f960b752fa Add __UNUSED__ where needed.
SVN revision: 51302
2010-08-18 17:27:48 +00:00
Christopher Michael 1d59137b0e Add __UNUSED__ where needed.
Fix __UNUSED__ to be after the variable.
Remove unused variables.



SVN revision: 51301
2010-08-18 17:26:44 +00:00
Christopher Michael 791d5bd436 Fix use of __UNUSED__.
Add __UNUSED__ to functions that needed it.



SVN revision: 51299
2010-08-18 17:12:55 +00:00
Cedric BAIL 6e33eb8d0e * e: does more check around xrandr code.
SVN revision: 51253
2010-08-17 14:58:31 +00:00
Christopher Michael 973c56bfe4 Fix Randr header to match other headers in E.
SVN revision: 51211
2010-08-16 14:02:21 +00:00
Carsten Haitzler d7a2641908 dont need randr for that! well not if it needs all of e's config!
SVN revision: 51207
2010-08-16 12:50:32 +00:00
Christopher Michael 678acb7bdd Don't need these headers here either ... already in e.h.
Fix formatting.



SVN revision: 51206
2010-08-16 12:47:44 +00:00
Christopher Michael db5ec3e8c1 More cleanup of the randr code ... don't include headers that are
already included via e.h. Do not need to do eina/ecore init or
shutdown...handled by E already.



SVN revision: 51205
2010-08-16 12:44:46 +00:00
Christopher Michael ccfe4ba8d8 These headers already included by e.h
SVN revision: 51203
2010-08-16 12:22:50 +00:00
Carsten Haitzler 1bbfd6992e warning--
SVN revision: 51199
2010-08-16 10:40:23 +00:00
Cedric BAIL 8cbf2d3907 * e: SPANK ! SPANK ! SPANK ! Fix multiple case of segv.
SVN revision: 51135
2010-08-15 18:17:59 +00:00
Leif Middelschulte 935774e161 From: Leif Middelschulte <leif.middelschulte@gmail.com>
patch for ecore-x xrandr 1.3 support - breaks previous api. final api
change (i know about) before we go alpha. in to svn we go.



SVN revision: 51109
2010-08-14 10:21:03 +00:00
Cedric BAIL 0b9d6c7bb1 * e: fix eet API break.
SVN revision: 51090
2010-08-13 16:57:13 +00:00
Cedric BAIL 6f30fefd52 * e: fix eet breakage.
SVN revision: 51089
2010-08-13 16:50:55 +00:00
Lucas De Marchi f725ee6e15 Do not compare pointers to 0
SVN revision: 50973
2010-08-10 19:24:38 +00:00
Carsten Haitzler fb0eb28ab5 remember to set src data too
SVN revision: 50830
2010-08-05 08:23:59 +00:00
Carsten Haitzler 1a5a45d933 set border/popup/menu + win keys for finding src of comp src
SVN revision: 50826
2010-08-04 22:10:06 +00:00
Lucas De Marchi 0d2fa817fe Finish unscrewing patch-fu
SVN revision: 50820
2010-08-04 19:00:15 +00:00
Lucas De Marchi 6638a10e20 FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Carsten Haitzler 81963af8d8 respect hidden comp state in border infra.
SVN revision: 50806
2010-08-04 06:24:06 +00:00
Mike Blumenkrantz b7f0649551 probably workaround hal bugs on freebsd
SVN revision: 50804
2010-08-04 04:34:03 +00:00
Christopher Michael 532cd80e3b Expose the current E icon theme to env so that elm apps can 'getenv'
that value (E_ICON_THEME) and match icons w/ E.



SVN revision: 50797
2010-08-04 02:00:59 +00:00
Carsten Haitzler e89dbf0415 fix shelf add to add to right zone.
SVN revision: 50795
2010-08-04 01:25:57 +00:00
Carsten Haitzler 33eb15abc8 be like other compositors. work around the unmap thing and never unmap
if we have a compositor. just "mark" as unmapped and leave there.
pretend we are unmapped. disable events and stuff on the border to get
the behaviro right too so stacking or positioning is never affected.



SVN revision: 50761
2010-08-03 09:03:58 +00:00
Carsten Haitzler cc4135e5fb and comp now supports the new mirror object system - u can make things
like expose with it etc... even in other modules.



SVN revision: 50759
2010-08-03 06:10:33 +00:00
Massimiliano Calamelli 9c26c2bf6f Adds a new entry in favorite.menu even if favorite.menu do not exists, creates it. Now works like application's config dialog in control panel.
SVN revision: 50728
2010-08-01 14:59:29 +00:00
Carsten Haitzler 4edb627ea6 extending comp to allow "expose" and other such things - other modules
that can trivially get objects inside the compositor canvas as well as
get the compositor canvas and events when it comes and goes, changes,
when client sources are added, removed etc. etc.



SVN revision: 50727
2010-08-01 14:29:19 +00:00
Christopher Michael 4b6f42d16b Add util function to return count of desktops from a container (used
in wallpaper2 dialog to disable radios).



SVN revision: 50725
2010-08-01 03:15:00 +00:00
Christopher Michael 24207a6446 Revert that commit. It was correct, it's the comment that was
misleading.



SVN revision: 50556
2010-07-27 22:30:00 +00:00
Christopher Michael f6d6a6217c If an icon has NO class, then use Create Icon entry.
SVN revision: 50555
2010-07-27 22:02:40 +00:00
Mike Blumenkrantz 1b44fce207 e_dbus_object_interface_attach refs interfaces, so you have to unref the interface right after to avoid leaks as seen here
SVN revision: 50471
2010-07-24 02:11:30 +00:00
Christopher Michael 11182365d3 Formatting.
SVN revision: 50370
2010-07-19 19:06:09 +00:00
Christopher Michael 5a7b450c04 Patch from rubenbb to fix ticket #562 (dpms being turned off by
fullscreen windows).

I modified this patch slightly. Removed some unused handlers. limits.h
is already included in e.h, so no need to reinclude it. Fixed formatting.



SVN revision: 50356
2010-07-18 19:06:00 +00:00
Christopher Michael 3bc9491c92 Ok, apparently that one is needed as sha1 does not include e.h :(
SVN revision: 50345
2010-07-18 17:41:06 +00:00
Christopher Michael de6b1f93a4 This header already handled by e.h
SVN revision: 50344
2010-07-18 17:38:19 +00:00
Christopher Michael 79156d3266 Math.h is already included by e.h.
SVN revision: 50330
2010-07-18 17:19:46 +00:00
Lucas De Marchi d8dc2a9511 Remove unneeded code with notnull.cocci script
This continues previous commit with more complex places, where it required
more than just removing some "ifs".



SVN revision: 50242
2010-07-14 02:20:30 +00:00
Lucas De Marchi c426218dfe Remove unneeded code with notnull.cocci script
The notnull.cocci script from Coccinelle finds places where you check if a
variable is NULL, but it's known not to be NULL. The check can be safely
removed. For example, this code would be caught by notnull:

if (!var) return;
if (var && var->fld) { ... }

It's needless to check again if var is not NULL because if it's in fact NULL,
it would have returned on the previous "if". This commit removes all the
trivial places where this pattern happens. Another patch will be generated for
the more complex cases.


SVN revision: 50241
2010-07-14 02:05:47 +00:00
Carsten Haitzler 38c5103bae ---------------------------+------------------------------------------------
Reporter:  ruben          |       Owner:  raster            
 Type:  Bug                |      Status:  new               
 Priority:  Major          |   Milestone:  Enlightenment 0.17
 Component:  enlightenment |    Keywords:  dpms, fullscreen  
 Blocking:                 |   Blockedby:                    
---------------------------+------------------------------------------------
        
patch - Close Ticket #562



SVN revision: 50240
2010-07-13 23:56:47 +00:00
Carsten Haitzler 15343b4790 should set stacking in db struct too after stacking req
SVN revision: 50217
2010-07-13 12:25:20 +00:00
Andreas Volz 31663d7051 temoporary limited maximize algorithm
SVN revision: 50207
2010-07-12 22:12:02 +00:00
Cedric BAIL 59dd1bca1d * e_popup: Destroy idler when done.
SVN revision: 50198
2010-07-12 14:03:49 +00:00
Carsten Haitzler f61b02821e some more of dso fix
SVN revision: 50188
2010-07-12 00:16:16 +00:00
Andreas Volz c0a5d4e794 fix to prevent lost windows if resizing a window to offscreen coordinates
SVN revision: 50133
2010-07-08 21:05:34 +00:00
Christopher Michael abb7c4287b Bump config generation for newly added geometry options.
SVN revision: 50084
2010-07-06 20:04:07 +00:00
Andreas Volz 6e35928dea added two new configuration options for the geometry_manipulation conf plugin:
int         geometry_auto_move; // GUI
   int         geometry_auto_resize_limit; // GUI

This does influence the configure_request algorithm in the way that the user could disable the window 
geometry move and resize feature that is useful for e.g. Gnome fileselector or gnome-terminal tabs.
There was a use case on the list where this was not nice so I created an option to disable it. If one thinks
a special e.src shouldn't activate this feature by default, please change it.

SVN revision: 50083
2010-07-06 19:49:48 +00:00
Christopher Michael 18a8c0961c Whitespace removal.
SVN revision: 50082
2010-07-06 19:44:33 +00:00
Andreas Volz c86c1144fe req_window_oversize:
If a window likes to open with bigger 
initial coordinates bigger than the screen 
(minus ignore zones like not overlap allowed shelfes) 
the window should be sized to the maximum allowed size.

SVN revision: 50028
2010-07-04 19:10:09 +00:00
Cedric BAIL b5b1d3fc1a * e: don't crash to easily when Ecore_Evas windows can't be created.
SVN revision: 49996
2010-07-02 13:47:31 +00:00
Cedric BAIL 114e04ebed * e: remove gradient used by e_color_dialog.
NOTE: maybe a bug in evas map or a wrong use by myself, but colors
	look ugly sometime (well, often).


SVN revision: 49965
2010-07-01 16:05:17 +00:00
Andreas Volz c153c4b86e req_maximize_ignore_zone:
If a window likes to maximize while it stays below a ignore zone (like not overlap allowed shelfes) it should be maximized only in the overlap allowed zone. At returning to normal state it should be placed in the original position.

SVN revision: 49942
2010-06-29 21:04:34 +00:00
Andreas Volz bb3501c1c8 req_window_resize_move:
If a window resizes itself without border interaction it's moved to the next available coordinates which aren't covered by ignore zones like not overlap allowed shelfes.


SVN revision: 49910
2010-06-27 20:48:43 +00:00
Andreas Volz ce88316472 req_window_offscreen:
If a window likes to open with initial offscreen coordinates E should move it to the nearest onscreen coordinates.

req_window_ignore_zone:
If a window likes to open with initial coordinates in a window ignore zone (like not overlap allowed shelfes) if should be moved to the next allowed coordinates.



SVN revision: 49909
2010-06-27 20:41:52 +00:00
Andreas Volz cd158657f1 overlap shelfes are for sure useful geometry
SVN revision: 49908
2010-06-27 20:31:36 +00:00
Andreas Volz 2fdb25b89b this was for sure a bug -> it should be x instead of y
SVN revision: 49907
2010-06-27 20:27:20 +00:00