Commit Graph

46 Commits

Author SHA1 Message Date
Elyes HAOUAS 65441c214b tree-wide: get rid of trailing whitespace (part 10)
Remove trailing whitespaces

Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D11830
2020-05-14 14:17:15 +02:00
Mike Blumenkrantz 471dcb24cb __UNUSED__ -> EINA_UNUSED
this has been bugging me forever. __UNUSED__ is no longer a valid macro here.
2015-03-18 18:09:09 -04:00
Mike Blumenkrantz 922af2c52f remove e_comp_list(), deprecate all related functions for pending removal
there is only one E_Comp which can now be accessed by the e_comp global.

if you're editing a file with some uses of these deprecated functions, replace their usages with appropriate references to this variable

pass -Wno-deprecated-declarations to ignore these warnings during build
2015-01-05 15:39:15 -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 5519096a0e ibox now has an option which allows it to expand freely on the desktop
ticket #718


SVN revision: 76914
2012-09-20 13:52:38 +00:00
Christopher Michael 5919e72ad2 Add UNUSED where needed.
SVN revision: 51407
2010-08-19 15:49:25 +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
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
Andreas Volz 53fbe500b9 use eina list foreach macro
SVN revision: 40051
2009-04-14 19:14:30 +00:00
Andreas Volz 9247b2712b correct free
SVN revision: 40045
2009-04-14 18:49:58 +00:00
Andreas Volz 1231a05e4a change to Eina_List
SVN revision: 39969
2009-04-11 07:20:54 +00:00
Andreas Volz 4f039155d0 GUI improvement by enable/disable radio group chained to checkbox state
SVN revision: 39946
2009-04-10 18:52:18 +00:00
Carsten Haitzler b273fe10db use settings insetad of configuration. shorter.
SVN revision: 37742
2008-11-22 08:42:54 +00:00
Cedric BAIL 1087de2397 Remove Evas list and replace them with Eina list.
No change for ->next and ->data access right now, as the patch is already
big enough.



SVN revision: 36962
2008-10-22 11:49:33 +00:00
Eric Schuele 103936c011 Allow ibox to show the border caption. This was not garunteed with the previously available options.
SVN revision: 33546
2008-01-21 06:11:56 +00:00
Sebastian Dransfeld ac35054634 We need id's for gadgets which are independent of shelves, so if we move
a gadget from one shelf to another it will keep the same config. Since the
id is mainly for the module to find the appropriate config for a gadget,
the module is now responsible for creating id's for gadgets config. One
problem is that we no longer can trust the id of a gadget, so we need to
store a reference between a gadget and its config after startup. No big
deal.


SVN revision: 31727
2007-09-16 00:02:53 +00:00
Christopher Michael 67da70be69 Change zone to read Screen in the config dialog.
SVN revision: 29714
2007-04-24 13:29:45 +00:00
Sebastian Dransfeld c129c20ab6 Update icon name.
SVN revision: 29059
2007-03-24 23:12:23 +00:00
Sebastian Dransfeld 78e245520b Remove declarations without functions.
SVN revision: 27604
2006-12-28 14:38:30 +00:00
David Walter Seikel 1255baa040 Converted to use .desktop file.
SVN revision: 25386
2006-09-03 07:42:06 +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
sebastid db452b14ac Fix warnings.
SVN revision: 24421
2006-08-06 02:21:07 +00:00
Christopher Michael 73a7ba6011 As per HandyAndE request, this patch gives ability for modules config
dialogs to show their icon in their config dialog by passing in the
module_eap path to the config_dialog_new function as the icon parameter ie:

e_config_dialog_new(con, module_name, eap_path, 0, v, data);

Update E core modules to use this ability.
Fix dropshadow config dialog to fit in 640x480.


SVN revision: 23682
2006-07-03 07:35:44 +00:00
Christopher Michael 738604bb20 IBox now has config options for setting what is displayed in icon label.
Note: May need to "grandma"-ize this :)


SVN revision: 23104
2006-06-03 01:49:33 +00:00
sndev d13e0da18a Improving ibox.
* New config options that allow to show iconified wins from all zones/current zone/all zone desktops/current zone desktop.
* fixing multiple config dialogs issue. Only one config dialog is allowed per module instance.


SVN revision: 23103
2006-06-03 00:03:09 +00:00
Christopher Michael cc742cb5f6 IBox labels are now optional.
Config Dialog added.
Multiple IBox Instances supported.


SVN revision: 22887
2006-05-25 13:25:37 +00:00
Carsten Haitzler 19fd612b97 ibox makes it first gadcon moves.
SVN revision: 22689
2006-05-18 06:30:33 +00:00
Christopher Michael 8c45e0ae5e Bah...Remove the unused Cfg_File struct. Some formatting. Refix the config
options changing values when switching between Basic/Advanced by not calling
_fill_data twice. It's called on _create_data, there is no need to call it
again.


SVN revision: 21374
2006-03-18 16:40:28 +00:00
handyande 00330faaf9 Move the manipulation of user specified policy flags (ALLOW_OVERLAP and ALWAYS_ON_TOP (not used yet)) to the gadman edit menu, saves a LOT of code inside modules
SVN revision: 21226
2006-03-12 16:12:59 +00:00
Christopher Michael a8dca935d1 Rename the Allow Overlap option
SVN revision: 20092
2006-01-29 02:40:04 +00:00
Christopher Michael 4a9f8d3a9a Fixes for E_Config_Dialog_View
SVN revision: 19960
2006-01-22 14:17:43 +00:00
Carsten Haitzler 5f71f7acf5 2 pending patches in my inbox.
1. "allow overlap" patch for modules - needs better names in the gui (Allow
windows to overlap maybe - as allow overlap is very vague)
2. itray module (buggy - buggy - beware. i know why. beware i said!)
3. TODO items


SVN revision: 19911
2006-01-20 04:04:14 +00:00
sebastid bbea62a127 Fix warnings.
SVN revision: 19801
2006-01-14 16:10:57 +00:00
Christopher Michael 4453a2bb87 Remove EAPI from function. Thanks Sebastian
SVN revision: 19642
2006-01-08 10:33:23 +00:00
Christopher Michael 3686bd231f Set pointer to config dialogue to NULL when closing
SVN revision: 19639
2006-01-08 09:29:42 +00:00
Christopher Michael 6bf7badbe5 If a module has a config dialogue, destroy it on module shutdown
SVN revision: 19576
2006-01-06 21:45:57 +00:00
Christopher Michael 0affc3ee5c Remove unused protos. Cleanups
SVN revision: 19287
2005-12-24 20:01:03 +00:00
Christopher Michael 517eb4c9cf Rename e_int_config calls to avoid E namespace conflicts
SVN revision: 19105
2005-12-18 06:33:14 +00:00
Christopher Michael e59b6b354a Updated module to use the dialog that raster designed. :) Some Cleanups
SVN revision: 19091
2005-12-17 21:16:38 +00:00
Christopher Michael 3fce1ad1aa More User Friendly Work & Formatting
SVN revision: 19084
2005-12-17 02:24:04 +00:00
Christopher Michael d4374e0888 Make config dialogue more user friendly
SVN revision: 19075
2005-12-16 17:55:40 +00:00
Christopher Michael c32a0e0784 Remove IBox variable from cfdata, not needed
SVN revision: 19031
2005-12-15 03:01:07 +00:00
Christopher Michael bd5450d976 Max IBox Autoscroll Speed to 0.99 till we can track down the bug.
SVN revision: 18998
2005-12-13 16:12:50 +00:00
Christopher Michael d4303878d6 Max IBox Follow Speed to 0.99 till we can track down the bug.
SVN revision: 18997
2005-12-13 16:04:32 +00:00
Christopher Michael 02052e4e3a IBox Cfg Dld Icon Size Fix
SVN revision: 18993
2005-12-13 14:39:15 +00:00
Christopher Michael 3a99c51598 IBox Config Dialog :)
SVN revision: 18992
2005-12-13 14:32:18 +00:00