Commit Graph

251 Commits

Author SHA1 Message Date
maxerba fac4e89dfa Updating desktop files, eo.po and fr.po 2014-09-11 21:14:58 +02:00
Mike Blumenkrantz ec1cd25cfe rename E19* defines/texts to just E so they don't need to keep being updated 2014-09-09 12:30:50 -04:00
Gwanglim Lee ec8a6b829e fix crash after moving gadget between two zones
Summary:
add check new_gcc into the gadman's gadget add handler to prevent invalid ref_count increase
while moving between two zones. and also add object clean code for new_gcc and drag_gcc
when gadget is dropped.

Fixes T722

Test Plan:
1. create clock module on gadcon desktop (settings->gadgets, select "background" under layers, click "configure layer" and add a clock gadget).
2. drag clock gadget from one screen to the other. drop it there.
3. drag clock back to first screen
4. right click on clock and select "clock->remove".

Reviewers: raster, devilhorns, zmike

Subscribers: cedric

Maniphest Tasks: T722

Differential Revision: https://phab.enlightenment.org/D1256
2014-08-11 19:35:37 -04:00
maxerba 9f19d5a676 Updating translations 2014-05-19 22:04:38 +02:00
Mike Blumenkrantz b9eaf4d239 bugfix: don't crash on possibly-null gadman bg string extensions
CID 1132749
2014-03-13 12:35:39 -04:00
Mike Blumenkrantz cac879d289 use a more obvious iterator limit for gadman edit end
CIDs 1039846, 1039845, 1039844
2014-03-13 10:51:43 -04: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 444c115080 don't need to change gadman frame and base layers, only frame (outer) layer 2013-11-25 17:18:29 -05:00
Mike Blumenkrantz f1f7a1aa20 fix gadman loading with no previous config and modules already loaded 2013-11-25 16:25:21 -05:00
Carsten Haitzler a6d03bb051 space-- 2013-11-24 13:51:49 +09:00
Carsten Haitzler a96f443c10 gadman - fix possible segv with conf being null 2013-11-24 12:35:47 +09:00
Sebastian Dransfeld b926ac2f51 gadman: Check for valid objects
Fixes T522
2013-11-17 23:45:56 +01:00
Mike Blumenkrantz 3c343db349 fix annoying gadman crash when plugging screens 2013-10-07 04:18:26 +01:00
Mike Blumenkrantz 8956de3359 cosmetic variable declaration movement 2013-10-07 04:16:24 +01:00
Igor Murzov 519c4de7f6 Revert "updating desktop files"
This reverts commit 22f7a34e23.
2013-09-04 04:11:13 +04:00
Mike Blumenkrantz bf3ff4a5d1 gadman checks aspect hints during size hint change callback 2013-08-13 11:28:02 +01:00
Mike Blumenkrantz 1d324abd7a changing gadman gadget orientations using menu now guesses new orientation sizes much more accurately 2013-08-13 11:20:39 +01:00
Mike Blumenkrantz f92175c39f only add gadman menu orient callbacks if orient is not current orient 2013-08-13 11:20:15 +01:00
Mike Blumenkrantz 28cc3f0a0a gadman now respects gadget aspect and sets max size hint while resizing gadgets 2013-08-13 11:04:36 +01:00
Mike Blumenkrantz 3024562fcc bugfix: setting min size on a gadget now propagates to desktop gadgets 2013-08-13 10:22:24 +01:00
maxerba 22f7a34e23 updating desktop files 2013-07-31 12:08:42 +02:00
Mike Blumenkrantz 31ef04c0e6 block gadman drags originating from other gadcons
T251
2013-07-26 13:54:53 +01:00
maxerba b7ba1dea64 Adding serbian localization in desktop files 2013-07-08 13:33:29 +02:00
maxerba 26303bbe1f Fixed sorting in desktop files 2013-07-05 19:02:53 +02:00
Mike Blumenkrantz f9f9b30982 yet another gadman rewrite
* handle zone changes without forcing a redraw (no more flickering, hooray)

* correctly handle overlay gadcons

* also correctly handle creation of overlay
2013-06-19 09:33:29 +01:00
Mike Blumenkrantz 8f4568a6b1 fix gadman overlay visibility after a gadman reset 2013-06-19 08:52:19 +01:00
Igor Murzov 315dbf8409 Let's drop meaningless empty translations from .desktop files 2013-06-17 13:43:34 +04:00
Mike Blumenkrantz 84793983e1 another huge gadman rewrite. hooray.
* merge gadman overlay to comp canvas using a popup

* unify zone change handlers

* remove stupid container shape change handler (wtf was this supposed to do?)

* better dnd usage
2013-06-12 07:46:26 +01:00
Mike Blumenkrantz bf99312a7d rename gadman hover layer to overlay 2013-06-12 07:46:25 +01:00
maxerba 5deed35ac2 adding catalan translation and sorting lines alphabetically 2013-06-05 00:16:38 +02:00
Mike Blumenkrantz 84c9e12238 set gadman window to fullscreen so edge actions can still be used while it's up 2013-05-23 10:45:25 +01:00
Mike Blumenkrantz 0f3c11c8c9 set gadman window name/class 2013-05-23 10:45:25 +01:00
Mike Blumenkrantz 921ecb5ede gadman hover shouldn't be an override, just fullscreen 2013-05-23 10:45:25 +01:00
Mike Blumenkrantz 27c872e102 fix gadman hover dnd 2013-05-23 10:45:25 +01:00
Mike Blumenkrantz 25c67a8556 fix gadman gadget move-to menus 2013-05-23 10:45:24 +01:00
Igor Murzov abfe4e1b69 Make gadcon locations translatable 2013-05-12 02:02:26 +04:00
Mike Blumenkrantz e3486bbc17 save gadman gadget geom on resize 2013-02-25 09:26:06 +00:00
Mike Blumenkrantz 241a5763e3 reset gadman gadget position if invalid % for size/geom is sent, only create gadget menus based on config where applicable 2013-02-25 09:25:03 +00:00
Mike Blumenkrantz 1ed466474d update gadman gadget position on moves 2013-02-25 09:24:24 +00:00
Mike Blumenkrantz 817ea38bcf gadman only rejects dnd events from non-gadman gadcons instead of all gadcons 2013-02-25 09:23:20 +00:00
Mike Blumenkrantz 339f4c58e4 gadman no longer crashes when right clicking a dnd-enabled gadget 2013-02-25 08:18:06 +00:00
Mike Blumenkrantz 70d68a30e0 giant comp rejiggering commit #4
* dnd canvas removed, dnd objects now drawn directly on compositor canvas

* dnd now correctly picks the top-most dnd-receiver location as its drop target instead of just using the first one in the list

* various other small changes to go along with this
2013-02-22 13:18:30 +00:00
Mike Blumenkrantz 00c8442d51 gadman top layer no longer deletes gadget configs when it can't find their objects
SVN revision: 84288
2013-02-21 13:52:30 +00:00
Mike Blumenkrantz 368142bc76 minor cosmetic tweaks for gadman init
SVN revision: 84287
2013-02-21 13:52:28 +00:00
Mike Blumenkrantz 339e4ad906 fix gadcon dnd window for shelf and gadman desktop to use comp canvas window
SVN revision: 84102
2013-02-19 10:05:16 +00: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
Mike Blumenkrantz aa6a2d173d giant comp rejiggering commit because anything smaller would have broken something:
* remove xwin for container canvas: now drawn directly on the compositor canvas

* added SHAPE_DEBUG define for bored developers

* bindings now use new e struct for mouse/wheel events

* container+zone now get mouse events from smart callbacks instead of x events

* rename comp api namespace

* change comp underlay theme to have a swallow for the wallpaper

* add names to all zone/container/comp objects to make debugging much easier

* some minor related updates to go along with this

SVN revision: 83752
2013-02-07 13:20:07 +00:00
Mike Blumenkrantz 7923a0937c fix desktop gadget dragging near screen edges
ticket #2108


SVN revision: 83063
2013-01-22 09:39:04 +00:00
Mike Blumenkrantz f927968340 e_menu_category_callback create callback parameter order has changed to be consistent with the rest of the efl: data param always comes first
SVN revision: 82547
2013-01-10 10:36:41 +00:00
Lucas De Marchi 0675dd03a0 e: rename option use_composite to use_shaped_win
In order to move composite inside the core we need to kill the
use_composite option. However in some places it is being used to switch
between ARGB and shaped windows. It doesn't make much sense to keep the
advanced/engine dialog to let the user toggle this options if we have
composite always enabledm, but lets allow the user to shoot
himself on the foot (for now).

Next step will be to move the comp module files to core so user can't
unload it anymore.



SVN revision: 82433
2013-01-09 03:21:25 +00:00