summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-02-06__WIP__devs/jpeg/efl_invalidateJean-Philippe Andre
2018-02-05eo: Introduce efl_invalidateJean-Philippe Andre
This begins the destruction of an object. Namely, this emits the event "invalidate" and calls a new method "invalidator" (not overridden yet in this patch). Refer to the doc for more information. Next steps: - implement override in efl.canvas.object - introduce efl_new() to create objects without a parent - force efl_add() to be called with a non-null parent - remove parent_sunk and always add a ref on new parenting - break the world @feature
2018-02-05eo: Remove goto in _efl_object_destructorJean-Philippe Andre
EINA_LIKELY and EINA_UNLIKELY work as expected under GCC -O2. goto without EINA_UNLIKELY is completely useless as it will inline the goto'd segment of code. Clang produces different code though I suspect its optimized code isn't actually quite as good as GCC's (I saw a lot more nopw instructions). Anyway the C code is absolutely unreadable with those crazy goto. I really think we should remove all those goto, especially in Eo.h
2018-02-02eio: make inotify monitors fork-safeMike Blumenkrantz
@fix
2018-02-02eeze: simplify watch code and make it fork-safeMike Blumenkrantz
avoid reads from parent process's udev fds
2018-02-02ecore-file: make monitoring truly fork-safeMike Blumenkrantz
add a fork reset callback and attempt to preserve existing monitors during reset @fix
2018-02-02elm: call ecore_event_init() during initMike Blumenkrantz
events from this component are used internally in elm, don't rely on other components to do it @fix
2018-02-02ecore: make dbus-using modules fork-safeMike Blumenkrantz
reset dbus connections to ensure continued functionality
2018-02-02eldbus: make connections fork-safeMike Blumenkrantz
after a fork, any existing connection objects can no longer be used, but it's up to the user to destroy them. internally, this prevents existing connections from ever being returned as valid connections and creates new ones after a fork also destroy fd handlers for connections to ensure that no data is accidentally clobbered before the connections are cleaned up
2018-02-02efreet: reset ipc connection after forkMike Blumenkrantz
ensure that existing connection is not reused
2018-02-02eldbus: do not require error return when adding/removing signal matchesMike Blumenkrantz
this forces the functions to be synchronous and blocks (potentially forever)
2018-02-02quicklaunch: use XDG_RUNTIME_DIR instead of hardcoded /tmpMike Blumenkrantz
2018-02-02efl-wl: add function for passing ecore-exe flags to launched exesMike Blumenkrantz
@feature
2018-02-02efl-wl: no need to check exe tag on app del, just remove pid alwaysMike Blumenkrantz
2018-02-02efl-wl: add functions for managing allowed client pidsMike Blumenkrantz
@feature
2018-02-02elm: fix typo - remove line to debugShinwoo Kim
2018-02-02elm: use Dbus securelyShinwoo Kim
The Efl.Access.Attribute is using key and value. The value could be NULL. If the value is NULL, then following error occurs. *error: arguments to dbus_message_iter_append_basic() were incorrect, assertion "_dbus_check_is_valid_utf8 (*string_p)" failed in file ../../dbus/dbus-message.c line 2712. This is normally a bug in some application using the D-Bus library. Array or variant type requires that type string be written, but end_dict_entry was written. The overall signature expected here was 'a{ss}' and we are on byte 3 of that signature.
2018-02-02elm: fix for invalid attribute matchingRadoslaw Cybulski
Summary: Fixes invalid attribute matching in at-spi's collection interface's GetMatches*** functions. Reviewers: stanluk Reviewed By: stanluk Subscribers: lukasz.stanislawski, cedric Differential Revision: https://phab.enlightenment.org/D5774
2018-02-01evil: final step : remove completely the binary, useless now that the unit ↵Vincent Torri
test is theree Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2018-02-01Ui layout: fix another text retrieval line of codeDaniel Hirt
This is a follow-up to a44ae48df811ff2bd085da86db1688c0f387efc4.Need to undo the markup_get call, so that the correct code path (_efl_ui_layout_text_set) is used. Legacy checks are in that code path. ref T6642
2018-02-01Ui layout: fix latest attempt to fix markup retreivalDaniel Hirt
Commits c07a40c745c5df1b1f6f0bbf666b233d8d072ca7 and 429e19563d15a02d3417ff8fffca994ce6685249 tried to fix markup retrieval by creating a different code path for the setter and getter. However, legacy code paths needs to be taken into consideration. This commit fixes legacy widgets (like guide text that did not show any text in the entry at the top of 'elementary_test'). ref T6642
2018-02-01efl ui did - dont segv if createicon func is not providedCarsten Haitzler (Rasterman)
2018-02-01Use ERR instead of CRI if *DATA_GET* returns NULLShinwoo Kim
This patch set is for remains.
2018-02-01elm: Use ERR instead of CRI if *DATA_GET* returns NULLShinwoo Kim
2018-01-31eina tests: add missing semicolumnVincent Torri
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2018-01-31evil: remove useless binary testsVincent Torri
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2018-01-31eolian: no need to store 'parsed' table anymore eitherDaniel Kolesa
2018-01-31eolian: simplify parsed checkingDaniel Kolesa
2018-01-31eolian: no need to track currently parsing file anymoreDaniel Kolesa
2018-01-31eolian: all dependency parsing is now deferredDaniel Kolesa
2018-01-31efl_ui_focus_parent_provider_gen: code refactoringYeongJong Lee
Summary: remove needless function call and else statement Reviewers: bu5hm4n Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5732
2018-01-31efl_ui_focus_manager_sub: avoid a call to NULLYeongJong Lee
Summary: we need to consider the manager change to NULL @ref T6616 Reviewers: bu5hm4n Subscribers: cedric Maniphest Tasks: T6616 Differential Revision: https://phab.enlightenment.org/D5771
2018-01-31elm_menu: avoid a call to NULLYeongJong Lee
Summary: the provider_find can be called before parent_set in constructor. Test Plan: 1. EINA_LOG_LEVELS=eo:2 elementary_test -to menu 2. check that there is no warning message about efl_provider_find Reviewers: jpeg, bu5hm4n Reviewed By: bu5hm4n Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D5773
2018-01-31efl_ui_focus_composition: remove elements_flushMarcel Hollerbach
this can also be done when calling prepare_logical
2018-01-31ecore_event: Check for the valid typeMyoungwoon Roy, Kim
Summary: This patch checks for the valid types. As mentioned API reference documentation, user must know its type before hand. The type should be chedked like previous efl version and ecore_event_type_flush_internal() Test Plan: Execute a ecore test suite. Reviewers: cedric, raster, jpeg, stefan_schmidt, Jaehyun_Cho Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D5776
2018-01-31ecore_main: Check for the valid flagMyoungwoon Roy, Kim
Summary: This patch checks for the valid Ecore_Fd_Handler_Flags. The flags should be checked like previous verion because There are no default handlings in case of out of Ecore_Fd_Handler enum values in other funcs. Test Plan: Execute a test case Reviewers: cedric, raster, jpeg, stefan, Jaehyun_Cho Differential Revision: https://phab.enlightenment.org/D5775
2018-01-31Efl.ui.progressbar: remove duplicate callAmitesh Singh
eina_value_set() was already getting called
2018-01-31Efl.Ui.Progressbar: implement range min maxAmitesh Singh
2018-01-30wl2_surface_dmabuf: Trim the buffer queue after a whileDerek Foreman
If we have more buffers than we need for 100 frames then drop the oldest. This can happen if we're on a hardware plane and then removed from it, or really whenever the compositor feels like holding onto a few frames. Trimming the queue too soon could result in having to do a costly full frame redraw, so we wait a while to make sure we don't need one again. Having more frames than we need costs us a little every draw since we always use the oldest available. It also wastes memory.
2018-01-30ecore_wl2_surface: Flush surfaces for offscreen windowsDerek Foreman
When a surface leaves all outputs we can discard its buffers to save memory. Currently most compositors don't send leave events for iconify, so this pretty much just saves us a cursor buffer under weston for now, but in the future it could be used for freeing resources of offscreen (fully occluded or iconified) windows.
2018-01-30wl2_surface_dmabuf: improve surface flushDerek Foreman
We used to abandon all buffers even if they were locked. This can't actually free them until they're all released by the compositor. Instead just free any buffer the compositor doesn't have locked, so we can still re-use them when they're released without needing a full redraw. There's probably room for additional cleverness here. If we get a new frame event before the buffer release we may want to keep it, and if we get the release first we may want to abandon it.
2018-01-30ecore_wl2: Add new event for windows not displayed on any outputDerek Foreman
When a window leaves all outputs we can free its render buffers to save memory. This new event is generated when a window leaves all outputs.
2018-01-30ecore_wl2: Track outputs a surface is present onDerek Foreman
Keep a list of Ecore_Wl2_Output * a surface is present on.
2018-01-30ecore_wl2: Add internal _ecore_wl2_output_findDerek Foreman
This finds the Ecore_Wl2_Output * for a given struct wl_output *
2018-01-30ecore: add function for prepending an event handlerMike Blumenkrantz
@feature
2018-01-30eolian: deferred parsing of inherits + better static checksDaniel Kolesa
This change finally introduces deferred parsing of inherits to Eolian, after a long time and many iterations. That means instead of parsing inherits directly as part of the main file's parse pass, they're pushed into a queue and parsed later. The validation engine was modified to properly fill in the remaining info afterwards. This may introduce breakages but I haven't noticed any. It also properly unlocks cyclic dependency support in Eolian. Additionally, this also introduces checks for duplicates in class inherits (class Foo(Bar, Bar) is no longer possible) and it adds stricter name checks, so you can no longer have a class Foo.Bar and refer to it as Foo_Bar in implements. This was actually never meant to be supported, but the check was previously broken. @feature
2018-01-30eolian: move impl/ctor fill to validation stageDaniel Kolesa
2018-01-30efl_ui_image: add missing NULL checkJaeun Choi
2018-01-30efl_ui_panes: Handle NULL object caseJaehyun Cho
2018-01-30elm_panes_legacy: Fix description of functionsJaehyun Cho