Commit Graph

6871 Commits

Author SHA1 Message Date
Chris Michael 581975d255 check if client is getting destroyed before we try to unmap it.
NB: This is done for wayland clients where e_client delete function
has already freed the client wl_comp_data Before we get a shell
surface destroy message from wayland. (occurs due to async nature).

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:37 -04:00
Chris Michael 379799e903 unify surface parent setting code for use with wl_shell and xdg_shell.
When setting transient, tell the compositor that we need to reset the
window type for this surface.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:37 -04:00
Chris Michael b38f37f0e6 fix building theme module with wayland-only
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:37 -04:00
Chris Michael 2ed054a669 wl-desktop-shell: Unify popup_parent code and fix placement of popup
windows.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:36 -04:00
Chris Michael c308904e9b fix formatting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:36 -04:00
Chris Michael 08a98cdb87 wl-desktop-shell: Simplify transient_set functions and move the
client->parent->modal code to the compositor side.
Also, after setting netwm.type, change the set_win_type in the
compositor data field so that the compositor will handle parent->modal
on next property fetch.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:36 -04:00
Chris Michael 118f4eb05e fix formatting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:36 -04:00
Chris Michael dca596c611 remove debug noise
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:36 -04:00
Gwanglim Lee d86b5816e8 add support for xdg_shell surface transient_for
Summary: add support for xdg_shell surface transient_for

Test Plan:
1. run e wayland server
2. run weston-stacking and set focus it
3. press 't' for creating transient_for surface

Reviewers: devilhorns, zmike, raster

CC: cedric

Differential Revision: https://phab.enlightenment.org/D1016

@feature
2014-08-26 10:10:36 -04:00
Gwanglim Lee a13179dc9d fix geometry restore for maximized and fullscreen windows
Summary:
there are no geometry restore codes in handler of
wl_shell_surface toplevel_set.

Test Plan:
1. run e wayland only server with devilhons's branch source (devs/devilhorns/e_comp_wl)
2. run terminology
3. make terminlogy surface to be maximized
4. make terminlogy surface to be un-maximized
5. move terminlogy surface

Reviewers: devilhorns, zmike, raster, stefan_schmidt

CC: cedric

Differential Revision: https://phab.enlightenment.org/D965
2014-08-26 10:10:36 -04:00
Chris Michael 4ab5c6deb5 fix up formatting of gwanglim's D966 patch
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:35 -04:00
Gwanglim Lee ae76232c2c add fullscreen_set handler for wl_shell_surface
Summary: fullscreen_set handler for wl_shell_surface

Test Plan:
1. run e wayland only server with devilhons's branch source (devs/devilhorns/e_comp_wl)
2. run elementary_test -to "window states"
3. select fullscreen check box on elementary_test surface

Reviewers: devilhorns, zmike, raster, stefan_schmidt

Reviewed By: devilhorns

CC: cedric

Differential Revision: https://phab.enlightenment.org/D966
2014-08-26 10:10:35 -04:00
Gwanglim Lee 93669a4db1 resource parameter is used in _e_shell_surface_cb_move
Summary: remove EINA_UNUSED of resource parameter in _e_shell_surface_cb_move

Test Plan: N/A

Reviewers: devilhorns, zmike, raster, stefan_schmidt

CC: cedric

Differential Revision: https://phab.enlightenment.org/D967
2014-08-26 10:10:35 -04:00
Chris Michael 7a201e24da add support for wl_shell surface move & resize
@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:35 -04:00
Chris Michael 0e643b36f7 only declare certain variables if we are building for X
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:35 -04:00
Chris Michael 92fd5b4be1 add missing EINA_UNUSED
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:35 -04:00
Chris Michael 79599394da update various files for compositor structure changes
- X compositor
  - shell module
  - drm module
  - x11 module
2014-08-26 10:10:35 -04:00
Chris Michael ff06207d9c make keymap match what drm uses by default
NB: this is all in the process of getting fixed...

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:35 -04:00
Chris Michael 4da7f486fa don't need to e_pixmap_ref here.
fix wayland client application resizing.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:35 -04:00
Chris Michael 61a08390b3 update wl_desktop_shell module
- Add support for xdg_shell
 - rework to function with new wayland compositor

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:35 -04:00
Chris Michael f031705442 update wl_x11 and wl_desktop_shell for new compositor
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:35 -04:00
Chris Michael 217d5a95bc remove old wayland compositor and old shell files
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:34 -04:00
Chris Michael 2ef8c50a09 conf_intl: Fix disbling of language list box and configure button
This fixes ticket T1526 - Selecting no input method would still allow
the configure button to be pressed, and items selected from the
language list.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-21 14:15:49 -04:00
Wonguk Jeong 08c35a7934 teamwork: pause media on closing
Due to stupid_obj_del_workaround_hack, sound comes out during 3sec
even if media has been disappeared. Although the 3sec workaround should be gone,
pause media on close to fix the side effect.
2014-08-21 18:58:34 +02:00
Mike Blumenkrantz 22c4f68d65 fix ibox eo errors 2014-08-20 18:05:34 -04:00
Mike Blumenkrantz 7c55f465dd fix ibox eo errors 2014-08-20 18:03:07 -04:00
Tom Hacohen 4b24177b4c Tiling: Fix applying tiling on enable with a new config.
Tiling wasn't being applied when enabling it with a new config because
we were comparing with the old config instead of just always applying.

This fixes T974.
2014-08-20 11:02:20 +01:00
Mike Blumenkrantz 164d1506bd properly return done in tw download cbs 2014-08-19 17:49:55 -04:00
Wonguk Jeong d44d042645 teamwork: fix shadow frame during previewing .ogg
if the frame size is invalid on "frame_decode", stop previewing.
It will filter out audio or invalid video previewing

Fixes T1400
2014-08-19 16:21:22 +02:00
Wonguk Jeong 162ad41656 teamwork: remove multiple delete of livethumb, icon, video
Since icon/video will be drawn into livethumb's image canvas,
icon/video would be deleted on livethumb's deletion.
Therefore, don't register icon/video as comp object's del list.(duplicated deletion)

"frame_decode" callback shouldn't be invoked multiple time.
2014-08-19 16:06:26 +02:00
Carsten Haitzler 9251440867 fix evrything shift+tab crash
fixes T1548
2014-08-19 18:44:47 +09:00
Mike Blumenkrantz c006bbf247 systray xembed handles nocomp interactions more reliably 2014-08-16 09:47:28 -04:00
Mike Blumenkrantz 8669d68db3 simplify systray handler code 2014-08-16 09:12:48 -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
Davide Andreoli d5cbe23bd2 Music-control: added epymc to the list of supported players :) 2014-08-11 21:55:20 +02:00
Carsten Haitzler d6e99dc409 connman gadget - dont display config button unless econnman is installed
this has been just way too confusing. i her user problems all the time
and they just cant see differences between connman module+gadget and
python econnman app.

we do need to have these settings in e in the end anyway... but until
then - disable
2014-08-11 23:45:58 +09:00
Carsten Haitzler 3eb8330144 remove performance - engine cfg dialog as its obsolete
this dialog had a singl option in it - use shaped windows... and we
don't even use it anymore. remove the dialog to avoid confusion and
set use shaeped window to 0 - maybe config val could go entirely?
2014-08-11 10:56:35 +09:00
q66 8293711fc6 use a bit more standard ULLONG_MAX rather than ULONG_LONG_MAX 2014-08-07 23:05:44 +01:00
Carsten Haitzler 4e7c44d534 econnman launch from connman gadget - fix desktop file finding
this fixes T1472
2014-08-07 12:13:13 +09:00
Igor Murzov cf37ec604b syscon: Fix inconsistency between e_config_dialog_new() and _get() params 2014-08-05 12:01:45 +04:00
Igor Murzov 21a7370a4d Fix text markup in mouse binding config popup 2014-08-05 12:01:44 +04:00
Carsten Haitzler e2ec390021 rename pager16 to pager and pager to pager_plain
this will mean all users upgrading from e18 to e19 get the new preview
pager. thoose wanting the older plain pager can switch ti pager_plain.
anyon using git will find pager16 remove (or if still installed not
updated) so switch back to pager from pager16. :)
2014-08-05 12:01:22 +09:00
Wonguk Jeong e2daed5177 conf_display: NULL check before strdup 2014-08-02 15:00:54 +02:00
Mike Blumenkrantz 290e2369d3 s/sumary/summary/g 2014-07-30 19:18:24 -04:00
Mike Blumenkrantz 3c5cc9c0a0 fix a series of oob reads in evry search matching 2014-07-30 11:57:32 -04:00
Mike Blumenkrantz 87a79f3dd7 improve tiling startup to not reapply its tree * n_clients 2014-07-30 00:51:03 -04:00
Tom Hacohen c29b87c927 Tiling: Fix handling of shelves with top orientation.
This uses the newly added function that lets us get the correct geometry
for all desks.

Fixes T1320.
2014-07-29 01:39:34 +01:00
Mike Blumenkrantz 87b9003092 use e_client_border_set() in tiling 2014-07-28 08:42:24 -04:00
Mike Blumenkrantz 69c89d7202 unset border.changed after changing border in tiling
fix T1456
2014-07-28 08:42:24 -04:00
Tom Hacohen 6da3771eb8 Tiling: Clean up the tiling entry check code.
This makes it a little less redundant.
2014-07-28 10:41:54 +01:00
Mike Blumenkrantz fb3f852601 redo start/syscon menu deactivate callbacks to not crash
fix T1448
2014-07-27 17:40:53 -04:00
Mike Blumenkrantz 40d0505e51 check tileable state before enforcing client entry existence
fix T1304
2014-07-27 16:58:58 -04:00
Mike Blumenkrantz d621cb6738 tiling should stop pussyfooting around frame changes and do its own gruntwork
fix T993
2014-07-27 16:53:25 -04:00
Mike Blumenkrantz 06cbbb1ac4 correctly use EC_CHANGED in tiling 2014-07-27 16:45:39 -04:00
Mike Blumenkrantz 98b5246bc0 improve qa init: call startup function to apply existing entries and client states
fix T1435
2014-07-27 16:34:37 -04:00
Mike Blumenkrantz 7486cc179a change qa event handler init to use list macro 2014-07-27 16:34:37 -04:00
Mike Blumenkrantz df57ef15a3 use client stick apis in qa
setting properties manually breaks everything else which expects events
2014-07-27 16:34:37 -04:00
Mike Blumenkrantz e7cb1f9468 break out qa client validation into separate function 2014-07-27 16:15:49 -04:00
Mike Blumenkrantz 7b61749184 correctly use EC_CHANGED in qa 2014-07-27 16:10:12 -04:00
Mike Blumenkrantz 44eb1a41c6 shutup qa logging 2014-07-27 15:53:41 -04:00
Mike Blumenkrantz cc8d315aad remove unused p16 var 2014-07-27 12:24:00 -04:00
Mike Blumenkrantz 8e1c410aba fix pager16 recalc crash from previous commit 2014-07-27 12:23:30 -04:00
Wonguk Jeong aada5dea8d pager16: resize on desktop bug fix
Summary:
pager16 is not properly resized when it is a desktop gadget.

Case 1. In move/resize mode, shrink is impossible since all items' min has been set by setting table options on resizing.
-> Do not set table options in _pager_resize().

Case 2. After log-in, if we open new window, pager has been get into move/resize mode.
frame resize was ignored, since it's invoked in the middle of resizing.
The detail is:
1) gadcon's frame is resizing
2) the table is resized
3) _pager_resize() -> e_gadcon_client_aspect_set() -> _gadman_gadget_size_hints_cb() -> try to resize frame
4) since frame is in the middle of resizing, the resize request has been ignored. (at start, since the initial size was 0, 0, pager get into move/resize mode)
-> Defer aspect setting.

fixes T1012

Test Plan:
Caes 1. try to shrink pager16 gadget on desktop
Case 2. open any window after log-in -> check whether the pager has been getting into move/resize mode and shrink

Reviewers: zmike

Subscribers: cedric, seoz

Maniphest Tasks: T1012

Differential Revision: https://phab.enlightenment.org/D1242
2014-07-27 09:16:25 -04:00
Mike Blumenkrantz a4619ea492 tiling should not resize deleted clients 2014-07-19 15:47:21 -04:00
Mike Blumenkrantz b944738d83 bugfix: don't save mime info when opening .desktop files
fix T1421
2014-07-16 10:48:48 -04:00
Mike Blumenkrantz 9a1e8df8f1 redo ibar wheel logic
this is very slightly more cpu intensive but compensates by not inexplicably crashing
2014-07-14 13:12:32 -04:00
Mike Blumenkrantz 8c65d7452e fix ibar wheel scrolling with only one exe 2014-07-14 13:12:32 -04:00
Mike Blumenkrantz 1a11067c32 update contact/illume to not use broken/removed layout client hook 2014-07-07 13:43:18 -04:00
Marcel Hollerbach b0f9480eee tiling: this should fix swapping the windows with padding!
Summary: add the padding to the if clause

Test Plan: Set a padding and press WIN+Arrow keys

Reviewers: tasn

Reviewed By: tasn

CC: cedric

Differential Revision: https://phab.enlightenment.org/D1117
2014-07-03 20:38:33 +01:00
Mike Blumenkrantz 814507c1d4 hide tw popups on mouse up/down
fix T1290
2014-07-03 11:01:28 -04:00
Carsten Haitzler 784813ad4d whitespace/formatting cleanups in shot module 2014-07-01 19:51:04 +09:00
Carsten Haitzler 6a1c47a23c fix ibar focus tracking bug with deleted objects (ERR complaints) 2014-07-01 17:13:42 +09:00
Carsten Haitzler 5ad67ccfd2 fix appmenu shutdown of dbus when it's null - no complaint 2014-07-01 16:42:23 +09:00
Carsten Haitzler fabf991909 fix monitoring of non-existant files/dirs in clock module 2014-07-01 16:35:58 +09:00
Carsten Haitzler 7fe18a6954 unbreak enlightenment compile due to eo usage
so e is using eo... and something in eo changes... and e fails to
compile entirely.... there are hacks to use eo... and this is not good.

eo is still in a beta state. that means any usage of it  can (and
will) break. this is a problem for e. if e uses eo, then eo breaks in
an efl upgrade, e breaks. we can't really have that. we already hit
this problem in terminology with the app server code in elm. so let's
just not use eo in e until it's stable.

this removes eo usage in all places, with the e_menu code having a
small isedje() func due to some of its code paths doing special things
based on if the obj is an edje one or not as opposed to just a simple
"only emit if its an edje obj".
2014-07-01 08:37:33 +09:00
Igor Murzov 4f17251e88 Update russian translation 2014-06-30 17:53:44 +04:00
Igor Murzov af50cdc7e1 Properly use gettext for plural forms 2014-06-30 03:44:07 +04:00
Chris Michael fa8c7f53cd econnman: Adjust size of wifi popup dialog to be more sane for smaller
screens

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-06-27 12:15:21 -04:00
Chris Michael 8c21a8a0a0 ibar: add some safeguards to make sure an icon has an exe_current
before trying to get list data from it.

NB: Safeguards added to stop crashes from happening during a
mouse_wheel (reported from Guy Martin).

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-06-26 16:30:45 -04:00
Chris Michael f6d2f30d93 Port D1089 patch from Seunghun Lee <shiin.lee@samsung.com> to current
E master

fix crash and memory leak when press and release any key repeatedly.

Summary:
since the size of wl_array is determined based on one byte,
so in order to compare with uint32_t, the size of wl_array should
be divided by uint32_t's size.
and when calculate the size of wl_array by difference between two
address, address should type cast char* as one byte.

Test Plan:
(1) run terminology
(2) input any key several time.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-06-26 10:58:06 -04:00
Mike Blumenkrantz b471c3ad8d use battery popup for battery popup mouse events
fix T1356
2014-06-25 16:05:26 -04:00
Mike Blumenkrantz 526bdab7c4 unset fwin win delete callback before delete during delete callback 2014-06-25 16:05:26 -04:00
Mike Blumenkrantz b0cd7dbea5 make notifications fade appropriately
fix T1362
2014-06-25 16:05:26 -04:00
Mike Blumenkrantz 2047075b66 remove notification theme fallback
this will never fail since the default theme provides it
2014-06-25 16:05:26 -04:00
Chris Michael 2ad62d1b31 systray: Fix duplicate structure name when including EGL headers
When we include support (in the wayland compositor) for compiling with
EGL, the inclusion of the EGL headers cause a conflict with the
Status structure name in this module, so lets rename it.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-06-25 09:44:06 -04:00
Chris Michael 5bbedc3013 cpufreq: Fix duplicate structure name when including EGL headers
When we include support (in the wayland compositor) for compiling with
EGL, the inclusion of the EGL headers cause a conflict with the
Status structure name in this module, so lets rename it.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-06-25 09:42:07 -04:00
Carsten Haitzler 30b5b6d70c ibar - fix segv when ibar_icon data is NULL 2014-06-20 07:32:31 +09:00
Chris Michael 71e7bc0eb9 bluez-module: Fixup menu activation code
SUMMARY: Unify popup menu activation code to match other modules, and
utilize E_MENU_POP_DIRECTION_AUTO for shelves that are in various
positions. Also use the current evas mouse event coordinates and
gadget position to calculate menu popup position.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-06-19 13:18:35 -04:00
Carsten Haitzler c69889279a theme dialog - make theme dir if it doesnt exist 2014-06-18 12:08:15 +09:00
Mike Blumenkrantz a19d83d125 remove wp2 module
this will be in a separate repository at enlightenment/modules/wallpaper2
2014-06-17 09:37:44 -04:00
Mike Blumenkrantz 3e2c16ebfd update ibar menu theme states dynamically
fix T1300
2014-06-16 13:35:57 -04:00
Mike Blumenkrantz f4e460237b unify ibar menu hiding 2014-06-16 13:35:57 -04:00
Mike Blumenkrantz 32c1638da7 simplify ibar client desk visibility check 2014-06-16 13:35:57 -04:00
Mike Blumenkrantz ace6b24955 rename ibar focus signals 2014-06-16 13:35:57 -04:00
Mike Blumenkrantz 5d63f929b1 wizard comp effect disabling now disables all effects
fix T1345
2014-06-16 13:35:57 -04:00
Mike Blumenkrantz 684637394a bugfix: Navigate menu is now sorted case insensitively
fix T1346
2014-06-16 13:35:57 -04:00
Mike Blumenkrantz 3bb96a77f0 remove calls to e_place_zone_region_smart_cleanup() in tiling unload
this is not the correct way to use this function, and tiling should probably never call it. this is a function for (slowly) repositioning every client on the currently visible desktop while trying not to overlap. on failure, which occurs when clients cannot be placed without overlapping, it moves clients to 0,0.

fix T1310 because there is no i in team
2014-06-16 13:35:57 -04:00
Carsten Haitzler 1a321b8fd1 fix build in imagery fgor syscon power gadget - not ugly red shiny button 2014-06-11 19:07:03 +09:00
Sebastian Dransfeld 3b899f44fe e: rename applications menu to fit xdg menu spec 2014-06-11 11:08:26 +02:00
Cedric BAIL 3f9af38da2 edje: remove use of deprecated functions. 2014-06-07 21:10:55 +02:00