Commit Graph

110 Commits

Author SHA1 Message Date
Marcel Hollerbach 8537923d2e everything:declare this object as const
The object is not meant to be moved, we only subscribe click events on
it, this isnt really changing the context where the api wants to declare
it const, so for now safe it everywhere as const and register /
unregister the callbacks with casts.
2017-08-17 18:46:51 +02:00
Marcel Hollerbach 430d7e0bb2 everything: use correct edje api
everything used here edje_object_part_swallow_get, which is somehow
wrong, since we dont really know if the everything theme gives the type
swallow, using the plain object_get of edje is the solution here. Its
returning a alias object that is hiding the internal edje object.
2017-08-13 21:18:49 +02: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 a11e8d5f2e e_box -> elm_box conversion
the next installment in the exciting adventure game Elementary Wars!

happy new year from #teamborker
2015-01-01 17:45:34 -05: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
Mike Blumenkrantz 505cec1d91 giant comp rejiggering commit #5:
* border frame/object now drawn directly on compositor canvas

* border shadows now in border theme with edje hint, non-updated themes still receive comp object shadows FOR NOW

* e_border MOVE/RESIZE pointer mode defines are now e_pointer.h enums

* added BD_CHANGED() util macro for setting bd->changed and printing a debug line to assist in finding places where this all-important flag is wrongly set

* bd->bg_win removed entirely

* bd->pointer objects moved to compositor object; now only one pointer object exists for each compositor

* resizing windows now shows a new and totally-intended scaling effect for window contents

* some additional retooling of border deletion/free callbacks

* fixed lurking potential bug where window could recieve focus from autoraise timer after border had been deleted

* more comp shape improvements/rewrites

* desk transitions are now BROKEN(ish)

* various modules updated to not be totally broken with these changes
2013-04-15 08:39:16 +01:00
Mike Blumenkrantz 0f01a6b279 in a move which will make me tremendously unpopular, config versioning has been changed from hex to dec across the whole tree, including helper functions and modules
PS. HAHAHAHAHAHAHAHA


SVN revision: 81624
2012-12-21 23:57:05 +00:00
Hannes Janetzek 2e15739b21 e17/evry: ensure that there will be only one true popup.
- add timer to delay closing with the same binding that triggers evry 


SVN revision: 81432
2012-12-20 09:37:37 +00:00
Gustavo Sverzut Barbieri 4305b8e7fe e/docs: do bare documentation for e.
Just some groups and basic description for modules. I'm NOT going back
to this anytime soon, but would be VERY happy if people could do some
screenshots and put the images for each module in docs/img/ folder,
linking to them from each e_mod_main.h



SVN revision: 67362
2012-01-19 23:25:32 +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
Gustavo Sverzut Barbieri b4572fddde everything: gadget icon and minor cleanups.
SVN revision: 65111
2011-11-13 00:07:35 +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 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 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 d1dd54ef90 e17/evry: allow plugins to provide their own view
SVN revision: 62327
2011-08-11 04:14:10 +00:00
Carsten Haitzler e4a94c3888 pass make distcheck for evry - move the disparate evry module c files
into evry dir as the disparate module dirs are missing e_mod_main.c
anyway ande can no longer build as stand alone modules anyway.



SVN revision: 59939
2011-06-04 01:08:34 +00:00
Hannes Janetzek 568780ca18 e17/evry: fix apps icon, started moving evry config dialog to 'launcher' section
SVN revision: 58499
2011-04-08 23:03:12 +00:00
Hannes Janetzek 1311c0f8a5 e17/evry: link plugins by default statically into evry.
SVN revision: 58498
2011-04-08 22:16:59 +00:00
Hannes Janetzek 9020265aad e17/everything: disable debug output
SVN revision: 57288
2011-02-24 03:48:41 +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
Hannes Janetzek e9e9c7a066 fix warning/unsued stuff
keep refs to .desktops of recently used apps


SVN revision: 56272
2011-01-23 22:34:28 +00:00
Hannes Janetzek 16a49ed8b8 - no need to delay showing the list.
fixes black area sometimes being visible with current theme
- remove unused functions
- smaller default geometry


SVN revision: 53904
2010-10-26 23:21:20 +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 4b5cb7836c handle shaped themes again
SVN revision: 49468
2010-06-05 12:24:45 +00:00
Hannes Janetzek 6e5fdf1ec5 cleanup open windows on shutdown
SVN revision: 49455
2010-06-04 20:01:30 +00:00
Hannes Janetzek c197c02360 allow multiple evry instances. just for testing atm: use F1 to drag-off popup.
fix segv: keep state until cleared. ignore events from delete_me states


SVN revision: 49453
2010-06-04 19:32:59 +00:00
Hannes Janetzek e31dc4ee77 added Plugin_Selected event
SVN revision: 49403
2010-06-02 23:19:02 +00:00
Hannes Janetzek fa92eda759 evry start icon gadget, not finished but works
SVN revision: 49371
2010-06-01 14:26:09 +00:00
Hannes Janetzek abaa7c3627 refactor matches/plugin_update, fix aggregator to always be first, cleanups
SVN revision: 49359
2010-05-31 21:15:32 +00:00
Hannes Janetzek 5dad426676 switch aggregator and action plugins to create new instances in _begin.
action plugin is no special selector plugin anymore
added 'plugins' collection plugin. dont use! some plugins must be converted
to return new instances in begin. 
fix leak in browse_item function 
fix aspell config path
cleanups


SVN revision: 49333
2010-05-30 19:16:33 +00:00
Hannes Janetzek 249e926a61 initial config dialog for collection
suff mentioned in last commit msg


SVN revision: 49263
2010-05-28 23:02:27 +00:00
Hannes Janetzek 49b152519c dont add collection plugin config each start
SVN revision: 49257
2010-05-28 20:58:01 +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 52932a174a make return behavior consistent: always browse item.
cleanup selectors_switch: dont switch automatically back to subj selector
cleanups 


SVN revision: 49233
2010-05-27 14:30:12 +00:00
Hannes Janetzek c796422e36 drag-n-slide fixes.
animate slideing to next selector


SVN revision: 49220
2010-05-26 23:57:48 +00:00
Hannes Janetzek 253d8be915 added e action for edge bindings. preferable to be used with theme from trunk/THEMES/evry-theme
thumb mode zoom now between 96/128/256
dont sort non-tolevel plugins in front of other items
make text plugin non-top level, so that it is always reachable. e.g. when you want to search the type text with google etc


SVN revision: 49207
2010-05-26 15:09:51 +00:00
Hannes Janetzek 331d122fa1 cleanup
SVN revision: 49188
2010-05-24 22:35:46 +00:00
Hannes Janetzek 32e239300b - do slide animation in theme
- cleanups


SVN revision: 49186
2010-05-24 22:08:15 +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 9c2094b5a5 evry: bumb config version to reset to defaults
SVN revision: 49126
2010-05-22 06:38:35 +00:00
Hannes Janetzek 965f96fb14 - exebuf: only create param items for executables that exist
- calc/aspell, dont show in agregator. looks bad to have only text items in icon view
- calc: show plugin item in aggregator
- files: fix files plugin to provide items for 'object'
- files: make browse action show inheriting folder for files, content for dirs
- help: hide view on input (other than up/down)


SVN revision: 49125
2010-05-22 06:35:46 +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 4fad3f4501 show indicator for when thumb slide for/back is possible
SVN revision: 48996
2010-05-19 02:43:41 +00:00
Hannes Janetzek c802b2a74d - swallow selectors item _in_ theme
- cleanup shift-selectors action


SVN revision: 48993
2010-05-19 01:10:15 +00:00
Hannes Janetzek 7c2df0efc6 allow files to be dragged out of everything. bound to right button atm.
SVN revision: 48972
2010-05-18 09:37:58 +00:00
Hannes Janetzek 5f9084b7d7 make evrything handle mouse events.
- double click on item runs action, right click runs action and keep evry open
- same with selectors
- mouse down and move 150px browses that item. and back. TODO needs an indicator
- mouse wheel selects next/prev on plugin bar or selectors 



SVN revision: 48949
2010-05-17 23:15:00 +00:00