Commit Graph

27 Commits

Author SHA1 Message Date
Mike Blumenkrantz 59fa0e418d use E_BITFIELD define for bitfield struct members
on release builds this will be a bitfield, on devel builds it will make
bools a normal unsigned char for easier debugging
2017-11-07 10:39:56 -05:00
Chris Michael 0a94e8ba71 enlightenment: Make E build again with EFL from git
sed -i 's/EAPI/E_API/g'

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-05-07 15:13:10 -04:00
Mike Blumenkrantz 99589eb5af remove E_Win+e_canvas, convert all internal wins to use elm_win
known issues:

* keybindings for efm windows (eg. ctrl+w) are broken until the rest of the conversion is completed
2014-11-20 15:26:21 -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
Vincent Torri c3b0637802 e17: whitespaces--
SVN revision: 72561
2012-06-21 06:19:43 +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 c9c7aef72e add auto-scrolloption to dialogs (place content in scrolled viw).
SVN revision: 36268
2008-09-26 17:00:32 +00:00
Gustavo Sverzut Barbieri 8408de28cf New features to enable setting 'changed' status of config dialogs.
This callback will make it easier for dialogs to filter if the status
is really changed or if it's back to original values without having to
listen individually to each children widget (we cannot hook into the
parent since e_config_dialog already does that).



SVN revision: 36154
2008-09-21 17:08:30 +00:00
Gustavo Sverzut Barbieri c6f9ec6ece Enable manual set of configuration dialogs as changed.
For some dialogs, it's better to let the dialogs themselves choose if
they're modified or not. Default behavior is backward compatible.



SVN revision: 36152
2008-09-21 16:21:25 +00:00
Carsten Haitzler 4b969ed2fc been hacking... umm. config dialog additions.
SVN revision: 36033
2008-09-17 02:21:00 +00:00
Carsten Haitzler 9c02f966a8 add generic cfg call
SVN revision: 34409
2008-04-30 12:01:32 +00:00
Christopher Michael 9d97093271 Add functions for returning an existing config dialog.
SVN revision: 27287
2006-11-30 10:01:02 +00:00
rephorm 80478f40d8 Allow setting bg of desktops from within virtual desktop dialog.
For now, left click on the small desktop.
We'll probably add a menu on click, with the ability to set the desktop name or set bg.


SVN revision: 26700
2006-10-20 03:23:46 +00:00
Carsten Haitzler 8678ebe026 only bring up config dialogs once - find the previous one and splash it up if
u bring it up again


SVN revision: 26415
2006-10-08 08:04:18 +00:00
Carsten Haitzler a9e7340190 you're all goign to kill me :) but here goes - i broke the dialog and config
dialog api's - added name and class params so u can set the name and class -
so users can later use things like rememebr to rememebr where a dialog will
go for usability and convenience.


SVN revision: 24691
2006-08-14 15:22:46 +00:00
Carsten Haitzler ab70226b8c autoapply has a lag of 0.5 seconds from changin config to applying to 1.
limit overhead and 2. minimise bugs.


SVN revision: 22508
2006-05-10 10:17:59 +00:00
stffrdhrn 218717c8dc Clean up compile warnings:
* char * -> const char * for stringshare strings
 * char * -> const char * where needed in functions
 * remove unused vars in some places


SVN revision: 20912
2006-03-02 12:03:48 +00:00
Christopher Michael d82db82448 Allow Auto-Apply Settings and Default Mode for Config Dialogues
SVN revision: 20492
2006-02-15 20:29:33 +00:00
Christopher Michael 52a5ccaac5 Fix bug where changing a config value then selecting a different page (Basic/Advanced) would reset the value to it's original state. Fix config dialogs to work correctly for this. Going for the modules config dialogs next.
SVN revision: 20435
2006-02-13 15:36:56 +00:00
David Walter Seikel 000417275b Allocate and free the view struct as per discussion.
SVN revision: 19961
2006-01-22 14:18:20 +00:00
David Walter Seikel bca4e798f1 Add a close button callback hook at the request of devilhorns.
If the callback returns zero, the dialog is NOT closed.

Seems that every user of config_dialog allocates E_Config_Dialog_View on
the stack and doesn't clear it, so I can't rely on the close_cfdata member
being NULL.  I currently set it to NULL in e_config_dialog_new() and if
you want to use it, set it in create_widgets();  I suspect that allocating
a structure on the stack that lives beyond the function call is just
asking for trouble.


SVN revision: 19945
2006-01-21 12:44:48 +00:00
sebastid 3df39a04d0 Fix warnings.
Make a global typedef for Config Data, and let the different dialogs fill
the struct.


SVN revision: 19800
2006-01-14 16:05:35 +00:00
Carsten Haitzler 71040b0586 module config dialog
SVN revision: 19089
2005-12-17 11:21:54 +00:00
Carsten Haitzler 560179af61 allwo dialog icon to be set too in conf dialogs
SVN revision: 17555
2005-10-15 03:09:46 +00:00
Carsten Haitzler 510d2b7719 realised we need to approve if the dialog will close on an ok - as there may
be an error and we need to complain to the user. add some comments too.


SVN revision: 17533
2005-10-14 09:48:13 +00:00
Carsten Haitzler d41a915bf9 addressing some cfdialog issues
SVN revision: 17532
2005-10-14 08:34:12 +00:00
Carsten Haitzler 4d0b743387 first gui config dialog... quickly snuck into the menu - shoudl go in panel
tho....


SVN revision: 17511
2005-10-13 15:15:27 +00:00