aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-02-07elput: Remove dead FIXME notedevs/devilhorns/drm_evas_devicesChris Michael1-5/+0
As device calibration has already been handled via external facing API, this FIXME note is no longer needed. NB: No functional changes Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-02-07elput: Set device output name when device is createdChris Michael2-4/+4
Small patch to set the output name of an Elput_Device when the device gets created. Note, this was already being done inside elput_input, but this patch moves it to when the device gets created. NB: Really no functional changes here, just moving a function call. Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-02-07elput: Add missing @since for new event and structureChris Michael1-1/+2
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-02-07elementary: Fix return of elm_win_wl_window_getChris Michael1-5/+3
This patch fixes an issue where the wrong wayland window would be returned from elm_win_wl_window_get. When we lookup a window in Enlightenment, this function would end up returning the parent window (if existed) when what we want there is the actual window. This patch puts the function more in line with the X11 equivalent. Fixes T5142 @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-02-07evas: Don't create default seat, pointer, etc for drmChris Michael1-3/+6
As drm uses Elput to handle input, we don't need to create default seat, pointer, keyboard devices here. Elput will handle creating seat, pointer, keyboard, etc for events. Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-02-07elput: Set evas_device on input eventsChris Michael1-8/+38
This patch sets the Evas_Device on various input event structures before we raise those events. Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-02-07elput: Add API function to get evas_device from input deviceChris Michael2-0/+23
Small patch to add an API function to retrieve the Evas_Device from a given Elput_Device. @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-02-07elput: Add seat_device to Elput_Event_Device_ChangeChris Michael3-0/+4
Small patch to add a new field to the Elput_Event_Device_Change structure which will allow us to pass along the seat evas_device during event @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-02-07elput: Add API funtion to set evas device on a given seatChris Michael3-0/+46
Small API function to allow us to set an Evas_Device on a given Elput_Seat. This is an internal API and should not be used by application developers. This patch also adds an event we can raise when a seat gets added. This is part of a patch set that will allow us to send devices during events like mouse_move, mouse_down, etc. @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-02-07elput: Add API function to set an evas deviceChris Michael3-0/+31
Small API function to allow us to set an Evas_Device on an Elput_Device. This is an internal API and should not need to be used by app developers. This is part of a patch set that will allow us to send devices during events like mouse_move, mouse_down, etc. @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-02-07elput: Add API function to return device capabilitiesChris Michael4-21/+41
Small patch to add an API function that can return a given input devices capabilities (pointer, keyboard, touch, etc). This patch also exposes the Device_Capability enum to the public. @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-02-07cmake: add ecore_xMarcel Hollerbach1-0/+61
2017-02-07ecore_x: we dont need this version file anymoreMarcel Hollerbach2-9/+2
it indicated a while back which backend was used, we only have xlib left.
2017-02-07access: fix crash while cleanupAmitesh Singh1-5/+0
The item is already deleted at this point and its garbage here which results into crash ultimately. Also I don't see a point in setting access_obj to NULL here @fix Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
2017-02-06elm_code: syntax fix for preprocessor over multiple linesAndy Williams1-1/+15
2017-02-06elm_code: syntax fix for comments with an escaped blackslashAndy Williams1-2/+2
2017-02-06ecore: make sure we always manipulate a valid timer.Cedric BAIL1-0/+7
2017-02-06efl: add composite model for boolean propertiesFelipe Magno de Almeida4-0/+691
Add Efl.Model.Composite.Boolean, a model for wrapping another Efl.Model and adding boolean properties to its children. Children of the given composite model will have the boolean properties specified in Efl.Model.Composite.Boolean with the specified default value. A call to Efl.Model.Property_set can change the property value for a child. Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2017-02-06efl: add efl_model and efl_ui_view classesLarry Jr26-2/+1540
Efl.Model.Container and Efl.Model.Item to efl/interfaces are used to create Efl.Model objects with predefined property values. This is useful to any situation where we want an Efl.Model with explicit defined property values. Efl.Ui.View and Efl.Ui.Factory are used to connect Efl.Models with Widgets, Elm.Layout and Efl.Ui.Image has changed to use news interfaces Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2017-02-06ecore: handle initialization of timer correctly.Cedric BAIL1-11/+10
2017-02-06evas: more hardening of evas access map.xCedric BAIL1-1/+1
2017-02-06evas: harden check on map presence.Cedric BAIL1-1/+3
2017-02-04elm_notify: null out allow events when its deletedMarcel Hollerbach1-1/+4
otherwise later dismisscalls to that object will lead to spammy error messages in the console
2017-02-04 ecore thread: Fix waiting.Chidambar Zinnoury1-3/+6
Waiting would sometimes return as if the thread finished correctly while it is still running. This is because we’re waiting for the waiter data to be null… but this is always the case if the user-passed data is null! @fix
2017-02-04edje: unset timer pointer after delete.Amitesh Singh3-0/+3
Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
2017-02-04evas render - drop eo overhead by using ptrs we already haveCarsten Haitzler (Rasterman)14-69/+61
several calls, specifically evas_object_change_reset, evas_object_cur_prev, and evas_object_clip_changes_clean that are called directly or indirectly as part of evas render on at least every active object if not more, were doing full eo obj lookups when their calling functions already all had the eo protected data looked up. tha's silly and just adds overhead we don't need. my test dropped _eo_obj_pointer_get overhead in perf profiles from 4.48% to 2.65%. see: 4.48% libeo.so.1.18.99 [.] _eo_obj_pointer_get 4.23% libevas.so.1.18.99 [.] evas_render_updates_internal 2.61% libevas.so.1.18.99 [.] evas_render_updates_internal_loop 1.68% libeo.so.1.18.99 [.] efl_data_scope_get 1.57% libc-2.24.so [.] _int_malloc 1.42% libevas.so.1.18.99 [.] evas_object_smart_changed_get 1.09% libevas.so.1.18.99 [.] evas_object_clip_recalc.part.37 1.08% libpthread-2.24.so [.] pthread_getspecific 1.05% libevas.so.1.18.99 [.] efl_canvas_object_class_get 1.01% libevas.so.1.18.99 [.] evas_object_cur_prev 0.99% libeo.so.1.18.99 [.] _efl_object_event_callback_legacy_call 0.87% libevas.so.1.18.99 [.] _evas_render_phase1_object_ctx_render_cache_append 0.82% libpthread-2.24.so [.] pthread_mutex_lock 0.81% libevas.so.1.18.99 [.] _evas_render_phase1_object_process 0.79% libc-2.24.so [.] _int_free vs now the improved: 4.82% libevas.so.1.18.99 [.] evas_render_updates_internal 3.44% libevas.so.1.18.99 [.] evas_render_updates_internal_loop 2.65% libeo.so.1.18.99 [.] _eo_obj_pointer_get 2.22% libc-2.24.so [.] _int_malloc 1.46% libevas.so.1.18.99 [.] evas_object_smart_changed_get 1.04% libeo.so.1.18.99 [.] _efl_object_event_callback_legacy_call 1.03% libevas.so.1.18.99 [.] _evas_render_phase1_object_ctx_render_cache_append 0.97% libeina.so.1.18.99 [.] eina_chained_mempool_malloc 0.93% libevas.so.1.18.99 [.] evas_object_clip_recalc.part.37 0.92% libpthread-2.24.so [.] pthread_mutex_lock 0.91% libevas.so.1.18.99 [.] _evas_render_phase1_object_process 0.84% libc-2.24.so [.] _int_free 0.84% libevas.so.1.18.99 [.] evas_object_cur_prev 0.83% libeina.so.1.18.99 [.] eina_chained_mempool_free 0.80% libeo.so.1.18.99 [.] efl_data_scope_get of course other things "increase their percentage" as oe overhead now dropped, and things seem to move around a bit, but it does make sense to do this with no downsides i can see as we already are accessing the protected data ptr in the parent func.
2017-02-03ecore_evas: use ecore_timer_loop_add for idle timeout updateDerek Foreman1-1/+1
This shouldn't need "exact" time, so use a loop time based timer to potentially save a syscall on archs that don't have a vdso. @optimize
2017-02-03ecore: poller could actually be related to the main loop timing.Cedric BAIL1-4/+4
Reduce call to ecore_time_get which is a syscall to gettimeofday.
2017-02-03elput: add event for relative motionMike Blumenkrantz3-0/+36
@feature
2017-02-03elm_code: fix bugs in the highlighting of full line commentsAndy Williams1-1/+3
@fix
2017-02-03elm_code: Add syntax highlighting for pythonAndy Williams1-0/+15
2017-02-03elm_code: update syntax symbols for CAndy Williams1-2/+4
Also don't hard code preprocessing parse
2017-02-03cmake: sync EFL_EO_API_SUPPORT definition with autotools.Gustavo Sverzut Barbieri1-1/+1
in autotools we always define that symbol in config.h (thus now done in common.cmake), while the Efl_Config.h that is generated never have it, what's left is to enable/disable the legacy and beta APIs. This fixes building eldbus_suite with cmake.
2017-02-03ifdef RUN_IN_TREE logic.Gustavo Sverzut Barbieri12-0/+50
This logic is only needed for autotools, cmake will replicate the installation file structure and thus eina_prefix works out of box.
2017-02-03cmake: add ecore_inputMarcel Hollerbach1-0/+22
2017-02-03cmake: add eezeMarcel Hollerbach1-0/+67
there is currently a bug in the testsuite which needs to change, otherwise modules cannot be loaded. The code acutally runs when its installed and EFL_RUN_IN_TREE is not set.
2017-02-03ecore_con/efl_net - dedicated threads for network i/o not from the poolCarsten Haitzler (Rasterman)2-8/+10
so ecore_con/efl_net were using the standard ecore_thread thread pool for doing things like dns lookups (that can take multiple minutes until timeouts) and actual http transactions. similarly they can block thread workers for long periods or indefinitely thus basically blocking the whole eocre_thread pool and stopping others from sharing it. the best solution we have right now is to bypass the thread pool queue and have dedicated threads for these actions. what we should have is a dedicated thread pool with each thread taking on N connections (via select etc.) and the ability to create and destroy thread pools for specific tasks so you can separate the work out from other work. but that is basically a redesign of our thread pool infra so let's do the quick solution here until that day comes. this partially addresses D4640 a dedicated thread per image load though is going to be a lot nastier...
2017-02-03edje - fix crash on loading ancient edje filesCarsten Haitzler (Rasterman)2-1/+32
ancient edje files dont put hash strings in the file dictionary but instead inline and thus the strings cannot be direct added... silly ancient files. this is a horrible ugly workaround this but there isn't really anything better than trying to detect such files (which dont seem to have an older version in them i can find?) so detect by pointer address and mapping the file. this fixes T5138 @fix
2017-02-02ecore: avoid calling ecore_time_get everytime we create a timer.Cedric BAIL1-4/+31
This is particularly useful for ecore_timer_loop_add which are not supposed to trigger any syscall. It does add a new requirement on the EFL_LOOP_TIME_CLASS to always have an interval defined during construction.
2017-02-02cmake: add ecore_file.Gustavo Sverzut Barbieri1-0/+29
2017-02-02cmake: add ecore_ipc.Gustavo Sverzut Barbieri1-0/+19
2017-02-02elm_code: Fix empty selection checksAndy Williams1-1/+2
2017-02-02evas: simplify waiting logic for image decoding as we do not need lock and ↵Cedric BAIL3-53/+16
cond with Ecore_Thread infra.
2017-02-02evas: make sure we always wait in the correct thread.Cedric BAIL1-1/+8
2017-02-02elm_code: add support for redoYeongJong Lee3-24/+80
Summary: now, elm_code support redo. shortcut is <Ctrl> + <y> Test Plan: 1. elementary_test - Code Editor 2. Check that undo and redo are work correctly. Reviewers: ajwillia.ms Reviewed By: ajwillia.ms Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4642
2017-02-02evlog - fix "remove setting stack var to 0" that broke evlogsCarsten Haitzler (Rasterman)1-18/+17
this fixes b38c610c7e60cbdcb45fd6d27450e39e3a9c9dd1 - recent commit by me. bad me! spank!
2017-02-02evas grid smart - fix divide by 0Carsten Haitzler (Rasterman)1-7/+23
if object happens to be 0x0 then we can get a divide by 0... fix! @fix
2017-02-01ecore_wl2: Make www events opt-inDerek Foreman1-1/+1
Now we must set EFL_WAYLAND_ENABLE_WWW to turn on www. (Note: this does NOT re-enable any visual effect, it merely controls the event infrastructure that can be used to let a client know when its window is mapped or moving) This wasn't really disabled properly earlier, so disable it now for a slight performance win when dragging windows (and a major reduction in log chatter when debugging wayland)
2017-02-01edje: change seat signalsBruno Dilly1-2/+2
Use seat names as prefix, not as suffix, following a top-down approach and avoiding issues with applications that may be receiving doubled signals (legacy + suffixed). So instead of "mouse,in,seat1" signal will be "seat,seat1,mouse,in".
2017-02-01edje: fix CID 1368019 - Null pointer dereferencesBruno Dilly1-1/+1
It only should check if it's allowed to focus a part if a part was passed (if rp is null such check should be skipped).