Commit Graph

52 Commits

Author SHA1 Message Date
Mike Blumenkrantz 718dfef61d giant comp rejiggering commit #6:
* border->fx REMOVED, related border api REMOVED

* comp edc has new class of groups: e/comp/effects[/auto]
** these are effects which can be applied to any compositor object through the e_comp_win_effect* api and are written in embryo
*** two types - base and auto - base = manual, for use with animators; auto are "trigger and forget", for use as actual effects

* desk flip transition animations moved to comp effects and FIXED(ish)

* "zoom" effect renamed to "diagonal" for slightly less misleading name since it never did any zooming

* actual "zoom" effect added

* border hierarchy now as follows: cw->effect_obj swallows cw->shobj, cw->shobj swallows cw->bd->bg_object ?: cw->obj, if (cw->bd->bg_object) cw->bd->bg_object swallows cw->obj
** cw->effect_obj now used for all positioning and comp logic
** cw->effect_obj ONLY used for object transformation effects (moving, zooming, fading, etc)
** cw->shobj ONLY for comp visual/non-movement effects (focus effect, unfocus opacity, legacy shadows); this is a candidate for removal/rewrite in E19

* even more comp shape rewrites

* desk flip animation time now controlled by theme since edje doesn't support setting transition time in C; related config value removed

* desk flip transitions (in e_desk.c) rewritten

* various modules (evry/illume2) updated to use comp effects instead of fx offset

* desk flip configuration BROKEN(ish)
2013-04-15 08:39:16 +01:00
Sebastian Dransfeld 80b0b615b8 e: Cleanup
Fixes potential invalid memory reads.

Patch by Igor Murzov

SVN revision: 77491
2012-10-04 23:27:01 +00:00
Sebastian Dransfeld 4735da0b0c E: Revert change in layer to pos map
Seems there is a lot of code which is connected to the current mapping,
and no need to create a lot of fuzz because of one unused layer.

SVN revision: 77309
2012-10-02 12:02:02 +00:00
Sebastian Dransfeld 7e76afdd0a illume2: Fix layer to position map
There is a bug here somewhere. In _policy_border_show_below we search
only the layers _above_ the window?!?

SVN revision: 77298
2012-10-02 10:26:10 +00:00
Christopher Michael 6608e80725 E (Illume): Update border layer position to match changes in
e_container_layer_map.



SVN revision: 77297
2012-10-02 10:21:09 +00:00
Christopher Michael fdf581a87e Illume: Fix ticket 1486 (Illume Home Key Button no longer works). Fix
some layering issues with Back/Forward also.

Implement a "hide_above" function to hide anything above Home window.



SVN revision: 76646
2012-09-14 07:40:31 +00:00
Christopher Michael 5b80ad77d9 E (Illume): Fix border_show_below also (and remove some printfs).
SVN revision: 76592
2012-09-13 08:51:45 +00:00
Christopher Michael 3ed9034661 E (Illume): Fix borders not iconifying in mobile profile when you
launch new apps or switch focus.



SVN revision: 76590
2012-09-13 08:33:14 +00:00
Carsten Haitzler 515819cdb5 make all zone matching agree on the same convention - use zone->num,
not zone->id. zone->id is for matching u to zinerama/xrandr
screens/outputs. e re-sorts based on highest res screens first, lower
res later.



SVN revision: 67951
2012-02-15 04:35:18 +00:00
Christopher Michael e7540c354d E/Illume: Remove UNUSED here...yes, bd is actually used.
SVN revision: 62991
2011-08-30 14:59:19 +00:00
Christopher Michael 002f844940 E: Illume2/Policy: Remove some extra comments (printfs) that are not
needed.



SVN revision: 60785
2011-06-28 23:44:29 +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
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
Carsten Haitzler 5a7a504cb8 conformant home window... should not be sized down :)
SVN revision: 57111
2011-02-17 07:44:51 +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 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
Mike Blumenkrantz 572ed90432 more uninitialized values
SVN revision: 56148
2011-01-16 01:22:41 +00:00
Christopher Michael a2bf209842 NB: This commit for Tasn; getting systray to work with
illume-indicator ;)

Systray:
  - Do NOT assume we are drawing to the desktop if we are not a shelf;
rather, get the ecore_x_window of the gadget containers evas.

Illume-Indictor:
  - Use a popup window on the indicator window so that systray module
can work with illume-indicator.

Illume:
  - Add some traps in case e_border_name_get does not return something.



SVN revision: 54052
2010-10-30 19:05:48 +00:00
Christopher Michael d070f976b1 If we are going to cycle focus backward, we need to loop the focus
stack in reverse.



SVN revision: 53084
2010-10-05 19:23:04 +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
Christopher Michael 7542136e82 Add UNUSED where needed.
Fix a few harmless warnings about parens.
Fix warnings about comparison between signed and unsigned.



SVN revision: 51443
2010-08-19 19:33:23 +00:00
Christopher Michael b64b865ff4 Add some safety checks.
Refactor some if statements to be simplier.



SVN revision: 50899
2010-08-08 12:44:04 +00:00
Christopher Michael 1f672ba9cf Add some safety checks.
Reorder some checks inside functions (easier/faster checks first).

When mode changes and we check the 'home' window count, make sure we
actually have some home windows first before trying eina_list_count on
a potentially null list.

When doing focus back/forward, make sure we have a focused border to
begin with.

Dot some i's and cross some T's ;)



SVN revision: 50896
2010-08-08 11:37:34 +00:00
Christopher Michael 4e019a9f23 Update layout of windows if indicator or softkey module is
loaded/unloaded.



SVN revision: 49561
2010-06-08 05:23:44 +00:00
Christopher Michael 2ea9dd7909 Use our own border show/hide functions.
SVN revision: 48628
2010-05-05 16:17:24 +00:00
Christopher Michael c5aa274610 Add code for 'focus forward' in the policy.
SVN revision: 48469
2010-04-30 13:17:33 +00:00
Christopher Michael 0736f6493f Fix focus_home function to hide windows below when home is focused.
No need to layout windows which are not visible.



SVN revision: 48173
2010-04-20 19:34:12 +00:00
Christopher Michael aaffb12f22 Check previous border's zone before setting focus.
SVN revision: 48154
2010-04-20 00:10:10 +00:00
Christopher Michael b27bad5c9a Instead of always focusing home when there is a problem showing_below, try
to focus the previous border in the focus stack, and if that fails, then
focus home (fixed #7 in 'illume2 problems' email).



SVN revision: 48153
2010-04-20 00:06:18 +00:00
Christopher Michael f08d02f9ab If a transient gets closed, focus it's parent (fixes keybinding dialog issue).
SVN revision: 48152
2010-04-19 23:40:48 +00:00
Christopher Michael acae39fd3e Fix issue where sometimes when closing an app, the window below would
not show...now it will at least show home. This fixes the 'grey'
background issue reported by TAsn.

Fix issue of keyboard layout getting reset when switching between 2
apps which use a vkbd (reported by TAsn).



SVN revision: 47636
2010-03-31 23:43:35 +00:00
Christopher Michael 6dfe7ded69 Use our own focus stack for 'back' button as E's stack seems to include
windows even if they don't accept or take focus.
Don't cycle focus if a window has a transient dialog present.
Fix some formatting.

Fixes focus cycle issue(s) reported by TAsn, thanks :)



SVN revision: 47614
2010-03-30 23:39:43 +00:00
Christopher Michael c41edaac93 When 'mode' changes we may need to reset indicator position depending
on mode, so in layout update don't skip indicators.



SVN revision: 47439
2010-03-25 00:23:55 +00:00
Christopher Michael 11c9dc57fd Remove printf & some unused variables.
SVN revision: 46635
2010-02-28 02:36:49 +00:00
Christopher Michael 301223f66f Remove last remaining round-trip.
Remove some printfs.
Fix some formatting.



SVN revision: 46510
2010-02-26 11:37:01 +00:00
Christopher Michael f5d8886bad Remove 2 more round-trips. (Tested and did not see any adverse effects, but
left orig code commented out just in case).

Add some additional comments.



SVN revision: 46508
2010-02-26 10:57:26 +00:00
Carsten Haitzler 4513a24797 no more round trips! bad bad bad!
SVN revision: 46459
2010-02-25 12:26:10 +00:00
Christopher Michael 07062860cb Handle policy activate layer a bit better (don't set so high).
Add an easily adjusted variable in policy.h for POL_ACTIVATE_LAYER.



SVN revision: 46454
2010-02-25 05:45:14 +00:00
Christopher Michael 5180f292dd Fix focus track issue(s) as reported by TAsn.
SVN revision: 46446
2010-02-24 22:48:02 +00:00
Christopher Michael 4bf3e5c772 Check for new_client when laying out indicator. (Needed for elm_indicator
app).



SVN revision: 46438
2010-02-24 18:21:50 +00:00
Christopher Michael f799583101 Update layout properly when zone changes size or moves. This should fix
xrandr issue for TAsn ;)



SVN revision: 46413
2010-02-23 23:31:46 +00:00
Christopher Michael 9762df18a3 Unhide a border if we are looping through focus.
SVN revision: 46411
2010-02-23 22:37:40 +00:00
Christopher Michael 7a79cfc933 Add sending keyboard geometry for conformant apps.
SVN revision: 46404
2010-02-23 20:54:59 +00:00
Christopher Michael 536cc819b1 Fix NETWM Activate issue where the window would not raise or focus. This
works wrt fullscreen windows also.
Fix issues wrt hide/show race conditions that raster pointed out.
Fix issue where previous window was not shown again.



SVN revision: 46397
2010-02-23 18:15:00 +00:00
Christopher Michael 134b4f46ef Add some printfs for debugging.
SVN revision: 46375
2010-02-23 01:21:22 +00:00
Christopher Michael 448f5524d6 Don't need to trigger layout update twice.
Set focus to the newly shown border.



SVN revision: 46311
2010-02-19 14:45:10 +00:00
Christopher Michael 2de25e35db Fix case(s) where home window was not showing when another app was visible
and we changed layout mode.



SVN revision: 46310
2010-02-19 14:40:41 +00:00