Commit Graph

38 Commits

Author SHA1 Message Date
Elyes HAOUAS 7071faca6c e_mmx: & evry: Remove unneeded white spaces
Remove unnecessary white spaces

Differential Revision: https://phab.enlightenment.org/D11779
2020-05-14 12:17:49 +02:00
Mike Blumenkrantz d8505f2978 fix evry comparison macro to work as expected
missing parens = !operating as intended in many cases
2015-04-14 20:43:44 -04:00
Jérémy Zurcher 42d2387b70 everything: fix warnings uninitialized and extraneous parentheses 2014-05-07 11:44:32 +02: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
Hannes Janetzek a3dab23b61 e17/evry: remove logging stuff from api..
SVN revision: 80973
2012-12-14 17:09:00 +00:00
Cedric BAIL c2a29811d5 e: massiv warning cleanup !
SVN revision: 70756
2012-05-04 09:38:52 +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
Hannes Janetzek d81bad581a e17/evry:
- started to update docs
- remove base plugins' free_cb which was used for one special case only


SVN revision: 65774
2011-12-01 10:56:55 +00:00
Mike Blumenkrantz abcc8f9ad3 add new functions evry_item_{app,file}_free for freeing standard file/app items
SVN revision: 65705
2011-11-30 04:00:51 +00:00
Hannes Janetzek 9f6e4a581d e17/evry: api change: recompile exrta evry modules.
- more work on evry gadget for illume (only works with tablet profile)


SVN revision: 63097
2011-09-02 23:02:26 +00:00
Hannes Janetzek edf0e07a3b e17/evry: add per instance config for gadget to show other plugins that 'Start'
-add EVRY_PLUGIN_HAS_ITEMS macro


SVN revision: 62662
2011-08-21 15:41:37 +00:00
Hannes Janetzek aa47d61abc e17/ervy: cleanup windows plugin, fix fallback border icon
SVN revision: 62613
2011-08-20 02:47:56 +00:00
Hannes Janetzek 034e60d9d5 e17/evry:
- evry gadget now shows a window that works with illume for keyboard input
- added app menu browser
- evry_icon_get refactoring 


SVN revision: 62518
2011-08-16 23:26:07 +00:00
Hannes Janetzek ecaba44ca3 e17/everything: fix segv on shutdown. fix macros
SVN revision: 62407
2011-08-12 18:27:41 +00:00
Hannes Janetzek 04d8b8d521 e17/evry: better macros for plugin creation
SVN revision: 62403
2011-08-12 17:18:25 +00:00
Hannes Janetzek 1ea8e5a0e1 e17/evry: better EVRY_MODULE_NEW/FREE macros
SVN revision: 62395
2011-08-12 15:39:21 +00:00
Hannes Janetzek d662953a85 e17/evry: revert last commit and cleanups
SVN revision: 62379
2011-08-12 11:41:15 +00:00
Hannes Janetzek 6a3e45a9d6 e17/evry: use 'extern' for evry_api to share with other modules. fix leak in calc
SVN revision: 62376
2011-08-12 10:58:44 +00:00
Hannes Janetzek 826813c80e e17/evry: forgot to bump 'API' version..
SVN revision: 62334
2011-08-11 07:02:42 +00:00
Hannes Janetzek 470648cbfe e17/evry: allow actions to request to clear input and continue
SVN revision: 62329
2011-08-11 06:02:18 +00:00
Hannes Janetzek d3cc6515b0 e17/evry: hide e_datastore_get(evry_api) stuff from modules. maybe there'll be a better way for synchronous intermodule communication someday
SVN revision: 58256
2011-04-01 12:46:05 +00:00
Hannes Janetzek 259e268f3c fix for showing plugins as icon in aggregator
- make plugin instances be proper evry items so that they are ref counted like everything else.
  now plugin->begin MUST always return a new instance, never the base class


SVN revision: 57206
2011-02-21 07:30:55 +00:00
Mike Blumenkrantz 1d574fbd20 shut up eina warning
SVN revision: 54707
2010-11-19 02:22:53 +00:00
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Hannes Janetzek e31dc4ee77 added Plugin_Selected event
SVN revision: 49403
2010-06-02 23:19:02 +00:00
Hannes Janetzek b2de5ef2ef added evry_plug_collection which can hold other plugins.
- currently only registers 'Start', 
- TODO config dialog to create and edit collections

settings plugin: added config categories.

view: double click on browsable items now browses it.
- click action to run or right click to run and continue




SVN revision: 49255
2010-05-28 20:32:07 +00:00
Hannes Janetzek 318dc79c85 make plugin module loading completely independent of evry being loaded
cleanups


SVN revision: 49154
2010-05-23 07:35:48 +00:00
Hannes Janetzek 66f1ffbefc added input_type to plugins:
using it automatically creates an action
 that allows to browse any selected item
 of that type. 

move plugin functions in separate file

text_plugin reuses current item so that it doesnt flicker 
 while typing

use e_fm function for path to uri espace

remove duplicated macros in evry_api.h and e_mod_main.h

fix set usage of exebuf items



SVN revision: 49066
2010-05-20 15:41:27 +00:00
Hannes Janetzek 878f482d78 - added EVRY_PLUGIN_INTANCE macro whic SHOULD be
used to create new intances for plugins which 
  can have more than one
- keep anonymous reference to current state with plugin
- remove lots of special handling for aggregator plugin


SVN revision: 49006
2010-05-19 14:44:36 +00:00
Hannes Janetzek 486bf47939 - rework windows plugin, x:y now matches window from that desk
- fix evry_util_plugin_items_add to match item->detail properly
- fix evry_item_select with item-changed event


SVN revision: 48991
2010-05-19 00:03:35 +00:00
Hannes Janetzek 49b6a20c3f - show thumbnails for edj wallpaper
- added helper macros for action_free and new plugin instance


SVN revision: 48967
2010-05-18 07:52:26 +00:00
Hannes Janetzek 57a9bdc2ed - added Action_Performed event to let plugins know when an action was performed :)
- step to next item in thumb-view when marking items
- aggregator: better sorting of non-toplevel plugins, cleanups


SVN revision: 48832
2010-05-13 22:27:57 +00:00
Hannes Janetzek 6abe9464cf - use VERSION/EPOCH macros for config version
- fix segv in thumb_view



SVN revision: 48797
2010-05-13 02:52:02 +00:00
Hannes Janetzek eb77076200 - convert path to correct urls
- use .cache/thumbnails when available for pdf, video and faster image loading
- fix history sort issue with apps
-...


SVN revision: 48772
2010-05-12 02:01:09 +00:00
Hannes Janetzek db8fad47d1 converted all modules to new api
SVN revision: 48758
2010-05-11 17:24:38 +00:00
Hannes Janetzek 1760d392d4 use macro for registering modules
SVN revision: 48747
2010-05-11 01:53:34 +00:00
Hannes Janetzek bbe3d91149 added common log domain to Evry_API
added EVRY_PLUGIN_UPDATE macro for evry_plugin_update (was ...async_update)
converted more plugins



SVN revision: 48743
2010-05-10 23:45:49 +00:00
Hannes Janetzek 74317f724a added Evry_API struct to pass api as handle to modules so that they dont fail to load when everything is not loaded
see everything-settings as example how to use. other modules need to be converted.


SVN revision: 48740
2010-05-10 22:35:13 +00:00