Commit Graph

51 Commits

Author SHA1 Message Date
Cedric BAIL 3f9af38da2 edje: remove use of deprecated functions. 2014-06-07 21:10:55 +02:00
Mike Blumenkrantz 964ebfb5d7 also fix wp2 close button to not crash 2014-02-14 15:49:38 -05:00
Mike Blumenkrantz 3121ae65a9 fix wp2 crash
T902
2014-02-14 15:19:03 -05:00
Mike Blumenkrantz 86656e4df9 compositor rewrite / charlie-foxtrot situation
huge fustercluck commit because there wasn't really a way to separate out the changes. better to just rip it all out at once.

* compositor and window management completely rewritten. this was the goal for E19, but it pretty much required everything existing to be scrapped since it wasn't optimized, streamlined, or sensible. now instead of having the compositor strapped to the window manager like an outboard motor, it's housed more like an automobile engine.

** various comp structs have been merged into other places (eg. E_Comp_Zone is now just part of E_Zone where applicable), leading to a large deduplication of attributes

** awful E_Comp_Win is totally dead, having been replaced with e_comp_object smart objects which work just like normal canvas objects

** protocol-specific window management and compositor functionality is now kept exclusively in backend files

** e_pixmap api provides generic client finding and rendering api

** screen/xinerama screens are now provided directly by compositor on startup and re-set on change

** e_comp_render_update finally replaced with eina_tiler

** wayland compositor no longer creates X windows

** compositor e_layout removed entirely

* e_container is gone. this was made unnecessary in E18, but I kept it to avoid having too much code churn in one release. its sole purpose was to catch some events and handle window stacking, both of which are now just done by the compositor infra

* e_manager is just for screensaver and keybind stuff now, possibly remove later?

* e_border is gone along with a lot of its api. e_client has replaced it, and e_client has been rewritten completely; some parts may be similar, but the design now relies upon having a functional compositor

** window configuration/focus functions are all removed. all windows are now managed solely with evas_object_X functions on the "frame" member of a client, just as any other canvas object can be managed.

*** do NOT set interceptors on a client's comp_object. seriously.

* startup order rewritten: compositor now starts much earlier, other things just use attrs and members of the compositor

* ecore_x_pointer_xy_get usage replaced with ecore_evas_pointer_xy_get

* e_popup is totally gone, existing usage replaced by e_comp_object_util_add where applicable, otherwise just placed normally on the canvas

* deskmirror is (more) broken for now

* illume is totally fucked

* Ecore_X_Window replaced with Ecore_Window in most cases

* edge binding XWindows replaced with regular canvas objects

* some E_Win functionality has changed such that delete callbacks are now correctly called in ALL cases. various dialogs have been updated to not crash as a result

comp files and descriptions:

e_comp.c - overall compositor functions, rendering/update loop, shape cutting

e_comp_x.c - X window management and compositor functionality

e_comp_wl.c - Wayland surface management and compositor functionality

e_comp_canvas.c - general compositor canvas functions and utilities

e_comp_object.c - E_Client->frame member for managing clients as Evas_Objects, utility functions for adding objects to the compositor rendering systems

additional authors: ivan.briano@intel.com

feature: new compositor

removal: e_border, e_container, e_popup
2014-01-14 20:22:02 -05:00
Mike Blumenkrantz 3a24add030 improve wp2 stringshare usage, fix string leak on unlikely error case
SVN revision: 83147
2013-01-23 10:18:46 +00:00
Mike Blumenkrantz 597cc91a38 strdup->strdupa in wp2
SVN revision: 83146
2013-01-23 10:14:09 +00:00
Maxime Villard 4a52c46268 From: Maxime Villard <rustyBSD@gmx.fr>
Subject: [E-devel] [e][PATCH] Optimizations v2
Date: Fri, 21 Dec 2012 22:17:32 +0100

Hi,
same patch as before: removed useless nullchecks and
switched some free()'s to E_FREE().



SVN revision: 81592
2012-12-21 21:31:13 +00:00
Christopher Michael 68c52f7f10 E Wallpaper 2: Patch from thomasg <thomas@gstaedtnet.net> for adding
Apply and Close buttons to the Wallpaper2 dialog, and remove trailing
whitespaces.



SVN revision: 74773
2012-08-02 06:11:10 +00:00
Christopher Michael 2217325bd1 E (wallpaper2): No need to fetch viewport size every time we iterate
here. Previously, the viewport w/h was being fetched for Every
object...silly ;)



SVN revision: 73524
2012-07-10 12:05:22 +00:00
Christopher Michael 5971f09b0b Fix duplicate function prototype for _e_smart_reconfigure in Wallpaper
2 (should have been _e_smart_reconfigure_do).



SVN revision: 73493
2012-07-09 09:09:02 +00:00
Cedric BAIL 70d21a1f44 e: move everyone to use eina_file_direct_ls and friend.
NOTE: I think, but I am not sure yet, that only EFM should
do this kind of operation or it could hard lock E17.


SVN revision: 70546
2012-04-30 07:07:33 +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
Mike Blumenkrantz d7dac60928 it's a dead assignment removal party and everybody's invited!
SVN revision: 64898
2011-11-07 23:06:59 +00:00
Mike Blumenkrantz 045750c946 calloc means it's already 0
SVN revision: 55700
2010-12-22 22:28:58 +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 8a1fa5404c Add UNUSED where needed.
SVN revision: 51416
2010-08-19 17:07:27 +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
Christopher Michael 072d6e46da Set window border icon After window is shown (else it does not take
effect).



SVN revision: 50749
2010-08-02 19:14:52 +00:00
Christopher Michael 5dff0219b7 Save a little function call overhead, and just get the Evas of the
object once (for places where we use it multiple times).



SVN revision: 50732
2010-08-01 17:59:31 +00:00
Christopher Michael be62bae118 Disable This Desktop vs All Desktops radios if desk count < 2.
SVN revision: 50726
2010-08-01 03:15:40 +00:00
Christopher Michael 298c126c3d Disable 'This Screen' if multiple zones don't exist.
Fix formatting & Whitespace Removal.



SVN revision: 50723
2010-07-31 23:08:10 +00:00
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Sebastian Dransfeld f2c243f91e make clang happy
SVN revision: 45191
2010-01-15 19:36:00 +00:00
Hannes Janetzek 91211ef9c4 reopen fileman and dialog windows after restart of e.
- modules using e_configure_registry_add must be modified to 
  use registry path as window class for this to work
- fileman now uses e_remember to remember position instead of 
  handling it separately
- added option to window remember for remembering dialogs and 
  fileman windows automatically


SVN revision: 42607
2009-09-21 20:36:35 +00:00
Hannes Janetzek a551323a28 e/src/modules:
- cast ints to pointer correctly
- remove unused variables
- #if 0 unusued code
- fix some function declarations for callbacks 


SVN revision: 42210
2009-09-03 16:32:48 +00:00
Christopher Michael 6ab63682dd Fix API Inconsistency in regards to e_widget_min_size_* . Renamed to
e_widget_size_min_* . This Large commit should fix everything in svn that is
using those functions.



SVN revision: 42152
2009-09-01 13:34:42 +00:00
Carsten Haitzler f21dc83e4b some more todo work
SVN revision: 41837
2009-08-17 07:55:25 +00:00
Carsten Haitzler 00819897b6 wallpaper2 - select wallpaper that is used on start
version config - literally keep the last 9 config revisions (10 including the
current) and if config gets corrupted...it auto-falls back to the last good
one.



SVN revision: 41252
2009-07-06 09:43:58 +00:00
Carsten Haitzler c8b26b696b more todo's done, added another tho :(
SVN revision: 41217
2009-06-27 13:27:37 +00:00
Carsten Haitzler fe98486a29 one more todo done
SVN revision: 41215
2009-06-27 11:42:46 +00:00
Carsten Haitzler 57d7920063 fix todo's for wp2 - do one.
SVN revision: 41207
2009-06-26 15:11:03 +00:00
Cedric BAIL c82f19e052 * e: Remove all reference to Evas_Data and move to Eina_Bool.
SVN revision: 41080
2009-06-17 13:46:54 +00:00
Cedric BAIL 1f059b500f * wallpaper2: Prevent the creation of the idler instead of forcing it's destruction.
SVN revision: 40645
2009-05-14 16:37:07 +00:00
Carsten Haitzler 8d8687beae some rabid idle enter checks
SVN revision: 40642
2009-05-14 14:28:44 +00:00
Carsten Haitzler e59ed55f2f remove norender. bad move!
SVN revision: 40568
2009-05-09 11:58:52 +00:00
Carsten Haitzler 9825672529 make bg's deletes when not visible - bettr if you have 1000+ bg's
:)



SVN revision: 40534
2009-05-07 13:27:11 +00:00
Carsten Haitzler 0b4c458687 notes++
SVN revision: 40309
2009-04-23 02:51:21 +00:00
Carsten Haitzler 1b81a7988e 1. embryo shoudl have soname
2. yes local.conf slipped in - ignore
3. added soname version release to module arch dirs
4. adapted extra-modules to use the revision in arch
5. made e17 also have a release rev
6. dummy release stuff in eet - wont use it as its already released.



SVN revision: 40267
2009-04-21 14:17:42 +00:00
Carsten Haitzler 68c06914db use sort id and sort!
SVN revision: 40167
2009-04-18 13:52:41 +00:00
Gustavo Sverzut Barbieri e0040cefb9 major cleanup of path creation to $DATADIR and $HOME/.e/e
This cleanup replaces snprintf() usage with specific calls, they have
the benefit of being cleaner (so easier to grep), typing less and also
marginal speed up compared to the other (specially concat_static),
although those are rarely used in critical paths.

I'm testing it for some time and seems to not break anything, but let
me know of any problem. If you can review the patch and try to spot
incorrect names, please do.




SVN revision: 40014
2009-04-13 14:56:38 +00:00
Carsten Haitzler 9b244804e9 add a cmd-line opt to skip format test...
SVN revision: 39891
2009-04-08 08:30:13 +00:00
Carsten Haitzler b443014888 default theme is now the grey wp at the start... should have a better frame
for it - need to improve the thum frames anyway. also the all desktops/this
desk/this screen now works. need to next add add pic/add exhcange/add
gradient buttons



SVN revision: 39867
2009-04-05 16:10:50 +00:00
Carsten Haitzler f913e6a018 comments for todo...
SVN revision: 39856
2009-04-04 14:37:07 +00:00
Carsten Haitzler debd837c0b add a slide out panel/tab to put options and stuff in.
SVN revision: 39855
2009-04-04 14:15:08 +00:00
Carsten Haitzler 21aec52b31 oops. timer works now always
SVN revision: 39817
2009-03-31 12:47:10 +00:00
Carsten Haitzler d1869f6bdc leak--
SVN revision: 39816
2009-03-31 12:20:35 +00:00
Carsten Haitzler 6ed65911db matching theme changes too...
SVN revision: 39812
2009-03-31 07:42:25 +00:00
Carsten Haitzler e2cf497e84 now dialog doesnt require globals.
SVN revision: 39811
2009-03-31 06:51:12 +00:00
Carsten Haitzler 3df9e955f5 and fix unsel...
SVN revision: 39810
2009-03-31 06:24:54 +00:00
Carsten Haitzler 5f9f0c17c5 stay open until click on bg to close.
SVN revision: 39809
2009-03-31 06:22:55 +00:00