Commit Graph

5390 Commits

Author SHA1 Message Date
Christopher Michael 5a6461bcd8 Handle case where gadcon may not have the icon function for menu.
SVN revision: 52110
2010-09-09 22:18:00 +00:00
Christopher Michael 312da38b10 Get the Label from the gadget itself for display in the menu (rather
than the gadget name which is usually just a short version which would
mean less to the user).

Use the Icon from the gadget itself for display in the menu.



SVN revision: 52106
2010-09-09 20:46:24 +00:00
Miculcy Brian 2f8f31fbf5 This commit will change the shelf menu completly:
If you have a Gadget and open the menu over it, all gadget specific options are under a separate submenu. The menu items which the Gadget sets theirself can be put on the main menu tree or on the Gadget submenu.
If you don't see a reason for this, check the ibar menu _before_ and _after_. :)

This api change broke all modules but i already fixed them all. Hope everything works... I also shortend text strings, etc, etc.
Hope you like it! :)


SVN revision: 52041
2010-09-09 14:44:21 +00:00
Lucas De Marchi 25113159a5 Fix common misspellings
Some misspellings were manually reverted since in E there are tons of .po with
phrases in other languages. Other than that all the changes in the following
files were reverted:

 * src/modules/illume/dicts/English_(US).dic
 * src/modules/illume-keyboard/dicts/English_(US).dic


Following misspellings were fixed:

acquited->acquitted
adres->address
adress->address
alreayd->already
aquire->acquire
arbitarily->arbitrarily
cant->can't
Capetown->Cape
carefull->careful
causalities->casualties
Celcius->Celsius
certian->certain
commandoes->commandos
considerd->considered
conveyer->conveyor
dependant->dependent
didnt->didn't
discontentment->discontent
doesnt->doesn't
everytime->every
exemple->example
existance->existence
existant->existent
existince->existence
Farenheit->Fahrenheit
forbad->forbade
funguses->fungi
guage->gauge
guerilla->guerrilla
guerillas->guerrillas
happend->happened
hasnt->hasn't
heros->heroes
inbetween->between
independant->independent
inital->initial
intrusted->entrusted
irregardless->regardless
isnt->isn't
knifes->knives
layed->laid
loosing->losing
marrage->marriage
midwifes->midwives
miniscule->minuscule
monickers->monikers
mroe->more
noone->no one
occured->occurred
omre->more
paralell->parallel
payed->paid
planed->planned
quitted->quit
quizes->quizzes
seperated->separated
seperate->separate
shoudl->should
similiar->similar
simplier->simpler
specifiying->specifying
teh->the
toke->took
torpedos->torpedoes
Tuscon->Tucson
unecessary->unnecessary
useage->usage
usefull->useful
useing->using
waht->what
wanna->want
whith->with
wich->which
withing->within




SVN revision: 52006
2010-09-08 23:59:07 +00:00
titan 39857253e5 Update about seeing as how it is 2010.
SVN revision: 51961
2010-09-07 23:26:41 +00:00
Carsten Haitzler 39bf250f10 fmting
SVN revision: 51937
2010-09-07 09:08:34 +00:00
Carsten Haitzler 7cf8ebbed3 bah! brokne inst matching.. e literally lost all inst's! fixed.
SVN revision: 51936
2010-09-07 08:53:34 +00:00
Miculcy Brian 748d4e182f Show a better name for shelfs, shelfs are now named as "Shelf bottom", "Shelf bottom_left", etc. I guess _E_Shelf->const char *name can be removed now... Anyone against that? :)
SVN revision: 51929
2010-09-06 17:38:18 +00:00
Miculcy Brian c5f7dfa28a woops, forgot to commit...
SVN revision: 51928
2010-09-06 17:15:36 +00:00
Miculcy Brian 1f75896f70 allow to select between desktop file types
SVN revision: 51924
2010-09-06 15:17:21 +00:00
Mike Blumenkrantz 015e43980c I give up. vim is too big and too stupid for me to fight
SVN revision: 51880
2010-09-04 06:24:49 +00:00
Mike Blumenkrantz 88e5bb4ff1 try fix broken vim formatting: VIM TABS ARE WRONG! I WILL SEND NINJAS AFTER THE NEXT PERSON WHO USES THEM!!!
SVN revision: 51879
2010-09-04 06:05:32 +00:00
Miculcy Brian 6f7ca81277 easier shelf menu
SVN revision: 51867
2010-09-03 18:41:23 +00:00
Christopher Michael f35b6dfbc7 Fix Ticket # 568: Interrogating contents of ilist may return incorrect
response.

Check if the we still have not processed the queue, if so return the
que list count (as this is the number of items we are adding anyway).
If the queue has been processed already, then return the normal
e_ilist_count.



SVN revision: 51866
2010-09-03 17:54:01 +00:00
Christopher Michael 7dda2eb780 Fix a little formatting.
SVN revision: 51864
2010-09-03 16:53:06 +00:00
Mike Blumenkrantz 439be6643a error messages: now in english!
SVN revision: 51854
2010-09-03 03:26:22 +00:00
Miculcy Brian f19ac31470 allow to edit desktop files including urls
SVN revision: 51783
2010-08-31 13:49:17 +00:00
Miculcy Brian 586632efd1 allow to directly edit .desktop files
SVN revision: 51761
2010-08-30 17:54:18 +00:00
Miculcy Brian a9918f881b Fix for missing menu entries...
SVN revision: 51753
2010-08-30 15:14:25 +00:00
Carsten Haitzler 62862fa56f dont use evas_imaging anymore... and... do svg test the right way.
SVN revision: 51708
2010-08-29 02:25:57 +00:00
Carsten Haitzler 1301f7e510 be a bit nicer in auto desktop creation from bd
SVN revision: 51657
2010-08-26 12:14:38 +00:00
Lucas De Marchi 121f40d86f Revert and re-apply badnull patch
Revert previous patch generated by badnull.cocci script, and apply the new one.
The main difference is that assert and assert-like functions are not touched
anymore.




SVN revision: 51650
2010-08-26 01:34:13 +00:00
Christopher Michael f467fa997c Fix compiler warning about integer from pointer without cast.
SVN revision: 51588
2010-08-23 20:47:01 +00:00
Leif Middelschulte cf91a2561a From: Leif Middelschulte <leif.middelschulte@gmail.com>
this is a little patch for e_randr related stuff.

- replace the saving of a monitor's EDID with a hash of it.
- rename a variable name



SVN revision: 51508
2010-08-22 03:49:34 +00:00
Lucas De Marchi 63f07459a0 Convert (hopefully) all comparisons to NULL
Apply badzero.cocci, badnull.coci and badnull2.cocci

This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:

code before patch               ||code after patch
===============================================================

return a == NULL;                 return !a;

return a != NULL;                 return !!a;

func(a == NULL);                  func(!a);

func(a != NULL);                  func(!!a);

b = a == NULL;                    b = !a;

b = a != NULL;                    b = !!a;

b = a == NULL ? c : d;            b = !a ? c : d;

b = a != NULL ? c : d;            b = a ? c : d;


other cases:

a == NULL                         !a
a != NULL                         a




SVN revision: 51487
2010-08-21 13:52:25 +00:00
Carsten Haitzler b2332d5946 notes.
SVN revision: 51478
2010-08-21 03:27:21 +00:00
Carsten Haitzler ddb6cf998b disable union for randr config... THIS is causing problems... big time.
SVN revision: 51477
2010-08-21 02:51:54 +00:00
Carsten Haitzler e6a803158a j++!!!!
SVN revision: 51474
2010-08-21 01:52:20 +00:00
Carsten Haitzler 9cb6681b35 simply breaking some long lines for readability.
SVN revision: 51473
2010-08-21 01:48:19 +00:00
Christopher Michael 12521ce427 Fix another case of unused paramater.
SVN revision: 51456
2010-08-20 00:45:45 +00:00
Christopher Michael d11795c80d Fix a couple more cases of UNUSED paramaters.
SVN revision: 51455
2010-08-20 00:44:27 +00:00
Carsten Haitzler 7b47cd8425 other bit of lief's patch.
SVN revision: 51453
2010-08-19 22:49:13 +00:00
Cedric BAIL 4c42c4f167 * e: X server without Xrandr do exist.
SVN revision: 51412
2010-08-19 16:34:40 +00:00
Michael BOUCHAUD 8f557cd30c Use a const char * here, remove some warning
SVN revision: 51402
2010-08-19 15:18:18 +00:00
Christopher Michael e2c4d23e38 Add Unused.
SVN revision: 51371
2010-08-18 22:23:26 +00:00
Christopher Michael f5282a1018 Add unused.
SVN revision: 51370
2010-08-18 22:20:52 +00:00
Christopher Michael 5826cdfbb8 Add UNUSED where needed.
SVN revision: 51369
2010-08-18 22:16:57 +00:00
Christopher Michael 76bd06d87c Add unused where needed.
SVN revision: 51368
2010-08-18 22:09:27 +00:00
Christopher Michael 691061d7bf Add UNUSED.
Remove unused variable(s).



SVN revision: 51367
2010-08-18 22:05:27 +00:00
Christopher Michael 2d77de85d5 Add UNUSED
Add missing function(s) for Evas_Smart_Class.



SVN revision: 51366
2010-08-18 21:59:38 +00:00
Christopher Michael 027e79bea1 Add UNUSED where needed.
SVN revision: 51365
2010-08-18 21:56:51 +00:00
Christopher Michael 6e4b7513cb Revert PATH_MAX change there...PATH_MAX may not be long enough.
SVN revision: 51364
2010-08-18 21:49:48 +00:00
Christopher Michael ff1030a1e5 Add UNUSED.
SVN revision: 51363
2010-08-18 21:48:45 +00:00
Christopher Michael c4075dfaed Add UNUSED
Use PATH_MAX.



SVN revision: 51362
2010-08-18 21:41:27 +00:00
Christopher Michael 8ad7536fa3 Add UNUSED.
SVN revision: 51360
2010-08-18 21:25:29 +00:00
Christopher Michael 0f8e879386 Add UNUSED where needed.
SVN revision: 51359
2010-08-18 21:24:03 +00:00
Christopher Michael 496a3bb5b0 Add UNUSED where needed.
SVN revision: 51358
2010-08-18 21:21:49 +00:00
Christopher Michael 737964813b Add unused where needed.
SVN revision: 51357
2010-08-18 21:20:36 +00:00
Christopher Michael 5198eb8e5c Add UNUSED.
SVN revision: 51356
2010-08-18 21:19:36 +00:00
Christopher Michael b2433413d9 Add UNUSED.
Use PATH_MAX.



SVN revision: 51355
2010-08-18 21:18:31 +00:00
Christopher Michael 790bdb035b Add UNUSED.
SVN revision: 51352
2010-08-18 21:15:41 +00:00
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
Carsten Haitzler 94eb10404e edge -> no ev. dont seg
SVN revision: 49884
2010-06-27 08:35:59 +00:00
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Christopher Michael 384a49358f Fix compiler warnings when E is compiled without gettext.
SVN revision: 49775
2010-06-21 02:17:58 +00:00
Carsten Haitzler 77cd6f5b18 check here too
SVN revision: 49768
2010-06-20 11:13:31 +00:00
Carsten Haitzler 401482dfbf toolbar - be happy without icon
SVN revision: 49767
2010-06-20 10:55:08 +00:00
Christopher Michael d0868ecd95 Reduce variable usage.
Use E_NEW & E_FREE.



SVN revision: 49762
2010-06-19 22:59:02 +00:00
Vincent Torri f34e89ffec * allow compilation without gettext
* fix a bit maintainer-clean rule



SVN revision: 49759
2010-06-19 17:33:38 +00:00
Christopher Michael eea86e7714 Fix nasty formatting.
SVN revision: 49757
2010-06-19 01:19:01 +00:00
Tiago Rezende Campos Falcao fa956101a7 Adding selection API to E_Icon
SVN revision: 49755
2010-06-18 22:39:00 +00:00
Andreas Volz cb1d2785fa temporary comment my latest change here.
while working with it I got some strange window placements. I need to analyze these situations before I release it to the public...


SVN revision: 49673
2010-06-14 19:44:56 +00:00
Andreas Volz 8610b9eaa9 Based on an IRC discussion I changed the smart placing mechanism to hit also if icccm.request_pos is true. Many Gnome based application try to start with coordinates below the shelfes and E allows it. This smoothly moves this windows away is smart placement is active. It's not as aggressive as Metacity, but now usable with vertical shelfes. If you don't like this change hit me and discuss it again on the list.
SVN revision: 49654
2010-06-12 12:54:18 +00:00
Tiago Rezende Campos Falcao 1d996d2852 Adding more events to E widgets[B.
SVN revision: 49457
2010-06-04 21:10:05 +00:00
Gustavo Sverzut Barbieri d08037a625 Window/Action/Push in direction is now able to do 2d movements.
Allow one to send window to corners. up-left, up-right, down-left and
down-right are the new possible values.

HINT: for those that don't know, the "Push" has the nice behavior to
do the push in the given direction but stops in the first
window/obstacle in that direction, thus avoiding overlapping windows.



SVN revision: 49433
2010-06-04 02:08:43 +00:00
Gustavo Sverzut Barbieri 36c9bdebe1 Fix Window/Actions/{Move to..., Push in Direction...} to account shelf.
Now push to edges or move to position will account for shelves and not
move things below/ontop of them.

Move to help was also changed to say "+" instead of " " as it is more
clear. The code just checks for '-', so anything else is accounted as
positive anyway.



SVN revision: 49432
2010-06-04 01:51:24 +00:00
Gustavo Sverzut Barbieri f43545400a annoyances--: do not place desktop icons under shelves.
The new trend these days seems to be "place a shelf on top of the
screen", in that case your desktop icons will get under that shelf and
looks annoying, people laugh at E users that use that :-D (fortunately
I'm the one that usually laugh...)

Fixed, but possible other places to be fixed as well. If one wants to
avoid the shelves, use the e_zone_useful_geometry_get().

e_zone now emits E_EVENT_ZONE_MOVE_RESIZE when the useful geometry
becomes dirty. Maybe it is worth to add a new signal, but I'm reusing
it until someone complains.




SVN revision: 49431
2010-06-04 01:12:04 +00:00
Christopher Michael 6f33f9d823 Cleanup todo.
SVN revision: 49419
2010-06-03 19:27:44 +00:00
Christopher Michael 7ef8b28341 Make sure we don't go below zero (for the case where _thaw gets called
an odd number of times).



SVN revision: 49418
2010-06-03 17:35:41 +00:00
Christopher Michael 97d4239b35 Add a way to freeze incoming acpi events.
NB: To be used in the acpi bindings config dialog. This allows us to freeze 
all existing events so that if the user presses the power button 
(or something else) when adding a new binding, their machine does not
power off.



SVN revision: 49416
2010-06-03 16:57:09 +00:00
Hannes Janetzek 669b7e9e7c allow direct editing of icon name.
before it was not possible to set an icon by name and not by path.
also one has now direct feedback if an icon can be found in theme


SVN revision: 49398
2010-06-02 19:59:48 +00:00
Mike Blumenkrantz adec397c6e change hal poller to a dbus signal handler
SVN revision: 49389
2010-06-02 03:42:03 +00:00
Mike Blumenkrantz 492178f1b2 add header, fix compile warning when printing int64 (use PRIi64)
SVN revision: 49388
2010-06-02 03:23:49 +00:00
Carsten Haitzler e266915a7b just nuke 1 line.
SVN revision: 49386
2010-06-01 23:49:52 +00:00
Mike Blumenkrantz 4f2750dc81 change efm functionality to account for hal not being present. previously on startup, efm sent dbus messages to nonexistent hal object paths, setting up watches and handlers (but not actually setting them up since hal didn't exist).
now we test for hal presence through introspection call and set up handlers only if hal is present. otherwise set a poller to call introspect on hal every 30 seconds and then set up handlers if hal is later detected
note: this commit message is excessively long.


SVN revision: 49373
2010-06-01 15:33:56 +00:00
Carsten Haitzler 348d599f8b lock on suspend option++ (also on hibernate - same options)
SVN revision: 49354
2010-05-31 15:17:02 +00:00
Christopher Michael df3d66bebd Not much need to reget the widget data when trying to retrieve text
from the entry. We already have the widget data struct, so grab the
text directly from e_entry.



SVN revision: 49341
2010-05-31 01:23:07 +00:00
Christopher Michael 16c373d23b Set any new bindings (when config gets upgraded) to the appropriate
status. (Oops, I missed a commit.)



SVN revision: 49321
2010-05-30 02:45:27 +00:00
Christopher Michael 8dbd555663 Check for a binding status of -1 so that we skip comparison with
event_status (if needed).



SVN revision: 49320
2010-05-30 02:23:06 +00:00
Christopher Michael d2d1e49bf5 Add bindings for ACPI.
Add acpi bindings to config.
Add handlers in e_acpi for common/default acpi events.
Add actions for some missing ACPI events.
 - NB: Dim/Undim screen do nothing currently except a printf.



SVN revision: 49309
2010-05-29 19:57:13 +00:00
Hannes Janetzek 8b7e86be29 fix bottom right and bottom left edge position
SVN revision: 49305
2010-05-29 18:21:23 +00:00
Carsten Haitzler 8db097c619 fix dnd from menu bug.
SVN revision: 49302
2010-05-29 14:55:47 +00:00
Carsten Haitzler 4625a590c2 and now follow the same setup as efl libs too.
SVN revision: 49286
2010-05-29 10:37:52 +00:00
Gustavo Sverzut Barbieri 9e581982f7 Do not activate DPMS, Screen Saver or Locker if there is a fullscreen window.
I guess there is nothing more annoying than having a fullscreen window
to watch a quick movie, read some text or webpage or whatever and have
the DPMS to show, or the screensaver to be activated or your screen to
be locked.

This patch uses the new border signal and counts, if there is at least
one fullscreen border, then avoid doing these annoyances.

I'm not accounting for any border parameter/property, like if it is in
a visible screen or desktop. I hope this is fine, otherwise let me know.

I also asked and common sense at IRC (at least to me and englebass) is
that there is no need to configure such behavior, so there is no
configure option for it.

I'm also thinking about maximized windows to have a configurable
behavior to match this, but I'm not sure.



SVN revision: 49262
2010-05-28 22:13:20 +00:00
Gustavo Sverzut Barbieri 1c3afc74b2 Emit events when windows become or leave fullscreen.
SVN revision: 49258
2010-05-28 21:37:42 +00:00
Gustavo Sverzut Barbieri 1a818e8ac8 fix bitfield.
SVN revision: 49256
2010-05-28 20:49:01 +00:00
Gustavo Sverzut Barbieri 5e42f12ffb if fullscreen border was moved between desks, update desk fullscreen count.
just happened to notice this possible error, no idea if paths could
really trigger it, but was simple enough to fix.



SVN revision: 49249
2010-05-28 18:54:25 +00:00
Hannes Janetzek 702218034b check strings not null
SVN revision: 49230
2010-05-27 12:45:41 +00:00
Christopher Michael a9f6e4186e Bus id can be longer than 4 chars, so fix scanf.
SVN revision: 49201
2010-05-26 02:29:48 +00:00
Gustavo Sverzut Barbieri 367b87e1cb don't show "Lost Windows" on main menu. It is already in "Windows" submenu.
This makes the first level of the menu simpler. If you want the "Lost
windows" on the main menu back, make sure you remove the "if (dat)"
branch inside _e_int_menus_clients_pre_cb() otherwise you get duplicated menus.



SVN revision: 49199
2010-05-25 18:22:48 +00:00
Gustavo Sverzut Barbieri eade689804 set dat as client's sub menu so it does not show the title.
SVN revision: 49198
2010-05-25 18:00:36 +00:00
Christopher Michael d1e46e3888 Fix segfault if gadget has no zone.
SVN revision: 49163
2010-05-23 20:39:51 +00:00
Rafael Antognolli de4fae0a96 Call _e_fm2_dbus_mount_fail instead of _e_fm2_dbus_unmount_ok when
mount fails.



SVN revision: 49148
2010-05-23 00:18:38 +00:00
Mike Blumenkrantz 97529addef match eeze changes, add init/shutdown calls to illume2 keyboard
SVN revision: 49130
2010-05-22 07:04:26 +00:00
Christopher Michael dbf68af02f Fix shelf settings dialog always resetting the shelf style to
'alternate'.



SVN revision: 49121
2010-05-22 02:52:05 +00:00
Carsten Haitzler 6336dcebbf dont use bg pixmap if compositing (or async rendering).
SVN revision: 49108
2010-05-21 17:08:22 +00:00
Hannes Janetzek 264dab3961 fix previous commit
SVN revision: 49094
2010-05-21 11:30:10 +00:00
Carsten Haitzler d9588a3a67 add svn revision tracking into src. about dialog shows it now.
SVN revision: 49086
2010-05-21 05:42:27 +00:00
Christopher Michael 582c27ec2b Use proper formatting for parens() *cough*
Remove white & fix other formatting.



SVN revision: 49085
2010-05-21 05:27:04 +00:00
Hannes Janetzek 5b4f108d9c fix bug with popups no showing up when using composite. seems to happen only on 'slow' machines
SVN revision: 49082
2010-05-21 04:30:44 +00:00
Davide Andreoli 233042686a Add missed func: e_widget_ilist_selected_data_get(*obj)
SVN revision: 48986
2010-05-18 21:37:05 +00:00
Carsten Haitzler 25cb393e47 call sys action for exit on io error - cleaner.
SVN revision: 48966
2010-05-18 07:50:56 +00:00
Christopher Michael 24188afa26 Add enums for acpi signals, and enums for lid status.
Add function to return current lid status.



SVN revision: 48948
2010-05-17 22:46:28 +00:00
Christopher Michael 078fe68f2d Make sscanf a bit more sane wrt the if statement.
SVN revision: 48931
2010-05-17 00:18:21 +00:00
Christopher Michael 08fde98a06 For unknown devices, set the event's device name to the name of the
device returned in the ACPI message rather than a hard-coded 'unknown'.



SVN revision: 48930
2010-05-17 00:11:55 +00:00
Christopher Michael 3c8d951719 Small formatting fix.
SVN revision: 48929
2010-05-17 00:04:12 +00:00
Christopher Michael d823aba015 Add a TODO list.
Create a device hash to match standard device names to types.
Cleanup E_EVENT_ACPI (add missing ones, remove not needed ones).
Actually parse out the ACPI data which we receive.

You can now actually use this ACPI code for event listening, but the
Status field of the event structure needs sanatizing yet (turn into
something meaningful).



SVN revision: 48928
2010-05-17 00:03:55 +00:00
Christopher Michael 7ec3688471 Add some more acpi event types that we will handle.
SVN revision: 48916
2010-05-16 16:10:36 +00:00
Christopher Michael e828519e97 Change acpi event structure to be able to pass more info.
SVN revision: 48912
2010-05-16 06:21:48 +00:00
Christopher Michael 903caca63b Add start of ACPI code. Does not actually parse yet tho.
Add e_acpi_init to startup (it safely returns if acpid is not running).
Fix some formatting in e_main.



SVN revision: 48910
2010-05-16 05:26:29 +00:00
Christopher Michael 76076d4399 Splash doesn't need eet or ecore-file, so remove includes.
Fix some formatting.



SVN revision: 48904
2010-05-16 01:59:49 +00:00
Hannes Janetzek e38b5bd6de test if svg loader works, if so add svg to efreet theme supported types
SVN revision: 48896
2010-05-15 17:56:50 +00:00
Carsten Haitzler 1fbaf30e95 add names to popups
SVN revision: 48888
2010-05-15 12:25:33 +00:00
Mike Blumenkrantz 127aae1ab8 my first e commit that doesn't break anything (I think)!
enables eeze_udev support where available, currently only illume2, as a device backend to replace ehal.
unless --enable-device-udev is explicitly specified, e will continue to use ehal as the device backend.
upon selection of eeze_udev, a brief warning will be shown during config summary.
components that do not support eeze_udev will still fall back to hal even if eeze_udev is selected


SVN revision: 48867
2010-05-14 18:19:51 +00:00
Christopher Michael 8bee4c012f Remove whitespace.
SVN revision: 48826
2010-05-13 21:07:02 +00:00
Sebastian Dransfeld 870e2c1cf4 e: revert svg icon acceptance
SVN revision: 48824
2010-05-13 20:26:56 +00:00
Sebastian Dransfeld 4850e4dc2c e: add const
SVN revision: 48822
2010-05-13 20:24:26 +00:00
Hannes Janetzek 5d71e61b91 dont skip windows that should only not be shown in taskbar.
SVN revision: 48785
2010-05-12 18:33:05 +00:00
Christopher Michael 08cc0c6e51 Replace exit() with e_main_shutdown so libs get shutdown correctly.
e_module_disable already calls e_config_save_queue().
Fix formatting.



SVN revision: 48782
2010-05-12 17:44:21 +00:00
Christopher Michael 4ae4080bac Use e_main_shutdown instead of exit so that eina_shutdown (and others)
get called when exiting.



SVN revision: 48781
2010-05-12 17:36:01 +00:00
Christopher Michael 30638d278d Use the same strings for init status (ie: convert Set Up to Setup).
SVN revision: 48766
2010-05-11 21:07:27 +00:00
Christopher Michael 57f2c2bd48 Set new client config geometry resolution to match current resolution
(better than a hard-coded value which may be incorrect).



SVN revision: 48748
2010-05-11 05:05:51 +00:00
Hannes Janetzek d62eb96fb4 added utility function to check module config version and show dialog when required. works with the common VERSION macros.
SVN revision: 48742
2010-05-10 23:44:53 +00:00
Sebastian Dransfeld 3741667825 e: need to stringshare returns
SVN revision: 48658
2010-05-06 20:51:42 +00:00
Carsten Haitzler 34e7b3a1bc iocharset not valid for udf (and normal user id) :/
SVN revision: 48572
2010-05-03 01:53:27 +00:00
Carsten Haitzler 12c8a33b11 fix segv with removable devices!!!! decode forced strdup/free etc... but rest
of code assumed stringshare.



SVN revision: 48546
2010-05-02 12:05:56 +00:00
Chidambar Zinnoury 94fe8e9020 EFM: on [↑] or [↓] key, use the same distance function for "normal" view modes as for "custom" view modes so that selection doesn't get jumpy.
SVN revision: 48542
2010-05-02 07:03:32 +00:00
Gustavo Sverzut Barbieri df86cee4f0 proper solution for 48487, just order was wrong.
SVN revision: 48518
2010-05-01 19:28:27 +00:00
Gustavo Sverzut Barbieri 42a2c6ae0b init popups before desklock, or the hash will not exist.
SVN revision: 48516
2010-05-01 19:21:07 +00:00
Gustavo Sverzut Barbieri f7ec145316 Icons should get events, even if the loaded edje group does not.
This bug was exposed by e_widget_deskpreview, that uses native E
backgrounds as edje group. As backgrounds likely do not need mouse
events, or in the case of backgrounds converted from JPEG/PNG images,
the edje would never get an event, so as e_icon, then those that rely
on events on icon will never get called as no children get events.



SVN revision: 48515
2010-05-01 18:24:30 +00:00
Gustavo Sverzut Barbieri 4cd34cc5e8 NEVER, EVER should modify the stringshared pointer.
That is why stringshare returns "const char*".

ZMike, pay attention to these cases. I know this one was particularly
nasty to spot since you receive the "const char *path", but later on
you request strrchr(path..) and receive "char *p", the cast is done
implicitly by libC to make all the case works (C++ version fixed this
recently, but in C there is no way).

The crash that lead me to investigate it was spot by Lucas De Marchi
at advanced wallpaper dialog, but actually other places that uses efm
should be equaly broken.



SVN revision: 48508
2010-05-01 16:02:03 +00:00
Hannes Janetzek 9b1d74ccf9 fix warnings
SVN revision: 48500
2010-05-01 13:26:32 +00:00
Hannes Janetzek b859ec06a3 if bindings context is 'any' then action is triggerd twice, for container and for zone. maybe not the best solution but otherwise one would have to create three bindings to get the 'any' behaviour
SVN revision: 48499
2010-05-01 13:26:10 +00:00
Mike Blumenkrantz 48336a9976 step 4.5: also increment this to avoid blowing away configs
SVN revision: 48490
2010-04-30 19:30:35 +00:00
Mike Blumenkrantz 9d40d66091 step 3: migrate all function and variable names to generic dbus naming
SVN revision: 48488
2010-04-30 19:14:20 +00:00
Mike Blumenkrantz de43538b12 check for hash table before freeing it which cause eina to get angry on e restart. don't make eina angry. you wouldn't like eina when it's angry.
SVN revision: 48487
2010-04-30 19:13:30 +00:00
Mike Blumenkrantz 4c2953f3f0 beginnings of the ukit migration. this time, in many many many small commits along the way to avoid breaking things! :)
step 2: migrate headers


SVN revision: 48464
2010-04-30 09:07:01 +00:00
Mike Blumenkrantz 5c598d1a78 beginnings of the ukit migration. this time, in many many many small commits along the way to avoid breaking things! :)
step 1: migrate *hal* files to *dbus* files


SVN revision: 48463
2010-04-30 08:38:08 +00:00
Mike Blumenkrantz a6c5618f69 finish char* to const char* conversion
SVN revision: 48461
2010-04-30 08:17:53 +00:00
Mike Blumenkrantz 5aa48ed402 fix more broken stringshare stuff from ehal memory migration, including incredible lines such as
char *udi = eina_stringshare_del(udi);
my bad, I really fudged the bucket on this one guys.


SVN revision: 48416
2010-04-29 10:17:41 +00:00
Mike Blumenkrantz 97da075d67 ukit integration taking way longer than expected, so I'm fixing all the stringshares now. should be safe to use. hooray.
SVN revision: 48414
2010-04-29 08:58:38 +00:00
Miculcy Brian 1972ad7589 reorder options
SVN revision: 48394
2010-04-28 14:58:27 +00:00
Carsten Haitzler aadcae0b20 be lenient on uri';s allow boring full paths.
SVN revision: 48380
2010-04-28 03:30:48 +00:00
Carsten Haitzler 4b1a77f8a0 DONT strip file://! efm etc. expects it.. as its a uri! dnd broke as of this
change completely... bad englebass! bad! spank! :)



SVN revision: 48379
2010-04-28 03:30:31 +00:00
Gustavo Sverzut Barbieri 8d647d48cf fix eap editor for icon selection.
SVN revision: 48368
2010-04-27 21:15:34 +00:00
Gustavo Sverzut Barbieri db6b561e3e remove stale references to enlightenment_fm_open, it's gone!
SVN revision: 48364
2010-04-27 15:47:12 +00:00
Carsten Haitzler 414ab703a9 no more e_fm_open - use dbus... eg:
dbus-send --session --dest=org.enlightenment.FileManager /org/enlightenment/FileManager org.enlightenment.FileManager.OpenDirectory string:'/home/raster'



SVN revision: 48362
2010-04-27 13:30:33 +00:00
Christopher Michael a824c8a731 Fix formatting & remove whitespace.
SVN revision: 48349
2010-04-26 21:50:53 +00:00
Miculcy Brian b7c95b0a13 When e segfaults during startup (module load), e now disables that module correctly after a restart and tells the user about that. TODO: Disable all modules correctly when not sure which one did the segfault during startup...
SVN revision: 48332
2010-04-26 16:31:33 +00:00
Jaime Thomas 202a06c9f6 Stop windows from jumping to (0,0) location when resizing using keybindings.
SVN revision: 48316
2010-04-25 18:50:14 +00:00
Sebastian Dransfeld 2216ee49df e: remember new defer time
SVN revision: 48245
2010-04-23 10:32:15 +00:00