Commit Graph

47 Commits

Author SHA1 Message Date
Cedric BAIL 3f9af38da2 edje: remove use of deprecated functions. 2014-06-07 21:10:55 +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
Mike Blumenkrantz f36ecd9d3d giant comp rejiggering commit #2: popups are now objects drawn directly onto the compositor canvas with no xwindows of their own
* added a number of new e_comp functions and macros

* options for disabling effects on objects: this option does not currently have any effect

* all modules which used gadcon popups have been adjusted

* all modules which used input windows to detect close events for gadcon popups have been adjusted to use new popup autoclose functionality

* shelves are now always drawn on the compositor canvas, meaning objects will never get clipped by the shelf (ticket #1810)

* shelves no longer have an event object

SVN revision: 84060
2013-02-18 13:43:47 +00:00
Christopher Michael f9a3a22e9e Fix leak as reported by zmike.
- Add support for AltGr key in E_Kbd_Buf_Key
 - Fix e_kbd_buf_layout_key_add to also take in altgr as a param.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83153
2013-01-23 10:38:46 +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
Mike Blumenkrantz 2434f5adbe more PATH_MAX cleanups
SVN revision: 75520
2012-08-22 07:32:12 +00:00
Carsten Haitzler b565b6ca04 use fixed buffer.
SVN revision: 75515
2012-08-22 03:27:11 +00:00
Cedric BAIL c2a29811d5 e: massiv warning cleanup !
SVN revision: 70756
2012-05-04 09:38:52 +00:00
Carsten Haitzler b731b036d0 lets get rid of the ()'s in filenames to make bsd users with their
ancient make tools work.



SVN revision: 70556
2012-04-30 12:04:50 +00:00
Mike Blumenkrantz 5a249be7bb OMG! DEVILHORNS USING AN EDITOR WITH TABS INSTEAD OF WHITESPACES????? SAY IT AIN'T SO!!!
SVN revision: 64906
2011-11-07 23:30:27 +00:00
Mike Blumenkrantz 283c7f8264 warning--
SVN revision: 64114
2011-10-16 15:38:10 +00:00
Hannes Janetzek f3a9da35f3 e17/ill/kbd: fix keyboard resize, when width is not zone width
SVN revision: 63010
2011-08-30 20:26:37 +00:00
Christopher Michael dfa389f7df E/Illume: Vkbd needs lock_focus_in/out.
NB: Jeff Hoogland, this fixes vkbd when building w/ xcb ;)



SVN revision: 62998
2011-08-30 18:25:12 +00:00
Hannes Janetzek 05862179ae e17/illume-kbd: fix initial size when scaling is 1.0
SVN revision: 62976
2011-08-29 21:53:37 +00:00
Hannes Janetzek 31a593b8e0 e17/illume-keyboard: add option for default keyboard layout.
- resize window to zone->useful_geometry to make it work with shelves


SVN revision: 62938
2011-08-29 09:30:18 +00:00
Hannes Janetzek a147da5358 e17/illume-keyborad: add option to scale keyboard height
SVN revision: 62605
2011-08-20 01:02:43 +00:00
Michael BOUCHAUD 680c3eb7ac e: make some config vars in illume-keyboard. I hope limits will be good for you.
SVN revision: 61290
2011-07-12 13:05:06 +00:00
Rui Seabra 3062d73881 altgr function (doesn't do shift+altgr yet)
SVN revision: 57921
2011-03-20 20:47:13 +00:00
Christopher Michael 5fcb7e81e7 Fix formatting of recently committed patch. (no functional changes).
SVN revision: 57812
2011-03-17 00:58:56 +00:00
Rui Seabra d5f998a4a4 Implement multi-shift for illume-keyboard and change Default.kbd to use it.
Works well on my end and nobody complained about the patch in almost a week so if it's a problem, feel free to revert, but please explain me how to improve it.


SVN revision: 57810
2011-03-16 22:43:55 +00:00
Michael BOUCHAUD c3138e6c97 fix problem with some popup and illume-keyboard(like firefox urlbar). The pressed key send by the virtual is wrong, he send the previous key you have typed
SVN revision: 57459
2011-03-01 17:38:53 +00:00
Christopher Michael 0a8b9a0380 Illume-Keyboard: Keyboard aspect fix.
If our zone is wider than it is taller, don't let virtual keyboard
take up most of the screen. This fixes illume-keyboard taking most of
the screen. Now, if we are wider than we are taller, just use half the
zone height rather than the previous which used about 3/4 of the height.



SVN revision: 56931
2011-02-10 18:20:28 +00:00
Christopher Michael b7f5014a18 Patch to fix keyboard layout size from Marco Trevisan.
SVN revision: 54709
2010-11-19 02:41:02 +00:00
Christopher Michael 1911aa77e0 Add missing parens.
Fix some formatting.
Remove unused variables.
General cleanup.



SVN revision: 51706
2010-08-29 02:01:52 +00:00
Christopher Michael 52f381fcba Add UNUSED
Remove unused variables.



SVN revision: 51447
2010-08-19 20:31:01 +00:00
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Christopher Michael 5c8f0b2675 Skip winlist.
SVN revision: 48830
2010-05-13 21:38:25 +00:00
Christopher Michael b61dd896b9 Add missing keyboard modes.
SVN revision: 47611
2010-03-30 23:36:32 +00:00
Christopher Michael d2a7162547 TAsn's patch for LTR->RTL support in keyboard. (with formatting fixes).
SVN revision: 46550
2010-02-27 04:28:43 +00:00
Christopher Michael 07648d4b12 Remove unused variable.
Use PATH_MAX.



SVN revision: 45760
2010-01-31 19:52:03 +00:00
Sebastian Dransfeld 02b6e4db39 Ecore_Str.h -> Eina
SVN revision: 45740
2010-01-30 22:11:11 +00:00
Christopher Michael cd086f7f5c Fix keyboard dictionary list not showing on other zones.
Remove debugging (printfs).



SVN revision: 45729
2010-01-30 06:13:54 +00:00
Christopher Michael ffe74c302e Remove unused variables.
Remove commented block (confirmed working without it).



SVN revision: 45727
2010-01-30 02:11:48 +00:00
Christopher Michael 40c2032186 Use PATH_MAX.
No need to swallow the ilist twice.



SVN revision: 45726
2010-01-30 02:01:15 +00:00
Christopher Michael 474f76e958 Add more debugging (printfs).
SVN revision: 45603
2010-01-26 21:15:07 +00:00
Christopher Michael 1ee85c252d Add handler for when keyboard moves so we can destroy dictlist, etc.
Add some debug. Tracking an issue where keyboard dictlist does not show up
after it's moved to zone 1.



SVN revision: 45600
2010-01-26 20:52:30 +00:00
Christopher Michael f288a575b7 New illume2 code for dual-head/xinerma.
SVN revision: 45068
2010-01-12 20:21:04 +00:00
Christopher Michael 3daa61a89d Remove all old illume2 code. New code coming in mass.
SVN revision: 45067
2010-01-12 20:18:38 +00:00
Christopher Michael 7c3a27c3c9 Remove dead lines.
Don't use X round-trips.



SVN revision: 44883
2010-01-04 18:42:17 +00:00
titan 06978eaf8f Change the way the different keyboards are cycled through.. this is less painful, quicker, and easier... Simply click the button to change. *Approved by devilhorns.
SVN revision: 44760
2009-12-29 19:02:48 +00:00
Christopher Michael 14d5f3fa5a Don't take focus.
SVN revision: 44727
2009-12-27 01:20:02 +00:00
Christopher Michael c506d0db46 Create keyboard on current zone, not always on zone 0.
SVN revision: 44641
2009-12-21 20:56:25 +00:00
Christopher Michael 50e925ff40 Formatting.
Rename function to be focus_in.



SVN revision: 44437
2009-12-14 06:55:34 +00:00
Christopher Michael 2c767bf9e4 Let layout policy handle kbd sticky.
Add a gadget for containers that allows manual keyboard visibility setting.



SVN revision: 44353
2009-12-11 09:34:35 +00:00
Christopher Michael 58306378fd Better window class & name for vkbd.
SVN revision: 44075
2009-12-01 04:23:18 +00:00
Christopher Michael 48ce772fd9 Add config struct for illume-keyboard.
SVN revision: 43874
2009-11-21 18:17:55 +00:00
Christopher Michael 1507ace882 Add needed files to illume-keyboard.
SVN revision: 43867
2009-11-21 17:43:47 +00:00