Gwanglim Lee [Tue, 17 Mar 2015 08:21:47 +0000 (01:21 -0700)]
Merge "Fix null dereference. while e_comp_shutdown is going, e_client's object could be unfocused." into devel/wayland-only
Duna Oh [Tue, 17 Mar 2015 07:21:02 +0000 (16:21 +0900)]
Disable x11 dependent modules with options and restore -DNEED_X flags
Change-Id: I5c86f1332882864d157a1ca3fc6cdf8f7951915f
Signed-off-by: Duna Oh <duna.oh@samsung.com>
Mun, Gwan-gyeong [Mon, 16 Mar 2015 08:41:50 +0000 (17:41 +0900)]
Fix null dereference.
while e_comp_shutdown is going, e_client's object could be unfocused.
Change-Id: Ib8734941b48468ca60b93cb5eaca5115d79f227a
Boram Park [Mon, 9 Mar 2015 13:00:30 +0000 (22:00 +0900)]
move enlightenment.service file to e-tizen-data
Enlightenment can run as wayland display server without X.
In this case, englightenment will be launched by display-manager
-run.service. It looks better e-tizen-data offers systemd service
files.
Change-Id: Id86e5d0b9dcdb800fe52c2026e5e97d64c442a79
Boram Park [Mon, 9 Mar 2015 06:59:38 +0000 (15:59 +0900)]
temporary fix for building based on wayland-only
Change-Id: I10fada3b235f304e8f28940e409bf60c21f9562f
Boram Park [Tue, 10 Mar 2015 10:48:00 +0000 (19:48 +0900)]
Merge branch 'upstream' into tizen
Conflicts:
.gitignore
.mailmap
AUTHORS
NEWS
README
README.wayland
autogen.sh
config/default/e.src
config/default/profile.desktop
config/mobile/e.src
config/mobile/e_bindings.src
config/mobile/profile.desktop
config/standard/e.src
config/standard/e_bindings.src
config/standard/profile.desktop
config/tiling/e.src
config/tiling/e_bindings.src
config/tiling/module.tiling.src
config/tiling/profile.desktop
configure.ac
data/Makefile.mk
data/desktop/enlightenment_filemanager.desktop
data/etc/sysactions.conf.in
data/favorites/desktop.desktop
data/favorites/home.desktop
data/favorites/root.desktop
data/favorites/tmp.desktop
data/input_methods/fcitx.imc
data/input_methods/gcin.imc
data/input_methods/hime.imc
data/tools/enlightenment_remote
data/xsession/enlightenment.desktop.in
netwm.txt
po/POTFILES.in
po/ar.po
po/bg.po
po/ca.po
po/cs.po
po/da.po
po/de.po
po/el.po
po/eo.po
po/es.po
po/et.po
po/fi.po
po/fo.po
po/fr.po
po/fr_CH.po
po/gl.po
po/he.po
po/hr.po
po/hu.po
po/it.po
po/ja.po
po/km.po
po/ko.po
po/lt.po
po/ms.po
po/nb.po
po/nl.po
po/pl.po
po/pt.po
po/pt_BR.po
po/ro.po
po/ru.po
po/sk.po
po/sl.po
po/sr.po
po/sv.po
po/tr.po
po/uk.po
po/zh_CN.po
po/zh_TW.po
src/bin/Makefile.mk
src/bin/e.h
src/bin/e_about.c
src/bin/e_actions.c
src/bin/e_alert.c
src/bin/e_alert_main.c
src/bin/e_atoms.c
src/bin/e_atoms.h
src/bin/e_auth.c
src/bin/e_auth.h
src/bin/e_backlight.c
src/bin/e_bg.c
src/bin/e_bindings.c
src/bin/e_client.c
src/bin/e_client.h
src/bin/e_color_dialog.c
src/bin/e_comp.c
src/bin/e_comp.h
src/bin/e_comp_canvas.c
src/bin/e_comp_canvas.h
src/bin/e_comp_cfdata.c
src/bin/e_comp_cfdata.h
src/bin/e_comp_object.c
src/bin/e_comp_object.h
src/bin/e_comp_wl.c
src/bin/e_comp_wl.h
src/bin/e_comp_wl_data.c
src/bin/e_comp_wl_input.c
src/bin/e_comp_x.c
src/bin/e_comp_x.h
src/bin/e_config.c
src/bin/e_config.h
src/bin/e_config_dialog.c
src/bin/e_config_dialog.h
src/bin/e_configure.c
src/bin/e_configure.h
src/bin/e_confirm_dialog.c
src/bin/e_desk.c
src/bin/e_desklock.c
src/bin/e_deskmirror.c
src/bin/e_desktop_editor.c
src/bin/e_dialog.c
src/bin/e_dialog.h
src/bin/e_dnd.c
src/bin/e_dpms.c
src/bin/e_entry_dialog.c
src/bin/e_exec.c
src/bin/e_fm.c
src/bin/e_fm/Makefile.mk
src/bin/e_fm/e_fm_ipc.c
src/bin/e_fm/e_fm_main_eeze.c
src/bin/e_fm_op.h
src/bin/e_fm_prop.c
src/bin/e_fm_shared_device.c
src/bin/e_font.c
src/bin/e_gadcon.c
src/bin/e_gadcon_popup.c
src/bin/e_grab_dialog.c
src/bin/e_grab_dialog.h
src/bin/e_grabinput.c
src/bin/e_hints.c
src/bin/e_hints.h
src/bin/e_ilist.c
src/bin/e_import_config_dialog.c
src/bin/e_import_config_dialog.h
src/bin/e_import_dialog.c
src/bin/e_import_dialog.h
src/bin/e_includes.h
src/bin/e_init.c
src/bin/e_int_client_locks.c
src/bin/e_int_client_menu.c
src/bin/e_int_client_prop.c
src/bin/e_int_client_remember.c
src/bin/e_int_config_comp.c
src/bin/e_int_config_comp_match.c
src/bin/e_int_config_modules.c
src/bin/e_int_config_modules.h
src/bin/e_int_gadcon_config.c
src/bin/e_int_menus.c
src/bin/e_int_shelf_config.c
src/bin/e_int_toolbar_config.c
src/bin/e_livethumb.c
src/bin/e_main.c
src/bin/e_menu.c
src/bin/e_module.c
src/bin/e_mouse.c
src/bin/e_moveresize.c
src/bin/e_msgbus.c
src/bin/e_notification.c
src/bin/e_obj_dialog.c
src/bin/e_obj_dialog.h
src/bin/e_object.h
src/bin/e_order.c
src/bin/e_pixmap.c
src/bin/e_pixmap.h
src/bin/e_pointer.c
src/bin/e_pointer.h
src/bin/e_remember.c
src/bin/e_scale.c
src/bin/e_screensaver.c
src/bin/e_shelf.c
src/bin/e_signals.c
src/bin/e_start_main.c
src/bin/e_startup.c
src/bin/e_sys.c
src/bin/e_sys_main.c
src/bin/e_test.c
src/bin/e_theme_about.c
src/bin/e_toolbar.c
src/bin/e_toolbar.h
src/bin/e_update.c
src/bin/e_utils.c
src/bin/e_utils.h
src/bin/e_widget.c
src/bin/e_widget_bgpreview.c
src/bin/e_widget_button.c
src/bin/e_widget_config_list.c
src/bin/e_widget_config_list.h
src/bin/e_widget_csel.c
src/bin/e_widget_entry.c
src/bin/e_widget_entry.h
src/bin/e_widget_filepreview.c
src/bin/e_widget_framelist.c
src/bin/e_widget_frametable.c
src/bin/e_widget_fsel.c
src/bin/e_widget_label.c
src/bin/e_widget_list.c
src/bin/e_widget_table.c
src/bin/e_widget_table.h
src/bin/e_widget_textblock.c
src/bin/e_widget_toolbar.c
src/bin/e_widget_toolbook.c
src/bin/e_win.c
src/bin/e_win.h
src/bin/e_xinerama.c
src/bin/e_xsettings.c
src/bin/e_zone.c
src/bin/e_zone.h
src/modules/Makefile.mk
src/modules/Makefile_conf_display.mk
src/modules/Makefile_conf_randr.mk
src/modules/Makefile_everything.mk
src/modules/Makefile_systray.mk
src/modules/access/e_mod_main.c
src/modules/access/module.desktop.in
src/modules/appmenu/e_mod_dbus_registrar_server.c
src/modules/appmenu/module.desktop.in
src/modules/backlight/e_mod_main.c
src/modules/backlight/module.desktop.in
src/modules/battery/e_mod_config.c
src/modules/battery/e_mod_main.c
src/modules/battery/e_mod_main.h
src/modules/battery/module.desktop.in
src/modules/bluez4/agent.c
src/modules/bluez4/e_mod_main.c
src/modules/bluez4/ebluez4.c
src/modules/bluez4/module.desktop.in
src/modules/clock/e_mod_config.c
src/modules/clock/e_mod_main.c
src/modules/clock/e_mod_main.h
src/modules/clock/module.desktop.in
src/modules/conf/e_conf.c
src/modules/conf/e_mod_config.c
src/modules/conf/e_mod_main.c
src/modules/conf/e_mod_main.h
src/modules/conf/module.desktop.in
src/modules/conf_applications/e_int_config_apps.c
src/modules/conf_applications/e_int_config_apps_personal.c
src/modules/conf_applications/e_int_config_defapps.c
src/modules/conf_applications/e_int_config_deskenv.c
src/modules/conf_applications/e_mod_main.h
src/modules/conf_applications/module.desktop.in
src/modules/conf_bindings/e_int_config_acpibindings.c
src/modules/conf_bindings/e_int_config_edgebindings.c
src/modules/conf_bindings/e_int_config_keybindings.c
src/modules/conf_bindings/e_int_config_mousebindings.c
src/modules/conf_bindings/e_int_config_signalbindings.c
src/modules/conf_bindings/e_mod_main.h
src/modules/conf_bindings/module.desktop.in
src/modules/conf_dialogs/e_int_config_dialogs.c
src/modules/conf_dialogs/e_int_config_profiles.c
src/modules/conf_dialogs/e_mod_main.h
src/modules/conf_dialogs/module.desktop.in
src/modules/conf_display/e_int_config_desk.c
src/modules/conf_display/e_int_config_desklock.c
src/modules/conf_display/e_int_config_desklock_fsel.c
src/modules/conf_display/e_int_config_desks.c
src/modules/conf_display/e_int_config_dpms.c
src/modules/conf_display/e_int_config_screensaver.c
src/modules/conf_display/e_mod_main.h
src/modules/conf_display/module.desktop.in
src/modules/conf_interaction/e_int_config_interaction.c
src/modules/conf_interaction/e_int_config_mouse.c
src/modules/conf_interaction/e_mod_main.h
src/modules/conf_interaction/module.desktop.in
src/modules/conf_intl/e_int_config_imc.c
src/modules/conf_intl/e_int_config_imc_import.c
src/modules/conf_intl/e_int_config_intl.c
src/modules/conf_intl/e_mod_main.h
src/modules/conf_intl/module.desktop.in
src/modules/conf_menus/e_int_config_menus.c
src/modules/conf_menus/e_mod_main.h
src/modules/conf_menus/module.desktop.in
src/modules/conf_paths/e_int_config_env.c
src/modules/conf_paths/e_int_config_paths.c
src/modules/conf_paths/e_mod_main.h
src/modules/conf_paths/module.desktop.in
src/modules/conf_performance/e_int_config_performance.c
src/modules/conf_performance/e_int_config_powermanagement.c
src/modules/conf_performance/e_mod_main.h
src/modules/conf_performance/module.desktop.in
src/modules/conf_randr/e_int_config_randr.c
src/modules/conf_randr/e_int_config_randr.h
src/modules/conf_randr/e_mod_main.c
src/modules/conf_randr/e_mod_main.h
src/modules/conf_randr/e_smart_monitor.c
src/modules/conf_randr/e_smart_randr.c
src/modules/conf_randr/module.desktop.in
src/modules/conf_shelves/e_int_config_shelf.c
src/modules/conf_shelves/e_int_config_shelf.h
src/modules/conf_shelves/e_mod_main.c
src/modules/conf_shelves/e_mod_main.h
src/modules/conf_shelves/module.desktop.in
src/modules/conf_theme/e_int_config_borders.c
src/modules/conf_theme/e_int_config_color_classes.c
src/modules/conf_theme/e_int_config_fonts.c
src/modules/conf_theme/e_int_config_scale.c
src/modules/conf_theme/e_int_config_theme.c
src/modules/conf_theme/e_int_config_theme_import.c
src/modules/conf_theme/e_int_config_transitions.c
src/modules/conf_theme/e_int_config_wallpaper.c
src/modules/conf_theme/e_int_config_xsettings.c
src/modules/conf_theme/e_mod_main.c
src/modules/conf_theme/e_mod_main.h
src/modules/conf_theme/module.desktop.in
src/modules/conf_window_manipulation/e_int_config_clientlist.c
src/modules/conf_window_manipulation/e_int_config_focus.c
src/modules/conf_window_manipulation/e_int_config_window_display.c
src/modules/conf_window_manipulation/e_int_config_window_geometry.c
src/modules/conf_window_manipulation/e_int_config_window_process.c
src/modules/conf_window_manipulation/e_mod_main.h
src/modules/conf_window_manipulation/module.desktop.in
src/modules/conf_window_remembers/e_int_config_remembers.c
src/modules/conf_window_remembers/e_mod_main.h
src/modules/conf_window_remembers/module.desktop.in
src/modules/connman/agent.c
src/modules/connman/e_connman.c
src/modules/connman/e_mod_config.c
src/modules/connman/e_mod_main.c
src/modules/connman/e_mod_main.h
src/modules/connman/module.desktop.in
src/modules/contact/e_edges.c
src/modules/contact/e_policy.c
src/modules/contact/module.desktop.in
src/modules/cpufreq/e_mod_config.c
src/modules/cpufreq/e_mod_main.c
src/modules/cpufreq/e_mod_main.h
src/modules/cpufreq/freqset.c
src/modules/cpufreq/module.desktop.in
src/modules/everything/e_mod_main.h
src/modules/everything/evry.c
src/modules/everything/evry_config.c
src/modules/everything/evry_gadget.c
src/modules/everything/evry_history.c
src/modules/everything/evry_plug_actions.c
src/modules/everything/evry_plug_apps.c
src/modules/everything/evry_plug_calc.c
src/modules/everything/evry_plug_clipboard.c
src/modules/everything/evry_plug_files.c
src/modules/everything/evry_types.h
src/modules/everything/evry_view.c
src/modules/everything/evry_view_help.c
src/modules/everything/evry_view_tabs.c
src/modules/everything/module.desktop.in
src/modules/fileman/e_fwin.c
src/modules/fileman/e_fwin_nav.c
src/modules/fileman/e_int_config_mime.c
src/modules/fileman/e_int_config_mime_edit.c
src/modules/fileman/e_mod_config.c
src/modules/fileman/e_mod_dbus.c
src/modules/fileman/e_mod_main.c
src/modules/fileman/e_mod_main.h
src/modules/fileman/e_mod_menu.c
src/modules/fileman/module.desktop.in
src/modules/fileman_opinfo/e_mod_main.c
src/modules/fileman_opinfo/module.desktop.in
src/modules/gadman/e_mod_config.c
src/modules/gadman/e_mod_gadman.c
src/modules/gadman/e_mod_gadman.h
src/modules/gadman/e_mod_main.c
src/modules/gadman/module.desktop.in
src/modules/ibar/e_mod_config.c
src/modules/ibar/e_mod_main.c
src/modules/ibar/module.desktop.in
src/modules/ibox/e_mod_config.c
src/modules/ibox/e_mod_main.c
src/modules/ibox/module.desktop.in
src/modules/illume-bluetooth/module.desktop.in
src/modules/illume-home-toggle/module.desktop.in
src/modules/illume-home/e_busycover.c
src/modules/illume-home/e_mod_config.c
src/modules/illume-home/e_mod_main.c
src/modules/illume-home/module.desktop.in
src/modules/illume-indicator/e_mod_ind_win.c
src/modules/illume-indicator/e_mod_notify.c
src/modules/illume-indicator/module.desktop.in
src/modules/illume-kbd-toggle/module.desktop.in
src/modules/illume-keyboard/e_kbd_int.c
src/modules/illume-keyboard/e_mod_config.c
src/modules/illume-keyboard/module.desktop.in
src/modules/illume-mode-toggle/module.desktop.in
src/modules/illume-softkey/e_mod_sft_win.c
src/modules/illume-softkey/module.desktop.in
src/modules/illume2/e_mod_config_animation.c
src/modules/illume2/e_mod_config_policy.c
src/modules/illume2/e_mod_config_windows.c
src/modules/illume2/e_mod_main.c
src/modules/illume2/module.desktop.in
src/modules/layout/module.desktop.in
src/modules/lokker/e_mod_main.h
src/modules/lokker/lokker.c
src/modules/mixer/app_mixer.c
src/modules/mixer/conf_gadget.c
src/modules/mixer/conf_module.c
src/modules/mixer/e_mod_main.c
src/modules/mixer/e_mod_main.h
src/modules/mixer/module.desktop.in
src/modules/mixer/pa.c
src/modules/msgbus/module.desktop.in
src/modules/msgbus/msgbus_audit.c
src/modules/msgbus/msgbus_desktop.c
src/modules/music-control/e_mod_main.c
src/modules/music-control/gen/eldbus_media_player2_player.c
src/modules/music-control/gen/eldbus_mpris_media_player2.c
src/modules/music-control/module.desktop.in
src/modules/music-control/ui.c
src/modules/notification/e_mod_config.c
src/modules/notification/e_mod_main.c
src/modules/notification/e_mod_main.h
src/modules/notification/e_mod_popup.c
src/modules/notification/module.desktop.in
src/modules/packagekit/e_mod_config.c
src/modules/packagekit/e_mod_packagekit.c
src/modules/packagekit/module.desktop.in
src/modules/pager/e_mod_config.c
src/modules/pager/e_mod_main.c
src/modules/pager/module.desktop.in
src/modules/pager_plain/e_mod_config.c
src/modules/pager_plain/e_mod_main.c
src/modules/pager_plain/module.desktop.in
src/modules/policy_mobile/e_mod_config.c
src/modules/policy_mobile/e_mod_main.c
src/modules/policy_mobile/e_mod_main.h
src/modules/quickaccess/e_mod_config.c
src/modules/quickaccess/e_mod_main.h
src/modules/quickaccess/e_mod_quickaccess.c
src/modules/quickaccess/module.desktop.in
src/modules/shot/e_mod_main.c
src/modules/shot/module.desktop.in
src/modules/start/module.desktop.in
src/modules/syscon/e_int_config_syscon.c
src/modules/syscon/e_mod_main.h
src/modules/syscon/module.desktop.in
src/modules/systray/e_mod_main.c
src/modules/systray/e_mod_main.h
src/modules/systray/e_mod_notifier_host.c
src/modules/systray/e_mod_notifier_watcher.c
src/modules/systray/module.desktop.in
src/modules/tasks/e_mod_config.c
src/modules/tasks/e_mod_main.c
src/modules/tasks/module.desktop.in
src/modules/teamwork/e_mod_config.c
src/modules/teamwork/e_mod_main.h
src/modules/teamwork/e_mod_tw.c
src/modules/teamwork/module.desktop.in
src/modules/temperature/e_mod_main.h
src/modules/temperature/module.desktop.in
src/modules/tiling/e_mod_config.c
src/modules/tiling/e_mod_tiling.c
src/modules/tiling/e_mod_tiling.h
src/modules/tiling/module.desktop.in
src/modules/tiling/window_tree.c
src/modules/tiling/window_tree.h
src/modules/winlist/e_int_config_winlist.c
src/modules/winlist/e_mod_main.h
src/modules/winlist/e_winlist.c
src/modules/winlist/module.desktop.in
src/modules/wizard/data/desktop/home.desktop
src/modules/wizard/data/desktop/root.desktop
src/modules/wizard/data/desktop/tmp.desktop
src/modules/wizard/e_wizard.c
src/modules/wizard/module.desktop.in
src/modules/wizard/page_010.c
src/modules/wl_desktop_shell/e_desktop_shell_protocol.c
src/modules/wl_desktop_shell/e_desktop_shell_protocol.h
src/modules/wl_desktop_shell/e_mod_main.c
src/modules/wl_desktop_shell/module.desktop.in
src/modules/wl_drm/e_mod_main.c
src/modules/wl_fb/e_mod_main.c
src/modules/wl_screenshot/module.desktop.in
src/modules/wl_x11/e_mod_main.c
src/modules/xkbswitch/e_mod_config.c
src/modules/xkbswitch/e_mod_main.c
src/modules/xkbswitch/e_mod_main.h
src/modules/xkbswitch/module.desktop.in
Change-Id: I48aa3471cf5fb5521116027596e592e873c3d8ee
Mun, Gwan-gyeong [Mon, 9 Mar 2015 07:19:52 +0000 (16:19 +0900)]
Fix indentation on e_comp_object.
Change-Id: I08b5f22fe0d9e9b81413a5f576489630c8afef24
Gwanglim Lee [Mon, 9 Mar 2015 06:53:50 +0000 (23:53 -0700)]
Merge "Delay first showing of client object while damage count up to 2." into tizen
Mun, Gwan-gyeong [Fri, 6 Mar 2015 06:01:28 +0000 (15:01 +0900)]
Delay first showing of client object while damage count up to 2.
Change-Id: Idc0d3031673fc7171780fb8e556cb9af39b708f2
MinJeong Kim [Fri, 6 Mar 2015 01:26:04 +0000 (10:26 +0900)]
Avoid freeing pixmap from unsetting parent window of pixmap
When some E_Client is deleted by hide event of its window,
comp_x tries to unset parent window of client's E_Pixmap.
This unsetting is causing freeing pixmap even if the pixmap is still pending.
this revision is for avoiding those unwanted free.
Change-Id: Id7568b57b4d274534915920c115ac59ae94e746e
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
Gwanglim Lee [Wed, 4 Mar 2015 01:20:12 +0000 (17:20 -0800)]
Merge "Added initial test case framework" into tizen
Mike Blumenkrantz [Tue, 3 Mar 2015 21:48:25 +0000 (16:48 -0500)]
grab wl shell surface geom and use for adjusting resize operations
I think this still may not be 100% perfect,
but it's more like 95% perfect now instead of 50%
Chris Michael [Tue, 3 Mar 2015 16:59:52 +0000 (11:59 -0500)]
enlightenment: Implement support for wl_data_device_interface "release" event
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 3 Mar 2015 16:59:02 +0000 (11:59 -0500)]
enlightenment: Bump required Wayland version to 1.7.0
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 3 Mar 2015 14:54:23 +0000 (09:54 -0500)]
don't install SIGBUS handler if we are running wayland-only
Wayland shm sets up a sigbus handler for catching invalid shm region
access. If we setup our sigbus handler here, then the wl-shm sigbus
handler will not function properly
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Mon, 2 Mar 2015 20:41:46 +0000 (15:41 -0500)]
when we get a request to close client app, defer resource deletion
until After close animation has been run
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Mike Blumenkrantz [Mon, 2 Mar 2015 19:27:29 +0000 (14:27 -0500)]
remove ec->awaiting_hide_event
no longer used
Mike Blumenkrantz [Sat, 28 Feb 2015 21:48:07 +0000 (16:48 -0500)]
improve wl grab resize calcs
Mike Blumenkrantz [Sat, 28 Feb 2015 20:46:16 +0000 (15:46 -0500)]
update+clamp wl surface client size to buffer size during commit
this is the same as the X render loop behavior, just in a different place
Mike Blumenkrantz [Sat, 28 Feb 2015 20:43:12 +0000 (15:43 -0500)]
send different values to wl clients for configure when performing a resize action
the calculated values here seem to not be sufficiently accurate to manage a calculated resize.
instead, calc relative pointer coords and send them
#barrel
Chris Michael [Sat, 28 Feb 2015 16:36:42 +0000 (11:36 -0500)]
set output->scale to e_scale, and when we wl_output_send_scale
actually send output->scale
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Boram Park [Sat, 28 Feb 2015 10:27:39 +0000 (19:27 +0900)]
add client-notification-level to E_Layer
Change-Id: I5781943db2440c1e5dc268287420b3fd3122da09
Bryce Harrington [Sat, 28 Feb 2015 00:45:24 +0000 (19:45 -0500)]
wayland: Make sure we're initializing output scale sensibly
Summary:
By default the E_NEW() will create our output objects with a 0.0 scale,
which doesn't make any sense and if anything will lead to crashes.
Instead use a scale factor of 1.0.
When updating output details, if the scale setting is invalid then set
it to 1.0 as a sensible value.
Note this doesn't actually enable scaling, just helps make sure we're
not injecting invalid scale parameters from the start.
Reviewers: zmike, devilhorns, cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2078
Bryce Harrington [Sat, 28 Feb 2015 00:23:11 +0000 (19:23 -0500)]
wayland: Refactor output initialization code
Summary:
The code to initialize outputs has duplicate stanzas for updating the
data members of the output structure. This set of refactoring steps
shuffles things around to eliminate the redundant code. I think this
also makes the code easier to follow too.
This also breaks out a new internal routine for looking up outputs by
id. I suspect this will have general usefulness later.
Reviewers: devilhorns, cedric, zmike
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2077
Mike Blumenkrantz [Fri, 27 Feb 2015 20:55:41 +0000 (15:55 -0500)]
remove wl client resize idler, send ec->w/h instead of ec->client.w/h on resize
this idler makes sense in X where there is a third party display server but not in wl
Mike Blumenkrantz [Fri, 27 Feb 2015 20:07:24 +0000 (15:07 -0500)]
noop when setting pointer object if re-setting same object
Mike Blumenkrantz [Fri, 27 Feb 2015 19:44:27 +0000 (14:44 -0500)]
disable fileman popups in wl-only mode
these crash for now and I'm annoyed
Chris Michael [Fri, 27 Feb 2015 15:59:59 +0000 (10:59 -0500)]
remove missed use of E_COMP_WL_PIXMAP_CHECK macro
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Bryce Harrington [Fri, 27 Feb 2015 14:24:59 +0000 (09:24 -0500)]
wayland: Document the public API
Summary: Add doxygen comments for public API members
Reviewers: zmike, cedric, devilhorns
Reviewed By: devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2067
Bryce Harrington [Fri, 27 Feb 2015 14:21:55 +0000 (09:21 -0500)]
wayland: Eliminate extraneous E_COMP_WL_PIXMAP_CHECK macro
Summary:
Many of the functions in the compositor do some preliminary checks, to
ensure objects are valid and the right type. Most of the checks follow
a consistent pattern, for example:
if (!(ec = data)) return;
if (e_object_is_del(E_OBJECT(ec))) return;
if (ec->iconic) return;
This style makes it pretty straightforward to review the pre-conditions
of the function.
The one exception is the check to see if an object is a wayland pixmap;
this is implemented as a C macro.
E_COMP_WL_PIXMAP_CHECK;
The name of the macro is descriptive enough, but it conceals what is
actually being checked. I think that it is clearer and fits better with
the style of the rest of the pre-condition checks for this check to just
be shown as regular C code:
if (e_pixmap_type_get(ec->pixmap) != E_PIXMAP_TYPE_WL) return;
Reviewers: zmike, cedric, devilhorns
Reviewed By: devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2066
Bryce Harrington [Fri, 27 Feb 2015 14:18:27 +0000 (09:18 -0500)]
wayland: Fix missing check on E_NEW return
Summary:
All other E_NEW calls in this file check the return value, except this
one place. In this function, other calls are being checked for NULL and
handled so this one should as well. The other handlers in this function
follow the style of issuing an error message, freeing objects, and
returning false; we don't need to free anything so just do the error
message and return.
Reviewers: zmike, cedric, devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2065
Gwanglim Lee [Fri, 27 Feb 2015 10:10:55 +0000 (02:10 -0800)]
Merge "Ignore configure requests for windows which do not have relevant E_Client yet" into tizen
MinJeong Kim [Fri, 27 Feb 2015 09:18:57 +0000 (18:18 +0900)]
Ignore configure requests for windows which do not have relevant E_Client yet
Change-Id: I2555246058460da538f61daa0496a18995ea6d43
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
Mike Blumenkrantz [Fri, 27 Feb 2015 03:32:14 +0000 (22:32 -0500)]
update wl xdg states on maximize/fullscreen events
Mike Blumenkrantz [Fri, 27 Feb 2015 02:55:34 +0000 (21:55 -0500)]
don't send wl mouse button events when client's menu is active
Mike Blumenkrantz [Fri, 27 Feb 2015 02:54:17 +0000 (21:54 -0500)]
unify wl comp mouse button callback checks
Bryce Harrington [Thu, 26 Feb 2015 21:42:27 +0000 (16:42 -0500)]
wayland: Whitespace cleanup
Summary: Cosmetic
Reviewers: zmike
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2061
Mike Blumenkrantz [Thu, 26 Feb 2015 21:16:53 +0000 (16:16 -0500)]
reject ignored clients from client mouse event functions
Chris Michael [Wed, 25 Feb 2015 19:17:14 +0000 (14:17 -0500)]
fix compile issue due to output change and fixup subsurface creation to match new "state" paradigm
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 25 Feb 2015 18:14:30 +0000 (13:14 -0500)]
Implement buffer_reference to fix client resizing issue
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 25 Feb 2015 18:13:10 +0000 (13:13 -0500)]
adjust wayland compositor scale when we adjust e_scale
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 19 Feb 2015 21:33:09 +0000 (16:33 -0500)]
add a surface_state structure to E_Comp_Wl_Client_Data
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Derek Foreman [Thu, 26 Feb 2015 20:27:52 +0000 (15:27 -0500)]
clamp to parent height, not parent y co-ordinate.
Summary:
Clamping to Y makes pop ups get shifted up if a window is
near the top of the screen.
Reviewers: devilhorns, zmike
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2060
Derek Foreman [Thu, 26 Feb 2015 19:43:10 +0000 (14:43 -0500)]
Don't crash when an error pop-up occurs before the compositor is set up.
Reviewers: devilhorns, zmike
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2059
Mun, Gwan-gyeong [Thu, 26 Feb 2015 13:47:21 +0000 (22:47 +0900)]
Added check damage count and pixmap validate of e_client object showing.
Change-Id: I99e0956043978b09064b2e8d2dcb3cd2c36cc075
Bryce Harrington [Thu, 26 Feb 2015 03:00:11 +0000 (22:00 -0500)]
wayland: Refactor out common mouse handling code
Summary:
These two functions are nearly identical so move much of the common code
into a helper function.
Reviewers: cedric, devilhorns, zmike
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2053
Mike Blumenkrantz [Thu, 26 Feb 2015 01:05:43 +0000 (20:05 -0500)]
pre-escape all notification body texts before display or merge
this fixes notification merging again
ref T2053
Manuel Bachmann [Wed, 25 Feb 2015 08:15:41 +0000 (09:15 +0100)]
build: allow building in pure Wayland mode (no xcb, no ecore-x)
Summary:
We should be building Enlightenement with "--enable-wayland-only"
even if xcb, ecore-x... are not present. The Evas wayland-shm
engine will then be a prerequisite, though.
E_Alert being too much X11-oriented, let us disable it completely
before it is ported.
Also, do not require the X11 rendering engines at runtime.
Reviewers: stefan, devilhorns
Reviewed By: devilhorns
Subscribers: stefan_schmidt, stefan
Projects: #enlightenment-git
Differential Revision: https://phab.enlightenment.org/D1986
Carsten Haitzler (Rasterman) [Wed, 25 Feb 2015 06:55:08 +0000 (15:55 +0900)]
e - menus - fix submenu popup direction when zones are not at 0 y
Carsten Haitzler (Rasterman) [Wed, 25 Feb 2015 06:31:00 +0000 (15:31 +0900)]
e - menus - fix autoscroll on zones not at 0 y...
Bryce Harrington [Tue, 24 Feb 2015 22:34:20 +0000 (17:34 -0500)]
cosmetic: Whitespace cleanup of wayland client files
Summary:
cosmetic: Cleanup whitespace for wayland compositor
There is excess trailing whitespace in several of the files for the
wayland implementation. These patches attempt to apply the spacing
rules for Enlightenment as documented at:
https://phab.enlightenment.org/w/coding_convention/
The whitespace rules are applied using the following emacs tabbing
settings:
(defun start-efl-c-mode ()
"C mode with adjusted defaults for use with Enlightenment
development."
(interactive)
(c-mode)
(c-set-style "gnu")
(setq tab-width 8)
(setq indent-tabs-mode nil)
(setq c-basic-offset 3)
(setq defun-block-intro 3)
(setq statement-block-intro 3)
(setq case-label 1)
(setq statement-case-intro 3)
)
This patchset also eliminates all tabs in favor of whitespace, as per
the coding style rules.
Reviewers: zmike, cedric, devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2048
Chris Michael [Tue, 24 Feb 2015 20:36:34 +0000 (15:36 -0500)]
remove unused variable
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 24 Feb 2015 20:27:48 +0000 (15:27 -0500)]
append E_Comp_Wl_Output to compositor's output list during output_init
call
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 24 Feb 2015 20:17:07 +0000 (15:17 -0500)]
don't remove E_Comp_Wl_Output on unbind as this Could lead to nasty
crashes if a second client tries to bind wl_output
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Derek Foreman [Tue, 24 Feb 2015 20:10:37 +0000 (15:10 -0500)]
Fix wl_output tracking in wayland compositor
Summary:
We should keep a list of resources per output to propagate wl_output
changes to each client that bound an output.
The output list now contains all outputs, not just bound ones.
Reviewers: devilhorns, zmike
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2047
Bryce Harrington [Tue, 24 Feb 2015 19:47:56 +0000 (14:47 -0500)]
Code cleanup and check for OOM condition with wl_array_add
Summary:
wayland: Check wl_array_add return for OOM condition
cosmetic: Make error return check syntax consistent with rest of code
wayland: Reuse use_adj to track child-forced adjust
wayland: Refactor to collapse if chain
wayland: Refactor _e_comp_wl_client_priority_adjust to collapse if chain
+ This uses early returns to unwrap a couple if clauses to make the code a bit less nesty.
wayland: Refactor if statements for consistency with rest of file
Reviewers: cedric, zmike, devilhorns
Subscribers: devilhorns, cedric
Differential Revision: https://phab.enlightenment.org/D2034
Chris Michael [Tue, 24 Feb 2015 18:27:56 +0000 (13:27 -0500)]
create wl_outputs when in wayland-only mode
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 24 Feb 2015 18:25:22 +0000 (13:25 -0500)]
Fix T2131 (crash when creating wl_outputs)
This fixes the crash and creates outputs based on e_randr
configuration (when in wayland-client mode).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 24 Feb 2015 18:24:56 +0000 (13:24 -0500)]
add E_Comp_Wl_Output structure and function prototype to create outputs
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Boram Park [Tue, 24 Feb 2015 12:45:12 +0000 (21:45 +0900)]
exec enlightenment instead of enlightenment_start
Refer to below commit of mainstream. enlightenment_start can't
be used to start enlightenment in systemd.
-------------------------------------------------------
commit
6f955263fa76649682066adc82f12d4249d9c3d0
Author: Cedric BAIL <cedric.bail@samsung.com>
Commit: Cedric BAIL <cedric.bail@samsung.com>
enlightenment: do not propagate the systemd socket to E17.
In a proper systemd user session setup, enlightenment_start will be
gone. That is still not doable today and as I plan to roll more feature
in EFL regarding systemd, we need to prevent enlightenment to believe
it is the process started by systemd.
Change-Id: I8cfcef9abf9318da3babd96c7f9191796fe0fabb
Carsten Haitzler (Rasterman) [Tue, 24 Feb 2015 09:36:31 +0000 (18:36 +0900)]
efm - make dir listing far faster - no file magic content and dont sync
this speed sup dir listing in efm drastically. first the e fm back end
uses an io thread that just spools through everything fast and sends
it over the mainloop to then send by ipc to e.
and on the e side we no longer use the heavy file internal magic using
api calls that wander all over a file for magic numbers - this is
insanely slow and brings listing to a crawl.
Mike Blumenkrantz [Mon, 23 Feb 2015 22:54:09 +0000 (17:54 -0500)]
fix border frame color classes to be configured as solids, not text
fix T1637
Mike Blumenkrantz [Mon, 23 Feb 2015 22:31:52 +0000 (17:31 -0500)]
don't clamp bgpreview vsize if bgpreview is a fullscreen overlay
Mike Blumenkrantz [Mon, 23 Feb 2015 22:22:51 +0000 (17:22 -0500)]
fix appindicator icon loading when using IconThemePath key
fix T1888
Mike Blumenkrantz [Mon, 23 Feb 2015 21:53:20 +0000 (16:53 -0500)]
set default text for edgebindings caption when no bindings exist
Mike Blumenkrantz [Mon, 23 Feb 2015 21:48:09 +0000 (16:48 -0500)]
fix dialog sizing when icon setting fails
Mike Blumenkrantz [Mon, 23 Feb 2015 21:43:59 +0000 (16:43 -0500)]
remove unnecessary icon setting and fix sizing in edgebindings
ref T2144
Yomi [Mon, 23 Feb 2015 20:26:00 +0000 (15:26 -0500)]
Fixed tense in presentation mode notifications.
Summary: Fixed tense in presentation mode notifications.
Reviewers: zmike
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2020
Chidambar Zinnoury [Wed, 18 Feb 2015 21:56:24 +0000 (22:56 +0100)]
Bugfix: e backlight: use saner default values.
The brightness scale goes from 0 (well, 1) to 100: 0.1 thus seems too low a step, 10 being better and is actually already used.
Carsten Haitzler (Rasterman) [Sun, 22 Feb 2015 08:50:12 +0000 (17:50 +0900)]
e - actions - smart suspend/hibernate - also dont do when on mains power
Carsten Haitzler (Rasterman) [Sun, 15 Feb 2015 23:40:47 +0000 (08:40 +0900)]
randr2 - handle missing clone src and walk back config only structs
Mike Blumenkrantz [Fri, 20 Feb 2015 14:55:20 +0000 (09:55 -0500)]
do not reapply focus on canvas object ungrab/close for pointer-focus enthusiasts
Chris Michael [Thu, 19 Feb 2015 22:02:46 +0000 (17:02 -0500)]
change output_bind function name
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 19 Feb 2015 22:02:04 +0000 (17:02 -0500)]
fix some formatting ugliness
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 19 Feb 2015 22:00:24 +0000 (17:00 -0500)]
fix compiler warning about pointer targets differ in signedness
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 19 Feb 2015 21:51:52 +0000 (16:51 -0500)]
update wayland README file to remove build confusion
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Derek Foreman [Thu, 19 Feb 2015 19:49:21 +0000 (14:49 -0500)]
Provide wl_output events on hotplug
Summary:
Clients that have bound wl_output now receive wl_output events on hotplug
NOTE: We don't handle removal yet
Reviewers: devilhorns, zmike
Reviewed By: devilhorns, zmike
Subscribers: cedric
Maniphest Tasks: T2131
Differential Revision: https://phab.enlightenment.org/D2008
Derek Foreman [Thu, 19 Feb 2015 19:49:01 +0000 (14:49 -0500)]
Provide wl_output interface to clients
Reviewers: devilhorns, zmike
Reviewed By: devilhorns, zmike
Subscribers: cedric
Maniphest Tasks: T2131
Differential Revision: https://phab.enlightenment.org/D2007
Mike Blumenkrantz [Wed, 18 Feb 2015 23:34:29 +0000 (18:34 -0500)]
rename extremely frustratingly-named E_Screen_Limits enum and members
this came in a patch that I take full responsibility for not adequately reviewing at the time.
the names are confusing and counterintuitive, and it does not properly include the client namespace.
Mike Blumenkrantz [Wed, 18 Feb 2015 23:26:16 +0000 (18:26 -0500)]
clamp client size to screen when client limit policy does not allow offscreen
fix T1779
Mike Blumenkrantz [Wed, 18 Feb 2015 22:07:39 +0000 (17:07 -0500)]
fix crashing when changing desklock settings and using pin/personal auth
Mike Blumenkrantz [Wed, 18 Feb 2015 21:50:26 +0000 (16:50 -0500)]
escape notification popup text...always
fix T2053
Mike Blumenkrantz [Wed, 18 Feb 2015 21:35:10 +0000 (16:35 -0500)]
don't send unfocused signal to override clients
fix T2099
Mike Blumenkrantz [Wed, 18 Feb 2015 21:11:45 +0000 (16:11 -0500)]
use direct path for setting icons in util theme set function when icon is a path
fix T1888
Tom Hacohen [Wed, 18 Feb 2015 12:36:20 +0000 (12:36 +0000)]
Allow building without ptrace
Summary: Building without ptrace (on OSes which do not support it, like OpenBSD) did not work, because the fallback code had small typos.
Reviewers: devilhorns
Projects: #enlightenment-git
Differential Revision: https://phab.enlightenment.org/D1990
Daniel Kolesa [Wed, 18 Feb 2015 11:07:56 +0000 (11:07 +0000)]
cpufreq: freebsd fixes
This fixes a sysctlbyname lookup and adds a stub for the "pstate"
command. Based on a patch contributed by Dmitry Luhtionov.
@fix
Mike Blumenkrantz [Tue, 17 Feb 2015 23:54:39 +0000 (18:54 -0500)]
block linear desk flips that would wrap if desk flip wrapping is disabled
fix T1948
Mike Blumenkrantz [Tue, 17 Feb 2015 23:42:47 +0000 (18:42 -0500)]
don't revert X focus during nocomp
Mike Blumenkrantz [Tue, 17 Feb 2015 23:16:54 +0000 (18:16 -0500)]
use elm scroller for xkb options
fix T2007
Mike Blumenkrantz [Tue, 17 Feb 2015 22:21:37 +0000 (17:21 -0500)]
revert some comp object debugging bits that snuck into another commit
Marcel Hollerbach [Tue, 17 Feb 2015 22:16:50 +0000 (17:16 -0500)]
Ibar: Emit the given origin to the Ibar Icon.
Summary:
This fixes T1828.
The theme also would have to support this!
Reviewers: zmike
Subscribers: myoungwoon, cedric
Maniphest Tasks: T1828
Differential Revision: https://phab.enlightenment.org/D1798
Chris Michael [Tue, 17 Feb 2015 15:46:19 +0000 (10:46 -0500)]
enlightenment: Fix building for wayland-only
We don't have e_randr2 calls for wayland yet, so ifdef those out if we
are building for wayland only
Signed-off-by: Chris Michael <cp.michael@samsung.com>
MinJeong Kim [Fri, 23 Jan 2015 07:48:25 +0000 (16:48 +0900)]
Added initial test case framework
1. Visibility calculation with comp_object status.
2. Added e_test_helper for supporting external TC modules through dbus
Change-Id: Ib994d99e179579c97aa7a59ccfa63b9bb3ea7d4d
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
Gwanglim Lee [Mon, 16 Feb 2015 11:41:35 +0000 (20:41 +0900)]
Disable display backlight control to avoid camera flash
Change-Id: I78c6287aaca9856c84d2a7da0ad4a8dd6b3b1c4d
Vincent Torri [Sun, 15 Feb 2015 22:53:47 +0000 (17:53 -0500)]
add MIN define for non-linux systems
Carsten Haitzler (Rasterman) [Sun, 15 Feb 2015 01:48:47 +0000 (10:48 +0900)]
actions - add smart suspend + hibernate actions for laptop usage
this adds 2 actions that only suspend a laptop (or hibernate) if there
are no external screens enabled. if there is no lid screen eg like a
desktop, then it will still go on as usual.
Mike Blumenkrantz [Fri, 13 Feb 2015 21:46:52 +0000 (16:46 -0500)]
Revert "fix dbus unit installation with DESTDIR"
This reverts commit
3afaafe506d0f8c2ee95934cff6224cbc00ee35d.
broken test machine = broken commits :(
Mike Blumenkrantz [Fri, 13 Feb 2015 21:39:38 +0000 (16:39 -0500)]
add ctrl+alt+backspace to kill wl-only e
#barrel
Mike Blumenkrantz [Fri, 13 Feb 2015 21:24:24 +0000 (16:24 -0500)]
only reject client mouse out for X clients
not sure this is still applicable since systray xembeds are gone
Yomi [Fri, 13 Feb 2015 21:03:01 +0000 (16:03 -0500)]
Update the error message shown if a theme file is invalid.
Summary:
Update the error message shown if a theme file is invalid. This isn't E17 any more. rEec1cd25cfe666665b9e5641c91d3ad1fd2f9f11c
{F13161 size="full"}
Reviewers: zmike, raster
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1959